:root {
  --blue-900: #08356f;
  --blue-800: #0a4c9a;
  --blue-700: #0c6ed8;
  --blue-500: #3aa0f5;
  --blue-100: #e5f2ff;
  --blue-50: #f4f9ff;
  --ink: #15325c;
  --muted: #5b7190;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(12, 78, 160, 0.12);
  --header-h: 0px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --num: "Outfit", "Zen Maru Gothic", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.9;
  background: var(--blue-50);
}

img {
  max-width: 100%;
  height: auto;
}

button,
a {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 3px;
}

::selection {
  background: #b9dcff;
  color: var(--blue-900);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-700);
  color: var(--white);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1080px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: 28px 0 72px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.kicker {
  margin-bottom: 8px;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px 20px 56px;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.95), transparent 34%),
    radial-gradient(circle at 12% 62%, rgba(90, 190, 255, 0.24), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(70, 170, 255, 0.32), transparent 24%),
    linear-gradient(180deg, #d5ebff 0%, #eef6ff 60%, var(--blue-50) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(880px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

#program-title {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(8, 74, 155, 0.16));
  animation: floaty 5.6s ease-in-out infinite;
}

.hero-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100vw - 36px);
  margin-top: 10px;
  padding: 14px 34px 14px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #063e86 0%, #0d6ed8 55%, #2b93ff 100%);
  color: var(--white);
  text-decoration: none;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.92),
    0 0 0 10px rgba(13, 110, 216, 0.28),
    0 22px 46px rgba(6, 62, 134, 0.38);
}

.hero-date::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 3px solid rgba(22, 134, 240, 0.55);
  border-radius: inherit;
  animation: pulseRing 2.2s ease-out infinite;
}

.hero-dow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(68px, 16vw, 92px);
  height: clamp(68px, 16vw, 92px);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-800);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  box-shadow: inset 0 0 0 4px #d7ebff;
}

.hero-date-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.hero-date-main {
  font-size: clamp(1.85rem, 5.4vw, 2.85rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-date-time {
  margin-top: 4px;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.scroll-cue {
  margin-top: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--blue-700);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--blue-700);
  transform: translateX(-50%);
  animation: wheel 1.4s ease-in-out infinite;
}

.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -48px;
  left: var(--l);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.98), rgba(120, 196, 255, 0.35) 46%, rgba(60, 160, 240, 0.05) 72%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.7);
  animation: rise var(--d) linear infinite;
  animation-delay: var(--delay);
}

.bubbles span:nth-child(3n) {
  background: transparent;
  border: 2px solid rgba(22, 120, 214, 0.35);
  box-shadow: none;
}

@keyframes rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(18px, -110vh, 0);
    opacity: 0;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* About */
.stats {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 26px 16px 22px;
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

.stat::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 186, 255, 0.38), transparent 70%);
}

.stat:hover {
  transform: translateY(-4px);
}

.stat-num {
  position: relative;
  color: var(--blue-700);
  font-family: var(--num);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num small {
  margin-left: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.stat-num-text {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
  padding-top: 8px;
}

.stat-label {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.about-copy {
  max-width: 740px;
  margin: 0 auto 36px;
  text-align: center;
}

.about-copy h2 {
  margin-bottom: 14px;
}

.about-copy p:last-child {
  font-size: 1.05rem;
}

/* Photos and story */
.print {
  position: relative;
  z-index: 0;
  margin: 0 10px 8px 0;
  padding: 10px 10px 12px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.print::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16px -10px -12px 16px;
  border-radius: 28px;
  background: linear-gradient(160deg, #d7ebff, #7eb6f8);
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #d7e8f8;
  cursor: zoom-in;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.045);
}

figcaption {
  padding: 10px 8px 2px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.section-head {
  margin-bottom: 36px;
  text-align: center;
}

.panel {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-bottom: 54px;
}

.panel-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
}

.panel-copy p:last-child {
  font-size: 1.05rem;
  font-feature-settings: "palt";
}

.panel:last-child {
  margin-bottom: 0;
}

.step {
  margin-bottom: 4px;
  color: var(--blue-700);
  font-family: var(--num);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.wishes-block {
  margin: 8px 0 62px;
  padding: 28px 18px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.95));
  box-shadow: inset 0 0 0 1px rgba(12, 110, 216, 0.08);
}

.wishes-title {
  text-align: center;
  font-size: 1.35rem;
}

.wishes-lead {
  margin: 8px auto 18px;
  max-width: 36em;
  text-align: center;
  color: var(--muted);
}

.wishes {
  display: grid;
  gap: 12px;
}

.wishes li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(12, 78, 160, 0.08);
}

.wish-no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, #1a86ef, #0c5fbe);
  color: var(--white);
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.1rem;
}

.wishes p {
  font-weight: 700;
  line-height: 1.7;
  text-wrap: balance;
}

.goal {
  position: relative;
  overflow: hidden;
  padding: 48px 22px;
  border-radius: 32px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.2), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(130, 214, 255, 0.35), transparent 28%),
    linear-gradient(145deg, #084a9c 0%, #1276e2 58%, #0b63c4 100%);
}

.goal::before,
.goal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  animation: floaty 7s ease-in-out infinite;
}

.goal::before {
  width: 90px;
  height: 90px;
  left: 8%;
  bottom: 18%;
}

.goal::after {
  width: 54px;
  height: 54px;
  right: 10%;
  top: 18%;
  animation-delay: -2s;
}

.goal-kicker {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.goal h2,
#goal-title {
  position: relative;
  margin: 10px 0 22px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 900;
  line-height: 1.7;
}

.goal p:last-of-type {
  position: relative;
  max-width: 36em;
  margin: 0 auto 22px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-800);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 20, 60, 0.16);
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

/* On air */
.onair-card {
  padding: 42px 20px 36px;
  border-radius: 32px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.onair-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #8fd0ff, #0c6ed8 40%, #49c2ff);
  background-size: 180% 100%;
  animation: sheen 4.5s linear infinite;
}

.onair-card h2 {
  margin-bottom: 6px;
}

.onair-station {
  color: var(--blue-800);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.count-label {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.count {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.count div {
  min-width: 74px;
  padding: 12px 8px 10px;
  border-radius: 16px;
  background: var(--blue-100);
}

.count b {
  display: block;
  color: var(--blue-800);
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.8rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.count span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.onair-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes sheen {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 180% 0;
  }
}

/* Footer */
.site-footer {
  padding: 28px 0 96px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.footer-title {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: 0 12px 24px rgba(12, 110, 216, 0.32);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.to-top::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 4px auto 0;
  border-top: 3px solid var(--white);
  border-left: 3px solid var(--white);
  transform: rotate(45deg);
}

.to-top:hover {
  transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
  width: min(1080px, 94vw);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(6, 28, 62, 0.84);
}

.lightbox-inner {
  position: relative;
}

.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #0b2748;
}

.lightbox-caption {
  margin-top: 10px;
  color: var(--white);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -6px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-900);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .stats .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.js .stats .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

@media (max-width: 799px) {
  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .scroll-cue {
    margin-top: 24px;
  }

  .section {
    padding: 8px 0 36px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .panel {
    gap: 12px;
    margin-bottom: 28px;
  }
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .wishes {
    grid-template-columns: repeat(3, 1fr);
  }

  .wishes li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: 180px;
    padding: 22px 16px;
  }
}

@media (min-width: 800px) {
  .panel {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
  }

  .section {
    padding: 36px 0 96px;
  }

  .goal {
    padding: 64px 48px;
  }

  .onair-card {
    padding: 56px 40px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .bubbles,
  .scroll-cue,
  .to-top,
  .count,
  .count-label {
    display: none !important;
  }

  body {
    background: white;
  }

  .hero {
    min-height: auto;
  }
}
