:root {
  --emerald: #00a99d;
  --deep: #006f67;
  --ink: #153330;
  --muted: #5c6b68;
  --mint: #dff8f1;
  --pale: #f3fbf8;
  --ivory: #fffdf8;
  --gold: #b99a47;
  --coral: #d87869;
  --night: #183b46;
  --line: rgba(0, 122, 112, 0.18);
  --shadow: 0 24px 70px rgba(0, 89, 80, 0.18);
  color-scheme: light;
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 169, 157, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.92), transparent 28rem),
    radial-gradient(circle at 84% 78%, rgba(0, 122, 112, 0.18), transparent 32rem),
    linear-gradient(135deg, #fffdf8 0%, #f7fffb 52%, #e7f7f1 100%);
  font-feature-settings: "palt";
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(216, 120, 105, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1160px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 48px rgba(0, 88, 80, 0.12);
  backdrop-filter: blur(18px);
  transition: min-height 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  min-height: 60px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 36px rgba(0, 88, 80, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  font-family: "Hiragino Sans", system-ui, sans-serif;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--deep);
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-size: 14px;
}

nav a {
  padding: 11px 13px;
  border-radius: 999px;
}

nav a:hover {
  background: rgba(0, 169, 157, 0.1);
}

.header-cta,
.button,
.reserve-form button,
.floating-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 111, 103, 0.2);
}

.header-cta {
  min-width: 112px;
  padding: 13px 18px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px max(28px, calc((100vw - 1160px) / 2)) 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -15% auto auto;
  width: 66vw;
  height: 66vw;
  min-width: 640px;
  min-height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.22), rgba(0, 169, 157, 0) 68%);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  right: max(28px, calc((100vw - 1160px) / 2));
  bottom: 72px;
  width: min(58vw, 730px);
  min-height: 68vh;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 8% -6% -8%;
  z-index: 0;
  border-radius: 52px;
  background:
    linear-gradient(135deg, rgba(0, 169, 157, 0.34), rgba(216, 120, 105, 0.14)),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.88), transparent 28%);
  filter: blur(26px);
}

.hero-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: min(61vh, 680px);
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.78);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.hero-consult {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 2;
  width: 44%;
  aspect-ratio: 1.38;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(0, 88, 80, 0.18);
  transform: translate3d(var(--hero-shift, 0), 0, 0);
  transition: transform 500ms ease;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(46vw, 570px);
  padding: 44px 44px 40px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 38px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--deep);
  font-size: clamp(54px, 6vw, 86px);
  line-height: 1.12;
  font-weight: 400;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

.lead {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.9;
}

.reserve-start {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(185, 154, 71, 0.36);
  border-radius: 999px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.hero-facts div,
.detail-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

dt {
  color: #fff;
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: var(--emerald);
  border-radius: 999px;
  padding: 7px 10px;
}

dd {
  margin: 0;
  font-family: "Hiragino Sans", system-ui, sans-serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--deep);
  border: 1px solid var(--line);
  box-shadow: none;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--deep);
}

.intro-band p {
  margin: 0;
  padding: 22px;
  color: #fff;
  text-align: center;
  font-size: clamp(22px, 3vw, 34px);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  background: rgba(0, 169, 157, 0.86);
}

.section {
  padding: 96px max(28px, calc((100vw - 1160px) / 2));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 920px;
}

h2 {
  color: var(--deep);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.22;
  font-weight: 400;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

h3 {
  color: var(--deep);
  font-size: 28px;
  font-weight: 400;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

.about-grid,
.details-layout,
.guide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
}

.about-text,
.history,
.schedule,
.guide-card,
.reserve,
.sponsor-panel,
.detail-list {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(0, 88, 80, 0.08);
  backdrop-filter: blur(14px);
}

.about-text,
.history,
.schedule,
.guide-card,
.reserve-copy,
.reserve-form {
  padding: 32px;
}

.about-text p,
.guide-card p,
.section-heading p {
  font-size: 17px;
  line-height: 2;
}

.history ol,
.schedule ul,
.guide-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history li {
  position: relative;
  padding: 0 0 24px 78px;
  line-height: 1.8;
}

.history span {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-weight: 800;
}

.program {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(231,247,241,0.42)),
    radial-gradient(circle at 14% 18%, rgba(216, 120, 105, 0.14), transparent 26rem);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.program-grid article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.program-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 39, 35, 0.62) 100%);
  pointer-events: none;
}

.program-grid img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.program-grid article:hover img {
  transform: scale(1.04);
}

.program-grid article > div {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px;
  border-left: 8px solid var(--accent);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.program-grid h3 {
  margin-bottom: 8px;
}

.program-grid p {
  margin: 0;
  line-height: 1.75;
  font-size: 15px;
}

.detail-list {
  padding: 18px;
}

.schedule li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.schedule li:last-child {
  border-bottom: 0;
}

.schedule time {
  color: var(--emerald);
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-weight: 800;
}

.tshirt {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 32px;
  background:
    linear-gradient(135deg, rgba(0, 111, 103, 0.96), rgba(24, 59, 70, 0.98)),
    var(--deep);
  color: #fff;
}

.tshirt h2,
.tshirt .eyebrow {
  color: #fff;
}

.tshirt p {
  font-size: 17px;
  line-height: 1.9;
}

.tshirt img {
  max-height: 280px;
  margin: 0 auto;
  filter: drop-shadow(0 28px 38px rgba(0,0,0,0.2));
}

.guide-card li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.guide-card li:last-child {
  border-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 9px 13px;
  color: var(--deep);
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.sponsor-panel {
  padding: 34px;
}

.sponsor-panel img {
  width: min(860px, 100%);
  margin: auto;
}

.reserve {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 169, 157, 0.14), rgba(216, 120, 105, 0.08)),
    rgba(255, 255, 255, 0.78);
}

.reserve-form {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.reserve-form label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-weight: 700;
}

.reserve-form input,
.reserve-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font: inherit;
}

.reserve-form button {
  min-height: 58px;
  margin-top: 8px;
  font-size: 17px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button,
.header-cta,
.floating-reserve {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.header-cta:hover,
.floating-reserve:hover,
.reserve-form button:hover {
  transform: translateY(-2px);
  background: #005c56;
  box-shadow: 0 18px 34px rgba(0, 111, 103, 0.26);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-family: "Hiragino Sans", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px 28px 86px;
  color: #fff;
  background: var(--deep);
  text-align: center;
}

.site-footer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-family: "Hiragino Sans", system-ui, sans-serif;
}

.floating-reserve {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-width: 128px;
  min-height: 52px;
}

[data-animate] {
  opacity: 1;
  transform: none;
  transition: transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    display: grid;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    width: 100%;
    min-height: 0;
    margin-top: 24px;
  }

  .hero-photo {
    position: relative;
    height: min(62vh, 560px);
  }

  .hero-consult {
    top: -20px;
    right: 16px;
    width: 42%;
  }

  .hero-copy {
    order: 1;
    width: 100%;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .details-layout,
  .guide,
  .reserve,
  .tshirt {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 58px;
    padding: 8px 8px 8px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 12px;
  }

  .header-cta {
    min-width: 86px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy {
    padding: 28px 22px;
    border-radius: 30px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-facts div,
  .detail-list div {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  dt {
    width: fit-content;
  }

  .intro-band,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-grid article,
  .program-grid img {
    min-height: 390px;
  }

  .about-text,
  .history,
  .schedule,
  .guide-card,
  .reserve-copy,
  .reserve-form {
    padding: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .floating-reserve {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
