:root {
  --background: #ecfbff;
  --foreground: #072f68;
  --primary: #087cca;
  --primary-foreground: #ffffff;
  --secondary: #dff7ff;
  --secondary-foreground: #07386e;
  --accent: #ffdd31;
  --accent-foreground: #082f63;
  --border: rgba(7, 80, 145, 0.18);
  --ring: #2cc7ef;
  --radius: 1rem;
  --deep-blue: #03346f;
  --ocean-blue: #058fd3;
  --aqua: #32d6ed;
  --foam: #f4fdff;
  --sun-yellow: #ffdd31;
  --coral: #ff6d48;
  --font-rounded: "vdl-v7marugothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.dark {
  --background: #031d47;
  --foreground: #effcff;
  --primary: #33d6ef;
  --primary-foreground: #042d61;
  --secondary: #07366f;
  --secondary-foreground: #ffffff;
  --accent: #ffdd31;
  --accent-foreground: #082f63;
  --border: rgba(255, 255, 255, 0.18);
  --ring: #66e2f3;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--deep-blue);
}

body {
  margin: 0;
  padding-top: 86px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-rounded);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
}

img { display: block; max-width: 100%; }

section[id] { scroll-margin-top: 86px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--deep-blue);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 80, 145, 0.13);
  box-shadow: 0 8px 28px rgba(3, 52, 111, 0.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.header-inner {
  display: flex;
  width: min(1440px, calc(100% - 64px));
  height: 86px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.marine-logo,
.nav-menu {
  pointer-events: auto;
}

.marine-logo {
  display: grid;
  width: 160px;
  place-items: center;
  padding: 5px 0;
}

.marine-logo img {
  width: 100%;
  height: auto;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  width: 66px;
  height: 66px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  list-style: none;
  filter: drop-shadow(0 10px 20px rgba(0, 35, 84, 0.24));
  transition: transform 180ms ease;
}

.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover { transform: translateY(-2px); }
.nav-menu summary:focus-visible { outline: 3px solid var(--ocean-blue); outline-offset: 3px; }

.nav-menu summary img {
  width: 74px;
  max-width: none;
  height: 74px;
  object-fit: contain;
}

.nav-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: max-content;
  min-width: 230px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(0, 28, 79, 0.24);
  backdrop-filter: blur(14px);
}

.nav-menu nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-menu nav a:hover,
.nav-menu nav a:focus-visible {
  background: #e5f9ff;
  outline: none;
}

.hero {
  position: relative;
  min-height: min(calc(100vh - 86px), 980px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background: #022b69;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(1, 41, 99, 0.8));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 50% 10%, rgba(120, 235, 255, 0.35), transparent 38%),
    radial-gradient(circle at 15% 75%, rgba(27, 211, 241, 0.22), transparent 30%);
  filter: blur(40px);
}

.hero-frame {
  position: relative;
  width: min(1600px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 11, 55, 0.5);
  animation: hero-rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-picture,
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; }

.hero-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 35%, rgba(255, 255, 255, 0.18) 48%, transparent 61%);
  transform: translateX(-120%);
  animation: shimmer 6s 1.5s ease-in-out infinite;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  right: 38px;
  bottom: 36px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: 0.25em;
}

.scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); }

.content-shell {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
  text-align: center;
  background:
    radial-gradient(circle at 48% 20%, #fff 0 12%, transparent 45%),
    linear-gradient(180deg, #e1f9ff 0%, #f7fdff 56%, #dff8ff 100%);
}

.wave-top {
  position: absolute;
  top: -45px;
  left: -4%;
  width: 108%;
  height: 86px;
  border-radius: 50%;
  background: #e1f9ff;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #1685c6;
  font: 800 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.24em;
}

.eyebrow span { width: 28px; height: 1px; background: currentColor; }

.intro-section h2,
.events-section h2,
.about-copy h2 {
  margin: 18px 0 34px;
  color: var(--deep-blue);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.date-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 25px 34px;
  border: 1px solid rgba(4, 87, 159, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(8, 102, 166, 0.12);
  backdrop-filter: blur(12px);
}

.date-card img {
  width: 100%;
  height: auto;
}

.rescue-panel {
  position: relative;
  width: min(940px, 100%);
  margin: 56px auto 0;
  overflow: hidden;
  padding: clamp(46px, 6vw, 72px) clamp(24px, 6vw, 76px) clamp(44px, 6vw, 68px);
  border: 5px solid #fff;
  border-radius: 34px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 16px, transparent 16px 34px),
    radial-gradient(circle at 10% 10%, rgba(31, 191, 224, 0.18), transparent 34%),
    #102e59;
  box-shadow:
    0 0 0 8px #31a9da,
    0 26px 56px rgba(4, 62, 118, 0.24);
  color: #fff;
}

.rescue-panel::before,
.rescue-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 18px;
  transform: rotate(-7deg);
}

.rescue-panel::before {
top: 22px;
left: -44px;
background: var(--sun-yellow);
}
.rescue-panel::after {
right: -38px;
bottom: 24px;
background: var(--aqua);
}

.rescue-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 17px 7px;
  border-radius: 999px;
  background: var(--sun-yellow);
  color: var(--deep-blue);
  font: 900 12px/1 Arial, sans-serif;
  letter-spacing: 0.12em;
  transform: rotate(-2deg);
}

.intro-collab,
.intro-alert,
.intro-body {
  position: relative;
  z-index: 1;
  margin: 0;
}

.intro-collab {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.75;
  letter-spacing: 0.06em;
}

.intro-collab strong {
  display: inline-block;
  margin: 8px 0;
  color: #ff9d00;
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.015em;
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0 5px 0 #2c9fd1);
}

.rescue-divider {
  width: min(420px, 70%);
  height: 5px;
  margin: 35px auto 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--sun-yellow) 20% 80%, transparent);
}

.intro-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.intro-alert strong {
  display: inline-block;
  color: #5fd143;
  font-size: clamp(30px, 4.7vw, 54px);
  font-weight: 900;
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0 5px 0 #2c9fd1);
}

.intro-body {
  margin-top: 19px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  line-height: 2;
  letter-spacing: 0.025em;
}

.intro-body span {
  display: inline-block;
  margin: 0 0.15em;
  color: var(--sun-yellow);
  font-size: 1.18em;
  font-weight: 900;
  transform: rotate(-1deg);
}

.events-section {
  position: relative;
  padding: 125px 0 150px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(2, 49, 112, 0.86), rgba(2, 49, 112, 0.94)),
    url('./kv.jpg') center 45% / cover fixed;
  color: #fff;
}

.events-section::before,
.events-section::after {
  content: "";
  position: absolute;
  left: -5%;
  width: 110%;
  height: 60px;
  border-radius: 50%;
  background: #dff8ff;
}

.events-section::before { top: -43px; }
.events-section::after { bottom: -43px; }

.section-kicker {
  color: #62ddf1;
  font: 800 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.28em;
}

.events-section h2 { margin-bottom: 12px; color: #fff; }

.section-note {
  margin: 0 0 54px;
  color: #c7f5ff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.event-item {
  position: relative;
  grid-column: span 2;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  background: rgba(5, 112, 175, 0.38);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 18px 42px rgba(0, 20, 70, 0.18);
  backdrop-filter: blur(12px);
}

.event-item:nth-child(4) { grid-column: 2 / span 2; }
.event-item:nth-child(5) { grid-column: 4 / span 2; }

.event-number {
  margin-bottom: 12px;
  color: var(--sun-yellow);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.event-item p {
  margin: 0;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.event-item p span { display: block; }

.event-item i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  box-shadow: -12px 2px 0 -2px rgba(255, 255, 255, 0.24);
}

.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  color: #d8f9ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.paw-dot { color: var(--sun-yellow); font-size: 8px; }

.about-section {
  position: relative;
  overflow: hidden;
  padding: 145px 0 135px;
  background: linear-gradient(180deg, #e5faff 0%, #f9feff 100%);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid rgba(8, 100, 163, 0.18);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(10, 101, 158, 0.13);
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.611;
  border-radius: 26px;
  background: #0b5ca0;
  box-shadow: 0 18px 45px rgba(4, 49, 105, 0.22);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit:contain;
  object-position: 21% 50%;
  transform: scale(1.00);
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.about-image-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(2, 42, 92, 0.56);
  color: #fff;
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
  backdrop-filter: blur(8px);
}

.about-copy .section-kicker { color: #1588c8; }
.about-copy h2 { margin-bottom: 26px; text-align: left; }

.about-copy p {
  margin: 0;
  color: #315777;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

.more-soon {
  display: inline-block;
  margin-top: 31px;
  padding-top: 14px;
  border-top: 1px solid #75cee4;
  color: #1982bf;
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.bubble-field { position: absolute; inset: 0; pointer-events: none; }

.bubble {
  position: absolute;
  display: block;
  border: 1px solid rgba(64, 184, 222, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92) 0 8%, rgba(255, 255, 255, 0.14) 18%, rgba(102, 216, 239, 0.07) 62%, transparent 64%);
  box-shadow: inset -4px -5px 10px rgba(23, 155, 197, 0.09);
  animation: float 8s ease-in-out infinite;
}

.bubble-1 { width: 68px; height: 68px; left: 7%; top: 19%; }
.bubble-2 { width: 26px; height: 26px; left: 16%; top: 67%; animation-delay: -2s; }
.bubble-3 { width: 42px; height: 42px; right: 12%; top: 23%; animation-delay: -5s; }
.bubble-4 { width: 20px; height: 20px; right: 24%; bottom: 15%; animation-delay: -1s; }
.bubble-5 { width: 96px; height: 96px; right: -24px; top: 55%; animation-delay: -3s; }
.bubble-6 { width: 17px; height: 17px; left: 31%; top: 12%; animation-delay: -6s; }

footer {
  padding: 34px 24px;
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

footer p { margin: 0; font: 500 11px/1.6 Arial, sans-serif; letter-spacing: 0.04em; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmer {
  0%, 35% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(120%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 760px) {
  body { padding-top: 66px; }
  section[id] { scroll-margin-top: 66px; }
  .header-inner { width: calc(100% - 32px); height: 66px; }
  .marine-logo { width: 134px; padding: 4px 0; }
  .nav-menu summary { width: 54px; height: 54px; border-radius: 14px; }
  .nav-menu summary img { width: 61px; height: 61px; }
  .nav-menu nav { min-width: 210px; }

  .hero { min-height: auto; padding: 10px; }
  .hero-frame { width: 100%; aspect-ratio: 9 / 16; border-radius: 13px; }
  .scroll-cue { display: none; }
  .content-shell { width: min(100% - 32px, 620px); }
  .intro-section { padding: 92px 0 105px; }

  .intro-section h2,
  .events-section h2,
  .about-copy h2 {
    margin-top: 14px;
    margin-bottom: 26px;
    font-size: 24px;
  }

  .date-card {
    padding: 17px 12px;
    border-radius: 17px;
  }
	
	.rescue-panel {
    margin-top: 42px;
    padding: 43px 18px 42px;
    border-width: 4px;
    border-radius: 24px;
    box-shadow: 0 0 0 5px #31a9da, 0 20px 42px rgba(4, 62, 118, 0.22);
  }

  .rescue-tag { margin-bottom: 18px; font-size: 10px; }
  .intro-collab { font-size: 16px; line-height: 1.8; }
  .intro-collab strong { margin: 7px 0; font-size: clamp(25px, 7.7vw, 34px); -webkit-text-stroke-width: 4px; }
  .rescue-divider { margin: 28px auto 24px; }
  .intro-alert { gap: 2px 8px; font-size: 19px; }
  .intro-alert strong { font-size: clamp(27px, 8vw, 36px); -webkit-text-stroke-width: 4px; }
  .intro-body { margin-top: 17px; font-size: 15px; line-height: 1.9; letter-spacing: 0.02em; }

  .desktop-break { display: none; }

  .events-section { padding: 100px 0 112px; background-attachment: scroll; }
  .section-note { margin-bottom: 36px; font-size: 14px; }

  .event-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .event-item,
  .event-item:nth-child(4),
  .event-item:nth-child(5) {
    grid-column: auto;
    min-height: 126px;
    padding: 20px 12px;
    border-radius: 18px;
  }

  .event-item:last-child { grid-column: 1 / -1; }
  .event-item p { font-size: 16px; }
  .coming-soon { margin-top: 34px; gap: 10px; font-size: 13px; }
  .about-section { padding: 108px 0 92px; }

  .about-card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 20px 20px 36px;
    border-radius: 28px;
  }

  .about-image-wrap { aspect-ratio: 16 / 10; border-radius: 20px; }
  .about-image { object-position: 12% 57%; transform: scale(1.02); }
  .about-copy { text-align: center; }
  .about-copy h2 { text-align: center; }
  .about-copy p { font-size: 15px; line-height: 2; }
  .bubble-1 { width: 44px; height: 44px; left: -10px; }
  .bubble-3 { right: -8px; }
  .bubble-5 { width: 66px; height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
