@charset "UTF-8";

/* 共通
------------------------------------ */
.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

/* 下層 グロナビ
------------------------------------ */
.header02 {
  position: relative;
  aspect-ratio: 1920 / 300;
  background-image: url(../images/dist/header-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.header02 .header__logo {
  position: absolute;
  width: 13%;
  min-width: 180px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.header02__nav ul {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header02__nav ul li {
  width: 8.3%;
  min-width: 140px;
  margin-right: -1%;
  transition: opacity .3s ease;
}

.header02__nav ul li:first-of-type {
  margin-left: 10.4%;
}

/*　この設定をやめる
　　ヘッダーにロゴを入れていたが、うまく表示されてないため、別のアイコンを使うことにした
.header02__nav ul li:nth-of-type(3) {
  margin-left: 10.5%;
}
*/

.header02__nav ul li:hover {
  opacity: 0.9;
}


/* 下層ナビ
------------------------------------ */
.sub__nav {
  margin-top: 30px;
  width: 100%;
}

.sub__nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 825px;
  margin: 0 auto;
}

.sub__nav ul li {
  /* width: 13.3%; */
  width: calc(825px / 5);
  transition: transform .3s ease;
}

/* .sub__nav ul li:nth-of-type(n+2) {
  margin-left: -1%;
} */


/* TOPへ戻る
------------------------------------ */
.return-btn {
  margin-top: 100px;
}

.return-btn a {
  position: relative;
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  line-height: 78px;
  color: #F1F1F1;
  width: 560px;
  height: 80px;
  margin: 0 auto;
  border-radius: 40px;
  text-decoration: none;
  background-color: #000;
  transition: all .3s ease;
}

.return-btn a:hover {
  color: #000;
  background-color: #E8DDC3;
}

.return-btn a i {
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  font-size: 2.3rem;
}

@media (hover: hover) and (pointer: fine) {
  .sub__nav ul li:hover {
    transform: translateY(-15px);
  }
}


/* レスポンシブ
------------------------------------ */
@media screen and (max-width: 1200px) {
  .header__btn {
    display: flex;
    flex-direction: column;
  }

  .header02 .header__logo {
    width: 15%;
    min-width: unset;
  }

  .header02__nav ul li {
    width: 11.6%;
    min-width: unset;
  }

  .header__btn {
    display: none;
  }
  .header02 {
    aspect-ratio: 750 / 250;
    background-image: url(../images/dist/header-bg-sp.jpg);
    background-position: top center;
  }

  .header02__nav {
    display: none;
  }

  .header02 .header__logo {
    width: 33%;
    top: 0;
  }



}


@media screen and (max-width: 767px) {
  .is-pc {
    display: none;
  }
  
  .is-sp {
    display: block;
  }

  .sub__nav {
    margin-top: 10px;
  }

  .sub__nav ul li {
    width: 25.7%;
  }

  .sub__nav ul li:nth-of-type(n+5) {
    margin-top: -3%;
  }

  .return-btn {
    margin-top: 40px;
  }

  .return-btn a {
    line-height: 50px;
    width: 80%;
    max-width: 500px;
    height: 50px;
  }
}