/* P5: 層と責務ごとのスタイル。画面の同一性は算出スタイルで検証する。 */
@layer pages {
.not-found { padding: 96px 0; text-align: center; }
.not-found h1 { font-family: var(--font-sans); font-weight: 500; font-size: 1.75rem; margin: 0 0 12px; }
.not-found p { color: var(--muted); line-height: 1.8; margin: 0 0 32px; }
.not-found .button { display: inline-flex; }
.features-hero { margin-bottom: 16px; }
.features-section { margin-bottom: 16px; }
.features-section ul { margin: 0 0 12px; padding-left: 1.3em; color: var(--muted); line-height: 1.8; }
.features-section ol { margin: 0 0 12px; padding-left: 1.3em; color: var(--muted); line-height: 1.8; }
.features-cta { margin-bottom: 16px; text-align: center; }
.features-cta .hero-links { justify-content: center; }
.about-hero { margin-bottom: 16px; }
.about-dot-list { list-style: none; margin: 0; padding: 0; }
.about-dot-list li { margin: 0 0 8px; color: var(--muted); line-height: 1.8; }
.about-dot-list li:last-child { margin-bottom: 0; }
.about-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 0; padding-left: 1.3em; color: var(--muted); }
.about-section p { margin: 0 0 1em; line-height: 1.8; }
.about-section p:last-child { margin-bottom: 0; }
.about-section ul { margin: 0 0 12px; padding-left: 1.3em; color: var(--muted); line-height: 1.8; }
.about-section ol { margin: 0 0 12px; padding-left: 1.3em; color: var(--muted); line-height: 1.8; }
.news-list { display: grid; gap: 12px; margin-top: 16px; }
.news-item { border: 1px solid var(--line); background: var(--white); padding: 16px 20px; }
.news-item a { display: block; color: inherit; text-decoration: none; }
.news-item p { color: var(--muted); line-height: 1.8; margin: 0; }
.news-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.news-pagination .page-numbers { border: 1px solid var(--line); padding: 6px 12px; text-decoration: none; color: var(--ink); }
.news-pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.legal h2 { margin-top: 24px; font-size: 1.05rem; }
.legal p { line-height: 1.9; font-size: 0.95rem; }
.legal li { line-height: 1.9; font-size: 0.95rem; }
.column-hero { margin: 16px 0 24px; }
.column-hero img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--nc-300); }
.column-hero figcaption { margin-top: 8px; color: var(--nc-600); font-size: 0.875rem; line-height: 1.6; }
.features-section h3 { font-size: 1.02rem; margin: 20px 0 8px; font-family: var(--font-sans); font-weight: 700; }
.about-summary-title { font-size: 1.05rem; margin: 0 0 10px; font-family: var(--font-sans); font-weight: 700; }
.about-section h3 { font-size: 1.02rem; margin: 20px 0 8px; font-family: var(--font-sans); font-weight: 700; }
.news-item h2 { font-family: var(--font-sans); font-weight: 700; }
.column-archive { border: 0; background: transparent; }
.column-archive .news-list { gap: 40px 32px; }
.column-archive .news-item { padding: 0; border: 0; background: transparent; }
.column-archive .news-item a { height: 100%; }
.column-archive .news-item h2 { margin: 8px 0 10px; line-height: 1.5; }
.column-archive .news-item p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.column-archive .news-item a:hover h2 { color: var(--brand-accent); }
.day-pillar-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.day-pillar-grid li { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.day-pillar-number, .day-pillar-grid small { color: var(--muted, #687080); font-size: .8em; }
.day-pillar-grid a { font-weight: 600; }
@media (max-width: 700px) { .day-pillar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; } .day-pillar-grid li { padding: 8px 6px; } }
@media (max-width: 420px) { .day-pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.news-single .news-body > :is(p, ul, ol, h2, h3, h4, blockquote) { max-width: 760px; }
.about-summary { padding: 20px 24px; margin: 16px 0; background: var(--nc-50); border-left: 3px solid var(--brand-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
main.member-main > :is(.about-hero, .features-hero, .about-section, .features-section, .legal) { padding: clamp(22px, 4vw, 44px); }
main.member-main > :is(.about-hero, .features-hero) > p { max-width: 46em; font-size: 1.0625rem; line-height: 1.9; }
.about-section > p { max-width: 48em; }
.features-section > p { max-width: 48em; }
.legal > p { max-width: 48em; }
.legal > ul { max-width: 48em; }
section.about-section > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 clamp(1.375rem, 2.5vw, 1.75rem)/1.45 var(--font-sans); color: var(--nc-900); }
section.features-section > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 clamp(1.375rem, 2.5vw, 1.75rem)/1.45 var(--font-sans); color: var(--nc-900); }
.legal > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 clamp(1.375rem, 2.5vw, 1.75rem)/1.45 var(--font-sans); color: var(--nc-900); }
section.about-section > h2::before { content: ""; flex: none; width: 4px; height: 1.1em; border-radius: 2px; background: var(--brand-accent); }
section.features-section > h2::before { content: ""; flex: none; width: 4px; height: 1.1em; border-radius: 2px; background: var(--brand-accent); }
.legal > h2::before { content: ""; flex: none; width: 4px; height: 1.1em; border-radius: 2px; background: var(--brand-accent); }
.about-section > h3 { margin: 30px 0 10px; font: 700 1.125rem/1.55 var(--font-sans); color: var(--nc-900); }
.features-section > h3 { margin: 30px 0 10px; font: 700 1.125rem/1.55 var(--font-sans); color: var(--nc-900); }
.legal > h3 { margin: 30px 0 10px; font: 700 1.125rem/1.55 var(--font-sans); color: var(--nc-900); }
.legal > h2:not(:first-of-type) { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--nc-200); }
.about-toc { margin-bottom: 16px; margin: 20px 0 24px; padding: 22px 24px; border: 1px solid var(--nc-200); border-radius: var(--radius-md); background: var(--nc-0); }
.about-toc a { line-height: 1.8; color: var(--brand-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; }
.about-toc a:hover { text-decoration: underline; color: var(--brand-accent); text-decoration-color: currentColor; }
}
@layer pages {
@media (max-width: 720px) {
.about-toc ol { grid-template-columns: 1fr; }
}
}
@layer pages {
@media (min-width: 1200px) {
.column-archive .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
}
@layer pages {
@media (max-width: 600px) {
.about-summary { padding: 16px 16px; }
main.member-main > :is(.about-hero, .features-hero, .about-section, .features-section, .legal) { padding: 24px 18px; }
.about-toc { margin: 16px 0 20px; padding: 18px 16px; }
section.about-section > h2 { gap: 8px; font-size: 1.3125rem; }
section.features-section > h2 { gap: 8px; font-size: 1.3125rem; }
.legal > h2 { gap: 8px; font-size: 1.3125rem; }
.about-section > h3 { margin-top: 26px; font-size: 1.0625rem; }
.features-section > h3 { margin-top: 26px; font-size: 1.0625rem; }
.legal > h3 { margin-top: 26px; font-size: 1.0625rem; }
.legal > h2:not(:first-of-type) { margin-top: 32px; padding-top: 20px; }
}
}
/* コラム本文の相談窓口の箱（親子の相性コラム・2026-10-03）。本文と同じ読みやすい幅にそろえる。 */
.news-single .news-body > aside.help-box { max-width: 760px; margin-block: 24px; padding: 16px 20px; border: 1px solid var(--nc-300); border-radius: 8px; background: var(--nc-50); }
.news-single .news-body > aside.help-box > :first-child { margin-top: 0; }
.news-single .news-body > aside.help-box > :last-child { margin-bottom: 0; }

/* コラムの件数とカテゴリ。スマホのページ送りは前・現在・次を1行で表示する。 */
.column-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }
.column-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.column-categories a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: .875rem; text-decoration: none; color: var(--ink); }
.column-categories a[aria-current="page"] { background: var(--ink); color: var(--white); }
.column-categories a span { opacity: .75; font-size: .85em; }
.column-post-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: .85rem; }
.column-post-categories a { color: #a33623; }
.column-pagination { align-items: center; }
.column-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; }
.pagination-position { display: none; }
@media (max-width: 600px) {
    .column-pagination { flex-wrap: nowrap; gap: 8px; }
    .column-pagination .pagination-number { display: none; }
    .column-pagination .page-numbers { min-width: 44px; padding: 6px 12px; white-space: nowrap; }
    .pagination-position { display: inline; margin-left: auto; font-size: .875rem; white-space: nowrap; }
}

.day-pillar-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.day-pillar-grid .column-summary { flex-basis: 100%; }
