/* Single look by choice: beige ground, black text. Layout: sticky header + hash-routed pages (home / about / courses / reserve / contact); soft rounded shapes, generous space, lavender ground with a rose accent */
:root {
  --bg: #F3E9D6;
  --surface: #FBF6EA;
  --soft: #E9DCC3;
  --fg: #111111;
  --muted: #3D352B;
  --line: #D3C3A4;
  --accent: #A8345F;
  --on-accent: #FFFFFF;
  --accent-soft: #EDD3CC;
  --mint: #D5E4CE;
  --mint-ink: #1B4A2C;
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.85;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.4; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.head-in { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding-block: 10px; }
.brand { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; text-decoration: none; line-height: 1.3; }
.brand small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; }
nav { display: flex; flex-wrap: wrap; gap: 2px 6px; }
nav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); }
nav a:hover { background: var(--soft); color: var(--fg); }
nav a[aria-current="page"] { background: var(--accent-soft); color: var(--fg); font-weight: 700; }
nav a.cta { background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* shared */
.page { padding-block: 40px 72px; }
.eyebrow { font-size: .8rem; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; }
.lead { color: var(--muted); max-width: 40em; margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn:hover { filter: brightness(1.05); }
.chip { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font-size: .8rem; font-weight: 700; }
.chip.rose { background: var(--accent-soft); color: var(--fg); }

/* home */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; padding-block: 48px 40px; }
.hero h1 { font-size: clamp(2rem, 6.4vw, 3.3rem); font-weight: 900; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.next { background: var(--soft); border-radius: 32px 32px 32px 8px; padding: 28px; min-width: 0; }
.next h3 { font-size: 1.2rem; margin: 10px 0 12px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .94rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.band { background: var(--soft); margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 56px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.three > div { background: var(--surface); border-radius: 24px; padding: 24px; min-width: 0; }
.three h3 { font-size: 1.1rem; margin-bottom: 8px; }
.three p { color: var(--muted); font-size: .94rem; }
.section { padding-block: 56px 8px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }

/* courses */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: 1.12rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card p.d { color: var(--muted); font-size: .93rem; }
.card ul { margin: 0; padding-left: 1.2em; font-size: .9rem; color: var(--muted); }
.card .foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
.price { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; font-size: .75rem; color: var(--muted); }
.btn.sm { min-height: 40px; padding: 6px 18px; font-size: .9rem; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.flow { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.flow li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font: 900 1.1rem var(--font-display); }
.flow b { display: block; font-family: var(--font-display); }
.flow span { color: var(--muted); font-size: .93rem; }
.quote { background: var(--accent-soft); border-radius: 28px; padding: 28px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.8; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; margin-top: 28px; align-items: start; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: grid; gap: 18px; min-width: 0; }
label, .lab { display: grid; gap: 6px; font-weight: 700; font-size: .93rem; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 100px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }
.side { display: grid; gap: 16px; min-width: 0; }
.side .box { background: var(--soft); border-radius: 24px; padding: 22px; }
.side h3 { font-size: 1.05rem; margin-bottom: 8px; }
.side ul { margin: 0; padding-left: 1.2em; font-size: .92rem; color: var(--muted); }
.done { border-radius: 20px; background: var(--mint); color: var(--mint-ink); padding: 20px; display: grid; gap: 10px; }
.done pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 400 .9rem/1.7 var(--font-body); color: var(--fg); background: var(--surface); border-radius: 12px; padding: 14px; }
.done .btn { justify-self: start; }
.note { font-size: .85rem; color: var(--muted); }

.ph { margin: 0; border-radius: 20px; overflow: hidden; background: var(--soft); border: 1px dashed var(--line); aspect-ratio: var(--r, 3 / 2); width: 100%; max-width: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.has { border: 0; }
.ph span { padding: 8px; }
.intro { text-align: center; }
.intro .lead { margin-inline: auto; }
.intro .ph { margin-top: 28px; max-width: 760px; margin-inline: auto; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
.hist li { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 20px; align-items: center; }
.hist li > * { min-width: 0; }
.hist b { font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.hist span { color: var(--muted); font-size: .93rem; }
.legal, .faq { max-width: 760px; }
.rep-hero { margin-top: 28px; }
.rep-hero > * { min-width: 0; }
.rep-role { color: var(--muted); font-weight: 500; }
.rep-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.3; margin-top: 4px; }
.rep-name small { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.rep-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rep-body { max-width: 760px; margin-top: 40px; display: grid; gap: 18px; }
.rep-body .quote { margin-bottom: 8px; }
.faq h3 { font-size: 1.08rem; margin: 28px 0 6px; }
.faq h3::before { content: "Q. "; color: var(--accent); }
.faq p::before { content: "A. "; font-weight: 700; }
.def { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; margin-top: 24px; display: grid; gap: 18px; min-width: 0; }
.def .facts { grid-template-columns: minmax(5.5em, auto) 1fr; gap: 8px 18px; font-size: 1rem; }
.def .facts dt { font-weight: 700; color: var(--fg); }
.worry { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.worry li { background: var(--surface); border-radius: 20px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.worry q { font-weight: 700; quotes: "「" "」"; }
.worry a { font-size: .92rem; }
.tablewrap { overflow-x: auto; margin: 24px 0 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
table.sched { border-collapse: collapse; width: 100%; font-size: .94rem; }
table.sched th, table.sched td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.sched th { background: var(--soft); font-weight: 700; }
table.sched tr:last-child td { border-bottom: 0; }
.legal h3 { font-size: 1.1rem; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--fg); }
.legal ul { margin: 0; padding-left: 1.3em; }
.legal a, .check a { color: var(--accent); }
.site-foot { border-top: 1px solid var(--line); margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 40px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); background: var(--soft); font-size: .9rem; }
.foot-in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-in > * { min-width: 0; }
.foot-brand p { margin-top: 10px; color: var(--muted); }
.foot-col { display: grid; gap: 6px; align-content: start; }
.foot-col h4 { margin: 0 0 4px; font: 700 .92rem var(--font-display); }
.foot-col a { text-decoration: none; color: var(--muted); }
.foot-col a:hover { color: var(--fg); text-decoration: underline; }
.copy { max-width: 1040px; margin: 28px auto 0; color: var(--muted); font-size: .8rem; }

@media (max-width: 800px) {
  .hero, .split, .form-grid { grid-template-columns: 1fr; gap: 28px; }
  .three { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .hist li { grid-template-columns: 1fr; gap: 10px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .page { padding-block: 28px 56px; }
  form { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) { .btn, nav a { transition: background .2s, filter .2s; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: #F4D6D4; color: #6B1B1B; border-radius: 16px; padding: 14px 18px; font-weight: 500; }
.side .box .flow { margin-top: 10px; }
html { color-scheme: light; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.gform-box { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: grid; gap: 20px; min-width: 0; }
.gform-box h3 { font-size: 1.1rem; }
.gform-box .flow { margin-top: 0; }
