html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */

  /* width: 100%; */
}

body{
  /* background-color: #FFFDEC; */
  background-color: #FFFFFF;
  font-family: "Zen Kaku Gothic New", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
  color: #1E3A5F;
  h1{
    position: absolute;
    top:40px;
    left: 50px;
    font-family: "Outfit", "Lato", sans-serif;
    font-size: 3rem;
    letter-spacing: 0.1rem;
    line-height: 4rem;
    text-align: left;
  }
  h2{
    font-family: "Outfit", "Lato", "sans-serif";
    font-size: 4.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.1rem;
  }
  h3{
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 40px;
  }
}

/* 画面遷移のアニメーション START*/
.fade .animation-bg {
  background: #87CEEB;
  content: "";
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  animation-name: PageAnime-fade;
  animation-duration: 0.3s;
  animation-delay: 0.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}
@keyframes PageAnime-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
/* 画面遷移のアニメーション END*/

a{
  opacity: 1;
  transition: opacity 0.5s ease;
}
a:hover{
  opacity: 0.7;
}

.br-pc{
  display: block;
}

.br-sp{
  display: none;
}

/* グーグルフォント */
.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-medium {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zen-kaku-gothic-new-black {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* header CSS */
.nav_btn{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 4;
  background-color: #87CEEB;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  cursor: pointer;
  
  span{
    display: inline-block;
    background-color: #fff;
    height: 3px;
    width: 40%;
    transition: all .4s;
    position: absolute;
    /* top: 50px; */
    left: 30px;
    height: 2px;
    &:nth-of-type(1){
      top:40px
    }
    &:nth-of-type(2){
      top:50px
    }
    &:nth-of-type(3){
      top:60px
    }

  }
}
.nav_btn.active span:nth-of-type(1){
  top: 42px;
  left: 26px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}
.nav_btn.active span:nth-of-type(2){
  opacity: 0;
}
.nav_btn.active span:nth-of-type(3){
  top: 42px;
  left: 26px;
  transform: translateY(6px) rotate(45deg);
  width: 50%;
}

/* nav CSS */
#g-nav{
  position: fixed;
  background-color: #87CEEB;
  z-index: 3;
  width: 100%;
  height: 100vh;
  transition: all 0.6s;
  /* top: 0%; */
  top: -120%;
  left: 0;
  ul{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    li{
      font-family: "Outfit", "Lato", "sans-serif";
      font-size: 2.4rem;
      letter-spacing: .1rem;
      ;
      background-color: #fff;
      width: 320px;
      margin-bottom: 16px;
      a{
        color: #333;
        text-decoration: none;
        display: block;
        padding: 16px;
      }
    }
  }
}
#g-nav.panelactive{
  top: 0;
}

/* footer CSS */

@media (max-width: 959px) {

  .br-pc{
    display: none;
  }
  .br-sp{
    display: block;
  }
  .nav_btn{
    width: 50px;
    height: 50px;
    span{
      left: 15px;
      &:nth-of-type(1){
        top: 18px;
      }
      &:nth-of-type(2){
        top: 25px;
      }
      &:nth-of-type(3){
        top: 32px;
      }
    }
  }
  .nav_btn.active span:nth-of-type(1){
    top: 19px;
    left: 13px;
  }
  .nav_btn.active span:nth-of-type(3){
    top: 19px;
    left: 13px;
  }
}