:root {
  --bg-ivory: #fcfdf9;
  --bg-white: #ffffff;
  --bg-sky: #eef9fd;
  --bg-mint: #f2faf3;
  --bg-sand: #fdf8ef;
  --bg-coral-soft: #fff3f5;

  --cyan: #19a0dc;
  --cyan-strong: #1385b9;
  --cyan-deep: #0f5f87;
  --cyan-pale: #e4f5fc;

  --wave-mint: #59b9ae;
  --mint-accent: #2c9665;
  --sun-accent: #e89b2d;
  --coral-accent: #ea5b74;

  --ink: #1c3547;
  --ink-soft: #4e6778;
  --ink-muted: #6c8393;
  --border: #d9eae7;
  --border-soft: #e8f2ef;

  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-en: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;

  --container: 1080px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 32px rgba(18, 86, 122, 0.07);
  --shadow-card: 0 6px 20px rgba(18, 86, 122, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-display { font-family: var(--font-display); }
.font-en { font-family: var(--font-en); letter-spacing: 0.06em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-badge {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--wave-mint));
  color: #fff; display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(25, 160, 220, 0.25);
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.2; display: block; white-space: nowrap; }
.brand-en { font-family: var(--font-en); font-size: 10px; color: var(--ink-muted); font-weight: 700; display: block; }

.btn-lookup-header {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--bg-sky); color: var(--cyan-deep);
  border: 1px solid #cce7f2; font-family: var(--font-display);
  font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer;
  transition: transform 0.18s, background 0.18s;
  white-space: nowrap;
}
.btn-lookup-header:hover { background: var(--cyan-pale); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 36px 0 44px;
  background:
    radial-gradient(circle at 12% 18%, rgba(25, 160, 220, 0.14), transparent 42%),
    radial-gradient(circle at 88% 15%, rgba(234, 91, 116, 0.12), transparent 38%),
    radial-gradient(circle at 75% 85%, rgba(232, 155, 45, 0.14), transparent 42%),
    var(--bg-ivory);
}
.hero-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.hero-kicker {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--bg-sand); color: #b56a08;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  margin-bottom: 14px; border: 1px solid #f6e2be;
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.25; color: var(--ink);
}
.hero-title .accent { color: var(--cyan-strong); }
.hero-sub { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.hero-visual {
  max-width: 720px; margin: 0 auto 20px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-card);
}
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.hero-meta-badge {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-md);
  background: var(--bg-sky); color: var(--cyan-deep);
  font-weight: 700; font-size: 13.5px; margin-bottom: 20px;
  border: 1px solid #cce7f2;
}
.counter-box {
  max-width: 420px; margin: 0 auto 22px;
  padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--bg-mint); border: 1px solid #ccebd8;
}
.counter-label { font-size: 12px; font-weight: 700; color: var(--mint-accent); margin-bottom: 4px; }
.counter-value { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.counter-value strong { font-size: 28px; color: var(--cyan-strong); }
.progress-track { height: 8px; background: #dceee4; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--wave-mint), var(--cyan)); border-radius: 999px; transition: width 0.4s ease; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, var(--coral-accent), #f07b54);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(234, 91, 116, 0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(234, 91, 116, 0.38); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--bg-white); color: var(--cyan-deep);
  border: 1.5px solid var(--cyan); font-family: var(--font-display); font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none;
}

/* Sections */
.section { padding: 44px 0; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-en { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 800; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; }
.section-title { margin: 4px 0 0; font-size: clamp(22px, 4.5vw, 30px); color: var(--ink); }

/* 3 Points Grid */
.points-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .points-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.point-card {
  background: var(--bg-white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.point-card h3 { margin: 18px 20px 8px; font-size: 18px; line-height: 1.35; }
.point-card p { margin: 0 20px 22px; font-size: 14.5px; color: var(--ink-soft); }
.point-thumb { margin: 0; border-radius: 0; border: none; }
.point-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Overview & Schedule */
.overview-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .overview-grid { grid-template-columns: 1.05fr 0.95fr; } }
.card {
  background: var(--bg-white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-card);
}
.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { padding: 12px 0; border-bottom: 1px dashed var(--border); display: flex; flex-direction: column; gap: 3px; }
.info-list li:last-child { border-bottom: none; }
.info-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--cyan-deep); }
.info-val { font-size: 15px; color: var(--ink); }
.alert-stairs {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: var(--bg-coral-soft); border: 1px solid #f7cdd5;
  color: #a62b42; font-size: 13.5px; font-weight: 700;
}

.timeline { display: flex; flex-direction: column; gap: 12px; }
.tl-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-md); background: var(--bg-ivory);
  border: 1px solid var(--border-soft);
}
.tl-time {
  flex-shrink: 0; padding: 4px 10px; border-radius: 8px;
  background: var(--cyan-pale); color: var(--cyan-deep);
  font-family: var(--font-en); font-weight: 700; font-size: 13px;
}
.tl-body strong { display: block; font-family: var(--font-display); font-size: 15px; }
.tl-body span { font-size: 13.5px; color: var(--ink-soft); }

/* Form */
.form-card { max-width: 760px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.req { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--coral-accent); color: #fff; font-size: 11px; }
.opt { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #e5eef2; color: var(--ink-soft); font-size: 11px; }
.form-control {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff;
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
}
.form-control:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 160, 220, 0.15); }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

.child-row {
  background: var(--bg-sky); border: 1px solid #cce7f2;
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 12px;
}
.child-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--cyan-deep); }
.btn-remove-child { background: #fff; border: 1px solid #f2b8c2; color: #c0354f; border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; }

.allergy-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.allergy-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--bg-ivory); border: 1.5px solid var(--border);
  font-size: 13.5px; cursor: pointer; user-select: none;
}
.allergy-chip input { accent-color: var(--cyan-strong); }

.agree-box {
  padding: 14px; border-radius: 12px; background: var(--bg-sand);
  border: 1.5px solid #f0d9b5; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500;
}
.agree-box input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cyan-strong); flex-shrink: 0; }

.result-banner {
  padding: 24px 20px; border-radius: var(--radius-lg);
  background: var(--bg-mint); border: 2px solid var(--wave-mint);
  text-align: center; margin-top: 16px;
}
.ref-code-display {
  display: inline-block; margin: 10px 0; padding: 10px 20px;
  background: #fff; border: 2px dashed var(--cyan); border-radius: 12px;
  font-family: var(--font-en); font-size: clamp(20px, 5vw, 28px); font-weight: 800; color: var(--cyan-deep);
  letter-spacing: 0.05em;
}

.error-msg { color: #c0354f; background: var(--bg-coral-soft); padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 700; margin-top: 10px; }
.hidden { display: none !important; }

/* Footer */
.site-footer { background: #1c3547; color: #e2eef4; padding: 36px 0 28px; margin-top: 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h3 { color: #fff; margin: 0 0 8px; font-size: 17px; }
.site-footer a { color: #8ad8f8; }
