/* CSS Document */
body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Poppins", serif;
  letter-spacing: 0.02rem;
  /*overflow-x: hidden;*/
}
li {
  list-style: none;
}
/*==================================================
フェード
===================================*/
/* その場で */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 下から */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 下から */
.fadeUp1 {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 下から */
.fadeUp2 {
  animation-name: fadeUpAnime;
  animation-duration: 1.4s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 下から */
.fadeUp3 {
  animation-name: fadeUpAnime;
  animation-duration: 1.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 上から */
.fadeDown {
  animation-name: fadeDownAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 左から */
.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* 右から */
.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUp1Trigger,.fadeUp2Trigger,.fadeUp3Trigger,.fadeUpTrigger,.fadeRightTrigger,.fadeLeftTrigger {
  opacity: 0;
}
.header {
  top: 0;
  padding: 0px 0 20px 0;
  position: fixed;
  width: 100%;
  z-index: 999;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
.header__inner h1 {
  width: 100px;
  margin-top: 0px;
}
@media screen and (max-width: 1024px) {
  .header__inner h1 {
    width: 100px;
    margin-top: 10px;
  }
}
.header__inner h1 img {
  width: 100%;
  height: auto;
}
/* ハンバーガーボタンのデザイン */
.drawer__nav__item a {
  color: #4f4e4e;
  text-decoration: none;
  font-size: 1.6rem;
  text-transform: uppercase;
}
.drawer__button {
  position: absolute;
  right: 5%;
  top: 30px;
  width: 5rem;
  height: 3rem;
  border: none;
  cursor: pointer;
  z-index: 999;
  background-color: #FFF;
  border-radius: 20px;
}
/* ハンバーガーボタン内の線 */
.drawer__button > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  /*background-color: #AF934A;*/ background-color: #1a4b8b;
  transform: translateX(-50%);
}
.drawer__button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}
/* 展開時のデザイン */
.drawer__button.active > span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.drawer__button.active > span:nth-child(2) {
  opacity: 0;
}
.drawer__button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
/* メニューのデザイン */
.drawer__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  /* transition: opacity 0.3s ease;*/
  opacity: 0;
  visibility: hidden;
}
.drawer__nav.active {
  opacity: 1;
  visibility: visible;
}
.drawer__nav__inner {
  position: relative;
  width: 80%;
  height: 100%;
  background-color: white;
  padding: 4rem 1.5rem 1rem;
  margin: 0 0 0 auto;
  overflow: scroll;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.drawer__nav.active .drawer__nav__inner {
  transform: translateX(0);
}
.drawer__nav__menu {
  list-style: none;
  padding-left: 0;
}
.drawer__nav__link {
  display: block;
  color: black;
  text-decoration: none;
  padding: 1rem 1rem;
  border-bottom: 1px solid #AF934A;
}
/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  height: 100%;
  overflow: hidden;
}
/*ページの先頭に戻る*/
.toppage {
  width: 20px;
  position: fixed;
  bottom: 20px;
  right: 40px;
  z-index: 99;
}
.toppage img {
  width: 100%;
  height: auto;
}
.toppage a {
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: block;
}
footer {}
.copyright {
  font-size: 0.75rem;
  text-align: center;
  padding: 15px 0;
  color: #302F2F;
}
#header:after, footer:before, .footer-inner:after {
  content: "";
  clear: both;
  display: block;
}
.red {
  color: #FF0004;
}
/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}
