/*
Theme Name: B・Cケアサポート
Theme URI: https://bc-caresupport.co.jp/
Author: 株式会社Arch
Author URI: https://archcorp.jp/
Description: 株式会社B・Cケアサポート（障がい者グループホーム サクラ荘）公式サイト用オリジナルテーマ。施設カスタム投稿・エリア分類・構造化データ・llms.txt を内蔵。
Version: 1.3.5
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: bc-caresupport
*/

/* ------------------------------------------------------------
   1. トークン・リセット
------------------------------------------------------------ */
:root {
	--c-green: #51b551;         /* ロゴ */
	--c-green-deep: #2f7d3a;    /* ボタン・リンク */
	--c-green-ink: #1f5a28;     /* ボタン hover */
	--c-green-soft: #e4f2e1;    /* タグ・バッジの下地 */
	--c-green-tint: #f3f8f1;    /* セクションの面 */
	--c-sakura: #f2a7b8;        /* アクセント（サクラ荘） */
	--c-sakura-soft: #fdeef2;
	--c-ink: #2b3a2e;
	--c-ink-2: #5c6a60;
	--c-ink-3: #8a968d;
	--c-line: #e3e9e2;
	--c-bg: #ffffff;
	--shadow: 0 10px 30px rgba(47, 125, 58, .08);
	--shadow-sm: 0 2px 10px rgba(47, 125, 58, .06);
	--r-xl: 28px;
	--r-lg: 20px;
	--r-md: 14px;
	--r-sm: 10px;
	--r-pill: 999px;
	--font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
	--container: 1080px;
	--container-narrow: 820px;
	--gutter: 24px;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15.5px;
	line-height: 1.95;
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "palt";
	letter-spacing: .01em;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-green-deep); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s, transform .2s, box-shadow .2s; }
a:hover { color: var(--c-green-ink); }
:focus-visible { outline: 3px solid rgba(81, 181, 81, .55); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
iframe { max-width: 100%; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-green-deep); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------
   2. レイアウト・共通部品
------------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 72px 0; }
.section--lead { padding: 56px 0 24px; }
.section__lead { margin-bottom: 36px; color: var(--c-ink-2); }
.section__more { text-align: center; margin: 40px 0 0; }
.lead-text { text-align: center; font-size: 16px; }
.lead-text--left { text-align: left; }

.section-title {
	font-size: 26px;
	margin: 0 0 28px;
	padding-left: 22px;
	position: relative;
	line-height: 1.4;
}
.section-title::before {
	content: "";
	position: absolute;
	left: 0; top: .62em;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--c-sakura);
	box-shadow: 0 0 0 4px var(--c-sakura-soft);
}

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 30px;
	border-radius: var(--r-pill);
	font-size: 14.5px; font-weight: 700; line-height: 1.3;
	border: 2px solid transparent;
	cursor: pointer;
	font-family: var(--font-body);
}
.btn--green { background: var(--c-green-deep); color: #fff; border-color: var(--c-green-deep); box-shadow: 0 6px 16px rgba(47,125,58,.22); }
.btn--green:hover { background: var(--c-green-ink); border-color: var(--c-green-ink); color: #fff; transform: translateY(-1px); }
.btn--outline { background: #fff; color: var(--c-green-deep); border-color: var(--c-green-deep); }
.btn--outline:hover { background: var(--c-green-soft); color: var(--c-green-ink); }
.btn--small { padding: 9px 20px; font-size: 13px; }

/* ------------------------------------------------------------
   3. ヘッダー
------------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	transition: box-shadow .2s;
}
/* ぼかし背景は疑似要素に持たせる（header 本体に backdrop-filter があると、中の position:fixed のメニューが header 内に閉じ込められるため） */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
	max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo { margin: 0; line-height: 1; }
.site-logo img { width: 240px; height: auto; }
.global-nav { display: flex; align-items: center; gap: 20px; }
.global-nav__list { display: flex; gap: 2px; }
.global-nav__list a {
	display: block; padding: 8px 14px;
	color: var(--c-ink); font-size: 14px; font-weight: 500;
	border-radius: var(--r-pill);
}
.global-nav__list a:hover { background: var(--c-green-tint); color: var(--c-green-deep); }
.global-nav__list .current-menu-item > a, .global-nav__list .current-menu-ancestor > a { background: var(--c-green-soft); color: var(--c-green-ink); }
.global-nav__list .sub-menu { display: none; }
.global-nav__tel { display: none; }
.nav-toggle { display: none; }

/* ------------------------------------------------------------
   4. トップページ
------------------------------------------------------------ */
.hero { padding: 12px var(--gutter) 0; }
.hero__inner, .hero__image { max-width: calc(var(--container) + 120px); margin: 0 auto; }
.hero { position: relative; }
.hero__image { display: block; border-radius: var(--r-xl); overflow: hidden; background: #e9eee9; }
.hero__image img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 560px; }
.hero__inner {
	position: absolute; left: var(--gutter); right: var(--gutter); top: 12px; bottom: 0;
	display: flex; align-items: flex-end; justify-content: flex-start;
	pointer-events: none;
}
.hero__catch {
	pointer-events: auto;
	margin: 0 0 36px 36px;
	padding: 26px 34px;
	max-width: 560px;
	background: rgba(255,255,255,.9);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: var(--r-lg);
	font-family: var(--font-head);
	font-size: clamp(20px, 2.3vw, 28px);
	font-weight: 700; line-height: 1.6;
	color: var(--c-ink);
	box-shadow: var(--shadow);
}

.gh-area { margin-bottom: 44px; }
.gh-area__title {
	font-size: 18px;
	margin: 0 0 18px;
	display: flex; align-items: center; gap: 12px;
}
.gh-area__title a { color: var(--c-ink); display: inline-flex; align-items: center; gap: 10px; }
.gh-area__title a::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--c-green); }
.gh-area__count { font-size: 12px; font-weight: 500; color: var(--c-green-deep); background: var(--c-green-soft); padding: 2px 12px; border-radius: var(--r-pill); font-family: var(--font-body); }
.gh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.gh-card { display: flex; }
.gh-card__link {
	display: flex; flex-direction: column; width: 100%;
	color: var(--c-ink);
	background: #fff;
	border-radius: var(--r-lg);
	padding: 10px 10px 18px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--c-line);
}
.gh-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--c-ink); }
.gh-card__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-green-tint); border-radius: var(--r-md); }
.gh-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gh-card__noimage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--c-ink-3); font-size: 13px; }
.gh-card__status {
	position: absolute; top: 10px; left: 10px;
	padding: 3px 12px; font-size: 11.5px; font-weight: 700; border-radius: var(--r-pill);
	background: #fff; color: var(--c-green-deep); box-shadow: var(--shadow-sm);
}
.gh-card__status--full { color: var(--c-ink-2); }
.gh-card__status--soon { color: #b2506a; background: var(--c-sakura-soft); }
.gh-card__title { font-size: 17px; margin: 14px 8px 4px; }
.gh-card__address { font-size: 13px; color: var(--c-ink-2); margin: 0 8px 2px; line-height: 1.6; }
.gh-card__meta { font-size: 12.5px; color: var(--c-ink-3); margin: 0 8px 14px; }
.gh-card .btn { align-self: flex-start; margin: auto 8px 0; }

.section--recruit { background: var(--c-green-tint); }
.recruit-banner { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; }
.recruit-banner__image img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }

.news-list { display: grid; gap: 10px; }
.news-list__item {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	padding: 16px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
}
.news-list__date { font-size: 13px; color: var(--c-ink-3); white-space: nowrap; }
.news-list__cat { font-size: 11.5px; padding: 2px 12px; background: var(--c-green-soft); color: var(--c-green-ink); border-radius: var(--r-pill); white-space: nowrap; }
.news-list__title { color: var(--c-ink); flex: 1; min-width: 200px; font-weight: 500; }
.news-list__title:hover { color: var(--c-green-deep); }
.news-list__empty { color: var(--c-ink-3); }

/* ------------------------------------------------------------
   5. 下層ページ共通
------------------------------------------------------------ */
.page-header { margin: 12px auto 28px; width: min(calc(100% - var(--gutter) * 2), calc(var(--container) + 120px)); }
.page-header {
	height: 300px;
	background-size: cover; background-position: center;
	border-radius: var(--r-xl);
	display: flex; align-items: flex-end;
	position: relative; overflow: hidden;
}
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(31,90,40,.28) 100%); }
.page-header__title { position: relative; z-index: 1; margin: 0 0 28px 36px; }
.page-header__title span {
	display: inline-block;
	padding: 12px 28px;
	background: rgba(255,255,255,.92);
	border-radius: var(--r-pill);
	font-size: 24px; font-weight: 700; color: var(--c-ink);
	box-shadow: var(--shadow);
}
.breadcrumb { font-size: 12.5px; color: var(--c-ink-3); margin: 0 0 36px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; }
.breadcrumb a { color: var(--c-ink-3); }
.breadcrumb a:hover { color: var(--c-green-deep); }

.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 24px; margin: 2em 0 1em; padding-left: 22px; position: relative; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 12px; border-radius: 50%; background: var(--c-sakura); box-shadow: 0 0 0 4px var(--c-sakura-soft); }
.entry-content h3 { font-size: 19px; margin: 1.8em 0 .8em; padding-left: 14px; border-left: 5px solid var(--c-green); border-radius: 3px; }
.entry-content h4 { font-size: 16px; margin: 1.5em 0 .6em; }
.entry-content ul { list-style: disc; padding-left: 1.5em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; }
.entry-content li + li { margin-top: .3em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.5em 0; padding: 1em 1.5em; background: var(--c-green-tint); border-left: 5px solid var(--c-green); border-radius: var(--r-sm); }
.entry-content figure.wp-block-image { margin: 1.5em 0; }
.entry-content figure.wp-block-image img { border-radius: var(--r-md); }
.entry-content figcaption { font-size: 12px; color: var(--c-ink-3); text-align: center; }
.entry-content .wp-block-buttons .wp-block-button__link { background: var(--c-green-deep); color: #fff; border-radius: var(--r-pill); }

/* 仕様表・表ブロック：角丸のカードに
   - 角丸の枠は外側（.spec-table 自身、または表ブロックの figure）に持たせ、overflow:hidden で中身を収める
   - セルは横罫のみ。WP本体の .wp-block-table td,th { border:1px solid } を詳細度で上書きする */
.spec-table {
	width: 100%;
	border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden;
	border-collapse: separate; border-spacing: 0; margin-bottom: 24px; background: #fff;
}
.entry-content figure.wp-block-table {
	margin: 1.5em 0;
	border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; background: #fff;
}
.entry-content figure.wp-block-table table,
.entry-content > table {
	width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 0;
}
.entry-content > table { border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.entry-content figure.wp-block-table thead,
.entry-content figure.wp-block-table tfoot { border: 0; }
.spec-table th, .spec-table td,
.entry-content figure.wp-block-table table th, .entry-content figure.wp-block-table table td,
.entry-content > table th, .entry-content > table td {
	padding: 16px 22px; text-align: left; vertical-align: top;
	border: 0; border-bottom: 1px solid var(--c-line);
}
.spec-table tr:last-child > *,
.entry-content figure.wp-block-table table tr:last-child > *,
.entry-content > table tr:last-child > * { border-bottom: 0; }
.spec-table th,
.entry-content figure.wp-block-table table th,
.entry-content > table th { width: 190px; background: var(--c-green-tint); font-weight: 700; color: var(--c-ink); }
.entry-content figure.wp-block-table table td,
.entry-content > table td { background: #fff; }
.entry-content figure.wp-block-table figcaption { padding: 8px 16px; margin: 0; border-top: 1px solid var(--c-line); }
.spec-table small { display: block; font-size: 12px; color: var(--c-ink-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 3px 14px; background: var(--c-green-soft); color: var(--c-green-ink); border-radius: var(--r-pill); font-size: 13px; line-height: 1.7; }

.area-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.area-nav__item { padding: 8px 20px; background: #fff; border: 1.5px solid var(--c-line); color: var(--c-ink-2); border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; }
.area-nav__item:hover { border-color: var(--c-green); color: var(--c-green-deep); }
.area-nav__item.is-current { background: var(--c-green-deep); border-color: var(--c-green-deep); color: #fff; }

/* ------------------------------------------------------------
   6. 施設詳細
------------------------------------------------------------ */
.gh-detail__top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; margin-bottom: 32px; }
.gh-detail__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.gh-detail__noimage { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--c-green-tint); color: var(--c-ink-3); border-radius: var(--r-lg); }
.gh-detail__summary { background: var(--c-green-tint); border-radius: var(--r-lg); padding: 28px 30px; }
.gh-detail__status { display: inline-block; margin: 0 0 14px; padding: 4px 16px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; background: #fff; color: var(--c-green-deep); box-shadow: var(--shadow-sm); }
.gh-detail__status--full { color: var(--c-ink-2); }
.gh-detail__status--soon { background: var(--c-sakura-soft); color: #b2506a; }
.summary-list { margin: 0; }
.summary-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(47,125,58,.25); }
.summary-list > div:last-child { border-bottom: 0; }
.summary-list dt { font-weight: 700; color: var(--c-green-ink); }
.summary-list dd { margin: 0; }
.summary-list small { display: block; font-size: 12px; color: var(--c-ink-2); }
.fee__total { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--c-ink); }
.fee__list { margin: 8px 0 0; padding: 10px 14px; background: #fff; border-radius: var(--r-sm); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; max-width: 360px; }
.fee__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; line-height: 1.8; white-space: nowrap; }
.fee__list li span:first-child { color: var(--c-ink-2); }
.spec-table .fee__list { background: var(--c-green-tint); }
.gh-detail__cta { margin: 20px 0 0; }
.gh-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.gh-gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: #fff; }
.gh-gallery__item a:hover img { opacity: .9; }
.gh-gallery__item--floor img { object-fit: contain; border: 1px solid var(--c-line); }
.gh-gallery figcaption { font-size: 12px; text-align: center; color: var(--c-ink-3); margin-top: 6px; }
.gh-section { margin: 56px 0; }
.gh-map { border-radius: var(--r-md); overflow: hidden; }
.gh-map iframe { width: 100%; height: 400px; border: 0; display: block; }
.gh-contact { background: var(--c-green-tint); padding: 36px; border-radius: var(--r-xl); }
.gh-contact__tel { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin: 0 0 20px; }
.gh-contact__tel a { color: var(--c-ink); }
.gh-contact__tel small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--c-ink-2); }
.gh-common { margin: 64px 0 40px; }
.gh-common__note { font-size: 13px; color: var(--c-ink-2); }

/* ------------------------------------------------------------
   7. サクラ荘の特徴
------------------------------------------------------------ */
.features-intro { margin-bottom: 64px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.point { background: var(--c-green-tint); border-radius: var(--r-lg); padding: 28px 28px 24px; text-align: center; }
.point img { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.point__label { margin: 18px 0 2px; font-size: 13px; letter-spacing: .12em; color: var(--c-green-deep); font-weight: 700; }
.point__title { font-size: 18px; margin: 0 0 10px; }
.point p:last-child { text-align: left; font-size: 14.5px; margin: 0; }
.flow { margin-bottom: 64px; }
.flow-list { margin: 0 0 24px; display: grid; gap: 14px; }
.flow-item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.flow-item__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.flow-item__title { font-size: 18px; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.flow-item__num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-green-deep); color: #fff; font-size: 14px; font-family: var(--font-body); }
.flow-item p { margin: 0; font-size: 14.5px; }
.voices { margin-bottom: 40px; }
.voice { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.voice:last-child { border-bottom: 0; }
.voice__image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); }
.voice__name { font-size: 17px; margin: 0 0 10px; }
.voice__q { margin: 0; font-size: 13px; color: var(--c-green-deep); font-weight: 700; }
.voice__a { margin: 0 0 12px; font-size: 14.5px; }

/* ------------------------------------------------------------
   8. 代表あいさつ
------------------------------------------------------------ */
.message-block { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; margin-bottom: 64px; }
.message-block--reverse .message-block__image { order: 2; }
.message-block__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.message-block__text--full { grid-column: 1 / -1; max-width: 860px; }
.message-block p { font-size: 14.5px; }
.message-title { font-size: 22px; line-height: 1.6; padding-left: 22px; margin: 0 0 20px; position: relative; }
.message-title::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--c-sakura); box-shadow: 0 0 0 4px var(--c-sakura-soft); }
.message-sign { text-align: right; font-weight: 700; margin-top: 2em; }

/* ------------------------------------------------------------
   9. 会社概要・お問い合わせ・採用
------------------------------------------------------------ */
.map { border-radius: var(--r-md); overflow: hidden; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact__tel { text-align: center; padding: 26px; background: var(--c-green-tint); border-radius: var(--r-lg); margin: 24px 0 36px; }
.contact__tel-label { margin: 0; font-size: 13px; }
.contact__tel-number { margin: 0; font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.contact__tel-number a { color: var(--c-ink); }
.contact__tel-hours { margin: 0; font-size: 12px; color: var(--c-ink-2); }
.recruit-form { margin-top: 56px; }
.thanks__back { text-align: center; margin-top: 32px; }

/* Contact Form 7 */
#layout_table2 table { width: 100%; table-layout: fixed; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; border-collapse: separate; border-spacing: 0; }
#layout_table2 th { width: 250px; padding: 16px 22px; background: var(--c-green-tint); border-bottom: 1px solid var(--c-line); text-align: left; font-weight: 700; vertical-align: middle; }
#layout_table2 td { padding: 14px 22px; border-bottom: 1px solid var(--c-line); background: #fff; }
#layout_table2 tr:last-child th, #layout_table2 tr:last-child td { border-bottom: 0; }
.required-contactform7, .unrequired-contactform7 { display: inline-block; font-size: 11px; color: #fff; background: #e4738a; padding: 1px 9px; margin-right: 8px; border-radius: var(--r-pill); vertical-align: 2px; }
.unrequired-contactform7 { background: var(--c-ink-3); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
	width: 100%; padding: 12px 16px; border: 1.5px solid var(--c-line); border-radius: var(--r-sm); font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: var(--c-green); box-shadow: 0 0 0 4px rgba(81,181,81,.15); outline: none; }
.wpcf7 textarea { min-height: 150px; }
.wpcf7 .wpcf7-list-item { margin: 0 1em 0 0; }
.wpcf7 input[type="submit"] {
	display: inline-block; padding: 14px 60px; border: 0; border-radius: var(--r-pill);
	background: var(--c-green-deep); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(47,125,58,.22);
}
.wpcf7 input[type="submit"]:hover { background: var(--c-green-ink); }
.wpcf7 center { margin-top: 28px; }
.wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; }
.wpcf7-response-output { margin: 1em 0 !important; padding: .8em 1.2em !important; border-radius: var(--r-sm); }

/* ------------------------------------------------------------
   10. 記事（お知らせ・コラム）
------------------------------------------------------------ */
.post-list { display: grid; gap: 20px; }
.post-card__link { display: grid; grid-template-columns: 240px 1fr; gap: 24px; color: var(--c-ink); align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 12px; }
.post-card__link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--c-ink); }
.post-card__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.post-card__meta { font-size: 13px; color: var(--c-ink-3); margin: 0 0 6px; display: flex; gap: 12px; align-items: center; }
.post-card__title { font-size: 19px; margin: 0 0 8px; }
.post-card__excerpt { font-size: 14px; margin: 0; color: var(--c-ink-2); }
.post-single__title { font-size: 28px; margin: 8px 0 24px; }
.post-single__thumb { margin-bottom: 28px; }
.post-single__thumb img { width: 100%; border-radius: var(--r-lg); }
.post-single__footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; margin-bottom: 24px; }
.post-single__back { text-align: center; }
.post-cta { margin: 56px 0; padding: 32px; background: var(--c-green-tint); text-align: center; border-radius: var(--r-xl); }
.post-cta__text { margin-bottom: 18px; }
.pagination { margin: 40px 0; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1.5px solid var(--c-line); border-radius: var(--r-pill); color: var(--c-ink); font-size: 14px; }
.pagination .page-numbers.current { background: var(--c-green-deep); color: #fff; border-color: var(--c-green-deep); }

/* ------------------------------------------------------------
   11. フッター
------------------------------------------------------------ */
.site-footer { --c-forest: #24452b; margin: 96px auto 0; width: min(calc(100% - var(--gutter) * 2), calc(var(--container) + 120px)); }
.footer-cta {
	position: relative; z-index: 1;
	margin: 0 clamp(0px, 4vw, 48px) -56px;
	padding: 32px 40px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
	background: #fff; border-radius: var(--r-xl);
	box-shadow: 0 18px 40px rgba(36, 69, 43, .14);
	border: 1px solid var(--c-line);
}
.footer-cta__text { flex: 1 1 320px; }
.footer-cta__title { font-size: 21px; margin: 0 0 6px; }
.footer-cta__lead { font-size: 13.5px; color: var(--c-ink-2); margin: 0; }
.footer-cta__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-cta__tel {
	display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
	padding: 10px 24px 10px 18px; border-radius: var(--r-pill);
	background: var(--c-green-tint); color: var(--c-ink);
}
.footer-cta__tel svg { grid-row: span 2; color: var(--c-green-deep); }
.footer-cta__tel-num { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.footer-cta__tel-hours { font-size: 11px; color: var(--c-ink-2); }
.footer-cta__tel:hover { background: var(--c-green-soft); color: var(--c-ink); }
.footer-cta__form { padding-left: 32px; padding-right: 32px; }
.site-footer__main { background: var(--c-forest); color: rgba(255,255,255,.86); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-top: 56px; }
.footer-cta + .site-footer__main { padding-top: 112px; }
.site-footer__inner {
	max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 40px;
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px;
}
.site-footer__logo { margin: 0 0 14px; }
.site-footer__logo img { width: 220px; filter: brightness(0) invert(1); }
.site-footer__desc { font-size: 13.5px; line-height: 1.8; margin: 0 0 16px; color: rgba(255,255,255,.86); }
.site-footer__address { font-style: normal; font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.66); }
.site-footer__address a { color: rgba(255,255,255,.86); }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer__heading { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer__list li { font-size: 13.5px; }
.site-footer__list a { display: inline-block; padding: 5px 0; color: rgba(255,255,255,.78); }
.site-footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__group { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 32px; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.site-footer__group-label { font-size: 12px; color: rgba(255,255,255,.6); margin: 0; }
.site-footer__group-list { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-footer__group-list a, .site-footer__group-list span { display: flex; align-items: center; height: 40px; padding: 0 18px; background: #fff; border-radius: var(--r-pill); }
.site-footer__group-list a:hover { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.site-footer__group-list img { height: 16px; width: auto; }
.site-footer__bottom { max-width: var(--container); margin: 0 auto; padding: 18px var(--gutter) 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.55); }
.site-footer__bottom a { color: rgba(255,255,255,.7); }
.site-footer__bottom a:hover { color: #fff; }
.to-top {
	position: fixed; right: 20px; bottom: 88px; width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; color: var(--c-green-deep); border: 1.5px solid var(--c-line); border-radius: 50%; font-size: 18px; box-shadow: var(--shadow);
	opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 50;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------
   12. レスポンシブ
------------------------------------------------------------ */
@media (max-width: 1023px) {
	.gh-grid { grid-template-columns: repeat(3, 1fr); }
	.gh-gallery { grid-template-columns: repeat(3, 1fr); }
	.global-nav__list a { padding: 8px 9px; font-size: 13px; }
}

@media (max-width: 767px) {
	:root { --header-h: 60px; --gutter: 16px; --r-xl: 20px; }
	body { font-size: 14.5px; }
	.section { padding: 48px 0; }
	.section-title { font-size: 21px; padding-left: 20px; }

	.site-logo img { width: 180px; }
	.nav-toggle { display: block; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; position: relative; z-index: 102; }
	.nav-toggle__bar { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--c-ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
	.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.global-nav {
		position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0;
		background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto;
		flex-direction: column; align-items: stretch; gap: 16px;
		clip-path: inset(0 0 0 100%); transition: clip-path .3s, visibility 0s .3s; z-index: 101;
		visibility: hidden;
	}
	.nav-open .global-nav { clip-path: inset(0); visibility: visible; transition: clip-path .3s; }
	.nav-open { overflow: hidden; }
	.global-nav__list { flex-direction: column; gap: 4px; }
	.global-nav__list a { padding: 14px 16px; font-size: 16px; border-radius: var(--r-md); }
	.global-nav__tel { display: block; text-align: center; padding: 18px; background: var(--c-green-tint); border-radius: var(--r-lg); }
	.global-nav__tel a { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--c-ink); display: block; }
	.global-nav__tel small { font-size: 12px; color: var(--c-ink-2); }

	.hero { padding-top: 8px; }
	.hero__image img { max-height: none; aspect-ratio: 4 / 5; object-fit: cover; }
	.hero__inner { top: 8px; }
	.hero__catch { margin: 0 14px 14px; padding: 18px 20px; font-size: 19px; max-width: none; }
	.lead-text { text-align: left; }
	.lead-text br, .section__lead br { display: none; }
	.gh-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
	.gh-card__link { padding: 8px 8px 14px; }
	.gh-card__title { font-size: 15px; margin: 10px 4px 2px; }
	.gh-card__address, .gh-card__meta { margin-left: 4px; margin-right: 4px; }
	.gh-card .btn { margin-left: 4px; }
	.gh-card .btn--small { padding: 7px 14px; font-size: 12px; }
	.recruit-banner { grid-template-columns: 1fr; gap: 20px; }
	.recruit-banner__image { order: -1; }
	.news-list__item { gap: 8px 14px; padding: 14px 16px; }

	.page-header { height: 220px; margin-top: 8px; margin-bottom: 20px; }
	.page-header__title { margin: 0 0 18px 18px; }
	.page-header__title span { font-size: 18px; padding: 9px 20px; }
	.breadcrumb { margin-bottom: 24px; }
	.spec-table th, .spec-table td,
	.entry-content figure.wp-block-table table th, .entry-content figure.wp-block-table table td,
	.entry-content > table th, .entry-content > table td,
	#layout_table2 th, #layout_table2 td { display: block; width: 100%; padding: .75em 1.1em; }
	.spec-table th, .entry-content figure.wp-block-table table th, .entry-content > table th, #layout_table2 th { border-bottom: 0; padding-bottom: .5em; }
	.spec-table tr:last-child > th, .entry-content figure.wp-block-table table tr:last-child > th, .entry-content > table tr:last-child > th, #layout_table2 tr:last-child > th { border-bottom: 0; }
	.spec-table tbody, .spec-table tr, .entry-content figure.wp-block-table tbody, .entry-content figure.wp-block-table tr, #layout_table2 tbody, #layout_table2 tr { display: block; }
	.gh-detail__top { grid-template-columns: 1fr; gap: 20px; }
	.gh-detail__summary { padding: 20px; }
	.gh-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.summary-list > div { grid-template-columns: 110px 1fr; }
	.summary-list__fee { grid-template-columns: 1fr !important; gap: 4px !important; }
	.fee__list { grid-template-columns: 1fr; max-width: none; }
	.gh-contact { padding: 22px; }
	.gh-map iframe, .map iframe { height: 300px; }
	.points { grid-template-columns: 1fr; gap: 18px; }
	.flow-item { grid-template-columns: 100px 1fr; gap: 14px; padding: 12px; }
	.voice { grid-template-columns: 100px 1fr; gap: 14px; }
	.message-block { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
	.message-block--reverse .message-block__image { order: 0; }
	.message-title { font-size: 19px; }
	.post-card__link { grid-template-columns: 1fr; gap: 12px; }
	.post-single__title { font-size: 22px; }

	.site-footer { margin-top: 64px; width: 100%; }
	.footer-cta { margin: 0 var(--gutter) -48px; padding: 24px 20px; flex-direction: column; align-items: stretch; text-align: center; }
	.footer-cta__text { flex: none; }
	.footer-cta__title { font-size: 18px; }
	.footer-cta__actions { flex-direction: column; align-items: stretch; gap: 10px; }
	.footer-cta__tel { justify-content: center; padding: 12px 16px; }
	.footer-cta__tel-num { font-size: 22px; }
	.footer-cta__form { justify-content: center; }
	.site-footer__main { border-radius: var(--r-xl) var(--r-xl) 0 0; padding-top: 40px; }
	.footer-cta + .site-footer__main { padding-top: 88px; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 28px; }
	.site-footer__logo img { width: 190px; }
	.site-footer__nav { gap: 20px; }
	.site-footer__list li { font-size: 13px; }
	.site-footer__group { flex-direction: column; align-items: flex-start; }
	.site-footer__group-list a, .site-footer__group-list span { height: 36px; padding: 0 14px; }
	.site-footer__group-list img { height: 14px; }
	.site-footer__bottom { padding-bottom: 96px; }

	/* トップのグループホーム一覧：エリアごとに横スクロール */
	.home .gh-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
	.home .gh-grid::-webkit-scrollbar { display: none; }
	.home .gh-grid > .gh-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* 画像モーダル */
.gh-detail__main-image a.js-lightbox, .gh-gallery__item a.js-lightbox { display: block; cursor: zoom-in; }
.gh-detail__main-image a.js-lightbox:hover img { opacity: .92; }
html.is-lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(20, 32, 22, .88); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.lightbox__caption { margin-top: 12px; color: #fff; font-size: 14px; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); color: var(--c-green-deep); font-size: 32px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: #fff; }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 3px solid var(--c-sakura); outline-offset: 2px; }
.lightbox__close { top: 16px; right: 16px; font-size: 30px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 640px) {
	.lightbox { padding: 64px 12px 72px; }
	.lightbox__img { max-height: calc(100vh - 180px); }
	.lightbox__nav { top: auto; bottom: 16px; transform: none; width: 44px; height: 44px; }
	.lightbox__nav--prev { left: calc(50% - 56px); }
	.lightbox__nav--next { right: calc(50% - 56px); }
}

/* Turnstile（送信ボタン直上・中央） */
.bccs-turnstile { display: flex; justify-content: center; margin: 0 0 20px; }
.bccs-turnstile .wpcf7-turnstile, .bccs-turnstile .cf-turnstile { margin: 0 auto; }

/* 空の見出し（旧サイトからの移行で残ったもの）は表示しない */
.entry-content h2:empty, .entry-content h3:empty { display: none; }
