:root {
  --green: #1E7B3C;
  --green-dark: #155C2C;
  --green-soft: #EAF4EC;
  --yellow: #F6C400;
  --yellow-soft: #FFF6D1;
  --ink: #26302A;
  --muted: #56615A;
  --line: #D5E2D8;
  --white: #FFFFFF;
  --bg: #FFFDF6;
  --error: #B3261E;
  --radius: 16px;
  --font: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "BIZ UDPGothic", "Meiryo", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.85;
  font-weight: 500;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.45; margin: 0; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
small { font-size: .85em; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp { display: inline; }
@media (min-width: 560px) { .sp { display: none; } }

/* ヘッダー */
.site-header { background: var(--white); padding: 20px 0 28px; border-bottom: 6px solid var(--yellow); }
.badge {
  display: inline-block; margin: 0 0 12px; padding: 2px 14px;
  background: var(--green); color: var(--white); border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .05em;
}
.logo img { width: 100%; max-width: 520px; margin: 0 auto; }

/* 共通 */
.section { padding: 48px 16px; }
.section.wrap { padding-left: 16px; padding-right: 16px; }
.section-small { padding-top: 36px; padding-bottom: 36px; }
.section-tint { background: var(--green-soft); }
.section-title {
  font-size: 24px; font-weight: 700; color: var(--green-dark);
  margin-bottom: 20px; padding-left: 14px; border-left: 6px solid var(--yellow);
}
.section-title.small { font-size: 19px; margin-bottom: 14px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 22px 18px;
  box-shadow: 0 2px 0 var(--line), 0 6px 20px rgba(30, 123, 60, .08);
  border: 1px solid var(--line);
}
.note { color: var(--muted); font-size: 16px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 12px 28px; border: 0; border-radius: 999px;
  font: inherit; font-size: 20px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--yellow); color: #3A2E00; box-shadow: 0 4px 0 #C99F00; }
.btn-primary:hover { background: #FFD21F; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #C99F00; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-block { display: flex; width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 3px;
}

/* 概要カード */
.summary { margin-top: -4px; padding-top: 24px; }
.facts { margin: 0 0 20px; display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.fact:first-child { padding-top: 0; }
.fact dt {
  align-self: start; margin-top: 4px; text-align: center; font-size: 15px; font-weight: 700;
  background: var(--green); color: var(--white); border-radius: 8px; padding: 1px 0; line-height: 1.7;
}
.fact dd { margin: 0; font-size: 18px; line-height: 1.6; }
.fact dd strong { font-size: 20px; color: var(--green-dark); }

/* PR文 */
.intro p { font-size: 18px; }
.intro .lead {
  font-size: 20px; font-weight: 700; color: var(--green-dark);
  background: var(--yellow-soft); border-radius: 12px; padding: 14px 16px;
}

/* こんな方に */
.checklist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative; background: var(--white); border-radius: 12px;
  padding: 14px 16px 14px 52px; font-size: 18px; font-weight: 700; line-height: 1.6;
}
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 50%; background: var(--yellow);
}
.checklist li::after {
  content: ""; position: absolute; left: 24px; top: 50%; width: 7px; height: 12px; margin-top: -8px;
  border: solid var(--green-dark); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* 当日の流れ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px;
}
.step-num {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: var(--white); font-size: 24px; font-weight: 700;
}
.step h3 { font-size: 19px; color: var(--green-dark); margin-bottom: 4px; }
.step p { font-size: 17px; line-height: 1.75; }

/* 持ち物 */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); line-height: 1.7; }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-label { display: block; font-size: 15px; font-weight: 700; color: var(--green); }
.info-list small { color: var(--muted); font-size: 16px; }
.map-link { display: inline-block; margin-top: 6px; font-weight: 700; padding: 4px 0; }

/* フォーム */
.form-card { padding: 24px 18px; }
.form-intro { font-size: 16px; color: var(--muted); }
.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 700; font-size: 18px; margin-bottom: 8px; padding: 0; }
.sub-label { display: block; font-size: 16px; font-weight: 700; margin: 10px 0 4px; color: var(--muted); }
.req, .opt {
  display: inline-block; font-size: 13px; line-height: 1.6; padding: 0 8px; border-radius: 6px;
  vertical-align: 2px; margin-left: 4px; font-weight: 700;
}
.req { background: #C43B2F; color: var(--white); }
.opt { background: #E4E8E5; color: var(--muted); }
.hint { font-size: 16px; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  padding: 12px 14px; min-height: 56px; border: 2px solid #B9C9BD; border-radius: 12px; background: var(--white);
}
textarea { min-height: 120px; line-height: 1.6; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
.choices { display: grid; gap: 10px; }
.choices { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 10px;
  border: 2px solid #B9C9BD; border-radius: 12px; font-weight: 700; text-align: center; line-height: 1.4; background: var(--white);
}
.choice input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); box-shadow: inset 0 0 0 2px var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.check input { width: 28px; height: 28px; margin: 3px 0 0; flex: none; accent-color: var(--green); }
.consent { background: var(--yellow-soft); border-radius: 12px; padding: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--error); font-size: 16px; font-weight: 700; margin: 6px 0 0; }
.error:empty { display: none; }
.field.invalid input[type="text"], .field.invalid input[type="tel"], .field.invalid input[type="email"],
.field.invalid select, .field.invalid textarea { border-color: var(--error); background: #FFF6F5; }
.form-error { color: var(--error); font-weight: 700; margin: 0 0 12px; }
.form-error:empty { display: none; }

/* 完了 */
.done:focus { outline: none; }
.done-badge {
  font-size: 21px; font-weight: 700; color: var(--white); background: var(--green);
  border-radius: 12px; padding: 12px 16px; text-align: center; line-height: 1.5;
}
.done.waitlist .done-badge { background: #8A6A00; }
.done-info { margin: 16px 0; background: var(--green-soft); border-radius: 12px; padding: 14px 16px; }
.done-info div { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.done-info div:last-child { border-bottom: 0; }
.done-info dt { font-size: 15px; font-weight: 700; color: var(--green); }
.done-info dd { margin: 0; line-height: 1.7; }

/* 個人情報 */
.privacy-list { margin: 0; padding-left: 1.2em; font-size: 16px; color: var(--muted); line-height: 1.8; }
.privacy-list li { margin-bottom: 6px; }

/* 講師（控えめ） */
.teacher { display: flex; gap: 16px; align-items: flex-start; }
.teacher-photo {
  width: 88px; height: 88px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: 50% 30%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--line);
}
.teacher-name { font-weight: 700; font-size: 18px; line-height: 1.5; margin-bottom: 6px; }
.teacher-name small { font-size: 14px; color: var(--muted); font-weight: 500; }
.teacher-bio { font-size: 16px; line-height: 1.8; color: var(--muted); }

/* フッター */
.site-footer { background: var(--green-dark); color: var(--white); padding: 32px 0 40px; font-size: 16px; }
.site-footer p { margin-bottom: 12px; }
.site-footer .tel { color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: .03em; }
.site-footer .copy { opacity: .8; margin-top: 20px; }

@media (min-width: 640px) {
  body { font-size: 18px; }
  .section-title { font-size: 28px; }
  .card { padding: 28px 28px; }
}
