@charset "UTF-8";

/* ======= */

:root {
    --primary-white:  #FEFEFE;
    --primary-black: #454545;
    --primary-font01: "Noto Serif JP", Times,serif;    
    --primary-font02: "EB Garamond",'Times New Roman', Times, serif;   
}

html {
    background-color: var(--primary-white);
    font-size: 62.5%;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    color: var(--primary-black);
}


/* =====
   ヘッダー
===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 88.89%;
    height: 96px;
    margin: 0 auto;
    padding: 23px 0;
}

.header__topic {
    color: #FEFEFE; 
    font-family: var(--primary-font02);
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

.nav__topic {
    color: var(--primary-black);
    font-family: var(--primary-font02);
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

/* ナビゲーション */
.nav {
    background-image: url(../images/menubg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 1.2s, visibility 1.2s;
}

.nav.is-open {
    opacity: 1;
    visibility: visible;
}

.nav__header {
    width: 88.88%;
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 0;
}

/* ナブクローズ */
.nav__btnbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.nav__btnbox::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1.5px;
    background: var(--primary-black);
    margin-right: 6px;
    position: relative;
    top: 4px;
}
.nav__btn {
  display: flex;

}
.nav__btn span {
  font-family: var(--primary-font02);
  font-size: 2.5rem;
  font-weight: 600;
  transition: opacity 0.8s ease;
}
.nav__btn:hover span {
  opacity: 0.3;
}


/* ナブアイテム */
.nav__box {
    display: flex;
    justify-content: space-between;
    width: 88.88%;
    margin: 0 auto;
}

.nav__list {
    margin-top: 150px;
}

.nav__listbox {
  margin-top: 35px;
}

.nav__listbox:nth-of-type(1) {
  margin-top: 0px;
}

.nav__item {
  display: flex;
}

.nav__item span {
  font-family: var(--primary-font02);
  font-size: 5rem;
  font-weight: 600;
  transition: opacity 0.8s ease;
}

.nav__item:hover span {
  opacity: .3;
}

/* ナブコンタクト */
.nav__contactlist01 {
  display: flex;
  justify-content: right;
}

.nav__contactlist01 span {
  font-family: var(--primary-font02);
  font-size: 3rem;
  font-weight: 600;
  transition: opacity 0.8s ease;
}

.nav__contactlist01:hover span {
  opacity: .3;
}

.nav__contact {
    margin-top: 395px;
}

.nav__contactlist:last-of-type {
    margin-top: 40px;
}



@media screen and (max-width: 1080px) {
  .header {
    height: 80px;
  }
  .header__topic {
    font-size: 3rem;
  }
  .nav__header{
    height: 80px;
  }
  .nav__topic {
    font-size: 3rem;
  }
  .nav__btn span {
    font-size: 2rem;
  }
  .nav__btnbox::before {
    width: 10px;
    height: 1px;
    margin-right: 4px;
    top: 3px;
  }
  .nav__list {
    margin-top: 136px;
  }
  .nav__listbox {
    margin-top: 30px;
  }
  .nav__item span {
    font-size: 4rem;
  }
  .nav__contact {
    margin-top: 335px;
  }
  .nav__contactlist01 span {
    font-size: 2.5rem;
  }
}



@media screen and (max-width: 769px) {
  .header {
    height: 80px;
  }
  .header__topic {
    font-size: 2.2rem;
  }
  .nav__header{
    height: 80px;
  }
  .nav__topic {
    font-size: 2.2rem;
  }
  .nav__list {
    margin-top: 136px;
  }
  .nav__item span {
    font-size: 3rem;
  }
  .nav__contact {
    margin-top: 293px;
  }
  .nav__contactlist01 span {
    font-size: 2rem;
  }
}


@media screen and (max-width: 480px) {
  .header {
    height: 60px;
  }
  .header__topic {
    font-size: 1.8rem;
  }
  .nav__header{
    height: 60px;
  }
  .nav__topic {
    font-size: 1.8rem;
  }
  .nav__btn span {
    font-size: 1.8rem;
  }
  .nav__btnbox::before {
    width: 7px;
    height: 1px;
    margin-right: 2px;
    top: 3px;
  }
  .nav__list {
    margin-top: 136px;
  }
  .nav__item span {
    font-size: 2.5rem;
  }
  .nav__contact {
    margin-top: 273px;
  }
  .nav__contactlist01 span {
    font-size: 1.6rem;
  }
}

/* ナビゲーション end */

/* ボタンアニメーション */
.toggle_btn {
    display: block;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 30px;
    transform: translate(0, 0);
    transition: all .5s;
    cursor: pointer;
  }
  
  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-white);
    transition: all .5s;
  }
  .toggle_btn span:nth-child(1) {
    top: 5px;
    width: 60px;
    animation: equalizer01 10000ms infinite;
  }
  .toggle_btn span:nth-child(2) {
    top: 15px;
    width: 35px;
    animation: equalizer02 8000ms infinite;
    animation-delay: 0.33s;
  }
  .toggle_btn span:nth-child(3) {
    top: 25px;
    width: 25px;
    animation: equalizer02 8000ms infinite;
  }

/* ボタン@keyframes */
@keyframes equalizer01 {
    0% {
      width: 70%;
    }
    10% {
      width: 50%;
    }
    20% {
      width: 90%;
    }
    30% {
      width: 10%;
    }
    40% {
      width: 50%;
    }
    50% {
      width: 70%;
    }
    60% {
      width: 50%;
    }
    70% {
      width: 10%;
    }
    80% {
      width: 80%;
    }
    90% {
      width: 10%;
    }
    100% {
      width: 70%;
    }
  }
  @keyframes equalizer02 {
    0% {
      width: 30%;
    }
    10% {
      width: 20%;
    }
    20% {
      width: 40%;
    }
    30% {
      width: 10%;
    }
    40% {
      width: 20%;
    }
    50% {
      width: 30%;
    }
    60% {
      width: 20%;
    }
    70% {
      width: 10%;
    }
    80% {
      width: 40%;
    }
    90% {
      width: 10%;
    }
    100% {
      width: 30%;
    }
  }

  @media screen and (max-width: 769px) {
    .toggle_btn {
      width: 40px;
      height: 30px;
    }
    .toggle_btn span {
      width: 15px;
      height: 1.5px;
    }
    .toggle_btn span:nth-child(1) {
      top: 5px;
      width: 30px;
    }
    .toggle_btn span:nth-child(2) {
      top: 13px;
      width: 17px;
    }
    .toggle_btn span:nth-child(3) {
      top: 21px;
      width: 13px;
    }
  }
/* ボタン@keyframes end */
/* =====
   ヘッダーエンド
===== */


 
/* =====
   スクロールアニメーション
===== */
.scroll__box {
    padding: 140px 0;
    width: 100%;
    position: relative;
}


.scroll {
    display: flex;
    justify-content: center;
}

.scroll::before {
    content: "";
    animation: scroll 3.5s infinite;
    display: block;
    background-color: #191919;
    height: 220px;
    width: 1px;
    z-index: 2;
}

.scroll::after {
    content: "";
    display: block;
    background-color: #C0C0C0;
    height: 220px;
    width: 1px;
    position: relative;
    right: 1px;
}

 /* 線のアニメーション */
 @keyframes scroll {
    0% {
      opacity: 0;
      transform: scale(1, 0);
      transform-origin: 0 0;
    }

    30% {
        opacity: 1;
    }

    50% {
      transform: scale(1, 1);
      transform-origin: 0 0;
    }
    51% {
      transform: scale(1, 1);
      transform-origin: 0 100%;
    }

    100% {
      opacity: 0;
      transform: scale(1, 0);
      transform-origin: 0 100%;
    }
  }

  @media screen and (max-width: 1080px) {
    .scroll__box {
      padding: 110px 0;
    }

    .scroll::before {
      height: 180px;
    }
  
    .scroll::after {
      height: 180px;
    }
  }

  @media screen and (max-width: 769px) {
    .scroll__box {
      padding: 80px 0;
    }

    .scroll::before {
      height: 140px;
    }
  
    .scroll::after {
      height: 140px;
    }

    .scroll__txt {
      font-size: 1.2rem;
  }
  .scroll__txt:hover {
    font-size: 1.4rem;
  }

  .scroll::before {
    width: 0.75px;
}

.scroll::after {
    width: 0.75px;
}
  
}

  @media screen and (max-width: 580px) {
    .scroll__box {
      padding: 60px 0;
    }

    .scroll::before {
      height: 120px;
    }
  
    .scroll::after {
      height: 120px;
    }

    .scroll__txt {
      font-size: 1.2rem;
  }
  .scroll__txt:hover {
    font-size: 1.4rem;
  }
  .scroll::before {
    width: 0.5px;
}

.scroll::after {
    width: 0.5px;
}
}


/* ページトップ */
.scroll__txt {
    color: #CCC;
    font-family: var(--primary-font02);
    font-size: 1.4rem;
    font-weight: 600;
    writing-mode: vertical-rl;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-100%,-50%);
    cursor: pointer;
    transition: .6s;
}
.scroll__txt:hover {
    font-size: 1.6rem;
}
/* =====
   スクロールアニメーションエンド
===== */



/* =====
   コピーライト
===== */
.copy {
    padding-bottom: 30px;
}

.copy_txt {
    text-align: center;
    color: #D0D0D0;
    font-family: var(--primary-font02);
    font-size: 1rem;
    font-weight: 600;
}

@media screen and (max-width: 769px) {
  .copy {
    padding-bottom: 20px;
  }
}


