@charset "utf-8";
/* *************************************** */
/* 【モバイル版】 */
/* *************************************** */
/* ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #494f49;
  font-size: 100%;
}

/* *****************************【基本スタイル】***************************** */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  background-color: #494f49;
  color: #fff;
  line-height: 1.6;
  padding-top: 74px;
  transition: padding-top 0.3s ease;
  letter-spacing: 2px;
}

/* ロード画面表示中はpadding-topを削除 */
#splash + .splashbg + #container ~ * body,
body:has(#splash) {
  padding-top: 0;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 12px;
}

h4 {
  font-size: 1rem;
}

p {
  font-size: 0.95rem;
}

a {
  text-decoration: none;
}

/* ーーーーーー【ホバー効果】ーーーーーー */
a:hover {
  color: #ff6e00;
}

/* Bounce button effect for nav links */
.fade-header__nav a {
  transition: transform 0.5s
    linear(
      0,
      0.05,
      0.1,
      0.15,
      0.2,
      0.3,
      0.4,
      0.5,
      0.6,
      0.7,
      0.8,
      0.9,
      1,
      1.15,
      1.08,
      0.96,
      1.04,
      0.98,
      1.02,
      0.99,
      1
    );
}

.fade-header__nav a:active {
  transform: scale(0.9);
}

/* **********************【ページ遷移】********************** */
/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: 9999999;
  text-align: center;
  color: #fff;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ロード画面表示中はbodyのスクロール禁止 */
html:has(#splash:not([style*="display: none"])) {
  overflow: hidden;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ーーーーーーー【ロード画面の画像】ーーーーーーー */
#splash-logo img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
  display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleY(0);
  background-color: #00880a;
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: bottom;
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0;
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* **********************【アニメーション】********************** */
/* ーーーーーーー【ぷよぷよ動く】ーーーーーーー */
.anim-box.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}

@keyframes poyopoyo {
  0%,
  40%,
  60%,
  80% {
    transform: scale(1);
  }
  50%,
  70% {
    transform: scale(0.95);
  }
}

/* ーーーーーーー */

/* ーーーーーーー【右から左へスライドイン】ーーーーーーー */

.anim-box.slidein-right {
  opacity: 0;
}

/* 表示されたらアニメーション */
.anim-box.slidein-right.is-animated {
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,
  100% {
    opacity: 1;
  }
}

/* ーーーーーーー */
/* ーーーーーーー【左から右へスライドイン】ーーーーーーー */

.anim-box.slidein-left {
  opacity: 0;
}

/* 表示されたらアニメーション */
.anim-box.slidein-left.is-animated {
  animation: slideInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
}

/* ーーーーーーー */

/* ーーーーーーー【フェードアップ】ーーーーーーー */
/* ▼ アニメーション前の初期状態 */
.anim-box.fadeup {
  opacity: 0;
  transform: translateY(30px);
}

/* ▼ スクロール後に付与されるクラス */
.anim-box.fadeup.is-animated {
  animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ーーーーーーー */

/* *************************************** */
/* 【PC版】 */
/* *************************************** */
@media (min-width: 769px) {
  /* ベーススタイル */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    background-color: #494f49;
    font-size: 100%;
  }

  /* *****************************【基本スタイル】***************************** */
  body {
    font-family: "Zen Maru Gothic", sans-serif;
    background-color: #494f49;
    color: #fff;
    line-height: 1.6;
    padding-top: 100px;
    transition: padding-top 0.3s ease;
  }

  .zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
  }

  h4 {
    font-size: 1.8rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.5rem;
    /* color: #fff; */
  }
  a {
    text-decoration: none;
  }

  /* ーーーーーー【ホバー効果】ーーーーーー */
  a:hover {
    color: #ff6e00;
  }

  /* **********************【ページ遷移】********************** */
  /*========= ローディング画面のためのCSS ===============*/
  #splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #333;
    z-index: 9999999;
    text-align: center;
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* ーーーーーーー【ロード画面の画像】ーーーーーーー */
  #splash-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }

  /*========= 画面遷移のためのCSS ===============*/

  /*画面遷移アニメーション*/
  .splashbg {
    display: none;
  }

  /*bodyにappearクラスがついたら出現*/
  body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleY(0);
    background-color: #00880a; /*伸びる背景色の設定*/
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
  }

  @keyframes PageAnime {
    0% {
      transform-origin: top;
      transform: scaleY(0);
    }
    50% {
      transform-origin: top;
      transform: scaleY(1);
    }
    50.001% {
      transform-origin: bottom;
    }
    100% {
      transform-origin: bottom;
      transform: scaleY(0);
    }
  }

  /*画面遷移の後現れるコンテンツ設定*/
  #container {
    opacity: 0; /*はじめは透過0に*/
  }

  /*bodyにappearクラスがついたら出現*/
  body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
  }

  @keyframes PageAnimeAppear {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  /* **********************【アニメーション】********************** */
  /* ーーーーーーー【ぷよぷよ動く】ーーーーーーー */
  .anim-box.poyopoyo {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
  }
  @keyframes poyopoyo {
    0%,
    40%,
    60%,
    80% {
      transform: scale(1);
    }
    50%,
    70% {
      transform: scale(0.95);
    }
  }
  /* ーーーーーーー */

  /* ーーーーーーー【右から左へスライドイン】ーーーーーーー */

  .anim-box.slidein-right {
    opacity: 0;
  }

  /* 表示されたらアニメーション */
  .anim-box.slidein-right.is-animated {
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  @keyframes slideIn {
    0% {
      transform: translateX(180px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
    }
    40%,
    100% {
      opacity: 1;
    }
  }

  /* ーーーーーーー */
  /* ーーーーーーー【左から右へスライドイン】ーーーーーーー */

  .anim-box.slidein-left {
    opacity: 0;
  }

  /* 表示されたらアニメーション */
  .anim-box.slidein-left.is-animated {
    animation: slideInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  @keyframes slideInLeft {
    0% {
      transform: translateX(-180px); /* 左から */
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* ーーーーーーー */

  /* ーーーーーーー【フェードアップ】ーーーーーーー */
  /* ▼ アニメーション前の初期状態 */
  .anim-box.fadeup {
    opacity: 0; /* 最初は見えない */
    transform: translateY(30px); /* 下にずらしておく */
  }

  /* ▼ スクロール後に付与されるクラス */
  .anim-box.fadeup.is-animated {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }

  @keyframes fadeup {
    0% {
      transform: translateY(30px);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* ーーーーーーー */

  /* *************************************** */
}
