/*ハンバーガーボタン*/

body {
  padding: 0;
  font-family: "Popins", Zen Kaku Gothic;
  color: #505050;
  max-width: 1680px;
  display: block;
  margin: 0 auto;
  position: relative;
}

nav {
  background-color: #fff;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
}

header {
  background-color: #fff;
  color: #fff;
  display: block;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  margin: 0 auto;
}

.logo {
  width: 70px;
  float: left;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::before, ::after {
  box-sizing: inherit;
}

button {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  vertical-align: middle;
  text-align: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/**************** 以下、ハンバーガーボタンのスタイリング ****************/
.btn {
  /* ボタンの配置位置  */
  position: fixed;
  top: 32px;
  right: 16px;
  /* 最前面に */
  z-index: 1200;
  /* ボタンの大きさ  */
  width: 48px;
  height: 48px;

}

/***** 真ん中のバーガー線 *****/
.btn-line {
  display: block;
  /* バーガー線の位置基準として設定 */
  position: relative;
  /* 線の長さと高さ */
  width: 2.0rem;
  height: 3px;
  /* バーガー線の色 */
  background-color: #4682b4;
  mix-blend-mode: hard-light;
  transition: .2s;
}

/***** 上下のバーガー線 *****/
.btn-line::before, .btn-line::after {
  content: "";
  /* 基準線と同じ大きさと色 */
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #4682b4;
  transition: .5s;
}

.btn-line::before {
  /* 上の線の位置 */
  transform: translateY(-10px);
}

.btn-line::after {
  /* 下の線の位置 */
  transform: translateY(10px);
}

/***** メニューオープン時 *****/
.btn-line.open {
  /* 真ん中の線を透明に */
  background-color: transparent;
}

.btn-line.open::before, .btn-line.open::after {
  content: "";
  background-color: #4682b4;
  transition: .2s;
}

.btn-line.open::before {
  /* 上の線を傾ける */
  transform: rotate(45deg);
}

.btn-line.open::after {
  /* 上の線を傾ける */
  transform: rotate(-45deg);
}

/**************** 以下、メニューのスタイリング ****************/
.menu {
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  position: fixed;
  /* メニューの位置マイナス指定で画面外に */
  right: -100%;
  width: 100%;
  height: 100vh;
  padding-top: 200px;
  background-color: #b0c4de;
  color: #efefef;
  transition: .3s;
  z-index: 1100;
}

.menu a {
  text-decoration: none;
  margin: 20px;
  color: #333;
}

.language_line {
  color: #333;
}

.menu li {
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  line-height: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.menu a:hover {
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: .3s;
}

/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
  /*position: absolute;*/
  right: 0;
  top: 0;
  height: 100vh;
}

/* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 900px) {
  .btn {
    display: none;
  }

  nav ul {
    display: flex;
    margin: 0 auto;
  }

  nav {
    width: 100%;
  }

  .menu {
    /* メニューを横に */
    display: flex;
    flex-direction: row;
    position: relative;
    padding-top: 0px;
    top: 0;
    right: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(0, 0, 0, 0);
    align-items: top;
    justify-content: flex-end;
  }

  .menu li {
    padding: 0;
  }

  .menu a:hover {
    color: #b0c4de;
    cursor: pointer;
    transition: .3s;
  }
}

/**************** ここまで、メニューのスタイリング ****************/

/*footer*/
.footer {
  position: relative;
  width: auto;
  height: auto;
  background: radial-gradient(at 0 0, #393D62 50%, #282A3C 100%);
  padding: 50px;
}

.footer-logo {
  margin-bottom: 50px;
}

.footer-menu_ul {
  display: flex;
  width: 100%;
}

.footer-menu_ul li, .footer-policy, .footer-language {
  margin-right: 30px;
  margin-bottom: 10px;
}

.footer-menu_ul a, .footer-policy a, .footer-language a, .footer-language {
  text-decoration: none;
  color: #fff;

}

.footer-menu_ul a {
  font-size: 0.8rem;
}

.footer-policy a, .footer-language a {
  font-size: 0.6rem;
}

.copylight {
  font-size: 0.8rem;
  display: block;
  text-align: center;
  margin-top: 100px;
  bottom: 80px;
  color: #fff
}

.footer-logo {
  width: 100px;
}

.return_top {
  color: #fff;
  text-align: center;
  padding-top: 80px;
  width: 200px;
  height: 200px;
  border: solid 1px;
  border-radius: 50%;
  border-color: #fff;
  margin-left: auto;
  text-decoration: none;
}

.return_top a {
  text-decoration: none;
  color: #fff;
  padding: 0;
  display: block;
}