/* ============================================
   aquarium.css - SEA LIFE COEX 入場チケット 専用ページ
   common.css のデザイントークンを継承し、このページだけ海の色を足す
   ============================================ */

.aq-page {
  --aq-deep: #071a3a;
  --aq-ocean: #0b5d8c;
  --aq-aqua: #7fd4e6;
  --aq-mist: #eef6fa;
}

.aq-page main { overflow-x: clip; }
.aq-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.aq-page :focus-visible { outline: 3px solid var(--color-accent-blue); outline-offset: 2px; }

/* ---------- Hero ---------- */
.aq-hero { padding: var(--space-sm) 0 var(--space-lg); }
.aq-hero__grid { display: grid; gap: var(--space-md); }
@media (min-width: 960px) {
  .aq-hero__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: var(--space-lg); }
  .aq-hero__buy { position: sticky; top: calc(var(--header-height) + 16px); }
}

.aq-gallery { min-width: 0; }
.aq-gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius-large); background: var(--aq-deep);
  -webkit-overflow-scrolling: touch;
}
.aq-gallery__track::-webkit-scrollbar { display: none; }
.aq-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; margin: 0; }
.aq-gallery__slide button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.aq-gallery__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (min-width: 960px) { .aq-gallery__slide img { aspect-ratio: 3 / 2; } }
.aq-gallery__count {
  position: absolute; right: 14px; bottom: 14px; padding: 4px 12px; border-radius: var(--radius-pill);
  background: rgba(7, 26, 58, 0.72); color: #fff; font-size: 0.78rem; font-weight: 700;
}
.aq-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--color-navy); font-size: 1.4rem; cursor: pointer;
  box-shadow: var(--shadow-float); display: none;
}
@media (min-width: 960px) { .aq-gallery__nav { display: block; } }
.aq-gallery__nav--prev { left: 14px; }
.aq-gallery__nav--next { right: 14px; }
.aq-gallery__stage { position: relative; }

.aq-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.aq-gallery__thumbs button {
  flex: 0 0 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-small);
  overflow: hidden; cursor: pointer; background: none; opacity: .7;
}
.aq-gallery__thumbs button[aria-current="true"] { border-color: var(--color-navy); opacity: 1; }
.aq-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.aq-buy { background: var(--color-paper); border-radius: var(--radius-large); box-shadow: var(--shadow-card); padding: var(--space-md); }
.aq-buy__eyebrow { font-size: .82rem; font-weight: 700; color: var(--aq-ocean); letter-spacing: .04em; }
.aq-buy__title { margin: 6px 0 4px; font-size: var(--fs-h1); line-height: 1.25; color: var(--color-navy); font-weight: 900; }
.aq-buy__sub { color: var(--aq-ocean); font-weight: 700; margin-bottom: 10px; }
.aq-buy__lead { color: var(--text-secondary); font-size: .95rem; line-height: 1.8; margin-bottom: var(--space-sm); }
.aq-buy__price { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-sm); }
.aq-buy__price-value { font-size: 2.1rem; font-weight: 900; color: var(--color-navy); line-height: 1; }
.aq-buy__price-note { color: var(--text-secondary); font-size: .85rem; }
.aq-buy .btn { width: 100%; min-height: 52px; font-size: 1.02rem; }
.aq-buy__line { text-align: center; margin-top: 10px; font-size: .8rem; color: var(--text-secondary); }
.aq-buy__line a { text-decoration: underline; }

/* ---------- Quick info ---------- */
.aq-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .aq-quick { grid-template-columns: repeat(4, 1fr); } }
.aq-quick__item { background: var(--aq-mist); border-radius: var(--radius-medium); padding: 16px 14px; }
.aq-quick__icon { width: 28px; height: 28px; color: var(--aq-ocean); margin-bottom: 8px; }
.aq-quick__label { display: block; font-size: .78rem; color: var(--text-secondary); }
.aq-quick__value { display: block; font-weight: 700; color: var(--color-navy); font-size: .98rem; line-height: 1.5; }

/* ---------- Editorial intro ---------- */
.aq-intro { position: relative; color: #fff; background: var(--aq-deep); isolation: isolate; }
.aq-intro__bg { position: absolute; inset: 0; z-index: -2; }
.aq-intro__bg img { width: 100%; height: 100%; object-fit: cover; }
.aq-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,26,58,.55), rgba(7,26,58,.82)); }
.aq-intro__inner { padding: calc(var(--space-xl) + 20px) 0; max-width: 680px; }
h2.aq-force, .aq-intro h2, .aq-final h2, .aq-book h2 { color: #fff; }
.aq-intro h2 { font-size: var(--fs-h1); line-height: 1.4; font-weight: 900; margin-bottom: var(--space-sm); }
.aq-intro p { line-height: 2; color: rgba(255,255,255,.92); }

/* ---------- Highlights ---------- */
.aq-highlight { display: grid; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-lg); }
.aq-highlight__media { margin: 0; border-radius: var(--radius-large); overflow: hidden; background: var(--aq-deep); }
.aq-highlight__media img { width: 100%; display: block; object-fit: cover; }
.aq-highlight__no { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--aq-ocean); }
.aq-highlight__title { font-size: var(--fs-h2); line-height: 1.4; color: var(--color-navy); font-weight: 900; margin: 6px 0 10px; }
.aq-highlight__text { color: var(--text-secondary); line-height: 1.9; }
@media (min-width: 860px) {
  .aq-highlight { grid-template-columns: 1.1fr 1fr; gap: var(--space-lg); }
  .aq-highlight--rev .aq-highlight__media { order: 2; }
  .aq-highlight--tall { grid-template-columns: .8fr 1.2fr; }
  .aq-highlight--tall .aq-highlight__media img { aspect-ratio: 3 / 4; }
  .aq-highlight--wide .aq-highlight__media img { aspect-ratio: 16 / 10; }
}
.aq-highlight--tall .aq-highlight__media img { aspect-ratio: 4 / 5; }
.aq-highlight--wide .aq-highlight__media img { aspect-ratio: 3 / 2; }

.aq-fullbleed { margin: 0 calc(50% - 50vw); position: relative; }
.aq-fullbleed img { width: 100vw; max-height: 520px; object-fit: cover; display: block; }
.aq-fullbleed figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 0 18px; background: linear-gradient(transparent, rgba(7,26,58,.7)); color: #fff; }

/* ---------- Audience ---------- */
.aq-audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 860px) { .aq-audience { grid-template-columns: repeat(4, 1fr); } }
.aq-audience__item { border-radius: var(--radius-medium); overflow: hidden; background: var(--color-paper); box-shadow: var(--shadow-card); }
.aq-audience__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.aq-audience__item p { padding: 12px 14px 16px; font-weight: 700; color: var(--color-navy); font-size: .92rem; line-height: 1.55; }

/* ---------- Price / Booking ---------- */
.aq-price { display: grid; gap: var(--space-sm); }
@media (min-width: 860px) { .aq-price { grid-template-columns: 1fr 1fr; } }
.aq-price__card { background: var(--color-paper); border-radius: var(--radius-large); box-shadow: var(--shadow-card); padding: var(--space-md); }
.aq-price__name { font-weight: 900; color: var(--color-navy); margin-bottom: 8px; }
.aq-price__value { font-size: 2.4rem; font-weight: 900; color: var(--color-navy); }
.aq-price__value small { font-size: 1rem; font-weight: 700; color: var(--text-secondary); }
.aq-list { list-style: none; padding: 0; margin: 10px 0 0; }
.aq-list li { padding: 8px 0 8px 26px; position: relative; color: var(--text-secondary); line-height: 1.7; border-top: 1px solid var(--border-subtle); }
.aq-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--aq-aqua); }
.aq-list--ng li::before { background: var(--border-subtle); }
.aq-list__tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--aq-mist); color: var(--aq-ocean); margin-right: 6px; }

.aq-book { background: var(--aq-deep); color: #fff; border-radius: var(--radius-large); padding: var(--space-md); }
.aq-book h2 { font-size: var(--fs-h2); font-weight: 900; margin-bottom: 6px; }
.aq-book__lead { color: rgba(255,255,255,.8); font-size: .92rem; margin-bottom: var(--space-sm); }
.aq-book__grid { display: grid; gap: var(--space-sm); }
@media (min-width: 760px) { .aq-book__grid { grid-template-columns: 1fr 1fr; } }
.aq-book label.aq-field__label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: rgba(255,255,255,.85); }
.aq-book input[type="date"] {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: var(--radius-small); border: 1.5px solid rgba(255,255,255,.35);
  background: #fff; color: var(--text-primary); font: inherit; font-size: 1rem;
}
.aq-stepper { display: flex; align-items: center; gap: 12px; }
.aq-stepper button {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent;
  color: #fff; font-size: 1.5rem; cursor: pointer;
}
.aq-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.aq-stepper output { min-width: 56px; text-align: center; font-size: 1.6rem; font-weight: 900; }
.aq-book__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin-top: var(--space-sm); border-top: 1px solid rgba(255,255,255,.25); }
.aq-book__total strong { font-size: 2rem; font-weight: 900; }
.aq-book__error { color: #ffb4a3; font-size: .85rem; min-height: 1.2em; margin-top: 6px; }
.aq-book .btn { width: 100%; min-height: 54px; font-size: 1.05rem; background: #fff; color: var(--color-navy); }
.aq-book .btn:hover { background: var(--aq-mist); }
.aq-book__notes { margin-top: var(--space-sm); font-size: .78rem; line-height: 1.8; color: rgba(255,255,255,.75); }
.aq-book__notes a { text-decoration: underline; color: #fff; }

/* ---------- Steps ---------- */
.aq-steps { display: grid; gap: 12px; counter-reset: aqstep; }
@media (min-width: 860px) { .aq-steps { grid-template-columns: repeat(4, 1fr); } }
.aq-steps li { list-style: none; background: var(--color-paper); border-radius: var(--radius-medium); padding: 18px 16px; box-shadow: var(--shadow-card); }
.aq-steps__no { font-size: .78rem; font-weight: 900; letter-spacing: .1em; color: var(--aq-ocean); }
.aq-steps__title { display: block; font-weight: 900; color: var(--color-navy); margin: 4px 0 6px; }
.aq-steps__text { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; }

/* ---------- Access ---------- */
.aq-access { display: grid; gap: var(--space-sm); }
@media (min-width: 860px) { .aq-access { grid-template-columns: 1fr 1.1fr; gap: var(--space-md); } }
.aq-access__map { border-radius: var(--radius-large); overflow: hidden; background: var(--aq-mist); min-height: 300px; }
.aq-access__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.aq-dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px 12px; font-size: .92rem; line-height: 1.7; }
.aq-dl dt { font-weight: 700; color: var(--color-navy); }
.aq-dl dd { color: var(--text-secondary); margin: 0; }
.aq-confirm-note { margin-top: 10px; font-size: .78rem; color: var(--text-secondary); line-height: 1.7; }

/* ---------- FAQ ---------- */
.aq-faq details { background: var(--color-paper); border: 1px solid var(--border-subtle); border-radius: var(--radius-medium); margin-bottom: 10px; }
.aq-faq summary {
  list-style: none; cursor: pointer; padding: 18px 48px 18px 18px; position: relative; font-weight: 700; color: var(--color-navy); line-height: 1.5;
}
.aq-faq summary::-webkit-details-marker { display: none; }
.aq-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--aq-ocean); }
.aq-faq details[open] summary::after { content: "−"; }
.aq-faq__a { padding: 0 18px 18px; color: var(--text-secondary); line-height: 1.85; font-size: .94rem; }
.aq-tbc { display: inline-block; margin-left: 6px; font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: var(--radius-pill); background: #fdf0dc; color: #8a5a1c; vertical-align: 1px; }

/* ---------- Final CTA ---------- */
.aq-final { position: relative; color: #fff; text-align: center; isolation: isolate; background: var(--aq-deep); }
.aq-final__bg { position: absolute; inset: 0; z-index: -2; }
.aq-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.aq-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,26,58,.5), rgba(7,26,58,.8)); }
.aq-final__inner { padding: calc(var(--space-xl) + 10px) 0; }
.aq-final h2 { font-size: var(--fs-h1); font-weight: 900; line-height: 1.4; margin-bottom: 10px; }
.aq-final p { color: rgba(255,255,255,.9); margin-bottom: var(--space-sm); }
.aq-final__price { font-size: 1.6rem; font-weight: 900; margin-bottom: var(--space-sm); }
.aq-final .btn { min-width: 260px; min-height: 54px; background: #fff; color: var(--color-navy); }

/* ---------- Sticky bar (mobile) ---------- */
.aq-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -6px 20px rgba(6,17,78,.12);
  transform: translateY(110%); transition: transform .25s ease;
}
.aq-sticky[data-visible="true"] { transform: translateY(0); }
.aq-sticky__price { display: flex; flex-direction: column; line-height: 1.25; }
.aq-sticky__price small { font-size: .7rem; color: var(--text-secondary); }
.aq-sticky__price strong { font-size: 1.15rem; color: var(--color-navy); font-weight: 900; }
.aq-sticky .btn { min-height: 48px; padding-left: 22px; padding-right: 22px; }
@media (min-width: 960px) { .aq-sticky { display: none; } }
.aq-page.has-sticky .site-footer { padding-bottom: 80px; }
@media (min-width: 960px) { .aq-page.has-sticky .site-footer { padding-bottom: 0; } }

/* ---------- Lightbox ---------- */
.aq-lightbox { border: 0; padding: 0; background: rgba(4, 12, 30, .96); width: 100vw; height: 100vh; max-width: none; max-height: none; }
.aq-lightbox::backdrop { background: rgba(4,12,30,.96); }
.aq-lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 12px; touch-action: pan-y; }
.aq-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.aq-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; cursor: pointer; }
.aq-lightbox__close { top: 10px; right: 10px; }
.aq-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.aq-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.aq-lightbox__cap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-size: .85rem; padding: 0 70px; }

.aq-js .aq-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.aq-js .aq-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aq-js .aq-reveal { opacity: 1; transform: none; transition: none; }
  .aq-sticky { transition: none; }
  .aq-gallery__track { scroll-behavior: auto; }
}

/* 返金不可の注意書き — 白地に赤文字(AA)。明暗どちらの背景上でも読める */
.aq-refund { background: #fff; color: #d60000; border: 1px solid #d60000; border-radius: 8px; padding: 10px 14px; font-size: .9rem; line-height: 1.7; margin: 14px 0; }
.aq-refund strong { color: #d60000; }
