@charset "utf-8";
/* =========================================================================
   Link FacilitieS  —  style.css
   株式会社リンクファシリティーズ 公式サイト
   -------------------------------------------------------------------------
   目次
   01. 設定（カラー・フォント・余白）
   02. リセット / ベース
   03. 共通パーツ（ボタン・見出し・ラベル）
   04. ローディング
   05. サイドレール / ヘッダー / グローバルナビ / 開閉メニュー
   06. トップページ（ヒーロー・各セクション）
   07. 下層ページ共通（ページヒーロー・パンくず・本文）
   08. お知らせ（ブログ）
   09. フォーム
   10. フッター / 固定ボタン
   11. アニメーション（スクロール演出）
   12. レスポンシブ
   ========================================================================= */

/* 01. 設定 ---------------------------------------------------------------- */
:root {
	--deep: #091e18;
	--forest: #102e25;
	--green: #1c4636;
	--green-2: #27593f;
	--olive: #95a537;
	--lime: #c6d21e;
	--lime-2: #dbe56a;
	--paper: #f6f4ec;
	--paper-2: #ecebe0;
	--white: #ffffff;
	--ink: #17201b;
	--muted: #5b6a61;
	--line: rgba(23, 32, 27, .12);
	--line-light: rgba(255, 255, 255, .16);

	--font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	--font-min: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--font-en: "Jost", "Futura", "Century Gothic", sans-serif;

	--rail: 96px;
	--gutter: clamp(20px, 4.2vw, 64px);
	--max: 1240px;
	--radius: 22px;
	--radius-lg: 48px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
	--shadow: 0 30px 60px -30px rgba(9, 30, 24, .45);
}

/* 02. リセット / ベース ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; overflow-x: clip; }
html.fs-large { font-size: 18.5px; }
body {
	margin: 0;
	font-family: var(--font-jp);
	font-weight: 500;
	color: var(--ink);
	background: var(--paper);
	line-height: 2;
	letter-spacing: .04em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; vertical-align: middle; }
img { border: 0; }
a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s, background-color .3s, border-color .3s; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; letter-spacing: .06em; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--deep); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-300%); z-index: 1000; background: var(--lime); color: var(--deep); padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { transform: none; }

#page { padding-left: var(--rail); position: relative; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: min(100%, 920px); margin-inline: auto; padding-inline: var(--gutter); }
.en { font-family: var(--font-en); letter-spacing: .14em; }
.min { font-family: var(--font-min); }
.lime { color: var(--lime); }
.tc { text-align: center; }
.mt0 { margin-top: 0 !important; }
.nowrap { white-space: nowrap; }
.br-sp { display: none; }
.br-pc { display: inline; }

/* 03. 共通パーツ ------------------------------------------------------------ */
/* セクション見出し */
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); position: relative; }
.sec-head .eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--font-en); font-size: .82rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
	color: var(--olive);
}
.sec-head .eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.sec-head h2 {
	font-family: var(--font-min);
	font-size: clamp(1.75rem, 3.6vw, 2.9rem);
	line-height: 1.45; letter-spacing: .08em; margin-top: .5em;
}
.sec-head p.lead { margin-top: 1.2em; color: var(--muted); max-width: 46em; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center p.lead { margin-inline: auto; }
.on-dark .sec-head h2, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .sec-head .eyebrow { color: var(--lime); }
.on-dark .sec-head p.lead { color: rgba(255,255,255,.72); }

/* 巨大な英字の背景文字 */
.bg-word {
	position: absolute; pointer-events: none; user-select: none;
	font-family: var(--font-en); font-weight: 600; line-height: .8; letter-spacing: -.02em;
	font-size: clamp(5rem, 15vw, 15rem);
	color: transparent; -webkit-text-stroke: 1px rgba(23, 32, 27, .09);
	white-space: nowrap;
}
.on-dark .bg-word { -webkit-text-stroke: 1px rgba(255, 255, 255, .08); }

/* ボタン */
.btn {
	--bg: var(--deep); --fg: var(--white);
	position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
	min-width: 260px; padding: 18px 22px 18px 30px;
	background: var(--bg); color: var(--fg);
	border-radius: 999px; border: 0; overflow: hidden; isolation: isolate;
	font-weight: 700; letter-spacing: .1em; line-height: 1.4;
	transition: transform .5s var(--ease), color .4s;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--lime); transform: translateX(-101%); transition: transform .55s var(--ease);
}
.btn .arrow {
	flex: none; width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; background: var(--lime); color: var(--deep);
	transition: transform .5s var(--ease), background-color .4s;
}
.btn .arrow svg { width: 15px; height: 15px; }
.btn:hover { color: var(--deep); }
.btn:hover::before { transform: translateX(0); }
.btn:hover .arrow { background: var(--deep); color: var(--lime); transform: rotate(-45deg); }
.btn.lime { --bg: var(--lime); --fg: var(--deep); }
.btn.lime::before { background: var(--white); }
.btn.lime .arrow { background: var(--deep); color: var(--lime); }
.btn.ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn.white { --bg: var(--white); --fg: var(--deep); }
.btn.small { min-width: 0; padding: 12px 14px 12px 22px; font-size: .9rem; }
.btn.small .arrow { width: 30px; height: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

/* テキストリンク */
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--olive); }
.text-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.body-text a:not(.btn):not(.card), .prose a:not(.btn) { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.on-dark .prose a:not(.btn) { color: var(--lime); }

/* タグ */
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; background: var(--paper-2); color: var(--green); line-height: 1.8; }
.tag.c-info { background: #e3ead0; color: #4c5a12; }
.tag.c-csr { background: #dfece6; color: #1c4636; }
.tag.c-media { background: #f1e5cc; color: #6b4b10; }
.tag.c-recruit { background: #e6e2f1; color: #3f3477; }
.tag.c-important { background: #f6dcd6; color: #8a2a17; }

/* 04. ローディング ---------------------------------------------------------- */
.loader { display: none; }
.js .loader {
	position: fixed; inset: 0; z-index: 2000; background: var(--deep);
	display: grid; place-items: center; color: var(--white);
	transition: transform 1s var(--ease-io) .1s, visibility 0s 1.2s;
}
.loader-inner { text-align: center; }
.loader .mark { width: min(220px, 50vw); clip-path: inset(0 100% 0 0); animation: wipe 1.1s var(--ease-io) .15s forwards; }
.loader .name { margin-top: 18px; font-family: var(--font-en); letter-spacing: .5em; font-size: .9rem; opacity: 0; animation: fade 1s ease .8s forwards; text-indent: .5em; }
.loader .bar { width: 160px; height: 1px; background: rgba(255,255,255,.18); margin: 24px auto 0; overflow: hidden; }
.loader .bar i { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; animation: grow 1.4s var(--ease) .2s forwards; }
html.is-loaded .loader { transform: translateY(-100%); visibility: hidden; }
html.no-loader .loader { display: none; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes grow { to { transform: scaleX(1); } }

/* 05. サイドレール ---------------------------------------------------------- */
.rail {
	position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: var(--rail);
	background: var(--deep); color: var(--white);
	display: flex; flex-direction: column; align-items: center;
}
.menu-btn {
	width: var(--rail); height: var(--rail); border: 0; background: transparent; color: var(--white);
	display: grid; place-items: center; position: relative;
}
.menu-btn .bars { position: relative; width: 34px; height: 16px; }
.menu-btn .bars span { position: absolute; left: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), width .5s var(--ease), top .5s var(--ease); }
.menu-btn .bars span:nth-child(1) { top: 0; width: 100%; }
.menu-btn .bars span:nth-child(2) { top: 7px; width: 70%; }
.menu-btn .bars span:nth-child(3) { top: 14px; width: 40%; }
.menu-btn:hover .bars span { width: 100%; }
.menu-btn .label { position: absolute; bottom: 14px; font-family: var(--font-en); font-size: .62rem; letter-spacing: .3em; text-indent: .3em; opacity: .7; }
html.menu-open .menu-btn .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); width: 100%; }
html.menu-open .menu-btn .bars span:nth-child(2) { transform: scaleX(0); }
html.menu-open .menu-btn .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); width: 100%; }
.rail-cta {
	writing-mode: vertical-rl; text-orientation: upright;
	background: var(--lime); color: var(--deep);
	width: 100%; padding: 26px 0; font-weight: 700; letter-spacing: .3em; font-size: .95rem;
	display: flex; align-items: center; justify-content: center; gap: 12px;
	transition: background-color .3s;
}
.rail-cta:hover { background: var(--white); }
.rail-cta svg { width: 20px; height: 20px; }
.rail .fs-switch { margin-top: auto; flex-direction: column; gap: 6px; padding: 10px 4px; background: rgba(255,255,255,.06); box-shadow: none; color: rgba(255,255,255,.6); font-size: .62rem; letter-spacing: .1em; border-radius: 999px; }
.rail .fs-switch button { color: var(--white); width: 32px; height: 32px; }
.rail .fs-switch button[aria-pressed="true"] { background: var(--lime); color: var(--deep); }
.rail-tel { writing-mode: vertical-rl; padding: 22px 0 28px; font-family: var(--font-en); font-size: .82rem; letter-spacing: .22em; opacity: .85; }
.rail-tel:hover { color: var(--lime); }
.rail-sns { display: none; }

/* ヘッダー */
.site-header {
	position: absolute; top: 0; left: var(--rail); right: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px var(--gutter);
	transition: background-color .4s, transform .5s var(--ease), padding .4s;
}
.site-header.is-fixed {
	position: fixed; background: rgba(246, 244, 236, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	padding-block: 12px; box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 16px; line-height: 1.3; }
.brand img { width: 92px; height: auto; }
.brand .brand-name { display: flex; flex-direction: column; white-space: nowrap; }
.brand .brand-name small { font-size: .68rem; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
.brand .brand-name b { font-size: 1.12rem; letter-spacing: .14em; }
.home .site-header:not(.is-fixed) .brand .brand-name small { color: var(--muted); }

.gnav ul { list-style: none; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); white-space: nowrap; }
.gnav a { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.35; font-weight: 700; font-size: .92rem; padding: 6px 0; }
.gnav a small { font-family: var(--font-en); font-size: .6rem; letter-spacing: .22em; color: var(--olive); font-weight: 500; }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; white-space: nowrap; }
.header-tel b { font-family: var(--font-en); font-size: 1.45rem; letter-spacing: .06em; font-weight: 500; }
.header-tel b svg { width: 18px; height: 18px; margin-right: 6px; vertical-align: -1px; color: var(--olive); }
.header-tel small { font-size: .68rem; color: var(--muted); letter-spacing: .08em; }
.fs-switch { display: flex; align-items: center; gap: 4px; font-size: .7rem; color: var(--muted); background: rgba(255,255,255,.7); border-radius: 999px; padding: 4px 4px 4px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.fs-switch button { border: 0; background: transparent; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; line-height: 1; }
.fs-switch button[aria-pressed="true"] { background: var(--deep); color: var(--white); }
.fs-switch button:nth-of-type(2) { font-size: 1.05rem; }

/* 開閉メニュー（オーバーレイ） */
.menu {
	position: fixed; inset: 0 0 0 var(--rail); z-index: 110;
	background: var(--forest); color: var(--white);
	display: grid; grid-template-columns: 1.2fr .8fr; overflow-y: auto;
	clip-path: inset(0 0 0 100%); visibility: hidden;
	transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
html.menu-open { overflow: hidden; }
.menu-main { padding: clamp(60px, 9vh, 110px) clamp(28px, 6vw, 96px); }
.menu-side { background: var(--deep); padding: clamp(60px, 9vh, 110px) clamp(28px, 4vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.menu-label { font-family: var(--font-en); font-size: .74rem; letter-spacing: .34em; color: var(--lime); margin-bottom: 16px; }
.menu-services { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.menu-services a, .menu-sub a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.menu-services a { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; align-items: baseline; line-height: 1.5; }
.menu-services .jp { white-space: nowrap; }
.menu-services .num { font-family: var(--font-en); font-size: .8rem; color: var(--lime); letter-spacing: .1em; }
.menu-services .jp { font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 700; letter-spacing: .1em; }
.menu-services .en { grid-column: 2; font-size: .62rem; opacity: .55; }
.menu-services a:hover .jp, .menu-sub a:hover { color: var(--lime); }
.menu-sub { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 44px; }
.menu-sub a { font-size: .95rem; padding: 12px 0; }
.menu-main li, .menu-side > * { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease); }
html.menu-open .menu-main li, html.menu-open .menu-side > * { opacity: 1; transform: none; }
html.menu-open .menu-main li:nth-child(1) { transition-delay: .25s; } html.menu-open .menu-main li:nth-child(2) { transition-delay: .3s; }
html.menu-open .menu-main li:nth-child(3) { transition-delay: .35s; } html.menu-open .menu-main li:nth-child(4) { transition-delay: .4s; }
html.menu-open .menu-main li:nth-child(5) { transition-delay: .45s; } html.menu-open .menu-main li:nth-child(6) { transition-delay: .5s; }
html.menu-open .menu-main li:nth-child(7) { transition-delay: .55s; } html.menu-open .menu-main li:nth-child(8) { transition-delay: .6s; }
html.menu-open .menu-side > *:nth-child(1) { transition-delay: .4s; } html.menu-open .menu-side > *:nth-child(2) { transition-delay: .5s; } html.menu-open .menu-side > *:nth-child(3) { transition-delay: .6s; }
.menu-tel b { display: block; font-family: var(--font-en); font-size: 2rem; letter-spacing: .06em; font-weight: 500; line-height: 1.3; }
.menu-tel small { opacity: .7; font-size: .8rem; }
.menu-side .btn { width: 100%; }
.menu-logo { width: 140px; opacity: .9; }

/* 06. トップページ ---------------------------------------------------------- */
/* ヒーロー */
.hero { position: relative; min-height: max(720px, 100svh); padding: 140px 0 80px; overflow: hidden; display: grid; align-items: center; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-left: var(--gutter); }
.hero-copy { position: relative; z-index: 3; }
.hero h1 { font-weight: 700; }
.hero .h1-eyebrow {
	display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 10px; border-radius: 999px;
	background: var(--white); box-shadow: 0 10px 30px -18px rgba(9,30,24,.5);
	font-size: clamp(.8rem, 1vw, .95rem); letter-spacing: .1em; color: var(--green);
}
.hero .h1-eyebrow i { width: 24px; height: 24px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.hero .h1-eyebrow i svg { width: 13px; height: 13px; color: var(--deep); }
.hero .catch {
	display: block; margin-top: 30px;
	font-family: var(--font-min); font-weight: 700;
	font-size: clamp(2.2rem, 4.15vw, 4.6rem); line-height: 1.34; letter-spacing: .05em; color: var(--deep);
}
.hero .catch .line { white-space: nowrap; }
.hero .catch .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .catch em { font-style: normal; position: relative; }
.hero .catch em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .12em; height: .26em; background: var(--lime); z-index: -1; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) 1.6s; }
html.is-ready .hero .catch em::after { transform: scaleX(1); }
.hero .catch-en { display: block; margin-top: 18px; font-family: var(--font-en); font-weight: 400; font-size: clamp(.78rem, 1vw, .92rem); letter-spacing: .38em; color: var(--olive); }
.hero-lead { margin: 30px 0 38px; max-width: 34em; color: #33433a; font-size: clamp(.95rem, 1.1vw, 1.05rem); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badges li { list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.6); }
.hero-badges li svg { width: 16px; height: 16px; color: var(--olive); }

.hero-visual { position: relative; }
.hero-movie {
	position: relative; aspect-ratio: 16 / 11; width: 100%;
	border-radius: 220px 0 0 220px; overflow: hidden; background: var(--deep);
	box-shadow: var(--shadow); transform-origin: right center;
}
.hero-movie video, .hero-movie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-movie::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(9,30,24,.35), transparent 50%); pointer-events: none; }
.hero-movie .rec { position: absolute; z-index: 2; right: 28px; top: 24px; display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: .7rem; letter-spacing: .3em; color: rgba(255,255,255,.85); }
.hero-movie .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-badge {
	position: absolute; z-index: 4; left: -64px; bottom: -40px; width: 168px; height: 168px; border-radius: 50%;
	background: var(--deep); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow);
}
.hero-badge svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 22s linear infinite; }
.hero-badge svg.ring text { font-family: var(--font-en); font-size: 10.4px; letter-spacing: 3.4px; fill: rgba(255,255,255,.85); }
.hero-badge img { width: 70px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-meta { position: absolute; right: var(--gutter); bottom: -56px; display: flex; gap: 22px; font-family: var(--font-en); font-size: .72rem; letter-spacing: .24em; color: var(--muted); }

/* 装飾の円（テンプレートのモチーフを継承） */
.deco-circle { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; }
.deco-circle.c1 { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; left: -18vw; top: -26vw; background: radial-gradient(circle at 60% 60%, #e8ecc4, #e2e6bd 55%, transparent 56%); opacity: .7; }
.deco-circle.c2 { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; right: 26%; top: -8vw; background-image: radial-gradient(rgba(149,165,55,.38) 2px, transparent 2.5px); background-size: 16px 16px; }
.deco-circle.c3 { width: 18vw; height: 18vw; right: -5vw; bottom: 6vh; border: 1px solid rgba(149,165,55,.45); }

.scroll-cue { display: none; position: absolute; left: calc(var(--gutter) + 4px); bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: .68rem; letter-spacing: .3em; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--deep); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

@keyframes marquee { to { transform: translateX(-50%); } }

/* メッセージ（劇的変化） */
.sec { position: relative; padding: clamp(90px, 12vw, 170px) 0; overflow-x: clip; }
.sec.tight { padding: clamp(70px, 8vw, 110px) 0; }
.sec.dark { background: var(--forest); color: var(--white); }
.sec.deep { background: var(--deep); color: var(--white); }
.sec.paper2 { background: var(--paper-2); }
.sec.white { background: var(--white); }
.message .bg-word { top: 40px; right: -2vw; }
.message-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.message h2 { font-family: var(--font-min); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.6; letter-spacing: .08em; }
.message h2 .big { display: inline-block; font-size: 1.5em; letter-spacing: .26em; color: var(--green); }
.message h2 .big span { display: inline-block; }
.message .body-text { margin-top: 2.2em; color: #34443b; }
.message-visual { position: relative; }
.message-visual .ph { border-radius: var(--radius-lg) 0 var(--radius-lg) 0; overflow: hidden; box-shadow: var(--shadow); }
.message-visual .ph img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.message-visual .ph.sub { position: absolute; width: 46%; left: -14%; bottom: -12%; border-radius: 50%; border: 8px solid var(--paper); }
.message-visual .ph.sub img { aspect-ratio: 1; }
.message-visual .stamp { position: absolute; top: -26px; right: -18px; width: 120px; height: 120px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; text-align: center; font-family: var(--font-min); font-weight: 700; line-height: 1.3; font-size: 1.05rem; color: var(--deep); transform: rotate(8deg); box-shadow: var(--shadow); }
.message-visual .stamp small { display: block; font-family: var(--font-en); font-size: .56rem; letter-spacing: .2em; }

/* お悩み */
.worries .bg-word { left: -1vw; top: 30px; }
.worry-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.worry-list li {
	grid-column: span 2; position: relative; padding: 30px 28px 28px; border-radius: var(--radius);
	background: var(--white); box-shadow: 0 18px 40px -28px rgba(9,30,24,.4);
	font-weight: 700; line-height: 1.8;
}
.worry-list li:nth-child(4) { grid-column: 2 / span 2; }
.worry-list li::after { content: ""; position: absolute; left: 38px; bottom: -14px; border: 14px solid transparent; border-top-color: var(--white); border-bottom: 0; }
.worry-list li .q { display: block; font-family: var(--font-en); font-size: .72rem; color: var(--olive); letter-spacing: .24em; margin-bottom: 8px; }
.worry-answer { margin-top: 70px; text-align: center; }
.worry-answer .arrow-down { width: 2px; height: 70px; margin: 0 auto 26px; background: linear-gradient(var(--olive), transparent); }
.worry-answer p.big { font-family: var(--font-min); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.6; }
.worry-answer p.big mark { background: linear-gradient(transparent 62%, var(--lime) 62%); color: inherit; padding: 0 .1em; }

/* サービス（ベントーグリッド） */
.services .bg-word { right: -2vw; top: 60px; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card {
	position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
	border-radius: var(--radius); background: var(--green); color: var(--white); min-height: 320px;
	grid-column: span 4; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -36px rgba(9,30,24,.7); }
.card .card-img { position: absolute; inset: 0; z-index: -2; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85); }
.card:hover .card-img img { transform: scale(1.12); filter: saturate(1.05); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,30,24,.05) 10%, rgba(9,30,24,.88) 78%); transition: background .6s; }
.card-body { margin-top: auto; padding: 28px 30px 30px; }
.card .num { font-family: var(--font-en); font-size: .78rem; letter-spacing: .26em; color: var(--lime); }
.card h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: .1em; margin: 4px 0 8px; }
.card p { font-size: .9rem; line-height: 1.8; opacity: .88; margin: 0; }
.card .go { position: absolute; right: 22px; top: 22px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background-color .4s, transform .6s var(--ease); }
.card .go svg { width: 16px; height: 16px; }
.card:hover .go { background: var(--lime); color: var(--deep); transform: rotate(-45deg); }
.card.wide { grid-column: span 8; min-height: 420px; }
.card.tall { grid-row: span 2; }
.card.plain { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card.plain::before { display: none; }
.card.plain .num { color: var(--olive); }
.card.plain .go { background: var(--paper-2); }
.card .ext { white-space: nowrap; font-size: .7rem; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--deep); vertical-align: 3px; letter-spacing: .06em; }
.card.icon-card { background: var(--forest); }
.card.icon-card .icon { position: absolute; right: -20px; top: 40px; width: 210px; opacity: .14; color: var(--lime); z-index: -1; }

/* ウェーブ区切り（テンプレートのモチーフを継承） */
.wave { display: block; width: 100%; height: clamp(50px, 7vw, 110px); }
.wave path { fill: currentColor; }
.wave-wrap { line-height: 0; position: relative; }
.wave-wrap.to-olive { color: var(--olive); background: var(--paper); }
.wave-wrap.from-olive { color: var(--olive); }
.wave-anim path { animation: wavey 9s ease-in-out infinite alternate; }
@keyframes wavey { to { transform: translateX(-4%); } }

/* 選ばれる理由 */
.reasons { background: var(--olive); color: var(--white); overflow: hidden; }
.reasons .sec-head .eyebrow { color: var(--deep); }
.reasons .sec-head h2 { color: var(--white); }
.reasons .sec-head p.lead { color: rgba(255,255,255,.85); }
.reason-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; }
.reason-list li { position: relative; padding: clamp(32px, 4vw, 54px); background: rgba(9,30,24,.16); transition: background-color .5s; }
.reason-list li:hover { background: rgba(9,30,24,.3); }
.reason-list .n { font-family: var(--font-en); font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1; font-weight: 300; color: var(--lime); letter-spacing: 0; }
.reason-list h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); margin: 18px 0 12px; letter-spacing: .1em; }
.reason-list p { font-size: .94rem; opacity: .9; }

/* 数字で見る */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid rgba(255,255,255,.3); }
.numbers div { padding: 34px 20px 0; text-align: center; border-right: 1px solid rgba(255,255,255,.3); }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font-family: var(--font-en); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.1; letter-spacing: .02em; }
.numbers b small { font-size: .4em; margin-left: 4px; font-family: var(--font-jp); font-weight: 700; }
.numbers div > span { font-size: .85rem; opacity: .9; }

/* ムービー */
.movie-sec { background: var(--deep); color: var(--white); overflow: hidden; }
.movie-sec .bg-word { left: 50%; transform: translateX(-50%); top: 40px; }
.movie-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); aspect-ratio: 16/9; background: #000; }
.movie-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.movie-play {
	position: absolute; inset: 0; border: 0; background: rgba(9,30,24,.35); color: var(--white);
	display: grid; place-items: center; transition: background-color .5s, opacity .5s;
}
.movie-play .circle { width: 112px; height: 112px; border-radius: 50%; background: var(--lime); color: var(--deep); display: grid; place-items: center; position: relative; transition: transform .6s var(--ease); }
.movie-play .circle::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(198,210,30,.6); animation: pulse 2.4s var(--ease) infinite; }
.movie-play .circle svg { width: 30px; height: 30px; margin-left: 6px; }
.movie-play:hover .circle { transform: scale(1.08); }
.movie-play .cap { position: absolute; left: 30px; bottom: 26px; font-family: var(--font-en); letter-spacing: .3em; font-size: .72rem; }
.movie-frame.is-playing .movie-play { opacity: 0; pointer-events: none; }
.movie-frame .movie-ctrl { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; gap: 8px; opacity: 0; transition: opacity .4s; }
.movie-frame.is-playing:hover .movie-ctrl, .movie-frame.is-playing:focus-within .movie-ctrl { opacity: 1; }
.movie-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(9,30,24,.7); color: var(--white); display: grid; place-items: center; }
.movie-ctrl svg { width: 16px; height: 16px; }
.movie-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.15); }
.movie-progress i { display: block; height: 100%; width: 0; background: var(--lime); }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.movie-chapters { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 26px; }
.movie-chapters button { width: 100%; text-align: left; border: 0; background: transparent; color: rgba(255,255,255,.6); padding: 14px 0 0; border-top: 2px solid rgba(255,255,255,.15); font-size: .85rem; line-height: 1.5; transition: color .3s, border-color .3s; }
.movie-chapters button b { display: block; font-family: var(--font-en); font-size: .68rem; letter-spacing: .24em; color: var(--lime); font-weight: 500; }
.movie-chapters button.is-active, .movie-chapters button:hover { color: var(--white); border-color: var(--lime); }

/* フォトストリップ */
.photo-strip { overflow: hidden; padding: 10px 0; }
.photo-strip .row { display: flex; width: max-content; gap: 16px; animation: marquee 70s linear infinite; margin-bottom: 16px; }
.photo-strip .row.rev { animation-direction: reverse; animation-duration: 80s; }
.photo-strip:hover .row { animation-play-state: paused; }
.photo-strip figure { margin: 0; width: clamp(200px, 22vw, 300px); aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; position: relative; flex: none; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.08); }
.photo-strip figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .72rem; background: rgba(9,30,24,.75); color: var(--white); padding: 2px 10px; border-radius: 999px; line-height: 1.8; }

/* エリア */
.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; list-style: none; }
.area-chips li { padding: 6px 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; line-height: 1.8; }
.area-chips li.main { background: var(--deep); color: var(--white); box-shadow: none; }
.office-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office-list li { padding: 24px 24px 22px; border-radius: var(--radius); background: var(--white); position: relative; overflow: hidden; }
.office-list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lime); }
.office-list h3 { font-size: 1.05rem; letter-spacing: .1em; display: flex; align-items: baseline; gap: 10px; }
.office-list h3 small { font-family: var(--font-en); font-size: .62rem; letter-spacing: .2em; color: var(--olive); }
.office-list p { font-size: .86rem; line-height: 1.8; color: var(--muted); margin-top: 8px; }
.office-list a { color: var(--green-2); font-weight: 700; }
.area-map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--forest); aspect-ratio: 1 / .78; }
.area-map svg { width: 100%; height: 100%; }

/* 病院当直バナー */
.duty-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.duty-banner::after { content: "MEDICAL DUTY"; position: absolute; right: -10px; bottom: -28px; font-family: var(--font-en); font-weight: 600; font-size: 6rem; color: transparent; -webkit-text-stroke: 1px rgba(23,32,27,.07); white-space: nowrap; pointer-events: none; }
.duty-banner img { width: clamp(140px, 16vw, 220px); border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.duty-banner h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: .1em; margin: 6px 0 10px; }
.duty-banner p { color: var(--muted); font-size: .94rem; }

/* お知らせ（トップ） */
.news-wrap { display: grid; grid-template-columns: 320px 1fr; gap: clamp(30px, 5vw, 80px); }
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 120px 1fr 30px; align-items: center; gap: 16px; padding: 24px 6px; transition: background-color .3s, padding .4s var(--ease); }
.news-list a:hover { background: var(--white); padding-left: 18px; }
.news-list time { font-family: var(--font-en); letter-spacing: .1em; color: var(--muted); font-size: .92rem; }
.news-list .ttl { font-weight: 700; line-height: 1.7; }
.news-list .arr { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background-color .3s; }
.news-list .arr svg { width: 12px; height: 12px; }
.news-list a:hover .arr { background: var(--lime); box-shadow: none; }

/* 認定・登録 */
.cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.6; transition: box-shadow .4s, transform .4s var(--ease); }
a.cert:hover { box-shadow: inset 0 0 0 2px var(--lime); transform: translateY(-3px); }
.cert img { width: 64px; height: auto; flex: none; }
.cert .ic { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--green); }
.cert .ic svg { width: 28px; height: 28px; }
.cert b { display: block; font-size: .92rem; letter-spacing: .06em; }
.cert small { display: block; color: var(--muted); font-size: .74rem; letter-spacing: .02em; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--deep); color: var(--white); padding: clamp(90px, 11vw, 150px) 0; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(198,210,30,.25), transparent 60%); animation: float 12s ease-in-out infinite alternate; }
.cta::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -200px; bottom: -340px; border-radius: 50%; border: 1px solid rgba(198,210,30,.25); }
@keyframes float { to { transform: translate(-80px, 80px) scale(1.1); } }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cta h2 { font-family: var(--font-min); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.5; letter-spacing: .08em; }
.cta p { margin-top: 1.3em; opacity: .85; }
.cta-box { display: grid; gap: 16px; }
.cta-tel { display: block; padding: 26px 30px; border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-light); transition: background-color .4s; }
.cta-tel:hover { background: rgba(255,255,255,.12); }
.cta-tel small { display: block; font-size: .78rem; opacity: .75; letter-spacing: .1em; }
.cta-tel b { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: .04em; line-height: 1.3; }
.cta-tel b svg { width: 28px; height: 28px; color: var(--lime); }
.cta-box .btn { width: 100%; padding: 24px 24px 24px 32px; font-size: 1.05rem; }

/* 07. 下層ページ共通 -------------------------------------------------------- */
.page-hero { position: relative; padding: 170px 0 0; overflow: hidden; }
.page-hero .deco-circle.c1 { width: 48vw; height: 48vw; left: -14vw; top: -22vw; }
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.page-hero .en-title { display: block; font-family: var(--font-en); font-weight: 500; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .95; letter-spacing: .01em; color: var(--deep); }
.page-hero .en-title .dot { color: var(--lime); }
.page-hero h1 { margin-top: 22px; display: flex; align-items: center; gap: 14px; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: .12em; }
.page-hero h1::before { content: ""; width: 34px; height: 2px; background: var(--olive); flex: none; }
.page-hero .page-lead { color: #34443b; padding-bottom: 6px; }
.page-hero-visual { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 70px); margin-left: var(--gutter); height: clamp(240px, 34vw, 480px); border-radius: var(--radius-lg) 0 0 0; overflow: hidden; background: var(--forest); }
.page-hero-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.page-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,30,24,.55), rgba(9,30,24,.05) 60%); }
.page-hero-visual .caption { position: absolute; z-index: 2; left: clamp(24px, 4vw, 60px); bottom: clamp(24px, 3vw, 44px); color: var(--white); font-family: var(--font-min); font-size: clamp(1.3rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.page-hero.no-visual { padding-bottom: clamp(50px, 6vw, 80px); }

.breadcrumb { padding: 22px 0; font-size: .78rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumb a:hover { color: var(--green-2); text-decoration: underline; }

/* 本文 */
.prose h2.h-line { font-family: var(--font-min); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.55; padding-bottom: .55em; margin: 0 0 1em; position: relative; }
.prose h2.h-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--lime); }
.prose h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin: 2em 0 .8em; display: flex; align-items: center; gap: 12px; }
.prose h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198,210,30,.25); flex: none; }
.prose ul:not(.plain) { list-style: none; margin: 0 0 1.4em; }
.prose ul:not(.plain) li { position: relative; padding-left: 1.4em; }
.prose ul:not(.plain) li::before { content: ""; position: absolute; left: .2em; top: .85em; width: 8px; height: 2px; background: var(--olive); }
.prose ol { margin: 0 0 1.4em 1.4em; }
.note { font-size: .84rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .ph { border-radius: var(--radius-lg) 0 var(--radius-lg) 0; overflow: hidden; box-shadow: var(--shadow); }
.split .ph img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* 特長カード（下層） */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.feature-grid.col2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.col4 { grid-template-columns: repeat(4, 1fr); }
.feature { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 26px 50px -30px rgba(9,30,24,.45); }
.feature .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--deep); color: var(--lime); display: grid; place-items: center; margin-bottom: 20px; }
.feature .ic svg { width: 28px; height: 28px; }
.feature .n { position: absolute; right: 22px; top: 16px; font-family: var(--font-en); font-size: 2.6rem; font-weight: 300; color: rgba(23,32,27,.1); line-height: 1; }
.feature h3 { font-size: 1.12rem; letter-spacing: .08em; margin-bottom: 10px; }
.feature p { font-size: .92rem; color: #3d4c44; line-height: 1.9; }
.feature .ph { margin: -34px -30px 24px; aspect-ratio: 16/10; overflow: hidden; }
.feature .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature:hover .ph img { transform: scale(1.06); }
.on-dark .feature { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-light); color: var(--white); }
.on-dark .feature p { color: rgba(255,255,255,.78); }
.on-dark .feature .ic { background: var(--lime); color: var(--deep); }
.on-dark .feature .n { color: rgba(255,255,255,.1); }

/* フロー */
.flow { list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow li { counter-increment: flow; position: relative; padding: 30px 22px 26px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.flow li::before { content: "STEP " counter(flow, decimal-leading-zero); display: block; font-family: var(--font-en); font-size: .7rem; letter-spacing: .26em; color: var(--olive); margin-bottom: 8px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--olive); border-right: 2px solid var(--olive); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow h3 { font-size: 1.02rem; letter-spacing: .06em; margin-bottom: 6px; }
.flow p { font-size: .84rem; color: var(--muted); line-height: 1.8; }

/* テーブル */
.info-table { border-top: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 22px 16px; border-bottom: 1px solid var(--line); line-height: 1.9; }
.info-table th { width: 26%; font-weight: 700; letter-spacing: .1em; white-space: nowrap; color: var(--green); }
.info-table td ul { list-style: none; }
.info-table td small { color: var(--muted); }

/* 沿革タイムライン */
.timeline { list-style: none; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--lime), var(--olive)); }
.timeline li { position: relative; padding: 0 0 34px; display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--olive); }
.timeline time { font-family: var(--font-en); font-size: 1.15rem; letter-spacing: .08em; color: var(--green); font-weight: 500; }

/* 理念 */
.philosophy { text-align: center; }
.philosophy .phrase { font-family: var(--font-min); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.9; letter-spacing: .12em; font-weight: 700; }
.happo { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; counter-reset: h; }
.happo li { counter-increment: h; padding: 22px 12px; border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-light); font-weight: 700; letter-spacing: .08em; }
.happo li::before { content: counter(h); display: block; font-family: var(--font-en); color: var(--lime); font-size: 1.6rem; font-weight: 300; line-height: 1.2; }
.policy-list { list-style: none; counter-reset: p; display: grid; gap: 12px; }
.policy-list li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 16px; background: var(--white); }
.policy-list li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-en); font-size: 1.2rem; color: var(--olive); }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 30px; gap: 14px; align-items: center; padding: 22px 26px; font-weight: 700; line-height: 1.7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: var(--lime); display: grid; place-items: center; font-family: var(--font-en); font-size: 1.1rem; }
.faq-item summary .pm { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--deep); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item .a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 0 26px 26px 26px; }
.faq-item .a::before { content: "A"; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--deep); display: grid; place-items: center; font-family: var(--font-en); font-size: 1.1rem; }
.faq-item .a > div { padding-top: 6px; color: #34443b; }
.faq-cat { margin: 50px 0 20px; font-size: 1.1rem; display: flex; align-items: center; gap: 14px; letter-spacing: .1em; }
.faq-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ギャラリー */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery li { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery li:hover img { transform: scale(1.08); }
.gallery span { position: absolute; left: 10px; bottom: 10px; font-size: .74rem; line-height: 1.7; background: rgba(9,30,24,.78); color: var(--white); padding: 2px 10px; border-radius: 999px; }

/* 関連サービス */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related .card { grid-column: auto; min-height: 220px; }
.related .card h3 { font-size: 1.12rem; }

/* お悩みリスト（下層） */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 16px 20px; border-radius: 14px; background: var(--white); line-height: 1.8; font-weight: 700; }
.check-list li svg { width: 26px; height: 26px; color: var(--olive); margin-top: 2px; }
.on-dark .check-list li { background: rgba(255,255,255,.06); }

.panel { padding: clamp(28px, 4vw, 54px); border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.panel.deep { background: var(--deep); color: var(--white); box-shadow: none; }
.license-box { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--radius); background: var(--paper-2); }
.license-box img { width: 160px; border-radius: 8px; background: var(--white); }

.map-embed { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--paper-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 08. お知らせ（ブログ） ---------------------------------------------------- */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.news-filter button { border: 0; padding: 8px 20px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 700; }
.news-filter button[aria-pressed="true"] { background: var(--deep); color: var(--white); box-shadow: none; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-en); }
.pager button[aria-current="page"] { background: var(--deep); color: var(--white); }
.article { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 70px); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 34px; }
.article-head .meta { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); color: var(--muted); letter-spacing: .1em; }
.article-head h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.6; margin-top: 12px; }
.article-body img { border-radius: 12px; margin: 10px 0 20px; }
.article-body figure { margin: 0 0 1.6em; }
.article-body figure img { margin: 0; }
.article-body figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 40px; align-items: center; }
.article-nav a { font-size: .88rem; line-height: 1.6; }
.article-nav .next { text-align: right; }

/* 09. フォーム -------------------------------------------------------------- */
.form-steps { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0 auto 50px; max-width: 640px; counter-reset: s; }
.form-steps li { counter-increment: s; flex: 1; text-align: center; position: relative; font-size: .84rem; font-weight: 700; color: var(--muted); padding-top: 52px; }
.form-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--font-en); font-size: 1rem; z-index: 1; transition: background-color .4s, color .4s; }
.form-steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 50%; width: 100%; height: 2px; background: var(--paper-2); }
.form-steps li.is-current { color: var(--deep); }
.form-steps li.is-current::before, .form-steps li.is-done::before { background: var(--deep); color: var(--lime); }
.form-steps li.is-done::after { background: var(--deep); }
.form { display: grid; gap: 0; }
.field { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.field > label, .field > .label { font-weight: 700; padding-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.req, .opt { font-size: .68rem; padding: 1px 8px; border-radius: 4px; letter-spacing: .08em; line-height: 1.8; }
.req { background: #b13d23; color: var(--white); }
.opt { background: var(--paper-2); color: var(--muted); }
.input, .select, .textarea {
	width: 100%; font: inherit; font-weight: 500; color: var(--ink); background: var(--white);
	border: 1px solid rgba(23,32,27,.2); border-radius: 12px; padding: 14px 16px; line-height: 1.6;
	transition: border-color .3s, box-shadow .3s;
}
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(198,210,30,.3); }
.textarea { min-height: 220px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102e25' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.field .err { display: none; font-size: .82rem; color: #b13d23; font-weight: 700; margin-top: 6px; }
.field.is-error .err { display: block; }
.field.is-error .input, .field.is-error .textarea, .field.is-error .select { border-color: #b13d23; background: #fff7f5; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(23,32,27,.2); cursor: pointer; font-size: .92rem; transition: background-color .3s, box-shadow .3s; }
.checks input { accent-color: var(--green); width: 18px; height: 18px; }
.checks label:has(input:checked) { background: #f3f6dc; box-shadow: inset 0 0 0 2px var(--olive); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { margin-top: 40px; padding: 30px; border-radius: var(--radius); background: var(--white); }
.consent-text { max-height: 280px; overflow-y: auto; padding: 20px 22px; border-radius: 12px; background: var(--paper); font-size: .84rem; line-height: 1.9; margin: 14px 0 20px; }
.consent-text h3 { font-size: .9rem; margin: 1em 0 .3em; }
.consent-text h3:first-child { margin-top: 0; }
.consent-check { display: flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.consent-check input { width: 22px; height: 22px; accent-color: var(--green); }
.form-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.form-actions .btn { min-width: 300px; }
.btn.back { --bg: var(--paper-2); --fg: var(--ink); }
.btn.back .arrow { background: var(--white); color: var(--ink); transform: rotate(180deg); }
.confirm-table th { width: 30%; }
.confirm-table td { white-space: pre-wrap; word-break: break-word; }
.mail-note { margin-top: 30px; padding: 22px 26px; border-radius: var(--radius); background: #f3f6dc; font-size: .9rem; line-height: 1.9; }
.mail-note b { color: var(--green); }
.form-view[hidden] { display: none !important; }
.done-box { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }
.done-box .ok { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; color: var(--deep); }
.done-box .ok svg { width: 42px; height: 42px; }
.copy-area { width: 100%; min-height: 200px; margin-top: 16px; font-size: .84rem; }

/* 10. フッター -------------------------------------------------------------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.82); padding: clamp(70px, 8vw, 110px) 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: clamp(40px, 6vw, 100px); }
.footer-brand img { width: 150px; }
.footer-brand .name { display: block; margin: 18px 0 14px; font-size: 1.12rem; font-weight: 700; color: var(--white); letter-spacing: .14em; }
.footer-brand address { font-style: normal; font-size: .86rem; line-height: 1.9; }
.footer-brand address a:hover { color: var(--lime); }
.footer-pmark { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .74rem; line-height: 1.7; opacity: .85; }
.footer-pmark img { width: 64px; background: var(--white); border-radius: 6px; flex: none; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-nav h2 { font-family: var(--font-en); font-weight: 500; font-size: .74rem; letter-spacing: .3em; color: var(--lime); margin-bottom: 16px; }
.footer-nav ul { list-style: none; }
.footer-nav li { padding: 4px 0; font-size: .9rem; }
.footer-nav a:hover { color: var(--lime); }
.footer-bottom { margin-top: clamp(60px, 7vw, 90px); padding: 26px 0 30px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .76rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--lime); }
.footer-big { font-family: var(--font-en); font-weight: 600; font-size: clamp(3.4rem, 13vw, 12rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); white-space: nowrap; margin-top: 40px; user-select: none; letter-spacing: -.01em; }

.pagetop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--deep); color: var(--lime); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.pagetop svg { width: 18px; height: 18px; }
.pagetop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.pagetop .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pagetop .ring circle { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 163; stroke-dashoffset: 163; }

.sp-cta { display: none; }

/* 11. スクロール演出 -------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-blur { opacity: 0; filter: blur(14px); transform: scale(1.04); transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-blur.is-in { opacity: 1; filter: blur(0); transform: none; }
.js .rv-clip { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
.js .rv-clip.is-in { clip-path: inset(0 0 0 0); }
.js .rv-clip-up { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
.js .rv-clip-up.is-in { clip-path: inset(0 0 0 0); }
.js .rv-clip img, .js .rv-clip-up img { transform: scale(1.25); transition: transform 2s var(--ease); }
.js .rv-clip.is-in img, .js .rv-clip-up.is-in img { transform: scale(1); }
.js .rv-line { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io); }
.js .rv-line.is-in { transform: scaleX(1); }
/* 文字分割 */
.split-chars .ch { display: inline-block; opacity: 0; transform: translateY(.7em) rotate(4deg); filter: blur(6px); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s; transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.split-chars.is-in .ch { opacity: 1; transform: none; filter: none; }
.hero .catch .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero .catch .line:nth-child(2) > span { transition-delay: .15s; }
html.is-ready .hero .catch .line > span { transform: none; }
.js .hero .h1-eyebrow, .js .hero .catch-en, .js .hero-lead, .js .hero .btn-row, .js .hero-badges { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.is-ready .hero .h1-eyebrow { opacity: 1; transform: none; }
html.is-ready .hero .catch-en { opacity: 1; transform: none; transition-delay: .7s; }
html.is-ready .hero-lead { opacity: 1; transform: none; transition-delay: .85s; }
html.is-ready .hero .btn-row { opacity: 1; transform: none; transition-delay: 1s; }
html.is-ready .hero-badges { opacity: 1; transform: none; transition-delay: 1.15s; }
.js .hero-movie { clip-path: inset(0 0 0 100% round 220px 0 0 220px); transition: clip-path 1.6s var(--ease-io) .2s; }
html.is-ready .hero-movie { clip-path: inset(0 0 0 0 round 220px 0 0 220px); }
.js .hero-badge { transform: scale(0) rotate(-90deg); transition: transform 1.2s var(--ease) 1.1s; }
html.is-ready .hero-badge { transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.marquee-track, .photo-strip .row { animation: none !important; }
}

/* 12. レスポンシブ ---------------------------------------------------------- */
@media (max-width: 1560px) { .header-tel small { display: none; } .gnav a { font-size: .86rem; } }
@media (max-width: 1360px) {
	.gnav { display: none; }
	.hero-grid { grid-template-columns: 1fr 1fr; }
	.cert-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
	.card { grid-column: span 6; }
	.card.wide { grid-column: span 12; }
	.feature-grid, .feature-grid.col4 { grid-template-columns: repeat(2, 1fr); }
	.flow { grid-template-columns: repeat(3, 1fr); }
	.flow li:nth-child(3)::after { display: none; }
	.related { grid-template-columns: repeat(2, 1fr); }
	.news-wrap { grid-template-columns: 1fr; }
	.movie-chapters { grid-template-columns: repeat(3, 1fr); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.happo { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	:root { --rail: 0px; --radius-lg: 32px; }
	.br-sp { display: inline; }
	.br-pc { display: none; }
	.rail { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 0; background: none; }
	.menu-btn { position: fixed; z-index: 130; top: 10px; right: 10px; width: 58px; height: 58px; border-radius: 50%; background: var(--deep); }
	.menu-btn .bars { width: 24px; height: 14px; }
	.menu-btn .bars span:nth-child(2) { top: 6px; } .menu-btn .bars span:nth-child(3) { top: 12px; }
	html.menu-open .menu-btn .bars span:nth-child(1), html.menu-open .menu-btn .bars span:nth-child(3) { top: 6px; }
	.menu-btn .label { display: none; }
	.rail-cta, .rail-tel, .rail .fs-switch { display: none; }
	.site-header { left: 0; padding: 14px 84px 14px 18px; }
	.site-header.is-fixed { padding-block: 10px; }
	.brand img { width: 70px; }
	.brand .brand-name b { font-size: .98rem; }
	.header-tools { display: none; }
	.menu { inset: 0; grid-template-columns: 1fr; }
	.menu-services { grid-template-columns: 1fr; }
	.menu-sub { grid-template-columns: 1fr 1fr; }
	.hero { padding: 110px 0 70px; min-height: auto; }
	.hero-grid { grid-template-columns: 1fr; padding-right: 0; }
	.hero-copy { padding-right: var(--gutter); }
	.hero-movie { border-radius: 120px 0 0 120px; aspect-ratio: 16/10; }
	.js .hero-movie { clip-path: inset(0 0 0 100% round 120px 0 0 120px); }
	html.is-ready .hero-movie { clip-path: inset(0 0 0 0 round 120px 0 0 120px); }
	.hero-badge { width: 120px; height: 120px; left: auto; right: 20px; bottom: -50px; }
	.hero-badge img { width: 50px; }
	.hero-badge svg.ring text { font-size: 10px; }
	.hero-meta, .scroll-cue { display: none; }
	.message-grid, .area-grid, .cta-grid, .split, .page-hero-inner { grid-template-columns: 1fr; }
	.split.rev > :first-child { order: 0; }
	.message-visual { margin: 20px 10px 60px 40px; }
	.worry-list { grid-template-columns: 1fr; }
	.worry-list li, .worry-list li:nth-child(4) { grid-column: auto; }
	.reason-list { grid-template-columns: 1fr; }
	.numbers { grid-template-columns: 1fr 1fr; border-top: 0; }
	.numbers div { border-right: 0; border-top: 1px solid rgba(255,255,255,.3); padding-bottom: 20px; }
	.duty-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.news-list a { grid-template-columns: auto 1fr 30px; grid-template-areas: "date tag arr" "ttl ttl arr"; gap: 6px 14px; }
	.news-list time { grid-area: date; } .news-list .tag { grid-area: tag; justify-self: start; } .news-list .ttl { grid-area: ttl; } .news-list .arr { grid-area: arr; }
	.footer-grid { grid-template-columns: 1fr; }
	.field { grid-template-columns: 1fr; gap: 8px; }
	.field > label, .field > .label { padding-top: 0; }
	.info-table th, .info-table td { display: block; width: 100%; padding: 12px 4px; }
	.info-table th { border-bottom: 0; padding-bottom: 0; }
	.timeline li { grid-template-columns: 1fr; gap: 0; }
	.page-hero { padding-top: 120px; }
	.sp-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; background: var(--deep); padding: 8px; gap: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .5s var(--ease); }
	.sp-cta.is-show { transform: none; }
	.sp-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; font-weight: 700; font-size: .9rem; line-height: 1.3; }
	.sp-cta a svg { width: 18px; height: 18px; }
	.sp-cta .tel { background: rgba(255,255,255,.1); color: var(--white); }
	.sp-cta .mail { background: var(--lime); color: var(--deep); }
	.pagetop { bottom: 86px; right: 14px; width: 48px; height: 48px; }
	.site-footer { padding-bottom: 70px; }
}
@media (max-width: 640px) {
	body { line-height: 1.95; }
	.card, .card.wide { grid-column: span 12; min-height: 280px; }
	.feature-grid, .feature-grid.col2, .feature-grid.col4 { grid-template-columns: 1fr; }
	.flow { grid-template-columns: 1fr; }
	.flow li::after { display: none; }
	.related { grid-template-columns: 1fr; }
	.office-list { grid-template-columns: 1fr; }
	.cert-row { grid-template-columns: 1fr; }
	.movie-chapters { grid-template-columns: repeat(2, 1fr); }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.footer-nav { grid-template-columns: 1fr 1fr; }
	.btn { min-width: 0; width: 100%; }
	.form-actions .btn { min-width: 0; }
	.grid-2 { grid-template-columns: 1fr; }
	.happo { grid-template-columns: 1fr 1fr; }
	.message h2 .big { letter-spacing: .14em; }
	.hero .catch { font-size: clamp(2.05rem, 9.6vw, 2.6rem); }
	.sec-head h2, .message h2, .cta h2 { font-size: clamp(1.4rem, 6.2vw, 1.75rem); letter-spacing: .05em; }
	.numbers b { font-size: 2.1rem; }
	.page-hero .en-title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
	.callout { font-size: 1.15rem; }
	.worry-answer p.big { font-size: 1.25rem; }
}

/* 07-b. 下層ページヒーロー（グラフィック型） ------------------------------- */
.page-hero-visual.is-graphic { height: auto; min-height: clamp(300px, 30vw, 430px); display: grid; grid-template-columns: 1fr minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(36px, 5vw, 70px) 0 clamp(36px, 5vw, 70px) clamp(28px, 5vw, 80px); background: var(--forest); isolation: isolate; }
.page-hero-visual.is-graphic::after { display: none; }
.page-hero-visual.is-graphic::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(198,210,30,.22) 1.4px, transparent 1.8px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-hero-visual.is-graphic .caption { position: static; text-shadow: none; }
.page-hero-visual.is-graphic .caption small { display: block; margin-top: 18px; font-family: var(--font-jp); font-size: .9rem; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.75); line-height: 1.9; }
.phv-photo { position: relative; margin: 0; justify-self: end; width: min(100%, 560px); aspect-ratio: 4 / 3; border-radius: 200px 0 0 200px; overflow: hidden; box-shadow: var(--shadow); }
.phv-photo img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.phv-word { position: absolute; z-index: -1; left: -.04em; bottom: -.18em; font-family: var(--font-en); font-weight: 600; font-size: clamp(4rem, 11vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); white-space: nowrap; pointer-events: none; }
.phv-ring { position: absolute; z-index: -1; right: 22%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(198,210,30,.3); }
@media (max-width: 900px) {
	.page-hero-visual.is-graphic { grid-template-columns: 1fr; padding-right: 0; }
	.phv-photo { width: 92%; border-radius: 140px 0 0 140px; }
}

/* 追加：小物 */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 30px; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 700; }
.anchor-nav a:hover { background: var(--deep); color: var(--white); }
.anchor-nav a svg { width: 12px; height: 12px; transform: rotate(90deg); }
.info-box { padding: 26px 30px; border-radius: var(--radius); background: #f3f6dc; border-left: 4px solid var(--olive); }
.info-box h3 { margin-top: 0 !important; }
.info-box h3::before { display: none !important; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none !important; }
.chips li { padding: 8px 18px !important; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .92rem; line-height: 1.7; }
.chips li::before { display: none !important; }
.on-dark .chips li { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-light); }
.callout { text-align: center; font-family: var(--font-min); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.8; letter-spacing: .08em; }
.callout mark { background: linear-gradient(transparent 62%, var(--lime) 62%); color: inherit; }
.svc-block { padding: clamp(50px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block .num { font-family: var(--font-en); font-size: .8rem; letter-spacing: .3em; color: var(--olive); display: block; margin-bottom: 6px; }
.svc-block h2 { font-family: var(--font-min); font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: .8em; line-height: 1.5; }
.ph-stack { position: relative; padding-bottom: 14%; }
.ph-stack .ph { border-radius: var(--radius-lg) 0 var(--radius-lg) 0; overflow: hidden; box-shadow: var(--shadow); }
.ph-stack .ph img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ph-stack .ph.sub { position: absolute; right: -4%; bottom: 0; width: 48%; border-radius: 24px; border: 6px solid var(--paper); }
.ph-stack .ph.sub img { aspect-ratio: 4/3; }
.toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.toc-grid h2 { font-size: 1.05rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--lime); }
.toc-grid ul { list-style: none; }
.toc-grid li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.toc-grid li a:hover { color: var(--olive); }
.toc-grid li li { padding-left: 1.2em; border: 0; font-size: .92rem; }
.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.link-cards a { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.link-cards a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--lime); }
.link-cards img { width: 140px; border-radius: 8px; }
.link-cards b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.link-cards p { font-size: .88rem; color: var(--muted); line-height: 1.8; }
.err-page { text-align: center; padding: 200px 20px 140px; }
.err-page .code { font-family: var(--font-en); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--deep); font-weight: 500; }
.err-page .code span { color: var(--lime); }
@media (max-width: 900px) { .toc-grid, .link-cards { grid-template-columns: 1fr; } .link-cards a { grid-template-columns: 1fr; } }

.area-grid .sec-head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.hero-badges { max-width: 600px; }

.feature p a, .info-box a, .faq-item .a a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.on-dark .feature p a { color: var(--lime); }
.related .card .num { font-size: .66rem; letter-spacing: .18em; }
.article-body h2 { font-size: 1.25rem; line-height: 1.6; margin: 1.8em 0 .8em; padding-left: 14px; border-left: 4px solid var(--lime); }
.prose .anchor-nav li { padding-left: 0 !important; }
.prose .anchor-nav li::before { display: none !important; }

.menu-side .fs-switch { align-self: flex-start; background: rgba(255,255,255,.06); box-shadow: none; color: rgba(255,255,255,.7); }
.menu-side .fs-switch button { color: var(--white); }
.menu-side .fs-switch button[aria-pressed="true"] { background: var(--lime); color: var(--deep); }

/* =========================================================================
   2026.10 修正：警備中心の構成・区切り・拠点・フッター配色
   ========================================================================= */
:root { --sage: #eef0e3; --footer: #556f5d; --footer-2: #4b6453; --footer-ink: #f4f1e4; --footer-accent: #dcdca0; }

/* ヒーロー下の区切り（帯の代わり：重なる波） */
.hero-divider { position: relative; line-height: 0; margin-top: -40px; z-index: 1; pointer-events: none; }
.hero-divider svg { display: block; width: 100%; height: clamp(70px, 9vw, 140px); }
.hero-divider .w1 { fill: #e5e9cf; animation: drift1 14s ease-in-out infinite alternate; }
.hero-divider .w2 { fill: #dfe4c3; opacity: .8; animation: drift2 11s ease-in-out infinite alternate; }
.hero-divider .w3 { fill: var(--sage); }
@keyframes drift1 { to { transform: translateX(-3%) scaleY(1.08); } }
@keyframes drift2 { to { transform: translateX(3%) scaleY(.92); } }
.sec.sage { background: var(--sage); }

/* 警備サービス（メイン訴求） */
.security-sec .bg-word { right: -2vw; top: 10px; -webkit-text-stroke: 1px rgba(23,32,27,.07); }
.security-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.security-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; }
.security-grid .card { grid-column: auto; min-height: 280px; }
.security-grid .sec-main { grid-row: span 2; min-height: 600px; }
.security-grid .sec-main h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.card-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .86rem; font-weight: 700; color: var(--lime); }
.card-more svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.card:hover .card-more svg { transform: translateX(5px); }

/* その他のサービス（コンパクト） */
.svc-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-mini { display: grid; grid-template-columns: 52px 1fr 30px; gap: 16px; align-items: center; padding: 22px 22px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .4s; }
.svc-mini:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--lime); }
.svc-mini .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--paper-2); color: var(--green); display: grid; place-items: center; }
.svc-mini .ic svg { width: 26px; height: 26px; }
.svc-mini .txt { display: flex; flex-direction: column; line-height: 1.6; }
.svc-mini small { font-family: var(--font-en); font-size: .62rem; letter-spacing: .2em; color: var(--olive); }
.svc-mini b { font-size: 1.05rem; letter-spacing: .06em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.svc-mini .txt > span { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.svc-mini .arr { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.svc-mini .arr svg { width: 12px; height: 12px; }
.badge-stop { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .04em; padding: 0 9px; border-radius: 999px; background: #f6dcd6; color: #8a2a17; line-height: 1.9; }

/* お知らせボックス（受付停止など） */
.notice-box { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 22px 28px; border-radius: var(--radius); background: #fbebe6; box-shadow: inset 0 0 0 1px rgba(177,61,35,.25); color: #6d2414; font-weight: 700; line-height: 1.8; }
.notice-box svg { width: 34px; height: 34px; color: #b13d23; }

/* 拠点 */
.main-offices { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.main-office { position: relative; padding: 28px 28px 26px; border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 40px -30px rgba(9,30,24,.5); overflow: hidden; }
.main-office::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--lime); }
.main-office .mo-role { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 12px; border-radius: 999px; background: var(--deep); color: var(--lime); margin-bottom: 10px; letter-spacing: .06em; }
.main-office h3 { font-size: 1.15rem; letter-spacing: .08em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.main-office h3 small { font-family: var(--font-en); font-size: .62rem; letter-spacing: .2em; color: var(--olive); }
.main-office p { font-size: .88rem; line-height: 1.8; color: #3d4c44; margin-top: 8px; }
.main-office .mo-tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--font-en); font-size: 1.05rem; color: var(--ink); }
.main-office .mo-tel span { font-size: .7rem; letter-spacing: .14em; color: var(--olive); }
.main-office .mo-tel a { font-size: 1.35rem; font-weight: 500; color: var(--deep); }
.main-office .mo-note { font-size: .82rem; color: var(--green); font-weight: 700; }
.branch-line { margin-top: 18px; font-size: .86rem; color: var(--muted); }
.branch-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin-top: 20px; }
.branch-table { font-size: .9rem; min-width: 640px; }
.branch-table th, .branch-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.7; vertical-align: top; }
.branch-table thead th { font-size: .74rem; letter-spacing: .14em; color: var(--muted); background: var(--paper); }
.branch-table tbody th { font-weight: 700; white-space: nowrap; color: var(--green); }
.branch-table tbody tr:last-child th, .branch-table tbody tr:last-child td { border-bottom: 0; }
.branch-table a { color: var(--green-2); font-weight: 700; }

/* メールリンク */
.js-mail, a.mail-link { word-break: break-all; }

/* お問い合わせ：電話連絡の希望 */
.call-pref { margin-top: 14px; padding: 18px 20px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.call-pref[hidden] { display: none; }
.call-pref .label-s { display: block; font-size: .84rem; font-weight: 700; margin: 4px 0 8px; }
.call-pref .label-s:not(:first-child) { margin-top: 16px; }
.call-pref .checks label { font-size: .86rem; padding: 6px 14px 6px 10px; }
.call-pref .input { margin-top: 6px; }

/* PMS文書（原文のまま掲載） */
.pms-doc { font-size: .94rem; line-height: 2; }
.pms-doc p { margin: 0 0 1.2em; }
.pms-doc table { margin: 10px 0 24px; border-top: 1px solid var(--line); }
.pms-doc td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pms-doc td p { margin: 0; }
.pms-doc a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }

/* フッター：くすんだ明るいグリーン */
.site-footer { background: var(--footer); color: rgba(244,241,228,.9); }
.footer-brand .name { color: var(--footer-ink); }
.footer-brand address b { color: var(--footer-accent); font-weight: 700; }
.footer-brand address a, .footer-nav a, .footer-bottom a, .footer-offices a { transition: color .3s; }
.footer-brand address a:hover, .footer-nav a:hover, .footer-bottom a:hover, .footer-offices a:hover { color: var(--footer-accent); }
.footer-offices { font-size: .8rem; line-height: 1.8; margin-top: 12px; opacity: .9; }
.footer-offices a { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav h2 { color: var(--footer-accent); }
.footer-bottom { border-top-color: rgba(244,241,228,.22); }
.footer-big { -webkit-text-stroke: 1px rgba(244,241,228,.16); }

@media (max-width: 1080px) {
	.svc-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.security-head { grid-template-columns: 1fr; }
	.security-grid { grid-template-columns: 1fr; grid-template-rows: none; }
	.security-grid .sec-main { grid-row: auto; min-height: 420px; }
	.main-offices { grid-template-columns: 1fr; }
	.hero-divider { margin-top: -20px; }
}
@media (max-width: 640px) {
	.svc-mini-grid { grid-template-columns: 1fr; }
	.notice-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
[id] { scroll-margin-top: 110px; }
.security-head h2 { font-size: clamp(1.6rem, 2.9vw, 2.45rem); }
.wave-wrap svg { margin-bottom: -1px; }
.area-grid .main-offices { grid-template-columns: 1fr; }
@media (max-width: 900px) { .hero { padding-top: 132px; } .hero .h1-eyebrow { font-size: .74rem; line-height: 1.6; } }

/* =========================================================================
   2026.10.11 修正（3回目）
   ========================================================================= */
/* チェックリスト：文中にリンクがあっても崩れないように */
.check-list li { display: block; position: relative; padding: 16px 20px 16px 58px; }
.check-list li svg { position: absolute; left: 20px; top: 17px; margin: 0; }
.on-dark .check-list li a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* ヘッダーの電話：番号の下に受付時間（ナビの英字と同じ薄緑） */
.header-tel small { display: block !important; color: var(--olive); font-size: .68rem; letter-spacing: .1em; margin-top: 2px; }
.header-tel b { line-height: 1.2; }

/* お問い合わせ（CTA）：明るい配色に */
.cta { background: var(--sage); color: var(--ink); }
.cta::before { background: radial-gradient(circle, rgba(198,210,30,.35), transparent 60%); }
.cta::after { border-color: rgba(149,165,55,.35); }
.cta .sec-head.on-dark h2, .cta h2 { color: var(--deep); }
.cta .sec-head.on-dark .eyebrow { color: var(--olive); }
.cta p { color: #34443b; opacity: 1; }
.cta-tel { background: var(--white); box-shadow: 0 20px 40px -30px rgba(9,30,24,.45), inset 0 0 0 1px var(--line); color: var(--ink); }
.cta-tel:hover { background: var(--white); box-shadow: inset 0 0 0 2px var(--lime); }
.cta-tel small { color: var(--muted); opacity: 1; }
.cta-tel b { color: var(--deep); }
.cta-tel b svg { color: var(--olive); }
.cta .btn.lime { box-shadow: 0 16px 30px -18px rgba(9,30,24,.45); }

/* 経営理念：明るい配色に */
.philosophy.sec.deep { background: var(--sage); color: var(--ink); }
.philosophy .sec-head.on-dark h2 { color: var(--deep); }
.philosophy .sec-head.on-dark .eyebrow { color: var(--olive); }
.philosophy .phrase { color: var(--deep); }
.philosophy p[style*="opacity"] { color: var(--muted); opacity: 1 !important; }
.philosophy .happo li { background: var(--white); box-shadow: 0 14px 30px -24px rgba(9,30,24,.45); color: var(--ink); }
.philosophy .happo li::before { color: var(--olive); }
.philosophy.on-dark .sec-head h2, .philosophy.on-dark h2 { color: var(--deep); }
.philosophy.on-dark .sec-head .eyebrow { color: var(--olive); }
.cta-tel b { white-space: nowrap; }
.wrap-narrow .cta-tel b { font-size: clamp(1.6rem, 2.6vw, 2rem); }
