/* ---------- Header: frosted white glass, logo + one action ---------- */
.b-body header { background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(28, 36, 32, 0.06); }
.b-header__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 22px; border-radius: 2px; background: #1d6b4a; color: #fff; font: 700 .875rem/1.4 'IBM Plex Sans JP', sans-serif; text-decoration: none; transition: background-color .2s; }
.b-header__cta:hover { background: #155238; }

/* The site stylesheet sets overflow-x: hidden on html and body, which turns body into its own scroll
   container; view timelines would then follow body (which never scrolls) instead of the page. */
.b-body { overflow-x: clip; }
.b-body {
    --green: #1d6b4a;
    --green-hover: #155238;
    --green-deep: #123d2b;
    --green-100: #e6f2ea;
    --green-50: #f3f8f5;
    --ink: #1c2420;
    --ink-2: #55605a;
    --line: #dce4df;
    --serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;
    --sans: 'IBM Plex Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --shell: min(100% - 40px, 1240px);
    --section: clamp(88px, 12vw, 168px);
    --ts-dark: 0 1px 0 rgba(255,255,255,.9), 0 2px 3px rgba(18,61,43,.08), 0 12px 32px rgba(18,61,43,.16);
    --ts-light: 0 1px 1px rgba(5,30,20,.18), 0 4px 10px rgba(5,30,20,.18), 0 14px 40px rgba(5,30,20,.35);
    --shadow: 0 2px 4px rgba(18,61,43,.06), 0 24px 48px rgba(18,61,43,.14);
    background: #fff;
    color: var(--ink);
}
@media (min-width: 700px) { .b-body { --shell: min(100% - 96px, 1240px); } }

.b-main { font-family: var(--sans); line-height: 1.85; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
:where(.b-main) section { padding: 0; }
:where(.b-main) p { text-wrap: pretty; }
.b-main :is(h1, h2, h3) { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; text-wrap: balance; }
.b-main ul, .b-main ol { list-style: none; }
.b-main img { display: block; max-width: 100%; height: auto; }
.b-main a { color: inherit; }
.b-main :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.b-shell { width: var(--shell); margin-inline: auto; }
.b-line { display: block; }

.b-label { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
.b-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.b-sec-head h2 { text-shadow: var(--ts-dark); margin-top: 18px; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.45; }
.b-sec-lead { max-width: 32em; margin-top: 20px; color: var(--ink-2); font-size: 1.0625rem; text-wrap: balance; }

/* Shared by the hero link and the form <button>: border and font are reset so both render the same. */
.b-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 40px; border: 0; border-radius: 2px; background: var(--green); color: #fff !important; font: 700 1rem/1.4 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background-color .2s; }
.b-btn:hover { background: var(--green-hover); }
.b-textlink { font-size: .95rem; font-weight: 700; text-underline-offset: .4em; }

/* --- parallax ---
   Each layer moves by (its container's center - viewport center) x data-speed. Where scroll-driven animations
   exist they run that motion off the main thread; elsewhere ai-practice-page.js writes the same translate.
   The sections clip with overflow: clip, not hidden: hidden would make them scroll containers and the
   view timelines would track those instead of the page. */
.b-main { --travel: calc(50vh + 300px); }
@media (max-width: 699px) { .b-main { --travel: calc(18vh + 70px); } }
[data-speed] { rotate: var(--rot, 0deg); will-change: translate; }
[data-drift] { translate: 0 -50%; will-change: translate; }
@supports (animation-timeline: view()) {
    .b-hero__stage { view-timeline-name: --b-stage; }
    .b-video { view-timeline-name: --b-video; }
    .b-band { view-timeline-name: --b-band; }
    [data-speed] { animation: b-parallax linear both; }
    .b-hero__stage [data-speed] { animation-timeline: --b-stage; }
    .b-video [data-speed] { animation-timeline: --b-video; }
    [data-drift] { animation: b-drift linear both; animation-timeline: --b-band; }
}
@keyframes b-parallax {
    from { translate: 0 calc(var(--speed, 0) * var(--travel)); }
    to { translate: 0 calc(var(--speed, 0) * var(--travel) * -1); }
}
@keyframes b-drift {
    from { translate: 0 -50%; }
    to { translate: -40vw -50%; }
}

/* --- hero --- */
.b-hero { position: relative; padding-top: clamp(112px, 12vw, 150px); padding-bottom: var(--section); overflow: clip; }
.b-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "stage" "cta"; gap: 32px; }
.b-hero__title { grid-area: title; }
.b-hero__text { grid-area: text; }
.b-hero__stage { grid-area: stage; margin-top: 16px; }
.b-hero__title { text-shadow: var(--ts-dark); }
.b-hero__title { font-family: var(--serif); font-size: clamp(2.6rem, 1.3rem + 6vw, 4.5rem); font-weight: 600; line-height: 1.2; letter-spacing: .02em; text-wrap: balance; color: var(--green-deep); }
/* The event's name: a title, not a section label. */
.b-main .b-hero__name { font-family: var(--serif); font-size: clamp(1.25rem, .95rem + 1.4vw, 1.75rem); font-weight: 600; line-height: 1.5; letter-spacing: .04em; text-wrap: pretty; color: var(--green-deep); text-shadow: var(--ts-dark); }
.b-hero__lead { margin-top: 24px; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 2.1; }
.b-hero__lead .b-line { text-wrap: balance; }
.b-hero__points { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: .9rem; font-weight: 700; color: var(--green-deep); }
.b-hero__points li { white-space: nowrap; }
.b-hero__points li::before { content: "✓"; margin-right: 6px; color: var(--green); }
.b-hero__cta { grid-area: cta; }
.b-hero__stage { position: relative; height: clamp(380px, 96vw, 600px); }
.b-disc { position: absolute; top: 50%; left: 50%; width: 88%; aspect-ratio: 1; margin: -44% 0 0 -44%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f1f8f3, var(--green-100) 70%); }
.b-float { position: absolute; box-shadow: var(--shadow); background: #fff; }
.b-float--flyer { --rot: -5deg; top: 2%; left: 2%; width: 38%; }
.b-float--doc { --rot: 4deg; top: 18%; right: 3%; width: 40%; }
.b-float--banner { --rot: -3deg; bottom: 0; left: 30%; width: 30%; }
.b-float--phone { --rot: 6deg; top: 0; left: 44%; width: 20%; box-shadow: none; background: none; filter: drop-shadow(0 18px 28px rgba(18,61,43,.22)); }
@media (min-width: 1024px) {
    .b-hero { min-height: 100vh; display: flex; align-items: center; }
    .b-hero__grid { grid-template-columns: auto minmax(0, 400px) minmax(0, 1fr); grid-template-areas: "title text stage" "title cta stage"; grid-template-rows: auto auto; column-gap: clamp(48px, 6vw, 88px); row-gap: 40px; align-content: center; }
    .b-hero__title { align-self: center; padding-right: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); writing-mode: vertical-rl; font-size: clamp(3.75rem, 5.4vw, 5.75rem); line-height: 1; }
    .b-hero__text { align-self: end; }
    .b-hero__cta { align-self: start; }
    .b-hero__stage { height: min(640px, 78vh); }
}

/* --- samples --- */
.phone-mock { padding: 3%; border-radius: 9% / 4.2%; background: #1c2420; }
.phone-mock img { width: 100%; height: auto; aspect-ratio: 1080 / 2340; border-radius: 7% / 3.2%; }
.b-sample--browser { overflow: hidden; border: 1px solid #d5ddd8; border-radius: 10px; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef1ef; border-bottom: 1px solid #dde3df; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d1cc; }
.browser-bar span { flex: 1; margin-left: 10px; padding: 2px 12px; border-radius: 999px; background: #fff; color: #6b756f; font: 500 11px/1.6 var(--sans); }
.b-sample--browser img { width: 100%; height: auto; }
.b-float img { width: 100%; height: auto; }

/* --- news --- */
.b-news { padding-block: 0 clamp(64px, 8vw, 104px); }
.b-news__inner { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--ink); }
.b-news__title { font-size: 1.125rem; letter-spacing: .12em; }
.b-news__list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.b-news__list li:first-child { padding-top: 0; }
/* Phones: keep each notice on one line (the list has no <wbr>), shrinking the type only on narrow screens.
   The notice is about 20.5em wide; dividing by 21.5 leaves a margin for font differences. */
@media (max-width: 699px) { .b-news__list p { font-size: min(1rem, calc((100vw - 40px) / 21.5)); white-space: nowrap; } }
.b-news time { color: var(--green); font-family: 'Inter', var(--sans); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
@media (min-width: 700px) {
    .b-news__inner { grid-template-columns: 12em minmax(0, 1fr); gap: 32px; }
    .b-news__list li { grid-template-columns: 8em minmax(0, 1fr); gap: 24px; align-items: baseline; }
}

/* --- green statement band --- */
.b-band { position: relative; padding-block: clamp(120px, 16vw, 220px); overflow: clip; background: var(--green); color: #fff; }
.b-band__word { position: absolute; top: 50%; left: 0; font-family: 'Bebas Neue', var(--sans); font-size: clamp(8rem, 24vw, 22rem); line-height: 1; white-space: nowrap; color: rgba(255,255,255,.08); pointer-events: none; }
.b-band__text { text-shadow: var(--ts-light); position: relative; font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); font-weight: 600; line-height: 1.75; letter-spacing: .03em; }
.b-band__text .b-line { text-wrap: balance; }
.b-band__text .b-dim { color: rgba(255,255,255,.62); }

/* --- program --- */
.b-program { padding-block: var(--section); }
.b-switch { margin-top: 56px; scroll-margin-top: 76px; }
.b-tabs { display: grid; gap: 14px; }
.b-tabs__label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; color: var(--green); font-size: .95rem; font-weight: 700; }
.b-tabs__label small { color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.b-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.b-tab { min-height: 44px; padding: 8px clamp(12px, 3.4vw, 18px); border: 1px solid #c3d0c8; border-radius: 2px; background: #fff; color: var(--ink); font: 700 .95rem/1.4 var(--sans); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.b-tab:hover { border-color: var(--green); color: var(--green); }
.b-tab[aria-selected="true"] { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(18,61,43,.2); }
.b-stagebox { margin-top: 20px; background: var(--green-50); border-top: 3px solid var(--green); }
.b-panel { display: grid; grid-template-columns: minmax(0, 1fr); }
.b-panel[hidden] { display: none; }
.b-panel__text { padding: 18px 20px 0; }
.b-panel__text h3 { color: var(--green-deep); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); text-shadow: var(--ts-dark); }
.b-panel__text p { margin-top: 6px; color: var(--ink-2); text-wrap: balance; }
.b-panel__visual { display: grid; place-items: center; height: clamp(260px, 72vw, 400px); padding: 14px 0 20px; overflow: hidden; }
.b-panel__visual > * { animation: b-in .6s cubic-bezier(.2,.7,.2,1); box-shadow: var(--shadow); }
@keyframes b-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.b-panel .b-sample--insta { contain: size; width: auto; height: 100%; aspect-ratio: 1080 / 1350; }
.b-panel .b-sample--insta img { width: 100%; height: 100%; object-fit: cover; }
.b-panel .b-sample--browser { width: 94%; max-width: 640px; }
.b-panel .b-sample--a4 { contain: size; width: auto; height: 100%; aspect-ratio: 1240 / 1754; background: #fff; }
.b-panel .b-sample--a4 img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
    .b-tabs { grid-template-columns: auto auto; justify-content: start; column-gap: 48px; }
    .b-panel { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; }
    .b-panel__text { padding: 0 0 0 clamp(32px, 4vw, 56px); }
    .b-panel__text p { margin-top: 14px; font-size: 1.0625rem; }
    .b-panel__visual { height: min(560px, 68vh); padding: 40px 0; }
}
.b-note { margin-top: 28px; color: var(--ink-2); font-size: .8rem; }

/* --- video --- */
.b-video { position: relative; padding-block: var(--section); overflow: clip; background: var(--green-50); }
.b-video__orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--green-100) 70%); pointer-events: none; }
.b-video__orb--a { top: 6%; right: -8%; width: clamp(220px, 34vw, 520px); aspect-ratio: 1; }
.b-video__orb--b { bottom: -10%; left: -6%; width: clamp(160px, 22vw, 340px); aspect-ratio: 1; }
.b-video .b-shell { position: relative; }
.b-video__frame { position: relative; max-width: 1080px; margin-top: 48px; background: #ebe6dc; box-shadow: var(--shadow); }
.b-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #ebe6dc; }
.b-video__play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 16px; padding: clamp(14px, 3vw, 32px); width: 100%; border: 0; background: transparent; color: var(--ink); font-family: var(--sans); cursor: pointer; transition: background-color .3s; }
.b-video__play:hover { background: rgba(18,61,43,.06); }
.b-video__icon { position: relative; display: grid; place-items: center; width: clamp(56px, 6vw, 80px); aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 10px 30px rgba(18,61,43,.3); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.b-video__icon::after { content: ""; margin-left: 12%; border-style: solid; border-width: .55em 0 .55em .95em; border-color: transparent transparent transparent #fff; font-size: clamp(14px, 1.6vw, 22px); }
.b-video__play:hover .b-video__icon { transform: scale(1.06); }
.b-video__text { display: grid; padding: 8px 16px; border-radius: 2px; background: rgba(255,255,255,.92); font-size: 1rem; font-weight: 700; line-height: 1.5; text-align: left; }
.b-video__text small { color: var(--ink-2); font-size: .8rem; font-weight: 400; }
.b-video__frame.is-playing .b-video__play { display: none; }
@media (max-width: 600px) { .b-video__text { display: none; } }

/* --- numbers --- */
.b-numbers { padding-block: var(--section); }
.b-numbers__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--ink); }
.b-num { padding: 28px 0 0; }
.b-num + .b-num { padding-left: clamp(20px, 5vw, 64px); border-left: 1px solid var(--line); }
.b-num:first-child { padding-right: clamp(20px, 5vw, 64px); }
.b-num dt { font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.b-num dd { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; color: var(--green); }
.b-num__value { font-family: var(--serif); font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 600; line-height: 1; letter-spacing: 0; text-shadow: var(--ts-dark); }
.b-num__unit { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 600; }
.b-num p { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }

/* --- faq --- */
.b-faq { padding-block: var(--section); background: var(--green-50); }
.b-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.b-qa { padding: 28px 0; border-bottom: 1px solid var(--line); }
.b-qa:first-child { border-top: 1px solid var(--ink); }
.b-qa__q, .b-qa__a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); }
.b-qa__q { font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.7; }
.b-qa__a { margin-top: 12px; color: var(--ink-2); }
.b-qa__q span, .b-qa__a span { font-family: 'Inter', var(--sans); font-weight: 300; color: var(--green); }
.b-qa__q span { font-size: 1.3em; line-height: 1.35; }
@media (min-width: 900px) {
    .b-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
}

/* --- access --- */
.b-access { padding-block: var(--section); }
.b-access__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
.b-access__info { border-top: 1px solid var(--ink); }
.b-access__info div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.b-access__info dt { color: var(--green); font-size: .85rem; font-weight: 700; padding-top: .2em; }
.b-access__info dd { font-size: 1.0625rem; }
.b-access__map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-50); box-shadow: var(--shadow); }
.b-access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75); }
.b-access__link { display: inline-flex; gap: 6px; margin-top: 20px; }
@media (min-width: 900px) {
    .b-access__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
    .b-access__map { aspect-ratio: 16 / 10; }
}

/* --- entry --- */
.b-entry { padding-block: var(--section); }
.b-entry__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 56px; }
@media (min-width: 1200px) { .b-entry__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; } .b-form { padding: 40px 36px; } }
.b-facts { border-top: 1px solid var(--ink); }
.b-facts div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.b-facts dt { color: var(--green); font-size: .85rem; font-weight: 700; padding-top: .2em; }
.b-facts dd { font-size: 1.0625rem; }
.b-facts dd small { display: block; color: var(--ink-2); font-size: .85rem; }
@media (max-width: 480px) { .b-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.b-form { padding: clamp(24px, 4vw, 44px); background: var(--green-50); border-top: 3px solid var(--green); }
.b-form h3 { font-size: 1.4rem; }
.b-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.b-form__status { margin-top: 10px; color: var(--ink-2); font-size: .85rem; line-height: 1.7; }
.b-form__status:focus { outline: none; }
.b-visually-hidden, .b-form.is-done .b-form__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.b-field input[aria-invalid="true"] { border-color: #b3261e; }
.b-verification { margin-top: 18px; }
.b-verification:empty { display: none; }
.b-form .b-btn:disabled { opacity: .45; cursor: not-allowed; }
.b-retry { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--green); font: 700 .9rem/1.5 var(--sans); text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
.b-open { display: inline-block; margin-left: 12px; padding: 2px 10px; border-radius: 2px; background: var(--green); color: #fff; font-family: var(--sans); font-size: .75rem; font-weight: 700; vertical-align: 4px; letter-spacing: .04em; }
.b-open--closed { background: var(--ink-2); }
.b-form[hidden] { display: none; }
.b-closed { align-self: start; }
.b-closed__message { margin-top: 12px; color: var(--ink-2); font-size: .95rem; line-height: 1.85; }
.b-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 22px; }
.b-field label { font-size: .9rem; font-weight: 700; }
.b-req { margin-left: 8px; color: #a8431a; font-size: .75rem; }
.b-opt { margin-left: 8px; color: var(--ink-2); font-size: .75rem; }
.b-field input { width: 100%; min-width: 0; min-height: 52px; padding: 10px 14px; border: 1px solid #c9d4cd; border-radius: 2px; background: #fff; font: inherit; }
.b-field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(29,107,74,.18); }
.b-privacy { margin-top: 22px; color: var(--ink-2); font-size: .8rem; line-height: 1.75; }
.b-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: .85rem; line-height: 1.6; }
.b-consent input { flex: none; width: 20px; height: 20px; margin-top: .05em; accent-color: var(--green); }
.b-form .b-btn { margin-top: 26px; }
/* Completion view: replaces the fields once the request is accepted. The status line stays in the
   accessibility tree (visually hidden above) so its text is still announced. */
.b-form.is-done fieldset, .b-form.is-done .b-retry { display: none; }
.b-done { display: grid; justify-items: start; margin-top: 24px; padding: clamp(24px, 5vw, 40px) clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 2px; background: #fff; box-shadow: var(--shadow); animation: b-in .6s cubic-bezier(.2,.7,.2,1); }
.b-done[hidden] { display: none; }
.b-done__icon { display: grid; place-items: center; width: clamp(64px, 16vw, 80px); aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 10px 30px rgba(18,61,43,.3); }
.b-done__icon::after { content: ""; width: 40%; height: 20%; margin-top: -8%; border-bottom: 4px solid #fff; border-left: 4px solid #fff; rotate: -45deg; }
.b-done__title { margin-top: 22px; color: var(--green-deep); font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem); font-weight: 600; line-height: 1.5; letter-spacing: .02em; text-shadow: var(--ts-dark); text-wrap: balance; }
.b-done__title:focus { outline: none; }
.b-done__message { margin-top: 12px; color: var(--ink-2); font-size: .95rem; line-height: 1.85; }
.b-done__summary { width: 100%; margin-top: 24px; border-top: 1px solid var(--ink); }
.b-done__summary div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.b-done__summary dt { padding-top: .15em; color: var(--green); font-size: .85rem; font-weight: 700; }
.b-done__summary dd { font-weight: 700; }

.b-footer { padding: 32px 0 40px; border-top: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .8rem; }
.b-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.b-footer a { color: inherit; text-decoration: none; }
.b-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.b-share__label { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 600; }
.b-share__list { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.b-footer .b-share__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.b-footer .b-share__btn:hover { border-color: var(--green); background: var(--green); color: #fff; }
.b-footer .b-share__btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* The completion message is inserted with textContent (no <wbr>), so it uses normal Japanese line breaking. */
#invitation-done-message { word-break: normal; overflow-wrap: normal; }

/* --- reveal --- */
/* Hidden only where scripting runs, so the page (and the form's noscript notice) stays readable without JS. */
@media (scripting: enabled) {
    .b-reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
    .b-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .b-reveal { opacity: 1; transform: none; transition: none; }
    .b-panel__visual > *, .b-done { animation: none; }
    [data-speed], [data-drift] { animation: none; }
}
