/*
Theme Name: Kurashi-hajime v1
Author: 暮らしはじめ 編集部
Description: 暮らしはじめ（kurashi-hajime.com）専用テーマ。scripts/blog3/theme2/build.js で生成。
Version: 1.0.0
Text Domain: kurashi-hajime-v1
*/

:root{--paper:#faf8f2;--ink:#123c3d;--yellow:#f4d76f;--sage:#eaf0e5;--line:#a5b5ae;--muted:#55706c;--warn:#fbf0d1;--cream:#fbefbe;--chip:#fae9a8;--content:1100px;
  --sans:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.85;overflow-wrap:anywhere;line-break:strict}
h1,h2,h3,h4,strong,b{font-weight:700}
h1,h2,h3,p,figure{margin:0}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:5px}
img{display:block;max-width:100%;height:auto}
button,input{font:inherit;color:inherit}
button,summary{cursor:pointer}
button{border:0}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #be8e15;outline-offset:4px}
[id]{scroll-margin-top:20px}
.kh-wrap{width:calc(100% - 64px);max-width:var(--content);margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.kh-skip{position:absolute;left:16px;top:-100px;background:var(--yellow);padding:10px;z-index:10}
.kh-skip:focus{top:10px}
.kh-arrow{font-weight:400;font-size:23px;line-height:1;flex:none}

/* ===== ヘッダー ===== */
.kh-head{display:grid;grid-template-columns:240px minmax(0,1fr) 180px;gap:22px;align-items:end;padding-block:10px 14px;border-bottom:1px solid var(--ink)}
.kh-tagline{font-size:11px;font-weight:700;letter-spacing:.06em;white-space:nowrap}
.kh-brand{display:flex;align-items:center;gap:7px;font-size:28px;line-height:1.5;font-weight:700;letter-spacing:.045em;white-space:nowrap}
.kh-brand:hover{text-decoration:none}
.kh-brand img{width:48px;height:48px;flex:none}
.kh-nav{display:flex;justify-content:space-between;gap:13px;padding-bottom:6px;font-size:13px;font-weight:700;line-height:1.6;white-space:nowrap}
.kh-search{position:relative;align-self:center}
.kh-search summary{list-style:none;display:flex;align-items:center;gap:7px;border:1px solid #8b9e9a;padding:6px 10px;font-size:12px;white-space:nowrap;background:#fffefa;color:var(--muted)}
.kh-search summary::-webkit-details-marker{display:none}
.kh-search-icon{width:20px;height:20px;flex:none;color:var(--ink)}
.kh-search-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:5;width:300px;max-width:calc(100vw - 32px);background:var(--paper);padding:12px;border:1px solid var(--line);box-shadow:0 4px 12px #123c3d15}
.kh-search-panel label{font-size:14px;display:block;margin-bottom:6px}
.kh-sform{display:flex;gap:6px}
.kh-sform input{min-width:0;width:100%;border:1px solid var(--line);padding:7px 8px;background:#fff;font-size:16px}
.kh-sform button{flex:none;background:var(--yellow);padding:6px 12px;font-weight:700}

/* ===== トップ：看板（文章と写真を横に。写真に文字は重ねない） ===== */
.kh-hero{display:grid;grid-template-columns:46% 54%;align-items:stretch}
.kh-hero-copy{padding:26px 25px 24px 0;align-self:center}
.kh-eyebrow{display:inline-block;background:var(--yellow);font-size:14px;font-weight:700;line-height:1.6;padding:3px 9px;margin-bottom:13px}
.kh-hero h1{font-size:38px;line-height:1.4;letter-spacing:.02em;margin-bottom:8px}
.kh-hero-intro{font-size:17px;line-height:1.65}
.kh-ybtn{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;background:var(--yellow);font-weight:700;padding:12px 22px;line-height:1.6;min-height:48px}
.kh-ybtn:hover{text-decoration:none;background:#f0cd52}
.kh-hero .kh-ybtn{margin-top:17px;font-size:15px}
.kh-hero-photo{min-width:0;display:block}
.kh-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center;min-height:298px}

/* ===== まずは、ここから ===== */
.kh-start{background:var(--sage)}
.kh-start-in{display:grid;grid-template-columns:165px repeat(3,minmax(0,1fr));gap:18px;padding-block:23px}
.kh-start-in h2{font-size:20px;align-self:start;border-bottom:1px solid var(--ink);padding-bottom:9px;margin-top:6px}
.kh-start-item{display:flex;gap:14px;position:relative;min-width:0}
.kh-start-item:hover{text-decoration:none}
.kh-start-item:hover h3{text-decoration:underline;text-underline-offset:5px}
.kh-start-item+.kh-start-item{border-left:1px solid var(--line);padding-left:18px}
.kh-num{flex-shrink:0;white-space:nowrap;color:var(--yellow);font-size:36px;font-weight:700;line-height:1.2;letter-spacing:.01em}
.kh-start-item h3{font-size:17px;line-height:1.6;margin-bottom:4px}
.kh-start-item p{font-size:12px;line-height:1.7;padding-right:16px}
.kh-start-item .kh-arrow{position:absolute;right:0;bottom:0;font-size:18px}

/* ===== トップ下段・一覧の共通 ===== */
.kh-lower{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;padding-block:22px 55px}
.kh-sec-head{display:flex;align-items:center;gap:18px;margin-bottom:15px}
.kh-sec-head h2{font-size:22px;line-height:1.5;flex:none}
.kh-sec-head::after{content:"";height:1px;background:var(--ink);flex:1}
.kh-sec-head>a{font-size:12px;font-weight:700;order:2;white-space:nowrap}
/* 記事の行（写真＋文字を罫線で区切る。角丸カードの格子にはしない） */
.kh-row{display:grid;grid-template-columns:185px minmax(0,1fr) 20px;gap:23px;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid var(--line);align-items:center}
.kh-row-img{display:block}
.kh-row-img img{width:100%;aspect-ratio:1.9;object-fit:cover;background:var(--sage)}
.kh-chip{display:inline-block;background:var(--chip);font-size:12px;line-height:1.6;padding:1px 8px;font-weight:700;margin-bottom:4px}
.kh-chip:empty{display:none}
.kh-row h3{font-size:18px;line-height:1.5;margin-bottom:5px}
.kh-row p{font-size:14px;line-height:1.65;color:#2b4f4f}
.kh-empty{padding:30px 0;color:var(--muted);text-align:center;grid-column:1 / -1}

/* 右の欄：新生活チェックリスト */
.kh-check{background:var(--cream);padding:20px 22px;align-self:start}
.kh-check h2{font-size:21px;line-height:1.5;border-bottom:1px solid var(--ink);padding-bottom:8px;margin-bottom:12px}
.kh-check>p{font-size:14px;line-height:1.8;margin-bottom:12px}
.kh-check-list{list-style:none;padding:0;margin:0}
.kh-check-list li{margin:0 0 14px}
.kh-check-list label{display:flex;gap:14px;align-items:flex-start;cursor:pointer;font-size:15px;font-weight:700;line-height:1.65}
.kh-check-list input{appearance:none;-webkit-appearance:none;width:16px;height:16px;border:1.5px solid var(--ink);margin:5px 0 0;flex:none;background:var(--paper);display:grid;place-content:center;border-radius:0}
.kh-check-list input:checked::after{content:"✓";font-size:14px;line-height:1}
.kh-check-list small{display:block;font-size:12px;font-weight:400;line-height:1.75;margin-top:2px}
.kh-textlink{display:block;text-align:right;font-weight:700;font-size:13px;border-top:1px solid var(--ink);padding-top:8px;text-decoration:underline;text-underline-offset:4px}
.kh-room-art{width:100%;margin-top:12px;mix-blend-mode:multiply}
.kh-side{display:flex;flex-direction:column;gap:22px;min-width:0}
.kh-catbox h2{font-size:18px;line-height:1.5;border-bottom:1px solid var(--ink);padding-bottom:8px;margin-bottom:4px}
.kh-catbox ul{list-style:none;margin:0;padding:0}
.kh-catbox li{border-bottom:1px solid var(--line)}
.kh-catbox a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;font-size:14px;font-weight:700}
.kh-catbox .kh-arrow{font-size:17px}

/* ===== フッター（ふつうの流れ。画面下に固定しない） ===== */
.kh-foot{border-top:1px solid var(--line);padding-block:25px 30px;font-size:13px}
.kh-foot-in{display:flex;justify-content:space-between;gap:20px;align-items:center}
.kh-foot-name{font-weight:700;font-size:19px}
.kh-foot-in p{font-size:12px}
.kh-foot-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:8px;font-size:12px}
.kh-foot-links a{white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.kh-totop{text-decoration:underline;text-underline-offset:4px;white-space:nowrap}

/* ===== パンくず ===== */
.kh-crumb{font-size:12px;color:var(--muted);padding-block:15px 19px}
.kh-crumb ol{list-style:none;padding:0;margin:0;display:flex;gap:10px;flex-wrap:wrap}
.kh-crumb li+li::before{content:"/";padding-right:10px}

/* ===== 記事ページ ===== */
.kh-art{display:grid;grid-template-columns:minmax(0,1fr) 270px;column-gap:30px;padding-bottom:55px;align-items:start}
.kh-art-main{min-width:0}
.kh-art-head .kh-chip{font-size:14px;padding:3px 10px;margin-bottom:8px}
.kh-art-head h1{font-size:33px;line-height:1.45;letter-spacing:.015em;margin-bottom:10px}
.kh-by{font-size:13px;line-height:1.8}
.kh-pr{font-size:11px;color:var(--muted);line-height:1.8;margin-top:6px}
/* アイキャッチは切り抜かない（移ってくる記事の画像は題名の文字入り） */
.kh-eye{margin:14px 0 18px}
.kh-eye img{width:100%;height:auto;background:var(--sage)}
.kh-art-side{border-left:1px solid var(--line);padding-left:18px;min-width:0;display:flex;flex-direction:column;gap:18px}
.kh-art-side .kh-check{padding:16px 18px}
.kh-art-side .kh-check h2{font-size:18px}
.kh-art-side .kh-check-list label{font-size:14px}
.kh-art-side .kh-check-list li{margin-bottom:10px}
/* 目次（本文のh2から自動で作る） */
.kh-toc-h{font-weight:700;margin:0;font-size:21px;line-height:1.5;border-bottom:1px solid var(--ink);padding-bottom:8px}
.kh-toc ol{list-style:none;padding:0;margin:0;counter-reset:khtoc}
.kh-toc li{border-bottom:1px solid var(--line);counter-increment:khtoc}
.kh-toc li:last-child{border-bottom:0}
.kh-toc a{display:flex;align-items:center;gap:14px;padding:11px 0;font-size:14px;line-height:1.6}
.kh-toc a::before{content:counter(khtoc,decimal-leading-zero);color:var(--yellow);font-weight:700;font-size:24px;line-height:1.1;flex:none;min-width:1.4em}
.kh-toc-inline{display:none}

/* 本文 */
.kh-entry{font-size:16px;line-height:1.9;counter-reset:khh2}
.kh-entry p{margin:0 0 16px}
.kh-entry h2{position:relative;font-size:25px;line-height:1.6;border-top:1px solid var(--line);padding:18px 0 0 54px;margin:34px 0 15px;counter-increment:khh2}
.kh-entry h2::before{content:counter(khh2,decimal-leading-zero);position:absolute;left:0;top:14px;color:var(--yellow);font-size:29px;line-height:1.5}
.kh-entry h3{font-size:20px;line-height:1.65;margin:26px 0 10px;padding-left:13px;border-left:3px solid var(--yellow)}
.kh-entry ul,.kh-entry ol{padding-left:1.35em;margin:10px 0 22px}
.kh-entry li{margin:.3em 0}
.kh-entry a{text-decoration:underline;text-decoration-color:#d9b43a;text-decoration-thickness:2px;text-underline-offset:4px}
.kh-entry table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.85;margin:20px 0 12px}
.kh-entry th,.kh-entry td{text-align:left;vertical-align:top;border:1px solid var(--line);padding:12px}
.kh-entry th{background:var(--sage);font-weight:700}
.kh-entry sup{font-size:.7em;line-height:0}
/* 記事の中の目次（スマホだけ見せる。PCは右の欄の目次） */
.kh-entry .kh-toc-inline{margin:26px 0 8px}
.kh-entry .kh-toc-inline .kh-toc-h{margin:0}
.kh-entry .kh-toc-inline ol{margin:0;padding:0}
.kh-entry .kh-toc-inline li{margin:0}
.kh-entry .kh-toc a{text-decoration:none}
/* 関連記事 */
.kh-related{margin-top:34px}
.kh-related>h2{font-size:23px;margin-bottom:18px;border-bottom:1px solid var(--ink);padding-bottom:8px}

/* ===== 移ってくる記事の部品（旧サイトの skt-*）を新しい色に =====
   元: seikatsu/assets/skt_parts.html。形は同じ働きのまま、色と角を見本（深緑・黄・セージ）に合わせる */
.kh-entry .skt-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:18px 0}
.kh-entry .skt-table{width:100%;min-width:480px;border-collapse:collapse;font-size:14.5px;margin:0;background:#fffefa}
.kh-entry .skt-table th{background:var(--sage);color:var(--ink);padding:11px 13px;font-size:14px;border:1px solid var(--line)}
.kh-entry .skt-table td{padding:11px 13px;border:1px solid var(--line);background:#fffefa}
.kh-entry .skt-table .skt-rowhead{font-weight:700;background:#f3f6ef}
.kh-entry .skt-num{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;background:linear-gradient(transparent 64%,#f7e3a0 64%)}
.kh-entry .skt-cmp th,.kh-entry .skt-cmp td{text-align:center;vertical-align:middle}
.kh-entry .skt-cmp .skt-feat{text-align:left;background:#f3f6ef;font-weight:700;font-size:13.5px;width:26%}
.kh-entry .skt-cmp thead th.skt-best{background:var(--yellow);color:var(--ink)}
.kh-entry .skt-cmp td.skt-best{background:var(--cream)}
.kh-entry .skt-badge{display:inline-block;background:var(--ink);color:var(--paper);font-size:11px;padding:1px 10px;margin-bottom:4px;letter-spacing:.06em}
.kh-entry .skt-ok{color:#2c6e49;font-weight:700}
.kh-entry .skt-ng{color:#8a9a95;font-size:13px}
.kh-entry .skt-quick th,.kh-entry .skt-quick td{text-align:right}
.kh-entry .skt-quick th:first-child,.kh-entry .skt-quick td:first-child{text-align:left;font-weight:700}
.kh-entry .skt-quick tr.skt-hl td{background:var(--cream);border-top:2px solid var(--yellow);border-bottom:2px solid var(--yellow);font-weight:700}
.kh-entry .skt-quick .skt-note{font-size:12px;color:var(--muted);font-weight:400}
.kh-entry .skt-tbl-answer{font-size:15px;margin:6px 0 20px}
.kh-entry .skt-tbl-answer b{background:linear-gradient(transparent 60%,#f7e3a0 60%)}
/* 申し込みボタン（見本の広告の箱のボタンと同じ：深緑の地・生成りの字・→） */
.kh-entry .skt-cta{display:flex;align-items:center;justify-content:center;gap:14px;max-width:460px;margin:22px auto 6px;background:var(--ink);color:var(--paper);text-align:center;font-weight:700;font-size:16px;line-height:1.6;padding:13px 22px;min-height:52px;text-decoration:none}
.kh-entry .skt-cta::after{content:"→";font-weight:400;font-size:21px;line-height:1;flex:none}
.kh-entry .skt-cta:hover{background:#0b2d2e;text-decoration:none}
.kh-entry .skt-micro{display:block;text-align:center;font-size:12.5px;color:var(--muted);margin:0 0 16px}
.kh-entry .skt-author{border-top:1px solid var(--ink);border-bottom:1px solid var(--line);padding:14px 2px;font-size:13.5px;line-height:1.8;margin:30px 0 10px;color:#2b4f4f}
.kh-entry .skt-branch{background:var(--sage);border-left:3px solid var(--ink);padding:14px 18px;margin:18px 0}
.kh-entry .skt-branch .skt-branch-t{font-weight:700;font-size:16px;margin-bottom:6px}
.kh-entry .skt-branch p:last-child{margin-bottom:0}
.kh-entry .skt-rank{display:inline-block;font-size:12px;font-weight:700;padding:1px 9px;letter-spacing:.03em;line-height:1.7;white-space:nowrap;vertical-align:2px}
.kh-entry .skt-rank.r1{background:var(--yellow);color:var(--ink)}
.kh-entry .skt-rank.r2{background:var(--sage);color:var(--ink);border:1px solid var(--line)}
.kh-entry .skt-rank.r3{background:transparent;color:var(--muted);border:1px solid var(--line)}
.kh-entry h3 .skt-rank{margin-right:6px}
.kh-entry .skt-guide{border:1px solid var(--ink);border-left:6px solid var(--yellow);background:#fffefa;padding:14px 18px;margin:20px 0}
.kh-entry .skt-guide .skt-guide-t{font-weight:700;font-size:16px;margin-bottom:4px}
.kh-entry .skt-guide p{margin:0 0 8px;font-size:15px;line-height:1.75}
.kh-entry .skt-guide p:last-child{margin-bottom:0}
.kh-entry .skt-guide a{font-weight:700}
/* 口コミの引用（吹き出し・人のアイコンは使わない。左の線で「他の人の声」だと分かるようにする） */
.kh-entry .skt-quotes{margin:18px 0}
.kh-entry .skt-quotes-t{font-weight:700;font-size:16px;margin:0 0 8px}
.kh-entry .skt-quote{background:#fffefa;border-left:4px solid var(--line);padding:12px 16px;margin:14px 0;font-size:15px;line-height:1.85;color:#24494a}
.kh-entry .skt-quote.neg{border-left-color:#c9a14a;background:var(--warn)}
.kh-entry .skt-quote.pos{border-left-color:#7fa38c;background:#f1f5ec}
.kh-entry .skt-quote.neutral{border-left-color:var(--line)}
.kh-entry .skt-quote .skt-src{display:block;margin-top:6px;font-size:12px;color:var(--muted);font-style:normal}
.kh-entry .skt-quote .skt-src::before{content:"― "}
.kh-entry .skt-mark{background:linear-gradient(transparent 60%,#f7e3a0 60%);font-weight:700;padding:0 1px}
.kh-entry .skt-mark.warn{background:linear-gradient(transparent 60%,#f4cfb6 60%)}
.kh-entry .skt-key{font-weight:700;color:var(--ink);border-bottom:2px solid var(--yellow)}
.kh-entry .skt-bridge{margin:26px 0 4px;padding:14px 18px;border-left:3px solid var(--yellow);background:#fffefa}
.kh-entry .skt-bridge p{margin:8px 0;font-size:15.5px;line-height:1.9}
.kh-entry .skt-bridge p:first-child{margin-top:0}
.kh-entry .skt-bridge p:last-child{margin-bottom:0}
.kh-entry .skt-bridge .skt-bridge-q{font-weight:700;font-size:16px}
/* 要点の箱（見本の「この記事でわかること」と同じ形：セージの地・左の深緑の線・黄色の丸） */
.kh-entry .skt-point{background:var(--sage);border-left:4px solid var(--ink);padding:12px 20px;margin:20px 0;font-size:15px;line-height:1.85}
.kh-entry .skt-point .skt-point-t{display:block;font-weight:700;font-size:18px;line-height:1.6;margin-bottom:4px}
.kh-entry .skt-point ul{margin:4px 0 0;padding:0;list-style:none}
.kh-entry .skt-point li{position:relative;margin:4px 0;padding-left:19px}
.kh-entry .skt-point li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--yellow)}
.kh-entry .skt-point p{margin:0 0 8px}
.kh-entry .skt-point p:last-child{margin-bottom:0}
.kh-entry .skt-officialquote,.kh-entry .skt-point-body{border-left:2px solid var(--line);padding-left:12px;color:#24494a}

/* ===== 一覧ページ ===== */
.kh-list-head{padding-block:18px 8px}
.kh-list-head h1{font-size:30px;line-height:1.45}
.kh-list-head p{font-size:14px;color:var(--muted);margin-top:4px}
.kh-pager,.nav-links{display:flex;justify-content:center;gap:8px;margin:30px 0 0;flex-wrap:wrap}
.kh-pager a,.kh-pager span,.nav-links a,.nav-links span{min-width:40px;text-align:center;padding:7px 12px;border:1px solid var(--line);font-size:14px;background:#fffefa}
.nav-links .current{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* ===== 固定ページ・お問い合わせ ===== */
.kh-page{max-width:820px;padding-bottom:55px}
.kh-page h1{font-size:30px;line-height:1.45;margin:6px 0 20px}
.kh-page .kh-entry h2{padding-left:0}
.kh-page .kh-entry h2::before{content:none}
.wpcf7-form label{display:block;font-size:15px;font-weight:700;line-height:1.7}
.wpcf7-form-control-wrap{display:block;margin-top:6px}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 input[type=url],.wpcf7 textarea{display:block;width:100%;padding:10px 12px;border:1px solid var(--line);background:#fff;font:inherit;font-size:16px;line-height:1.6}
.wpcf7 textarea{min-height:180px;resize:vertical}
.wpcf7 .wpcf7-submit{-webkit-appearance:none;appearance:none;background:var(--ink);color:var(--paper);border:0;padding:13px 34px;font:inherit;font-weight:700;cursor:pointer;min-width:220px}
.kh-404{text-align:center;padding-block:40px 60px}
.kh-404 .kh-sform{max-width:420px;margin:20px auto}

/* ===== 広い画面（1500px以上）は見本どおり少し大きく ===== */
@media (min-width:1500px){
  :root{--content:1380px}
  .kh-head{grid-template-columns:280px 1fr 220px;gap:36px}
  .kh-brand{font-size:34px}
  .kh-nav{font-size:15px}
  .kh-search summary,.kh-tagline{font-size:13px}
  .kh-hero h1{font-size:48px}
  .kh-hero-copy{padding-block:35px}
  .kh-hero-photo img{min-height:375px}
  .kh-hero-intro{font-size:20px}
  .kh-hero .kh-ybtn{font-size:17px}
  .kh-start-in{grid-template-columns:200px repeat(3,1fr);gap:24px}
  .kh-start-item h3{font-size:21px}
  .kh-start-item p{font-size:14px}
  .kh-lower{grid-template-columns:minmax(0,1fr) 340px;gap:40px}
  .kh-row{grid-template-columns:235px 1fr 24px}
  .kh-row h3{font-size:22px}
  .kh-row p{font-size:16px}
  .kh-art{grid-template-columns:minmax(0,1fr) 340px;column-gap:40px}
  .kh-art-head h1{font-size:42px}
}
/* ===== 中くらい（701〜1100px）：メニューを2段目へ ===== */
@media (max-width:1100px) and (min-width:701px){
  .kh-head{grid-template-columns:1fr 190px}
  .kh-nav{grid-column:1 / -1;grid-row:2;font-size:14px;justify-content:flex-start;gap:30px;flex-wrap:wrap}
  .kh-search{grid-column:2;grid-row:1}
  .kh-hero h1{font-size:32px}
  .kh-hero-copy{padding-right:18px}
  .kh-hero .kh-ybtn{padding-inline:14px;font-size:14px}
  .kh-start-in{grid-template-columns:1fr 1fr 1fr}
  .kh-start-in h2{grid-column:1 / -1;width:max-content}
  .kh-lower{grid-template-columns:1fr 240px;gap:20px}
  .kh-row{grid-template-columns:140px 1fr;gap:15px}
  .kh-row>.kh-arrow{display:none}
  .kh-art{grid-template-columns:minmax(0,1fr) 235px;column-gap:24px}
  .kh-art-head h1{font-size:28px}
}
/* ===== スマホ（700px以下） ===== */
@media (max-width:700px){
  .kh-wrap{width:calc(100% - 40px)}
  .kh-head{grid-template-columns:1fr 32px;gap:9px 12px;padding-block:9px 14px;border-bottom:0}
  .kh-tagline{font-size:10px;letter-spacing:.025em}
  .kh-brand{font-size:27px;gap:4px;letter-spacing:.02em}
  .kh-brand img{width:38px;height:42px}
  .kh-nav{grid-row:2;grid-column:1 / -1;justify-content:flex-start;flex-wrap:wrap;gap:8px 23px;border-top:1px solid var(--ink);padding:10px 8px 0;font-size:13px;line-height:1.8;letter-spacing:.025em}
  .kh-search{grid-row:1;grid-column:2;align-self:center}
  .kh-search summary{border:0;padding:0;background:transparent}
  .kh-search summary span{display:none}
  .kh-search-icon{width:26px;height:26px}
  .kh-search-panel{width:310px}
  .kh-hero{display:flex;flex-direction:column}
  .kh-hero-copy{padding:2px 4px 16px;width:100%}
  .kh-eyebrow{font-size:12px;padding:3px 7px;margin-bottom:12px}
  .kh-hero h1{font-size:27px;line-height:1.45;letter-spacing:0;margin-bottom:7px}
  .kh-hero-intro{font-size:16px;line-height:1.6}
  .kh-hero .kh-ybtn{font-size:14px;padding:10px 15px;gap:20px;margin-top:12px;min-height:43px}
  .kh-hero-photo img{min-height:0;aspect-ratio:2.59;width:100%;height:auto}
  .kh-start-in{display:block;padding-block:13px 8px}
  .kh-start-in h2{font-size:20px;margin:0 0 8px;padding-bottom:6px}
  .kh-start-item,.kh-start-item+.kh-start-item{gap:14px;padding:10px 25px 10px 4px;border-left:0;border-bottom:1px solid var(--line)}
  .kh-start-item:last-child{border-bottom:0}
  .kh-start-item .kh-num{font-size:32px;min-width:40px}
  .kh-start-item>div{border-left:1px solid var(--ink);padding-left:17px}
  .kh-start-item h3{font-size:17px;line-height:1.5;margin-bottom:2px}
  .kh-start-item p{font-size:12px;line-height:1.65;padding:0}
  .kh-start-item .kh-arrow{right:1px;top:25px;bottom:auto;font-size:20px}
  .kh-lower{display:block;padding-block:16px 30px}
  .kh-side{margin-top:27px}
  .kh-sec-head{gap:10px;margin-bottom:12px}
  .kh-sec-head h2{font-size:20px}
  .kh-sec-head>a{font-size:11px}
  .kh-row{grid-template-columns:110px minmax(0,1fr) 12px;gap:12px;padding-bottom:12px;margin-bottom:12px;align-items:start}
  .kh-row h3{font-size:14px;line-height:1.5;margin-bottom:4px}
  .kh-row p{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .kh-row .kh-chip{font-size:10px;padding-inline:6px}
  .kh-row>.kh-arrow{font-size:18px;align-self:center}
  .kh-check{padding:19px 21px}
  .kh-foot-in{display:block}
  .kh-totop{display:inline-block;margin-top:14px}
  .kh-foot{padding-block:22px}
  .kh-crumb{padding-block:10px 15px;border-top:1px solid var(--ink);font-size:11px}
  .kh-crumb-now{display:none}
  .kh-art{display:block;padding-bottom:30px}
  .kh-art-head .kh-chip{font-size:12px;padding:2px 8px;margin-bottom:9px}
  .kh-art-head h1{font-size:26px;line-height:1.45;letter-spacing:0;margin-bottom:10px}
  .kh-by{font-size:12px}
  .kh-pr{font-size:10px;margin-top:4px}
  /* 右の欄は本文・関連記事の後ろへ。目次は本文の中の目次を使う */
  .kh-art-side{border-left:0;padding-left:0;margin-top:26px}
  .kh-toc-side{display:none}
  .kh-entry .kh-toc-inline{display:block}
  .kh-toc-inline .kh-toc-h{font-size:20px;border-bottom:0;border-top:1px solid var(--ink);padding:7px 0 3px}
  .kh-toc-inline a{font-size:14px;gap:12px;padding:6px 0}
  .kh-toc-inline a span{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
  .kh-toc-inline a::before{font-size:22px}
  .kh-toc-inline a::after{content:"→";margin-left:auto;font-size:18px;padding-left:8px}
  .kh-entry h2{font-size:22px;line-height:1.6;padding-left:44px;margin-top:28px}
  .kh-entry h2::before{font-size:24px;top:16px}
  .kh-entry h3{font-size:19px}
  .kh-entry table,.kh-entry .skt-table{font-size:14px}
  .kh-entry th,.kh-entry td,.kh-entry .skt-table th,.kh-entry .skt-table td{padding:9px}
  .kh-entry .skt-cmp{min-width:640px}
  .kh-entry .skt-cta{max-width:none;font-size:15px;padding:12px 16px}
  .kh-entry .skt-point,.kh-entry .skt-branch,.kh-entry .skt-guide,.kh-entry .skt-bridge{padding:12px 15px}
  .kh-related{margin-top:24px}
  .kh-related>h2{font-size:21px}
  .kh-room-art{max-width:330px;margin-inline:auto}
  .kh-list-head h1{font-size:24px}
  .kh-page h1{font-size:24px}
}
/* 見出し・題名は文節で折り返す（Chrome/Edge）。行の長さもそろえる */
.kh-hero h1,.kh-art-head h1,.kh-row h3,.kh-entry h2,.kh-entry h3,.kh-list-head h1,.kh-start-item h3{word-break:auto-phrase;text-wrap:balance}
.kh-entry p,.kh-entry li,.kh-row p{text-wrap:pretty}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
