/* ===== テーマ（live-goer.com「旅の先読み」と同じ雰囲気）===== */
:root{--ink:#242321;--muted:#625e57;--green:#854024;--line:#ded9d0;--bg:#f7f6f2;--gold:#ed8853;--marker:#ffe790}
body{background:var(--bg);color:var(--ink)}
a{color:#93421b}
footer{border-top:1px solid var(--line)}
header.site-head{background:#f7f6f2;color:#242321;border-bottom:1px solid #ded9d0;position:sticky;top:0;z-index:15;font:16px/1.5 system-ui,sans-serif}
.site-head .site-head-inner{max-width:1200px;margin:auto;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.site-head a{color:inherit;text-decoration:none}.site-head a:hover{text-decoration:underline}
.site-logo{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:20px;white-space:nowrap}
.site-logo img{width:36px;height:36px;border-radius:9px}
.site-wide{display:flex;gap:12px;font-size:14px}.site-head .site-burger{display:none}
.site-head .site-wide a,.site-head .site-burger nav a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.site-head .nav-icon{width:24px;height:24px;flex:none}
@media(min-width:761px) and (max-width:1020px){.site-wide{gap:8px}.site-head .site-wide a{flex-direction:column;gap:2px;font-size:12px}}
@media(max-width:760px){.site-head .site-wide{display:none}.site-head .site-burger{display:block}
.site-burger summary{width:44px;height:44px;border-radius:12px;background:#f7e2cb;display:grid;align-content:center;justify-content:center;gap:5px;cursor:pointer;list-style:none}
.site-burger summary::-webkit-details-marker{display:none}.site-burger summary span{width:20px;height:2px;background:#443329;transition:transform .2s,opacity .2s}
.site-burger[open] summary span:nth-child(1){transform:translateY(7px) rotate(45deg)}.site-burger[open] summary span:nth-child(2){opacity:0}.site-burger[open] summary span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.site-head .site-burger nav{position:absolute;right:12px;top:100%;background:#fff;display:grid;gap:2px;padding:10px;border-radius:14px;box-shadow:0 5px 20px #34291e33;min-width:220px}
.site-burger nav a{padding:10px 12px;border-radius:10px}.site-burger nav a:hover{background:#f7f6f2;text-decoration:none}}
@media(max-width:380px){.site-head .site-head-inner{padding-inline:10px}.site-logo{font-size:17px}}
main h1,main h2,.portal h2,.hero h1{width:fit-content;max-width:100%;border-top:0;padding-top:0;padding-inline:.1em;background:linear-gradient(174deg,transparent 58%,var(--marker) 59%,var(--marker) 87%,transparent 88%)}
main h1{--marker:#ffcfaa}
main h2:nth-of-type(3n+2){--marker:#c7e6d1}main h2:nth-of-type(3n){--marker:#d5d1ee}
.portal section:nth-of-type(2) h2{--marker:#ffcfb5}.portal section:nth-of-type(3) h2{--marker:#c7e6d1}.portal section:nth-of-type(4) h2{--marker:#fff098}.portal section:nth-of-type(5) h2{--marker:#d5d1ee}.portal section:nth-of-type(6) h2{--marker:#ffcfaa}
.cta2 h2{--marker:#ffcfb5}.rule b{background:linear-gradient(transparent 62%,#ffe6ab 62%)}
.ci{vertical-align:-6px;margin-right:6px}
.hero{padding:34px 0 18px}
.hero h1{font-size:clamp(34px,7vw,64px);letter-spacing:-.05em;line-height:1.12;margin:8px 0 14px;--marker:#ffcfaa}
.hero .sub{margin:0 0 18px;color:var(--muted);font-size:16px}
.hsearch{display:flex;gap:8px;max-width:640px}
.hsearch input{flex:1;padding:13px 16px;border:1px solid #ded9d0;border-radius:14px;font:inherit;background:#fff}
.hsearch button{background:#854024;border:0;border-radius:14px;padding:0 24px;font:inherit;font-weight:800;color:#fff;cursor:pointer}
.chips{display:flex;gap:9px;overflow:auto;padding:14px 0 6px;white-space:nowrap}
.chip{padding:6px 13px;border:1px solid #e4d9cd;border-radius:999px;text-decoration:none;background:#fff;font-size:14px;color:#242321;flex:none}
.chip:hover{background:#f9e6db}
/* 比較ページ・新トップ用（pages.css の上に重ねる） */
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.rt{display:inline-block;min-width:1.4em;margin-right:4px;text-align:center;font-weight:800;border-radius:6px;padding:0 3px;line-height:1.5}
.rt-a{background:#c7e6d1;color:#1f5a3d}
.rt-b{background:#fff098;color:#6b560a}
.rt-c{background:#eceeed;color:#6c7673}
.rt-n{color:#9aa5a1}
.tbl-wrap{overflow-x:auto;margin:12px 0;background:#fff;border:1px solid #e5dfd5;border-radius:16px;-webkit-overflow-scrolling:touch}
table.hk{border-collapse:collapse;width:100%;font-size:14px;min-width:560px}
table.hk.small{min-width:0;max-width:640px}
table.hk th,table.hk td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
table.hk thead th{background:#f9e6db;color:#733210;font-size:12.5px;white-space:nowrap}
table.hk tbody th{font-weight:600}
table.hk td.num{white-space:nowrap}
table.hk td.num small{margin-left:2px;color:var(--muted)}
table.hk td.rk{width:2.2em;color:var(--muted);text-align:center}
table.hk td.na{color:#9aa5a1}
table.hk tr[hidden]{display:none}
.legend,.src,.fine{font-size:12.5px;color:var(--muted);line-height:1.7}
.src{margin-top:28px;border-top:1px solid var(--line);padding-top:12px}
.rule{background:#fff;border:1px solid #e5dfd5;border-left:4px solid #ed8853;border-radius:8px;padding:10px 14px;margin:14px 0;font-size:14px}
.caution{background:#fff8e8;border:1px solid #f0dca8;border-radius:8px;padding:10px 14px;font-size:13.5px}
.cond-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.cond-list li{background:#fff;border:1px solid #e4d9cd;border-radius:999px;padding:6px 14px;font-size:14px}
.cond-list a{text-decoration:none;font-weight:600}
.notes li{margin:6px 0}
.filters{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;background:#fff;border:1px solid #e5dfd5;border-radius:16px;padding:12px 14px;margin:10px 0}
.filters input[type=search]{flex:1 1 260px;min-width:200px;padding:9px 12px;border:1px solid #ccd6d1;border-radius:8px;font:inherit}
.filters label{font-size:14px;white-space:nowrap}
.filters .count{margin-left:auto;font-size:14px}
.more{font-size:14px}
.btn{display:inline-block;background:#854024;color:#fff;border-radius:14px;text-decoration:none;font-weight:700;border:0;border-radius:10px;padding:11px 22px;font:inherit;font-weight:700;cursor:pointer}
.btn.ghost{background:#fff;color:#854024;border:1px solid #854024}
.shindan fieldset{border:1px solid #e5dfd5;background:#fff;border-radius:16px;margin:12px 0;padding:10px 16px}
.shindan legend{font-weight:700;padding:0 6px}
.shindan label{display:block;padding:6px 0}
.res li{margin:8px 0}.res small{display:block;color:var(--muted)}
/* トップ */
.portal section{margin:34px 0}
.portal h2{font-size:22px;margin:0 0 14px}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.tile{display:flex;flex-direction:column;align-items:center;gap:2px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px 8px;text-decoration:none;color:var(--ink);text-align:center}
.tile:hover{border-color:#ed8853;box-shadow:0 4px 14px rgba(52,41,30,.12)}
.tile .ti{width:46px;height:46px}.tile b{font-size:14.5px}.tile small{color:var(--muted)}
.cta2{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;background:#fff;border:2px solid #ed8853;border-radius:20px;background:linear-gradient(105deg,#fff7e8,#fff 65%);padding:20px 24px}
.cta2 h2{margin:0 0 4px}.cta2 p{margin:0}
.rgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.rbox{background:#fff;border:1px solid #e5dfd5;border-radius:20px;padding:14px 16px}
.rbox h3{margin:0 0 6px;font-size:16px}
.rbox ol{margin:0;padding-left:1.4em}
.rbox li{padding:5px 0;border-bottom:1px dashed var(--line)}
.rbox li>span{display:block;font-size:12.5px;color:var(--muted)}
.rbox .more{display:inline-block;margin-top:8px}
.mapcard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center;background:#f0e5d7;border:0;border-radius:24px;padding:16px}
.mapcard img{width:100%;height:auto;border-radius:10px;display:block}
@media(max-width:720px){.mapcard{grid-template-columns:1fr}.hsearch{flex-direction:column}.hsearch button{padding:12px}.hero{padding:30px 0 26px}}
.alist{columns:2 280px;padding-left:1.2em}
@media(max-width:720px){.hero h1{font-size:34px}.portal section{margin:26px 0}.tiles{grid-template-columns:repeat(2,1fr);gap:8px}.cta2{padding:16px}table.hk{font-size:13px}}

/* 蛍光ペンは1行ごとに引く */
main h1,.hero h1{background-size:100% 1.3em;line-height:1.3}
main h2,.portal h2{background-size:100% 1.5em;line-height:1.5}
.hero h1{line-height:1.2;background-size:100% 1.2em}
main.portal{max-width:none;margin:0;padding:0}
table.hk tbody th{min-width:9em}

/* ===== 読みやすさ（段落・サブタイトル）===== */
main{max-width:880px}
main p{line-height:1.95;margin:0 0 1.1em}
main li{line-height:1.8}
.pagesub{font-size:clamp(16px,3.6vw,19px);font-weight:700;color:#733210;margin:-4px 0 18px}
.lead{font-size:16.5px;margin:0 0 .9em}
.rule p{margin:.5em 0 0}
.howto{font-size:13.5px;color:var(--muted);margin:6px 0}
.notes{padding-left:1.3em}.notes li{margin:10px 0}
.hero .sub{font-size:clamp(16px,3.8vw,19px);font-weight:700;color:#403329;margin:0 0 8px}
.hero .sub2{font-size:14px;color:var(--muted);margin:0 0 18px;line-height:1.8}
/* 条件タイル：やわらかい角丸カード＋右下の三角 */
.eyebrow{font-size:13px;letter-spacing:.16em;color:#b08c68;font-weight:700;margin:0 0 4px}
.portal h2 em{font-style:normal;color:#b8741a}
.tile{position:relative;overflow:hidden;border:0;border-radius:24px;box-shadow:0 2px 12px rgba(52,41,30,.08);padding:18px 8px 16px;gap:6px}
.tile::after{content:"";position:absolute;right:0;bottom:0;width:46px;height:46px;background:var(--tc,#ffe3c4);clip-path:polygon(100% 0,100% 100%,0 100%);opacity:.8}
.tile:nth-child(6n+1){--tc:#ffcdcb}.tile:nth-child(6n+2){--tc:#cfe6f7}.tile:nth-child(6n+3){--tc:#ffd9b8}.tile:nth-child(6n+4){--tc:#d9efc9}.tile:nth-child(6n+5){--tc:#e0dcf3}.tile:nth-child(6n){--tc:#cfe6f7}
.tile:hover{box-shadow:0 0 0 2px #ed8853,0 6px 16px rgba(52,41,30,.14);border:0}
.tile .ti{width:64px;height:64px}.tile b{font-size:15.5px;line-height:1.4}.tile small{font-size:14px}
/* 職業ページ：ひとこと・折りたたみ・箇条書き */
.sumbox{background:#fff;border:1px solid #e5dfd5;border-radius:20px;padding:6px 20px 14px;margin:8px 0 18px}
.sumbox h2{font-size:19px;margin:14px 0 8px}
.deflead{font-size:16px;font-weight:600;margin:0 0 .6em}
.sumbox ul{margin:0;padding-left:1.2em}.sumbox li{margin:6px 0}
.fold{background:#fff;border:1px solid #e5dfd5;border-radius:16px;margin:10px 0}
.fold summary{cursor:pointer;font-weight:800;padding:14px 18px;list-style:none;position:relative;padding-right:44px}
.fold summary::-webkit-details-marker{display:none}
.fold summary::after{content:"＋";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#b8741a;font-size:20px}
.fold[open] summary::after{content:"－"}
.fold-body{padding:0 18px 14px}
.fold-body ul{padding-left:1.2em}.fold-body li{margin:8px 0}
.tasks small{margin-left:6px;color:var(--muted);white-space:nowrap}
.fine{font-size:13px}
/* 表の並べ替え */
table.hk th[data-s]{cursor:pointer;user-select:none;white-space:nowrap}
table.hk th[data-s]:hover{background:#f2d3bf}
table.hk th .sa{display:inline-block;width:1em;margin-left:2px;color:#b8741a}
table.hk th[aria-sort=ascending] .sa::after{content:"▲"}
table.hk th[aria-sort=descending] .sa::after{content:"▼"}
table.hk th[data-s]:not([aria-sort]) .sa::after{content:"↕";color:#b9a99a}
td.names{min-width:14em;line-height:1.7}
@media(max-width:760px){
 main{padding:12px 14px 36px}
 table.hk tbody th[scope=row]{position:sticky;left:0;background:#fff;box-shadow:1px 0 0 var(--line);min-width:8em;z-index:1}
 .sumbox{padding:4px 14px 12px}.fold summary{padding:13px 14px;padding-right:40px}.fold-body{padding:0 14px 12px}
 .tile .ti{width:56px;height:56px}
}
main h1{font-size:clamp(26px,5.4vw,38px)}
@media(max-width:760px){main p,main li{font-size:15.5px;line-height:1.85}.lead{font-size:16px}.legend,.fine,.src,.howto{font-size:12.5px}}
.rep{list-style:none;padding:0;display:grid;gap:10px}
.rep li{background:#fff;border:1px solid #e5dfd5;border-radius:16px;padding:12px 16px;line-height:1.7}
.rep li b{display:block;font-size:16.5px}
.rep small{display:block;color:var(--muted);margin-top:2px}
