:root {
  --color-navy: #044266;
  --color-navy-200: #116393;
  --color-blue-150: #24719f;
  --color-blue-100: #4d94be;
  --color-blue-50: #7faeca;
  --color-yellow: #feee4a;
  --color-cream: #fffeee;
  --color-black: #2e2723;
  --color-modal: #c6e0ef;
  --color-panel: rgba(162, 229, 228, 0.4);
  --font-en: "Bowlby One", sans-serif;
  --font-jp: "M PLUS Rounded 1c", sans-serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --shadow-lead:
    0 0 5px var(--color-blue-150),
    0 0 7.5px var(--color-blue-150),
    0 0 10px var(--color-blue-150);
  --shadow-title: 2px 3px 0 #fff;
  --radius-btn: 22px;
  --radius-card: 40px;
  --radius-thumb: 19px;
  --page-width: 1440px;
  --hero-width: 928px;
  --hero-height: 1310px;
  --z-bg: 0;
  --z-fish: 1;
  --z-content: 2;
  --z-pagetop: 20;
  --z-dialog: 40;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-black);
  font-family: var(--font-jp);
  background: var(--color-blue-100);
}

body.is-modal-open {
  overflow: hidden;
}

body.is-modal-open .pagetop {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.only-sp {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  background: var(--color-blue-100) url("../img/bg-underwater.jpg") center / cover no-repeat;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  overflow: visible;
}

.section-hero,
.section-lead,
.section-intro,
.section-chara,
.section-staff,
.section-comic,
.footer {
  position: relative;
  z-index: var(--z-content);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 19px;
  border-radius: var(--radius-btn);
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: 1;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.btn--news {
  width: 208px;
}

.btn--buy {
  width: 153px;
}

.btn:hover {
  opacity: 0.88;
}

.title-section {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--color-navy);
}

.title-section__en {
  font-family: var(--font-en);
  font-size: 53px;
  letter-spacing: 2.12px;
  line-height: 1.5;
  text-shadow: var(--shadow-title);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.title-section__jp {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.5;
}

.deco-fish {
  position: absolute;
  z-index: var(--z-fish);
  width: 67px;
  height: 130.5px;
  pointer-events: none;
  animation: fish-float 4.2s ease-in-out infinite;
}

.deco-fish--a {
  top: 1907px;
  left: 1319px;
  animation-duration: 3.8s;
}

.deco-fish--b {
  top: 2560px;
  left: 160px;
  animation-name: fish-float-flip;
  animation-duration: 4.6s;
  animation-delay: 0.5s;
}

.deco-fish--c {
  top: 3168px;
  left: 1251px;
  animation-duration: 4s;
  animation-delay: 1.1s;
}

.deco-fish--d {
  top: 3780px;
  left: 193px;
  animation-name: fish-float-flip;
  animation-duration: 5s;
  animation-delay: 0.2s;
}

@keyframes fish-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes fish-float-flip {
  0%,
  100% {
    transform: scaleX(-1) translateY(0);
  }

  50% {
    transform: scaleX(-1) translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .deco-fish {
    animation: none;
  }

  .deco-fish--b,
  .deco-fish--d {
    transform: scaleX(-1);
  }
}

.section-hero {
  display: flex;
  justify-content: center;
}

.section-hero__frame {
  position: relative;
  width: var(--hero-width);
  max-width: 100%;
  aspect-ratio: 928 / 1310;
  height: auto;
  margin: 0 auto;
}

.section-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-bottom-left-radius: 37px;
  border-bottom-right-radius: 37px;
}

.thumb-movie {
  position: absolute;
  top: 28px;
  right: 20px;
  width: 248px;
  height: 149px;
  overflow: hidden;
  border: 6px solid var(--color-cream);
  border-radius: var(--radius-thumb);
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/thumb-movie.jpg") center / cover no-repeat;
}

.thumb-movie__label {
  display: none; /* サムネ画像に「特報」「ロゴ」が入っているため非表示（旧：PLAY MOVIE!） */
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  color: var(--color-cream);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

.thumb-movie__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
}

.section-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 47px;
  padding: 70px 20px 40px;
}

.main-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 636px;
  color: var(--color-yellow);
  text-align: center;
  font-weight: 900;
  line-height: 1.24;
  filter:
    drop-shadow(0 0 5px var(--color-blue-150))
    drop-shadow(0 0 7.5px var(--color-blue-150))
    drop-shadow(0 0 10px var(--color-blue-150))
}

.main-lead__line {
  display: block;
  font-size: 53px;
}

.main-lead__line--lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
  font-size: 69px;
}

.main-lead__num {
  display: block;
  width: 85px;
  height: 85px;
  margin: 0 4px;
  flex-shrink: 0;
}

.section-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 32px 20px 101px;
}

.section-intro__text {
  position: relative;
  z-index: 1;
  width: 671px;
  text-align: center;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1.68px;
  line-height: 0;
}

.section-intro__text p {
  margin: 0;
  line-height: 1.71;
  white-space: nowrap;
}

.section-chara {
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 109px 20px 170px;
}

.section-chara__wave {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -20px;
  width: 100vw;
  height: 752px;
  overflow: hidden;
  transform: translateX(-50%);
  background: url("../img/chara-wave.svg") center / max(100vw, 1494px) 752px no-repeat;
  pointer-events: none;
}

.section-chara__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: var(--page-width);
  margin: 0 auto;
}

.section-chara .title-section {
  position: relative;
  z-index: 1;
}

.chara-list {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chara-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 282px;
}

.chara-list__item img {
  width: 282px;
  height: 323px;
  object-fit: contain;
  margin-bottom: -5px;
}

.chara-list__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 17px;
  border-radius: 11px;
  background: var(--color-navy-200);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.5;
}

.chara-list__text {
  margin: 12px 0 0;
  color: var(--color-black);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.chara-list__text span {
  display: block;
  text-wrap: balance;
}

.section-staff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 135px 20px;
}

.credit-list {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credit-list__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
}

.credit-list dt,
.credit-list dd {
  margin: 0;
  color: var(--color-black);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.5;
}

.credit-list dt::after {
  content: "：";
  display: inline-block;
  width: 16px;
  text-align: center;
  font-size: 16px;
  vertical-align: 1px;
}

.credit-list__note {
  font-size: 14px;
}

.credit-list__main {
  display: inline-block;
}

.credit-list__row--origin {
  flex-wrap: wrap;
  height: auto;
  row-gap: 0;
}

.credit-list__row--origin .credit-list__note {
  flex-basis: 100%;
  text-align: center;
  line-height: 1.5;
}

.credit-list--cast {
  position: relative;
}

.credit-list--cast .credit-list__row {
  height: 30px;
}

.btn-comment {
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -5px;
}

.btn-comment img {
  width: 32px;
  height: 32px;
}

.section-comic {
  display: flex;
  justify-content: center;
  padding: 0 20px 256px;
}

.comic-panel {
  position: relative;
  z-index: 1;
  width: 800px;
  min-height: 556px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px;
  border-radius: var(--radius-card);
  background: var(--color-panel);
}

.comic-panel__lead {
  margin: 0;
  color: var(--color-yellow);
  text-align: center;
  font-weight: 900;
  font-size: 35px;
  line-height: 1.24;
  text-shadow:
    0 0 5px var(--color-blue-150),
    0 0 5px var(--color-blue-150),
    0 0 7.5px var(--color-blue-150),
    0 0 10px var(--color-blue-150),
    0 0 10px var(--color-blue-150);
  white-space: nowrap;
}

.comic-panel__dow {
  font-size: 27px;
}

.comic-panel__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.comic-panel__cover {
  width: 224px;
  height: 318px;
  object-fit: cover;
  border-radius: 5px;
}

.footer {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 71px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 5px 20px 23px;
  background: var(--color-panel);
}

.footer__wave {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -147px;
  width: 100vw;
  height: 147px;
  transform: translateX(-50%);
  background: url("../img/footer-wave.svg") center / max(100vw, 1493px) 147px no-repeat;
  pointer-events: none;
}

.footer > *:not(.footer__wave) {
  position: relative;
  z-index: 1;
}

.bnr-portal {
  position: relative;
  display: flex;
  align-items: center;
  width: 350px;
  height: 96px;
  padding: 0 16px 0 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.bnr-portal::before {
  content: "";
  position: absolute;
  inset: -18px -6px auto;
  height: 77px;
  background: url("../img/bnr-portal-wave.svg") center / 100% 100% no-repeat;
  transform: rotate(180deg);
  pointer-events: none;
}

.bnr-portal__chara {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 57px;
  object-fit: contain;
}

.bnr-portal__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: 1;
}

.bnr-portal__logo {
  width: 201px;
  height: 41px;
}

.bnr-portal__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 12px;
  border-radius: 34px;
  background: var(--color-yellow);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.5;
}

.sns-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sns-share__ttl {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 2.16px;
}

.sns-share__list {
  display: flex;
  gap: 31px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sns-share__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 69px;
}

.sns-share__icon {
  width: 51px;
  height: 59px;
}

.sns-share__chara {
  width: 61px;
  height: 57px;
  object-fit: contain;
}

.footer__copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 27px;
  text-align: center;
}

.pagetop {
  position: fixed;
  right: 74px;
  bottom: 40px;
  z-index: var(--z-pagetop);
  width: 86px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}

.pagetop img {
  width: 86px;
}

dialog {
  z-index: var(--z-dialog);
  border: 0;
  padding: 0;
  margin: auto;
  color: var(--color-black);
  background: transparent;
  max-width: calc(100vw - 32px);
  max-height: none;
}

dialog::backdrop {
  background: rgba(4, 66, 102, 0.55);
}

.dialog__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 1;
}

.dialog-movie__body {
  width: min(860px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.dialog-movie iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dialog-movie__soon {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-weight: 800;
}

.dialog-comment {
  width: 914px;
  overflow: hidden;
  border-radius: 23px;
  color: var(--color-black);
  background: var(--color-modal);
}

.dialog-comment__inner {
  position: relative;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 29px 40px;
}

.dialog-comment__wave {
  position: absolute;
  z-index: 0;
  left: -5px;
  top: 317px;
  width: 924px;
  height: 308px;
  background: url("../img/modal-wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.dialog-comment__fish {
  position: absolute;
  z-index: 0;
  left: 826px;
  top: 309px;
  width: 67px;
  height: 130.5px;
  background: url("../img/fish-a.svg") center / contain no-repeat;
  pointer-events: none;
}

.dialog-comment__photo {
  position: relative;
  z-index: 1;
  width: 332px;
  height: 442px;
  object-fit: cover;
  border-radius: 21px;
  flex-shrink: 0;
}

.dialog-comment__photo--shikishi {
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.dialog-comment__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

.dialog-comment__body h3 {
  margin: 0;
  width: 100%;
  padding: 4px 16px;
  border-radius: 8px;
  background: var(--color-blue-50);
  color: var(--color-black);
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.5;
}

.dialog-comment__text {
  color: var(--color-black);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.68;
}

.dialog-comment__text p {
  margin: 0;
}

.dialog-comment__text p + p {
  margin-top: 1.68em;
}

.dialog-comment__inner--text {
  justify-content: center;
}

.dialog-comment__inner--text .dialog-comment__wave {
  top: auto;
  bottom: -80px;
}

.dialog-comment__inner--text .dialog-comment__fish {
  top: auto;
  bottom: 0;
  left: auto;
  right: 21px;
}

@media (max-width: 767px) {
  .only-sp {
    display: inline;
  }

  br.only-sp {
    display: block;
  }

  .only-pc {
    display: none;
  }

  .deco-fish {
    width: 43px;
    height: 85px;
  }

  .deco-fish--a {
    top: 980px;
    left: auto;
    right: 16px;
  }

  .deco-fish--b {
    top: 1366px;
    left: 17px;
  }

  .deco-fish--c {
    top: 2319px;
    left: auto;
    right: 28px;
  }

  .deco-fish--d {
    display: none;
  }

  .title-section__en {
    font-size: 30px;
    letter-spacing: 1.2px;
  }

  .section-hero__frame {
    width: 100%;
    aspect-ratio: auto;
    height: 569px;
  }

  .section-hero__img {
    border-bottom-left-radius: 37px;
    border-bottom-right-radius: 37px;
  }

  .thumb-movie {
    top: 20px;
    right: 21px;
    width: 142px;
    height: 85px;
    border-width: 3.4px;
    border-radius: 19px;
  }

  .thumb-movie__label {
    top: 12px;
    font-size: 9px;
    letter-spacing: 0.36px;
    line-height: 1;
  }

  .thumb-movie__play {
    width: 24px;
    height: 24px;
  }

  .section-lead {
    gap: 0;
    padding: 25px 20px 20px;
  }

  .main-lead {
    width: 100%;
    max-width: 350px;
    filter:
      drop-shadow(0 0 2.5px var(--color-blue-150))
      drop-shadow(0 0 3.8px var(--color-blue-150))
      drop-shadow(0 0 5px var(--color-blue-150))
  }

  .main-lead__line {
    font-size: 27px;
    white-space: nowrap;
  }

  .main-lead__line--lg {
    font-size: 35px;
    gap: 0;
    margin-top: 4px;
  }

  .main-lead__num {
    width: 43px;
    height: 43px;
    margin: 0 2px;
  }

  .section-lead .btn {
    display: none;
  }

  .section-intro {
    padding: 32px 20px 39px;
  }

  .section-intro__text {
    width: 100%;
    font-size: 16px;
    letter-spacing: 1.12px;
  }

  .section-intro__text p {
    white-space: normal;
  }

  .section-chara {
    padding: 67px 20px 130px;
  }

  .section-chara__inner {
    gap: 25px;
  }

  .section-chara__wave {
    top: -13px;
    width: 100vw;
    height: 531px;
    background: url("../img/chara-wave-sp.svg") center / max(100vw, 545px) 531px no-repeat;
  }

  .chara-list {
    width: 100%;
    gap: 8px;
  }

  .chara-list__item {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  .chara-list__item img {
    width: 118px;
    height: 135px;
    margin-bottom: -8px;
  }

  .chara-list__name {
    padding: 3px 6px;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 13px;
  }

  .chara-list__text {
    margin-top: 8px;
    padding: 0 3px;
    font-size: 11px;
    line-height: 1.55;
    text-align: left;
  }

  .chara-list__text span {
    display: inline;
  }

  .section-staff {
    gap: 30px;
    padding: 28px 20px;
  }

  .credit-list {
    width: 100%;
    gap: 12px;
    color: var(--color-black);
  }

  .credit-list--cast {
    width: auto;
  }

  .credit-list dt,
  .credit-list dd {
    font-size: 16px;
  }

  .credit-list dt::after {
    font-size: 13px;
  }

  .credit-list__row,
  .credit-list--cast .credit-list__row {
    height: auto;
  }

  .credit-list__row--origin {
    width: 100%;
  }

  .credit-list__row--origin .credit-list__note {
    font-size: 14px;
  }

  .section-comic {
    padding: 40px 18px 150px;
  }

  .comic-panel {
    width: 354px;
    max-width: 100%;
    min-height: 0;
    padding: 40px 38px;
  }

  .comic-panel__lead {
    font-size: 22px;
    white-space: nowrap;
  }

  .comic-panel__dow {
    font-size: 22px;
  }

  .comic-panel__cover {
    width: 202px;
    height: 286px;
  }

  .footer {
    gap: 52px;
    padding: 0 12px 17px;
  }

  .footer__wave {
    top: -69px;
    width: 100vw;
    height: 69px;
    background-size: max(100vw, 409px) 69px;
  }

  .sns-share__ttl {
    color: #fff;
  }

  .footer__copy {
    font-size: 10px;
  }

  .pagetop {
    right: 12px;
    bottom: 12px;
    width: 64px;
  }

  .pagetop img {
    width: 64px;
  }

  .dialog-comment {
    width: 372px;
    max-width: calc(100vw - 18px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 15px;
  }

  .dialog-comment__inner {
    flex-direction: column;
    align-items: center;
    gap: 17px;
    padding: 20px;
  }

  .dialog-comment__wave {
    left: -25px;
    top: auto;
    bottom: -63px;
    width: 543px;
    height: 181px;
    background: url("../img/modal-wave-sp.svg") center / 543px 181px no-repeat;
  }

  .dialog-comment__fish {
    left: auto;
    right: -3px;
    top: auto;
    bottom: 9.5px;
  }

  .dialog-comment__photo {
    width: 244px;
    height: 326px;
    border-radius: 11px;
  }

  .dialog-comment__photo--shikishi {
    height: auto;
    border-radius: 0;
  }

  .dialog-comment__body {
    width: 100%;
    flex: none;
  }

  .dialog-comment__body h3 {
    font-size: 17px;
    border-radius: 4px;
  }

  .dialog-comment__text {
    font-size: 14px;
  }
}
