/* 以下共通項目 */
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN',
    'Hiragino Sans', Meiryo, sans-serif;
  color: #202020;
  line-height: 1.5;
  font-weight: 600;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 24px;
}

.sub_text {
  font-weight: 500;
  font-size: 12px;
}

.notes li {
  margin-top: 16px;
}

.source li {
  font-weight: 500;
  font-size: 10px;
  padding-top: 8px;
}

footer {
  height: 158px;
}

.footer_text {
  min-width: 367px;
  font-weight: 500;
  font-size: 10px;
  text-align: center;
  padding-top: 64px;
  color: #808080;
}

.play_m,
.play_m::after,
.play_l,
.play_l::after,
.contact,
.contact::after {
  cursor: pointer;
  transition: 0.2s;
}

/* small size */
/* 以下非表示項目 */
.available,
.main_ml {
  display: none;
}

/* 以下表示項目 */
.hero {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100vw;
  min-width: 367px;
  min-height: 600px;
  height: 100svh;
  background-image: url(../images/bg_disaster.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.unavailable {
  width: 100vw;
  padding: 0 17px;
  max-width: 512px;
  margin: 0 auto;
}

.bubble {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  max-width: 400px;
  padding: 0 24px;
}

.bousagi_cry {
  margin: 24px auto 0 auto;
  width: 128px;
  position: relative;
  z-index: 2;
}

.btn_back {
  margin-top: -19px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.main_s {
  padding: 0 16px;
  min-width: 335px;
  max-width: 512px;
  margin: 0 auto;
}

.environments_s {
  max-width: 100%;
  text-align: center;
  background-color: #e8f3fb;
  border-radius: 24px;
  padding: 16px 24px;
  margin: 32px 0;
}

.environments_s h3 {
  width: 100%;
}

.illustration_env_laptop-tablet {
  margin: 16px auto;
  width: 100%;
  max-width: 400px;
}

.environments_s .sub_text {
  width: 100%;
}

.contact_s {
  width: 100%;
  text-align: center;
}

.boueitai_s {
  width: 80%;
  height: auto;
}

.btn_contact_s {
  margin-top: -8px;
  width: 100%;
}

/* medium size */
@media screen and (min-width: 768px) {
  /* 以下非表示項目 */
  .unavailable,
  .main_s,
  .notice_l,
  .play_l,
  .boueitai_l,
  .btn_contact_l {
    display: none;
  }

  /* 以下表示項目 */
  .hero {
    display: block;
    justify-content: center;
    height: auto;
    aspect-ratio: 3/2;
  }

  .available {
    display: block;
    height: 100%;
    align-content: center;
  }

  .logo {
    display: block;
    width: 564px;
    margin: 0 auto;
    animation: fade-in-logo;
    animation-duration: 2s;
    animation-delay: 250ms;
    animation-fill-mode: backwards;
  }
  @keyframes fade-in-logo {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .down {
    width: 40px;
    margin: 0 auto;
    margin-top: 24px;
  }

  .arrow1,
  .arrow2,
  .arrow3 {
    width: 100%;
    animation-duration: 8s;
    animation-timing-function: ease-out;
    animation-delay: 4s;
    animation-iteration-count: infinite;
    animation-fill-mode: backwards;
  }

  .arrow1 {
    animation-name: arrow1-animation;
  }
  @keyframes arrow1-animation {
    /* 初期状態 */
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    /* 出現 */
    5% {
      opacity: 1;
      transform: translateY(0);
    }
    /* 時間差 */
    15% {
      opacity: 1;
      transform: translateY(0);
    }
    /* 移動終了・消失 */
    40% {
      opacity: 0;
      transform: translateY(128px);
    }
    /* 回復 */
    100% {
      opacity: 0;
      transform: translateY(0);
    }
  }

  .arrow2 {
    animation-name: arrow2-animaton;
  }
  @keyframes arrow2-animaton {
    /* 初期状態 */
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    /* 出現 */
    5% {
      opacity: 1;
      transform: translateY(0);
    }
    /* 時間差 */
    10% {
      opacity: 1;
      transform: translateY(0);
    }
    /* 移動終了・消失 */
    35% {
      opacity: 0;
      transform: translateY(104px);
    }
    /* 回復 */
    100% {
      opacity: 0;
      transform: translateY(0);
    }
  }

  .arrow3 {
    animation-name: arrow3-animation;
  }
  @keyframes arrow3-animation {
    /* 初期状態 */
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    /* 出現 */
    5% {
      opacity: 1;
      transform: translateY(0);
    }
    /* 移動終了・消失 */
    30% {
      opacity: 0;
      transform: translateY(80px);
    }
    /* 回復 */
    100% {
      opacity: 0;
      transform: translateY(0);
    }
  }

  .main_ml {
    display: block;
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
  }

  .notice_m {
    padding-top: 40px;
  }

  .notice_m .main_text {
    width: 100%;
    text-align: center;
    background-color: #e8f3fb;
    border-radius: 40px;
    padding: 16px 0;
    margin: 0 auto;
  }

  .notice_m .sub_text {
    text-align: center;
    margin-top: 24px;
  }

  .precaution {
    background-image: url(../images/bg_peaceful.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 32px;
    border-radius: 24px;
    margin: 80px auto 48px auto;
  }

  .precaution h2 {
    transform: translateY(-40px);
    letter-spacing: 0.16em;
    text-align: center;
    width: 424px;
    outline: #202020;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: -2px;
    border-radius: 40px;
    background-color: #f8dc80;
    padding: 10px 0;
    margin: 0 auto;
  }

  .precaution h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
  }

  .environments {
    width: 664px;
    outline: #202020;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: -2px;
    border-radius: 4px;
    background-color: #fff;
    padding: 20px 0 22px 0;
    margin: -16px auto 0 auto;
  }

  .environments h3::before {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url(../images/icon_check.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .environments .illustrations {
    display: flex;
    justify-content: center;
    gap: 52px;
  }

  .illustration_env_pc-laptop {
    width: 312px;
  }

  .illustration_env_smartphone {
    width: 192px;
  }

  .text .main_text {
    margin-top: 15px;
    text-align: center;
  }

  .highlighted {
    background: linear-gradient(transparent 50%, #f8dc80 50%);
  }

  .text .sub_text {
    margin-top: 4px;
    text-align: center;
  }

  .prohibitions {
    background-color: #fff;
    width: 664px;
    outline: #202020;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: -2px;
    border-radius: 4px;
    padding: 20px 0 22px 0;
    margin: 24px auto 0 auto;
  }

  .prohibitions h3::before {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url(../images/icon_cross.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .phb_contents {
    width: 556px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }

  .illustration_resize,
  .illustration_previous,
  .illustration_reload {
    width: 164px;
  }

  .phb_contents .main_text {
    text-align: center;
    margin-top: 12px;
  }

  /* 以下プレイボタンエリア */
  .play {
    text-align: center;
    position: relative;
  }

  /* 以下mサイズ */
  .play_m {
    width: 664px;
    margin: 0 auto;
  }

  /* 以下ボタン上装飾 */
  .boueitai {
    display: flex;
    justify-content: center;
    gap: 68px;
    margin-bottom: -2px;
    position: relative;
    z-index: 3;
  }

  .bousagi_frighten {
    width: 61px;
    height: 81px;
    margin-bottom: -8px;
    z-index: 2;
  }

  .boueitai_m {
    width: 400px;
    height: 41px;
    margin-top: 32px;
  }

  /* 以下ボタン機能設定 */
  .cta_button {
    display: block;
    position: relative;
    height: 170px;
    width: 664px;
    margin: 0 auto;
  }

  /* 以下ボタンビジュアル設定 */
  .btn_play_m {
    width: 664px;
    position: relative;
    z-index: 1;
    /* opacity: 0.5; */
  }

  /* 以下シャドウ設定 */
  .play_m::after {
    display: block;
    content: '';
    width: 664px;
    height: 170px;
    background-image: url(../images/btn_play_m_shadow.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
    margin-top: -158px;
  }

  /* 以下hover時 */
  .play_m:hover {
    transform: translateY(-20px);
  }

  .play_m:hover::after {
    transform: translate(10px, 20px);
  }

  .caution_message {
    width: 424px;
    outline: #ef2f32;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: -2px;
    border-radius: 40px;
    padding: 16px 0;
    margin: 64px auto 0 auto;
  }

  .caution_message .main_text {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    color: #ef2f32;
    text-align: left;
  }

  .caution_message .main_text::before {
    content: '';
    width: 40px;
    height: 40px;
    background-image: url(../images/icon_caution.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .information {
    width: 100%;
    background-color: #e8f3fb;
    border-radius: 24px;
    margin: 48px auto 0 auto;
    padding: 32px 0 32px 0;
  }

  .other_notes {
    position: relative;
    background-color: #fff;
    outline: #202020;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: -2px;
    border-radius: 4px;
    padding: 48px 32px 56px 32px;
    margin: 0 auto;
    width: 602px;
  }

  .other_notes h2 {
    padding: 0 0 8px 20px;
  }

  .notes {
    padding-left: 20px;
  }

  .saigai {
    position: absolute;
    top: -22px;
    left: 393px;
  }

  .ohtsunaa {
    width: 80px;
    padding-bottom: 14px;
    transform: rotate(4.5deg);
  }

  .dosshan {
    width: 80px;
    transform: rotate(-2.5deg);
  }

  .zuizuui {
    width: 80px;
    padding-bottom: 20px;
    transform: rotate(15deg);
  }

  .credits {
    width: 600px;
    display: grid;
    grid-template-columns: 2.4fr 1fr 3.77fr;
    grid-template-rows: 97px 48px 51px;
    padding-left: 24px;
    margin: 56px auto 0 auto;
  }

  .credits h3 {
    font-size: 16px;
  }

  .credits .sub_text {
    font-weight: 500;
    font-size: 10px;
    line-height: 1.5em;
    margin-top: 8px;
  }

  .credits .main_text {
    margin-bottom: 4px;
  }

  .data {
    grid-row: 1 / 4;
  }

  .rights {
    grid-column: 3;
  }

  .developer {
    grid-column: 3;
    grid-row: 3;
  }

  .contact {
    width: 664px;
    margin: 16px auto;
  }

  .denbenjii {
    width: 197px;
    transform: translateX(450px);
    position: relative;
    z-index: 2;
  }

  .btn_contact_m {
    width: 100%;
    margin-top: -13px;
    position: relative;
    z-index: 1;
    /* opacity: 0.5; */
  }

  .contact::after {
    display: block;
    content: '';
    background-image: url(../images/btn_contact_m_shadow.png);
    width: 662px;
    height: 57px;
    background-size: contain;
    position: relative;
    background-repeat: no-repeat;
    z-index: 0;
    margin-top: -72px;
  }

  .contact:hover {
    transform: translateY(-10px);
  }

  .contact:hover::after {
    transform: translate(6px, 14px);
  }
}

/* large size */
@media screen and (min-width: 1280px) {
  /* 以下非表示項目 */
  .unavailable,
  .down,
  .notice_m,
  .play_m,
  .denbenjii,
  .btn_contact_m {
    display: none;
  }

  /* 以下表示項目 */
  .hero {
    display: block;
    width: 100%;
    height: 852px;
  }

  .available {
    display: block;
    height: 564px;
    padding: 256px 0 32px 0;
    background: linear-gradient(
      rgba(255, 255, 255, 0) 64%,
      rgba(255, 255, 255, 0.8) 100%
    );
  }

  .logo {
    width: 749px;
    margin: 0 auto 0 auto;
  }

  .notice_l {
    display: block;
    margin-top: 86px;
    animation: fade-in-notice_l;
    animation-duration: 500ms;
    animation-delay: 2s;
    animation-fill-mode: backwards;
  }
  @keyframes fade-in-notice_l {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .main_message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 928px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 40px;
  }

  .main_message::before {
    content: '';
    width: 80px;
    height: 80px;
    background-image: url(../images/icon_arrows.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 24px;
  }

  .main_message::after {
    content: '';
    width: 80px;
    height: 80px;
    background-image: url(../images/icon_arrows.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 24px;
  }

  .notice_l .sub_text {
    padding-top: 24px;
  }

  .main_ml {
    max-width: 1600px;
    padding: 0 28px;
  }

  .precaution {
    padding-bottom: 24px;
    width: 100%;
    background-position-y: -180px;
  }

  .contents {
    margin-top: -16px;
    display: flex;
    justify-content: center;
    gap: 24px;
  }

  .environments {
    width: 576px;
    margin: 0;
  }

  .environments .illustrations {
    gap: 12px;
  }

  .prohibitions {
    width: 576px;
    margin: 0;
  }

  .phb_contents {
    width: 516px;
  }

  /* 以下lサイズ */
  .play_l {
    display: block;
    width: 976px;
    height: 191px;
    margin: 80px auto 0 auto;
  }

  /* 以下ボタン機能設定 */
  .cta_button {
    height: 191px;
    width: 976px;
    margin: 0 auto;
  }

  /* 以下ボタンビジュアル設定 */
  .btn_play_l {
    width: 976px;
    position: relative;
    z-index: 1;
    /* opacity: 0.5; */
  }

  /* 以下シャドウ設定 */
  .play_l::after {
    display: block;
    content: '';
    width: 976px;
    height: 191px;
    background-image: url(../images/btn_play_l_shadow.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
    margin-top: -178px;
  }

  /* 以下hover時 */
  .play_l:hover {
    transform: translateY(-20px);
  }

  .play_l:hover::after {
    transform: translate(10px, 20px);
  }

  .caution_message {
    margin-top: 48px;
  }

  .information {
    margin-top: 64px;
    width: 100%;
    padding: 24px 0 49px 0;
  }

  .other_notes {
    width: 996px;
    padding: 48px 90px 64px 90px;
  }

  .saigai {
    position: absolute;
    top: 256px;
    left: 780px;
  }

  .ohtsunaa {
    width: 128px;
    padding-bottom: 24px;
  }

  .dosshan {
    width: 128px;
  }

  .zuizuui {
    width: 128px;
    padding-bottom: 32px;
  }

  .credits {
    width: 976px;
    grid-template-columns: 2.975fr 1fr 2.44fr;
    grid-template-rows: 130px 32px 70px;
    padding-left: 24px;
    margin: 80px auto 0 auto;
  }

  .credits h3 {
    font-size: 24px;
    padding-bottom: 16px;
  }

  .credits .sub_text {
    font-weight: 500;
    font-size: 12px;
    margin: 0 0 12px 0;
  }

  .source li {
    font-weight: 500;
    font-size: 12px;
    padding-top: 12px;
  }

  .contact {
    width: 976px;
  }

  .boueitai_l {
    display: block;
    width: 487px;
    margin: 64px auto 0 auto;
  }

  .btn_contact_l {
    display: block;
    width: 100%;
    margin-top: -2px;
    position: relative;
    z-index: 5;
    /* opacity: 0.5; */
  }

  .contact::after {
    background-image: url(../images/btn_contact_l_shadow.png);
    background-repeat: no-repeat;
    width: 976px;
    height: 63px;
    margin-top: -72px;
  }

  .contact:hover::after {
    transform: translate(6px, 16px);
  }
}
