/* ==========================================================
   Apollon theme — main.css
   コンセプト: ビルのロビーの「館内案内板」
   ========================================================== */

:root {
	/* ロゴの色: 水色 #00a0e8 ／ 黒 #251714 */
	--c-sky: #00a0e8;
	--c-sky-deep: #006fa6;   /* 白文字を載せる水色（コントラスト確保用） */
	--c-sky-deeper: #005a87;
	--c-sky-pale: #e8f6fd;
	--c-paper: #f4f8fa;
	--c-white: #ffffff;
	--c-ink: #251714;        /* ロゴの黒 */
	--c-muted: #5d5a58;
	--c-line: #d5e2e8;
	--c-board: #006fa6;      /* 案内板（ロゴの水色を濃くして白文字を読みやすく） */
	--c-board-line: #9ad9f6;
	--c-board-deep: #1f1a18;

	--f-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
	--f-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Zen Kaku Gothic New", sans-serif;

	--wrap: 1160px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(.svc-toc) { scroll-padding-top: calc(var(--header-h) + 72px); }

body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .03em;
	font-feature-settings: "palt" 0;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.45; }

:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 3px; }
.directory :focus-visible, .global-nav__sub :focus-visible, .contact-band :focus-visible, .site-footer :focus-visible { outline-color: var(--c-white); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--c-sky-deep); color: var(--c-white); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 共通パーツ ---------- */

.section-title {
	font-family: var(--f-round);
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.55;
}

.button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 12px 28px;
	border: 1px solid transparent; border-radius: var(--radius);
	font-family: var(--f-sans); font-size: 1rem; font-weight: 700; letter-spacing: .08em;
	text-decoration: none; line-height: 1.4; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.button--primary { background: var(--c-sky-deep); color: var(--c-white); }
.button--primary:hover { background: var(--c-sky-deeper); }
.button--ghost { border-color: var(--c-sky-deep); color: var(--c-sky-deep); background: transparent; }
.button--ghost:hover { background: var(--c-sky-deep); color: var(--c-white); }
.button--white { background: var(--c-white); color: var(--c-sky-deep); }
.button--white:hover { background: var(--c-sky-pale); }
.button--light { border-color: rgba(255,255,255,.7); color: var(--c-white); background: transparent; }
.button--light:hover { background: var(--c-white); color: var(--c-sky-deep); }

.text-link {
	display: inline-flex; align-items: center; gap: .6em;
	color: var(--c-sky-deep); font-weight: 700; text-decoration: none;
	border-bottom: 1px solid var(--c-sky); padding-bottom: 2px;
}
.text-link::after {
	content: ""; width: 7px; height: 7px;
	border-top: 2px solid currentColor; border-right: 2px solid currentColor;
	transform: rotate(45deg);
}
.text-link:hover { color: var(--c-sky-deep); }

/* ---------- ヘッダー ---------- */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--c-line);
	backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__inner {
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto; padding: 0 var(--gutter);
	min-height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo { display: block; line-height: 0; }
.site-logo__img { display: block; width: auto; height: 46px; }
@media (max-width: 480px) { .site-logo__img { height: 38px; } }

.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav__list { display: flex; align-items: center; gap: 4px; }
.global-nav__item { position: relative; }
.global-nav__link {
	display: block; padding: 10px 14px;
	background: none; border: 0; font: inherit; font-size: .95rem; font-weight: 500;
	color: var(--c-ink); text-decoration: none; cursor: pointer; letter-spacing: .06em;
}
.global-nav__link:hover { color: var(--c-sky-deep); }
.global-nav__sub-toggle::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.global-nav__sub {
	position: absolute; top: 100%; left: 0; min-width: 260px;
	padding: 8px 0; background: var(--c-board); box-shadow: 0 12px 24px rgba(37,23,20,.18);
	visibility: hidden; opacity: 0; transform: translateY(-4px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.global-nav__item--has-sub:hover .global-nav__sub,
.global-nav__item--has-sub:focus-within .global-nav__sub,
.global-nav__sub.is-open { visibility: visible; opacity: 1; transform: none; }
.global-nav__sub a {
	display: block; padding: 10px 22px; color: var(--c-white); text-decoration: none; font-size: .92rem;
}
.global-nav__sub a:hover { background: rgba(255,255,255,.12); color: var(--c-white); }
.global-nav__sub li:first-child a { border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 4px; }

.global-nav__item--contact .global-nav__link {
	background: var(--c-sky-deep); color: var(--c-white); padding: 10px 20px; border-radius: var(--radius); margin-left: 8px;
}
.global-nav__item--contact .global-nav__link:hover { background: var(--c-sky-deeper); color: var(--c-white); }

.header-tel { display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.header-tel__label { font-size: .7rem; color: var(--c-muted); letter-spacing: .1em; }
.header-tel__number { font-size: 1.25rem; font-weight: 700; color: var(--c-sky-deep); letter-spacing: .04em; }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.header-tel { display: none; }
}

@media (max-width: 900px) {
	.nav-toggle {
		display: flex; flex-direction: column; align-items: center; gap: 6px;
		background: none; border: 0; padding: 8px; cursor: pointer; color: var(--c-sky-deep);
	}
	.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
		display: block; width: 26px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
	}
	.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bar::before { top: -8px; }
	.nav-toggle__bar::after { top: 8px; }
	.nav-toggle__label { font-size: .65rem; letter-spacing: .1em; margin-top: 4px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

	.global-nav {
		position: fixed; inset: var(--header-h) 0 0 0;
		flex-direction: column; align-items: stretch; gap: 24px;
		padding: 24px var(--gutter) 40px; background: var(--c-white); overflow-y: auto;
		visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
	}
	.global-nav.is-open { visibility: visible; opacity: 1; }
	.global-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.global-nav__item { border-bottom: 1px solid var(--c-line); }
	.global-nav__link { width: 100%; text-align: left; padding: 16px 4px; font-size: 1rem; }
	.global-nav__sub-toggle { display: flex; justify-content: space-between; align-items: center; }
	.global-nav__sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
	.global-nav__sub {
		position: static; min-width: 0; box-shadow: none; transform: none; transition: none;
		display: none; visibility: visible; opacity: 1; margin-bottom: 12px;
	}
	.global-nav__item--has-sub:hover .global-nav__sub { display: none; }
	.global-nav__sub.is-open,
	.global-nav__item--has-sub:hover .global-nav__sub.is-open { display: block; }
	.global-nav__item--contact { border-bottom: 0; margin-top: 20px; }
	.global-nav__item--contact .global-nav__link { margin-left: 0; text-align: center; padding: 16px; }
	.header-tel { display: flex; align-items: center; padding: 16px; border: 1px solid var(--c-line); }
	body.is-nav-open { overflow: hidden; }
}

/* ---------- ヒーロー ---------- */

.hero {
	position: relative;
	padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px);
	background:
		linear-gradient(90deg, var(--c-paper) 0 58%, transparent 58%),
		repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,160,232,.08) 39px 40px),
		var(--c-paper);
	overflow: hidden;
}
.hero__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title {
	font-family: var(--f-round);
	font-size: clamp(2rem, 1.1rem + 3.6vw, 3.9rem);
	font-weight: 700; line-height: 1.45; letter-spacing: .06em;
	color: var(--c-sky-deep);
}
.hero__line { display: block; white-space: nowrap; }
.hero__lead {
	margin: clamp(20px, 3vw, 32px) 0 0;
	font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 2; color: var(--c-ink);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }

/* 館内案内板 */
.directory {
	background: var(--c-board);
	color: var(--c-white);
	border-radius: var(--radius);
	box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 48px -24px rgba(37,23,20,.5);
	padding: 0 0 12px;
	position: relative;
}
.directory::before {
	content: ""; position: absolute; inset: 10px; border-radius: 3px; border: 1px solid rgba(255,255,255,.28); pointer-events: none;
}
.directory__bubbles {
	position: absolute; right: 30px; top: -66px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-sky);
}
.directory__bubbles::before {
	content: ""; position: absolute; left: -32px; top: 32px; width: 26px; height: 26px; border-radius: 50%; background: var(--c-sky);
}
.directory__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	margin: 0; padding: 26px 32px 18px;
	border-bottom: 2px solid var(--c-board-line);
	margin-left: 22px; margin-right: 22px; padding-left: 10px; padding-right: 10px;
}
.directory__title { font-family: var(--f-round); font-size: 1.3rem; letter-spacing: .16em; color: var(--c-white); }
.directory__sub { font-size: .75rem; letter-spacing: .14em; color: rgba(255,255,255,.8); }
.directory__list { padding: 8px 22px 6px; }
.directory__row + .directory__row { border-top: 1px solid rgba(255,255,255,.22); }
.directory__link {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	position: relative;
	padding: 15px 10px; text-decoration: none; color: var(--c-white);
	font-size: 1.05rem; font-weight: 500; letter-spacing: .1em;
	transition: background-color .2s, color .2s;
}
.directory__link::before {
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
	background: var(--c-white); transform: scaleY(0); transition: transform .2s;
}
.directory__link:hover, .directory__link:focus-visible { background: rgba(255,255,255,.12); color: var(--c-white); padding-left: 18px; }
.directory__link:hover::before, .directory__link:focus-visible::before { transform: scaleY(1); }
.directory__arrow {
	flex: none; width: 8px; height: 8px;
	border-top: 1.5px solid var(--c-board-line); border-right: 1.5px solid var(--c-board-line);
	transform: rotate(45deg);
}

/* 読み込み時に一度だけ、案内板が上から順に点灯する */
@media (prefers-reduced-motion: no-preference) {
	.directory__row { animation: dir-light .7s ease-out both; }
	.directory__row:nth-child(1) { animation-delay: .15s; }
	.directory__row:nth-child(2) { animation-delay: .25s; }
	.directory__row:nth-child(3) { animation-delay: .35s; }
	.directory__row:nth-child(4) { animation-delay: .45s; }
	.directory__row:nth-child(5) { animation-delay: .55s; }
	.directory__row:nth-child(6) { animation-delay: .65s; }
	.directory__row:nth-child(7) { animation-delay: .75s; }
	@keyframes dir-light { from { opacity: .15; } to { opacity: 1; } }
}

@media (max-width: 900px) {
	.hero { background: var(--c-paper); }
	.hero__inner { grid-template-columns: 1fr; }
	.directory { margin-top: 56px; }
}
@media (max-width: 480px) {
	.hero__actions .button { flex: 1 1 100%; }
	.directory__head { margin-left: 16px; margin-right: 16px; padding: 22px 6px 14px; flex-direction: column; gap: 2px; }
	.directory__list { padding: 6px 16px; }
	.directory__link { font-size: 1rem; padding: 14px 6px; }
}

/* ---------- 紹介 ---------- */

.intro { background: var(--c-white); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.intro__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px);
}
.intro__title { color: var(--c-sky-deep); }
.intro__body { max-width: 38em; }
.intro__body p { margin-bottom: 1.4em; }
@media (max-width: 800px) {
	.intro__inner { grid-template-columns: 1fr; }
	.intro__body br { display: none; }
}

/* ---------- 7つの事業 ---------- */

.services { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.services__inner { max-width: var(--wrap); margin: 0 auto; }
.services .section-title { color: var(--c-sky-deep); margin-bottom: clamp(32px, 4vw, 48px); }
.services__list { border-bottom: 1px solid var(--c-line); }
.service-row {
	display: grid;
	grid-template-columns: minmax(0, 20.5em) minmax(0, 1fr) auto;
	gap: 12px clamp(24px, 4vw, 56px);
	align-items: center;
	padding: 28px 4px;
	border-top: 1px solid var(--c-line);
}
.service-row__name {
	font-family: var(--f-round); font-size: 1.25rem; letter-spacing: .05em; color: var(--c-ink);
	padding-left: 22px; position: relative;
}
.service-row__name::before {
	content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-sky);
}
.service-row__desc { margin: 0; color: var(--c-ink); max-width: 36em; }
.service-row__more {
	display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
	padding: 10px 18px; border: 1px solid var(--c-sky-deep); border-radius: var(--radius);
	color: var(--c-sky-deep); font-size: .9rem; font-weight: 700; text-decoration: none; letter-spacing: .06em;
	transition: background-color .2s, color .2s;
}
.service-row__more::after {
	content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}
.service-row__more:hover { background: var(--c-sky-deep); color: var(--c-white); }
@media (max-width: 800px) {
	.service-row { grid-template-columns: 1fr; padding: 24px 0; }
	.service-row__more { justify-self: start; }
}

/* ---------- 選ばれる理由 ---------- */

.reasons { background: var(--c-white); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.reasons__inner { max-width: var(--wrap); margin: 0 auto; }
.reasons .section-title { color: var(--c-sky-deep); margin-bottom: clamp(32px, 4vw, 56px); }
.reasons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.reason { border-top: 2px solid var(--c-sky-deep); padding-top: 24px; }
.reason__title { font-family: var(--f-round); font-size: 1.2rem; letter-spacing: .06em; color: var(--c-sky-deep); margin-bottom: 14px; }
.reason p { color: var(--c-ink); }
@media (max-width: 860px) { .reasons__grid { grid-template-columns: 1fr; } }

/* ---------- お知らせ ---------- */

.news { padding: clamp(64px, 9vw, 112px) var(--gutter); }
.news__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(28px, 5vw, 80px);
}
.news__title { color: var(--c-sky-deep); grid-row: span 2; }
.news__more { grid-column: 2; margin-top: 8px; }
.news__empty { color: var(--c-muted); }
.news-list { border-top: 1px solid var(--c-line); }
.news-list__item { border-bottom: 1px solid var(--c-line); }
.news-list__link {
	display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; align-items: baseline;
	padding: 18px 4px; text-decoration: none;
}
.news-list__date { color: var(--c-muted); font-size: .9rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.news-list__title { color: var(--c-ink); }
.news-list__link:hover .news-list__title { color: var(--c-sky-deep); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
	.news__inner { grid-template-columns: 1fr; }
	.news__title { grid-row: auto; }
	.news__more { grid-column: 1; }
	.news-list__link { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- お問い合わせ帯 ---------- */

.contact-band { background: var(--c-sky-deep); color: var(--c-white); padding: clamp(64px, 9vw, 112px) var(--gutter); }
.contact-band__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.contact-band__title { color: var(--c-white); margin-bottom: 24px; }
.contact-band__text p { color: rgba(255,255,255,.88); }
.contact-band__panel { border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.contact-band__label { font-size: .9rem; letter-spacing: .12em; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.contact-band__freedial { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 4px; }
.contact-band__kind { font-size: .9rem; }
.contact-band__freedial a { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 700; letter-spacing: .04em; text-decoration: none; line-height: 1.3; }
.contact-band__tel { font-size: 1rem; margin-bottom: 4px; }
.contact-band__hours { font-size: .9rem; color: rgba(255,255,255,.88); margin-bottom: 24px; }
.contact-band__tel a { text-decoration: none; font-weight: 700; }
.contact-band__actions { display: grid; gap: 12px; }
@media (max-width: 860px) {
	.contact-band__inner { grid-template-columns: 1fr; }
	.contact-band__text br { display: none; }
}

/* ---------- フッター ---------- */

.site-footer { background: var(--c-board-deep); color: rgba(255,255,255,.82); padding: clamp(48px, 7vw, 80px) var(--gutter) 24px; font-size: .9rem; }
.site-footer__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px;
}
.site-footer__logo { margin-bottom: 14px; }
.site-footer__logo img { display: block; height: 44px; width: auto; }
.site-footer__name { font-size: 1rem; font-weight: 700; letter-spacing: .1em; color: var(--c-white); margin-bottom: 8px; }
.site-footer__address { font-style: normal; line-height: 2; }
.site-footer__address a { text-decoration: none; }
.site-footer__heading { color: var(--c-sky); letter-spacing: .12em; margin-bottom: 12px; }
.site-footer__nav li + li { margin-top: 6px; }
.site-footer__nav a { text-decoration: none; }
.site-footer a:hover { color: var(--c-sky); }
.site-footer__copy { max-width: var(--wrap); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 下層（仮） ---------- */

.page-main { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.page-container { max-width: 840px; margin: 0 auto; }
.page-title { font-family: var(--f-round); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); color: var(--c-sky-deep); letter-spacing: .06em; margin-bottom: 32px; }
.entry__date { display: block; color: var(--c-muted); margin: -20px 0 24px; }
.entry__content > * + * { margin-top: 1.2em; }

/* ==========================================================
   事業ページ（7事業共通）
   ========================================================== */

.page-head { background: var(--c-sky-pale); padding: clamp(28px, 4vw, 44px) var(--gutter) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head::after {
	content: ""; position: absolute; right: clamp(-40px, 2vw, 60px); bottom: -70px; width: 220px; height: 220px; border-radius: 50%;
	background: rgba(0,160,232,.12); pointer-events: none;
}
.page-head__inner { max-width: var(--wrap); margin: 0 auto; position: relative; z-index: 1; }
.page-head__title {
	font-family: var(--f-round); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
	color: var(--c-sky-deep); letter-spacing: .06em; margin-top: clamp(20px, 3vw, 36px);
}
.page-head__catch { margin-top: 10px; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); font-weight: 500; }

.breadcrumb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .82rem; color: var(--c-muted); }
.breadcrumb__list li + li::before { content: "/"; margin: 0 10px; color: #9fb4bf; }
.breadcrumb__list a { text-decoration: none; }
.breadcrumb__list a:hover { color: var(--c-sky-deep); text-decoration: underline; }

.svc-lead { background: var(--c-white); padding: clamp(56px, 8vw, 104px) var(--gutter); }
.svc-lead__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start;
}
.svc-lead__title { color: var(--c-sky-deep); }
.svc-lead__body { max-width: 38em; }
.svc-lead__body p + p { margin-top: 1.6em; }
@media (max-width: 800px) { .svc-lead__inner { grid-template-columns: 1fr; } }

/* ページ内リンク */
.svc-toc { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.96); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.svc-toc__list {
	max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
	display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.svc-toc__list::-webkit-scrollbar { display: none; }
.svc-toc__list a {
	display: block; padding: 14px 16px; white-space: nowrap; text-decoration: none;
	font-size: .92rem; font-weight: 500; color: var(--c-ink); border-bottom: 3px solid transparent;
}
.svc-toc__list a:hover { color: var(--c-sky-deep); border-bottom-color: var(--c-sky); }

.svc-section { padding: clamp(56px, 8vw, 104px) var(--gutter); }
.svc-contents, .svc-flow { background: var(--c-white); }
.svc-section__inner { max-width: var(--wrap); margin: 0 auto; }
.svc-section .section-title { color: var(--c-sky-deep); margin-bottom: clamp(24px, 3vw, 40px); }
.svc-section__intro { margin-top: calc(-1 * clamp(8px, 1.5vw, 20px)); margin-bottom: clamp(24px, 3vw, 36px); }
.svc-section__action { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

/* こんな方におすすめ */
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 24px; }
.check-list li {
	position: relative; padding: 18px 20px 18px 56px; background: var(--c-white);
	border: 1px solid var(--c-line); border-radius: var(--radius); font-weight: 500;
}
.check-list li::before {
	content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	border-radius: 50%; background: var(--c-sky);
}
.check-list li::after {
	content: ""; position: absolute; left: 27px; top: 50%; width: 8px; height: 5px; margin-top: -5px;
	border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* サービス内容 */
.svc-contents__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px); }
.svc-item { border-top: 2px solid var(--c-sky); padding-top: 22px; }
.svc-item__title { font-family: var(--f-round); font-size: 1.2rem; color: var(--c-ink); margin-bottom: 12px; letter-spacing: .04em; }
.svc-item__body p + p { margin-top: 1em; }
@media (max-width: 800px) { .svc-contents__list { grid-template-columns: 1fr; } }

.svc-notice {
	margin-top: clamp(36px, 5vw, 56px); padding: clamp(20px, 3vw, 32px);
	background: var(--c-paper); border-left: 4px solid var(--c-sky-deep); border-radius: 0 var(--radius) var(--radius) 0;
}
.svc-notice__title { font-size: 1.05rem; color: var(--c-sky-deep); margin-bottom: 8px; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.plan {
	display: flex; flex-direction: column; gap: 14px;
	background: var(--c-white); border: 1px solid var(--c-line); border-top: 4px solid var(--c-sky);
	border-radius: var(--radius); padding: clamp(22px, 3vw, 30px);
}
.plan__name { font-family: var(--f-round); font-size: 1.2rem; color: var(--c-ink); letter-spacing: .04em; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; color: var(--c-sky-deep); }
.plan__price-main { font-family: var(--f-round); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 700; line-height: 1.3; }
.plan__price-sub { font-size: .95rem; font-weight: 700; }
.plan__prices { margin: 0; border-top: 1px solid var(--c-line); }
.plan__prices div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.plan__prices dt { font-weight: 500; }
.plan__prices dd { margin: 0; font-family: var(--f-round); font-weight: 700; color: var(--c-sky-deep); font-size: 1.1rem; }
.plan__target { margin: 0; font-size: .95rem; }
.plan__items-label { margin: 0; font-size: .85rem; font-weight: 700; color: var(--c-muted); }
.plan__items { font-size: .92rem; margin-top: -8px; }
.plan__items li { position: relative; padding-left: 16px; }
.plan__items li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-sky); }
.plan__notes { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--c-line); font-size: .85rem; color: var(--c-muted); }
.plan__notes li { padding-left: 1.2em; text-indent: -1.2em; }
.plan__notes li::before { content: "※"; margin-right: .2em; }

/* 流れ（順番があるので番号を付ける） */
.flow { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.flow__step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; position: relative; padding-bottom: 32px; }
.flow__step:last-child { padding-bottom: 0; }
.flow__step:not(:last-child)::before {
	content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: #b9e3f7;
}
.flow__num {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--c-sky); color: var(--c-white); font-family: var(--f-round); font-size: 1.4rem; font-weight: 700;
}
.flow__body { padding-top: 10px; max-width: 40em; }
.flow__title { font-family: var(--f-round); font-size: 1.15rem; color: var(--c-ink); margin-bottom: 6px; }

/* よくある質問 */
.faq { border-top: 1px solid var(--c-line); max-width: 52em; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
	display: flex; align-items: center; gap: 16px; padding: 20px 44px 20px 4px; cursor: pointer;
	list-style: none; position: relative; font-weight: 700;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
	border-right: 2px solid var(--c-sky-deep); border-bottom: 2px solid var(--c-sky-deep); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__q:hover .faq__q-text { color: var(--c-sky-deep); }
.faq__mark {
	flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	background: var(--c-sky-deep); color: var(--c-white); font-family: var(--f-round); font-weight: 700;
}
.faq__mark--a { background: var(--c-white); color: var(--c-sky-deep); border: 2px solid var(--c-sky); }
.faq__a { display: flex; gap: 16px; padding: 0 4px 24px; }
.faq__a-body { padding-top: 4px; }
.faq__a-body p + p { margin-top: .8em; }

/* ほかの事業 */
.svc-others { padding: clamp(40px, 6vw, 64px) var(--gutter); background: var(--c-paper); border-top: 1px solid var(--c-line); }
.svc-others__title { font-size: 1rem; color: var(--c-muted); margin-bottom: 14px; letter-spacing: .08em; }
.svc-others__list { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-others__list a {
	display: inline-block; padding: 10px 18px; border: 1px solid var(--c-line); border-radius: 999px;
	background: var(--c-white); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.svc-others__list a:hover { border-color: var(--c-sky); color: var(--c-sky-deep); }

/* 事業一覧ページ */
.service-page .services { padding-top: clamp(40px, 6vw, 72px); }

/* 料金: 段階（手順がある料金） */
.plans--steps { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; position: relative; }
.plans--steps .plan { position: relative; }
.plans--steps .plan + .plan::before {
	content: ""; position: absolute; left: -38px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
	border-top: 3px solid var(--c-sky); border-right: 3px solid var(--c-sky); transform: rotate(45deg);
}
.plan__step { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; color: var(--c-sky-deep); font-size: .95rem; }
.plan__step-num {
	display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	background: var(--c-sky); color: var(--c-white); font-family: var(--f-round); font-size: 1rem;
}
.plan__price-note { flex-basis: 100%; font-size: .82rem; font-weight: 500; color: var(--c-muted); }
.plan__prices dd small { display: block; font-family: var(--f-sans); font-size: .78rem; font-weight: 500; color: var(--c-muted); text-align: right; }
.plans__tax { margin-top: 16px; font-size: .88rem; color: var(--c-muted); }
@media (max-width: 800px) {
	.plans--steps { grid-template-columns: 1fr; gap: 48px; }
	.plans--steps .plan + .plan::before { left: 50%; top: -34px; margin: 0 0 0 -10px; transform: rotate(135deg); }
}

.site-footer__license { margin-top: 14px; font-size: .82rem; color: rgba(255,255,255,.7); }

/* 事業ページ: 当社の特徴（冒頭直後の帯） */
.svc-features { background: var(--c-sky-deep); color: var(--c-white); padding: clamp(40px, 6vw, 64px) var(--gutter); }
.svc-features__inner { max-width: var(--wrap); margin: 0 auto; }
.svc-features__title { font-family: var(--f-round); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); letter-spacing: .06em; margin-bottom: 24px; }
.svc-features__list { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-features__item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); padding: 20px; }
.svc-features__item dt { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.svc-features__item dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9ad9f6; flex: none; }
.svc-features__item dd { margin: 0; font-size: .95rem; line-height: 1.8; }
@media (max-width: 960px) { .svc-features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-features__list { grid-template-columns: 1fr; } }

/* 事業ページ: 購入／売却などのグループ分け */
.svc-group__label {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 20px; padding: 6px 18px 6px 14px; border-radius: 999px;
	background: var(--c-sky-pale); color: var(--c-sky-deep); font-family: var(--f-round); font-size: 1.1rem;
}
.svc-group__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-sky); }
.svc-contents__list + .svc-group__label { margin-top: clamp(40px, 6vw, 64px); }
.svc-item__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }
.flows--multi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
@media (max-width: 860px) { .flows--multi { grid-template-columns: 1fr; } }
.plans--single { grid-template-columns: minmax(0, 680px); }
.plans--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .plans--pair { grid-template-columns: 1fr; } }

.svc-lead__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link--external::after { content: "\2197"; width: auto; height: auto; border: 0; transform: none; font-size: .9em; }

/* 事業ページ: サービス内容の補足（主な内容・費用が発生する時点） */
.svc-item__lede { font-weight: 700; color: var(--c-sky-deep); }
.svc-item__body .plan__items-label { margin-top: 16px; }
.svc-item__body .plan__items { margin-top: 6px; }
.svc-item__note {
	margin-top: 16px; padding: 12px 16px; background: var(--c-paper); border-radius: var(--radius); font-size: .92rem;
}
.svc-item__note-label { display: block; font-size: .8rem; font-weight: 700; color: var(--c-muted); margin-bottom: 2px; }

/* 料金: 表 */
.svc-price__lead { font-family: var(--f-round); font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 700; color: var(--c-ink); margin-bottom: 10px; }
.price-table__wrap { margin-top: 8px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.price-table thead th { background: var(--c-sky-deep); color: var(--c-white); font-size: .9rem; font-weight: 700; }
.price-table tbody th { font-weight: 700; white-space: nowrap; }
.price-table tbody td:nth-child(2) { color: var(--c-sky-deep); font-weight: 700; white-space: nowrap; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
	.price-table thead { display: none; }
	.price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
	.price-table tr { border-bottom: 1px solid var(--c-line); padding: 8px 0; }
	.price-table tbody tr:last-child { border-bottom: 0; }
	.price-table th, .price-table td { border: 0; padding: 6px 16px; }
	.price-table tbody th { font-size: 1.05rem; padding-top: 12px; }
	.price-table td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--c-muted); }
	.price-table tbody td:nth-child(2) { white-space: normal; }
}
.svc-price__links { margin-top: 24px; }

/* 事業ページ: 施工事例 */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.case { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.case__media { aspect-ratio: 16 / 10; background: var(--c-sky-pale); overflow: hidden; }
.case__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case__area { margin: 0 0 4px; font-size: .85rem; font-weight: 700; color: var(--c-sky-deep); }
.case__title { font-family: var(--f-round); font-size: 1.15rem; color: var(--c-ink); margin-bottom: 8px; }
.case__text { font-size: .95rem; }
.case__more { margin-top: auto; padding-top: 12px; }
@media (max-width: 700px) { .cases { grid-template-columns: 1fr; } }
.contact-band__extra { margin-top: 24px; }

/* ==========================================================
   お問い合わせページ・フォーム
   ========================================================== */
.contact-main { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.contact-main__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); align-items: start;
}
.contact-tel { position: sticky; top: calc(var(--header-h) + 24px); background: var(--c-sky-deep); color: var(--c-white); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.contact-tel__title { font-family: var(--f-round); font-size: 1.1rem; margin-bottom: 14px; }
.contact-tel__freedial { display: flex; flex-direction: column; margin-bottom: 8px; }
.contact-tel__kind { font-size: .85rem; }
.contact-tel__freedial a { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 700; text-decoration: none; line-height: 1.3; }
.contact-tel__sub { font-size: .92rem; margin-top: 6px; }
.contact-tel__sub a { text-decoration: none; font-weight: 700; }
.contact-tel a:focus-visible { outline-color: var(--c-white); }
.contact-form { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.contact-form__title { font-family: var(--f-round); font-size: 1.3rem; color: var(--c-sky-deep); margin-bottom: 24px; }
.contact-form__error { color: #b42318; font-weight: 700; }
@media (max-width: 860px) {
	.contact-main__inner { grid-template-columns: 1fr; }
	.contact-tel { position: static; }
}

.apollon-cf .cf-row { margin: 0 0 24px; padding: 0; border: 0; }
.apollon-cf .cf-label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.apollon-cf .cf-req, .apollon-cf .cf-opt { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: .04em; }
.apollon-cf .cf-req { background: #c0392b; color: #fff; }
.apollon-cf .cf-opt { background: var(--c-paper); color: var(--c-muted); border: 1px solid var(--c-line); }
.apollon-cf input[type="text"], .apollon-cf input[type="email"], .apollon-cf input[type="tel"], .apollon-cf textarea {
	width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--c-ink);
	background: var(--c-white); border: 1px solid #b9c9d1; border-radius: var(--radius);
}
.apollon-cf textarea { min-height: 200px; resize: vertical; }
.apollon-cf input:focus, .apollon-cf textarea:focus { outline: 3px solid rgba(0,160,232,.35); border-color: var(--c-sky); }
.apollon-cf ::placeholder { color: #98a3a9; }
.apollon-cf .wpcf7-checkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.apollon-cf .wpcf7-list-item { margin: 0; }
.apollon-cf .wpcf7-list-item label { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: var(--radius); cursor: pointer; }
.apollon-cf .wpcf7-list-item label:has(input:checked) { border-color: var(--c-sky); background: var(--c-sky-pale); }
.apollon-cf input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-sky-deep); }
.apollon-cf .cf-row--accept .wpcf7-list-item label { border: 0; padding: 0; }
.apollon-cf .cf-row--accept a { color: var(--c-sky-deep); }
.apollon-cf .cf-submit { text-align: center; }
.apollon-cf input[type="submit"] {
	min-width: 260px; min-height: 56px; padding: 12px 32px; border: 0; border-radius: var(--radius);
	background: var(--c-sky-deep); color: var(--c-white); font: inherit; font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; cursor: pointer;
}
.apollon-cf input[type="submit"]:hover { background: var(--c-sky-deeper); }
.apollon-cf input[type="submit"]:disabled { background: #9fb4bf; cursor: not-allowed; }
.apollon-cf .wpcf7-not-valid-tip { color: #b42318; font-size: .88rem; margin-top: 6px; }
.apollon-cf .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--radius); }
.apollon-cf .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* ==========================================================
   会社概要
   ========================================================== */
.company-info, .company-access { background: var(--c-white); }
.company-table { margin: 0; border-top: 2px solid var(--c-sky-deep); max-width: 900px; }
.company-table > div { display: grid; grid-template-columns: 11em 1fr; border-bottom: 1px solid var(--c-line); }
.company-table dt { padding: 18px 20px; background: var(--c-sky-pale); font-weight: 700; color: var(--c-sky-deep); }
.company-table dd { margin: 0; padding: 18px 20px; }
.company-table a { color: var(--c-sky-deep); font-weight: 700; text-decoration: none; }
.company-table a:hover { text-decoration: underline; }
.company-table__list li { position: relative; padding-left: 16px; }
.company-table__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-sky); }
.company-map { aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.company-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
	.company-table > div { grid-template-columns: 1fr; }
	.company-table dt { padding: 10px 16px; }
	.company-table dd { padding: 12px 16px 16px; }
	.company-map { aspect-ratio: 4 / 3; }
}

/* ==========================================================
   記事系ページ（お知らせ・リフォーム事例・固定ページ）
   ========================================================== */
.page-head--compact { padding-bottom: clamp(28px, 4vw, 48px); }
.page-head--compact .page-head__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.5; max-width: 32em; }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: clamp(16px, 2.5vw, 28px) 0 0; font-size: .9rem; color: var(--c-muted); }
.page-head__meta + .page-head__title { margin-top: 8px; }
.page-head__cat, .news-list__cat {
	display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--c-white); border: 1px solid var(--c-sky);
	color: var(--c-sky-deep); font-size: .78rem; font-weight: 700; line-height: 1.6;
}
.news-list__cat { margin-right: 10px; vertical-align: 1px; }

.news-archive__inner { max-width: 900px; }
.news-archive .news-list { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.news-archive .news-list__item:last-child { border-bottom: 0; }
.news-archive .news-list__link { padding: 20px 24px; }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-white); text-decoration: none; font-weight: 700;
}
.pagination .page-numbers.current { background: var(--c-sky-deep); border-color: var(--c-sky-deep); color: var(--c-white); }
.pagination a.page-numbers:hover { border-color: var(--c-sky); color: var(--c-sky-deep); }

.article { background: var(--c-white); padding: clamp(40px, 6vw, 80px) var(--gutter); }
.article__inner { max-width: 780px; margin: 0 auto; }
.article__eyecatch { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.article__eyecatch img { display: block; width: 100%; height: auto; }
.article__back { margin-top: 40px; text-align: center; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.article-nav a { display: block; padding: 14px 18px; border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; font-size: .92rem; }
.article-nav a span { display: block; font-size: .78rem; font-weight: 700; color: var(--c-sky-deep); margin-bottom: 2px; }
.article-nav a:hover { border-color: var(--c-sky); }
.article-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .article-nav { grid-template-columns: 1fr; } .article-nav__next { grid-column: 1; text-align: left; } }

/* 本文（旧サイトの記事・ブロックエディタの内容） */
.entry-content { line-height: 2; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 {
	font-family: var(--f-round); font-size: 1.45rem; color: var(--c-sky-deep); margin-top: 2.4em;
	padding-left: 16px; border-left: 4px solid var(--c-sky); line-height: 1.5;
}
.entry-content h3 { font-family: var(--f-round); font-size: 1.2rem; margin-top: 2em; padding-bottom: 6px; border-bottom: 1px solid var(--c-line); }
.entry-content h4 { font-size: 1.05rem; margin-top: 1.8em; }
.entry-content a { color: var(--c-sky-deep); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content li + li { margin-top: .3em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 4px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: .85rem; color: var(--c-muted); margin-top: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--c-sky-pale); }
.entry-content blockquote { margin-left: 0; padding: 16px 20px; background: var(--c-paper); border-left: 4px solid var(--c-line); }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content iframe { max-width: 100%; }

/* リフォーム事例の一覧（カード全体がリンク） */
.cases--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.case__link:hover .case__title { color: var(--c-sky-deep); }
.case__link:hover .case__img { transform: scale(1.03); }
.case__img { transition: transform .3s; }
.case__more-text { margin-top: auto; padding-top: 10px; font-size: .9rem; font-weight: 700; color: var(--c-sky-deep); }
@media (max-width: 960px) { .cases--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cases--archive { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .case__img { transition: none; } }

/* ==========================================================
   画像（トップのメイン画像・タイトル部分の背景）
   ========================================================== */
.hero--image { background: var(--c-board-deep); }
.hero__media, .page-head__media { position: absolute; inset: 0; z-index: 0; }
.hero__bg, .page-head__bg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero--image .hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(244,248,250,.94) 0%, rgba(244,248,250,.86) 38%, rgba(244,248,250,.35) 62%, rgba(244,248,250,0) 80%);
}
.hero--image .hero__inner { position: relative; z-index: 1; }
@media (max-width: 900px) {
	.hero--image .hero__media::after { background: linear-gradient(180deg, rgba(244,248,250,.92) 0%, rgba(244,248,250,.88) 45%, rgba(244,248,250,.5) 100%); }
}

.page-head--image { background: var(--c-sky-deeper); padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-head--image::after { display: none; }
.page-head--image .page-head__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0,58,90,.82) 0%, rgba(0,58,90,.6) 50%, rgba(0,58,90,.25) 100%);
}
.page-head--image .page-head__title, .page-head--image .page-head__catch, .page-head--image .page-head__meta { color: var(--c-white); }
.page-head--image .breadcrumb__list { color: rgba(255,255,255,.85); }
.page-head--image .breadcrumb__list li + li::before { color: rgba(255,255,255,.6); }
.page-head--image :focus-visible { outline-color: var(--c-white); }
