/*
Theme Name: 石田建築 2026
Theme URI: https://ishidakenchiku.com/
Description: 石田建築株式会社のためのオリジナルテーマ。Elementorなしで旧サイトのデザインを再現しています。
Author: KOKO creative
Version: 1.8.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ishida2026
*/

/* ==============================================================
   変数
   ============================================================== */
:root {
	--c-text: #1a1a1a;
	--c-head: #16181a;
	--c-brown: #8a644c;
	--c-brown-dark: #6f4f3b;
	--c-dark: #333333;
	--c-gray: #adadad;
	--c-line: #e2dcd5;
	--c-bg-light: #f7f3ef;
	--c-footer: #3d3833;
	--c-footer-bottom: #5a524b;
	--f-base: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--f-en: "Karla", var(--f-base);
	--container: 1196px;
	--container-wide: 1240px;
	--header-h: 100px;
	--sec-space: 120px;
}

/* ==============================================================
   リセット・ベース
   ============================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	font-family: var(--f-base);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.8;
	color: var(--c-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--f-en);
	font-weight: 700;
	color: var(--c-head);
	line-height: 1.3;
	letter-spacing: .02em;
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: color .25s, background-color .25s, opacity .25s, border-color .25s; }
button { font: inherit; color: inherit; }
iframe { border: 0; }

.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: 8px; top: -60px; z-index: 1000;
	background: #000; color: #fff; padding: 8px 16px;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--c-brown); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; }
.container-wide { width: 100%; max-width: calc(var(--container-wide) + 40px); margin: 0 auto; padding: 0 20px; }

.section { padding: var(--sec-space) 0 0; }
.section--sub { padding-top: 40px; }

.sec-title {
	font-family: var(--f-en);
	font-size: 43px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	margin-bottom: 16px;
}
.sub-title {
	font-family: var(--f-base);
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 56px;
}

/* ボタン */
.btn-dark,
.btn-brown,
.btn-outline {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .03em;
}
.btn-dark { background: var(--c-dark); color: #fff; padding: 13px 24px; }
.btn-dark:hover { background: #000; }
.btn-brown { background: var(--c-brown); color: #fff; padding: 18px 36px; }
.btn-brown:hover { background: var(--c-brown-dark); }
.btn-outline { border: 1px solid #fff; color: #fff; padding: 20px; }
.btn-outline:hover { background: #fff; color: var(--c-footer); }
.text-link { color: var(--c-brown); }
.text-link:hover { text-decoration: underline; }

/* ==============================================================
   ヘッダー
   ============================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	transition: box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.is-scrolled .site-header { box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding: 0 10px 0 10px;
}
.site-header__logo { margin: 0; line-height: 1; }
.site-logo { display: block; }
.site-logo img { width: 158px; height: auto; }

.gnav { display: flex; align-items: center; gap: 30px; }
.gnav__list { display: flex; gap: 28px; list-style: none; }
.gnav__list a {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .07em;
	line-height: 1.6;
	color: var(--c-head);
	border-bottom: 1px solid transparent;
}
.gnav__list a:hover,
.gnav__list .current-menu-item > a,
.gnav__list .current_page_item > a,
.gnav__list .current-menu-parent > a {
	color: var(--c-brown);
	border-bottom-color: var(--c-brown);
}
.gnav__list .sub-menu { display: none; }
.gnav__cta {
	display: inline-block;
	background: var(--c-brown);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .07em;
	line-height: 1.6;
	padding: 10px 20px;
}
.gnav__cta:hover { background: var(--c-brown-dark); }

.menu-toggle {
	display: none;
	position: relative;
	width: 48px; height: 48px;
	background: none; border: 0; cursor: pointer;
}
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	position: absolute; left: 12px;
	width: 24px; height: 2px;
	background: var(--c-head);
	transition: transform .3s, opacity .3s;
	content: "";
}
.menu-toggle__bar { top: 23px; }
.menu-toggle__bar::before { left: 0; top: -8px; }
.menu-toggle__bar::after { left: 0; top: 8px; }
.is-menu-open .menu-toggle__bar { background: transparent; }
.is-menu-open .menu-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.is-menu-open .menu-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

/* 左の縦書き「お知らせ」 */
.side-news {
	position: fixed;
	left: 14px;
	top: 50%;
	z-index: 90;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font-size: 10px;
	letter-spacing: .3em;
	color: #888;
}
.side-news:hover { color: var(--c-brown); }

/* ページトップ */
.pagetop {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	background: #000;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
.show-pagetop .pagetop { opacity: 1; visibility: visible; }
.pagetop:hover { background: var(--c-brown); }

/* ==============================================================
   トップ：メインビジュアル
   ============================================================== */
.hero {
	position: relative;
	margin: 0 10px;
	height: calc(100vh - var(--header-h));
	height: calc(100svh - var(--header-h));
	min-height: 520px;
	max-height: 1000px;
	overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.04);
	transition: opacity 1.4s ease, visibility 1.4s, transform 6s ease-out;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero__body { text-align: center; color: #fff; text-shadow: 0 0 24px rgba(0, 0, 0, .25); padding: 50px; }
.hero__title {
	font-family: var(--f-en);
	font-size: 44px;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.2;
	margin: 0 0 22px;
}
.hero__sub { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 22px; }
.hero__btn {
	display: inline-block;
	background: #fff;
	color: var(--c-head);
	font-family: var(--f-en);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 24px;
	text-shadow: none;
}
.hero__btn:hover { background: var(--c-head); color: #fff; }
.hero__dots {
	position: absolute; left: 0; right: 0; bottom: 20px;
	display: flex; justify-content: center; gap: 10px;
}
.hero__dot {
	width: 8px; height: 8px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	cursor: pointer;
}
.hero__dot.is-active { background: #fff; }

/* ==============================================================
   トップ：暮らしを仕立てる。
   ============================================================== */
.intro__title { font-family: var(--f-base); font-size: 30px; margin-bottom: 32px; letter-spacing: .02em; }
.intro__text { font-weight: 700; font-size: 15px; line-height: 2; letter-spacing: .03em; margin-bottom: 1.8em; }

/* ==============================================================
   トップ：Our works カルーセル
   ============================================================== */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
	display: flex;
	column-gap: 10px;
	list-style: none;
	transition: transform .6s ease;
}
.carousel__item { flex: 0 0 calc((100% - 10px) / 2); }
.carousel__item img {
	display: block;
	width: 100%;
	aspect-ratio: 566 / 600;
	object-fit: cover;
}
.carousel__item a:hover img { opacity: .85; }
.carousel__item figcaption { font-size: 11px; font-weight: 700; margin-top: 8px; line-height: 1.5; }
.carousel__arrow {
	position: absolute;
	top: calc(50% - 30px);
	width: 40px; height: 40px;
	background: none;
	border: 0;
	cursor: pointer;
	opacity: .8;
}
.carousel__arrow::before {
	content: "";
	position: absolute; left: 14px; top: 13px;
	width: 12px; height: 12px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, .4));
}
.carousel__arrow--prev { left: 6px; }
.carousel__arrow--prev::before { transform: rotate(-45deg); left: 16px; }
.carousel__arrow--next { right: 6px; }
.carousel__arrow--next::before { transform: rotate(135deg); left: 10px; }
.carousel__arrow:hover { opacity: 1; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel__dots button {
	width: 6px; height: 6px; padding: 0;
	border: 0; border-radius: 50%;
	background: #ccc;
	cursor: pointer;
}
.carousel__dots button.is-active { background: var(--c-dark); }
.works-slider-sec__more { margin-top: 26px; }

/* ==============================================================
   トップ：家づくりで大切にすること
   ============================================================== */
.values { padding-top: 150px; }
.values__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.values__title { font-family: var(--f-base); font-size: 28px; line-height: 1.45; margin-bottom: 30px; }
.values__img img { width: 100%; aspect-ratio: 552 / 500; object-fit: cover; }

.accordion { border-top: 1px solid var(--c-line); }
.accordion__item { border: 1px solid var(--c-line); border-top: 0; }
.accordion__head { font-family: var(--f-base); font-size: 14px; margin: 0; }
.accordion__head button {
	display: flex; align-items: center; gap: 10px;
	width: 100%;
	padding: 14px 18px;
	background: none; border: 0;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}
.accordion__icon { position: relative; width: 10px; height: 10px; flex: none; }
.accordion__icon::before,
.accordion__icon::after {
	content: ""; position: absolute; left: 0; top: 4px;
	width: 10px; height: 2px; background: currentColor;
	transition: transform .25s;
}
.accordion__icon::after { transform: rotate(90deg); }
.is-open .accordion__icon::after { transform: rotate(0); }
.accordion__panel { padding: 0 18px 18px; border-top: 1px solid var(--c-line); padding-top: 16px; font-size: 14px; font-weight: 700; }

/* ==============================================================
   トップ：Our services
   ============================================================== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-card {
	position: relative;
	background-size: cover;
	background-position: center;
	color: #fff;
	min-height: 380px;
}
.service-card::before {
	content: "";
	position: absolute; inset: 0;
	background: rgba(176, 145, 116, .68);
}
.service-card__inner { position: relative; padding: 50px 28px 40px; text-align: center; }
.service-card__icon { display: block; margin: 0 auto 12px; }
.service-card__title { font-family: var(--f-base); color: #fff; font-size: 15px; margin-bottom: 30px; }
.service-card__text { text-align: left; font-size: 14px; font-weight: 700; line-height: 1.9; }

/* ==============================================================
   お知らせカード（トップ・一覧共通）
   ============================================================== */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 30px; }
.post-card__img { display: block; overflow: hidden; margin-bottom: 30px; }
.post-card__img img,
.post-card__img .noimage {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .5s;
}
.post-card__img:hover img { transform: scale(1.03); }
.noimage { background: var(--c-bg-light); }
.post-card__label { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; margin-bottom: 8px; border: 1px solid currentColor; }
.post-card__label--news { color: var(--c-head); }
.post-card__label--hlog { color: #4f7a68; }
.post-card__label--works { color: var(--c-brown); }
.news-links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin-top: 50px; }
.news-links a { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--c-head); padding-bottom: 2px; }
.news-links a::after { content: " ›"; }
.news-links a:hover { color: var(--c-brown); border-color: var(--c-brown); }
.post-card__title { font-family: var(--f-base); font-size: 18px; font-weight: 900; color: #000; margin-bottom: 10px; }
.post-card__title a:hover { color: var(--c-brown); }
.post-card__date { display: block; font-size: 12px; color: var(--c-gray); margin-bottom: 12px; }
.post-card__excerpt { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
.post-card__more { font-family: var(--f-en); font-size: 12px; font-weight: 700; color: var(--c-brown); }
.post-card__more:hover { text-decoration: underline; }
.empty { color: #777; }

/* ==============================================================
   トップ：Reform / Storage / Flow / Meeting
   ============================================================== */
.banners { padding-top: 150px; }
.banners__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px 20px; }
.banner { display: block; }
.banner__title { margin-bottom: 14px; font-size: 40px; }
.banner__img { display: block; overflow: hidden; }
.banner__img img { display: block; width: 100%; transition: transform .6s; }
.banner:hover .banner__img img { transform: scale(1.03); }
.banner__text { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; line-height: 1.9; }

/* ==============================================================
   トップ：LINE / SNS
   ============================================================== */
.sns { padding-top: 40px; }
.sns__grid { display: grid; grid-template-columns: 64% 1fr 1fr; align-items: center; gap: 20px; }
.sns__line img { width: 100%; }
.sns__icon { justify-self: center; }
.sns__icon img { width: 110px; }
.sns a:hover { opacity: .8; }

/* ==============================================================
   フッター
   ============================================================== */
.site-footer { margin-top: 160px; color: #fff; }
.footer-location { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-footer); min-height: 600px; }
.footer-location__info {
	padding: 100px 40px 80px max(40px, calc((100vw - var(--container)) / 2));
}
.footer-location__title { font-family: var(--f-en); font-size: 43px; font-weight: 700; line-height: 1.3; margin-bottom: 26px; }
.footer-location__address { font-size: 14px; line-height: 2; margin-bottom: 56px; }
.footer-location__tel { margin-bottom: 26px; }
.footer-location__tel a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-en); font-size: 22px; font-weight: 700; }
.footer-location__map { position: relative; min-height: 360px; }
.footer-location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(.2); }

.footer-bottom { background: var(--c-footer-bottom); padding: 30px 20px 30px; min-height: 200px; }
.footer-bottom__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-follow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; }
.footer-follow a { display: inline-flex; }
.footer-follow a:hover,
.footer-links a:hover { opacity: .7; }
.footer-links ul { display: flex; gap: 22px; list-style: none; }
.footer-links a { font-family: var(--f-en); font-size: 14px; font-weight: 700; }
.copyright { margin-top: 90px; font-size: 12px; font-weight: 700; }

/* ==============================================================
   下層ページ共通
   ============================================================== */
.page-head { position: relative; padding-top: 30px; padding-bottom: 70px; }
.page-head--crumb-only { padding-bottom: 40px; }
.page-head__title { font-family: var(--f-base); font-size: 30px; margin-top: 18px; }
.breadcrumb { text-align: right; font-size: 11px; color: #888; }
.breadcrumb a:hover { color: var(--c-brown); }
.breadcrumb__sep { margin: 0 6px; }

/* 本文（ブロックエディタ） */
.entry-content { font-size: 15px; line-height: 2; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-family: var(--f-base); font-size: 26px; margin-top: 2.4em; margin-bottom: .8em; }
.entry-content h3 { font-family: var(--f-base); font-size: 20px; margin-top: 2em; margin-bottom: .6em; }
.entry-content h4 { font-family: var(--f-base); font-size: 17px; margin-top: 1.6em; }
.entry-content a { color: var(--c-brown); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content img { display: block; }
.entry-content figcaption { font-size: 12px; color: #777; margin-top: 6px; }
.entry-content .wp-block-image { margin-bottom: 0; }
.entry-content .wp-block-columns { gap: 30px; margin-top: 60px; }
.entry-content .wp-block-gallery { gap: 12px; align-items: flex-start; }
.entry-content .wp-block-gallery.has-nested-images.columns-2 > figure.wp-block-image { width: calc(50% - 6px) !important; flex-grow: 0 !important; margin: 0 !important; }
.entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image img { width: 100%; height: auto !important; }
.single-works .entry-content h2 { margin-top: 1.6em; }
.single-works .entry-content h3 { font-size: 18px; margin-top: 2.2em; margin-bottom: .4em; }
.single-works .entry-content p { font-size: 14px; font-weight: 700; }
@media (max-width: 767px) { .entry-content .wp-block-gallery.has-nested-images.columns-2 > figure.wp-block-image { width: 100% !important; } }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th { background: var(--c-bg-light); white-space: nowrap; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid #e5e5e5; padding: 12px 16px; text-align: left; }
.entry-content .alignwide { max-width: none; }
.entry-content .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

.single-back { margin-top: 80px; text-align: center; }

/* お知らせ詳細 */
.single-news__date { display: block; font-size: 13px; color: var(--c-gray); margin-bottom: 24px; }
.single-news__thumb { margin-bottom: 40px; }
.single-news__thumb img { width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 13px; }
.post-nav a:hover { color: var(--c-brown); }
.post-nav__next { text-align: right; margin-left: auto; }

/* 施工事例詳細 */
.single-works__hero { margin-bottom: 30px; }
.single-works__hero img { width: 100%; max-height: 820px; object-fit: cover; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin-bottom: 40px; }
.tag-list li { background: #222; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; line-height: 1.6; }
.single-works .entry-content h2 { font-family: var(--f-en); font-size: 32px; }

/* 施工事例一覧 */
.works-lead { margin-bottom: 50px; }
.works-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 30px; list-style: none; margin-bottom: 30px; }
.works-filter a { font-size: 14px; font-weight: 700; color: #888; }
.works-filter a:hover,
.works-filter a.is-active { color: var(--c-head); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 18px; list-style: none; }
.works-card[hidden] { display: none; }
.works-card a { display: block; }
.works-card__img { display: block; overflow: hidden; }
.works-card__img img,
.works-card__img .noimage { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.works-card a:hover img { transform: scale(1.04); }
.works-card__body { display: block; padding: 12px 2px 6px; }
.works-card__type { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--c-brown); padding: 1px 8px; margin-bottom: 6px; }
.works-card__title { display: block; font-size: 16px; font-weight: 700; color: var(--c-head); line-height: 1.5; }
.works-card a:hover .works-card__title { color: var(--c-brown); }
.works-card__sub { display: block; font-size: 12px; color: #777; margin-top: 2px; line-height: 1.6; }
.works-grid { row-gap: 36px; }

/* キーワード絞り込み */
.works-tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 900px; margin: 0 auto 40px; }
.works-tags__label { width: 100%; text-align: center; font-size: 12px; color: #777; margin-bottom: 2px; }
.works-tags button { border: 1px solid var(--c-line); background: #fff; padding: 5px 14px; font-size: 13px; font-weight: 700; border-radius: 999px; cursor: pointer; }
.works-tags button:hover { border-color: var(--c-head); }
.works-tags button[aria-pressed="true"] { background: var(--c-head); border-color: var(--c-head); color: #fff; }
.works-empty { text-align: center; color: #777; margin: 20px 0 40px; }
.works-cta { margin-top: 100px; }
.works-cta__reform { margin-top: 12px; }

/* ページ送り */
.pagination { margin-top: 70px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--c-line); font-size: 13px; font-family: var(--f-en); }
.pagination .page-numbers.current { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--c-dark); }

/* ==============================================================
   家づくりの流れ
   ============================================================== */
.flow__lead { margin-bottom: 100px; font-size: 14px; font-weight: 700; }
.flow__block + .flow__block { margin-top: 120px; }
.flow__steps { list-style: none; display: grid; gap: 22px; }
.flow-step { display: grid; grid-template-columns: 360px 1fr; align-items: stretch; }
.flow-step__head { padding: 8px 20px 8px 0; }
.flow-step__num { display: block; font-family: var(--f-en); font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.flow-step__title { font-family: var(--f-base); font-size: 18px; }
.flow-step__body { border-left: 1px solid var(--c-dark); padding: 8px 0 8px 20px; font-size: 14px; font-weight: 700; line-height: 2; }
.flow-step__body p { margin-bottom: 1em; }
.flow-step__body .note { font-size: 12px; color: #666; }
.flow-list { padding-left: 1.4em; }
.cta-box { margin-top: 120px; padding: 60px 30px; background: var(--c-bg-light); text-align: center; }
.cta-box__text { font-size: 15px; font-weight: 700; margin-bottom: 28px; }

/* ==============================================================
   会社案内
   ============================================================== */
.greeting {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	background: var(--c-bg-light);
	padding: 70px 60px;
	max-width: var(--container-wide);
}
.greeting__title { font-family: var(--f-base); font-size: 28px; }
.greeting__body { font-size: 14px; font-weight: 700; line-height: 2; }
.greeting__body p { margin-bottom: 1.4em; }
.about__block { margin-top: 100px; }
.about__block .sub-title { margin-bottom: 30px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; font-weight: 700; }
.info-table th,
.info-table td { border: 1px solid #e5e5e5; padding: 20px 16px; text-align: left; vertical-align: middle; line-height: 1.9; }
.info-table th { width: 50%; font-weight: 700; }
.about__extra { margin-top: 80px; }

/* ==============================================================
   フォームページ（家づくり相談会・お問い合わせ）
   ============================================================== */
.form-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 60px; align-items: start; }
.form-page__intro { padding: 60px 0 0 30px; position: sticky; top: calc(var(--header-h) + 30px); }
.form-page__title { font-family: var(--f-base); font-size: 28px; line-height: 1.6; margin-bottom: 30px; }
.form-page__lead { font-size: 13px; font-weight: 700; }
.form-page__form { background: #efe8e0; padding: 40px; font-size: 14px; }

/* フォーム部品（Contact Form 7 / MW WP Form / Snow Monkey Forms など共通） */
.form-page__form label,
.form-page__form .label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-page__form input[type="text"],
.form-page__form input[type="email"],
.form-page__form input[type="tel"],
.form-page__form input[type="number"],
.form-page__form input[type="date"],
.form-page__form input[type="url"],
.form-page__form select,
.form-page__form textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #fff;
	background: #fff;
	font: inherit;
	font-size: 16px;
	border-radius: 0;
}
.form-page__form textarea { min-height: 160px; }
.form-page__form input:focus,
.form-page__form select:focus,
.form-page__form textarea:focus { outline: none; border-color: var(--c-brown); }
.form-page__form p { margin-bottom: 1.6em; }
.form-page__form input[type="submit"],
.form-page__form button[type="submit"] {
	display: inline-block;
	min-width: 220px;
	padding: 16px 30px;
	border: 0;
	background: var(--c-brown);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .1em;
	cursor: pointer;
}
.form-page__form input[type="submit"]:hover,
.form-page__form button[type="submit"]:hover { background: var(--c-brown-dark); }
.wpcf7-list-item { margin: 0 16px 0 0; }


/* 自作フォーム */
.ishida-form__row { margin-bottom: 26px; }
.ishida-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ishida-form__label { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.ishida-form .req { color: #b4442c; margin-left: 2px; }
.ishida-form__choices { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ishida-form__choices label,
.ishida-form__agree label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.ishida-form input[type="radio"],
.ishida-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-brown); margin: 0; }
.ishida-form__datetime { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ishida-form__agree a { color: var(--c-brown); text-decoration: underline; }
.ishida-form__alert { background: #fff; border-left: 4px solid #b4442c; padding: 12px 16px; font-weight: 700; color: #b4442c; }
.ishida-form__error { color: #b4442c; font-size: 13px; font-weight: 700; margin: 6px 0 0; }
.has-error input:not([type="radio"]):not([type="checkbox"]),
.has-error textarea,
.has-error select { border-color: #b4442c !important; }
.ishida-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ishida-form__submit { text-align: center; margin: 36px 0 0; }
.ishida-form__done { background: #fff; padding: 40px 30px; text-align: center; }
.ishida-form__done-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
@media (max-width: 767px) { .ishida-form__datetime { grid-template-columns: 1fr; } }


/* オーダー収納 */
.storage-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: start; margin-bottom: 20px; }
.storage-row--intro { margin-bottom: 60px; }
.storage-row__img img { display: block; width: 100%; }
.storage-row__body { padding-top: 40px; font-size: 14px; font-weight: 700; line-height: 2; }
.storage__title { font-family: var(--f-base); font-size: 28px; line-height: 1.5; margin-bottom: 30px; }
.storage__title--small { font-size: 24px; margin-bottom: 20px; }
.storage-row__title { font-family: var(--f-en); font-size: 26px; margin-bottom: 16px; }
@media (max-width: 767px) {
	.storage-row { grid-template-columns: 1fr; margin-bottom: 50px; }
	.storage-row__body { padding-top: 0; }
	.storage-row__body br { display: none; }
	.storage__title { font-size: 22px; }
}


/* リフォーム */
.reform-ideas { columns: 3; column-gap: 20px; margin-top: 40px; }
.reform-idea { break-inside: avoid; margin-bottom: 50px; font-size: 13px; font-weight: 700; line-height: 1.9; }
.reform-idea img { display: block; width: 100%; margin-bottom: 26px; }
.reform-idea__title { font-family: var(--f-base); font-size: 19px; margin-bottom: 12px; }
.reform-text { margin-top: 90px; font-size: 14px; font-weight: 700; line-height: 2; }
.reform-text .sub-title { margin-bottom: 24px; }
.reform-text__h3 { font-family: var(--f-base); font-size: 19px; margin: 36px 0 10px; }
.reform-merit { margin-top: 90px; }
.reform-merit .greeting__title { line-height: 1.5; }
.consult-box { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 110px; padding: 60px 50px; background: var(--c-bg-light); }
.consult-box__title { font-family: var(--f-base); font-size: 24px; margin-bottom: 18px; }
.consult-box__text { font-size: 14px; font-weight: 700; line-height: 2; }
.consult-box__action { text-align: center; }
.consult-box__tel { display: block; font-family: var(--f-en); font-size: 28px; font-weight: 700; line-height: 1.2; }
.consult-box__hours { font-family: var(--f-en); font-size: 12px; font-weight: 700; margin: 4px 0 18px; }
.consult-box__btn { min-width: 220px; padding: 16px 24px; }
@media (max-width: 1023px) { .reform-ideas { columns: 2; } }
@media (max-width: 767px) {
	.reform-ideas { columns: 1; }
	.reform-text { margin-top: 60px; }
	.consult-box { grid-template-columns: 1fr; padding: 40px 24px; margin-left: -20px; margin-right: -20px; }
}


/* リフォームLP */
.sp-only { display: none; }
.lp-hero {
	position: relative;
	margin: 0 10px;
	background-size: cover;
	background-position: center;
	color: #fff;
}
.lp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 24, 20, .72) 0%, rgba(30, 24, 20, .45) 55%, rgba(30, 24, 20, .1) 100%); }
.lp-hero__inner { position: relative; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 110px 20px 100px; }
.lp-hero__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; border-bottom: 1px solid rgba(255, 255, 255, .7); padding-bottom: 4px; margin-bottom: 22px; }
.lp-hero__title { font-family: var(--f-base); color: #fff; font-size: 40px; line-height: 1.5; letter-spacing: .04em; margin-bottom: 22px; }
.lp-hero__lead { font-size: 15px; font-weight: 700; line-height: 2; margin-bottom: 30px; }
.lp-hero__points { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-bottom: 36px; }
.lp-hero__points li { background: rgba(255, 255, 255, .92); color: var(--c-head); padding: 12px 18px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.lp-hero__points strong { display: block; font-size: 20px; color: var(--c-brown); }

.lp-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; min-width: 250px; min-height: 64px; padding: 10px 26px; font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; text-align: center; }
.lp-btn--main { background: var(--c-brown); color: #fff; }
.lp-btn--main:hover { background: var(--c-brown-dark); }
.lp-btn--tel { background: #fff; color: var(--c-head); border: 1px solid var(--c-head); font-family: var(--f-en); font-size: 22px; }
.lp-btn--tel span { font-family: var(--f-base); font-size: 11px; letter-spacing: .08em; }
.lp-btn--tel:hover { background: var(--c-head); color: #fff; }
.lp-btn--light { border-color: #fff; }
.lp-cta { margin: 20px 0 0; padding: 50px 30px; background: var(--c-bg-light); text-align: center; }
.lp-cta .lp-cta__btns { justify-content: center; }
.lp-cta__lead { font-size: 16px; font-weight: 700; margin-bottom: 24px; }
.lp-cta__note { font-size: 12px; color: #666; margin-top: 12px; }

.lp-intro { max-width: 760px; margin: 90px auto 0; text-align: center; font-size: 15px; font-weight: 700; line-height: 2.1; }
.lp-intro__imagine { margin: 1.6em 0; }

.lp-sec { margin-top: 120px; }
.lp-sec__en { font-family: var(--f-en); font-size: 14px; font-weight: 700; color: var(--c-brown); letter-spacing: .1em; margin-bottom: 6px; text-align: center; }
.lp-sec__title { font-family: var(--f-base); font-size: 30px; text-align: center; margin-bottom: 50px; line-height: 1.5; }

.lp-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.lp-reason { position: relative; background: #fff; border: 1px solid var(--c-line); padding: 46px 28px 32px; font-size: 14px; font-weight: 500; line-height: 1.95; }
.lp-reason__num { position: absolute; top: -18px; left: 24px; background: var(--c-brown); color: #fff; font-family: var(--f-en); font-size: 18px; font-weight: 700; padding: 4px 12px; }
.lp-reason__title { font-family: var(--f-base); font-size: 19px; line-height: 1.6; margin-bottom: 16px; }

.lp-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; list-style: none; counter-reset: none; }
.lp-step { position: relative; background: var(--c-bg-light); padding: 26px 18px; font-size: 13px; line-height: 1.85; }
.lp-step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 0; height: 0; border-left: 8px solid var(--c-brown); border-top: 8px solid transparent; border-bottom: 8px solid transparent; transform: translateY(-50%); z-index: 1; }
.lp-step__num { display: block; font-family: var(--f-en); font-size: 12px; font-weight: 700; color: var(--c-brown); letter-spacing: .08em; }
.lp-step__title { font-family: var(--f-base); font-size: 16px; margin: 6px 0 10px; }

.lp-faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.lp-faq__item { border-bottom: 1px solid var(--c-line); }
.lp-faq__item summary { display: flex; align-items: center; gap: 14px; padding: 20px 40px 20px 6px; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after { content: "+"; position: absolute; right: 10px; font-size: 22px; font-weight: 400; color: var(--c-brown); }
.lp-faq__item[open] summary::after { content: "−"; }
.lp-faq__q { flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: var(--c-head); color: #fff; font-family: var(--f-en); font-size: 15px; }
.lp-faq__q--a { background: var(--c-brown); }
.lp-faq__a { display: flex; gap: 14px; padding: 0 6px 22px; font-size: 14px; line-height: 1.95; }
.lp-faq__a p { padding-top: 4px; }
.lp-subsidy { max-width: 880px; margin: 24px auto 0; font-size: 13px; }

.reform-lp .reform-merit { margin-top: 120px; }
.reform-lp .reform-ideas { margin-top: 0; }

.lp-fixed { display: none; }

@media (max-width: 1023px) {
	.lp-reasons { grid-template-columns: 1fr; gap: 34px; }
	.lp-steps { grid-template-columns: 1fr; }
	.lp-step:not(:last-child)::after { right: 50%; top: auto; bottom: -12px; transform: translateX(50%) rotate(90deg); }
}
@media (max-width: 767px) {
	.sp-only { display: inline; }
	.lp-hero { margin: 0; }
	.lp-hero::before { background: rgba(30, 24, 20, .6); }
	.lp-hero__inner { padding: 60px 20px 50px; }
	.lp-hero__title { font-size: 25px; }
	.lp-hero__lead { font-size: 13px; }
	.lp-hero__lead br { display: none; }
	.lp-hero__points { gap: 8px; }
	.lp-hero__points li { flex: 1 1 30%; padding: 10px; font-size: 11px; text-align: center; }
	.lp-hero__points strong { font-size: 16px; }
	.lp-btn { width: 100%; min-width: 0; }
	.lp-cta { margin-left: -20px; margin-right: -20px; padding: 40px 20px; }
	.lp-intro { text-align: left; margin-top: 60px; font-size: 14px; }
	.lp-intro br { display: none; }
	.lp-sec { margin-top: 80px; }
	.lp-sec__title { font-size: 23px; margin-bottom: 36px; }
	.lp-faq__item summary { font-size: 14px; }
	.reform-lp .reform-merit { margin-top: 80px; }

	.lp-fixed {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		display: grid; grid-template-columns: 1fr 1.4fr;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
		padding-bottom: env(safe-area-inset-bottom);
		background: #fff;
	}
	.lp-fixed a { display: grid; place-items: center; height: 56px; font-size: 15px; font-weight: 700; }
	.lp-fixed__tel { background: #fff; color: var(--c-head); }
	.lp-fixed__main { background: var(--c-brown); color: #fff; }
	body:has(.lp-fixed) { padding-bottom: 56px; }
	body:has(.lp-fixed) .pagetop { bottom: 72px; }
}


/* 施工事例の詳細 */
.wd-hero { margin-bottom: 60px; }
.wd-hero img { display: block; width: 100%; max-height: 780px; object-fit: cover; }
.wd-overview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.wd-catch { font-size: 24px; font-weight: 700; color: var(--c-head); line-height: 1.6; margin-bottom: 18px; }
.wd-overview .tag-list { margin-bottom: 36px; }
.wd-label { font-family: var(--f-en); font-size: 13px; font-weight: 700; color: var(--c-brown); letter-spacing: .1em; margin-bottom: 4px; }
.wd-h2 { font-family: var(--f-base); font-size: 24px; margin-bottom: 24px; }
.wd-bg { font-size: 15px; font-weight: 500; line-height: 2.1; }
.wd-spec { background: var(--c-bg-light); padding: 30px 28px; }
.wd-spec__title { font-size: 15px; font-weight: 700; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--c-head); }
.wd-spec dl { margin: 0; }
.wd-spec dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid #d9d9d9; font-size: 14px; line-height: 1.7; }
.wd-spec dt { color: #666; font-weight: 700; }
.wd-spec dd { margin: 0; font-weight: 700; }
.wd-sec { margin-top: 110px; }

/* こだわりポイント：メディアとテキストを左右交互に */
.wd-content { font-size: 15px; line-height: 2; }
.wd-content > * + * { margin-top: 0; }
.wd-content .wp-block-media-text { display: grid; grid-template-columns: 55% 1fr; gap: 0 50px; align-items: center; margin: 0 0 70px; }
.wd-content .wp-block-media-text .wp-block-media-text__media { grid-column: 1; grid-row: 1; margin: 0; }
.wd-content .wp-block-media-text .wp-block-media-text__content { grid-column: 2; grid-row: 1; padding: 0; }
.wd-content .wp-block-media-text:nth-of-type(even) { grid-template-columns: 1fr 55%; }
.wd-content .wp-block-media-text:nth-of-type(even) .wp-block-media-text__media { grid-column: 2; }
.wd-content .wp-block-media-text:nth-of-type(even) .wp-block-media-text__content { grid-column: 1; }
.wd-content .wp-block-media-text img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.wd-content .wp-block-media-text h3 { font-family: var(--f-base); font-size: 20px; line-height: 1.6; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.wd-content .wp-block-media-text p { font-size: 14px; font-weight: 500; line-height: 2.1; margin: 0; }
.wd-content > h2,
.wd-content > .wp-block-heading { font-family: var(--f-base); font-size: 20px; margin: 60px 0 20px; }
.wd-content > p { margin: 0 0 1.4em; }

/* ギャラリー */
.wd-content .wp-block-gallery { margin-top: 40px; gap: 10px; }
.wd-content .wp-block-gallery.has-nested-images.columns-3 > figure.wp-block-image { width: calc((100% - 20px) / 3) !important; flex-grow: 0 !important; margin: 0 !important; }
.wd-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image img { aspect-ratio: 1 / 1; object-fit: cover; height: 100% !important; }
.wd-content .wd-gallery-title { font-family: var(--f-en); font-size: 13px; color: var(--c-brown); letter-spacing: .1em; margin: 90px 0 16px; }
.wd-content > .wp-block-heading:not(.wd-gallery-title) { margin-top: 50px; }

/* ビフォー */
.wd-before__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wd-before__grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* お客様の声 */
.wd-voice blockquote { position: relative; margin: 0; padding: 40px 50px; background: #f7f3ef; font-size: 15px; line-height: 2.1; }
.wd-voice blockquote::before { content: "“"; position: absolute; left: 18px; top: -6px; font-family: Georgia, serif; font-size: 70px; color: var(--c-brown); line-height: 1; }
.wd-voice cite { display: block; text-align: right; font-style: normal; font-weight: 700; margin-top: 12px; }

/* 前後の事例 */
.wd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 110px; }
.wd-nav__item { display: grid; grid-template-columns: 140px 1fr; grid-template-rows: auto 1fr; gap: 4px 16px; align-items: start; padding: 14px; border: 1px solid var(--c-line); }
.wd-nav__item img { grid-row: 1 / 3; width: 140px; aspect-ratio: 3 / 2; object-fit: cover; }
.wd-nav__dir { font-size: 12px; color: var(--c-brown); font-weight: 700; }
.wd-nav__title { font-weight: 700; }
.wd-nav__item:hover { border-color: var(--c-head); }
.wd-cta { margin-top: 70px; }

@media (max-width: 1023px) {
	.wd-overview { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
	.wd-hero { margin: 0 -20px 40px; padding: 0; }
	.wd-catch { font-size: 20px; }
	.wd-sec { margin-top: 70px; }
	.wd-content .wp-block-media-text,
	.wd-content .wp-block-media-text:nth-of-type(even) { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
	.wd-content .wp-block-media-text .wp-block-media-text__media,
	.wd-content .wp-block-media-text:nth-of-type(even) .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
	.wd-content .wp-block-media-text .wp-block-media-text__content,
	.wd-content .wp-block-media-text:nth-of-type(even) .wp-block-media-text__content { grid-column: 1; grid-row: 2; }
	.wd-content .wp-block-gallery.has-nested-images.columns-3 > figure.wp-block-image { width: calc((100% - 10px) / 2) !important; }
	.wd-before__grid { grid-template-columns: 1fr 1fr; }
	.wd-voice blockquote { padding: 34px 22px 24px; }
	.wd-nav { grid-template-columns: 1fr; }
	.wd-nav__item { grid-template-columns: 100px 1fr; }
	.wd-nav__item img { width: 100px; }
}


/* 新築LP・トップの導線 */
.lp-intro__title { font-family: var(--f-base); font-size: 26px; margin-bottom: 26px; }
.lp-sec__en--left { text-align: left; }
.lp-values-wrap { margin-top: 120px; padding: 90px 0; background: #f7f3ef; }
.lp-values { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.lp-values__img img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.lp-values__title { font-family: var(--f-base); font-size: 28px; margin-bottom: 26px; }
.lp-values__list { margin: 0; }
.lp-values__list > div { padding: 16px 0; border-bottom: 1px solid #e0d6cc; }
.lp-values__list dt { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lp-values__list dt::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--c-brown); margin-right: 10px; vertical-align: middle; }
.lp-values__list dd { margin: 0; font-size: 14px; line-height: 1.9; }
.lp-steps--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.intro__links { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin-top: 10px; }
.intro__links a { display: flex; flex-direction: column; min-width: 280px; padding: 18px 54px 18px 24px; border: 1px solid var(--c-head); font-size: 16px; font-weight: 700; position: relative; }
.intro__links a span { font-family: var(--f-en); font-size: 12px; color: var(--c-brown); letter-spacing: .08em; }
.intro__links a::after { content: "›"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; }
.intro__links a:hover { background: var(--c-head); color: #fff; }
.intro__links a:hover span { color: #fff; }
.footer-links ul { flex-wrap: wrap; }
@media (max-width: 1023px) {
	.lp-values { grid-template-columns: 1fr; }
	.lp-steps--6 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.lp-values-wrap { margin-top: 80px; padding: 60px 0; }
	.lp-values__title { font-size: 22px; }
	.intro__links a { min-width: 0; width: 100%; }
	.intro__links li { width: 100%; }
}


/* 補助金の受付状況バッジ */
.hojo-badge { display: inline-block; vertical-align: middle; font-family: var(--f-base); font-size: 12px; font-weight: 700; line-height: 1.5; padding: 1px 8px; margin: 0 8px 0 6px; border-radius: 3px; color: #fff; white-space: nowrap; }
.hojo-badge--open { background: #3f8a5f; }
.hojo-badge--end { background: #8a8a8a; }
.hojo-badge--check { background: #c9822b; }
li > .hojo-badge:first-child { margin-left: 0; }
.entry-content .hojo-note { background: var(--c-bg-light); padding: 14px 18px; font-size: 13px; line-height: 2.2; }
.entry-content .hojo-note .hojo-badge { margin-left: 0; }


/* サイトマップ */
.sitemap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; align-items: start; }
.sitemap__title { font-family: var(--f-base); font-size: 18px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--c-head); }
.sitemap__title--mt { margin-top: 50px; }
.sitemap__sub { font-family: var(--f-base); font-size: 15px; margin: 22px 0 8px; color: var(--c-brown); }
.sitemap ul { list-style: none; }
.sitemap li { border-bottom: 1px solid #ececec; }
.sitemap li a { display: block; padding: 9px 0 9px 16px; font-size: 14px; position: relative; }
.sitemap li a::before { content: "›"; position: absolute; left: 2px; color: var(--c-brown); }
.sitemap a:hover { color: var(--c-brown); }
.sitemap__more { margin-top: 12px; font-size: 13px; }
@media (max-width: 1023px) { .sitemap__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .sitemap__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ==============================================================
   レスポンシブ
   ============================================================== */
@media (max-width: 1100px) {
	.gnav__list { gap: 18px; }
	.gnav__list a, .gnav__cta { font-size: 14px; }
}

@media (max-width: 1023px) {
	:root { --header-h: 70px; --sec-space: 90px; }
	.site-logo img { width: 130px; }
	.menu-toggle { display: block; z-index: 2; }
	.gnav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		flex-direction: column;
		justify-content: flex-start;
		gap: 30px;
		padding: 40px 30px;
		background: #fff;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
	}
	.admin-bar .gnav { top: calc(var(--header-h) + 46px); }
	.is-menu-open .gnav { opacity: 1; visibility: visible; }
	.is-menu-open { overflow: hidden; }
	.gnav__list { flex-direction: column; align-items: center; gap: 24px; }
	.gnav__list a { font-size: 17px; }
	.gnav__cta { font-size: 16px; padding: 14px 30px; }
	.side-news { display: none; }

	.values__grid { grid-template-columns: 1fr; }
	.services__grid { grid-template-columns: 1fr; }
	.service-card { min-height: 0; }
	.flow-step { grid-template-columns: 220px 1fr; }
	.form-page { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.form-page__intro { position: static; padding: 0; }
	.works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 767px) {
	body { font-size: 14px; }
	.sec-title { font-size: 32px; }
	.banner__title { font-size: 30px; }
	.hero { min-height: 420px; height: 70svh; }
	.hero__title { font-size: 32px; }
	.intro__title { font-size: 24px; }
	.intro__text br,
	.greeting__body br { display: none; }
	.carousel__item { flex-basis: 100%; }
	.values { padding-top: 90px; }
	.values__title { font-size: 24px; }
	.post-grid { grid-template-columns: 1fr; gap: 50px; }
	.banners { padding-top: 90px; }
	.banners__grid { grid-template-columns: 1fr; gap: 60px; }
	.sns__grid { grid-template-columns: 1fr 1fr; }
	.sns__line { grid-column: 1 / -1; }
	.footer-location { grid-template-columns: 1fr; }
	.footer-location__info { padding: 70px 24px 60px; }
	.footer-location__title { font-size: 34px; }
	.footer-bottom__row { flex-direction: column; align-items: flex-start; }
	.copyright { margin-top: 40px; }
	.page-head { padding-bottom: 40px; }
	.page-head__title { font-size: 24px; }
	.sub-title { font-size: 21px; margin-bottom: 30px; }
	.flow__lead { margin-bottom: 60px; }
	.flow-step { grid-template-columns: 1fr; }
	.flow-step__head { padding: 0 0 8px; }
	.flow-step__body { border-left: 0; border-top: 1px solid var(--c-dark); padding: 12px 0 0; }
	.greeting { grid-template-columns: 1fr; padding: 40px 24px; gap: 20px; }
	.info-table th, .info-table td { display: block; width: 100%; }
	.info-table th { background: var(--c-bg-light); border-bottom: 0; padding: 10px 14px; }
	.info-table td { padding: 14px; }
	.form-page__form { padding: 24px 18px; margin: 0 -20px; }
	.works-grid { gap: 8px; }
	.works-card__title { font-size: 14px; }
	.works-grid { row-gap: 24px; }
	.works-tags { justify-content: flex-start; }
	.works-tags__label { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; }
}
