@charset "utf-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  scroll-behavior: smooth;
}
body {
  color: #363427;
  background-color: #f9f9f8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2;
}
img{
  width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

.en{
  font-family: "Jost", sans-serif;
  letter-spacing: 1px;
}

/*ここからheader*/
.header {
  position: fixed;
  z-index: 10;
  width: 100vw;
  height: 62px;
  padding:20px 6.4vw;
  background-color: rgba(241,236,235, 0.9);
}
.header-content-wrapper{
  display: flex;justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.header-logo {
  font-size: 2.2rem;
  font-weight: 600;
  color: #363427;
  line-height: 1;
}
/*ハンバーガーボタン*/
.open-button {
  position: fixed;
  z-index: 10000;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 32px;
  height: 24px;
  padding: 0;
  border: none;
  outline: none;
  background: none;
}
.hamburger {
  display: block;
  height: 2px;
  border-radius: 5px;
  background-color: #363427;
  width: 100%;
  position: relative;
  bottom: 10px;
  transition: all 0.6s;
}
.hamburger::before {
  content: "";
  display: block;
  height: 2px;
  border-radius: 5px;
  background-color: #363427;
  width: 32px;
  transition: all .4s;
  position: absolute;
  top: 10px;
  right: 0px;
}
.hamburger::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 5px;
  background-color: #363427;
  width: 32px;
  transition: all .4s;
  position: absolute;
  top: 20px;
  right: 0px;
}
/*アクティブクラスが付与されたら*/
.open-button.active .hamburger {
  left: 0px;
  transform: translateY(10px) rotate(-45deg);
  height: 2px;
  background-color: #F9F9F8;
}
.open-button.active .hamburger::after {
  left: 0px;
  top: 10px;
  transform: translateY(-10px) rotate(90deg);
  height: 2px;
  background-color: #F9F9F8;
}
.open-button.active .hamburger::before {
  opacity: 0;
}
  
/*ナビゲーション*/

  .header__nav {
    z-index: 1000;
    position: fixed;
    top: 0;
    right: -120%;
    background-color: #627962;
    width: 100%;
    height: 100vh;
    transition: all 0.6s;
    padding-top: 21.572vh;
  }
  .header__nav-list{
    display: flex;
    flex-direction: column;
  }
  .header__nav-list__item{
    margin-bottom: 5.9113vh;
  }
  
  .header__link {
    color: #f9f9f8;
    font-size: 3.94vh;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding-left: 21.3333vw;
  }

/*アクティブクラスがついたら位置を0に*/
.header__nav.panelactive {
  right: 0;
}
@media(min-width:768px) {
  .header {
    height: 100px;
    padding: 34px 6.4vw;
  }
  .header-logo {
    font-size:3.2rem;
  }
  .open-button {
    display: none;
  }
  .header__nav {
    padding-top: 0;
    position: static;
    background-color:inherit;
    width: auto;
    height:auto;
  }
  .header__nav-list {
    margin: 0;
    flex-direction: row;
    gap: 50px;
    }
  .header__nav-list__item{
    margin-bottom: 0;
  }
  
  .header__link {
    padding: 0;
    text-decoration: none;
    color: #363427;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

/*フッター*/
.footer {
  background-color: #627962;
  padding: 30px 6.4vw 25px;
}
.footer__inner{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.footer__content-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.footer__nav-list {
  display: none;
}
.scroll-top a{
  color: #F9F9F8;
  font-weight: 600;
  border-bottom: 1px solid #F9F9F8;
}
.copyright{
  color: #F9F9F8;
  font-size: 1.2rem;
  display: block;
  text-align: center;
}
@media(min-width:768px){
  .footer {
    padding: 30px 35px 25px;
  }
  .footer__content-wrap{
    margin-bottom: 65px;;
  }
  .footer__nav-list{
    display: flex;
    gap: 3.333vw;
  }
  .footer__nav-list__item a{
    font-size: 1.6rem;
    color: #F9F9F8;
    font-weight: 500;
  }
  .scroll-top a{
    font-size: 1.6rem;
  }
  .copyright{
    font-size: 1.4rem;
  }
}
