/* Registration: quiet editorial hierarchy and ivory glass surfaces. */
.entry-section{background:radial-gradient(ellipse at 90% 15%,#e4ddce65,transparent 45%),#f8f7f3}
.entry-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;border:1px solid #fff;border-radius:999px;padding:5px;background:#efede6b3;box-shadow:inset 0 1px 1px #fff,0 5px 18px #54482e07;margin-bottom:27px}
.entry-steps li{text-align:center;border-radius:999px;padding:10px 6px;color:#6f685c;font-size:12px;letter-spacing:0}
.entry-steps li[aria-current=step]{background:#30312d;color:#f7f4ec;box-shadow:inset 0 1px 1px #fff5,0 4px 12px #0001}
.entry-steps li[aria-current=step]:after{display:none}
.entry-steps li>span{font-size:14px;margin-right:7px}
.sales-summary{padding:29px;margin:0 0 32px;border:1px solid #fff;border-radius:25px;background:linear-gradient(135deg,#ffffffad,#efebe266);box-shadow:0 16px 45px #6253380a,inset 0 1px 2px #fff;overflow:hidden;position:relative;isolation:isolate;font-size:12px;line-height:1.95}
.sales-summary::before{content:"";position:absolute;top:0;left:30px;right:30px;height:1px;background:linear-gradient(90deg,transparent,#b5a17a99,transparent);pointer-events:none}
.sales-summary p{margin:0}.sales-summary p+p{margin-top:10px}
.sales-summary .notice-heading{margin-bottom:23px}
.sales-summary .notice-kicker{font-size:9px;line-height:1.6;letter-spacing:.13em;font-weight:450;color:#776d5c;margin:0}
.sales-summary h4{font-family:var(--sans);font-size:23px;font-weight:350;letter-spacing:.025em;line-height:1.6;margin:10px 0 0}
.sales-summary .notice-deadline-note{padding:0 0 16px;border-bottom:1px solid #d8d1c4;color:#514b42;font-size:13px;line-height:1.9}
.sales-summary .notice-deadline-note p+p{margin-top:5px;color:#6a6256}
.notice-rules{display:grid;grid-template-columns:1fr 1fr;margin-top:27px;gap:24px}
.notice-rule{min-width:0}.notice-rule+.notice-rule{border-left:1px solid #d8d1c4;padding-left:24px}
.sales-summary h5{font-family:var(--sans);font-weight:450;font-size:12px;line-height:1.8;letter-spacing:.025em;margin:10px 0 0}
.sales-summary .notice-rule-lead{font-size:19px;line-height:1.6;letter-spacing:.02em;font-weight:400;margin-top:9px}
.notice-rule>p:not(.notice-kicker):not(.notice-rule-lead){color:#514b42}
.sales-summary .notice-detail{font-size:11px;line-height:1.95;color:#6a6256;border-top:1px solid #ded8cc;padding-top:12px;margin-top:14px}
.notice-receipt{margin-top:25px;padding-top:22px;border-top:1px solid #d8d1c4}
.notice-receipt>p:last-child{font-size:12px;line-height:2;color:#5c574e;margin-top:10px}
.notice-policies{margin-top:24px;padding-top:20px;border-top:1px solid #d8d1c4}
.sales-summary .legal-links{gap:8px;margin-top:13px;font-size:10px;line-height:1.6}
.sales-summary .legal-links a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 12px;border:1px solid #d4cbbb;border-radius:12px;background:#ffffff80;color:#4b4539;text-decoration:none;transition:background .25s,border-color .25s;overflow-wrap:normal}
.sales-summary .legal-links a:hover{background:#fff;border-color:#a29172}
.entry-form,.entry-review,.entry-result{padding:30px;border:1px solid #fff;border-radius:25px;background:#ffffff87;box-shadow:0 16px 45px #62533808,inset 0 1px 1px #fff}
.form-introduction{margin-bottom:29px;padding-bottom:23px;border-bottom:1px solid #d7d0c3}
.form-introduction>span{font-size:9px;letter-spacing:.13em;color:#776d5c}
.form-introduction h4{font-family:var(--sans);font-size:23px;font-weight:350;line-height:1.6;margin:10px 0 0}
.form-introduction p{font-size:12px;color:#6a6256;line-height:1.9;margin-top:10px}
.form-field>span{font-weight:450;font-size:12px;margin-bottom:9px}
.form-field small{font-size:10px;border:1px solid #ded6c8;border-radius:5px;padding:2px 5px;color:#776d5c}
.form-field input,.form-field select,.form-field textarea{border:1px solid #968b7b;border-radius:12px;background:#fffdf9;box-shadow:inset 0 1px 4px #5e4b2406;padding:13px 14px;min-height:52px}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:2px solid #8f7b5d;outline-offset:2px;border-color:#8f7b5d;background:#fff;box-shadow:0 0 0 4px #b7a58315}
.form-field input:disabled,.form-field select:disabled{opacity:.6}
.form-subheading{padding-top:26px;margin-top:4px}
.form-subheading>span{font-size:9px;letter-spacing:.13em}
.form-subheading h4{font-size:20px;font-weight:350}
.form-grid>.entry-consent{border:1px solid #d8d0c2;border-radius:12px;background:#f8f6ef80;padding:13px 14px;margin-top:0;font-size:12px}
.entry-form>.entry-consent{padding:17px;border:1px solid #d8d0c2;border-radius:14px;background:#f3efe680;font-size:12px;margin-top:22px}
.entry-consent a{text-decoration:underline;text-underline-offset:3px}
.form-total{border:1px solid #d5cbbb;border-radius:15px;background:linear-gradient(135deg,#eee8dc8c,#ffffff80);padding:20px;margin-top:28px}
.entry-donation-total{padding-inline:2px;font-size:11px;line-height:1.95}
.entry-form .form-actions .button-dark,.entry-review .form-actions .button-dark{width:100%;min-height:56px;border-radius:999px;box-shadow:inset 0 1px 2px #fff8,0 7px 18px #0001}
.form-note{font-size:11px;line-height:1.95;color:#746b5b;margin-top:15px}
.privacy-details{border-color:#d8d0c2}.privacy-details summary{font-size:12px;min-height:48px}
.entry-review h3,.entry-result h3{font-size:23px;font-weight:350}
.entry-review .review-list{border-color:#d7d0c3}
.entry-review .review-conditions{border-radius:15px;border-color:#d7d0c3;background:#f5f1e8a3}
.entry-result .receipt-id{border-radius:13px;border:1px solid #d7d0c3;padding:17px;background:#f5f1e880}
@media(max-width:1100px){.sales-summary,.entry-form,.entry-review,.entry-result{padding:24px}.notice-rules{gap:18px}.notice-rule+.notice-rule{padding-left:18px}.sales-summary .legal-links{font-size:10px;gap:7px}}
@media(max-width:760px){
 .entry-main{margin-top:32px}.entry-steps li{font-size:11px;padding:10px 4px}.entry-steps li>span{font-size:13px;margin-right:5px}
 .sales-summary,.entry-form,.entry-review,.entry-result{padding:23px 20px;border-radius:22px}
 .sales-summary .notice-heading{margin-bottom:20px}.sales-summary h4,.form-introduction h4{font-size:22px}
 .notice-rules{grid-template-columns:1fr;gap:20px;margin-top:23px}.notice-rule+.notice-rule{border-left:0;border-top:1px solid #d8d1c4;padding:20px 0 0}
 .sales-summary{font-size:13px}.notice-receipt>p:last-child{font-size:13px}.sales-summary .notice-detail{font-size:13px;border-top:0;padding-top:0;margin-top:10px}
 .sales-summary .notice-rule-lead{font-size:18px;margin-top:7px}.notice-receipt{margin-top:21px;padding-top:20px}
 .sales-summary .legal-links{display:grid;grid-template-columns:1fr;font-size:11px;gap:8px}.sales-summary .legal-links a{min-height:44px;padding:11px 12px}
 .form-grid{gap:23px}.form-introduction{margin-bottom:24px;padding-bottom:22px}.form-introduction p{font-size:12px}
 .form-field input,.form-field select,.form-field textarea{font-size:16px;padding:13px 12px}
 .form-field input::placeholder,.form-field textarea::placeholder{font-size:12px}.form-total{padding:16px}
 .entry-form>.entry-consent{padding:14px;font-size:11px}.entry-total{font-size:33px}.entry-total small{font-size:10px;margin-left:6px}
 .review-list>div{grid-template-columns:75px 1fr;gap:12px;font-size:11px}
}
@media(max-width:360px){.sales-summary,.entry-form,.entry-review,.entry-result{padding:20px 16px}.entry-total{font-size:29px}.form-total{gap:10px;padding:15px 12px}}
@media(prefers-reduced-motion:reduce){.sales-summary .legal-links a{transition:none}}
@media(forced-colors:active){.sales-summary,.entry-form,.entry-review,.entry-result,.entry-steps li[aria-current=step]{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none}.notice-deadline-note p{color:CanvasText}.entry-steps li[aria-current=step]{outline:2px solid Highlight}}

.form-field:has(input[required]) small,.form-field:has(select[required]) small{background:#e5ddcd;border-color:#b9a98a;color:#4b4232}
.sales-summary{word-break:auto-phrase;text-wrap:pretty}

/* Referral choices stay visible; only the relevant follow-up is required. */
.referral-question{border:0;padding:0;margin:0;min-width:0}
.referral-question legend{font-size:14px;font-weight:450;line-height:1.8;margin-bottom:12px}
.referral-question legend small{font-size:10px;margin-left:8px;border:1px solid #b9a98a;border-radius:5px;padding:2px 5px;background:#e5ddcd;color:#4b4232}
.referral-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.referral-options label{display:flex;align-items:center;gap:10px;min-height:52px;padding:13px 14px;border:1px solid #968b7b;border-radius:12px;background:#fffdf9;cursor:pointer;font-size:14px;line-height:1.6}
.referral-options input{appearance:auto;width:18px;height:18px;margin:0;flex:none;accent-color:#4b4232}
.referral-options label:has(input:checked){border-color:#7d6c50;background:#eee7d9;box-shadow:inset 0 0 0 1px #7d6c50}
.referral-options label:has(input:focus-visible){outline:2px solid #8f7b5d;outline-offset:3px}
@media(max-width:400px){.referral-options{grid-template-columns:1fr}}

/* 申込CTAは既存の角丸・ガラスを共有し、色と明瞭なフォーカスだけを追加する。 */
@media(forced-colors:none){
 .entry-heading h2,.entry-heading .eyebrow{color:var(--accent-color)}
 :is(.hero-actions .button[data-glass],.invitation-card[data-glass] .button-light,.closing .closing-reserve[data-glass],.evening-schedule .button[data-glass],.mobile-bar>a,.entry-form .form-actions .button-dark:not(:disabled),.entry-review .form-actions .button-dark:not(:disabled)){
  background-color:var(--action-color);background-image:linear-gradient(135deg,#ffffff0a,transparent 56%,#ffffff05);color:var(--action-ink);border-color:var(--action-border);
 }
 :is(.hero-actions .button[data-glass],.invitation-card[data-glass] .button-light,.closing .closing-reserve[data-glass],.evening-schedule .button[data-glass],.mobile-bar>a,.entry-form .form-actions .button-dark:not(:disabled),.entry-review .form-actions .button-dark:not(:disabled)):is(:hover,:focus-visible){background-color:var(--action-hover);color:var(--action-ink);border-color:var(--action-border)}
 :is(.hero-actions .button[data-glass],.invitation-card[data-glass] .button-light,.closing .closing-reserve[data-glass],.evening-schedule .button[data-glass],.mobile-bar>a,.entry-form .form-actions .button-dark:not(:disabled),.entry-review .form-actions .button-dark:not(:disabled)):focus-visible{outline:2px solid var(--accent-ivory);outline-offset:2px;box-shadow:0 0 0 4px var(--accent-color)}
 :is(.hero-actions .button[data-glass],.invitation-card[data-glass] .button-light,.closing .closing-reserve[data-glass],.evening-schedule .button[data-glass],.mobile-bar>a)::before{opacity:.35}
 :is(.hero-actions .button[data-glass],.invitation-card[data-glass] .button-light,.closing .closing-reserve[data-glass],.evening-schedule .button[data-glass],.mobile-bar>a):is(:hover,:focus-visible)::before{opacity:.45}
 :is(.hero-actions .button[data-glass],.invitation-card[data-glass] .button-light,.closing .closing-reserve[data-glass],.evening-schedule .button[data-glass],.mobile-bar>a)::after{opacity:.3}
 .hero-actions .button-kicker{opacity:1}
}
