:root {
  --color-bg: #f8f5ef;
  --color-bg-soft: #fffaf2;
  --color-surface: #ffffff;
  --color-surface-blue: #eef7fb;
  --color-text: #17243a;
  --color-muted: #687386;
  --color-border: #e5eaf0;
  --color-primary: #1f5f8b;
  --color-primary-dark: #163d63;
  --color-primary-soft: #dceef7;
  --color-accent: #b98b5d;
  --color-danger: #c9614a;
  --shadow-card: 0 18px 45px rgba(28, 43, 68, 0.1);
  --shadow-soft: 0 10px 28px rgba(28, 43, 68, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(220, 238, 247, 0.9), transparent 34rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--color-bg) 44%, #f5f8fb 100%);
  color: var(--color-text);
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Yu Gothic UI",
    Meiryo,
    system-ui,
    sans-serif;
  line-height: 1.75;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 234, 240, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.header-action,
.primary-button,
.secondary-button,
.danger-button,
.primary-link,
.secondary-link {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.header-action,
.primary-button,
.primary-link {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 12px 24px rgba(31, 95, 139, 0.22);
}

.header-action {
  padding: 14px 18px;
  font-size: 14px;
}

.primary-button,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 22px;
}

.primary-button:hover,
.header-action:hover,
.primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(31, 95, 139, 0.28);
}

.secondary-button,
.secondary-link {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.secondary-button {
  padding: 14px 18px;
}

.danger-button {
  padding: 14px 18px;
  color: #ffffff;
  background: var(--color-danger);
}

.hero {
  display: grid;
  gap: 28px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 44px 18px 30px;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(26px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(23, 36, 58, 0.16));
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  gap: 12px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 12px 18px 34px;
}

.trust-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.trust-icon {
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--color-primary-soft);
}

.trust-icon::before {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 7px;
  height: 12px;
  content: "";
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.trust-item h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.trust-item p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.notice-band {
  display: grid;
  gap: 14px;
  width: min(100% - 36px, 1100px);
  margin: 0 auto;
  padding: 22px;
  background: var(--color-surface-blue);
  border: 1px solid rgba(196, 221, 235, 0.9);
  border-radius: var(--radius-lg);
}

.notice-band h2,
.section-heading h2,
.reserve-summary h2,
.form-heading h2,
.story-section h2 {
  margin: 0;
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.notice-band p,
.section-heading p,
.activity-heading p,
.story-section p,
.form-heading p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 58px 18px;
}

.events-section {
  padding-top: 64px;
}

.activity-section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 58px 18px 6px;
}

.activity-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.activity-heading h2 {
  margin: 0;
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.activity-grid {
  display: grid;
  gap: 12px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  margin: 0;
  display: grid;
  align-items: end;
  isolation: isolate;
  background:
    linear-gradient(140deg, rgba(31, 95, 139, 0.18), rgba(185, 139, 93, 0.18)),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.activity-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.8), transparent 9rem),
    linear-gradient(135deg, var(--color-primary-soft), #fff7e8);
}

.activity-card img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card img:not([hidden]) + figcaption {
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(16, 26, 42, 0.72));
}

.activity-card figcaption {
  display: grid;
  gap: 2px;
  min-height: 100%;
  align-content: end;
  padding: 18px;
  color: var(--color-text);
}

.activity-card span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.activity-card strong {
  font-size: 22px;
  line-height: 1.25;
}

.section-heading {
  margin-bottom: 22px;
}

.events-grid {
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.event-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}

.event-card p {
  margin: 0;
  color: var(--color-muted);
}

.event-card-head {
  display: grid;
  gap: 10px;
}

.event-tag {
  justify-self: start;
  padding: 6px 12px;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-detail {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: var(--radius-sm);
}

.event-detail span {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.event-detail strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
}

.event-card .primary-button {
  margin-top: 2px;
}

.empty-state {
  padding: 22px;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.empty-state h3 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.35;
}

.empty-state p {
  margin: 0;
}

.split {
  display: grid;
  gap: 20px;
  align-items: start;
}

.reserve-summary,
.reservation-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.reserve-summary {
  padding: 22px;
}

.selected-event {
  margin-top: 18px;
}

.selected-event h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.selected-event dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.selected-event div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.selected-event dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 900;
}

.selected-event dd {
  margin: 0;
  font-weight: 700;
}

.policy-box {
  margin-top: 18px;
  padding: 16px;
  background: var(--color-bg-soft);
  border: 1px solid #eadcc8;
  border-radius: var(--radius-md);
}

.policy-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.policy-box p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.reservation-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.form-heading {
  margin-bottom: 2px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.two-columns {
  grid-template-columns: 1fr;
}

label {
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid #d8e0e8;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(23, 36, 58, 0.02);
}

textarea {
  resize: vertical;
}

input::placeholder {
  color: #9aa5b5;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(31, 95, 139, 0.22);
  outline-offset: 2px;
  border-color: var(--color-primary);
}

.check-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
}

.check-row input {
  min-height: 22px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--color-primary);
}

.form-note {
  margin: -4px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.story-section {
  width: 100%;
  padding: 54px 18px;
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.story-inner {
  display: grid;
  gap: 18px;
  width: min(100%, 1060px);
  margin: 0 auto;
}

.story-section p {
  max-width: 760px;
  margin: 0;
  color: var(--color-muted);
}

.story-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.profile-section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 58px 18px;
}

.profile-card {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.profile-photo-wrap {
  overflow: hidden;
  width: min(100%, 180px);
  aspect-ratio: 1;
  margin: 0 auto;
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.profile-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-copy h2 {
  margin: 0;
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.profile-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.mission-section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 18px 62px;
}

.mission-card {
  padding: 28px 22px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(22, 61, 99, 0.96), rgba(31, 95, 139, 0.9)),
    var(--color-primary-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.mission-card .eyebrow {
  color: #dceef7;
}

.mission-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.35;
  letter-spacing: 0;
}

.mission-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 26, 42, 0.54);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  width: min(100%, 560px);
  max-height: 86svh;
  overflow: auto;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.modal-panel h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.confirm-details {
  display: grid;
  gap: 10px;
}

.confirm-line {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.confirm-line strong {
  color: var(--color-muted);
  font-size: 12px;
}

.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 40;
  padding: 15px 16px;
  color: #ffffff;
  background: var(--color-primary-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.toast[hidden] {
  display: none;
}

.site-footer {
  display: grid;
  place-items: center;
  padding: 34px 18px 46px;
  color: var(--color-muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--color-text);
  font-weight: 900;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 14px 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
    align-items: center;
    min-height: calc(100svh - 74px);
    padding: 54px 28px 42px;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .primary-link,
  .secondary-link {
    width: auto;
    min-width: 188px;
  }

  .hero-media,
  .hero-image {
    min-height: 520px;
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: 28px;
  }

  .notice-band {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    padding: 26px 30px;
  }

  .section {
    padding: 72px 28px;
  }

  .activity-section {
    padding: 72px 28px 8px;
  }

  .activity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .activity-card {
    min-height: 280px;
  }

  .story-section {
    padding: 56px 28px;
  }

  .story-inner {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
  }

  .profile-section {
    padding: 72px 28px;
  }

  .profile-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 34px;
    padding: 34px;
  }

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

  .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  }

  .two-columns {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .modal-actions {
    grid-template-columns: 1fr 1fr;
  }

}
