/* P5: 層と責務ごとのスタイル。画面の同一性は算出スタイルで検証する。 */
@layer components {
.primary { background: var(--red); color: #fffaf1; transition: background 0.2s; }
.primary:hover { background: #893425; }
.primary > span { font-size: 20px; line-height: 1; }
.birth-form { padding: 32px 35px 27px; border-right: 1px solid var(--line); min-width: 0; }
.form-title > span { font: 19px var(--font-sans); letter-spacing: 0.09em; }
.time-heading { display: flex; justify-content: space-between; align-items: center; }
.check-label input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.check-label > span { min-width: 0; }
.two-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.birth-form .primary { width: 100%; margin-top: 24px; }
.privacy-note span { margin-right: 4px; }
.wood { color: var(--wood); }
.fire { color: var(--fire); }
.earth { color: var(--earth); }
.metal { color: var(--metal); }
.water { color: var(--water); }
.status-pill { border: 1px solid #bbbcae; color: #4f544a; padding: 3px 14px; font-size: 11px; }
.evidence p { margin-top: 8px; }
.cycle-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cycle { padding: 10px 6px; text-align: center; border: 1px solid var(--line); font-size: 11px; }
.cycle b { font: 22px var(--font-sans); display: block; }
.cycle.current { border-color: var(--red); background: #f0e6dc; }
.faq-list summary span { color: var(--red); font-size: 16px; }
.faq-list details .text-button { margin-bottom: 15px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 22px; }
.close-dialog { border: 1px solid var(--line); font-size: 26px; line-height: 1; width: 44px; height: 44px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-links .button { gap: 16px; min-height: 48px; padding: 10px 20px; }
.table-scroll::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 32px; background: linear-gradient(to right, transparent, var(--white)); opacity: 0; pointer-events: none; transition: opacity var(--motion-duration-fast) var(--motion-ease-standard); }
.table-scroll.is-scrollable:not(.is-scrolled)::after { opacity: 1; }
.table-scroll .scroll-hint { position: absolute; right: 6px; bottom: 6px; font-size: 13px; line-height: 1.4; color: var(--muted); background: var(--white); border: 1px solid var(--line); padding: 2px 8px; pointer-events: none; opacity: 0; transition: opacity var(--motion-duration-fast) var(--motion-ease-standard); }
.table-scroll.is-scrollable:not(.is-scrolled) .scroll-hint { opacity: 1; }
.about-table { width: 100%; border-collapse: collapse; text-align: left; }
.news-body { color: var(--ink); line-height: 1.9; margin-top: 16px; }
.news-body p { margin: 0 0 1.2em; }
.member-card p { overflow-wrap: anywhere; }
.member-card li { overflow-wrap: anywhere; }
.member-card td { overflow-wrap: anywhere; }
.birth-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.birth-form fieldset.partner-fields { padding-top: 28px; margin-top: 24px; border-top: 1px solid #cfc7b6; }
label.compare-toggle { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid #bdad93; cursor: pointer; margin-top: 30px; }
#birth-form label.compare-toggle { font-size: 0.875rem; }
.compare-toggle input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.birth-form .location-options { margin-block: 12px 20px; }
.location-options summary { cursor: pointer; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.location-options .two-fields { gap: 10px; }
.location-options label { font-size: 14px; }
.location-options p { font-size: 14px; line-height: 1.8; }
.birth-form .custom-place { margin-block: 12px; }
.birth-form .time-basis { margin-top: 12px; }
.section-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25em 0.75em; margin-top: 1.5em; padding-top: 1em; border-top: 1px solid var(--line); }
.section-feedback-q { margin: 0; font-size: 0.85em; color: var(--nc-600); }
.section-feedback-buttons { display: flex; gap: 2px; }
.section-feedback-buttons button { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--nc-600); cursor: pointer; }
.section-feedback-buttons button:hover { background: var(--nc-100); color: var(--ink); }
.section-feedback-buttons button[aria-pressed="true"] { color: var(--red); }
.section-feedback-buttons button[aria-pressed="true"] .section-feedback-icon { fill: currentColor; fill-opacity: 0.18; }
.section-feedback-buttons button:disabled { opacity: 0.6; cursor: default; }
.section-feedback-buttons button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.section-feedback-status { flex-basis: 100%; margin: 0; min-height: 1.2em; font-size: 0.85em; color: var(--ink); }
/* 相性の問い（2026-10-04）：総合は総合点の図の直後、各分野はその分野のカードの末尾に置く。 */
.compat-chart-feedback { margin: 0 0 1.5em; }
.compat-chart-feedback .section-feedback { margin-top: 0.5em; }
.category-card .section-feedback { margin-top: 1em; padding-top: 0.75em; }
.member-card.narrow { max-width: 520px; margin: 0 auto; }
.member-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); font: inherit; }
.member-form .form-status { min-height: 1.4em; font-size: 0.9rem; color: var(--wood); margin: 0; }
.member-form.danger { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--line); }
.member-form .form-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.member-links { margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.sort-buttons button:last-child { border-right: 0; }
.badge.muted { border-color: var(--line); color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }
.rank-rarity { display: block; white-space: normal; color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.grade { display: inline-block; font-size: 0.75rem; padding: 1px 6px; border: 1px solid currentColor; margin-left: 4px; }
[data-frq-turnstile] { margin: 8px 0; min-height: 65px; }
.social-login { margin-top: 16px; }
.social-heading { margin: 0 0 10px; font-size: .875rem; font-weight: 700; color: var(--nc-800); }
.social-login .social-button + .social-button { margin-top: 8px; }
.social-login > .field-help { margin: 10px 0 0; }
.social-button { width: 100%; justify-content: center; gap: 10px; }
.social-button.is-disabled { opacity: 0.55; }
.social-login .check-label { display: block; margin-bottom: 8px; font-size: 0.9rem; }
.social-mark { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); font-weight: 700; font-family: var(--font-sans); border: 1px solid var(--line); }
.social-mark-google { color: #4285f4; }
.social-button.social-line { background: #06c755; border-color: #06c755; color: #fff; }
.social-button.social-line:hover { background: #05b34c; border-color: #05b34c; }
.social-button.social-line:active { background: #049240; border-color: #049240; }
.social-mark-line { color: #06c755; }
.social-button.social-yahoo { background: #ff0033; border-color: #ff0033; color: #fff; }
.social-button.social-yahoo:hover { background: #e6002e; border-color: #e6002e; }
.social-button.social-yahoo:active { background: #cc0029; border-color: #cc0029; }
.social-mark-yahoo { color: #ff0033; }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.85rem; margin: 16px 0 0; }
.or-divider::before { content: ""; flex: 1; border-top: 1px solid var(--line); }
.or-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.frq-dialog { width: min(420px, calc(100vw - 32px)); border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 24px; }
.frq-dialog::backdrop { background: rgba(41, 45, 40, 0.45); }
.frq-dialog p { margin: 0 0 8px; line-height: 1.8; }
.frq-dialog .form-buttons { margin-top: 16px; }
.frq-dialog.waiting #shortcut-dialog-text { display: flex; align-items: center; gap: 8px; }
.frq-dialog.waiting #shortcut-dialog-text::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--red); animation: frq-spin 0.9s linear infinite; flex: none; }
.axis-meter { display: inline-flex; gap: 3px; flex: none; }
.axis-meter i { width: 8px; height: 8px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.axis-meter i.on { background: var(--earth); border-color: var(--earth); }
.button:not(.outline):not(.danger) { background: var(--wood); border-color: var(--wood); color: #fff; }
.button:not(.outline):not(.danger):hover { background: #17493f; border-color: #17493f; color: #fff; transform: translateY(-1px); }
.button.social-line { background: #06c755; border-color: #06c755; color: #fff; }
.button.social-line:hover { background: #06c755; border-color: #06c755; color: #fff; }
.button.social-line:active { background: #06c755; border-color: #06c755; color: #fff; }
.button.social-yahoo { background: #ff0033; border-color: #ff0033; color: #fff; }
.button.social-yahoo:hover { background: #ff0033; border-color: #ff0033; color: #fff; }
.button.social-yahoo:active { background: #ff0033; border-color: #ff0033; color: #fff; }
.button:active { transform: translateY(1px); }
.button.danger:hover { background: var(--red); color: #fff; }
.member-card > p { line-height: 1.8; color: var(--muted); }
.member-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
.member-form label:not(.check-label) { margin-top: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.member-form legend { color: var(--ink); font-size: 14px; font-weight: 600; }
.member-form .check { min-height: 44px; align-items: center; }
main :is(p, li, dd, figcaption) a:visited { color: var(--brand-ink-hover); }
::selection { background: var(--brand-ink-soft); }
[tabindex]:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; box-shadow: none; }
.section-index { display: block; font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: .06em; color: var(--brand-accent); text-transform: none; }
.english-label { display: block; margin-top: 26px; font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: .06em; color: var(--brand-accent); text-transform: none; }
.button:not(.outline):not(.danger):not([class*="social-"]) { background: var(--brand-ink); border: 1px solid var(--brand-ink); color: #fff; }
.button.primary:hover { transform: translateY(-1px); background: var(--brand-ink-hover); border-color: var(--brand-ink-hover); color: #fff; }
.button:not(.outline):not(.danger):not([class*="social-"]):hover { background: var(--brand-ink-hover); border-color: var(--brand-ink-hover); color: #fff; }
.button.primary:active { background: var(--brand-ink); border-color: var(--brand-ink); }
.button:not(.outline):not(.danger):not([class*="social-"]):active { background: var(--brand-ink); border-color: var(--brand-ink); }
.button.outline { border-color: #8eaaa2; background: transparent; border: 1.5px solid var(--nc-800); color: var(--nc-800); }
.outline { font-size: 12px; border-color: #8eaaa2; background: transparent; border: 1.5px solid var(--nc-800); color: var(--nc-800); }
.button.outline:hover { background: var(--nc-0); border-color: var(--brand-ink); color: var(--brand-ink); }
.outline:hover { background: var(--nc-0); border-color: var(--brand-ink); color: var(--brand-ink); }
.button.outline:active { background: var(--nc-100); border-color: var(--brand-ink); color: var(--brand-ink); }
.outline:active { background: var(--nc-100); border-color: var(--brand-ink); color: var(--brand-ink); }
.button.danger { border: 1px solid var(--red); background: var(--fn-error); border-color: var(--fn-error); color: #fff; }
.button.danger:active { background: var(--fn-error); filter: brightness(.9); }
.text-button { border-bottom: 1px solid #a4a798; border-bottom-color: #8eaaa2; font-size: 14px; min-height: 44px; padding: 8px 0; background: none; border: 0; color: var(--brand-ink); font: 600 0.9375rem/1.5 var(--font-sans); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--nc-300); cursor: pointer; }
.sample-button { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; font-size: 12px; min-height: 44px; padding: 8px 0; background: none; border: 0; color: var(--brand-ink); font: 600 0.9375rem/1.5 var(--font-sans); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--nc-300); cursor: pointer; }
.text-button:hover { border-bottom-color: var(--wood); color: var(--brand-accent); text-decoration-color: currentColor; }
.sample-button:hover { color: var(--brand-accent); text-decoration-color: currentColor; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brand-ink); }
input[type="radio"] { width: 20px; height: 20px; accent-color: var(--brand-ink); }
.field-help { margin-top: 7px; font-size: 0.875rem; line-height: 1.7; color: var(--nc-600); }
.field-error { margin: 7px 0 0; color: var(--fn-error); font-size: 0.875rem; font-weight: 600; line-height: 1.6; }
.member-meta { font-size: 0.875rem; line-height: 1.7; color: var(--nc-600); }
.required { vertical-align: middle; display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--brand-accent-soft); color: var(--brand-accent); font-size: 0.75rem; font-weight: 700; line-height: 1.7; }
.form-error { background: #f7e8e3; font-size: 14px; line-height: 1.8; padding: 10px; margin-top: 18px; color: var(--fn-error); font-weight: 600; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-size: 32px; margin-top: 13px; line-height: 1.6; margin: 6px 0 0; font: 700 clamp(1.5rem, 2.6vw, 1.875rem)/1.35 var(--font-sans); letter-spacing: .01em; }
.section-heading > p { margin: 0; max-width: 28em; font-size: 0.9375rem; line-height: 1.8; color: var(--nc-600); }
.form-title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--nc-200); }
.form-title span { font: 700 1.125rem/1.4 var(--font-sans); color: var(--nc-900); letter-spacing: .01em; }
.form-title small { font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; color: var(--nc-600); }
.birth-form label { margin-top: 18px; }
.birth-form .time-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.check-label { font-size: 14px; line-height: 1.8; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.compare-toggle { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 14px 16px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: var(--nc-50); font-weight: 600; cursor: pointer; }
.compare-toggle:has(input:checked) { border-color: var(--brand-ink); background: var(--brand-ink-soft); }
.partner-fields { margin-top: 16px; padding: 20px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: var(--nc-50); }
.partner-fields legend { padding-top: 24px; padding: 0 6px; font-size: 1rem; font-family: var(--font-sans); }
.advanced-settings { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--nc-200); }
.advanced-settings summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.advanced-settings[open] summary span { transform: rotate(45deg); }
.advanced-settings > label:not(:first-of-type) { margin-top: 16px; }
.wareki { display: block; margin-top: 2px; color: var(--nc-600); }
.birth-form #submit-chart { width: 100%; margin-top: 20px; min-height: 56px; font-size: 1.0625rem; }
.birth-form .sample-button { width: 100%; justify-content: center; display: flex; align-items: center; gap: 6px; }
.privacy-note { text-align: center; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--nc-50); font-size: 0.875rem; line-height: 1.7; color: var(--nc-600); }
.result-footer { display: flex; justify-content: space-between; border-top: 1px solid #d8dccf; padding-top: 18px; margin-top: 57px; gap: 16px; color: var(--nc-600); font-size: 0.875rem; }
.result-next { margin: 0 0 18px; font-size: 14px; display: flex; align-items: center; justify-content: center; min-height: 48px; margin-bottom: 20px; border-radius: var(--radius-sm); background: var(--brand-ink); color: #fff; font-weight: 700; text-decoration: none; }
.reflection { font-family: var(--font-sans); font-style: normal; padding: 16px 20px; border-left: 3px solid var(--brand-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--nc-0); }
.evidence { margin-top: 15px; font-size: 0.875rem; color: var(--nc-600); }
.pending-note { padding: 14px 16px; border-radius: var(--radius-sm); background: #fbf3e4; border: 1px solid #ecd9b5; color: #5c4210; font-size: 0.9375rem; }
.result-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.score-total { display: block; font-family: var(--font-sans); font-size: 64px; line-height: 1; font: 700 clamp(2.5rem, 5vw, 3.5rem)/1.1 var(--font-sans); color: var(--nc-900); }
.score-grade { margin-top: 10px; border: 1px solid #a7402e; border-color: var(--wood); display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--nc-800); color: #fff; font-weight: 700; font-size: 0.875rem; }
.score-rarity { margin: 10px 0 0; font-size: 0.8125rem; color: var(--nc-600); }
.annual-gz { color: var(--wood); font-family: var(--font-sans); }
.method-section { padding-top: 96px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 32px; gap: 16px; }
.method-grid article { position: relative; padding: 28px; border: 1px solid var(--nc-200); border-radius: var(--radius-lg); background: var(--nc-0); }
.method-number { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-accent-soft); color: var(--brand-accent); font: 400 1.25rem/1 var(--font-pillar); }
.method-grid h3 { letter-spacing: 0.04em; font-size: 1.25rem; margin: 16px 0 8px; }
.method-grid p { font-size: 1rem; color: var(--nc-600); line-height: 1.85; }
.method-grid .english-label { display: none; }
.faq-section { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; margin-top: 100px; padding-block: 48px; border-top: 1px solid var(--line); padding: 96px 0; }
.faq-section h2 { margin-top: 16px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.faq-list details { font-size: 15px; border: 0; border-bottom: 1px solid var(--nc-200); }
.faq-list summary { min-height: 64px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 700 1.0625rem/1.6 var(--font-sans); color: var(--nc-900); cursor: pointer; }
.faq-list details p { padding-bottom: 20px; font-size: 1rem; line-height: 1.9; color: var(--nc-800); }
.dialog-heading h2 { font-size: 1.25rem; }
.member-card h1 { font-family: var(--font-sans); font-weight: 500; margin: 8px 0 12px; font-size: clamp(28px, 3vw, 38px); line-height: 1.35; font: 700 clamp(1.5rem, 3vw, 1.875rem)/1.4 var(--font-sans); }
.member-card { padding: 28px; border: 1px solid var(--nc-200); border-radius: var(--radius-lg); background: var(--nc-0); box-shadow: none; }
.member-card h2 { font-family: var(--font-sans); font-weight: 500; margin: 0 0 12px; font-size: 22px; line-height: 1.45; margin-bottom: 14px; font: 700 1.25rem/1.45 var(--font-sans); color: var(--nc-900); }
.member-card h3 { font-family: var(--font-sans); font-weight: 700; }
.frq-dialog h3 { font-size: 1.1rem; margin: 0 0 10px; font-family: var(--font-sans); font-weight: 700; }
.member-card details { border-top: 1px solid var(--nc-200); }
.sort-buttons button.active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.badge { display: inline-block; font-size: 0.72rem; padding: 2px 7px; border: 1px solid var(--earth); margin-left: 6px; vertical-align: middle; border-color: #8eaaa2; color: #386b5e; border-radius: 999px; font-weight: 700; }
.grade-scale { flex: 1 1 100%; min-width: 0; max-width: 100%; margin-top: 0; text-align: start; }
.grade-scale-scroll { overflow-x: auto; }
.grade-scale-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.grade-scale-table th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.grade-scale-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.grade-scale-table td:last-child { white-space: normal; }
.grade-scale-table tr.is-current { background: var(--el-fire-bg); }
.grade-scale-table .grade { margin-left: 0; }
.grade-scale-here { display: block; font-size: 0.75rem; font-weight: 600; color: var(--red); }
.button.primary { border-color: var(--wood); background: var(--brand-ink); border: 1px solid var(--brand-ink); color: #fff; box-shadow: none; }
.button { border: 1px solid transparent; border-color: var(--wood); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); font: 600 1rem/1.4 var(--font-sans); letter-spacing: .02em; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; box-shadow: none; }
button.button { border-color: var(--wood); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); font: 600 1rem/1.4 var(--font-sans); letter-spacing: .02em; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; box-shadow: none; }
.member-card .button { box-shadow: none; }
.sort-buttons { border-color: var(--line); border-radius: 8px; overflow: hidden; gap: 6px; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border: 0; background: none; padding: 2px 0; max-width: 100%; }
.sort-buttons::-webkit-scrollbar { display: none; }
.sort-buttons button { border-right: 1px solid var(--line); font: inherit; cursor: pointer; min-height: 40px; padding: 0 14px; border: 1px solid var(--nc-300); background: var(--nc-0); color: var(--nc-800); font-weight: 600; font-size: 0.875rem; flex: none; width: auto; min-width: 0; white-space: nowrap; writing-mode: horizontal-tb; border-radius: 999px; }
.member-card details > summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; cursor: pointer; color: var(--nc-900); }
.birth-form .time-heading label:first-child { flex: 1 1 auto; }
.birth-form .time-heading .check-label { flex: none; margin-top: 18px; }
.top-group > h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font: 700 0.9375rem/1.4 var(--font-sans); color: var(--nc-900); padding-top: 4px; }
.member-card > h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.45; letter-spacing: .02em; margin: 12px 0 24px; }
.member-card :is(p, li) > a:not(.button) { color: var(--brand-ink); font-weight: 600; text-decoration-color: color-mix(in srgb, var(--brand-ink) 42%, transparent); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.member-card .member-meta > a:not(.button) { color: var(--brand-ink); font-weight: 600; text-decoration-color: color-mix(in srgb, var(--brand-ink) 42%, transparent); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.member-card :is(p, li) > a:not(.button):hover { color: var(--brand-accent); text-decoration-color: currentColor; }
.member-card .member-meta > a:not(.button):hover { color: var(--brand-accent); text-decoration-color: currentColor; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; border: 1px solid var(--nc-300); border-radius: var(--radius-md); background: var(--nc-0); scrollbar-color: var(--nc-500) transparent; margin: 22px 0; }
.about-table caption { font-size: 18px; font-family: var(--font-sans); margin-bottom: 0; caption-side: top; padding: 13px 16px; border-bottom: 1px solid var(--nc-300); color: var(--nc-900); font: 700 1rem/1.5 var(--font-sans); text-align: left; }
.about-table th { border-bottom: 1px solid var(--line); padding: 12px 14px; border-color: var(--nc-300); color: var(--nc-800); font-size: 0.9375rem; line-height: 1.75; vertical-align: top; }
.about-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; border-color: var(--nc-300); color: var(--nc-800); font-size: 0.9375rem; line-height: 1.75; vertical-align: top; }
.about-table thead th { padding: 8px 12px; background: var(--brand-ink-soft); color: var(--brand-ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.5; }
.about-table tbody tr:nth-child(even) { background: var(--nc-50); }
.about-table th[scope="row"] { white-space: nowrap; font-family: var(--font-sans); color: var(--nc-900); font-weight: 700; }
.about-table a { color: var(--brand-ink); font-weight: 600; text-underline-offset: .2em; }
.about-table a:hover { color: var(--brand-accent); }
.row-actions { white-space: nowrap; }
.birth-form .load-profile { width: 100%; margin: 0 0 8px; }
.profile-source { min-height: 1.5em; margin: 0 0 8px; color: var(--nc-600); font-size: 0.8125rem; line-height: 1.5; }
.self-fields.from-profile :is(input:not([type="checkbox"]), select) { background-color: var(--nc-50); }
.site-breadcrumbs { margin: 0 0 16px; color: var(--nc-600); font-size: 0.8125rem; line-height: 1.7; overflow-wrap: anywhere; }
.site-breadcrumbs a { color: var(--brand-ink); text-underline-offset: 3px; }
.glossary-modal { width: min(760px, calc(100% - 24px)); max-height: min(86vh, 900px); padding: 0; overflow: hidden; }
.glossary-modal[open] { display: flex; flex-direction: column; }
.glossary-modal-link { font-size: 0.875rem; font-weight: 600; }
.glossary-modal-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--nc-0); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.glossary-modal-body[aria-busy="true"] { opacity: .55; }
/* 用語のツールチップ：うっすらした波線の下線（2026-10-03 オーナー指示）。iOS Safari は button の既定の見た目で下線を描かないため appearance を外し、-webkit- 付きでも指定する。 */
.term-tip { -webkit-appearance: none; appearance: none; display: inline; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; cursor: help; -webkit-text-decoration: underline wavy rgb(34 52 79 / 45%); text-decoration: underline wavy rgb(34 52 79 / 45%); text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-skip-ink: none; }
.term-tip:hover { color: var(--brand-ink); background: var(--brand-ink-soft); border-radius: 3px; }
.term-tip[aria-expanded="true"] { color: var(--brand-ink); background: var(--brand-ink-soft); border-radius: 3px; }
.term-pop { position: absolute; z-index: 90; padding: 14px 16px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: var(--nc-0); box-shadow: var(--shadow-float); font-size: 0.9375rem; line-height: 1.7; color: var(--nc-800); }
.term-pop p { margin: 0 0 6px; }
.term-pop-head strong { font-size: 1rem; color: var(--nc-900); margin-right: 8px; }
.term-pop-head span { font-size: 0.8125rem; color: var(--nc-600); }
.term-pop a { font-size: 0.875rem; font-weight: 600; }
.glossary-modal-body { overflow-y: auto; padding: 22px 24px 28px; overscroll-behavior: contain; }
.glossary-modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--nc-200); background: var(--nc-50); flex-shrink: 0; }
.dup-restore { margin: -4px 0 16px; font-size: 0.875rem; color: var(--nc-600); }
.dup-restore[hidden] { display: none; }
.dup-restore .text-button { min-height: 44px; margin-left: 8px; padding: 0; color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.dup-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 16px; border-radius: 10px; background: var(--brand-accent); color: #fff; box-shadow: 0 2px 8px rgba(183, 67, 43, 0.25); }
.dup-notice[hidden] { display: none; }
.dup-notice p { margin: 0; flex: 1 1 240px; line-height: 1.7; color: #fff; }
.dup-notice strong { display: block; color: #fff; font-size: 1.0625rem; }
#dup-notice #dup-open { min-height: 44px; background: #fff; border-color: #fff; color: var(--brand-accent); font-weight: 700; }
#dup-notice #dup-open:hover { background: #fbeee9; border-color: #fbeee9; color: #8f3321; }
#dup-notice #dup-open:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.dup-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; }
.dup-step { font-size: 0.8125rem; color: var(--nc-600); margin: 0 0 4px; }
.dup-reason { color: var(--brand-accent); font-weight: 600; }
.dup-choices { margin: 12px 0; padding: 0; border: 0; min-width: 0; }
.dup-choices legend { font-size: 0.875rem; font-weight: 700; margin-bottom: 8px; padding: 0; }
#dup-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#dup-choices .dup-choice { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; padding: 12px; font-weight: 400; border: 1px solid var(--nc-200); border-radius: 10px; cursor: pointer; overflow-wrap: anywhere; }
#dup-choices .dup-choice input { position: absolute; inset: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.dup-choice:has(input:focus-visible) { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
#dup-choices .dup-choice.is-selected { border: 2px solid var(--brand-ink); padding: 11px; background: var(--brand-ink-soft); }
.dup-choice > span { display: block; }
.dup-name { font-weight: 700; font-size: 1rem; color: var(--nc-900); }
.dup-meta { font-size: 0.8125rem; color: var(--nc-600); line-height: 1.6; }
.dup-note { font-size: 0.8125rem; color: var(--nc-600); line-height: 1.6; white-space: pre-line; }
.dup-keep-label { margin-top: auto; padding-top: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--brand-accent); }
.dup-choice.is-selected .dup-keep-label { color: var(--brand-ink); }
.dup-warning { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: #fbeee9; color: var(--nc-800); font-size: 0.875rem; line-height: 1.7; }
.dup-warning strong { color: var(--brand-accent); }
.dup-confirm { margin-top: 16px; padding: 14px; border: 2px solid var(--brand-accent); border-radius: 10px; background: #fbeee9; }
.dup-confirm[hidden] { display: none; }
.dup-confirm p { margin: 0 0 8px; line-height: 1.7; }
.dup-confirm-title { font-weight: 700; color: var(--brand-accent); }
.dup-confirm-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dup-confirm-buttons .button { min-height: 44px; }
#dup-dialog #dup-confirm-ok { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
#dup-dialog #dup-confirm-ok:hover { background: #8f3321; border-color: #8f3321; }
.dup-confirm-buttons #dup-confirm-cancel { background: var(--nc-0); color: var(--brand-ink); border: 1px solid var(--brand-ink); }
.dup-buttons[hidden] { display: none; }
.dup-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dup-buttons .button { min-height: 44px; }
.dup-buttons .text-button { min-height: 44px; }
.dup-buttons #dup-distinct { background: var(--nc-0); color: var(--brand-ink); border: 1px solid var(--brand-ink); }
.dup-buttons #dup-distinct:hover { background: var(--brand-ink-soft); }
#birth-form .birth-inputs { min-width: 0; }
#birth-form .birth-inputs > fieldset { min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
#birth-form .birth-inputs > fieldset > legend { width: 100%; padding: 0 0 12px; color: var(--nc-900); font: 700 1.125rem/1.5 var(--font-sans); border-bottom: 1px solid var(--nc-200); }
#birth-form .compare-toggle { margin: 0 0 28px; }
#birth-form:not(.is-pair) .self-fields > legend { display: none; }
#birth-form.is-pair .birth-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
#birth-form.is-pair .birth-year { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--nc-200); }
#birth-form.is-pair #target-year { max-width: 240px; }
.news-body .column-figure img { display: block; width: 100%; max-width: 540px; height: auto; margin: 0 auto; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: #fff; }
.news-body .column-figure figcaption { max-width: 540px; margin: .6em auto 0; font-size: .875rem; line-height: 1.6; color: var(--nc-600); }
.term-reading { font-size: .86em; color: var(--nc-600); }
.grade.grade-1 { background: #b7432b; border-color: #b7432b; color: #fff; }
.score-grade.grade-1 { background: #b7432b; border-color: #b7432b; color: #fff; }
.grade.grade-2 { background: #9e3b22; border-color: #9e3b22; color: #fff; }
.score-grade.grade-2 { background: #9e3b22; border-color: #9e3b22; color: #fff; }
.grade.grade-3 { background: #7a5a22; border-color: #7a5a22; color: #fff; }
.score-grade.grade-3 { background: #7a5a22; border-color: #7a5a22; color: #fff; }
.grade.grade-4 { background: #2e5b3e; border-color: #2e5b3e; color: #fff; }
.score-grade.grade-4 { background: #2e5b3e; border-color: #2e5b3e; color: #fff; }
.grade.grade-5 { background: #fff; border-color: #22344f; color: #22344f; }
.score-grade.grade-5 { background: #fff; border-color: #22344f; color: #22344f; }
.grade.grade-6 { background: #fff; border-color: #858175; color: #5f5c51; }
.score-grade.grade-6 { background: #fff; border-color: #858175; color: #5f5c51; }
.grade.grade-7 { background: #2a4a6b; border-color: #2a4a6b; color: #fff; }
.score-grade.grade-7 { background: #2a4a6b; border-color: #2a4a6b; color: #fff; }
.grade.grade-8 { background: #5f5c51; border-color: #5f5c51; color: #fff; }
.score-grade.grade-8 { background: #5f5c51; border-color: #5f5c51; color: #fff; }
.grade.grade-9 { background: #302e29; border-color: #302e29; color: #fff; }
.score-grade.grade-9 { background: #302e29; border-color: #302e29; color: #fff; }
.text-button.danger { color: var(--fn-error); text-decoration-color: currentColor; }
.evidence > summary { min-height: 44px; align-items: center; font-size: 0.875rem; font-weight: 600; color: var(--brand-ink); cursor: pointer; display: flex; width: fit-content; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--brand-ink-soft); gap: 10px; }
details.evidence > summary { min-height: 44px; align-items: center; font-size: 0.875rem; font-weight: 600; color: var(--brand-ink); cursor: pointer; display: flex; width: fit-content; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--brand-ink-soft); gap: 10px; }
.evidence summary { min-height: 44px; align-items: center; font-size: 0.875rem; font-weight: 600; color: var(--brand-ink); cursor: pointer; display: flex; width: fit-content; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--brand-ink-soft); gap: 10px; }
.evidence > summary::before { content: '+'; font: 500 1.125rem/1 var(--font-sans); }
.evidence[open] > summary::before { content: '−'; }
.evidence > summary::-webkit-details-marker { display: none; }
.evidence[open] { padding-bottom: 16px; }
.evidence[open] > summary { margin-bottom: 16px; }
#nav-sub-member { left: auto; right: 0; }
}
@layer components {
@media (max-width: 1050px) {
.birth-form { padding: 25px; }
}
}
@layer components {
@media (max-width: 760px) {
.birth-form { padding: 25px 21px; border-right: 0; border-bottom: 1px solid var(--line); }
.form-title > span { font-size: 18px; }
.method-grid { grid-template-columns: 1fr; padding-top: 0; }
.faq-section { display: block; margin-top: 57px; }
.faq-section h2 { margin-bottom: 23px; }
.faq-list summary span { flex-shrink: 0; }
.result-actions .outline { padding-inline: 18px; font-size: 11px; }
}
}
@layer components {
@media (max-width: 720px) {
.hero-links { flex-direction: column; align-items: stretch; }
.hero-links .button { justify-content: space-between; width: 100%; }
}
}
@layer components {
@media (max-width: 480px) {
.frq-numeric-cell { text-align: right; font-variant-numeric: tabular-nums; }
table.frq-table-stack { min-width: 0; max-width: 100%; }
.table-scroll.frq-table-stack-wrap { overflow-x: clip; }
.table-scroll.frq-table-stack-wrap::after { display: none; }
.frq-table-stack-wrap > .scroll-hint { display: none; }
.frq-table-stack thead { display: none; }
.frq-table-stack { min-width: 0; display: block; width: 100%; }
.frq-table-stack tbody { display: block; width: 100%; }
.frq-table-stack tr { display: block; width: 100%; border-bottom: 1px solid var(--line); padding: 2px 0; }
.frq-table-stack th { display: block; width: 100%; border: 0; padding: 1px 8px; overflow-wrap: anywhere; }
.frq-table-stack td { display: block; width: 100%; border: 0; padding: 1px 8px; overflow-wrap: anywhere; }
.frq-table-stack caption { display: block; width: 100%; }
.frq-table-stack th[data-label] { display: block; }
.frq-table-stack td[data-label] { display: block; }
.frq-table-stack th[data-label]::before { content: attr(data-label) "："; display: block; color: var(--muted); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400; line-height: 1.5; }
.frq-table-stack td[data-label]::before { content: attr(data-label) "："; display: block; color: var(--muted); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400; line-height: 1.5; }
table.frq-table-stack th[scope="row"] { white-space: normal; }
.frq-table-stack .frq-numeric-cell { text-align: right; }
.frq-table-stack .frq-numeric-cell::before { text-align: left; }
.frq-table-wide { min-width: max-content; }
.table-scroll > .frq-table-wide > tbody > tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
}
}
@layer components {
@media (max-width: 720px) {
.about-table { min-width: 640px; }
}
}
@layer components {
@media (max-width: 760px) {
.result-footer { margin-top: 32px; }
.status-pill { display: inline-block; margin-top: 14px; font-size: 14px; }
.hero-links .button { font-size: 14px; }
.social-login .button { font-size: 14px; }
details.evidence summary { font-size: 14px; }
.evidence li { font-size: 14px; }
.scroll-hint { font-size: 14px; }
.method-grid article p { font-size: 14px; }
.english-label { margin-top: 15px; }
.result-actions .button { font-size: 14px; }
.result-actions button { font-size: 14px; }
.result-actions .text-button { font-size: 14px; }
.table-scroll .scroll-hint { font-size: 14px; }
.member-card .or-divider { font-size: 14px; }
.or-divider span { font-size: 14px; }
html body .faq-section button { font-size: 14px; }
}
}
@layer components {
@media (prefers-reduced-motion: reduce) {
.frq-dialog.waiting #shortcut-dialog-text::before { animation: none; }
}
}
@layer components {
@media (max-width: 900px) {
.section-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
}
}
@layer components {
@media (max-width: 600px) {
.member-card { padding: 22px 18px; border-radius: var(--radius-md); }
.method-section { padding-top: 64px; }
.faq-section { padding: 64px 0; }
.method-grid article { padding: 22px 20px; }
.member-main .member-card { padding: 22px 16px; }
.member-card > h1 { font-size: 1.6875rem; margin-block: 10px 20px; }
.about-table caption { padding: 11px 12px; }
.about-table th { padding: 10px 12px; }
.about-table td { padding: 10px 12px; }
.glossary-modal-body { padding: 18px 16px 24px; }
.glossary-modal { max-height: 90vh; }
}
}
@layer components {
@media (max-width: 480px) {
#dup-choices { grid-template-columns: 1fr; }
.dup-buttons .button { flex: 1 1 100%; }
.dup-confirm-buttons .button { flex: 1 1 100%; }
.dup-buttons .text-button { margin-inline: auto; }
}
}
@layer components {
@media (max-width: 767px) {
#birth-form.is-pair .birth-inputs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
}
@layer components {
@media (max-width: 480px) {
.about-table.frq-table-stack th, .about-table.frq-table-stack td { border-bottom: 1px solid var(--line); border-color: var(--nc-300); }
}
}
@layer components {
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes frq-spin { to { transform: rotate(360deg); } }
}

@layer components {
.column-card-media { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); background: var(--nc-50); margin-bottom: 16px; }
.column-card-media .column-card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.column-link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 20px 0; list-style: none; }
.column-link-list > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.column-link-list > li > a { display: block; height: 100%; box-sizing: border-box; padding: 0; border: 0; color: var(--brand-ink); text-decoration: none; line-height: 1.6; font-weight: 600; }
.column-link-list > li > a:hover { color: var(--brand-accent); }
.column-related { margin-top: 36px; }
.column-related > h2 { font-size: 1.25rem; }
@media (max-width: 600px) { .column-link-list { grid-template-columns: 1fr; } }
}

.column-count { display: inline-flex; flex: 0 0 22px; align-items: center; justify-content: center; width: 22px; height: 22px; min-width: 22px; padding: 0; border-radius: 50%; background: #b43d28; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; position: relative; top: -7px; margin-inline-start: 3px; vertical-align: middle; white-space: nowrap; box-sizing: border-box; }

.column-summary { display: block; margin-top: 8px; color: var(--muted, #687080); font-size: .9rem; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
.column-link-title { overflow-wrap: anywhere; }
@layer components {
/* 個別の詳細ページ（相性の鑑定・相手の個人鑑定・親子の相性の結果）の戻りと、関連する鑑定への導線（2026-10-04）。 */
.detail-back { margin: 0 0 12px; }
.detail-back a, .detail-back button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--brand-ink); font: 600 .9375rem/1.4 var(--font-sans); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.detail-links { display: grid; gap: 8px; margin: 32px 0 0; }
.detail-links .button { justify-content: space-between; width: 100%; min-height: 48px; }
@media (min-width: 720px) {
.detail-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 「該当なし」の結果（2026-10-04）：札と一言を先に、説明はその下に小さく。 */
.result-none { margin: 0 0 1em; padding: 14px 16px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: var(--nc-0); }
.result-none-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--nc-900); font-weight: 700; line-height: 1.6; }
.result-none-tag { flex: none; padding: 2px 10px; border: 1px solid var(--nc-500); border-radius: 999px; color: var(--nc-600); font: 700 .8125rem/1.6 var(--font-sans); white-space: nowrap; }
.result-none-detail { margin: 8px 0 0; color: var(--nc-600); font-size: .9375rem; line-height: 1.8; }
/* パスワードの設定・再設定（確認コード方式）。手順の現在地と、6桁コードの読みやすい入力欄。 */
.step-trail { display: flex; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: step; font: 600 .8125rem/1.6 var(--font-sans); color: var(--nc-600); }
.step-trail li { flex: 1; display: flex; align-items: flex-start; gap: 8px; padding-top: 10px; border-top: 3px solid var(--nc-200); counter-increment: step; }
.step-trail li::before { content: counter(step); flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--nc-200); color: var(--nc-600); text-align: center; }
.step-trail li[aria-current="step"] { border-top-color: var(--brand-ink); color: var(--nc-900); }
.step-trail li[aria-current="step"]::before { background: var(--brand-ink); color: var(--nc-0); }
.member-form .code-input { max-width: 11em; font-size: 1.375rem; font-weight: 600; letter-spacing: .32em; text-align: center; }
#password-card .member-form { margin-top: 12px; }
#password-card > .form-status { margin: 12px 0 0; font-size: .9rem; color: var(--wood); }
/* パスワード入力欄の共通部品：目玉マーク（表示切替）と条件の達成表示。 */
.password-field { position: relative; display: block; }
.password-field > input { padding-right: 56px; }
.password-eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-md); background: none; color: var(--nc-500); cursor: pointer; }
.password-eye:hover, .password-eye[aria-pressed="true"] { color: var(--brand-ink); }
.password-eye:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.password-eye:disabled { cursor: default; opacity: .5; }
.password-rules { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: var(--nc-50); }
.password-rules > p:first-child { margin: 0 0 8px; color: var(--nc-900); font: 600 .875rem/1.6 var(--font-sans); }
.password-rules ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.password-rules li { display: flex; align-items: center; gap: 8px; color: var(--nc-600); font-size: .9375rem; line-height: 1.7; }
.password-rules li svg { flex: none; color: var(--nc-300); }
.password-rules li[data-ok="true"] { color: var(--el-wood); font-weight: 600; }
.password-rules li[data-ok="true"] svg { color: var(--el-wood); }
/* 320px 幅：人間確認（Turnstile・最小幅300px）がフォームの列幅を押し広げ、入力欄ごと画面からはみ出すのを防ぐ。 */
.member-form [data-frq-turnstile] { max-width: 100%; overflow: hidden; }
/* 命式表：1951年より前の出生に付く「古い時代の暦と時刻の扱い」の折りたたみ。 */
.chart-historic { margin-top: 8px; font-size: .875rem; line-height: 1.8; color: var(--nc-600); }
.chart-historic > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--brand-ink); font-weight: 600; }
.chart-historic ul { margin: 4px 0 0; padding-left: 1.2em; }
}

/* 鑑定結果の冒頭と、記事末尾の案内 */
.result-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: #fff; }
.result-cta p { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.8; }
.result-cta b { display: block; font-size: 16px; }
.entry-cta { margin: 48px 0 32px; padding: 28px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: #fff; }
.entry-cta p { margin: 0 0 12px; }
.entry-cta .entry-cta-title { font-size: 1.25rem; font-weight: 700; }
.entry-cta .hero-links { margin-top: 16px; }
.member-benefits-list { margin: 0 0 20px; padding-left: 1.3em; }
.member-benefits-list li { margin-bottom: 6px; }
.lp-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.persona-start { margin: 0 0 32px; }
@media (max-width: 640px) { .result-cta .button, .entry-cta .button { width: 100%; text-align: center; } }

/* 登録済みの出生情報は確認表示にまとめ、必要なときだけ編集する。 */
@layer components {
#birth-form .birth-editor { margin: 12px 0 0; padding: 0; border: 1px solid var(--nc-200); border-radius: var(--radius-sm); background: var(--nc-0); }
#birth-form .birth-editor > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 0.9375rem; line-height: 1.65; }
#birth-form .birth-editor > summary::-webkit-details-marker { display: none; }
#birth-form .birth-editor > summary > span { transform: none; }
#birth-form .birth-summary-text { min-width: 0; overflow-wrap: anywhere; }
#birth-form .birth-edit-action { flex: none; color: var(--brand-ink); font-size: 0.875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#birth-form .birth-editor[open] > summary { border-bottom: 1px solid var(--nc-200); }
#birth-form .birth-edit-fields { padding: 0 14px 14px; }
#birth-form .birth-edit-done { width: 100%; margin-top: 18px; }
#birth-form .load-profile { width: auto; min-height: 36px; padding: 6px 0; border: 0; background: none; font-size: 0.8125rem; text-decoration: underline; box-shadow: none; }
#birth-form:not(.is-pair) .self-fields.is-compact > legend { display: block; }
}

@layer components {
#birth-form .birth-summary-text strong { display: block; font-size: 0.9375rem; font-weight: 600; }
#birth-form .birth-summary-text small { display: block; margin-top: 3px; color: var(--nc-600); font-size: 0.8125rem; }
#birth-form .profile-source { margin: 8px 0 0; min-height: 0; }
#birth-form.persona-mode .compare-toggle { margin: 0 0 18px; padding: 6px 0; min-height: 0; border: 0; background: transparent; font-size: 0.875rem; }
#birth-form .persona-input-note p { margin: 8px 0; font-size: 0.875rem; line-height: 1.6; }
}
