/* 2026-09-25: readable, accessible refinements over the measured Figma layout. */
:root { --ph:#76665c; --shadow:0 3px 14px rgb(50 40 35 / 6%); --gold:#77672c; }
[hidden] { display:none!important; }
:focus-visible { outline:3px solid #b45d16!important; outline-offset:4px; }
button, a, input, select, textarea { -webkit-tap-highlight-color:transparent; }
a, button { touch-action:manipulation; }
input, select, textarea { font:inherit; }
input::placeholder, textarea::placeholder { color:#7a6d65; opacity:1; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:16px; top:12px; z-index:200; padding:12px 20px; border-radius:8px; color:white; background:var(--blue); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
main:focus, [tabindex="-1"]:focus { outline:none; }
[id] { scroll-margin-top:28px; }.crumbs { padding:0; list-style:none; }
.crumbs a:hover, .prose a, .legal a { text-decoration:underline; text-underline-offset:4px; }.soft { border:1px solid rgb(35 85 125 / 5%); }
.card { border:0; }
.tag__label { position:relative; top:-1px; }
.tag { background:var(--tag,var(--blue)); }
[style*="#8c7d3c"] { --tag:#77672c!important; }
.card__date { color:#75645a; }
.card__ttl { font-weight:700; }
.card-grid--list .card { transition:transform .25s,box-shadow .25s; }
.sec-ttl { line-height:1.25; }
.region-pending { min-height:530px; padding:40px; }
.region-pending .en { color:#fff; }
.region-pending .btn-line { margin-top:30px; }
.region-pending .area__name { font-size:64px; margin-top:26px; }
.region-pending .area__lead { max-width:800px; }
/* 2026-09-29 SOU: 都道府県の列は自動で流す（上段→右、下段→左）。左右余白なしでブラウザ端で切る */.unavailable { cursor:default; opacity:.6; }
.search input { font-size:14px; }
.search input:focus-visible { outline-offset:2px; }
.search button { width:40px; height:40px; right:5px; display:grid; place-items:center; }
.result-count { font-size:14px; color:#705e54; margin:0 0 24px; }
.chip { min-height:42px; height:auto; padding:9px 16px; }
.empty-state { padding:48px 30px; text-align:center; background:#fff; border:1px solid var(--line); border-radius:18px 18px 0 18px; }
.empty-state p { margin-top:16px; }
.empty-state .btn-line, .empty-state .btn-fill { margin-top:26px; }
.search-hit__ttl { font-size:22px; line-height:1.6; }
.prose { font-size:17px; line-height:2.05; overflow-wrap:anywhere; }
.prose p+p { margin-top:1.5em; }
.article__ttl { line-height:1.6; text-wrap:pretty; }
.toc { border:1px solid #e6e1d7; background:#fcfbf8; }
.toc a { display:inline-block; padding:5px 0; text-decoration:none; }
.toc a:hover { text-decoration:underline; }
.side { position:static; }
.tbl { overflow-x:auto; }.diagnosis-intro { max-width:820px; }
.eyebrow { color:var(--green); font-size:14px; letter-spacing:.08em; }
.diagnosis-intro .form__actions { justify-content:flex-start; margin-top:30px; }
.form .btn-fill:disabled { opacity:.6; cursor:not-allowed; }
.form__note { color:#706158; }
.cal__nav button { display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; font-size:24px; }
.menu-open { overflow:hidden; }
.drawer__close { display:none; }
@media (hover:hover) {
 .card:hover, .soft:has(>a):hover { box-shadow:0 9px 24px rgb(50 40 35 / 10%); }
}
@media (max-width:767px) {
 body { overflow-x:clip; } .topbar { padding:6px 16px; } .mv__video { width:180px; height:180px; }
 .carousel__track > li { flex-basis:82%; max-width:330px; }
 .carousel__track { padding-top:8px; padding-bottom:16px; }
 .carousel__ui { gap:10px; margin-top:6px; }
 .carousel__btn { width:44px; height:44px; }
 .carousel__dots { gap:0; }
 .carousel__dot { width:28px; height:32px; border-radius:0; background:transparent!important; position:relative; transform:none!important; }
 .carousel__dot::after { content:""; position:absolute; width:7px; height:7px; left:10px; top:12px; border-radius:50%; background:#a59185; }
 .carousel__dot.is-on::after { background:var(--blue); width:15px; left:6px; border-radius:4px; }
 .jobs .carousel__dot::after { background:#c4b9a2; }
 .jobs .carousel__dot.is-on::after { background:#fff; }
 .sec-ttl { line-height:1.5; font-size:25px; }
 .sec-head .btn-line { height:50px; } .area__name { font-size:54px; line-height:1.3; margin-left:0; }
 .area__lead { font-size:19px; line-height:1.8; }
 .area__desc { font-size:14px; line-height:1.9; }
 .region-pending { padding:28px 20px; min-height:360px; }
 .region-pending .area__name { font-size:42px; }
 .region-pending .btn-line { width:100%; }
 .phero__ttl { font-size:29px; line-height:1.55; overflow-wrap:anywhere; }
 .phero__lead { font-size:15px; line-height:1.9; }
 .psec { padding:48px 0; }
 .psec__head { gap:20px; margin-bottom:28px; }
 .h2 { font-size:26px; line-height:1.6; }
 .article { padding:26px 20px 34px; }
 .article__ttl { font-size:25px; }
 .prose { font-size:16px; line-height:2; }
 .prose h2 { font-size:21px; line-height:1.7; }
 .prose h3 { font-size:18px; line-height:1.7; }
 .tbl { display:block; max-width:100%; }
 .tbl th { min-width:95px; }
 .tbl td { min-width:130px; }
 .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .grid-2, .grid-3 { grid-template-columns:minmax(0,1fr); }
 .pref-grid[style] { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
 .data__list[style] { grid-template-columns:minmax(0,1fr)!important; }
 .profile__img { width:150px; }
 .cal__day { position:relative; min-height:65px; }
 .cal__day .cal__ev { display:block; position:absolute; inset:0; color:transparent; background:none; overflow:hidden; font-size:0; padding:0; }
 .cal__day.has-ev::after { pointer-events:none; }
 .cal__day.has-ev:focus-within { outline:2px solid var(--blue); }
 .cal__nav { flex-shrink:0; }
 .form[style] { padding:24px 18px!important; } .drawer { z-index:80; }
 .drawer__inner { width:min(360px,92vw); padding:76px 22px 32px; padding-bottom:max(32px,env(safe-area-inset-bottom)); }
 .drawer__close { position:absolute; top:16px; right:16px; display:flex; gap:12px; align-items:center; min-height:44px; padding:0 12px; font-size:14px; border:1px solid var(--line); border-radius:100px; }
 .drawer__close span { font-size:25px; }
 .drawer__sub a { min-height:44px; }
 .drawer__cat a { min-height:42px; }
 [id] { scroll-margin-top:112px; }
 .foot__lead { letter-spacing:.01em; }
 .foot__nav a { min-height:32px; }
 .foot__copy { line-height:1.8; }
}
@media (max-width:359px) { .carousel__ui { gap:4px; }
 .carousel__dot { width:25px; }
 .stat__lbl { font-size:11px; }
 .stat .num { font-size:24px; } .phero__ttl { font-size:25px; }
}
/* Adjustments from browser QA. */
.unavailable { opacity:1; color:#6d5d53; }
.two-col>* { min-width:0; }
.article-intro { font-size:18px; line-height:1.95; margin:28px 0; }
.article__foot { flex-wrap:wrap; gap:18px; }
.copy-link { height:44px; font-size:13px; padding:0 20px; }
.copy-status { width:100%; font-size:13px; color:var(--blue); }
@media(max-width:767px) { .article-intro { font-size:16px; }
 .article__meta { flex-wrap:wrap; }}

@media(max-width:767px) {
 .carousel>ul { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; margin-left:-16px; margin-right:-16px; padding:8px 16px 16px; }
 .carousel>ul>li { flex:0 0 82%; max-width:330px; scroll-snap-align:center; }
 .carousel .jobs__list>li { max-width:none; }
 .container, .grid-2, .grid-3, .two-col { min-width:0; }
}
@media(max-width:767px) {
 .phero { padding:36px 0 36px; }
 .phero .crumbs { margin-bottom:22px; }
 .search-form .btn-fill { min-height:54px; }
}
.phero__txt { min-width:0; overflow-wrap:anywhere; }
.search-hit>a { overflow-wrap:anywhere; }
.empty-state .btn-line, .empty-state .btn-fill { max-width:100%; }
@media(max-width:359px) { .empty-state { padding:30px 20px; }
 .empty-state .btn-line { font-size:13px; padding:0 16px; } }
.search-hit { grid-template-columns:minmax(0,1fr); margin-top:30px; }
.search-hit>* { min-width:0; }
.search-hit .empty-state .btn-line { display:inline-flex; box-shadow:none; padding:0 16px; }

/* Final visual pass: five editorial lines and optical spacing (SOU 2026-09-25). */
.card-grid .card { height:auto; }
.card .card__ttl--column { padding:12px 20px 16px; font-size:18px; line-height:1.4; }
.card--lg .card__ttl--column { padding:14px 20px 16px; font-size:26px; line-height:1.4; }
.card__line { display:block; white-space:nowrap; }
.card__line--accent { color:var(--tag); }
.card__date { margin-top:0; padding:0 20px 20px; }
.card-grid--list .card__ttl--column { padding-bottom:14px; }
/* The line box contains font ascender/descender space: keep painted text optically centered. */
.fcol { height:auto; align-self:start; padding:0; }
.fcol__h { height:75px; line-height:1.4; letter-spacing:.06em; }
.fcol ul { padding:0; }
.fcol li+li { margin-top:0; border-top:1px solid var(--line); }
.fcol li+li::before { content:none; }
.fcol a { position:relative; height:60px; padding:0 38px; line-height:1.4; transition:background-color .2s,color .2s; }
.fcol a .ic--arw { top:50%; transform:translateY(-50%); transition:transform .2s; }
.fcol a:is(:hover,:focus-visible) { color:var(--blue); background:#f7f3eb; }
.fcol a:is(:hover,:focus-visible) .ic--arw { transform:translate(3px,-50%); }
.sns { gap:20px; margin-top:10px; }
.sns a { width:52px; height:52px; }
.sns img { width:100%; height:100%; }
.sns a:is(:hover,:focus-visible) { background:#ffffff38; box-shadow:0 0 0 3px #ffffff33; transform:translateY(-3px); }
.foot__nav a:is(:hover,:focus-visible), .foot__copy a:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:5px; }
.foot__nav { flex-wrap:wrap; gap:12px 20px; }
.foot__top-in { height:auto; padding:30px 0; }
.foot__lead { line-height:1.5; padding-bottom:14px; }
.foot__btm-in>p:first-child { font-size:12px; }
.sec-head { height:auto; min-height:60px; align-items:center; margin-bottom:28px; }
.sec-head .sec-ttl { padding-top:0; }/* Let the last row define the panel bottom instead of leaving a fixed-height cavity. */
.events__panel { height:auto; padding:24px 20px 20px; }
.events__h3 { line-height:1.4; }
.events__list { margin-top:20px; }.btn-line:focus-visible { background-position:-100% 0; color:var(--hover-fg,#fff); }
.btn-line:focus-visible .ic { color:var(--hover-fg,#fff); --tri:var(--hover-bg,#23557d); }
@media (max-width:767px) {
 .card .card__ttl--column, .card--lg .card__ttl--column { font-size:20px; line-height:1.45; padding:14px 18px 16px; }
 .card-grid--list .card__ttl--column { font-size:clamp(22px,5vw,26px); padding-bottom:14px; }
 .card__date { padding-left:18px; }
 .sec-head { min-height:0; align-items:stretch; margin-bottom:24px; gap:18px; }
 .fcol__h { height:64px; font-size:22px; }
 .fcol a { height:56px; }
 .foot__mid-in { gap:20px; padding:28px 0; }
 .foot__top-in { padding:26px 0; gap:18px; }
 .foot__nav { gap:8px 16px; }
 .foot__lead { line-height:1.75; }
 .foot__btm-in { gap:10px; padding:20px 0; }
 .events__panel { padding:20px 12px 12px; }}

/* Adjacent unpainted sections share one section gap; footer supplies the final gap. */
.page main>.psec:not(.psec--alt)+.psec:not(.psec--alt) { padding-top:0; }
/* 2026-09-28 SOU：最後のセクションの下余白を0にして .foot の margin で空けると、body の灰色が帯になって出る（塗り足しなし）。
   余白はセクションの padding（塗りの内側）で取り、フッターは margin 0 ＋ 上 1px 罫線で区切る。 */
main>section:last-of-type:not(.foot) { padding-bottom:80px; }
.page main>.psec:last-child { padding-bottom:80px; }
.page main>.psec--cta:last-child, .page main>.psec--cta { padding-bottom:80px; }
.foot, .psec--cta + .foot { margin-top:0; border-top:1px solid var(--line); }
@media (max-width:767px){ main>section:last-of-type:not(.foot), .page main>.psec:last-child, .page main>.psec--cta { padding-bottom:50px; }
 .psec--cta + .foot { margin-top:0; } }

/* Scroll reveal must not suppress the hover treatment after an element is visible. */
.card:focus-within { box-shadow:0 8px 24px #232d3724; }

/* 2026-09-25 card__line wrap for plain-sentence cards: カード行を「人に話す文」にしたため、一覧・関連のカードでは行を折り返す（受領デザインの nowrap は詩型カードの前提）。grid は minmax(0,1fr) で長い行が列幅を押し広げないようにする */
.card-grid--list { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid--list .card__line { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 767px){
  .card-grid--list { grid-template-columns: minmax(0,1fr); }
}
