/* ==========================================================================
   Sankyo FS — 共通スタイル
   v7 のトーン（配色・フォント・余白・アニメーション）を全ページに展開する。
   ブレークポイント：SP 〜767px ／ TB 768〜1279px ／ PC 1280px〜
   ========================================================================== */

:root {
	--navy: #0f2033;
	--navy-2: #0d2238;
	--navy-3: #10283f;
	--ink: #25313f;
	--text: #3c4a58;
	--muted: #5d6a77;
	--muted-2: #8e9aa6;
	--bg: #fbfbfa;
	--paper: #fff;
	--soft: #f1f4f7;
	--line: rgba(15, 32, 51, .14);
	--line-2: rgba(15, 32, 51, .08);
	--blue: #1553c7;
	--blue-h: #1b6fd8;
	--sky: #1f8fc4;
	--green: #2ba36a;
	--teal: #0d7f80;
	--gold: #b89545;
	--gold-l: #f4e9cc;
	--gold-line: #d8c28a;
	--ind: #4f8dd8;
	--ind-h: #3d78be;
	--cyan-l: #7fd4e8;
	--grad: linear-gradient(100deg, #1553c7, #1f8fc4 55%, #0d7f80);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-2: cubic-bezier(.16, .84, .26, 1);
	--gutter: clamp(20px, 3.4vw, 52px);
	--sbar-h: 54px;
	--adminbar: 0px;
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

@media (min-width: 1280px) {
	:root { --sbar-h: 44px; }
}

body.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --adminbar: 0px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sbar-h) + var(--adminbar) + 20px); }
@media (min-width: 1280px) {
	html { scroll-padding-top: calc(var(--sbar-h) + var(--adminbar) + 84px); }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--navy);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.site-main { overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue-h); }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-h); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 100;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 改行の出し分け（[pc] / [sp]） */
br.u-sp { display: none; }
@media (max-width: 767px) {
	br.u-pc { display: none; }
	br.u-sp { display: inline; }
	.u-pc-only { display: none !important; }
}
@media (min-width: 768px) {
	.u-sp-only { display: none !important; }
}

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Motion（v7） ---------- */
.rise { opacity: 0; animation: rise calc(1.1s * var(--spd, 1)) cubic-bezier(.2, .8, .25, 1) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* ヘッダーの立ち上がりはトップページだけ（ページ移動のたびに動かさない） */
body:not(.home) .hdr .rise { animation: none; opacity: 1; }
.phero .rise:nth-child(2) { animation-delay: .06s; }
.phero .rise:nth-child(3) { animation-delay: .14s; }
.phero .rise:nth-child(4) { animation-delay: .22s; }
.phero .rise:nth-child(5) { animation-delay: .3s; }

.float { transform-box: view-box; transform-origin: 50% 50%; will-change: transform; animation: floatA calc(9s * var(--spd, 1)) ease-in-out infinite alternate; }
@keyframes floatA { from { transform: translate(0, 0) rotate(0deg) scale(1); } to { transform: translate(-46px, -78px) rotate(4.5deg) scale(1.035); } }
@keyframes floatB { from { transform: translate(0, 0) rotate(0deg) scale(1); } to { transform: translate(58px, -56px) rotate(-5.5deg) scale(.97); } }
@keyframes floatC { from { transform: translate(0, 0) scale(1); } to { transform: translate(-34px, 68px) scale(1.08); } }

/* トップ以外の背景：トップの実績セクション以降と同じ、薄く流れる図形（動きは assets/js/bg-flow.js）。
   z-index:-1 で本文・カード・フッターの下に敷く */
.site-bg { position: fixed; inset: 0; width: calc(100% - var(--lock-gap, 0px)); height: 100%; pointer-events: none; z-index: -1; }
.site-bg .shape { transform-box: view-box; transform-origin: 50% 50%; will-change: transform, opacity; opacity: 0; }
.site-bg .fly { transform-box: fill-box; transform-origin: 50% 50%; }

@media (prefers-reduced-motion: reduce) {
	.rise { animation-duration: .01s !important; }
	.float { animation: none !important; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   セカンダリバー（仕様書 3.2）
   ========================================================================== */
.sbar {
	position: sticky; top: var(--adminbar); z-index: 60;
	background: var(--navy); color: #fff;
}
.sbar__inner { display: flex; align-items: stretch; justify-content: space-between; }
.sbar__note { display: none; }
.sbar__nav {
	flex: 1; display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 50px 58px;
	height: var(--sbar-h);
}
.sbar__item {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	padding: 4px 4px; border: 0; color: #fff; background: transparent; cursor: pointer;
	font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 1.25; text-align: center;
	transition: filter .3s var(--ease), background-color .3s var(--ease);
}
.sbar__item:hover { color: #fff; filter: brightness(1.08); }
.sbar__item .icon { width: 17px; height: 17px; }
.sbar__item--green { background: linear-gradient(100deg, #2ba36a, #0d7f80); }
.sbar__item--gold { background: var(--gold); }
.sbar__item--blue { background: var(--ind); }
.sbar__item--tel, .sbar__item--menu { background: var(--navy); }
.sbar__item--tel { border-left: 1px solid rgba(255, 255, 255, .12); }
.sbar__item--menu { border-left: 1px solid rgba(255, 255, 255, .12); }
.sbar__item--menu:hover, .sbar__item--tel:hover { background: #1a3550; filter: none; }
.sbar__label { display: none; }
.sbar__short { display: block; }
.sbar__burger { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; width: 20px; }
.sbar__burger span { display: block; height: 2px; width: 20px; background: #fff; border-radius: 2px; }
.sbar__burger span:last-child { width: 13px; }

@media (min-width: 768px) and (max-width: 1279px) {
	.sbar__nav { grid-template-columns: repeat(3, minmax(0, 1fr)) 76px 84px; }
	.sbar__item { font-size: 11.5px; flex-direction: row; gap: 8px; }
	.sbar__item .icon { width: 18px; height: 18px; }
	.sbar__item--tel .sbar__short, .sbar__item--menu .sbar__short { font-size: 11px; }
}

@media (min-width: 1280px) {
	.sbar__inner { padding-left: var(--gutter); }
	.sbar__note { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; color: #c3ccd6; }
	.sbar__dot { width: 3px; height: 3px; border-radius: 50%; background: #7a8794; }
	.sbar__nav { flex: none; display: flex; }
	.sbar__item {
		flex-direction: row; gap: 9px; padding: 0 20px;
		font-size: 11.5px; letter-spacing: .05em;
	}
	.sbar__item .icon { width: 16px; height: 16px; }
	.sbar__label { display: inline; }
	.sbar__short { display: none; }
	.sbar__item--tel { padding: 0 22px; }
	.sbar__item--tel .sbar__label { font-size: 15px; font-weight: 800; letter-spacing: .04em; }
	.sbar__item--menu { padding: 0 22px 0 20px; letter-spacing: .24em; }
}

/* ==========================================================================
   ヘッダー・メガメニュー（仕様書 3.1）
   ========================================================================== */
.hdr {
	position: relative; z-index: 50;
	background: transparent;
	transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
.hdr__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 10px var(--gutter); min-height: 56px;
}
.hdr__brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.hdr__brand:hover { color: var(--navy); }
.logo-img { width: 22px; height: 22px; object-fit: contain; display: block; }
.custom-logo-link img, .hdr__brand img.logo-img { max-height: 28px; width: auto; }
.hdr__brandtext { display: flex; align-items: center; gap: 12px; }
.hdr__name { font-size: 15px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.hdr__sep { width: 1px; height: 16px; background: #c9cdd2; }
.hdr__tag { font-size: 9px; line-height: 1.5; letter-spacing: .12em; color: var(--text); white-space: nowrap; }

.hdr__tel { display: none; }
@media (min-width: 768px) and (max-width: 1279px) {
	.hdr__tel {
		display: inline-flex; align-items: center; gap: 8px;
		font-size: 17px; font-weight: 800; letter-spacing: .04em; color: var(--navy);
	}
	.hdr__telbadge { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; background: var(--gold); color: #fff; padding: 3px 7px; border-radius: 4px; }
}

.gnav { display: none; }

@media (min-width: 1280px) {
	.hdr { position: sticky; top: calc(var(--adminbar) + var(--sbar-h)); }
	.hdr.is-scrolled { background: rgba(251, 251, 250, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
	.hdr__inner { padding-top: 8px; padding-bottom: 8px; }
	.gnav { display: block; animation-delay: .08s; }
	.gnav__list { list-style: none; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
	.gnav__item { position: relative; }
	.gnav__link {
		display: inline-flex; align-items: center; gap: 4px; padding: 10px 0;
		font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
	}
	.gnav__link .icon { width: 11px; height: 11px; opacity: .55; transition: transform .3s var(--ease); }
	.gnav__item.is-open .gnav__link .icon { transform: rotate(180deg); }
	.gnav__item.is-current > .gnav__link { color: var(--blue); }
	.gnav__item.is-current > .gnav__link::after {
		content: ""; position: absolute; left: 0; right: 14px; bottom: 2px; height: 2px; background: var(--grad); border-radius: 2px;
	}
	.gnav__item:not(.has-sub).is-current > .gnav__link::after { right: 0; }
	.gnav__cta {
		display: inline-flex; align-items: center; gap: 8px;
		background: var(--navy); color: #fff; padding: 8px 17px; border-radius: 999px;
		font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
		transition: background .3s var(--ease);
	}
	.gnav__cta:hover, .gnav__item.is-open .gnav__cta { background: var(--blue-h); color: #fff; }
}

/* メガメニュー */
.mega {
	position: absolute; top: 100%; left: -18px; z-index: 5;
	display: grid; grid-template-columns: 180px minmax(220px, 1fr); gap: 20px;
	width: max-content; min-width: 480px; max-width: 560px;
	padding: 20px; margin-top: 8px;
	background: #fff; border: 1px solid #e4e7ea; border-radius: 14px;
	box-shadow: 0 14px 34px rgba(15, 32, 51, .12);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.gnav__item.is-open > .mega, .gnav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega--cta { left: auto; right: -40px; grid-template-columns: 170px 280px; }
.mega__head { display: flex; flex-direction: column; gap: 8px; padding: 4px 18px 4px 4px; border-right: 1px solid var(--line-2); }
.mega__en { font-size: 10px; letter-spacing: .3em; font-weight: 700; color: var(--sky); }
.mega__title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; letter-spacing: .04em; }
.mega__title span { font-size: 13px; transition: transform .4s var(--ease); }
.mega__title:hover span { transform: translateX(4px); }
.mega__title--plain { cursor: default; }
.mega__desc { font-size: 11px; line-height: 1.9; letter-spacing: .04em; color: var(--muted); }
.mega__links { list-style: none; display: flex; flex-direction: column; }
.mega__links a {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 10px 12px; border-radius: 8px;
	font-size: 12px; font-weight: 600; letter-spacing: .04em;
	transition: background .25s ease, color .25s ease;
}
.mega__links a:hover, .mega__links a[aria-current="page"] { background: var(--soft); color: var(--blue-h); }
.mega__arrow { font-size: 12px; color: var(--muted-2); transition: transform .4s var(--ease), color .25s; }
.mega__links a:hover .mega__arrow { transform: translateX(4px); color: var(--blue-h); }
.mega__ctas { display: flex; flex-direction: column; gap: 8px; }
.mega__ctas .cta-btn { font-size: 12px; padding: 12px 14px; }

/* コラム：親カテゴリ → ホバーで子カテゴリが横に出る */
.mega__links--tree { gap: 2px; }
.mega__parent { position: relative; }
.mega__chev { display: inline-flex; color: var(--muted-2); transition: transform .3s var(--ease), color .25s; }
.mega__chev .icon { width: 12px; height: 12px; transform: rotate(-90deg); }
.mega__parent.is-current > a { color: var(--blue); }
.mega__parent.is-open > a, .mega__parent:focus-within > a { background: var(--soft); color: var(--blue-h); }
.mega__parent.is-open > a .mega__chev, .mega__parent:focus-within > a .mega__chev { color: var(--blue-h); transform: translateX(3px); }
.mega__fly {
	position: absolute; top: -13px; left: calc(100% + 29px); z-index: 2;
	width: max-content; min-width: 230px; max-width: 300px;
	padding: 12px; background: #fff; border: 1px solid #e4e7ea; border-radius: 14px;
	box-shadow: 0 14px 34px rgba(15, 32, 51, .12);
	opacity: 0; visibility: hidden; transform: translateX(-6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega__fly::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 30px; }
.mega__parent.is-open > .mega__fly, .mega__parent:focus-within > .mega__fly { opacity: 1; visibility: visible; transform: none; }
.mega__flyhead { display: block; padding: 4px 12px 8px; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--sky); }

/* ==========================================================================
   CTA ボタン（P12 / P13 / P14 固定）
   ========================================================================== */
.cta-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 18px; border-radius: 10px;
	font-size: 13px; font-weight: 800; letter-spacing: .04em; line-height: 1.35;
	color: #fff; text-align: left;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), filter .3s;
}
.cta-btn:hover { color: #fff; transform: translateY(-2px); }
.cta-btn .icon { width: 18px; height: 18px; }
.cta-btn__label { flex: 1; }
.cta-btn__arrow { flex: none; font-size: 14px; margin-left: 6px; transition: transform .4s var(--ease); }
.cta-btn:hover .cta-btn__arrow { transform: translateX(3px); }
.cta-btn--green { background: linear-gradient(100deg, #2ba36a, #0d7f80); box-shadow: 0 10px 22px -12px rgba(13, 127, 128, .8); }
.cta-btn--gold { background: var(--navy-3); box-shadow: 0 10px 22px -12px rgba(16, 40, 63, .8); }
.cta-btn--gold .icon { color: #e3c987; }
.cta-btn--gold:hover { background: #1a3a58; }
.cta-btn--blue { background: var(--ind); box-shadow: 0 10px 22px -12px rgba(79, 141, 216, .8); }
.cta-btn--blue:hover { background: var(--ind-h); }
.cta-btn--block { display: flex; width: 100%; }
.cta-btn--onnavy { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.cta-btn--onnavy:hover { background: rgba(255, 255, 255, .12); }
.cta-btn--onnavy.cta-btn--green .icon { color: #6fd8a5; }
.cta-btn--onnavy.cta-btn--gold .icon { color: #e3c987; }
.cta-btn--onnavy.cta-btn--blue .icon { color: #9cc4f2; }

/* ==========================================================================
   ハンバーガーメニュー（仕様書 3.3）
   ========================================================================== */
.drawer-bg {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(15, 32, 51, .38);
	opacity: 0; transition: opacity .5s var(--ease);
}
.drawer-bg.is-open { opacity: 1; }
.drawer {
	position: fixed; top: 0; right: 0; z-index: 81;
	height: 100vh; height: 100dvh; width: min(86vw, 400px);
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	padding: 10px 24px calc(32px + env(safe-area-inset-bottom));
	background: var(--bg);
	transform: translateX(calc(100% + 80px)); visibility: hidden;
	transition: transform .6s var(--ease), box-shadow .6s ease, visibility 0s linear .6s;
}
.drawer.is-open {
	transform: translateX(0); visibility: visible;
	box-shadow: -24px 0 60px -24px rgba(15, 32, 51, .4);
	transition: transform .6s var(--ease), box-shadow .6s ease, visibility 0s;
}
.admin-bar .drawer { top: var(--adminbar); height: calc(100dvh - var(--adminbar)); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.drawer__title { font-size: 11px; letter-spacing: .34em; color: var(--muted); font-weight: 700; }
.drawer__close {
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--navy); cursor: pointer;
}
.drawer__close .icon { width: 24px; height: 24px; }
.drawer__nav { display: flex; flex-direction: column; margin-top: 12px; border-top: 1px solid rgba(15, 32, 51, .12); }
.drawer__group { border-bottom: 1px solid rgba(15, 32, 51, .12); }
.drawer__summary, .drawer__link {
	list-style: none; display: flex; justify-content: space-between; align-items: center;
	padding: 17px 2px; font-size: 15px; font-weight: 700; letter-spacing: .06em; cursor: pointer;
}
.drawer__summary::-webkit-details-marker { display: none; }
.drawer__link { border-bottom: 1px solid rgba(15, 32, 51, .12); }
.drawer__link span { font-size: 14px; color: var(--sky); }
.drawer__plus { font-size: 20px; font-weight: 400; color: var(--sky); transition: transform .4s var(--ease); }
.drawer__group[open] .drawer__plus { transform: rotate(45deg); }
.drawer__sub { display: flex; flex-direction: column; padding: 0 0 12px 14px; }
.drawer__sub a { padding: 11px 0; font-size: 13.5px; letter-spacing: .05em; color: var(--text); }
.drawer__sub a:first-child { font-weight: 700; color: var(--navy); }
.drawer__subgroup { display: flex; flex-direction: column; }
.drawer__subkids { display: flex; flex-direction: column; margin: 0 0 6px 2px; padding-left: 14px; border-left: 1px solid rgba(15, 32, 51, .12); }
.drawer__sub .drawer__subkids a { padding: 8px 0; font-size: 13px; font-weight: 400; color: var(--text); }
.drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.drawer__tel {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	min-height: 72px; margin-top: 4px; padding: 10px;
	border: 2px solid var(--navy-2); color: var(--navy-2); border-radius: 12px;
}
.drawer__tellabel { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.drawer__telnum { font-size: 21px; font-weight: 900; letter-spacing: .04em; line-height: 1; }
.drawer__telhours { font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }
.drawer__privacy { margin-top: 22px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }

/* ==========================================================================
   フッター（仕様書 3.4）
   ========================================================================== */
.ftr {
	position: relative; z-index: 2;
	background: var(--navy); color: #fff;
	padding: clamp(80px, 12vh, 130px) var(--gutter) 40px;
}
.ftr a { color: #e4e9ee; }
.ftr a:hover { color: var(--cyan-l); }
.ftr__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(44px, 6vh, 64px); }
.ftr__contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ftr__lead { display: flex; flex-direction: column; gap: 22px; max-width: 660px; }
.ftr__en { font-size: 11px; letter-spacing: .34em; color: var(--cyan-l); font-weight: 700; }
.ftr__title { font-size: clamp(26px, 3.6vw, 46px); font-weight: 900; line-height: 1.36; letter-spacing: .01em; }
.ftr__text { font-size: 13px; line-height: 2.1; letter-spacing: .05em; color: #c3ccd6; }
.ftr__telbox { display: flex; flex-direction: column; gap: 6px; }
.ftr .ftr__tel { color: #fff; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; letter-spacing: .02em; line-height: 1; }
.ftr__fax { font-size: clamp(14px, 1.4vw, 17px); font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.ftr__hours { font-size: 11.5px; letter-spacing: .06em; color: var(--muted-2); }
.ftr__cta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ftr__cta .cta-btn { color: #fff; }
.ftr__grid {
	display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px);
	padding-top: clamp(40px, 6vh, 64px); border-top: 1px solid rgba(255, 255, 255, .14);
}
.ftr__company { display: flex; flex-direction: column; gap: 12px; }
.ftr__cname { font-size: 15px; font-weight: 900; letter-spacing: .14em; }
.ftr__addr { font-size: 11.5px; line-height: 2.1; letter-spacing: .05em; color: var(--muted-2); }
.ftr__col { display: flex; flex-direction: column; gap: 14px; }
.ftr__colhead { font-size: 10.5px; letter-spacing: .28em; color: var(--muted-2); }
.ftr__col ul, .ftr__pillar ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ftr__col a, .ftr__pillar a { font-size: 12.5px; letter-spacing: .05em; line-height: 1.6; }
.ftr__col .ftr__kids { gap: 7px; margin-top: 9px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .14); }
.ftr__col .ftr__kids a { font-size: 11.5px; letter-spacing: .02em; color: rgba(255, 255, 255, .7); }
.ftr__col .ftr__kids a:hover { color: var(--cyan-l); }
.ftr__pillar { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ftr__pillar ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 32px; }
.ftr__pillar a { display: inline-flex; gap: 10px; }
.ftr__pillar a::before { content: "→"; color: var(--cyan-l); font-size: 11px; line-height: 1.9; }
.ftr__tm { font-size: 10.5px; line-height: 1.9; letter-spacing: .04em; color: #7a8794; }
.ftr__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 10.5px; letter-spacing: .18em; color: #7a8794;
}
.ftr__tagline { letter-spacing: .3em; }

@media (max-width: 1279px) {
	.ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ftr__company { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.ftr { padding-bottom: 120px; }
	.ftr__cta { grid-template-columns: minmax(0, 1fr); }
	.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
	.ftr__pillar ul { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   スマホの浮かぶ CTA バー（v7）
   ========================================================================== */
.spbar { display: none; }
@media (max-width: 767px) {
	.spbar {
		display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(251, 251, 250, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border-top: 1px solid rgba(15, 32, 51, .1);
		transform: translateY(110%); transition: transform .5s var(--ease);
	}
	.spbar.is-shown { transform: none; }
}
.spbar__tel {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	min-height: 52px; border: 2px solid var(--navy-2); color: var(--navy-2); background: #fffdf8; border-radius: 10px;
}
.spbar__tellabel { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.spbar__telnum { font-size: 15px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.spbar__btn {
	display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
	background: var(--ind); color: #fff; border-radius: 10px;
	font-size: 14px; font-weight: 800; letter-spacing: .04em;
	box-shadow: 0 10px 22px -12px rgba(79, 141, 216, .8);
}
.spbar__btn:hover { color: #fff; }

/* ==========================================================================
   共通パーツ
   ========================================================================== */
.sec-en { display: inline-block; font-size: 11px; letter-spacing: .34em; font-weight: 700; color: var(--sky); }
.sec-en--green { color: var(--green); }
.sec-en--teal { color: var(--teal); }
.sec-en--sky { color: var(--sky); }
.sec-text { font-size: clamp(13px, 1.1vw, 16px); line-height: 2.1; letter-spacing: .05em; color: var(--text); text-wrap: pretty; }

.btn-pill {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 14px;
	background: var(--navy); color: #fff;
	padding: 17px 30px; border-radius: 999px;
	font-size: 13px; letter-spacing: .06em; line-height: 1.4;
	box-shadow: 0 1px 2px rgba(15, 32, 51, .18);
	transition: box-shadow .5s var(--ease), transform .5s var(--ease), gap .5s var(--ease), letter-spacing .5s var(--ease), background .45s var(--ease);
}
.btn-pill:hover {
	color: #fff; gap: 20px; letter-spacing: .14em;
	background: var(--grad); transform: translateY(-2px);
	box-shadow: 0 14px 30px -12px rgba(15, 32, 51, .55);
}
.btn-pill:active { transform: translateY(0); }
.btn-pill__arrow { display: inline-flex; width: 15px; justify-content: center; font-size: 15px; }
.btn-pill--sm { padding: 16px 28px; font-size: 12.5px; }
.btn-pill--sm:hover { letter-spacing: .13em; }
.btn-pill--ghost { background: transparent; color: var(--navy); border: 1px solid rgba(15, 32, 51, .2); box-shadow: none; }

.link-line {
	display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; flex: none;
	font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
	padding-bottom: 6px; border-bottom: 1px solid rgba(15, 32, 51, .28);
	transition: gap .45s var(--ease), border-color .45s var(--ease);
}
.link-line:hover { gap: 18px; border-color: var(--blue-h); }

/* 相談カード（v7） */
.ctacards { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.ctacard {
	display: flex; flex-wrap: wrap; border-radius: 18px; overflow: hidden;
	box-shadow: 0 0 28px rgba(0, 0, 0, .22), 0 12px 32px -12px rgba(0, 0, 0, .35), 0 0 0 1px var(--ctacard-line);
}
.ctacard--corp { --ctacard-line: #d8c28a; background: #fffdf8; }
.ctacard--ind { --ctacard-line: #d7e3ef; background: #fff; }
.ctacard__l {
	flex: 1 1 240px; display: flex; flex-direction: column; justify-content: center; gap: 4px;
	padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px);
	position: relative; overflow: hidden; isolation: isolate; color: var(--navy-2);
	border-right: 1px solid var(--ctacard-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.ctacard--corp .ctacard__l { background: linear-gradient(135deg, #fbf4e2 0%, #f4e9cc 45%, #e9d7a6 100%); }
.ctacard--ind .ctacard__l { background: linear-gradient(135deg, #f7fafe 0%, #eef5fc 45%, #dce9f7 100%); }
.ctacard__lead { font-size: clamp(12px, 1vw, 13.5px); font-weight: 700; letter-spacing: .06em; color: #66727f; }
.ctacard--ind .ctacard__lead { color: #74808c; }
.ctacard__amt { display: block; font-size: clamp(28px, 2.8vw, 38px); font-weight: 900; letter-spacing: .02em; line-height: 1.15; margin-bottom: 4px; color: var(--gold); }
.ctacard--ind .ctacard__amt { color: var(--ind); }
.ctacard__target { font-size: clamp(16px, 1.45vw, 20px); font-weight: 900; letter-spacing: .04em; line-height: 1.4; }
.ctacard__r { flex: 1.25 1 280px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px); }
.ctacard__note { font-size: clamp(13px, 1.1vw, 15px); font-weight: 800; letter-spacing: .04em; color: var(--navy-2); text-align: center; }
.ctacard__tel {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	border: 2px solid var(--navy-2); color: var(--navy-2); border-radius: 10px; padding: 10px 14px;
	transition: background .2s ease;
}
.ctacard__tel:hover { background: var(--gold-l); color: var(--navy-2); }
.ctacard__telbadge { font-size: 10px; font-weight: 700; letter-spacing: .14em; background: var(--gold); color: #fff; padding: 4px 8px; border-radius: 4px; }
.ctacard__telnum { font-size: clamp(20px, 1.9vw, 25px); font-weight: 900; letter-spacing: .04em; line-height: 1; }
.ctacard__btn {
	display: flex; align-items: stretch; color: #fff; border-radius: 10px; overflow: hidden;
	transition: transform .2s ease, background .2s ease;
}
.ctacard__btn:hover { color: #fff; transform: translateY(-2px); }
.ctacard__btn--navy { background: var(--navy-3); box-shadow: 0 10px 22px -12px rgba(16, 40, 63, .8); }
.ctacard__btn--navy:hover { background: #1a3a58; }
.ctacard__btn--blue { background: var(--ind); box-shadow: 0 10px 22px -12px rgba(79, 141, 216, .8); }
.ctacard__btn--blue:hover { background: var(--ind-h); }
.ctacard__btnlabel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 13px 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; line-height: 1.3; text-align: center; }
.ctacard__btn--blue .ctacard__btnlabel { padding: 17px 14px; font-size: clamp(14px, 1.2vw, 16px); }
.ctacard__btnarrow { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; border-left: 1px solid rgba(255, 255, 255, .35); font-size: 15px; }
.ctacard__sub { font-size: 11px; letter-spacing: .04em; color: #74808c; text-align: center; }
@media (max-width: 767px) {
	.ctacard__l { border-right: none; border-bottom: 1px solid rgba(15, 32, 51, .08); }
	.ctacard__amt { display: inline; font-size: 22px; margin: 0 2px 0 0; }
}

/* 診断の帯 */
.ctadiag {
	display: flex; align-items: center; gap: clamp(14px, 2vw, 24px);
	padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
	border-radius: 18px; color: #fff;
	background: linear-gradient(110deg, #2ba36a 0%, #1a9380 45%, #0d7f80 100%);
	box-shadow: 0 0 28px rgba(0, 0, 0, .16), 0 12px 32px -12px rgba(13, 127, 128, .55);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ctadiag:hover { color: #fff; transform: translateY(-2px); }
.ctadiag__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.ctadiag__icon .icon { width: 26px; height: 26px; }
.ctadiag__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ctadiag__lead { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; opacity: .85; }
.ctadiag__title { font-size: clamp(17px, 1.6vw, 21px); font-weight: 900; letter-spacing: .04em; }
.ctadiag__note { font-size: 12px; line-height: 1.8; letter-spacing: .03em; opacity: .9; }
.ctadiag__arrow { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--teal); font-size: 15px; transition: transform .4s var(--ease); }
.ctadiag:hover .ctadiag__arrow { transform: translateX(4px); }
@media (max-width: 767px) {
	.ctadiag__icon { display: none; }
	.ctadiag__note { display: none; }
}

/* ==========================================================================
   下層ページ
   ========================================================================== */
.phero {
	position: relative; z-index: 2; overflow-x: clip;
	padding: clamp(28px, 5vh, 56px) var(--gutter) clamp(48px, 8vh, 92px);
}
.phero__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.phero__en { display: block; margin-top: clamp(28px, 6vh, 64px); font-size: 11px; letter-spacing: .34em; font-weight: 700; color: var(--sky); }
.phero__title { margin-top: 16px; font-size: clamp(30px, 4.4vw, 58px); font-weight: 900; line-height: 1.32; letter-spacing: .02em; max-width: 820px; text-wrap: balance; }
.phero__meta { margin-top: 18px; }
.phero__lead { margin-top: clamp(20px, 3vh, 32px); max-width: 720px; font-size: clamp(13px, 1.1vw, 16px); line-height: 2.1; letter-spacing: .05em; color: var(--text); text-wrap: pretty; }
.phero--compact .phero__title { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.5; }

.bc__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.bc__item { display: inline-flex; align-items: center; }
.bc__item + .bc__item::before { content: "/"; margin: 0 10px; color: #b6bec6; }
.bc__item a { color: var(--muted); }
.bc__item a:hover { color: var(--blue-h); text-decoration: underline; text-underline-offset: 3px; }
.bc__item span[aria-current] { color: var(--navy); max-width: 32em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* スマホ：長い記事名は画面幅で折り返す（はみ出さない） */
@media (max-width: 767px) {
	.bc__list { min-width: 0; max-width: 100%; }
	.bc__item { min-width: 0; max-width: 100%; }
	.bc__item span[aria-current] { max-width: none; white-space: normal; overflow-wrap: anywhere; overflow: visible; }
}

.page-body { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(90px, 14vh, 150px); }
.container { max-width: 1080px; margin: 0 auto; }
.container--narrow { width: 100%; max-width: 780px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: clamp(72px, 11vh, 120px); }

.blockhead { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vh, 44px); }
.blockhead__title { font-size: clamp(22px, 2.8vw, 36px); font-weight: 900; line-height: 1.45; letter-spacing: .02em; }
.blockhead__text { font-size: 14px; line-height: 2; letter-spacing: .04em; color: var(--text); max-width: 720px; }
.blockhead--row { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

.intro { font-size: clamp(14px, 1.2vw, 17px); line-height: 2.1; letter-spacing: .05em; color: var(--ink); max-width: 760px; }

/* 本文 */
.entry { font-size: 15px; line-height: 2.05; letter-spacing: .04em; color: var(--ink); overflow-wrap: anywhere; }
.entry > * + * { margin-top: 1.4em; }
.entry h2 {
	position: relative; margin-top: 2.8em; padding-top: 22px;
	font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.55; letter-spacing: .03em; color: var(--navy);
	border-top: 1px solid var(--line);
}
.entry h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--grad); }
.entry h3 { margin-top: 2.2em; padding-left: 14px; border-left: 3px solid var(--sky); font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.6; color: var(--navy); }
.entry h4 { margin-top: 1.8em; font-size: 16px; font-weight: 700; }
.entry h2 + *, .entry h3 + * { margin-top: .9em; }
.entry > :first-child { margin-top: 0; }
.entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry a:hover { color: var(--blue-h); }
.entry ul, .entry ol { padding-left: 1.5em; }
.entry li + li { margin-top: .4em; }
.entry li::marker { color: var(--sky); font-weight: 700; }
.entry strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(31, 143, 196, .18) 62%); }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 16px 22px; border-left: 3px solid var(--green); background: #fff; color: var(--text); }
.entry table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.entry th, .entry td { padding: 14px 16px; border: 1px solid #e1e5e9; text-align: left; vertical-align: top; }
.entry th { background: var(--soft); font-weight: 700; }
/* 表：入りきらない幅の表は横にスクロール（スマホでは無理に画面に収めず、スワイプで見る） */
.entry .wp-block-table, .entry .tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.entry .wp-block-table table, .entry .tbl-scroll table { margin: 0; }
.entry .wp-block-table figcaption { position: sticky; left: 0; }
.tbl-hint { display: flex; align-items: center; gap: 6px; margin-bottom: -.6em; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; color: var(--sky); }
.tbl-hint[hidden] { display: none; }
.tbl-hint__arrow { display: inline-block; animation: tblHint 1.6s var(--ease) infinite; }
@keyframes tblHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .tbl-hint__arrow { animation: none; } }
@media (max-width: 767px) {
	/* 画面の端まで使ってスクロール（表の左端は本文にそろえる） */
	.entry .wp-block-table, .entry .tbl-scroll { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
	.entry .wp-block-table figcaption { left: var(--gutter); max-width: calc(100vw - 2 * var(--gutter)); }
	.entry table, .entry .wp-block-table table, .entry .wp-block-table .has-fixed-layout { table-layout: auto; width: auto; min-width: 100%; font-size: 13.5px; line-height: 1.8; }
	.entry th, .entry td { min-width: 10em; padding: 12px 12px; letter-spacing: .02em; }
}
.entry figure img, .entry img { border-radius: 4px; }
.entry figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.entry .wp-block-button__link { display: inline-flex; padding: 14px 26px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .06em; }
.entry .wp-block-button__link:hover { background: var(--grad); color: #fff; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.entry .has-navy-color { color: var(--navy); } .entry .has-blue-color { color: var(--blue); } .entry .has-sky-color { color: var(--sky); }
.entry .has-green-color { color: var(--green); } .entry .has-teal-color { color: var(--teal); } .entry .has-gold-color { color: var(--gold); }
.entry .has-gray-color { color: var(--text); }
.entry .has-light-background-color { background: #f3f5f7; padding: 20px 24px; }
.entry .has-navy-background-color { background: var(--navy); color: #fff; padding: 20px 24px; }

/* 記事の途中に入れた相談カード・診断の帯（ブロック／ショートコード）。本文の文字・リンクの装飾を受けないようにする */
.skfs-cta-block { margin: 2.6em 0; line-height: 1.8; letter-spacing: normal; color: var(--navy); }
.entry > .skfs-cta-block { margin-top: 2.6em; margin-bottom: 2.6em; }
.entry > .skfs-cta-block:first-child { margin-top: 0; }
.entry .skfs-cta-block a { text-decoration: none; }
.entry .skfs-cta-block .ctacard__tel, .entry .skfs-cta-block .ctacard__tel:hover { color: var(--navy-2); }
.entry .skfs-cta-block .ctacard__btn, .entry .skfs-cta-block .ctacard__btn:hover,
.entry .skfs-cta-block .ctadiag, .entry .skfs-cta-block .ctadiag:hover { color: #fff; }

/* 目次 */
.toc { margin: 0 0 clamp(36px, 5vh, 56px); padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px); background: #fff; border: 1px solid #e4e7ea; border-radius: 14px; }
.toc__title { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; font-weight: 700; color: var(--sky); }
.toc__list { list-style: none; counter-reset: toc; margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.toc__list li { counter-increment: toc; }
.toc__list a { display: grid; grid-template-columns: 32px 1fr; padding: 6px 0; font-size: 14px; font-weight: 700; letter-spacing: .03em; line-height: 1.7; }
.toc__list a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; font-weight: 900; color: var(--sky); letter-spacing: .1em; padding-top: 3px; }
.toc__list a:hover { color: var(--blue-h); }
/* 本文の途中に置いた目次（ブロック／ショートコード）。本文のリスト・リンクの装飾を受けないようにする */
.entry > .skfs-toc-block { margin-top: 2.4em; margin-bottom: 2.4em; }
.entry > .skfs-toc-block:first-child { margin-top: 0; }
.entry .toc { margin: 0; }
.entry .toc__list { padding-left: 0; }
.entry .toc__list li + li { margin-top: 0; }
.entry .toc__list a { color: inherit; text-decoration: none; }
.entry .toc__list a:hover { color: var(--blue-h); }

/* 用語の説明（ⓘ）。PC はマウスを合わせると、スマホはタップすると吹き出しが出る（inc/glossary.php・common.js） */
.gl__nw { white-space: nowrap; }
.gl__anchor { position: relative; display: inline-block; }
.gl__btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 1.5em; height: 1.5em; margin: 0 .2em 0 .25em; padding: 0; border: 0; border-radius: 50%;
	background: var(--sky); color: #fff; cursor: pointer;
	font: italic 700 .7em/1 Georgia, "Times New Roman", serif; letter-spacing: 0; vertical-align: .2em;
	transition: background .2s ease, transform .2s ease;
}
.gl__btn::after { content: ""; position: absolute; inset: -9px; } /* 指で押しやすいように当たり判定を広げる */
.gl__btn:hover, .gl.is-open .gl__btn { background: var(--blue-h); }
.gl__i { display: block; transform: translateX(-.04em); }
.gl__tip {
	position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 40;
	width: max-content; max-width: min(320px, calc(100vw - 32px));
	padding: 12px 15px 13px; border-radius: 10px; background: var(--navy); color: #fff;
	font-family: var(--font); font-style: normal; font-size: 13px; font-weight: 400; line-height: 1.8; letter-spacing: .03em;
	text-align: left; white-space: normal; overflow-wrap: anywhere;
	box-shadow: 0 14px 30px rgba(15, 32, 51, .25);
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translate(calc(-50% + var(--gl-shift, 0px)), 4px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.gl__tip::after {
	content: ""; position: absolute; top: 100%; left: calc(50% - var(--gl-shift, 0px)); margin-left: -6px;
	border: 6px solid transparent; border-top-color: var(--navy);
}
.gl__name { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--cyan-l); }
.gl.is-below .gl__tip { bottom: auto; top: calc(100% + 10px); transform: translate(calc(-50% + var(--gl-shift, 0px)), -4px); }
.gl.is-below .gl__tip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy); }
.gl.is-open .gl__tip, .gl__btn:focus-visible + .gl__tip { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(calc(-50% + var(--gl-shift, 0px)), 0); }
@media (hover: hover) {
	.gl__anchor:hover .gl__tip { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(calc(-50% + var(--gl-shift, 0px)), 0); }
}
.gl.is-hush .gl__tip { opacity: 0; visibility: hidden; pointer-events: none; }
.entry .gl__tip strong { background: none; }

/* Hub カード */
.hubcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2vw, 28px); }
@media (min-width: 768px) {
	.hubcards[data-count="2"], .hubcards[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hubcards[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	.hubcards[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hubcard {
	position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px;
	background: #fff; padding: clamp(26px, 2.4vw, 34px);
	box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 22px 44px -28px rgba(15, 32, 51, .3);
	transition: transform .8s var(--ease-2), box-shadow .8s var(--ease-2);
}
.hubcard:hover { transform: translateY(-6px); color: var(--navy); box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 30px 54px -28px rgba(15, 32, 51, .38); }
.hubcard__thumb { margin: calc(-1 * clamp(26px, 2.4vw, 34px)) calc(-1 * clamp(26px, 2.4vw, 34px)) 6px; aspect-ratio: 16 / 9; overflow: hidden; }
.hubcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-2); }
.hubcard:hover .hubcard__thumb img { transform: scale(1.06); }
.hubcard__no { font-size: 12px; font-weight: 900; letter-spacing: .2em; color: var(--accent, var(--sky)); }
.hubcard__title { font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; letter-spacing: .04em; line-height: 1.6; transition: color .55s var(--ease), transform .7s var(--ease-2); }
.hubcard:hover .hubcard__title { color: var(--blue); transform: translateX(5px); }
.hubcard__text { flex: 1; font-size: 13px; line-height: 2; letter-spacing: .04em; color: var(--text); }
.hubcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.hubcard__more { font-size: 11px; letter-spacing: .24em; font-weight: 700; color: var(--muted); }
.hubcard__arrow { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(15, 32, 51, .2); font-size: 14px; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.hubcard:hover .hubcard__arrow { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateX(3px); }
.hubcard .colrule { margin-top: 2px; }
.hubcard[aria-current="page"] { outline: 2px solid var(--sky); outline-offset: -2px; }

/* 数字（実績） */
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.stat { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.stat__en { font-size: 10.5px; letter-spacing: .28em; color: var(--muted); }
.stat__num { white-space: nowrap; font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -.01em; }
.stat__unit { font-size: .34em; margin-left: 8px; color: var(--navy); }
.stat__cap { font-size: 13px; letter-spacing: .08em; color: var(--text); }
@media (max-width: 1023px) { .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* 番号付きの項目（理由・取り組み） */
.points { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 3.4vw, 48px); }
.point { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.point__no { font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.point__title { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: .04em; line-height: 1.55; }
.point__text { font-size: clamp(13px, 1.05vw, 15px); line-height: 2; letter-spacing: .04em; color: var(--text); }
.points li:nth-child(4n+1) .point__no { color: var(--green); }
.points li:nth-child(4n+2) .point__no { color: var(--sky); }
.points li:nth-child(4n+3) .point__no { color: var(--blue); }
.points li:nth-child(4n+4) .point__no { color: var(--teal); }

/* ご利用の流れ */
.flow { list-style: none; display: flex; flex-direction: column; }
.flow__step { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); padding-bottom: clamp(32px, 5vh, 48px); }
.flow__step:not(:last-child)::before { content: ""; position: absolute; left: 35px; top: 72px; bottom: 6px; width: 2px; background: linear-gradient(180deg, rgba(31, 143, 196, .5), rgba(43, 163, 106, .25)); }
.flow__no {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 72px; height: 72px; border-radius: 50%; background: #fff;
	box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 16px 30px -18px rgba(15, 32, 51, .35);
	font-weight: 900; color: var(--sky);
}
.flow__no small { font-size: 8.5px; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
.flow__no span { font-size: 22px; line-height: 1; }
.flow__body { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
.flow__title { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: .04em; }
.flow__text { font-size: 14px; line-height: 2; letter-spacing: .04em; color: var(--text); }
.flow__time { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--blue); background: #eaf2fc; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 767px) {
	.flow__step { grid-template-columns: 56px minmax(0, 1fr); }
	.flow__no { width: 56px; height: 56px; }
	.flow__no span { font-size: 18px; }
	.flow__step:not(:last-child)::before { left: 27px; top: 56px; }
	.flow__body { padding-top: 6px; }
}

.checklist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: #fff; border-radius: 10px; font-size: 14px; line-height: 1.8; letter-spacing: .04em; box-shadow: 0 1px 2px rgba(15, 32, 51, .06); }
.checklist .icon { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.note { font-size: 12.5px; line-height: 1.9; color: var(--muted); letter-spacing: .04em; }

/* 表（会社概要・募集要項） */
.dtable { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.dtable dt, .dtable dd { margin: 0; padding: clamp(16px, 2.2vh, 22px) 4px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.95; letter-spacing: .04em; }
.dtable dt { font-weight: 700; color: var(--navy); }
.dtable dd { color: var(--ink); padding-left: 16px; }
@media (max-width: 767px) {
	.dtable { grid-template-columns: minmax(0, 1fr); }
	.dtable dt { border-bottom: 0; padding-bottom: 2px; font-size: 12.5px; color: var(--sky); }
	.dtable dd { padding-top: 0; padding-left: 4px; }
}

.history { list-style: none; position: relative; display: flex; flex-direction: column; }
.history::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.history li { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 0 14px 32px; font-size: 14px; line-height: 1.9; letter-spacing: .04em; }
.history li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); }
.history__date { font-weight: 700; color: var(--blue); }
@media (max-width: 767px) { .history li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* 代表挨拶 */
.greeting { max-width: 944px; }
.greeting__signtext { display: none; }
.greeting__heading { font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; line-height: 1.6; letter-spacing: .03em; margin-bottom: clamp(24px, 4vh, 40px); }
/* あいさつ文：PC・タブレットは画像、スマホは文章（画像だと文字が小さくなりすぎるため）。文章は読み上げ・検索用に常に出力する */
.greeting__message-img { display: block; width: 100%; height: auto; }
.greeting__body { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.greeting__sign { margin-top: clamp(32px, 5vh, 56px); display: flex; justify-content: flex-end; }
.greeting__sign img { display: block; width: clamp(150px, 26.3%, 242px); height: auto; }
@media (max-width: 767px) {
	.greeting__message-img { display: none; }
	.greeting__body { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; font-size: 15px; line-height: 2.1; letter-spacing: .05em; color: var(--navy); }
	.greeting__body > * + * { margin-top: 1.4em; }
	.greeting__signtext { display: block; margin-top: 2em; text-align: right; font-size: 15px; font-weight: 700; line-height: 1.9; letter-spacing: .08em; color: var(--navy); }
}

/* 事例カード（P10） */
.casegrid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.casecard {
	position: relative; overflow: hidden; isolation: isolate; height: 100%;
	background: #fff; padding: clamp(28px, 2.6vw, 38px);
	display: flex; flex-direction: column; gap: 20px;
	box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 22px 44px -28px rgba(15, 32, 51, .3);
}
.casecard__img { margin: calc(-1 * clamp(28px, 2.6vw, 38px)) calc(-1 * clamp(28px, 2.6vw, 38px)) 4px; aspect-ratio: 16 / 8; overflow: hidden; }
.casecard__img img { width: 100%; height: 100%; object-fit: cover; }
.casecard__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.casecard__no { background: var(--navy); color: #fff; padding: 8px 16px; font-size: 12.5px; font-weight: 900; letter-spacing: .14em; }
.casecard__industry { font-size: clamp(15px, 1.3vw, 18px); font-weight: 900; letter-spacing: .04em; }
.casecard__nums { display: flex; gap: 26px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.casecard__nums strong { color: var(--navy); font-size: 15px; margin-left: 4px; }
.casecard__rule { height: 1px; background: var(--line); }
.casecard__title { font-size: clamp(15px, 1.25vw, 17px); font-weight: 700; line-height: 1.85; letter-spacing: .03em; text-wrap: pretty; }
.casecard__text { font-size: 12.5px; line-height: 2.1; letter-spacing: .04em; color: var(--text); text-wrap: pretty; }
.casecard__bg { display: none; position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat; }
/* 事例カード：詳細ページへのリンク（カード全体を押せる。マウスを乗せると浮き上がり、タイトルと「詳細を読む」が反応する） */
.casecard.has-link { cursor: pointer; transition: transform .6s var(--ease-2), box-shadow .6s var(--ease-2); }
.casecard.has-link:hover { transform: translateY(-8px); box-shadow: 0 4px 8px rgba(15, 32, 51, .08), 0 36px 64px -30px rgba(15, 32, 51, .5); }
.casecard__title a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .4s var(--ease), text-decoration-color .4s var(--ease); }
.casecard.has-link:hover .casecard__title a { color: var(--sky); text-decoration-color: currentColor; }
.casecard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.casecard__title a:focus-visible { outline: none; }
.casecard.has-link:focus-within { outline: 2px solid var(--sky); outline-offset: 3px; }
.casecard__more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--navy); border: 1px solid transparent; border-bottom-color: currentColor; transition: background-color .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease); }
.casecard__arrow { display: inline-block; transition: transform .5s var(--ease); }
.casecard.has-link:hover .casecard__more { background: var(--navy); color: #fff; border-color: var(--navy); padding: 10px 20px; }
.casecard.has-link:hover .casecard__arrow { transform: translateX(6px); }
/* マウスのない端末（スマホ）は最初からボタンの形 */
@media (hover: none) {
	.casecard__more { background: var(--navy); color: #fff; border-color: var(--navy); padding: 10px 20px; }
}
.casegrid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* 事例詳細 */
.casehero { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.casehero__num { font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.casehero__num strong { color: var(--navy); font-size: 16px; margin-left: 4px; }
.case-lead { margin-bottom: clamp(40px, 6vh, 64px); padding: clamp(22px, 2.4vw, 32px); background: #fff; border-top: 2px solid var(--green); font-size: clamp(15.5px, 1.3vw, 17px); font-weight: 500; line-height: 2.05; letter-spacing: .04em; color: var(--ink); }
/* 詳細ページ：題名を控えめにし、本文を大きく（題名と本文の差を小さくして読みやすく） */
.single-case_study .phero--compact .phero__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.6; max-width: 760px; }
.entry--case { font-size: 16px; line-height: 2.15; }
.entry--case h2 { font-size: clamp(19px, 1.7vw, 22px); }
.entry--case table { font-size: 15px; }
.entry--case th, .entry--case td { padding-top: 5px; padding-bottom: 5px; }
.entry--case blockquote { position: relative; margin-top: 1.2em; padding: 34px clamp(20px, 2.6vw, 32px) 24px; font-size: clamp(16px, 1.4vw, 18px); font-weight: 500; line-height: 2; color: var(--ink); background: #fff; border-left: 3px solid var(--green); box-shadow: 0 18px 40px -30px rgba(15, 32, 51, .35); }
.entry--case blockquote::before { content: "VOICE"; position: absolute; top: 12px; left: clamp(20px, 2.6vw, 32px); font-size: 10.5px; font-weight: 900; letter-spacing: .2em; color: var(--green); }
.entry--case blockquote p { margin: 0; }
.entry--case blockquote cite { display: block; margin-top: .6em; font-size: 13px; font-style: normal; color: var(--muted); }
.case-lead p + p { margin-top: .9em; }
.entry--case table td:first-child, .entry--case table tbody th:first-child { width: 38%; background: var(--soft); font-weight: 700; }
.entry--case table thead th, .entry--case table thead td { background: var(--navy); color: #fff; border-color: var(--navy); }
.entry--case .case-note { font-size: 12px; line-height: 1.9; color: var(--muted); }
.case-others { margin-top: clamp(72px, 10vh, 110px); }

/* コラムカード（v7） */
.colgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 3.4vw, 48px); }
.colgrid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(44px, 6vh, 64px); }
@media (max-width: 1023px) { .colgrid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .colgrid--archive { grid-template-columns: minmax(0, 1fr); } }
.colcard { display: flex; flex-direction: column; gap: 16px; position: relative; transition: transform .8s var(--ease-2); }
.colcard:hover { transform: translateY(-6px); color: var(--navy); }
.colthumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-top: 2px solid var(--cat, var(--sky)); background: #eef1f3; }
.colthumbinner { position: absolute; inset: 0; background: linear-gradient(135deg, #eef5fc, #dce9f7) center / cover no-repeat; transition: transform 1.3s var(--ease-2); }
.colthumbinner[style] { background-color: #eef1f3; background-position: center; background-size: cover; }
.colcard:hover .colthumbinner { transform: scale(1.08); }
.colveil { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21, 83, 199, .34), rgba(13, 127, 128, .28)); opacity: 0; transition: opacity .8s var(--ease); }
.colcard:hover .colveil { opacity: 1; }
.colarrow {
	position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 999px;
	background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 14px;
	opacity: 0; transform: translate(10px, 10px); transition: opacity .6s var(--ease), transform .7s var(--ease-2);
}
.colcard:hover .colarrow { opacity: 1; transform: none; }
.colcard__body { display: flex; flex-direction: column; gap: 12px; padding-top: 2px; }
.colcard__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.colcard__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: var(--cat, var(--sky)); }
.colcard__date { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.coltitle { margin: 0; font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; line-height: 1.7; letter-spacing: .03em; text-wrap: pretty; transition: color .55s var(--ease), transform .7s var(--ease-2); }
.colcard:hover .coltitle { color: var(--blue); transform: translateX(5px); }
.colcard__excerpt { font-size: 12.5px; line-height: 2; letter-spacing: .04em; color: var(--text); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.colrule { height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .85s var(--ease-2); margin-top: 4px; }
.colcard:hover .colrule, .hubcard:hover .colrule { transform: scaleX(1); }

/* カテゴリタブ（上段：すべて・親カテゴリ／下段：表示中の親の子カテゴリ） */
.catnav { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(36px, 5vh, 56px); }
.cattabs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.cattabs a {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
	border: 1px solid rgba(15, 32, 51, .16); background: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .06em;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.cattabs a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat, var(--navy)); }
.cattabs a:hover { border-color: var(--navy); color: var(--navy); }
.cattabs a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cattabs a.is-in { border-color: var(--navy); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.cattabs--sub { gap: 8px; }
.cattabs--sub a { padding: 7px 15px; font-size: 11.5px; background: rgba(255, 255, 255, .72); border-color: rgba(15, 32, 51, .12); }
.cattabs--sub a::before { width: 6px; height: 6px; }
@media (max-width: 767px) {
	.cattabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
	.cattabs a { white-space: nowrap; }
}

/* ページ送り */
.pager { margin-top: clamp(56px, 8vh, 80px); }
.pager .nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 999px; border: 1px solid rgba(15, 32, 51, .16); background: #fff; font-size: 13px; font-weight: 700;
}
.pager .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .page-numbers.dots { border: 0; background: transparent; }

/* お知らせ */
.newslist { list-style: none; border-top: 1px solid var(--line); }
.newslist li { border-bottom: 1px solid var(--line); }
.newslist a { display: grid; grid-template-columns: 130px minmax(0, 1fr) 24px; align-items: center; gap: 20px; padding: clamp(20px, 3vh, 26px) 4px; transition: color .45s var(--ease), padding-left .45s var(--ease); }
.newslist a:hover { padding-left: 12px; }
.newslist time { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.newslist__title { font-size: clamp(14px, 1.2vw, 16px); font-weight: 700; line-height: 1.8; letter-spacing: .04em; }
.newslist__arrow { font-size: 14px; color: var(--muted); }
@media (max-width: 767px) { .newslist a { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; } .newslist time { grid-column: 1 / -1; } }

/* FAQ 一覧 */
.faqcats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vh, 64px); }
.faqcats a { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(15, 32, 51, .16); background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.faqgroup + .faqgroup { margin-top: clamp(56px, 8vh, 80px); }
.faqgroup__title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 900; letter-spacing: .04em; }
.faqgroup__title span { font-size: 11px; letter-spacing: .3em; color: var(--sky); font-weight: 700; }
.faqitem { border-top: 1px solid var(--line); }
.faqitem:last-child { border-bottom: 1px solid var(--line); }
.faqitem__q { list-style: none; display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px; align-items: center; gap: 14px; padding: clamp(20px, 3vh, 26px) 0; cursor: pointer; font-size: clamp(14px, 1.2vw, 17px); font-weight: 700; line-height: 1.8; letter-spacing: .04em; transition: color .3s; }
.faqitem__q::-webkit-details-marker { display: none; }
.faqitem__q:hover { color: var(--blue-h); }
.faqitem__badge { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 14px; font-weight: 900; background: var(--navy); color: #fff; }
.faqitem__badge--a { background: var(--green); }
.faqitem__plus { font-size: 22px; font-weight: 400; color: var(--sky); text-align: center; transition: transform .4s var(--ease); }
.faqitem[open] .faqitem__plus { transform: rotate(45deg); }
.faqitem__a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 0 0 clamp(24px, 3.4vh, 32px); }
.faqitem__a .entry { font-size: 14px; }
.faqitem__more { margin-top: 14px; display: inline-flex; }
.faqitem:target, .faqitem.is-target { background: linear-gradient(90deg, rgba(31, 143, 196, .06), transparent); }

.related { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 18px 20px; background: #fff; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.7; letter-spacing: .03em; box-shadow: 0 1px 2px rgba(15, 32, 51, .06); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.related a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15, 32, 51, .35); }
.related small { display: block; font-size: 10.5px; letter-spacing: .2em; color: var(--sky); font-weight: 700; }
.related__arrow { flex: none; color: var(--muted); }

/* 記事 */
.article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.catpill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(15, 32, 51, .14); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.catpill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat, var(--sky)); }
.article__eyecatch { margin-bottom: clamp(36px, 5vh, 56px); aspect-ratio: 16 / 9; overflow: hidden; border-top: 2px solid var(--cat, var(--sky)); }
.article__eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.article__byline { display: flex; align-items: center; gap: 10px; }
.article__byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

.authorbox { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: 14px; box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 22px 44px -28px rgba(15, 32, 51, .3); }
.authorbox__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #eef5fc, #d3eee2); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: var(--sky); }
.authorbox__photo img { width: 100%; height: 100%; object-fit: cover; }
.authorbox__body { display: flex; flex-direction: column; gap: 8px; }
.authorbox__role { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: #fff; background: var(--sky); padding: 3px 10px; border-radius: 4px; }
.authorbox__name { font-size: 19px; font-weight: 900; letter-spacing: .06em; }
.authorbox__title { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.authorbox__quals { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.authorbox__quals li { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--text); }
.authorbox__bio { font-size: 13.5px; line-height: 2; letter-spacing: .04em; color: var(--text); }
.authorbox__link { align-self: flex-start; margin-top: 4px; }
@media (max-width: 767px) { .authorbox { grid-template-columns: minmax(0, 1fr); } }
.authorbox__kana { margin-left: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.authorbox--supervisor .authorbox__role { background: var(--navy); }
.article__people { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(48px, 7vh, 72px); }
.article__byline--sv { font-weight: 700; color: var(--navy); }
.article__bytitle { font-weight: 400; color: var(--muted); }
.colcard__badge { font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--navy); }

/* 執筆者・監修者のプロフィールページ（author.php） */
.profile-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.profile-meta__role, .personcard__role { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: #fff; background: var(--sky); padding: 3px 10px; border-radius: 4px; }
.profile-meta__role.is-sv, .personcard__role.is-sv { background: var(--navy); }
.profile-meta__kana { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.profile { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 32px); }
.profile__card {
	display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start;
	padding: clamp(26px, 3.4vw, 44px); background: #fff; border-radius: 16px;
	box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 22px 44px -28px rgba(15, 32, 51, .3);
}
.profile__photo { width: 200px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #eef5fc, #d3eee2); display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 900; color: var(--sky); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.profile__quals, .profile__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.profile__quals li { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); }
.profile__bio { font-size: 14.5px; line-height: 2.05; letter-spacing: .04em; color: var(--ink); }
.profile__stats { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.profile__stats:empty { display: none; }
.profile__stats div { display: flex; align-items: baseline; gap: 10px; }
.profile__stats dt { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.profile__stats dd { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: .02em; color: var(--navy); line-height: 1; }
.profile__stats dd span { margin-left: 2px; font-size: 12px; font-weight: 700; }
.profile__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.profile__links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(15, 32, 51, .16); font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: border-color .25s, color .25s; }
.profile__links a:hover { border-color: var(--blue-h); }
.profile__links a span { font-size: 11px; color: var(--sky); }
.profile__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.profile__block { padding: clamp(22px, 2.6vw, 32px); background: #fff; border-radius: 14px; box-shadow: 0 2px 3px rgba(15, 32, 51, .05); }
.profile__h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 15px; font-weight: 900; letter-spacing: .06em; color: var(--navy); }
.profile__h::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--grad); }
.profile__tags li { font-size: 12.5px; padding: 6px 13px; border-radius: 8px; border: 1px solid rgba(15, 32, 51, .12); color: var(--text); }
.profile__career, .profile__media { list-style: none; display: flex; flex-direction: column; }
.profile__career li, .profile__media li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.8; letter-spacing: .03em; color: var(--ink); }
.profile__career li:first-child, .profile__media li:first-child { border-top: 0; padding-top: 0; }
.profile__career li > span:only-child, .profile__media li > span:only-child { grid-column: 1 / -1; }
.profile__year { min-width: 4.6em; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--sky); padding-top: 2px; }
.profile__media a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.profile__card { grid-template-columns: minmax(0, 1fr); }
	.profile__photo { width: 120px; border-radius: 12px; font-size: 40px; }
	.profile__year { min-width: 4.2em; }
}

/* 執筆者・監修者の一覧（page-templates/authors.php） */
.peoplegrid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.personcard {
	position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; height: 100%;
	padding: clamp(20px, 2.4vw, 28px); padding-right: 44px; background: #fff; border-radius: 14px;
	box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 18px 36px -26px rgba(15, 32, 51, .3);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.personcard:hover { transform: translateY(-3px); box-shadow: 0 2px 3px rgba(15, 32, 51, .06), 0 26px 44px -26px rgba(15, 32, 51, .38); }
.personcard__photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #eef5fc, #d3eee2); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: var(--sky); }
.personcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.personcard__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.personcard__roles { display: flex; flex-wrap: wrap; gap: 6px; }
.personcard__name { font-size: 18px; font-weight: 900; letter-spacing: .06em; color: var(--navy); }
.personcard__kana { font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-top: -4px; }
.personcard__title { font-size: 12.5px; line-height: 1.7; color: var(--text); }
.personcard__quals { font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.personcard__count { margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--sky); }
.personcard__arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--muted-2); transition: transform .4s var(--ease), color .25s; }
.personcard:hover .personcard__arrow { transform: translate(4px, -50%); color: var(--blue-h); }

/* 受け皿ページのクラスター */
.cluster { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }

/* 相談セクション */
.ctasec { position: relative; z-index: 2; padding: clamp(80px, 12vh, 130px) var(--gutter); background: linear-gradient(180deg, rgba(238, 245, 252, 0) 0%, #eef3f8 100%); }
.ctasec__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(28px, 4vh, 40px); }
.ctasec__head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ctasec__title { font-size: clamp(22px, 2.8vw, 36px); font-weight: 900; line-height: 1.45; letter-spacing: .03em; }
.ctasec__text { font-size: 13.5px; line-height: 2; letter-spacing: .05em; color: var(--text); }

/* 404 */
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; }

.backlink { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.backlink::before { content: "←"; transition: transform .4s var(--ease); }
.backlink:hover::before { transform: translateX(-4px); }

/* ACF のデフォルトに頼らない注意書き（管理者のみ） */
.admin-note { padding: 12px 16px; background: #fff8e5; border-left: 3px solid #dba617; font-size: 12.5px; color: #5c4400; }

/* FAQ 個別・採用・記事下 CTA */
.faq-q { display: inline-block; margin-right: .4em; color: var(--sky); }
.recruit-note { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(24px, 3.4vw, 40px); background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 32, 51, .06); }
.article-cta { padding: clamp(22px, 3vw, 32px); background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 32, 51, .06); }
