/*
Theme Name: View House Daiken
Theme URI: https://view-house.jp/
Author: PROVISYS
Description: 大賢建設株式会社（ダイケンの家／view-house.jp）専用テーマ。今のサイトと同じデザイン・内容を、Lightning・VK Blocks に頼らず表示します。施工実績・分譲情報を1件ずつ入力欄で管理（販売状況・価格・区画表・写真ギャラリー）、お知らせの簡単投稿、検索・AI検索向けの構造化データと llms.txt に対応。
Version: 1.3.6
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: viewhouse
*/

:root {
	--maroon: #480b12;
	--maroon-2: #6a1720;
	--teal: #3c8b86;
	--teal-dark: #306f6b;
	--brown: #573c3c;
	--orange: #e26900;
	--gray: #7f7f7f;
	--pale: #f2fbf7;
	--ink: #333;
	--sub: #777;
	--line: #e6e6e6;
	--wrap: 1110px;
	--sec: clamp(64px, 7vw, 104px);
	--ease: cubic-bezier(.22, .8, .3, 1);
	--sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--en: "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .04em; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:hover { color: var(--maroon); }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.55; letter-spacing: .06em; }
:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip-path: none; padding: 10px 16px; background: #fff; color: #000; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-left: auto; margin-right: auto; }
.wrap--narrow { width: min(900px, 100% - 40px); }
.ico { width: 1em; height: 1em; flex-shrink: 0; }
[id] { scroll-margin-top: 100px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 36px; border: 1px solid transparent; border-radius: 26px; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.btn .ico { width: 18px; height: 18px; }
.btn--maroon { min-width: 288px; background: var(--maroon); color: #fff; box-shadow: 0 4px 12px rgba(72, 11, 18, .25); }
.btn--maroon:hover { background: var(--maroon-2); color: #fff; transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--brown { background: var(--brown); color: #fff; box-shadow: 0 4px 12px rgba(87, 60, 60, .25); }
.btn--brown:hover { background: #3f2a2a; color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; padding: 8px 28px; min-height: 40px; }
.btn--ghost:hover { background: #fff; color: var(--maroon); }
.btn--line { border-color: var(--brown); color: var(--brown); background: #fff; }
.btn--line:hover { background: var(--brown); color: #fff; }
.btn--sm { min-height: 36px; padding: 6px 22px; font-size: 13px; min-width: 0; }
.btn--lg { min-height: 60px; width: 100%; font-size: 19px; border-radius: 30px; }
.more { margin: 48px 0 0; text-align: center; }

/* ---------- notice bar ---------- */
.notice-bar { position: relative; z-index: 70; background: #b3261e; color: #fff; }
.notice-bar ul { margin: 0; padding: 0; list-style: none; }
.notice-bar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 10px 20px; color: #fff; font-weight: 700; line-height: 1.5; text-decoration: none; }
.notice-bar .ico { width: 20px; height: 20px; }
.notice-bar__label { padding: 0 10px; border: 1px solid #fff; border-radius: 3px; font-size: 13px; }
.notice-bar__more { font-size: 13px; font-weight: 400; text-decoration: underline; }

/* ---------- header ---------- */
.header-top { background: var(--maroon); color: #fff; }
.header-top p { margin: 0 auto; padding: 9px 0; font-size: 12px; line-height: 1.6; text-align: center; letter-spacing: .04em; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.site-header__logo { margin: 0; line-height: 0; }
.site-header__logo img { width: 208px; height: auto; }
.gnav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.gnav__link { position: relative; display: block; padding: 14px 18px; color: var(--ink); font-family: var(--serif); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; white-space: nowrap; text-decoration: none; transition: color .25s; }
.gnav__link::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnav__link:hover, .gnav__item.is-current .gnav__link { color: var(--maroon); }
.gnav__link:hover::after, .gnav__item.is-current .gnav__link::after { transform: scaleX(1); }

/* ---------- top: slider ---------- */
.hero { position: relative; overflow: hidden; background: #ddd; }
.hero__track { position: relative; height: clamp(260px, 41.7vw, 640px); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; overflow: hidden; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__nav { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background .25s; }
.hero__nav:hover { background: rgba(0, 0, 0, .7); }
.hero__nav .ico { width: 22px; height: 22px; }
.hero__nav--prev { left: 10px; }
.hero__nav--next { right: 10px; }

/* intro (H1) */
.intro { padding: clamp(48px, 5vw, 72px) 0 0; text-align: center; }
.intro__title { margin: 0 0 18px; color: var(--maroon); font-size: clamp(20px, 2vw, 26px); }
.intro__text { margin: 0; text-align: justify; text-justify: inter-character; line-break: strict; word-break: auto-phrase; }
.intro__text .nw { white-space: nowrap; }
@media (max-width: 480px) { .intro__text .nw { white-space: normal; } }

/* sections & headings */
.sec { padding: var(--sec) 0; }
.sec--works + .sec--works { padding-top: 0; }
.sec--features { padding-top: clamp(48px, 5vw, 72px); padding-bottom: 0; }
.sec--works, .sec--lands { position: relative; }
.sec--works::before, .sec--lands::before { content: ""; display: block; height: 40px; margin: calc(-1 * var(--sec)) 0 var(--sec); background: var(--pale); }
.sec--works + .sec--works::before { margin-top: 0; }
.sec--faq { background: var(--pale); }
.sec-h { margin: 0 0 48px; font-size: clamp(22px, 1.9vw, 26px); font-weight: 400; text-align: center; }
.sec-h__en { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 10px; font-family: var(--en); font-size: 16px; font-weight: 400; letter-spacing: .1em; }
.sec-h__en::before, .sec-h__en::after { content: ""; width: 50px; height: 1px; background: currentColor; }
.sec-h--left { text-align: left; padding-left: 14px; border-left: 4px solid var(--maroon); font-size: 21px; font-weight: 700; margin-bottom: 20px; }
.sec-h--left .sec-h__en { display: none; }
.sec-h--light { color: #fff; }

/* news rows */
.nlist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.nrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 16px 24px; border-bottom: 1px solid var(--line); transition: background .25s; }
.nrow:hover { background: #fafafa; }
.nrow__date { flex-shrink: 0; color: var(--sub); font-size: 14px; }
.nrow__title { color: var(--ink); text-decoration: none; }
.nrow__title:hover { color: var(--maroon); text-decoration: underline; }
.nrow__imp { padding: 0 8px; border-radius: 3px; background: #b3261e; color: #fff; font-size: 12px; }

/* split blocks (こだわり / 理想) */
.split { display: grid; grid-template-columns: 1fr 1fr; height: clamp(420px, 34vw, 540px); background: var(--maroon); color: #fff; }
.split__text { align-self: center; justify-self: end; width: min(555px, 100%); padding: 40px 56px 40px 20px; }
.split--rev .split__text { order: 2; justify-self: start; padding: 40px 20px 40px 56px; }
.split__title { margin: 0 0 20px; font-size: 22px; font-weight: 400; color: #fff; }
.split p { font-size: 14px; line-height: 2; }
.split__img { position: relative; overflow: hidden; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__img img { transform: scale(1.04); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature__img { margin: 0 0 16px; aspect-ratio: 810 / 515; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__title { margin: 0 0 8px; font-size: 20px; font-weight: 400; }
.feature__text { font-size: 14px; line-height: 1.9; }
.feature__btn { margin: 0; text-align: right; }

/* cards (分譲情報・施工実績) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card__link { display: block; height: 100%; border-radius: 4px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.card__link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.card__thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f3f3; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__link:hover .card__img { transform: scale(1.05); }
.card__body { display: block; padding: 16px 20px 18px; }
.card__title { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.card__sum { display: block; margin-top: 4px; color: #555; font-size: 13px; line-height: 1.7; }
.card__date { display: block; margin-top: 4px; color: var(--sub); font-size: 12px; }
.badge { display: inline-block; padding: 2px 12px; border-radius: 3px; background: var(--teal); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; vertical-align: middle; }
.card__thumb .badge, .witem__thumb .badge { position: absolute; top: 10px; left: 10px; }
.badge--sale { background: #b3261e; }
.badge--nego { background: #c77700; }
.badge--sold { background: #666; }
.badge--prepar { background: var(--teal); }

/* faq */
.faq__item { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: box-shadow .25s; }
.faq__item:hover, .faq__item[open] { box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.faq__q { display: flex; gap: 14px; align-items: center; padding: 18px 22px; font-weight: 700; line-height: 1.6; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "＋"; margin-left: auto; padding-left: 8px; color: var(--maroon); font-weight: 400; transition: transform .3s var(--ease); }
.faq__item[open] .faq__q::after { content: "−"; transform: rotate(180deg); }
.faq__mark { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: #fff; font-size: 14px; line-height: 1; }
.faq__a { margin: 0; padding: 0 22px 20px 66px; font-size: 15px; line-height: 1.9; }

/* ---------- inner pages ---------- */
.phead { position: relative; display: grid; place-items: center; min-height: clamp(150px, 18vw, 260px); padding: 24px 20px; overflow: hidden; color: #fff; text-align: center; }
.phead::before { content: ""; position: absolute; inset: -4%; background: var(--phead-bg) no-repeat 50% 50% / cover; }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .08), rgba(0, 0, 0, .22)); }
.phead__title { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; letter-spacing: .1em; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.crumb ol { display: flex; flex-wrap: wrap; margin: 0 auto; padding: 8px 0; list-style: none; color: var(--sub); font-size: 12px; line-height: 1.6; }
.crumb li + li::before { content: "/"; margin: 0 .6em; color: #aaa; }
.crumb a { color: var(--sub); text-decoration: none; }
.crumb a:hover { color: var(--maroon); text-decoration: underline; }
.page-body { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.page-body--kodawari, .page-body--risou { padding-top: clamp(32px, 4vw, 48px); }
.lead { margin: 0 0 40px; }
.lead--center { text-align: center; }
.wrap.lead { margin-left: auto; margin-right: auto; }
.note { margin: 12px 0 0; color: var(--sub); font-size: 13px; }
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.layout__main { min-width: 0; }

/* kodawari / risou blocks: image on one half (to the edge), text on the other */
.kblock { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin: 0 0 clamp(48px, 6vw, 88px); }
.kblock__img { overflow: hidden; }
.kblock__img img { width: 100%; height: auto; display: block; }
.kblock__img--big { align-self: stretch; }
.kblock__img--big img { height: 100%; min-height: 360px; object-fit: cover; }
.kblock__text { width: min(555px, 100%); padding: 24px 20px 24px 40px; }
.kblock--rev .kblock__img { order: 2; }
.kblock--rev .kblock__text { justify-self: end; padding: 24px 40px 24px 20px; }
.kblock:not(.kblock--rev) .kblock__img:not(.kblock__img--big) { justify-self: end; width: min(555px, 100%); padding-right: 0; }
.kblock--rev .kblock__img:not(.kblock__img--big) { width: min(555px, 100%); }
.kblock__title { margin: 0 0 24px; font-size: 22px; font-weight: 700; }
.kblock__title--line { padding-top: 20px; border-top: 1px solid #ccc; }
.kblock__en { display: block; margin-top: 2px; font-family: var(--en); font-size: 12px; font-weight: 400; color: var(--sub); letter-spacing: .06em; }
.kblock__h3 { margin: 1.4em 0 .6em; font-size: 19px; }
.kblock__text p { font-size: 15px; line-height: 2; }
.dots { margin: 0 0 1em; padding: 0; list-style: none; }
.dots li::before { content: "・"; }
.merits dt { font-weight: 700; margin-top: .6em; }
.merits dd { margin: 0; font-size: 15px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.thumbs li { aspect-ratio: 3 / 2; overflow: hidden; }
.thumbs a { display: block; height: 100%; cursor: zoom-in; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.thumbs a:hover img { transform: scale(1.06); opacity: .9; }

/* interview */
.interview { padding: clamp(32px, 4vw, 56px) 0 0; }
.ivrow { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 0 0 56px; }
.ivrow--rev .ivrow__img { order: 2; }
.ivrow__img { margin: 0; overflow: hidden; }
.ivrow__img img { width: 100%; transition: transform 1s var(--ease); }
.ivrow:hover .ivrow__img img { transform: scale(1.03); }
.ivrow__title { margin: 0 0 16px; font-size: 22px; font-weight: 400; }
.ivrow__text p { font-size: 14px; line-height: 2.05; }

/* company */
.company-catch { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.6; text-align: center; }
.anchors { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; list-style: none; }
.anchors a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 244px; min-height: 64px; padding: 8px; border-radius: 32px; background: var(--maroon); color: #fff; font-family: var(--serif); font-weight: 700; line-height: 1.5; text-decoration: none; box-shadow: 0 4px 12px rgba(72, 11, 18, .25); transition: transform .25s var(--ease), background .25s; }
.anchors a:hover { transform: translateY(-2px); background: var(--maroon-2); color: #fff; }
.anchors span { font-family: var(--en); font-size: 11px; font-weight: 400; letter-spacing: .08em; }
.band { padding: var(--sec) 0; background: linear-gradient(#f5f5f5 0, #f5f5f5 45%, #fff 45%); }
.band--white { background: linear-gradient(#f5f5f5 0, #f5f5f5 35%, #fff 35%); }
.band__box { padding: clamp(20px, 3vw, 40px); background: #fff; box-shadow: 0 2px 16px rgba(0, 0, 0, .04); }
.greeting { display: grid; grid-template-columns: 1fr 42%; gap: 0; align-items: stretch; background: #fff; box-shadow: 0 2px 16px rgba(0, 0, 0, .04); }
.greeting__body { padding: clamp(24px, 4vw, 48px); }
.greeting__title { margin: 24px 0 20px; font-size: 22px; font-weight: 400; }
.greeting__body p { font-size: 14px; line-height: 2.05; }
.greeting__sign { margin-top: 2em; text-align: right; }
.greeting__img { margin: 0; }
.greeting__img img { width: 100%; height: 100%; object-fit: cover; }
.map { position: relative; aspect-ratio: 16 / 7; background: #eee; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.access-adr { margin: 16px 0 0; font-size: 14px; }

/* tables */
.tbl-wrap { overflow-x: auto; }
.tbl, .tbl-lots { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid #fff; }
.tbl th { width: 26%; font-weight: 400; white-space: nowrap; }
.tbl--striped tr:nth-child(odd) { background: #f2f2f2; }
.tbl--spec { border-top: 2px solid var(--maroon); }
.tbl--spec th { background: #f6f1f1; color: var(--maroon); font-weight: 700; border-bottom: 1px solid #eadfdf; }
.tbl--spec td { border-bottom: 1px solid var(--line); }
.tbl-lots { text-align: center; }
.tbl-lots thead th { padding: 12px; background: #f2f2f2; font-weight: 500; font-size: 14px; }
.tbl-lots td, .tbl-lots tbody th { padding: 12px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 400; }
.tbl-lots tbody tr:nth-child(even) { background: #f7f7f7; }
.tbl-lots tr.is-sold { color: #999; }
.lot-sold { display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: #c62828; color: #fff; font-size: 14px; line-height: 32px; font-weight: 700; }
.lot-nego { display: inline-block; padding: 0 8px; border-radius: 3px; background: #c77700; color: #fff; font-size: 12px; vertical-align: middle; }

/* work (single) */
.work__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 4px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; }
.work__date { margin: 0 0 24px; color: var(--sub); font-size: 13px; }
.work__date .badge { margin-left: 10px; }
.work__h { margin: 40px 0 16px; padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 21px; font-weight: 400; text-align: center; }
.work__text { margin-top: 24px; }
.work__points { margin-top: 24px; padding: 18px 22px; background: #faf6f6; border-left: 4px solid var(--maroon); }
.gallery__main { position: relative; display: block; overflow: hidden; background: #f3f3f3; cursor: zoom-in; }
.gallery__main img { width: 100%; max-height: 640px; object-fit: contain; transition: opacity .35s; }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; }
.gallery__zoom .ico { width: 22px; height: 22px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.gallery__thumbs a { display: block; aspect-ratio: 1; overflow: hidden; opacity: .65; outline-offset: -3px; transition: opacity .25s; }
.gallery__thumbs a.is-current, .gallery__thumbs a:hover { opacity: 1; }
.gallery__thumbs a.is-current { outline: 3px solid var(--maroon); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.work-cta { margin: 48px 0 0; padding: 28px; border-radius: 12px; background: #f7f3f3; text-align: center; }
.work-cta__text { margin: 0 0 16px; font-weight: 700; }
.work-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin: 0; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.pager__next { text-align: right; }
.pager__list { padding: 6px 20px; border-radius: 20px; background: var(--teal); color: #fff !important; text-decoration: none; }

/* lists */
.wlist { border-top: 1px solid var(--line); }
.witem { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.witem__thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.witem__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.witem:hover .witem__thumb img { transform: scale(1.05); }
.witem__title { margin: 0; font-size: 19px; font-weight: 400; }
.witem__title a { color: var(--ink); text-decoration: none; }
.witem__title a:hover { color: var(--maroon); text-decoration: underline; }
.witem__date { margin: 2px 0 8px; color: var(--sub); font-size: 12px; }
.witem__sum { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--maroon); }
.witem__text { margin: 0 0 8px; color: #555; font-size: 14px; line-height: 1.8; }
.witem__more { margin: 0; text-align: right; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* sidebar */
.side__search { display: flex; gap: 8px; margin: 0 0 32px; }
.side__search input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #ccc; border-radius: 3px; font: 14px var(--sans); }
.side__search button { width: 52px; border: 0; border-radius: 3px; background: var(--teal); color: #fff; cursor: pointer; }
.side__search .ico { width: 18px; height: 18px; }
.side__title { margin: 0 0 8px; font-size: 16px; font-weight: 400; }
.side__list { margin: 0; padding: 0; list-style: none; }
.side__list a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.side__list a:hover .side__name { color: var(--maroon); text-decoration: underline; }
.side__thumb { display: block; width: 64px; height: 48px; overflow: hidden; }
.side__thumb img { width: 100%; height: 100%; object-fit: cover; }
.side__text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.6; }
.side__text time { color: var(--sub); font-size: 12px; }

/* contact */
.contact-lead p { font-size: 15px; }
.contact-tel { margin: 20px 0 4px !important; font-family: var(--en); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.3; }
.contact-tel a { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); text-decoration: none; }
.contact-tel .ico { width: .8em; height: .8em; }
.contact-hours { color: var(--sub); font-size: 14px; }
.contact-lead + .sec-h { margin-top: 56px; }
.form-box { padding: clamp(20px, 4vw, 48px); border-radius: 8px; background: #f7f7f7; margin-bottom: 24px; }
.form-box .wpcf7-form-control-wrap { display: block; }
.form-box input[type="text"], .form-box input[type="tel"], .form-box input[type="email"], .form-box select, .form-box textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; font: 16px/1.6 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form-box select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23573c3c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.form-box input::placeholder, .form-box textarea::placeholder { color: #9a9a9a; }
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(60, 139, 134, .18); outline: none; }
.form-box textarea { min-height: 200px; }
.form-box [aria-invalid="true"] { border-color: #c62828 !important; }
/* 送信までの流れ（入力 → 確認 → 送信完了） */
.form-steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: st; }
.form-steps li { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px; border-radius: 999px; background: #eee; color: var(--sub); font-size: 14px; font-weight: 700; counter-increment: st; }
.form-steps li::before { content: counter(st); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--sub); font: 700 13px var(--en); }
.form-steps li.is-current { background: var(--brown); color: #fff; }
.form-steps li.is-current::before { color: var(--brown); }
/* 項目のまとまり */
.cf-group { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.cf-group__title { display: block; width: 100%; margin: 0 0 4px; padding: 0 0 10px; border-bottom: 2px solid var(--brown); color: var(--brown); font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.cf-row { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid #e3e3e3; }
.cf-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-top: 11px; font-size: 15px; font-weight: 700; }
.cf-req, .cf-opt { flex: none; display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1.7; }
.cf-req { background: #b3261e; color: #fff; }
.cf-opt { background: #e0e0e0; color: #555; }
.cf-note { margin: 6px 0 0; color: var(--sub); font-size: 13px; }
.cf-field .wpcf7-checkbox, .cf-field .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 4px; }
.cf-field .wpcf7-list-item { margin: 0; }
.cf-field .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #ccc; border-radius: 4px; background: #fff; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.cf-field .wpcf7-list-item label:has(input:checked) { border-color: var(--teal); background: #eef6f6; }
.cf-field input[type="checkbox"], .cf-field input[type="radio"], .cf-accept input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.cf-accept { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 24px; font-size: 15px; font-weight: 700; }
.cf-accept .wpcf7-list-item { margin: 0; }
.cf-accept label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.cf-accept .cf-err { flex-basis: 100%; text-align: center; }
.cf-err { margin: 6px 0 0; color: #b3261e; font-size: 13px; font-weight: 700; }
/* 確認画面 */
.cf-review { padding: 0 0 8px; outline: none; }
.cf-review__title { margin: 0 0 8px; color: var(--brown); font-size: 18px; }
.cf-review__lead { margin: 0 0 16px; font-size: 14px; }
.cf-review__list { display: grid; grid-template-columns: 15em minmax(0, 1fr); margin: 0 0 24px; border-top: 1px solid #ddd; background: #fff; }
.cf-review__list dt, .cf-review__list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid #ddd; }
.cf-review__list dt { background: #f2eeee; font-weight: 700; font-size: 14px; }
.cf-review__list dd { white-space: pre-wrap; overflow-wrap: anywhere; }
/* ボタン */
.cf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.cf-btn, .form-box input[type="submit"] { min-width: 240px; min-height: 52px; padding: 10px 32px; border: 0; border-radius: 26px; font: 700 16px var(--sans); letter-spacing: .08em; cursor: pointer; transition: background .25s, transform .25s; }
.cf-btn--confirm, .form-box input[type="submit"] { background: var(--brown); color: #fff; }
.cf-btn--confirm:hover, .form-box input[type="submit"]:hover { background: #3f2a2a; transform: translateY(-2px); }
.cf-btn--back { border: 1px solid var(--brown); background: #fff; color: var(--brown); }
.cf-btn--back:hover { background: #f2eeee; }
.cf-btn:focus-visible, .form-box input[type="submit"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.cf-js:not(.is-review) .cf-send, .cf-js.is-sent .cf-actions { display: none; }
.form-box .wpcf7-not-valid-tip { margin-top: 6px; color: #b3261e; font-size: 13px; font-weight: 700; }
.form-box .wpcf7-response-output { margin: 20px 0 0 !important; padding: 14px 16px !important; border-radius: 4px; font-size: 15px; font-weight: 700; }
.form-box .wpcf7 form.sent .wpcf7-response-output { border-color: var(--teal) !important; background: #eef6f6; color: var(--teal-dark); }
.form-box .wpcf7-spinner { display: none; }
.form-box form.submitting .cf-send { opacity: .6; pointer-events: none; }
.form-note { margin: 0 0 64px; color: var(--sub); font-size: 13px; text-align: center; }
@media (max-width: 767px) {
	.cf-row { grid-template-columns: 1fr; gap: 8px; }
	.cf-label { justify-content: flex-start; padding-top: 0; }
	.cf-review__list { grid-template-columns: 1fr; }
	.cf-review__list dt { padding-bottom: 6px; border-bottom: 0; }
	.form-steps li { padding: 6px 12px 6px 8px; font-size: 13px; }
	.cf-btn, .form-box input[type="submit"] { width: 100%; min-width: 0; }
}

/* entry content */
.entry-content h2 { margin: 2.2em 0 .8em; padding: 0 0 8px 14px; border-left: 4px solid var(--maroon); border-bottom: 1px solid var(--line); font-size: 20px; }
.entry-content h3 { margin: 1.6em 0 .6em; font-size: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content img { height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); }
.post-thumb img { width: 100%; max-width: 760px; }
.smap__desc { color: var(--sub); font-size: 13px; }
.arch-info { margin-top: 56px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.sec--info-latest::before { display: none; }
.sec--info-latest .lead { margin: 32px 0 0; }
.smap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }

/* ---------- footer ---------- */
.fcta { padding: clamp(56px, 6vw, 88px) 0 40px; background: var(--gray); color: #fff; }
.fcta .sec-h { margin-bottom: 56px; }
/* トップ：分譲情報（価格・面積が一目で分かるカード） */
.sec-lead { margin: -16px auto 40px; text-align: center; color: #555; }
.lands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.land__link { display: flex; flex-direction: column; height: 100%; border: 1px solid #e6e1de; border-radius: 6px; background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.land__link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(72, 11, 18, .12); }
.land__thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f3f3; }
.land__thumb .card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.land__link:hover .card__img { transform: scale(1.06); }
.land__thumb .badge { position: absolute; top: 12px; left: 12px; }
.land__place { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 28px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.land__place .ico { width: 15px; height: 15px; flex: none; }
.land__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.land__title { margin: 0 0 12px; font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.land__spec { display: block; border-top: 1px solid #eee; }
.land__row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #eee; }
.land__dt { color: var(--sub); font-size: 13px; }
.land__dd { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.land__price { color: var(--maroon); font-family: var(--en); font-size: 24px; line-height: 1.2; letter-spacing: .01em; }
.land__price small { margin-left: 1px; font-family: var(--sans); font-size: 13px; }
.land__note { display: block; color: var(--sub); font-size: 12px; font-weight: 400; }
.land__more { align-self: flex-end; margin-top: auto; padding-top: 14px; color: var(--teal-dark); font-size: 14px; font-weight: 700; }
.land__arrow { display: inline-block; margin-left: 6px; transition: transform .3s var(--ease); }
.land__link:hover .land__arrow { transform: translateX(4px); }
/* トップ：施工実績（写真を大きく見せるタイル） */
.sec--wtiles { padding-top: 0; }
.wtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wtile__link { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #ddd; color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.wtile__img, .wtile__img .card__img { display: block; width: 100%; height: 100%; }
.wtile__img .card__img { object-fit: cover; transition: transform 1s var(--ease); }
.wtile__link:hover .card__img { transform: scale(1.07); }
.wtile__cap { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 64px 20px 18px; background: linear-gradient(transparent, rgba(30, 10, 10, .78)); }
.wtile__place { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; font-size: 12px; letter-spacing: .08em; }
.wtile__title { margin: 0; color: #fff; font-family: var(--serif, inherit); font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.wtile__meta { display: block; margin-top: 2px; font-size: 13px; opacity: .9; }
.wtile__more { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 13px; font-weight: 700; transition: max-height .4s var(--ease), opacity .4s, margin .4s; }
.wtile__link:hover .wtile__more, .wtile__link:focus-visible .wtile__more { max-height: 24px; margin-top: 8px; opacity: 1; }
.wtile__link:hover, .wtile__link:focus { color: #fff; }
.wtile__link:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 960px) {
	.lands, .wtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.lands { grid-template-columns: 1fr; gap: 24px; }
	.wtiles { display: flex; gap: 14px; margin-right: -16px; padding: 0 16px 8px 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
	.wtile { flex: 0 0 78%; scroll-snap-align: start; }
	.wtile__more { max-height: 24px; margin-top: 8px; opacity: 1; }
	.sec-lead { margin-top: -8px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
	.land__link, .land__thumb .card__img, .wtile__img .card__img { transition: none; }
}
/* Contact Form 7 の非表示の項目（枠を表示しない） */
.wpcf7 .hidden-fields-container { display: none; margin: 0; padding: 0; border: 0; }

/* 分譲情報・施工実績の一覧（1カラム） */
.works-lead { max-width: 880px; margin: 0 auto 56px; }
.lrows, .srows { display: grid; gap: 40px; }
.lrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid #e6e1de; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .05); }
.lrow__photo { position: relative; display: block; min-height: 340px; overflow: hidden; background: #f3f3f3; }
.lrow__photo .card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lrow:hover .lrow__photo .card__img { transform: scale(1.04); }
.lrow__photo .badge { position: absolute; top: 14px; left: 14px; font-size: 14px; padding: 4px 14px; }
.lrow__body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.lrow__place { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--teal-dark); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.lrow__place .ico { width: 16px; height: 16px; }
.lrow__title { margin: 0 0 14px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 400; line-height: 1.5; }
.lrow__title a { color: var(--ink); text-decoration: none; }
.lrow__title a:hover { color: var(--maroon); }
.lrow__price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; color: var(--maroon); font-family: var(--en); font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.2; }
.lrow__price small { font-family: var(--sans); font-size: 15px; }
.lrow__label { padding: 2px 10px; border-radius: 3px; background: var(--maroon); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; align-self: center; }
.lrow__spec { margin: 0 0 16px; border-top: 1px solid #eee; font-size: 14px; }
.lrow__spec div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #eee; }
.lrow__spec dt { color: var(--sub); }
.lrow__spec dd { margin: 0; font-weight: 700; }
.lrow__spec small { display: block; color: var(--sub); font-size: 12px; font-weight: 400; }
.lrow__text { margin: 0 0 18px; color: #555; font-size: 14px; line-height: 1.9; }
.lrow__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; }
.lrow__date { margin: 12px 0 0; color: var(--sub); font-size: 12px; }

.srow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.srow:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.srow:nth-child(even) .srow__photo { order: 2; }
.srow__photo { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: #eee; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.srow__photo .card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.srow:hover .srow__photo .card__img { transform: scale(1.04); }
.srow__place { display: inline-block; margin: 0 0 10px; padding: 2px 12px; border: 1px solid var(--maroon); border-radius: 999px; color: var(--maroon); font-size: 13px; letter-spacing: .08em; }
.srow__title { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; letter-spacing: .08em; }
.srow__title a { color: var(--ink); text-decoration: none; }
.srow__title a:hover { color: var(--maroon); }
.srow__meta { margin: 0 0 10px; color: var(--sub); font-size: 14px; }
.srow__text { margin: 0 0 16px; color: #555; font-size: 14px; line-height: 1.9; }
.srow__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.srow__thumbs a { display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.srow__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.srow__thumbs a:hover img { transform: scale(1.08); }
.srow__btns { display: flex; align-items: center; gap: 16px; margin: 0; }
.srow__count { color: var(--sub); font-size: 13px; }
.arch-wrap { max-width: 880px; margin: 72px auto 0; }

/* 分譲情報・施工実績の1件（1カラム） */
.work-wrap { max-width: 980px; }
.work__title { justify-content: center; text-align: center; }
.work__date { text-align: center; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0 0 24px; padding: 0; list-style: none; border: 1px solid #e6e1de; border-radius: 8px; background: #fbf8f7; }
.keyfacts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-left: 1px solid #e6e1de; }
.keyfacts li:first-child { border-left: 0; }
.keyfacts__dt { color: var(--sub); font-size: 12px; letter-spacing: .08em; }
.keyfacts__dd { font-size: 15px; font-weight: 700; }
.keyfacts__price { color: var(--maroon); font-family: var(--en); font-size: 24px; line-height: 1.3; }
.keyfacts__price small { font-family: var(--sans); font-size: 13px; }
.work .gallery__main { aspect-ratio: 3 / 2; background: #f1eeec; }
.work .gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.work-more { margin-top: clamp(56px, 7vw, 96px); padding: clamp(56px, 6vw, 80px) 0; background: var(--pale); }

@media (max-width: 900px) {
	.lrow { grid-template-columns: 1fr; }
	.lrow__photo { min-height: 0; aspect-ratio: 4 / 3; }
	.srow, .srow:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
	.srow:nth-child(even) .srow__photo { order: 0; }
}
@media (max-width: 600px) {
	.lrow__spec div { grid-template-columns: 9em minmax(0, 1fr); }
	.lrow__spec dt { font-size: 13px; }
	.lrow__btns .btn { flex: 1 1 100%; }
	.keyfacts li { border-left: 0; border-top: 1px solid #e6e1de; }
	.keyfacts li:first-child { border-top: 0; }
	.work-more .wtiles { margin-right: -16px; }
}

/* 「ご相談ください」の背景：薪ストーブの炎の動画（全ページ。黒を50%重ねて文字を読みやすく） */
.fcta--video { position: relative; overflow: hidden; isolation: isolate; background: #1b1414; }
.fcta__bg { position: absolute; inset: 0; z-index: -1; }
.fcta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.fcta__poster, .fcta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.fcta__video { opacity: 0; transition: opacity 1s; }
.fcta__video.is-playing { opacity: 1; }
.fcta__box { padding: clamp(28px, 4vw, 64px) clamp(20px, 3.5vw, 48px); border-radius: 24px; background: #fff; color: var(--ink); }
.fcta__lead { margin: 0 0 24px; text-align: center; font-size: 15px; }
.fcta__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.fcta__tel { display: flex; align-items: center; gap: 24px; justify-content: center; }
.fcta__mark { width: 64px; height: auto; }
.fcta__num { margin: 0; font-family: var(--en); font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.fcta__num a { color: var(--orange); text-decoration: none; }
.fcta__hours { margin: 6px 0 0; font-size: 13px; }
.fcta__form { text-align: center; }
.fcta__form p { margin: 0; }
.fcta__note { margin-top: 10px !important; font-size: 13px; }
.fnav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; margin-top: 40px; font-family: var(--serif); font-size: 15px; }
.fnav__adr { font-style: normal; line-height: 2.3; }
.fnav ul { margin: 0; padding: 0; list-style: none; line-height: 2.3; }
.fnav a { color: #fff; text-decoration: none; transition: opacity .25s; }
.fnav a:hover { opacity: .75; text-decoration: underline; }
.site-footer { padding: 24px 20px; background: var(--orange); color: rgba(255, 255, 255, .9); text-align: center; }
.site-footer p { margin: 0; font-size: 12px; }

/* page top, smartphone menu, lightbox */
.pagetop { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { color: #fff; background: var(--maroon-2); }
.pagetop .ico { width: 22px; height: 22px; }
.fixnav, .drawer { display: none; }
.drawer[hidden], .lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 56px 64px; background: rgba(10, 10, 10, .9); }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; text-align: center; color: #fff; }
.lightbox__fig img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__fig figcaption { margin-top: 10px; font-size: 14px; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox .ico { width: 24px; height: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.gnav__link { padding: 14px 10px; font-size: 13px; }
	.gnav__link::after { left: 10px; right: 10px; }
	.site-header__logo img { width: 180px; }
}
@media (max-width: 991px) {
	.gnav { display: none; }
	.site-header__in { justify-content: center; min-height: 64px; }
	.header-top p { font-size: 11px; padding: 6px 0; }
	body { padding-bottom: 60px; }
	.fixnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: block; background: var(--maroon); box-shadow: 0 -2px 10px rgba(0, 0, 0, .15); }
	.fixnav ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0 0 env(safe-area-inset-bottom); list-style: none; }
	.fixnav a, .fixnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 60px; padding: 0; border: 0; background: none; color: #fff; font: 11px/1.3 var(--sans); text-decoration: none; cursor: pointer; }
	.fixnav li + li { border-left: 1px solid rgba(255, 255, 255, .15); }
	.fixnav .ico { width: 20px; height: 20px; }
	.drawer { position: fixed; inset: 0; z-index: 90; display: block; overflow-y: auto; padding: 0 24px 100px; background: #fff; }
	.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); }
	.drawer__title { font-weight: 700; letter-spacing: .1em; }
	.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
	.drawer__close .ico { width: 26px; height: 26px; }
	.drawer__list { margin: 0; padding: 0; list-style: none; }
	.drawer__list li { border-bottom: 1px solid var(--line); }
	.drawer__list a { display: block; padding: 14px 4px; color: var(--ink); font-family: var(--serif); font-weight: 700; text-decoration: none; }
	.drawer__tel { margin: 24px 0 0; text-align: center; }
	.drawer__tel a { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 24px; font-weight: 700; text-decoration: none; }
	.pagetop { bottom: 76px; right: 14px; width: 42px; height: 42px; }
	.layout { grid-template-columns: 1fr; }
	.features { grid-template-columns: 1fr 1fr; }
	.fcta__cols { grid-template-columns: 1fr; }
	.split__text, .split--rev .split__text { padding: 40px 28px; }
}
@media (max-width: 767px) {
	body { font-size: 15px; }
	.wrap, .wrap--narrow { width: calc(100% - 32px); }
	.site-header__logo img { width: 170px; }
	.hero__track { height: 64vw; }
	.hero__nav { width: 36px; height: 36px; }
	.sec-h { margin-bottom: 32px; font-size: 19px; }
	.sec-h__en { font-size: 13px; }
	.sec-h__en::before, .sec-h__en::after { width: 32px; }
	.nrow { padding: 14px 4px; flex-direction: column; gap: 0; }
	.split, .split--rev { grid-template-columns: 1fr; height: auto; }
	.split__img { order: -1; aspect-ratio: 16 / 10; }
	.split--rev .split__text { order: 0; }
	.split__text, .split--rev .split__text { justify-self: stretch; width: 100%; padding: 32px 20px; }
	.features, .cards, .cards--3 { grid-template-columns: 1fr; gap: 32px; }
	.btn--maroon { min-width: 240px; }
	.faq__q { padding: 14px 16px; }
	.faq__a { padding: 0 16px 16px; }
	.kblock, .kblock--rev { grid-template-columns: 1fr; margin-bottom: 40px; }
	.kblock .kblock__img, .kblock--rev .kblock__img { order: 0; width: 100% !important; }
	.kblock__img--big img { min-height: 0; aspect-ratio: 4 / 3; }
	.kblock__text, .kblock--rev .kblock__text { width: 100%; padding: 24px 16px 0; justify-self: stretch; }
	.ivrow, .ivrow--rev { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
	.ivrow--rev .ivrow__img { order: 0; }
	.greeting { grid-template-columns: 1fr; }
	.greeting__img { order: -1; }
	.anchors a { width: 100%; }
	.band, .band--white { background: #f5f5f5; }
	.tbl th, .tbl td { display: block; width: 100%; white-space: normal; }
	.tbl th { padding: 10px 14px 0; }
	.tbl td { padding: 2px 14px 12px; }
	.tbl--spec th { border-bottom: 0; }
	.tbl-lots td, .tbl-lots tbody th { padding: 10px 4px; font-size: 14px; white-space: nowrap; }
	.tbl-lots thead th { padding: 8px 4px; font-size: 12px; }
	.witem { grid-template-columns: 120px 1fr; gap: 14px; }
	.witem__title { font-size: 16px; }
	.witem__text { display: none; }
	.fnav { grid-template-columns: 1fr 1fr; }
	.fnav__adr { grid-column: 1 / -1; }
	.fcta__tel { flex-direction: column; gap: 10px; text-align: center; }
	.smap { grid-template-columns: 1fr; }
	.pager { grid-template-columns: 1fr; text-align: center; }
	.pager__next { text-align: center; }
	.lightbox { padding: 56px 8px; }
	.lightbox__nav { top: auto; bottom: 12px; transform: none; }
}

/* ---------- motion（動き） ----------
   ・トップの写真はゆっくりズームしながら切り替わる（今のサイトと同じ動き）。ページ上部の写真もゆっくり動く
   ・スクロールすると、見出し・写真・カード・表が下からふわっと現れる（.rv → .is-in。main.js が付ける）
   ・写真はクリックで拡大表示
   ・「動きを減らす」設定の端末では、動きを止めて最初からすべて表示する
*/
@keyframes vh-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes vh-fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes vh-drift { from { transform: scale(1.06) translateX(-1.5%); } to { transform: scale(1.06) translateX(1.5%); } }
@keyframes vh-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes vh-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
	.hero__slide.is-active .hero__img { animation: vh-zoom 6.7s ease-in both; }
	.phead::before { animation: vh-drift 18s ease-in-out infinite alternate; }
	.js .phead__title { animation: vh-fade 1s var(--ease) .15s both; }
	.js .intro .wrap > * { animation: vh-fade 1s var(--ease) both; }
	.js .intro .wrap > :nth-child(2) { animation-delay: .15s; }
	.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
	.js .rv--img { transform: scale(.97); }
	.js .rv.is-in { opacity: 1; transform: none; }
	.notice-bar .ico { animation: vh-blink 1.6s ease-in-out infinite; }
	.faq__item[open] .faq__a { animation: vh-fade .4s var(--ease); }
	.lightbox:not([hidden]) .lightbox__fig { animation: vh-pop .35s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
	.fixnav, .drawer, .pagetop, .hero__nav, .notice-bar, .lightbox { display: none !important; }
	.rv { opacity: 1 !important; transform: none !important; }
	.site-header { position: static; }
}

/* reCAPTCHA の注記（1.3.6） */
.cf7-recaptcha-note { margin: 16px 0 18px; font-size: 12px; line-height: 1.7; color: #666; text-align: center; }
.cf7-recaptcha-note a { color: inherit; text-decoration: underline; }
