:root {
  --paper: #f6eee2;
  --paper-deep: #efe3d1;
  --card: #fffaf3;
  --gold: #d6a13f;
  --gold-deep: #b9852a;
  --pink: #e8a08a;
  --pink-soft: #f4d3c6;
  --sage: #93ae97;
  --sage-soft: #d6e1d3;
  --brown: #4a3424;
  --brown-soft: #7a6352;
  --line: #e2d3bd;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(74, 52, 36, 0.08);
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-num: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  background-image: radial-gradient(rgba(74, 52, 36, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: 0.03em; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--brown); color: #fff;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 238, 226, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 211, 189, 0.7);
}
.header-inner {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 40px; height: 40px; }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.wm-main { font-family: var(--font-num); font-size: 1.32rem; font-weight: 700; letter-spacing: 0.01em; }
.wm-main b { color: var(--gold-deep); font-weight: 700; }
.wm-sub { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--brown-soft); margin-top: 3px; }

.primary-nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; font-weight: 500; }
.primary-nav a { text-decoration: none; padding: 6px 0; position: relative; }
.primary-nav a:not(.nav-dm)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.primary-nav a:not(.nav-dm):hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-dm {
  padding: 10px 20px !important; border-radius: 999px; background: var(--brown); color: var(--paper);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-dm:hover { background: var(--gold-deep); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow); cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--brown);
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}
.button:active { transform: translateY(2px); }
.button-primary {
  background: var(--gold); color: #3a2818;
  box-shadow: 0 5px 0 var(--gold-deep), 0 12px 24px rgba(185, 133, 42, 0.25);
}
.button-primary:hover { background: #ddac4f; }
.button-primary:active { box-shadow: 0 2px 0 var(--gold-deep), 0 6px 14px rgba(185, 133, 42, 0.2); }
.button-primary::before {
  content: ""; width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button-ghost { background: transparent; border-color: var(--brown); color: var(--brown); }
.button-ghost:hover { background: rgba(74, 52, 36, 0.06); }
.button-large { min-height: 62px; padding: 16px 38px; font-size: 1.08rem; }

.text-link { color: var(--brown); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--gold-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(214, 161, 63, 0.28), rgba(214, 161, 63, 0) 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; grid-template-areas: "copy visual" "next visual";
  gap: 28px 56px; align-items: start;
}
.hero-copy { grid-area: copy; padding-top: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { margin-top: 18px; font-size: clamp(1.85rem, 3.7vw, 2.9rem); line-height: 1.4; }
.hero h1 .nw { white-space: nowrap; }
.hero h1 .nw:last-child { color: var(--gold-deep); }
.lead { margin-top: 22px; max-width: 34em; font-size: 1.03rem; color: var(--brown-soft); }

.stickers { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.sticker {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-size: 0.86rem; font-weight: 700; line-height: 1.35; box-shadow: var(--shadow);
}
.sticker b { display: block; font-family: var(--font-num); font-size: 1.7rem; line-height: 1; }
.sticker-gold { background: var(--gold); color: #3a2818; transform: rotate(-6deg); }
.sticker-pink { background: var(--pink-soft); transform: rotate(4deg); }
.sticker-sage { background: var(--sage-soft); transform: rotate(-3deg); }

.hero-visual { grid-area: visual; position: relative; margin: 0; justify-self: center; width: min(100%, 470px); }
.hero-video {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 40px 40px;
  box-shadow: 0 24px 60px rgba(74, 52, 36, 0.16);
  background: var(--paper-deep) center / cover;
}
.hero-visual::after {
  content: ""; position: absolute; z-index: -1; inset: 26px -22px -18px 24px;
  border-radius: 999px 999px 48px 48px; background: var(--pink-soft);
}
.hero-tag {
  position: absolute; left: -6px; bottom: 34px; padding: 8px 16px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); font-size: 0.85rem; font-weight: 700; transform: rotate(-4deg);
}
.hero-tag::before { content: "●"; margin-right: 6px; color: var(--pink); font-size: 0.7rem; vertical-align: 2px; }
.next-card {
  grid-area: next; position: relative; max-width: 440px;
  padding: 26px 28px 24px; border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.next-card::before {
  content: ""; position: absolute; top: -12px; left: 32px; width: 70px; height: 22px;
  background: rgba(232, 160, 138, 0.55); border-radius: 4px; transform: rotate(-4deg);
}
.next-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brown-soft); }
.next-date { margin-top: 4px; font-family: var(--font-num); font-size: 2.6rem; line-height: 1.1; }
.next-date small { font-family: var(--font-body); font-size: 1rem; }
.next-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--brown-soft); font-size: 0.95rem; }
.next-card .button { margin-top: 18px; width: 100%; }
.next-card .text-link { display: inline-block; margin-top: 14px; font-size: 0.92rem; }

.shuttle-path { position: absolute; left: 0; right: 0; bottom: 8px; width: 100%; height: 120px; pointer-events: none; }
.shuttle-path path {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; opacity: 0.7;
  animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: 48px 0 40px; }
.breadcrumb { display: flex; gap: 10px; font-size: 0.82rem; color: var(--brown-soft); margin-bottom: 26px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { margin-top: 14px; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero h1 span { display: block; margin-top: 6px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--gold-deep); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p:not(.section-kicker) { margin-top: 14px; color: var(--brown-soft); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > p { max-width: 400px; }
.section-kicker { font-family: var(--font-num); font-size: 0.85rem; letter-spacing: 0.22em; color: var(--gold-deep); font-weight: 700; }
.section h2 { margin-top: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* reasons */
.reasons { background: var(--card); border-radius: 48px 48px 0 0; }
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reason-card {
  padding: 28px 24px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); position: relative;
}
.reason-card:nth-child(even) { transform: translateY(22px); }
.reason-no { font-family: var(--font-num); font-size: 2rem; color: var(--gold); line-height: 1; }
.reason-card h3 { margin-top: 12px; font-size: 1.12rem; }
.reason-card p { margin-top: 10px; font-size: 0.94rem; color: var(--brown-soft); }

/* fit */
.fit { background: var(--card); padding-top: 40px; }
.fit-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.fit-list { list-style: none; margin: 0; padding: 0; }
.fit-list li {
  position: relative; padding: 18px 0 18px 46px; border-bottom: 1px dashed var(--line); font-size: 1.05rem; font-weight: 500;
}
.fit-list li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a3424' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* schedule */
.session-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.session {
  position: relative;
  display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 20px;
  padding: 20px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.session:hover { box-shadow: var(--shadow); }
.session.is-next { border: 2px solid var(--gold); box-shadow: 0 12px 30px rgba(214, 161, 63, 0.18); }
.s-badge {
  position: absolute; top: -12px; left: 22px; padding: 2px 14px; border-radius: 999px;
  background: var(--pink); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
}
.s-date { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.s-month { width: 100%; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--brown-soft); }
.s-date b { font-family: var(--font-num); font-size: 2.5rem; line-height: 1; }
.s-wd {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper-deep); font-size: 0.82rem; font-weight: 700;
}
.s-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.s-time { font-family: var(--font-num); font-size: 1.2rem; font-weight: 700; }
.s-place { font-weight: 500; }
.s-map { font-size: 0.85rem; color: var(--brown-soft); text-decoration: underline; text-underline-offset: 4px; }
.s-dm {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  border: 2px solid var(--brown); font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.s-dm:hover, .session.is-next .s-dm { background: var(--brown); color: var(--paper); }
.session-empty { padding: 22px; border-radius: var(--radius); background: var(--card); text-align: center; }
.more-link { margin-top: 26px; }

.month-title { margin: 34px 0 18px !important; font-family: var(--font-num); font-size: 1.35rem !important; }
.month-title:first-child { margin-top: 0 !important; }
.schedule-page { padding-top: 20px; }
.schedule-notes {
  margin-top: 48px; padding: 30px 32px; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--gold);
}
.schedule-notes h2 { margin: 0 !important; font-size: 1.2rem !important; }
.schedule-notes ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--brown-soft); }
.schedule-notes li + li { margin-top: 8px; }
.schedule-notes .text-link { margin-left: 6px; font-size: 0.9rem; }

/* fee */
.fee { background: var(--paper-deep); border-radius: 48px; margin-inline: 12px; }
.fee-layout { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 28px; align-items: start; }
.fee-first {
  padding: 34px 30px; border-radius: var(--radius); background: var(--brown); color: var(--paper); text-align: center;
  position: sticky; top: 100px;
}
.fee-first-label { font-weight: 700; letter-spacing: 0.06em; }
.fee-first-price { margin: 6px 0 10px; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.fee-first-price b { font-family: var(--font-num); font-size: 4.2rem; line-height: 1.1; }
.fee-first p:last-child { font-size: 0.92rem; opacity: 0.85; }
.fee-courses { display: grid; gap: 16px; }
.fee-courses-wide { grid-template-columns: 1fr 1fr; }
.fee-courses-label { font-weight: 700; }
.course { padding: 24px 26px; border-radius: var(--radius); background: var(--card); border-left: 8px solid var(--sage); }
.course-middle { border-left-color: #8aa2c2; }
.course-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.course-head h3 { font-size: 1.2rem; }
.course-price b { font-family: var(--font-num); font-size: 2rem; }
.course-ball { margin-top: 2px; font-size: 0.86rem; color: var(--brown-soft); }
.course ul { margin: 12px 0 0; padding-left: 1.2em; font-size: 0.95rem; }
.fee-note { font-weight: 700; color: var(--gold-deep); }

/* flow */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.flow-no {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); font-family: var(--font-num); font-size: 1.4rem; font-weight: 700;
}
.flow-steps h3 { margin-top: 14px; font-size: 1.12rem; }
.flow-steps p { margin-top: 8px; font-size: 0.94rem; color: var(--brown-soft); }

.dm-template {
  margin-top: 32px; padding: 26px 30px; border-radius: var(--radius); background: var(--pink-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.dm-template-title { font-weight: 700; font-size: 0.9rem; }
.dm-template-text {
  margin: 8px 0 0; padding: 14px 18px; border-radius: 14px; background: #fff; font-family: var(--font-body);
  font-size: 0.95rem; line-height: 1.8; white-space: pre-wrap;
}
.dm-template-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dm-template-light { text-align: left; margin-inline: auto; max-width: 760px; background: var(--card); }

/* faq */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-deep); font-size: 1.1rem; transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--brown-soft); }

/* first-time page */
.worry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.worry-card { padding: 30px 30px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.worry-card h3 { font-size: 1.15rem; display: flex; gap: 10px; align-items: center; }
.worry-card h3::before {
  content: "Q"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pink-soft); font-family: var(--font-num);
}
.worry-card p { margin-top: 12px; color: var(--brown-soft); }

.course-guide { background: var(--paper-deep); border-radius: 48px; margin-inline: 12px; }

.kit-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.kit-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--paper-deep); box-shadow: var(--shadow); }
.kit-list { margin: 26px 0 0; display: grid; gap: 12px; }
.kit-list > div { padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.kit-list dt { font-weight: 700; }
.kit-list dd { margin: 4px 0 0; font-size: 0.94rem; color: var(--brown-soft); }
.kit-must { border: 2px solid var(--gold) !important; }
.kit-must dt::after {
  content: "必須"; margin-left: 10px; padding: 1px 10px; border-radius: 999px;
  background: var(--gold); font-size: 0.75rem;
}

.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; border-left: 2px dashed var(--gold); display: grid; gap: 26px; }
.timeline li { position: relative; padding: 4px 0 0 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -41px; top: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--gold);
}
.timeline-step { font-family: var(--font-num); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--gold-deep); font-weight: 700; }
.timeline h3 { font-size: 1.12rem; margin-top: 2px; }
.timeline p { margin-top: 6px; color: var(--brown-soft); max-width: 40em; }

/* final cta */
.final-cta { padding: 96px 0 110px; text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 30px 12px 0; border-radius: 48px 48px 0 0;
  background: var(--brown); z-index: -1;
}
.final-inner { color: var(--paper); }
.final-cta .section-kicker { color: var(--gold); }
.final-cta h2 { margin-top: 10px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.final-inner > p:not(.section-kicker):not(.final-handle) { margin: 18px auto 30px; max-width: 34em; opacity: 0.9; }
.final-inner .dm-template { margin-top: 30px; color: var(--brown); }
.final-handle { margin-top: 20px; font-size: 0.92rem; opacity: 0.85; }
.final-handle a { color: var(--paper); text-underline-offset: 4px; }

/* footer */
.site-footer { background: var(--brown); color: rgba(246, 238, 226, 0.85); padding: 10px 0 120px; font-size: 0.9rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; padding-top: 34px; border-top: 1px solid rgba(246, 238, 226, 0.18); }
.footer-brand { font-family: var(--font-num); font-size: 1.3rem; color: var(--paper); }
.footer-brand b { color: var(--gold); }
.footer-brand span { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; margin-left: 8px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-note { grid-column: 1 / -1; font-size: 0.78rem; opacity: 0.7; }

/* mobile DM bar & toast */
.dm-bar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: 60; width: min(420px, 100% - 32px);
  padding: 14px 20px; border-radius: 16px; background: var(--brown); color: var(--paper);
  font-size: 0.9rem; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Photos ---------- */
figure { margin: 0; }
.gallery { padding-bottom: 96px; }
.photo-board {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: start;
}
.photo { position: relative; padding: 12px 12px 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
.photo figcaption { padding: 12px 4px 14px; font-size: 0.9rem; font-weight: 700; text-align: center; }
.photo::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 76px; height: 22px; margin-left: -38px;
  border-radius: 4px; background: rgba(214, 161, 63, 0.45); transform: rotate(-3deg);
}
.photo-a { grid-column: 1 / 4; transform: rotate(-2deg); }
.photo-b { grid-column: 4 / 7; margin-top: 56px; transform: rotate(1.5deg); }
.photo-b::before { background: rgba(232, 160, 138, 0.55); }
.photo-c { grid-column: 7 / 10; transform: rotate(-1deg); margin-top: 10px; }
.photo-c::before { background: rgba(147, 174, 151, 0.55); }
.photo-d { grid-column: 10 / 13; margin-top: 70px; transform: rotate(2deg); }
.photo-a img, .photo-c img { aspect-ratio: 4 / 5; }
.photo-b img { aspect-ratio: 36 / 31; }
.photo-d img { aspect-ratio: 1; }
.members-photo { margin-top: 30px; padding: 10px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.members-photo img { display: block; width: 100%; height: auto; border-radius: 14px; }
.members-photo figcaption { padding: 10px 6px 4px; font-size: 0.88rem; color: var(--brown-soft); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.page-hero-photo { position: relative; padding: 12px 12px 0; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); transform: rotate(2deg); max-width: 420px; justify-self: end; }
.page-hero-photo img { display: block; width: 100%; height: auto; border-radius: 14px; }
.page-hero-photo figcaption { padding: 10px 4px 12px; text-align: center; font-size: 0.88rem; font-weight: 700; }
.page-hero-photo::before {
  content: ""; position: absolute; top: -11px; left: 28px; width: 72px; height: 22px; border-radius: 4px;
  background: rgba(232, 160, 138, 0.55); transform: rotate(-5deg);
}
.worry-layout { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 32px; align-items: start; }
.worry-photo { position: sticky; top: 100px; padding: 10px 10px 0; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.worry-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.worry-photo figcaption { padding: 10px 4px 12px; text-align: center; font-size: 0.88rem; font-weight: 700; }
/* ---------- Rule note ---------- */
.rule-note {
  margin-top: 34px; padding: 18px 24px; border-radius: var(--radius); background: var(--sage-soft);
  color: var(--brown); font-size: 0.95rem; line-height: 1.8;
}
.rule-note b { display: inline-block; margin-right: 14px; padding: 2px 12px; border-radius: 999px; background: var(--card); font-size: 0.85rem; }
.worry-card-wide { grid-column: 1 / -1; background: var(--sage-soft); border-color: transparent; }
/* ---------- DM QR (PC only) ---------- */
.qr-card {
  display: flex; align-items: center; gap: 22px; max-width: 560px; margin: 26px auto 0; padding: 18px 24px 18px 18px;
  border-radius: var(--radius); background: var(--card); border: 1px dashed var(--gold); text-align: left; color: var(--brown);
}
.qr-card[hidden] { display: none; }
.qr-card img { flex: none; width: 124px; height: 124px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.qr-title { font-weight: 700; font-size: 1rem; }
.qr-title::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--pink); }
.qr-text { margin-top: 6px; font-size: 0.88rem; color: var(--brown-soft); line-height: 1.7; }
.qr-card-dark { margin-top: 30px; border-color: rgba(214, 161, 63, 0.7); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18); }
/* reveal */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reason-card.reveal.is-visible:nth-child(even) { transform: translateY(22px); }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "next" "visual"; }
  .hero-copy { padding-top: 0; }
  .next-card { max-width: none; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .fee-layout, .fit-layout, .faq-layout, .kit-layout { grid-template-columns: 1fr; }
  .fee-first { position: static; }
  .flow-steps { grid-template-columns: 1fr; }
  .kit-visual { max-width: 360px; }
  .photo-board { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .photo-a, .photo-b, .photo-c, .photo-d { grid-column: auto; margin-top: 0; }
  .photo-b, .photo-d { margin-top: 36px; }
  .photo-c { margin-top: -8px; }
  .page-hero-grid, .worry-layout { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-photo { justify-self: start; max-width: 360px; }
  .worry-photo { position: static; max-width: 320px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 70px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { padding: 14px 16px; }
  .primary-nav a::after { display: none; }
  .nav-dm { margin-top: 6px; text-align: center; }

  .section { padding: 64px 0; }
  .hero { padding: 32px 0 70px; }
  .hero-visual { width: min(100%, 340px); }
  .hero-grid { gap: 22px; }
  .hero h1 { margin-top: 12px; }
  .lead { margin-top: 14px; font-size: 0.95rem; line-height: 1.8; }
  .stickers { margin-top: 18px; gap: 10px; }
  .sticker { width: 76px; height: 76px; }
  .next-card { padding: 20px 20px 18px; }
  .next-date { font-size: 2.2rem; }
  .next-card .button { margin-top: 14px; }
  .photo-board { gap: 20px 12px; }
  .photo { padding: 8px 8px 0; border-radius: 14px; }
  .photo figcaption { font-size: 0.8rem; padding: 9px 2px 10px; }
  .page-hero-photo { max-width: 300px; }
  .sticker { width: 84px; height: 84px; font-size: 0.8rem; }
  .sticker b { font-size: 1.45rem; }
  .reason-grid, .worry-grid, .fee-courses-wide { grid-template-columns: 1fr; }
  .reason-card:nth-child(even), .js .reason-card.reveal.is-visible:nth-child(even) { transform: none; }
  .session { grid-template-columns: 92px 1fr; gap: 6px 16px; padding: 20px; }
  .s-date b { font-size: 2.1rem; }
  .s-dm { grid-column: 1 / -1; justify-content: center; }
  .dm-template { padding: 22px; }
  .dm-template-actions, .dm-template-actions .button { width: 100%; }
  .fee, .course-guide { margin-inline: 0; border-radius: 32px; }
  .footer-inner { grid-template-columns: 1fr; }

  .dm-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 238, 226, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .dm-bar .button { width: 100%; min-height: 52px; }
  .qr-card { display: none; }
}
