/*
Theme Name: 治療院助成金ナビ
Description: 接骨院・整骨院・鍼灸院・整体院向け 助成金専門ポータルサイト用テーマ
Author: 武蔵野メディカルシステム株式会社
Version: 0.27.5
Text Domain: chiryoin-joseikin
*/
/* レイアウト: 白地とネイビーの帯を交互に重ね、申込ボタンだけをゴールドで目立たせる。スマートフォン優先。 */
:root {
	--navy: #12305a;
	--navy-2: #123a63;
	--blue: #1f6fd1;
	--pale: #eef5fc;
	--white: #ffffff;
	--ink: #1a2433;
	--muted: #556375;
	--line: #d5e3f2;
	--cta: #f47b12;
	--cta-ink: #1c1300;
	--ok: #0f7b4f; --ok-bg: #e2f5ec;
	--soon: #1f6fd1; --soon-bg: #e4eefb;
	--end: #5b6470; --end-bg: #eceff3;
	--chk: #8a5a00; --chk-bg: #fdf1d6;
	--font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--sun: #ffd866;
	--sun-pale: #fff6d6;
	--font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	--radius: 16px;
	color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0; color: var(--navy); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem); font-weight: 900; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
.nowrap { white-space: nowrap; }
.small { font-size: .82rem; color: var(--muted); margin-top: 1rem; margin-bottom: 0; }
.lead { font-size: 1.02rem; max-width: 46em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--white); padding: .5rem 1rem; }

.wrap { max-width: 1280px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 820px; }
.band { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--white); }
.band-pale { background: var(--pale); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2 { color: var(--white); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .7rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.3 var(--font-head); text-decoration: none; text-align: center; cursor: pointer; }
.btn-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 3px 0 #c57e0b; }
.btn-cta::after { content: "→"; }
.btn-cta:hover { background: #ffb53d; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-sm { min-height: 42px; padding: .4rem 1rem; font-size: .88rem; }

/* ヘッダー */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.logo-mark { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo-name { font: 900 1.12rem/1.2 var(--font-head); letter-spacing: .02em; white-space: nowrap; }
.logo-sub { font-size: .66rem; color: var(--muted); letter-spacing: .08em; white-space: nowrap; }
.gnav { display: none; gap: .95rem; font-size: .8rem; font-weight: 500; }
.gnav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.gnav a:hover { color: var(--blue); }
.header-cta { display: none; }
.menu { position: static; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--navy); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,42,74,.12); display: grid; padding: .5rem max(16px, env(safe-area-inset-left, 0px)) 1rem; }
.menu-panel a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
@media (min-width: 1200px) {
	.logo { flex: none; }
	.gnav { display: flex; }
	.header-cta { display: inline-flex; flex: none; white-space: nowrap; }
	.menu { display: none; }
}

/* メインビジュアル */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #17508a 100%); color: var(--white); padding-block: clamp(2.2rem, 1.5rem + 4vw, 4.5rem); }
.hero-in { display: grid; gap: 2rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--navy); background: var(--white); padding: .2rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { color: var(--white); font-size: clamp(1.7rem, 1.1rem + 3.2vw, 2.9rem); font-weight: 900; letter-spacing: .01em; margin-bottom: 1rem; }
.hero-lead { color: #dbe7f5; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.5rem 1rem; }
.hero-actions .btn { flex: 1 1 260px; max-width: 360px; }
.hero-note { font-size: .78rem; color: #b9cde4; margin: 0; }
.marker { color: var(--cta); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .9rem .25rem .7rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--white); }
.hero-points li::before { content: ""; width: .5rem; height: .9rem; border: solid var(--cta); border-width: 0 3px 3px 0; rotate: 45deg; translate: 0 -2px; }
.hero-visual { min-width: 0; }
.hero-art, .hero-photo { display: block; width: 100%; height: auto; max-width: 520px; margin-inline: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.hero-photo { object-fit: cover; aspect-ratio: 13 / 10; }
.hero-visual { position: relative; padding-bottom: 3.2rem; }
.hero-devices { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .7rem; padding-inline: .5rem; }
.hero-devices li { flex: 0 1 132px; min-width: 0; background: var(--white); border-radius: 12px; padding: .45rem .45rem .35rem; box-shadow: 0 10px 24px rgba(0,0,0,.3); text-align: center; }
.hero-devices img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.hero-devices span { display: block; font-size: .66rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-top: .2rem; }
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
@media (min-width: 600px) { .device-grid { grid-template-columns: repeat(3, 1fr); } }
.device-grid a { display: grid; gap: .15rem; height: 100%; padding: .7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.device-grid a:hover { border-color: var(--blue); }
.device-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.device-grid .cat { font-size: .72rem; color: var(--muted); }
.device-grid b { font: 700 .95rem/1.35 var(--font-head); color: var(--navy); }
.hero-steps { margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hero-steps { display: grid; gap: .6rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 1.1rem; }
.hero-steps li { display: flex; gap: .8rem; align-items: center; font-size: .86rem; color: #dbe7f5; }
.hero-steps b { display: block; color: var(--white); font-size: .98rem; }
.num { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-content: center; font: 900 .95rem/1 var(--font-head); background: var(--white); color: var(--navy); font-variant-numeric: tabular-nums; }
.hero-steps li:nth-child(2) .num { background: var(--cta); color: var(--cta-ink); }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }

/* メインビジュアル（明るい雰囲気） */
.hero2 { background: #e6edf6; color: var(--navy); padding-block: clamp(1.6rem, 1rem + 3vw, 3.2rem) clamp(2rem, 1.5rem + 2vw, 3rem); overflow: hidden; }
.hero2-in { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem .5rem; align-items: center; }
.hero2-main { grid-column: 1 / -1; order: -1; text-align: center; min-width: 0; }
.hero2-arch { margin: 0 0 .7rem; font: 700 clamp(.8rem, .62rem + .75vw, 1.15rem)/1.5 "Zen Maru Gothic", var(--font-head); color: var(--blue); letter-spacing: .04em; }
.hero2-arch span { display: inline-block; padding-inline: 1.2em; background: radial-gradient(circle, var(--blue) 2px, transparent 2.5px) left center / 6px 8px repeat-y, radial-gradient(circle, var(--blue) 2px, transparent 2.5px) right center / 6px 8px repeat-y; }
.hero2-bubble { position: relative; display: inline-block; margin: 0 0 1.1rem; padding: .35rem 1.3rem; background: var(--white); border-radius: 999px; font: 700 clamp(.9rem, .8rem + .5vw, 1.15rem)/1.5 "Zen Maru Gothic", var(--font-head); }
.hero2-bubble b { color: #d6336c; font-size: 1.2em; }
.hero2-bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; translate: -50% 0; border: 9px solid transparent; border-top-color: var(--white); border-bottom: 0; }
.hero2 h1 { font: 900 clamp(2.1rem, 1.3rem + 3.6vw, 3.7rem)/1.22 "Zen Maru Gothic", var(--font-head); color: #1d2b4f; letter-spacing: .02em; margin-bottom: 1rem; }
.hero2 h1 .marker { color: inherit; background: linear-gradient(transparent 62%, #ffd866 62%); padding-inline: .06em; }
.hero2 h1 .sp { display: inline; }
.hero2-lead { max-width: 30em; margin-inline: auto; font-weight: 500; }
.hero2-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-block: 1.4rem .9rem; }
.hero2-actions .btn { flex: 1 1 250px; max-width: 340px; white-space: nowrap; padding-inline: 1rem; }
.hero2-actions .btn-cta { min-height: 60px; font-size: 1.08rem; }
.btn-line { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.hero2-note { font-size: .76rem; color: var(--muted); margin: 0; }
.hero2-side { position: relative; display: grid; justify-items: center; }
.hero2-side .figure { width: min(100%, 250px); height: auto; }
.dev { position: absolute; display: grid; place-items: center; width: 34%; max-width: 104px; aspect-ratio: 1; background: var(--white); border-radius: 50%; overflow: hidden; box-shadow: 0 6px 16px rgba(29,43,79,.14); }
.dev img { width: 74%; height: 74%; object-fit: contain; }
.dev-a { left: 0; top: 0; } .dev-b { right: 0; bottom: 4%; }
.dev-c { right: 0; top: 0; } .dev-d { left: 0; bottom: 4%; }
.sticker { position: absolute; right: -2%; bottom: 2%; display: grid; place-content: center; width: 4.6rem; aspect-ratio: 1; border-radius: 50%; background: #ffd866; color: #1d2b4f; font: 900 .88rem/1.25 "Zen Maru Gothic", var(--font-head); text-align: center; rotate: -10deg; box-shadow: 0 0 0 4px #ffd866, 0 0 0 5px rgba(29,43,79,.25); }
.hero2 .hero-steps { background: var(--white); border-color: var(--line); margin-top: 1.6rem; }
.hero2 .hero-steps li { color: var(--muted); }
.hero2 .hero-steps b { color: var(--navy); }
.hero2 .hero-steps .num { background: var(--navy); color: var(--white); }
.hero2 .hero-steps li:nth-child(2) .num { background: var(--cta); color: var(--cta-ink); }
@media (min-width: 980px) {
	.hero2-in { grid-template-columns: minmax(200px, 1fr) minmax(0, 2.1fr) minmax(200px, 1fr); gap: 1.5rem; }
	.hero2-main { grid-column: 2; grid-row: 1; order: 0; }
	.hero2-left { grid-column: 1; grid-row: 1; } .hero2-right { grid-column: 3; grid-row: 1; }
	.hero2-side { padding-block: 3.6rem; }
	.hero2 h1 .sp { display: none; }
	.dev { width: 44%; max-width: 124px; }
	.dev-b, .dev-d { bottom: 0; }
	.sticker { width: 5.4rem; font-size: 1rem; bottom: 34%; right: -4%; }
}

/* 検索 */
.search { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: end; background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.search label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--navy); min-width: 0; }
.search select, .search input { width: 100%; min-height: 48px; padding: .5rem .7rem; border: 1px solid #a9b9cc; border-radius: 8px; background: var(--white); color: var(--ink); font: 400 1rem var(--font-body); }
.search .btn { width: 100%; }

/* タイル・チップ */
.tiles { display: grid; gap: .9rem; }
.tiles-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tiles-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile { display: grid; gap: .25rem; height: 100%; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 6px; text-decoration: none; color: var(--ink); }
.tile b { font: 700 1.1rem/1.4 var(--font-head); color: var(--navy); }
.tile span { font-size: .84rem; color: var(--muted); }
.tile:hover { border-color: var(--blue); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1rem; border: 1px solid #a9b9cc; border-radius: 999px; background: var(--white); color: var(--navy); font-size: .92rem; font-weight: 500; text-decoration: none; }
.chips a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* 受付状況 */
.badge { display: inline-block; padding: .1rem .7rem; border-radius: 4px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge-open { background: var(--ok-bg); color: var(--ok); }
.badge-upcoming { background: var(--soon-bg); color: var(--soon); }
.badge-closed { background: var(--end-bg); color: var(--end); }
.badge-checking { background: var(--chk-bg); color: var(--chk); }
.kubun { display: inline-block; padding: .1rem .6rem; border-radius: 4px; font-size: .74rem; font-weight: 700; white-space: nowrap; border: 1px solid; }
.kubun-setsubi { color: #8a4b00; border-color: var(--cta); background: #fff8ea; }
.kubun-koyo { color: var(--navy-2); border-color: #a9b9cc; background: var(--white); }
.news .tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.head-row h2 { margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.news { display: grid; border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 1fr; gap: .3rem .8rem; align-items: center; padding: .9rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.news b { min-width: 0; }
.news .meta { grid-column: 1 / -1; }
.news a:hover b { color: var(--blue); }
.meta { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.more { font-weight: 700; }
.empty { background: var(--white); border: 1px dashed #a9b9cc; border-radius: var(--radius); padding: 1.2rem 1.3rem; color: var(--muted); margin: 0; }

/* 都道府県 */
.areas { display: grid; gap: .2rem; margin-top: 1rem; }
.areas > div { display: grid; gap: .3rem 1rem; padding-block: .8rem; border-top: 1px solid var(--line); }
.areas dt { font: 700 .92rem var(--font-head); color: var(--navy); }
.areas dd { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.areas a { display: inline-block; padding-block: .35rem; font-size: .92rem; }
@media (min-width: 720px) { .areas > div { grid-template-columns: 8.5em 1fr; } }

/* 流れ */
.flow { display: grid; gap: .7rem; counter-reset: none; margin-block: 1.5rem; }
.flow li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--pale); border-radius: var(--radius); }
.flow .num { background: var(--navy); color: var(--white); }
.flow b { font: 700 1.05rem/1.4 var(--font-head); color: var(--navy); }
.flow p { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }
.flow div { min-width: 0; }
.flow .is-key { background: var(--navy); }
.flow .is-key b { color: var(--white); }
.flow .is-key p { color: #dbe7f5; }
.flow .is-key .num { background: var(--cta); color: var(--cta-ink); }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
.condition { border-left: 5px solid var(--cta); background: #fff8ea; padding: .9rem 1.1rem; font-weight: 500; margin: 1rem 0 0; color: var(--ink); }

/* 連携 */
.roles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 1.2rem; }
.role { background: var(--white); border-top: 4px solid var(--navy); padding: 1.2rem 1.3rem; }
.role h3 { margin-bottom: .6rem; }
.role li { position: relative; padding-left: 1.1rem; font-size: .95rem; }
.role li::before { content: ""; position: absolute; left: 0; top: .78em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue); }

/* よくある質問 */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2.2rem 1rem .25rem; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .5rem; top: 50%; translate: 0 -50%; font-size: 1.4rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 .25rem 1.1rem; margin: 0; }

/* 申込 */
.apply { display: grid; gap: 1.8rem; align-items: center; }
.apply-text p { color: #dbe7f5; }
.apply-condition { border-left: 4px solid var(--cta); padding-left: .9rem; font-size: .92rem; }
.apply-action { display: grid; gap: 1rem; justify-items: start; }
.apply-action .btn { width: 100%; max-width: 380px; min-height: 60px; font-size: 1.1rem; }
.apply-notes { display: grid; gap: .2rem; font-size: .84rem; color: #dbe7f5; }
.apply-notes li { position: relative; padding-left: 1rem; }
.apply-notes li::before { content: "・"; position: absolute; left: 0; }
@media (min-width: 900px) { .apply { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }

/* 下層ページ */
.crumb { font-size: .8rem; color: var(--muted); }
.page-title { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 900; margin-bottom: 1rem; }
.prose { max-width: 42em; }
.prose h2 { margin-top: 2.2rem; padding-bottom: .4rem; border-bottom: 3px solid var(--navy); }
.prose h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; list-style: revert; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1rem 1.5rem; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--pale); color: var(--navy); width: 9em; font-weight: 700; }
.table-scroll { overflow-x: auto; margin-block: 1.5rem; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.spec th { background: var(--pale); color: var(--navy); width: 11em; font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.nav-links .page-numbers { display: inline-grid; place-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.nav-links .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* フッター */
.site-footer { background: #071d34; color: #c6d5e6; padding-block: 2.5rem 6.5rem; font-size: .88rem; }
.footer-in { display: grid; gap: 2rem; }
.footer-name { font: 900 1.1rem var(--font-head); color: var(--white); margin-bottom: .4rem; }
.footer-note { font-size: .78rem; color: #9db2c9; max-width: 38em; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .1rem 1.5rem; align-content: start; }
.footer-links a { color: #c6d5e6; padding-block: .45rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.copyright { text-align: center; font-size: .75rem; color: #9db2c9; margin: 2rem 0 0; padding-inline: 16px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.2fr 1fr; } .site-footer { padding-bottom: 2.5rem; } }

/* スマートフォン下部の申込ボタン */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: .55rem max(16px, env(safe-area-inset-right, 0px)) calc(.55rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sticky-cta .btn { width: 100%; min-height: 48px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: no-preference) { .btn, .tile, .chips a { transition: background-color .15s, border-color .15s, color .15s; } }

/* ===== 全体を明るい雰囲気に揃える ===== */
h2 { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.05rem); }
h2::after { content: ""; display: block; width: 3.2rem; height: 7px; border-radius: 4px; background: var(--sun); margin-top: .45rem; }
.head-row h2::after { margin-bottom: 0; }
.site-header { border-bottom: 0; box-shadow: 0 2px 10px rgba(29,43,79,.07); }
.gnav a { font-weight: 700; }
.btn-navy { border-radius: 999px; }
.search { background: var(--white); border: 2px solid var(--line); }
.band-pale .search { border-color: transparent; }
.tile { border: 2px solid var(--line); border-left-width: 2px; border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.tile:hover, .device-grid a:hover { border-color: var(--sun); box-shadow: 0 6px 16px rgba(29,43,79,.1); }
.device-grid a { border-width: 2px; }
.chips a { border-width: 2px; border-color: var(--line); font-weight: 700; }
.chips a:hover { background: var(--sun); border-color: var(--sun); color: var(--navy); }
.news { border-top: 0; gap: .6rem; }
.news a { background: var(--white); border: 2px solid transparent; border-radius: var(--radius); padding: .9rem 1.1rem; }
.news a:hover { border-color: var(--sun); }
.empty { border-radius: var(--radius); }
.areas > div { border-top: 2px dotted #b9c8dc; }
.flow li { background: var(--white); border: 2px solid var(--line); }
.band-pale .flow li { border-color: transparent; }
.flow .is-key { background: var(--sun-pale); border-color: var(--sun); }
.flow .is-key b { color: var(--navy); }
.flow .is-key p { color: var(--muted); }
.condition { border-left: 0; border-radius: var(--radius); background: var(--sun-pale); padding: 1rem 1.2rem; }
.role { border-top: 0; border-radius: var(--radius); box-shadow: inset 0 8px 0 var(--sun); padding-top: 1.7rem; }
.faq { border-top: 0; gap: .6rem; }
.faq details { border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); padding-inline: 1rem; }
.faq details[open] { border-color: var(--sun); }
.faq summary::after { color: var(--navy); font-weight: 700; }
.band-navy { background: var(--sun-pale); color: var(--navy); }
.band-navy h2 { color: var(--navy); }
.apply { position: relative; }
.apply-text p { color: var(--ink); }
.apply-condition { border-left: 0; padding: .8rem 1rem; background: var(--white); border-radius: var(--radius); }
.apply-notes { color: var(--muted); }
.apply-action { justify-items: center; text-align: left; }
.apply-figure { width: 150px; height: auto; }
.apply-figure circle:first-child { fill: #ffffff; }
.site-footer { background: var(--pale); color: var(--ink); }
.footer-name { color: var(--navy); }
.footer-note, .copyright { color: var(--muted); }
.footer-links a { color: var(--navy); font-weight: 500; }
.footer-links a:hover { color: var(--blue); }
.spec th, .prose th { background: var(--pale); }
.prose h2 { border-bottom: 0; padding-bottom: 0; }
.page-title { font-family: var(--font-head); }
.sticky-cta { border-top: 0; box-shadow: 0 -4px 14px rgba(29,43,79,.1); }

/* ===== デザイン3：写真のメインビジュアル、オレンジのボタン、アイコンのタイル ===== */
:root { --orange: #f47b12; --orange-2: #e85d04; --cream: #fff7ea; }
h2 { text-align: center; }
h2::after { background: var(--orange); margin-inline: auto; width: 3.6rem; height: 5px; }
.split h2, .apply h2, .prose h2, .head-row h2 { text-align: left; }
.split h2::after, .apply h2::after, .head-row h2::after { margin-inline: 0; }
.center { text-align: center; }
.lead { margin-inline: auto; text-align: center; }
.icon { flex: none; }
.btn .icon { width: 1.5em; height: 1.5em; }
.btn-cta { background: linear-gradient(180deg, #ff9a2e, var(--orange-2)); color: #ffffff; box-shadow: 0 4px 0 #c24e02, 0 8px 18px rgba(232,93,4,.28); text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.btn-cta:hover { background: linear-gradient(180deg, #ffa94a, #f26a0a); }
.btn-cta::after { content: ""; width: .55em; height: .55em; border: solid #ffffff; border-width: 3px 3px 0 0; rotate: 45deg; margin-left: .3em; }
.btn-xl { min-height: 64px; padding-inline: 1rem; font-size: clamp(1.02rem, .7rem + 1.5vw, 1.7rem); letter-spacing: .02em; width: min(100%, 700px); white-space: nowrap; }
@media (min-width: 700px) { .btn-xl { min-height: 72px; letter-spacing: .06em; } }

/* ヘッダー */
.site-header { background: #ffffff; }
.header-in { min-height: 72px; }
.logo { gap: .35rem; }
.logo-text { align-items: flex-start; gap: .1rem; }
.logo-pill { font: 700 .68rem/1 var(--font-head); color: #ffffff; background: linear-gradient(180deg, #ff9a2e, var(--orange-2)); padding: .22rem .7rem; border-radius: 999px; letter-spacing: .06em; }
.logo-name { font-size: 1.35rem; letter-spacing: .01em; }
.gnav { gap: 0; font-size: .86rem; align-items: center; }
.gnav a { padding: .2rem .95rem; border-left: 1px solid var(--line); text-align: center; line-height: 1.35; white-space: normal; word-break: keep-all; }
.gnav a:last-child { border-right: 1px solid var(--line); }
.header-cta { border-radius: 12px; min-height: 48px; font-size: .98rem; box-shadow: 0 3px 0 #c24e02; }
@media (min-width: 1200px) and (max-width: 1380px) { .gnav a { padding-inline: .6rem; font-size: .8rem; } .logo-name { font-size: 1.15rem; } }

/* メインビジュアル */

/* アイコンのタイル */
.quick { background: #ffffff; padding-block: .4rem 1.6rem; }
.quick-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.quick-in a { display: grid; justify-items: center; align-content: center; gap: .4rem; height: 100%; min-height: 108px; padding: .9rem .4rem; background: linear-gradient(180deg, #ffffff, var(--pale)); border: 2px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font: 700 1rem/1.3 var(--font-head); text-align: center; word-break: keep-all; }
.quick-in a .icon { color: var(--navy); }
.quick-in li:nth-child(1) .icon, .quick-in li:nth-child(2) .icon { color: var(--orange); }
.quick-in a:hover { border-color: var(--orange); }
@media (min-width: 560px) { .quick-in { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .quick-in { grid-template-columns: repeat(8, 1fr); } .quick-in a { font-size: .92rem; } }

/* 設備投資の写真 */
.invest { background: var(--cream); padding-block: 2rem 2.2rem; }
h2.slash { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 .2em; font-size: clamp(1.25rem, 1rem + 1.3vw, 1.85rem); }
h2.slash::before, h2.slash::after { content: ""; flex: none; width: 1.3em; height: 1.2em; margin: 0 .5em; background: repeating-linear-gradient(115deg, transparent 0 28%, #f5b400 28% 40%, transparent 40% 62%); border-radius: 0; }
h2.slash::after { transform: scaleX(-1); }
.invest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.2rem; }
.invest-grid a { display: grid; height: 100%; background: #ffffff; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: 0 3px 10px rgba(18,48,90,.08); text-align: center; padding-bottom: .6rem; }
.invest-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #ffffff; padding: .5rem; }
.invest-grid b { font: 700 1rem/1.4 var(--font-head); padding-inline: .4rem; }
.invest-grid span { font-size: .74rem; color: var(--muted); padding-inline: .4rem; }
.invest-grid a:hover { box-shadow: 0 0 0 2px var(--orange); }
@media (min-width: 640px) { .invest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .invest-grid { grid-template-columns: repeat(6, 1fr); } }

/* 3ステップ */
.steps3 { background: #ffffff; padding-block: 1.4rem 2rem; }
.steps3-in { display: grid; gap: 1rem; align-items: center; background: linear-gradient(90deg, #dcebfa, var(--pale)); border-radius: 16px; padding-block: 1.1rem; }
.steps3-head { display: grid; gap: .2rem; text-align: center; }
.steps3-head b { font: 900 1.35rem/1.3 var(--font-head); color: var(--navy); }
.steps3-head span { font-size: .88rem; color: var(--navy); }
.steps3 ol { display: grid; gap: .6rem; }
.steps3 li { position: relative; display: flex; align-items: center; justify-content: center; gap: .9rem; min-height: 76px; padding: .7rem 1rem; background: #ffffff; border-radius: 12px; font: 700 .98rem/1.35 var(--font-head); color: var(--navy); }
.steps3 li .num { position: absolute; left: .7rem; top: -.5rem; width: 1.7rem; height: 1.7rem; background: var(--blue); color: #ffffff; font-size: .9rem; }
.steps3 li .icon { color: var(--navy); width: 40px; height: 40px; }
@media (min-width: 900px) {
	.steps3-in { grid-template-columns: 300px 1fr; }
	.steps3 ol { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; padding-right: .6rem; }
	.steps3 li + li::before { content: ""; position: absolute; left: -1.5rem; top: 50%; width: .7rem; height: .7rem; border: solid var(--navy); border-width: 3px 3px 0 0; rotate: 45deg; translate: 0 -50%; }
}

/* 下の各セクションを同じ調子に */
.chips a:hover { background: var(--orange); border-color: var(--orange); color: #ffffff; }
.tile:hover, .device-grid a:hover, .news a:hover { border-color: var(--orange); }
.faq details[open] { border-color: var(--orange); }
.flow .is-key { background: var(--cream); border-color: var(--orange); }
.flow .is-key .num { background: var(--orange); color: #ffffff; }
.role { box-shadow: inset 0 8px 0 var(--orange); }
.condition, .apply-condition { background: var(--cream); }
.band-navy { background: var(--cream); }
.apply-condition { background: #ffffff; }
.kubun-setsubi { border-color: var(--orange); }
.site-footer { background: var(--navy); color: #d6e2f1; padding-block: 1.4rem 6.5rem; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.logo-inv { color: #ffffff; margin-right: 0; }
.logo-inv .logo-name { color: #ffffff; }
.footer-links { display: flex; flex-wrap: wrap; flex: 1 1 520px; gap: .2rem 0; }
.footer-links a { color: #ffffff; padding: .3rem 1.1rem; border-left: 1px solid rgba(255,255,255,.35); font-weight: 500; }
.footer-links a:hover { color: #ffd55a; }
.footer-note { color: #b7c7dc; max-width: none; margin: 1.2rem 0 0; }
.copyright { color: #b7c7dc; margin-top: .8rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 1.6rem; } }

/* 助成金ガイド */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-block: 1.4rem; }
.guide-grid a { display: grid; grid-template-rows: auto 1fr auto; gap: .5rem; height: 100%; padding: 1.2rem 1.3rem 1rem; background: #ffffff; border: 2px solid var(--line); border-top: 6px solid var(--orange); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.guide-grid b { font: 700 1.08rem/1.45 var(--font-head); color: var(--navy); }
.guide-grid span { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.guide-grid i { font-style: normal; font-weight: 700; font-size: .86rem; color: var(--orange-2); justify-self: end; }
.guide-grid i::after { content: " →"; }
.guide-grid a:hover { border-color: var(--orange); box-shadow: 0 6px 16px rgba(18,48,90,.1); }
.prose blockquote { margin: 1rem 0; padding: .9rem 1.2rem; background: var(--pale); border-left: 5px solid var(--blue); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; font-weight: 500; }
.prose li { margin-bottom: .3rem; }

/* パンくず、目次、確認者、解説ページ、試算、用語集 */
.crumb ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.crumb li + li::before { content: "›"; margin-right: .5rem; color: #9fb1c7; }
.lead-left { font-size: 1.05rem; font-weight: 500; }
.toc { margin: 1.5rem 0 2rem; padding: 1.1rem 1.3rem; background: var(--pale); border-radius: var(--radius); }
.toc p { margin: 0 0 .5rem; font: 700 1rem var(--font-head); color: var(--navy); }
.toc ol { list-style: decimal; padding-left: 1.4rem; margin: 0; }
.toc li { margin-bottom: .25rem; }
.author-box { margin-top: 2.5rem; padding: 1.1rem 1.3rem; border: 2px solid var(--line); border-radius: var(--radius); }
.author-box p { margin: 0 0 .3rem; }
.dev-figure { margin: 1.2rem 0; padding: 1rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); text-align: center; }
.dev-figure img { max-width: min(100%, 320px); height: auto; }
.dev-figure figcaption { font-size: .8rem; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.tool-grid a { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-items: start; height: 100%; padding: 1.3rem; background: #ffffff; border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: 0 3px 10px rgba(18,48,90,.07); }
.tool-grid .icon { grid-row: 1 / 4; color: var(--orange); width: 52px; height: 52px; }
.tool-grid b { font: 700 1.12rem/1.4 var(--font-head); color: var(--navy); }
.tool-grid span { font-size: .9rem; color: var(--muted); }
.tool-grid i { font-style: normal; font-weight: 700; font-size: .88rem; color: var(--orange-2); }
.tool-grid i::after { content: " →"; }
.tool-grid a:hover { border-color: var(--orange); }
.shisan-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; padding: 1.2rem; background: var(--pale); border-radius: var(--radius); margin-block: 1.2rem; }
.shisan-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--navy); }
.shisan-form .unit { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.shisan-form input, .shisan-form select { width: 100%; min-height: 50px; padding: .5rem .7rem; border: 2px solid #a9bdd4; border-radius: 10px; background: #ffffff; color: var(--ink); font: 700 1.1rem var(--font-body); font-variant-numeric: tabular-nums; }
.shisan-result { padding: 1.3rem; border: 3px solid var(--orange); border-radius: var(--radius); background: var(--cream); }
.shisan-main { margin: 0 0 .8rem; font: 700 1.05rem var(--font-head); color: var(--navy); }
.shisan-main b { display: block; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); line-height: 1.2; color: var(--orange-2); font-variant-numeric: tabular-nums; }
.shisan-result dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; }
.shisan-result dl div { background: #ffffff; border-radius: 10px; padding: .6rem .8rem; }
.shisan-result dt { font-size: .78rem; color: var(--muted); }
.shisan-result dd { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.shisan-notes { margin-top: 1.2rem; padding-left: 1.3rem; list-style: disc; font-size: .88rem; color: var(--muted); }
.yougo { display: grid; gap: .8rem; }
.yougo > div { padding: 1rem 1.2rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); scroll-margin-top: 6rem; }
.yougo dt { font: 700 1.1rem var(--font-head); color: var(--navy); margin-bottom: .2rem; }

/* ===== 細部の調整 ===== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], h2[id], .yougo > div { scroll-margin-top: 5.5rem; }
::selection { background: #ffd9a8; }
.filter-state { margin: 1rem 0 0; font-weight: 500; }
.filter-state a { margin-left: .8rem; }
.band .search + .news, .band .search + .filter-state + .news, .band .search + .empty, .band .search + .filter-state + .empty { margin-top: 1.4rem; }
.page-title { text-wrap: pretty; }
.prose .table-scroll { margin-block: 1rem 1.5rem; -webkit-overflow-scrolling: touch; }
.prose .table-scroll table { margin: 0; min-width: 30rem; }
.prose td, .prose th { line-height: 1.6; }
.inline-cta { display: grid; gap: .9rem; justify-items: start; margin-block: 2.2rem; padding: 1.3rem 1.4rem; background: var(--cream); border: 2px solid var(--orange); border-radius: var(--radius); }
.inline-cta p { margin: 0; }
.inline-cta b { display: block; font: 700 1.1rem var(--font-head); color: var(--navy); margin-bottom: .2rem; }
.inline-cta .btn { width: min(100%, 360px); }
.btn-line + .btn-line { margin-top: .6rem; }
.footer-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem 2rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.2); }
.footer-map div { display: grid; gap: .1rem; align-content: start; }
.footer-map b { font: 700 .92rem var(--font-head); color: #ffd55a; margin-bottom: .3rem; }
.footer-map a { color: #d6e2f1; text-decoration: none; padding-block: .25rem; font-size: .86rem; }
.footer-map a:hover { color: #ffffff; text-decoration: underline; }
.menu-panel { max-height: calc(100vh - 80px); overflow-y: auto; }
@media (max-width: 640px) {
	.table-scroll:has(.spec) { overflow: visible; }
	.spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; }
	.spec tr { margin-bottom: .7rem; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
	.spec th { border: 0; padding: .45rem .9rem; font-size: .84rem; }
	.spec td { border: 0; padding: .7rem .9rem; overflow-wrap: anywhere; }
	.footer-links a { padding-inline: .8rem; }
	.footer-links a:first-child { border-left: 0; padding-left: 0; }
}
.band:not(.band-pale) .news a { border-color: var(--line); }
.band:not(.band-pale) .news a:hover { border-color: var(--orange); }
.inline-cta b { text-wrap: balance; }

.kubun-area { color: #ffffff; background: var(--blue); border-color: var(--blue); }

/* セミナー */
.sem-box { display: grid; gap: .7rem; justify-items: center; text-align: center; margin-block: 1.4rem 2rem; padding: 1.6rem 1.2rem; background: var(--cream); border: 3px solid var(--orange); border-radius: var(--radius); }
.sem-date { margin: 0; display: grid; gap: .2rem; }
.sem-date span { font-size: .84rem; font-weight: 700; color: var(--orange-2); letter-spacing: .1em; }
.sem-date b { font: 900 clamp(1.3rem, 1rem + 1.6vw, 2rem)/1.35 var(--font-head); color: var(--navy); }
.sem-form { margin: 0; color: var(--muted); font-weight: 500; }
.seminar ol > li { margin-bottom: .8rem; }
.sem-strip { background: var(--navy); color: #ffffff; padding-block: .9rem; }
.sem-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; }
.sem-strip p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; min-width: 0; }
.sem-strip b { font: 700 1.05rem/1.4 var(--font-head); }
.sem-tag { background: var(--orange); color: #ffffff; font-size: .78rem; font-weight: 700; padding: .15rem .7rem; border-radius: 999px; }
.sem-when { font-size: .9rem; color: #d6e2f1; }
.sem-strip .btn { background: #ffffff; color: var(--navy); min-height: 44px; padding-block: .3rem; }

/* ---------- ガイド配布ページ ---------- */
.gb-hero { display: grid; gap: 1.6rem 2.4rem; align-items: center; margin-block: 1rem 2.4rem; padding: 1.6rem 1.2rem; background: var(--pale); border-radius: var(--radius); }
@media (min-width: 760px) { .gb-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 2.2rem 2.4rem; } }
.gb-pages { position: relative; max-width: 300px; width: 100%; margin-inline: auto; aspect-ratio: 10 / 11; }
.gb-pages img { position: absolute; width: 68%; height: auto; border-radius: 6px; box-shadow: 0 10px 26px rgba(18, 48, 90, .2); background: #ffffff; }
.gb-p1 { left: 0; top: 0; z-index: 1; transform: rotate(-4deg); }
.gb-p2 { right: 0; bottom: 0; transform: rotate(5deg); }
.gb-copy { min-width: 0; display: grid; gap: 1rem; justify-items: start; }
.gb-copy .lead-left { margin: 0; }
.gb ul.gb-points { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.gb ul.gb-points li { list-style: none; margin: 0; }
.gb-points li { position: relative; padding-left: 1.9rem; font-weight: 700; color: var(--navy); }
.gb-points li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--orange-2); }
.gb-points li::after { content: ""; position: absolute; left: .4rem; top: .5em; width: .35rem; height: .6rem; border: solid #ffffff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gb-note { margin: 0; font-size: .86rem; color: var(--muted); }
.gb-wait { margin: 0; padding: .8rem 1.1rem; background: #ffffff; border: 2px dashed var(--line); border-radius: 12px; font-weight: 700; color: var(--navy); }
.gb-strip { background: var(--cream); border-block: 2px solid var(--orange); padding-block: 1rem; }
.gb-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; }
.gb-strip p { margin: 0; min-width: 0; color: var(--navy); }
.gb-strip b { font: 700 1.05rem/1.5 var(--font-head); }
.gb-strip span { display: block; font-size: .88rem; color: var(--muted); }

/* ---------- かんたんチェック ---------- */
.check { display: grid; gap: 1.4rem; text-align: left; }
.check-form { display: grid; gap: 1rem; padding: 1.2rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); }
@media (min-width: 760px) { .check-form { padding: 1.8rem 2rem; } }
.check-q { border: 0; margin: 0; padding: 0 0 1rem; min-width: 0; border-bottom: 1px dashed var(--line); }
.check-q legend { padding: 0; margin-bottom: .6rem; font: 700 1.02rem/1.5 var(--font-head); color: var(--navy); display: flex; gap: .6rem; align-items: baseline; }
.check-no { flex: none; font-size: .82rem; color: #ffffff; background: var(--navy); border-radius: 999px; padding: .1rem .6rem; }
.check-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.check-opts label { position: relative; display: block; cursor: pointer; }
.check-opts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-opts span { display: flex; align-items: center; min-height: 48px; padding: .4rem 1.1rem; border: 2px solid #a9bdd4; border-radius: 999px; background: #ffffff; font-weight: 700; color: var(--navy); line-height: 1.4; }
.check-opts input:checked + span { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.check-opts input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check-left { margin: 0; font-weight: 700; color: var(--muted); }
.check-result { padding: 1.4rem 1.2rem; border: 3px solid var(--orange); border-radius: var(--radius); background: var(--cream); display: grid; gap: .9rem; scroll-margin-top: 90px; }
@media (min-width: 760px) { .check-result { padding: 2rem; } }
.check-result[hidden], .check-result [hidden] { display: none; }
.check-result p { margin: 0; }
.check-label { font-size: .84rem; font-weight: 700; letter-spacing: .1em; color: var(--orange-2); }
.check-head { font: 900 clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem)/1.35 var(--font-head); color: var(--navy); }
.check-high .check-head { color: var(--orange-2); }
.check-low { border-color: #a9bdd4; background: var(--pale); }
.check-sub { font: 700 1rem var(--font-head); color: var(--navy); margin-top: .4rem; }
.check-schemes, .check-notes { margin: .5rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.check-schemes li { background: #ffffff; border-radius: 12px; padding: .8rem 1rem; display: grid; gap: .2rem; }
.check-schemes a { font-weight: 700; }
.check-schemes span { font-size: .9rem; color: var(--muted); }
.check-notes li { position: relative; padding-left: 1.3rem; }
.check-notes li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--orange-2); }
.check-cta { display: grid; gap: .8rem; justify-items: center; text-align: center; padding: 1.2rem; background: #ffffff; border-radius: var(--radius); }
.band-check { background: var(--pale); }
.check, .check-form { grid-template-columns: minmax(0, 1fr); }
.check-q legend { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.check-q legend .check-no { display: inline-block; margin-right: .5rem; }
.check-opts label { max-width: 100%; }
.check-result, .check-cta, .check-schemes, .check-notes { grid-template-columns: minmax(0, 1fr); }
.check-cta .btn { white-space: normal; max-width: 100%; }

/* ---------- 営業導線の共通部品（0.19.0） ---------- */
.apply-schedule { font-weight: 700; }
.closed-note { display: grid; gap: .9rem; justify-items: start; margin-block: 1rem 1.6rem; padding: 1.2rem 1.3rem; background: var(--pale); border: 2px solid #a9bdd4; border-radius: var(--radius); }
.closed-note p { margin: 0; }
.closed-note b { display: block; font: 700 1.05rem var(--font-head); color: var(--navy); margin-bottom: .2rem; }
.inline-cta .btn, .closed-note .btn, .apply-action .btn { white-space: normal; max-width: 100%; }
.ueda { display: grid; gap: 1.2rem 2rem; align-items: center; max-width: 860px; margin-inline: auto; padding: 1.4rem 1.3rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); text-align: left; }
@media (min-width: 700px) { .ueda { grid-template-columns: 200px minmax(0, 1fr); padding: 1.8rem 2rem; } .ueda.ueda-nophoto { grid-template-columns: minmax(0, 1fr); } }
.ueda img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-inline: auto; }
.ueda-text { min-width: 0; display: grid; gap: .5rem; }
.ueda-text p { margin: 0; }
.ueda-role { font-size: .84rem; font-weight: 700; letter-spacing: .08em; color: var(--orange-2); }
.ueda-name { font: 900 1.5rem/1.4 var(--font-head); color: var(--navy); }
.ueda-name span { display: block; font-size: .9rem; font-weight: 700; color: var(--muted); }
.ueda-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-weight: 700; }
.thanks-lead { font: 900 clamp(1.3rem, 1.1rem + 1.2vw, 1.8rem)/1.4 var(--font-head); color: var(--navy); }
.thanks-main { padding: 1.1rem 1.3rem; background: var(--cream); border: 2px solid var(--orange); border-radius: var(--radius); font-weight: 700; }
@media (max-width: 380px) {
	.sticky-cta .btn, .check-cta .btn { white-space: normal; font-size: .95rem; padding-inline: .9rem; letter-spacing: 0; }
	.sticky-cta .btn .icon { flex: none; }
}

/* ---------- 助成金活用事例 ---------- */
.jirei-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); text-align: left; }
.jirei-grid a { display: grid; gap: .35rem; height: 100%; align-content: start; padding: 1.1rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.jirei-grid a:hover { border-color: var(--orange); }
.jirei-grid img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: .3rem; }
.jirei-grid b { font: 700 1.05rem/1.5 var(--font-head); color: var(--navy); }
.jirei-name { font-weight: 700; font-size: .9rem; }
.jirei-meta { font-size: .86rem; color: var(--muted); }
.jirei-grid i { font-style: normal; font-weight: 700; color: var(--orange-2); font-size: .9rem; margin-top: .3rem; }
.jirei-table { width: 100%; border-collapse: collapse; margin-block: 1rem 1.6rem; }
.jirei-table th, .jirei-table td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.jirei-table th { width: 11em; background: var(--pale); color: var(--navy); }

/* ---------- 活用目的から探す（0.22.0） ---------- */
.purpose-grid { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); text-align: left; }
.purpose-grid a { display: flex; align-items: center; gap: .8rem; height: 100%; min-height: 72px; padding: .8rem 1rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font: 700 1rem/1.45 var(--font-head); }
.purpose-grid a:hover { border-color: var(--orange); }
.purpose-grid a.is-main { border-color: var(--orange); background: var(--cream); }
.purpose-grid .icon { flex: none; width: 34px; height: 34px; color: var(--orange-2); }
.purpose-grid span { min-width: 0; }

/* ファーストビュー：チェック項目が4つになったので、2列にそろえる */


/* ==========================================================
   UI・UX最終改善（0.24.0）
   ========================================================== */
/* メニュー：かんたんチェックをオレンジで目立たせる */
.gnav a.is-check, .menu-panel a.is-check { color: var(--orange-2); font-weight: 700; }
.gnav a.is-check::before, .menu-panel a.is-check span::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: .3em; vertical-align: -.16em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e85d04' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M7.5 12.3l3 3 6-6.3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* PC：11項目を2段目に並べる */
@media (min-width: 1200px) {
	.header-in { flex-wrap: wrap; column-gap: 1rem; row-gap: 0; min-height: 0; padding-top: .45rem; }
	.gnav { order: 3; flex: 0 0 100%; display: flex; justify-content: space-between; margin-top: .4rem; border-top: 1px solid var(--line); font-size: .8rem; }
	.gnav a { flex: 1 1 auto; display: grid; place-items: center; min-height: 42px; padding: .15rem .3rem; border-left: 0; white-space: nowrap; line-height: 1.3; }
	.gnav a + a { border-left: 1px solid var(--line); }
	.gnav a:last-child { border-right: 0; }
	.gnav a.is-check { display: flex; align-items: center; justify-content: center; }
	.gnav a:hover { background: var(--pale); }
	.header-cta { min-height: 44px; }
	section[id], h2[id], .yougo > div { scroll-margin-top: 7.5rem; }
}

/* スマートフォンのメニュー */
.menu summary span { transition: transform .18s, opacity .18s; }
.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu summary span { transition: none; } }
.menu-panel { position: fixed; top: var(--menu-top, 72px); bottom: var(--menu-bottom, 0px); left: 0; right: 0; max-height: none; display: block; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: .15rem max(16px, env(safe-area-inset-right, 0px)) calc(.8rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); box-shadow: none; border-bottom: 0; }
.menu-panel a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 44px; padding: .64rem .25rem; line-height: 1.5; }
.menu-panel a::after { content: ""; flex: none; width: .45em; height: .45em; border: solid #9aa9bd; border-width: 2px 2px 0 0; rotate: 45deg; margin-right: .3rem; }
.menu-panel a.is-check::after { border-color: var(--orange-2); }
.menu-panel a:active { background: var(--pale); }
@media (max-width: 1199px) { html.menu-open { overflow: hidden; } }

/* 画面下部の固定申込ボタン：高さと影を抑える */
.sticky-cta { padding: .3rem max(16px, env(safe-area-inset-right, 0px)) calc(.3rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.97); box-shadow: 0 -1px 0 var(--line), 0 -3px 10px rgba(29,43,79,.06); transition: transform .22s ease, visibility .22s; }
.sticky-cta .btn { min-height: 44px; padding-block: .35rem; font-size: .98rem; box-shadow: 0 2px 6px rgba(232,93,4,.2); text-shadow: none; }
.sticky-cta .btn .icon { width: 1.3em; height: 1.3em; }
.sticky-cta.is-away { transform: translateY(110%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); } }

/* ファーストビュー：サイト名の重複を抑え、縦の長さを短くする */

/* 連携先のロゴと正規パートナーの表記（0.25.0） */
.partner-logo { margin: 0 0 .8rem; text-align: center; }
.partner-logo img { width: min(100%, 360px); height: auto; padding: .7rem 1rem; background: #ffffff; border-radius: 10px; }
.partner-badge { margin: 0 0 1rem; text-align: center; }
.partner-badge span { display: inline-block; padding: .4rem 1.1rem; border: 2px solid var(--orange); border-radius: 999px; background: var(--cream); font: 700 .95rem/1.5 var(--font-head); color: var(--navy); }


/* ==========================================================
   PC版・スマホ版の全面最適化（0.26.0）
   ========================================================== */
/* ---- ヘッダー（PC）：主要6項目＋「ガイド・その他」 ---- */
.gnav-more { display: none; }
@media (min-width: 1200px) {
	.logo-name { font-size: 1.5rem; }
	.gnav { font-size: .94rem; }
	.gnav a, .gnav-more > summary { min-height: 46px; padding: .2rem .5rem; }
	.gnav-more { display: block; position: relative; flex: 1 1 auto; border-left: 1px solid var(--line); }
	.gnav-more > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: .45em; cursor: pointer; font-weight: 700; color: var(--ink); white-space: nowrap; }
	.gnav-more > summary::-webkit-details-marker { display: none; }
	.gnav-more > summary::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -.12em; }
	.gnav-more[open] > summary::after { rotate: 225deg; translate: 0 .12em; }
	.gnav-more > summary:hover, .gnav-more[open] > summary { background: var(--pale); }
	.gnav-sub { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 15rem; padding: .35rem; background: #ffffff; border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 10px 24px rgba(18,48,90,.12); display: grid; }
	.gnav .gnav-sub a { display: flex; justify-content: flex-start; min-height: 44px; padding: .4rem .9rem; border: 0; border-radius: 8px; text-align: left; }
	.gnav .gnav-sub a + a { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
	.header-cta { min-height: 46px; font-size: 1rem; padding-inline: 1.3rem; box-shadow: 0 2px 6px rgba(232,93,4,.22); }
}

/* ---- ヘッダー（スマートフォン）：高さを抑える ---- */
@media (max-width: 1199px) {
	.header-in { min-height: 60px; }
	.logo-name { font-size: 1.22rem; }
	.logo-pill { font-size: .62rem; padding: .18rem .6rem; }
}

/* ---- ファーストビュー ---- */
.fv { background: linear-gradient(180deg, #f1f7fe, #ffffff); }
.fv-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; padding-block: .8rem 1.1rem; }
.fv-photo { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 774 / 248; background: #dfeaf6; }
.fv-photo picture { display: block; height: 100%; }
.fv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fv-text { text-align: center; min-width: 0; }
.fv-sub { margin: 0 0 .35rem; font: 700 .94rem/1.4 var(--font-head); color: var(--navy); letter-spacing: .06em; }
.fv-sub::before, .fv-sub::after { content: ""; display: inline-block; width: 1.4em; height: 2px; margin-inline: .6em; vertical-align: .32em; background: var(--orange); }
.fv h1 { margin: 0; font: 900 clamp(1.5rem, .86rem + 2.75vw, 1.875rem)/1.4 var(--font-head); color: var(--navy); letter-spacing: .02em; }
.fv h1 em { font-style: normal; color: var(--orange-2); font-size: 1.16em; }
.fv-lead { margin: .55rem auto .9rem; max-width: 34em; font-size: .94rem; line-height: 1.7; color: var(--ink); }
.fv-cta { display: grid; justify-items: center; gap: .55rem; }
.btn-fv { width: min(100%, 460px); min-height: 58px; padding-inline: .8rem; font-size: clamp(1rem, 4.4vw, 1.125rem); white-space: nowrap; box-shadow: 0 3px 0 #c24e02, 0 6px 14px rgba(232,93,4,.2); }
.fv-cta-note { margin: 0; font-size: .8125rem; line-height: 1.65; color: var(--muted); text-wrap: balance; }
.fv-cta-note b { color: var(--navy); }
.fv-checks { display: grid; gap: .3rem; justify-content: center; margin: .1rem 0 0; padding: .8rem 1rem; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; }
.fv-checks li { display: flex; align-items: center; gap: .55rem; font: 700 .94rem/1.5 var(--font-head); color: var(--navy); }
.fv-checks li::before { content: ""; flex: none; width: 1.35rem; height: 1.35rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e85d04' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M7.5 12.3l3 3 6-6.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.fv-note { margin: 0; text-align: center; font-size: .75rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 339px) { .btn-fv { white-space: normal; } }
@media (min-width: 900px) {
	.fv-in { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); grid-template-areas: "text photo" "text checks" "note note"; column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: .9rem; align-items: center; padding-block: 1.7rem 1.1rem; }
	.fv-text { grid-area: text; text-align: left; }
	.fv-photo { grid-area: photo; aspect-ratio: 774 / 310; align-self: end; box-shadow: 0 8px 24px rgba(18,48,90,.1); }
	.fv-checks { grid-area: checks; align-self: start; justify-content: start; padding: .9rem 1.3rem; }
	.fv-note { grid-area: note; }
	.fv-sub { margin-bottom: .5rem; font-size: clamp(1.125rem, .8rem + .5vw, 1.375rem); }
	.fv-sub::before { content: none; }
	.fv-sub::after { width: 2.4em; margin-right: 0; }
	.fv h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.32; }
	.fv-lead { margin: .9rem 0 1.3rem; font-size: clamp(1rem, .9rem + .2vw, 1.125rem); line-height: 1.75; }
	.fv-cta { justify-items: start; gap: .7rem; }
	.btn-fv { width: min(100%, 500px); min-height: 66px; font-size: clamp(1.125rem, .9rem + .5vw, 1.375rem); }
	.fv-cta-note { font-size: clamp(.8125rem, .76rem + .15vw, .9375rem); text-wrap: wrap; }
	.fv-checks li { font-size: clamp(.94rem, .86rem + .2vw, 1.0625rem); }
}

/* ---- カテゴリーナビゲーション ---- */
.quick { padding-block: .6rem 1.4rem; }
.quick-in { gap: .55rem; }
.quick-in a { position: relative; grid-template-columns: 2.4rem minmax(0, 1fr); justify-items: start; align-items: center; gap: .6rem; min-height: 64px; padding: .5rem .7rem; background: #ffffff; border: 1.5px solid var(--line); text-align: left; font-size: .94rem; line-height: 1.35; }
.quick-in a .icon { width: 2.2rem; height: 2.2rem; color: var(--navy); stroke-width: 2.2; }
.quick-in li:nth-child(1) .icon, .quick-in li:nth-child(2) .icon { color: var(--navy); }
.quick-in a:hover { border-color: var(--orange); background: var(--cream); }
.quick-check a { border-color: var(--orange); background: var(--cream); }
.quick-check a .icon, .quick-in li.quick-check .icon { color: var(--orange-2); }
.quick-check i { position: absolute; top: -.6rem; right: .5rem; padding: .08rem .55rem; font: 700 .69rem/1.5 var(--font-head); font-style: normal; color: #ffffff; background: var(--orange-2); border-radius: 999px; }
.quick-note { margin: .9rem auto 0; font-size: .8125rem; line-height: 1.7; color: var(--muted); }
.quick-note b { color: var(--navy); }
@media (min-width: 560px) {
	.quick-in a { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: .45rem; min-height: 104px; padding: .8rem .4rem; text-align: center; }
	.quick-in a .icon { width: 2.6rem; height: 2.6rem; }
	.quick-note { text-align: center; }
}
@media (min-width: 1000px) { .quick-in a { font-size: .94rem; min-height: 112px; } .quick-in { gap: .7rem; } }

/* ---- 固定申込ボタン ---- */
.sticky-cta .btn { font-size: 1.0625rem; letter-spacing: .04em; }

/* ---- 全体の統一：影とグラデーションを控えめに ---- */
.btn-cta { box-shadow: 0 3px 0 #c24e02, 0 5px 12px rgba(232,93,4,.18); }
.partner-logo img { width: min(100%, 360px); }

/* 細かな調整：改行の位置、狭い画面のカテゴリー */
.fv-lead, .fv-checks li { text-wrap: balance; }
.fv-note span { display: block; }
@media (min-width: 900px) { .fv-note span { display: inline; } .fv-note span + span::before { content: "／"; margin-inline: 1em; color: #9aa9bd; } }
.quick-in a span { min-width: 0; }
@media (max-width: 559px) {
	.quick-in a { grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; padding: .5rem .55rem; font-size: .875rem; }
	.quick-in a .icon { width: 1.9rem; height: 1.9rem; }
	.fv-checks { padding: .7rem .8rem; }
	.fv-checks li { font-size: .9rem; }
}
@media (min-width: 560px) and (max-width: 1199px) { .quick-in { grid-template-columns: repeat(4, 1fr); } }

/* 読みやすさ：小さな文字のオレンジと青を、白地で十分なコントラストになる濃さにする */
:root { --orange-ink: #c2410c; --blue: #1a5cb0; --soon: #1a5cb0; }
.guide-grid i, .tool-grid i, .ueda-role, .gnav a.is-check, .menu-panel a.is-check { color: var(--orange-ink); }
.quick-check i { background: var(--orange-ink); }

/* 申込欄のボタン：文言を途中で折り返さない */
.apply-action .btn, .inline-cta .btn, .check-cta .btn { white-space: nowrap; font-size: clamp(.94rem, 4.2vw, 1.125rem); padding-inline: .8rem; }
@media (max-width: 339px) { .apply-action .btn, .inline-cta .btn, .check-cta .btn { white-space: normal; } }

/* 記事内の申込欄：狭い画面でボタンと文章が枠からはみ出さないようにする */
.inline-cta { grid-template-columns: minmax(0, 1fr); }
.inline-cta > * { min-width: 0; max-width: 100%; }
.inline-cta p { overflow-wrap: anywhere; }
@media (max-width: 699px) { .inline-cta .btn { width: 100%; } }
@media (max-width: 699px) { .inline-cta { padding: 1.1rem 1rem; } .inline-cta .btn { font-size: clamp(.875rem, 3.7vw, 1.0625rem); gap: .35rem; padding-inline: .6rem; letter-spacing: 0; } .inline-cta .btn .icon { width: 1.3em; height: 1.3em; flex: none; } .inline-cta .btn::after { flex: none; margin-left: .1em; } }
h1, .band > .wrap > h2 { text-wrap: balance; }
@media (min-width: 900px) { .fv-lead { text-wrap: wrap; } }

/* 2列の表（項目名と内容）は、スマートフォンでも横にはみ出さず、折り返して全部見えるようにする */
@media (max-width: 699px) {
	.prose .table-scroll table:not(:has(tr > :nth-child(3))) { min-width: 0; width: 100%; table-layout: fixed; }
	.prose .table-scroll table:not(:has(tr > :nth-child(3))) th { width: 6.9em; padding-inline: .6rem; }
	.prose .table-scroll table:not(:has(tr > :nth-child(3))) td { overflow-wrap: anywhere; padding-inline: .7rem; }
}

/* 担当者の写真 */
.ueda img { max-width: 180px; border: 4px solid #ffffff; box-shadow: 0 0 0 2px var(--line); background: #e9eef5; }
.ueda-role { color: var(--orange-ink); }

/* ==========================================================
   総合改善（0.27.0）：トップページの再構成
   ========================================================== */
.band-tight { padding-block: clamp(1.8rem, 1.4rem + 2vw, 3rem); }
.band > .wrap > h2 { text-align: center; }
.band > .wrap > .lead { margin-inline: auto; text-align: center; }
@media (max-width: 699px) { .band > .wrap > .lead { text-align: left; } }

/* ファーストビュー：副ボタンと5つの安心材料 */
.fv-lead b { color: var(--navy); }
.fv-sub-cta { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .3rem .4rem; font: 700 .94rem/1.4 var(--font-head); color: var(--navy); text-decoration: underline; text-underline-offset: .22em; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.fv-sub-cta::after { content: ""; width: .42em; height: .42em; border: solid var(--orange-ink); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -.12em; }
.fv-sub-cta:hover { color: var(--orange-ink); }
.fv-cta { gap: .45rem; }
@media (max-width: 899px) { .fv-checks { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .fv-checks { gap: .2rem; padding: .8rem 1.3rem; } .fv-in { row-gap: .8rem; } }

/* 無料でお受けしている理由 */
.reason-grid { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.reason-grid li { display: grid; gap: .35rem; align-content: start; padding: 1.1rem 1.2rem; background: var(--pale); border-radius: var(--radius); border-left: 4px solid var(--navy); }
.reason-grid b { font: 700 1.05rem/1.45 var(--font-head); color: var(--navy); }
.reason-grid span { font-size: .94rem; line-height: 1.75; }
.reason-co { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem 1.2rem; margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.reason-co b { padding: .1rem .7rem; border-radius: 999px; background: var(--navy); color: #ffffff; font: 700 .78rem/1.6 var(--font-head); }
.reason-co a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* 助成金のカード（トップ・一覧・分類ページ共通） */
.jcards { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); text-align: left; }
.jcard { display: grid; grid-template-rows: auto 1fr auto; gap: .6rem; min-width: 0; padding: 1rem 1.1rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); }
.jcard:hover { border-color: var(--orange); }
.jcard-closed { background: #f7f9fb; }
.jcard-main { display: grid; gap: .45rem; text-decoration: none; color: var(--navy); }
.jcard-main .tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.jcard-main b { font: 700 1.05rem/1.5 var(--font-head); }
.jcard-main:hover b { text-decoration: underline; }
.jcard dl { margin: 0; display: grid; gap: .3rem; align-content: start; font-size: .86rem; line-height: 1.6; }
.jcard dl > div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: .6rem; }
.jcard dt { color: var(--muted); font-weight: 700; }
.jcard dd { min-width: 0; overflow-wrap: anywhere; }
.jcard-foot { margin: 0; padding-top: .55rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: .9rem; font-weight: 700; }
.jcard-foot a { display: inline-flex; align-items: center; min-height: 40px; }
.jcard-foot a[data-official]::after { content: "↗"; margin-left: .25em; font-size: .9em; }

/* 探す：活用目的・業態・地域をまとめる */
.find-h { margin: 2rem 0 .2rem; padding-left: .7rem; border-left: 5px solid var(--orange); font-size: 1.15rem; text-align: left; }
#find .purpose-grid { margin-top: .8rem; }
.chips-lg { margin-top: .8rem; }
.chips-lg a { font-size: 1rem; padding-inline: 1.3rem; }
.find-area { margin-top: .8rem; border: 2px solid var(--line); border-radius: var(--radius); background: #ffffff; }
.find-area > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .5rem 1.1rem; cursor: pointer; font: 700 1rem/1.4 var(--font-head); color: var(--navy); }
.find-area > summary::-webkit-details-marker { display: none; }
.find-area > summary::after { content: ""; flex: none; width: .5em; height: .5em; border: solid var(--orange-ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; translate: 0 -.15em; }
.find-area[open] > summary::after { rotate: 225deg; translate: 0 .15em; }
.find-area > .areas, .find-area > .chips { margin: 0; padding: 0 1.1rem 1rem; }
.invest .find-area { max-width: 900px; margin: 1.2rem auto 0; }

/* モデルケース */
.model-grid { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); text-align: left; }
.model-grid li { display: grid; gap: .6rem; align-content: start; padding: 1.1rem 1.2rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); }
.model-tag { justify-self: start; margin: 0; padding: .1rem .7rem; border: 1px solid var(--muted); border-radius: 999px; font: 700 .75rem/1.6 var(--font-head); color: var(--muted); }
.model-grid h3 { font-size: 1.05rem; line-height: 1.5; }
.model-grid dl { margin: 0; display: grid; gap: .55rem; font-size: .9rem; line-height: 1.7; }
.model-grid dt { font-weight: 700; color: var(--navy); font-size: .82rem; }
.model-grid .more { font-size: .92rem; }

/* 流れ（4ステップ）と、個別Zoomの説明 */
.flow4 { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: none; text-align: left; }
.flow4 li { display: grid; gap: .35rem; align-content: start; padding: 1.1rem 1.2rem; background: var(--pale); border-radius: var(--radius); }
.flow4 .num { justify-self: start; padding: .1rem .8rem; border-radius: 999px; background: var(--navy); color: #ffffff; font: 700 .78rem/1.7 var(--font-head); letter-spacing: .06em; width: auto; height: auto; }
.flow4 li:first-child .num { background: var(--orange-ink); }
.flow4 b { font: 700 1.05rem/1.45 var(--font-head); color: var(--navy); }
.flow4 p { margin: 0; font-size: .92rem; line-height: 1.75; }
.zoom-facts { max-width: 860px; margin: 1.6rem auto 1.2rem; padding: 1.2rem 1.3rem; border: 2px solid var(--line); border-radius: var(--radius); background: #ffffff; text-align: left; }
.zoom-facts h3 { margin-bottom: .7rem; font-size: 1.1rem; }
.zoom-facts dl { margin: 0; display: grid; }
.zoom-facts dl > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .94rem; line-height: 1.7; }
.zoom-facts dt { font-weight: 700; color: var(--navy); }
@media (max-width: 559px) { .zoom-facts dl > div { grid-template-columns: 1fr; gap: .1rem; } }

/* 担当者と連携先 */
.partner-box { max-width: 860px; margin: 1.2rem auto 0; padding: 1.3rem; background: #ffffff; border: 2px solid var(--line); border-radius: var(--radius); }
.partner-box .roles { margin-top: .6rem; }
#guide .tool-grid { margin-top: 1.6rem; }

/* かんたんチェック：進み具合、受付状況、やり直し */
.check-progress { display: grid; gap: .35rem; max-width: 760px; margin: 0 auto .9rem; font: 700 .9rem/1.4 var(--font-head); color: var(--navy); text-align: left; }
.check-progress i { display: block; height: 8px; border-radius: 999px; background: #d5e3f2; overflow: hidden; }
.check-progress b { display: block; height: 100%; border-radius: 999px; background: var(--orange); transition: width .2s; }
@media (prefers-reduced-motion: reduce) { .check-progress b { transition: none; } }
.check-schemes li { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .3rem .6rem; }
.check-schemes li > span { grid-column: 1 / -1; }
.check-schemes .badge { font-style: normal; }
.check-schemes-closed li { background: #f4f6f9; }
.check-reset { margin: .4rem 0 0; text-align: center; }

/* スマートフォンでページが長くなりすぎないようにする */
.model-grid details > summary { list-style: none; display: grid; gap: .45rem; cursor: pointer; padding-right: 1.6rem; position: relative; }
.model-grid details > summary::-webkit-details-marker { display: none; }
.model-grid details > summary::after { content: ""; position: absolute; right: .2rem; top: .5rem; width: .5em; height: .5em; border: solid var(--orange-ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
.model-grid details[open] > summary::after { rotate: 225deg; top: .8rem; }
.model-grid summary b { font: 700 1.05rem/1.5 var(--font-head); color: var(--navy); }
.model-grid details > dl { margin-top: .8rem; }
.model-grid details > .more { display: inline-block; margin-top: .7rem; }
.model-grid li { display: block; }
.faq-more { margin-top: .7rem; }
.faq-more > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; border: 2px solid var(--navy); border-radius: 999px; background: #ffffff; cursor: pointer; font: 700 1rem/1.4 var(--font-head); color: var(--navy); }
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary::after { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 0 2.5px 2.5px 0; rotate: 45deg; translate: 0 -.15em; }
.faq-more[open] > summary::after { rotate: 225deg; translate: 0 .15em; }
.faq-more > .faq { margin-top: .7rem; }
@media (max-width: 699px) {
	#news .jcards .jcard:nth-child(n+5) { display: none; }
	.jcard { padding: .85rem .95rem; gap: .45rem; }
	.jcard dl { font-size: .82rem; gap: .15rem; }
	.jcard dl > div { grid-template-columns: 6.2em minmax(0, 1fr); gap: .5rem; }
	#guide .guide-grid li:nth-child(n+4) { display: none; }
	#find .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
	#find .purpose-grid a { padding: .6rem .6rem; gap: .45rem; font-size: .86rem; line-height: 1.4; min-height: 56px; }
	#find .purpose-grid .icon { width: 1.6rem; height: 1.6rem; flex: none; }
	.reason-grid li { padding: .9rem 1rem; }
	.reason-co { justify-content: flex-start; }
	.zoom-facts { padding: 1rem; }
}
@media (max-width: 699px) {
	#news .jcards .jcard:nth-child(n+4) { display: none; }
	.search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: 1rem; }
	.search label:last-of-type, .search .btn { grid-column: 1 / -1; }
	.search select, .search input { padding-inline: .5rem; font-size: .94rem; }
	.check-opts { gap: .4rem; }
	.check-opts span { min-height: 44px; padding: .3rem .9rem; font-size: .92rem; }
	.check-q { margin-bottom: 1rem; }
}
/* 記事の中に置いたかんたんチェックで、箇条書きの印が二重に出ないようにする */
.prose .check ul { padding-left: 0; margin-left: 0; }
.prose .check ul > li { list-style: none; }
.prose .check ul > li::marker { content: none; }

/* モデルケース：PCでは4件とも開いて見せる（開閉はスマートフォンだけ） */
.model-grid { align-items: start; }
@media (min-width: 700px) {
	.model-grid { align-items: stretch; }
	.model-grid details > summary { pointer-events: none; cursor: default; padding-right: 0; }
	.model-grid details > summary::after { content: none; }
}

/* 開閉できる箇所に「開く／閉じる」のボタンを付けて、押せることが分かるようにする */
.find-area > summary::after, .faq-more > summary::after, .model-grid details > summary::after {
	content: "開く ▼"; position: static; flex: none; width: auto; height: auto; border: 0; rotate: none; translate: none;
	padding: .25rem .8rem; border-radius: 999px; background: var(--orange-ink); color: #ffffff; font: 700 .8rem/1.5 var(--font-head); white-space: nowrap;
}
.find-area[open] > summary::after, .faq-more[open] > summary::after, .model-grid details[open] > summary::after { content: "閉じる ▲"; rotate: none; translate: none; top: auto; background: #ffffff; color: var(--orange-ink); box-shadow: inset 0 0 0 2px var(--orange-ink); }
.find-area > summary:hover, .faq-more > summary:hover { background: var(--cream); }
.find-area > summary { border-radius: calc(var(--radius) - 2px); }
.model-grid details > summary { padding-right: 0; }
.model-grid details > summary::after { justify-self: start; margin-top: .2rem; }
@media (min-width: 700px) { .model-grid details > summary::after, .model-grid details[open] > summary::after { content: none; } }
/* よくある質問：質問の行が押せることを示す */
.faq summary { padding-right: 5.2rem; }
.faq summary::after { content: "答えを見る ＋"; font-size: .78rem; font-weight: 700; color: var(--orange-ink); right: .2rem; white-space: nowrap; }
.faq details[open] summary::after { content: "閉じる －"; }
.faq summary:hover { color: var(--orange-ink); }
@media (max-width: 420px) { .faq summary { padding-right: 2.4rem; } .faq summary::after { content: "＋"; font-size: 1.3rem; } .faq details[open] summary::after { content: "－"; } }

/* 記事カードの並び：列の数を決めて、半端な空きが出ないようにする */
.guide-grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .guide-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .guide-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { #guide .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 899px) { #guide .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 列の多い表：スマートフォンで横にスクロールできることを示す（0.27.5） */
@media (max-width: 699px) {
	.prose .table-scroll:has(tr > :nth-child(3))::before { content: "← 表は横にスクロールできます →"; display: block; margin-bottom: .3rem; font-size: .78rem; font-weight: 700; color: var(--muted); text-align: center; position: sticky; left: 0; }
}
