@charset "UTF-8";
/* =========================================================
   暮らし工房 桑名  style.css
   1. デザインの基本ルール（色・文字・余白）
   2. 土台
   3. 共通パーツ（ボタン・見出し・セクション）
   4. ヘッダー / ナビゲーション
   5. フッター / スマホ固定ボタン
   6. トップページ
   7. 下層ページ共通（ページタイトル・パンくず）
   8. 各ページ
   ========================================================= */

/* ---------- 1. デザインの基本ルール ---------- */
:root {
  /* 色 */
  --c-white: #ffffff;
  --c-kinari: #f7f3ec;      /* 生成り */
  --c-beige: #ede4d6;       /* 淡いベージュ */
  --c-beige-deep: #e2d5c1;
  --c-wood: #8b6a4a;        /* 木のブラウン（ボタン・アクセント） */
  --c-wood-dark: #6c5137;   /* ホバー時 */
  --c-charcoal: #2e2b28;    /* 濃いチャコール */
  --c-text: #36322e;        /* 本文 */
  --c-muted: #685f56;       /* 補足文字（生成りの上でも読める濃さ） */
  --c-line: #dcd1c1;

  /* 文字 */
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  /* 余白・サイズ */
  --container: 1160px;
  --gutter: 20px;
  --section-y: 80px;
  --radius: 4px;
  --header-h: 68px;
  --shadow: 0 6px 24px rgba(46, 43, 40, 0.08);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 112px; --header-h: 80px; }
}

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }
body.is-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-wood-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--c-charcoal); }
:focus-visible { outline: 3px solid #b58a5e; outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; color: var(--c-charcoal); line-height: 1.5; letter-spacing: 0.06em; margin: 0 0 0.6em; }
p { margin: 0 0 1.2em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-charcoal); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- 3. 共通パーツ ---------- */
.section { padding: var(--section-y) 0; }
.section--kinari { background: var(--c-kinari); }
.section--beige { background: var(--c-beige); }
.section--dark { background: var(--c-charcoal); color: #ece6dc; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* セクション見出し：英語は小さな飾り、日本語が主役 */
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head__en { display: block; font-family: var(--f-en); font-size: 1.05rem; font-style: italic; letter-spacing: 0.12em; color: var(--c-wood); margin-bottom: 6px; }
.section-head__title { font-size: 1.6rem; margin: 0; }
.section-head__lead { margin: 20px 0 0; color: var(--c-muted); }
.section-head--center .section-head__lead { margin-left: auto; margin-right: auto; max-width: 40em; }
.section--dark .section-head__en { color: #d2b48f; }
.section--dark .section-head__lead { color: #d6cec2; }
@media (min-width: 768px) { .section-head__title { font-size: 2rem; } }

/* ボタン（スマホで押しやすい高さ48px以上） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px;
  font-family: var(--f-sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1.4;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.btn--noarrow::after { display: none; }
.btn--primary { background: var(--c-wood); color: #fff; }
.btn--primary:hover { background: var(--c-wood-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--c-charcoal); border-color: var(--c-charcoal); }
.btn--outline:hover { background: var(--c-charcoal); color: #fff; }
.btn--light { background: #fff; color: var(--c-charcoal); }
.btn--light:hover { background: var(--c-beige); color: var(--c-charcoal); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.85); }
.btn--ghost-light:hover { background: #fff; color: var(--c-charcoal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }
.more-link { margin-top: 48px; text-align: center; }

/* 文中リンク（矢印付き） */
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--c-wood-dark); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--c-charcoal); }

/* 写真 */
.photo { overflow: hidden; border-radius: var(--radius); background: var(--c-beige); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* デモ表示ラベル */
.demo-note { display: inline-block; font-size: .8rem; letter-spacing: .04em; line-height: 1.6; padding: 4px 12px; border-radius: 999px; background: var(--c-beige); color: var(--c-wood-dark); }
.notice-box { border: 1px solid var(--c-line); background: #fff; border-radius: var(--radius); padding: 20px 22px; font-size: .95rem; color: var(--c-muted); }

/* 2カラム（写真＋文章） */
.split { display: grid; gap: 32px; align-items: center; }
.split__body > *:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
  .split--wide-media { grid-template-columns: 1.2fr 1fr; }
}

/* ---------- 4. ヘッダー / ナビゲーション ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 2px 12px rgba(46,43,40,.05); }
.site-header__inner { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-charcoal); margin-right: auto; white-space: nowrap; }
.header-cta { white-space: nowrap; }
.logo:hover { color: var(--c-charcoal); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__ja { font-family: var(--f-serif); font-weight: 600; font-size: 1.15rem; letter-spacing: .12em; }
.logo__en { font-family: var(--f-en); font-size: .7rem; letter-spacing: .2em; color: var(--c-muted); }
@media (min-width: 768px) { .logo__ja { font-size: 1.3rem; } .logo__mark { width: 38px; height: 38px; } }

.header-cta { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.header-cta::after { display: none; }
@media (max-width: 420px) { .header-cta { display: none; } }

.menu-toggle { width: 48px; height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0; color: var(--c-charcoal); }
.menu-toggle__bar { width: 24px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle__label { font-size: .62rem; letter-spacing: .1em; line-height: 1; margin-top: 2px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* スマホ・タブレット：全画面メニュー */
.global-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-kinari); overflow-y: auto; padding: 24px var(--gutter) 120px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.global-nav.is-open { visibility: visible; opacity: 1; }
.global-nav__list { max-width: 560px; margin: 0 auto; }
.global-nav__list li { border-bottom: 1px solid var(--c-line); }
.global-nav__list a { display: flex; align-items: baseline; gap: 16px; padding: 16px 4px; min-height: 56px; text-decoration: none; color: var(--c-charcoal); }
.global-nav__list a:hover, .global-nav__list a[aria-current="page"] { color: var(--c-wood-dark); }
.nav-en { font-family: var(--f-en); font-style: italic; font-size: .95rem; color: var(--c-wood); min-width: 6.5em; letter-spacing: .08em; }
.nav-ja { font-size: 1.05rem; font-weight: 500; }
.global-nav__cta { max-width: 560px; margin: 32px auto 0; display: grid; gap: 12px; }
.global-nav__cta .btn { width: 100%; }

/* PC：横並びメニュー（英語は小さく、日本語を主役に） */
@media (min-width: 1340px) {
  .menu-toggle { display: none; }
  .global-nav { position: static; visibility: visible; opacity: 1; background: none; padding: 0; overflow: visible; }
  .global-nav__list { display: flex; max-width: none; gap: 2px; }
  .global-nav__list li { border: 0; }
  .global-nav__list li:first-child { display: none; } /* PCではロゴがトップへのリンク */
  .global-nav__list a { flex-direction: column; align-items: center; gap: 0; padding: 6px 7px; min-height: 0; line-height: 1.3; position: relative; white-space: nowrap; letter-spacing: .02em; }
  .global-nav__list a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 1px; background: var(--c-wood); transform: scaleX(0); transition: transform .2s; }
  .global-nav__list a:hover::after, .global-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-en { font-size: .72rem; min-width: 0; }
  .nav-ja { font-size: .8rem; }
  .global-nav__cta { display: none; }
  .header-cta { margin-left: 8px; }
}

/* ---------- 5. フッター / スマホ固定ボタン ---------- */
.site-footer { background: var(--c-charcoal); color: #d9d2c7; padding: 72px 0 0; font-size: .95rem; }
.site-footer a { color: #f1ebe2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.1fr 1.4fr; gap: 64px; } }
.footer-logo { color: #fff; margin-bottom: 20px; }
.footer-logo .logo__en { color: #b8ada0; }
.footer-info dt { font-size: .8rem; color: #b8ada0; letter-spacing: .1em; }
.footer-info dd { margin-bottom: 12px; }
.footer-tel { font-family: var(--f-en); font-size: 1.7rem; letter-spacing: .06em; line-height: 1.3; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }
.footer-nav a { display: block; padding: 8px 0; }
.footer-sns { display: flex; gap: 12px; margin-top: 28px; }
.footer-sns a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.footer-sns a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.footer-sns svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { margin-top: 56px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #b8ada0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 899px) { .site-footer { padding-bottom: 72px; } }

/* スマホ画面下の固定ボタン */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; box-shadow: 0 -4px 16px rgba(46,43,40,.12); }
.fixed-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.fixed-cta__tel { background: #fff; color: var(--c-charcoal); }
.fixed-cta__main { background: var(--c-wood); color: #fff; }
.fixed-cta svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 900px) { .fixed-cta { display: none; } }

/* ---------- 6. トップページ ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); max-height: 900px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30,26,22,0) 30%, rgba(30,26,22,.62) 100%); }
.hero__body { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.hero__label { font-family: var(--f-en); font-style: italic; letter-spacing: .16em; font-size: 1rem; margin-bottom: 12px; opacity: .95; }
.hero__title { color: #fff; font-size: 2rem; line-height: 1.55; letter-spacing: .1em; margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hero__lead { font-size: 1rem; line-height: 2; margin-bottom: 32px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
@media (min-width: 768px) {
  .hero { min-height: 640px; height: calc(100vh - var(--header-h)); }
  .hero__body { padding-bottom: 88px; }
  .hero__title { font-size: 3rem; }
  .hero__lead { font-size: 1.15rem; }
}

/* イントロ */
.intro__media { position: relative; }
.intro__media .photo--sub { position: absolute; width: 42%; right: -8px; bottom: -32px; border: 6px solid #fff; }
@media (max-width: 899px) { .intro__media { margin-bottom: 32px; } }
.intro__title { font-size: 1.5rem; }
@media (min-width: 768px) { .intro__title { font-size: 1.9rem; } }
.sign { font-family: var(--f-serif); color: var(--c-muted); }

/* 施工事例カード（CMS化を想定した同じ形のカード） */
.works-grid { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.works-card { display: flex; flex-direction: column; }
.works-card__link { display: block; text-decoration: none; color: inherit; }
.works-card__link:hover { color: inherit; }
.works-card .photo { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.works-card .photo img { transition: transform .5s; }
.works-card__link:hover .photo img { transform: scale(1.04); }
.works-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .85rem; color: var(--c-muted); margin-bottom: 6px; }
.works-card__area::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-wood); margin-right: 6px; vertical-align: 1px; }
.works-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.works-card__text { font-size: .95rem; color: var(--c-muted); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: .78rem; padding: 2px 10px; border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-muted); background: #fff; }

/* 3つのこだわり */
.commit-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .commit-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.commit-item .photo { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.commit-item__num { font-family: var(--f-en); font-size: 2.6rem; line-height: 1; color: var(--c-wood); display: block; margin-bottom: 10px; }
.commit-item__title { font-size: 1.25rem; }
.commit-item p { font-size: .97rem; }

/* 職人紹介 */
.craft { display: grid; gap: 32px; }
@media (min-width: 900px) { .craft { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; } }
.craft__photos { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.craft__photos .photo:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.craft__photos .photo { aspect-ratio: 1 / 1; }
.craft__quote { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.9; color: var(--c-charcoal); border-left: 2px solid var(--c-wood); padding-left: 20px; margin: 24px 0; }
.section--dark .craft__quote { color: #fff; border-color: #d2b48f; }

/* 予算 */
.budget { display: grid; gap: 40px; }
@media (min-width: 900px) { .budget { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.budget__catch { font-size: 1.5rem; }
@media (min-width: 768px) { .budget__catch { font-size: 1.9rem; } }
.point-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.point-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--c-wood) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* 費用の内訳図 */
.cost-chart { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.cost-chart__title { font-size: 1.1rem; text-align: center; margin-bottom: 20px; }
.cost-bar { display: flex; height: 56px; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.cost-bar span { display: flex; align-items: center; justify-content: center; color: #fff; font-size: .82rem; font-weight: 500; text-align: center; line-height: 1.3; padding: 0 4px; }
.cost-bar__main { background: var(--c-wood); flex: 70; }
.cost-bar__sub { background: #a88a6a; flex: 20; }
.cost-bar__etc { background: #6f655b; flex: 10; }
.cost-legend li { display: grid; grid-template-columns: 14px 1fr; gap: 4px 12px; margin-bottom: 14px; font-size: .92rem; line-height: 1.7; }
.cost-legend i { width: 14px; height: 14px; border-radius: 3px; margin-top: .45em; }
.cost-legend strong { color: var(--c-charcoal); }
.cost-chart__note { font-size: .8rem; color: var(--c-muted); margin: 8px 0 0; }

/* お客様の声 */
.voice-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .voice-grid { grid-template-columns: repeat(3, 1fr); } }
.voice-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.voice-card .photo { aspect-ratio: 3 / 2; border-radius: 0; }
.voice-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.voice-card__title { font-size: 1.12rem; margin: 0; }
.voice-card__text { font-size: .95rem; margin: 0; }
.voice-card__name { font-size: .85rem; color: var(--c-muted); margin-top: auto; }

/* 家づくりの流れ（簡易） */
.flow-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: none; }
@media (min-width: 640px) { .flow-steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .flow-steps { grid-template-columns: repeat(7, 1fr); } }
.flow-steps li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 10px; text-align: center; position: relative; }
.flow-steps__num { display: block; font-family: var(--f-en); color: var(--c-wood); font-size: 1.5rem; line-height: 1.2; }
.flow-steps__label { font-weight: 500; font-size: .95rem; color: var(--c-charcoal); }
@media (min-width: 1000px) {
  .flow-steps li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--c-wood); border-right: 1.5px solid var(--c-wood); transform: translateY(-50%) rotate(45deg); }
}

/* ブログ・お知らせ（CMS化を想定した同じ形のカード） */
.post-grid { display: grid; gap: 32px 28px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card__link { display: block; text-decoration: none; color: inherit; }
.post-card__link:hover { color: inherit; }
.post-card__link:hover .post-card__title { color: var(--c-wood-dark); text-decoration: underline; }
.post-card .photo { aspect-ratio: 16 / 10; margin-bottom: 16px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--c-muted); margin-bottom: 6px; }
.post-card__cat { font-size: .75rem; padding: 2px 10px; border-radius: 999px; background: var(--c-beige); color: var(--c-wood-dark); }
.post-card__title { font-family: var(--f-sans); font-weight: 500; font-size: 1.05rem; line-height: 1.7; letter-spacing: .04em; margin: 0 0 6px; }
.post-card__excerpt { font-size: .92rem; color: var(--c-muted); margin: 0; }

/* 相談CTA（各ページ下部） */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 96px 0; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(36,31,26,.68); }
.cta__inner { position: relative; z-index: 2; }
.cta__title { color: #fff; font-size: 1.5rem; line-height: 1.7; }
@media (min-width: 768px) { .cta__title { font-size: 2rem; } .cta { padding: 128px 0; } }
.cta__lead { max-width: 36em; margin: 0 auto 32px; color: #f0e9df; }
.cta__options { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
@media (min-width: 640px) { .cta__options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cta__options { grid-template-columns: repeat(4, 1fr); } }
.cta__options .btn { width: 100%; }
.cta__tel { margin-top: 28px; font-size: .95rem; color: #f0e9df; }
.cta__tel a { color: #fff; font-family: var(--f-en); font-size: 1.6rem; letter-spacing: .06em; text-decoration: none; display: inline-block; margin: 0 6px; }
.cta__promise { display: inline-block; margin-top: 20px; font-size: .9rem; padding: 6px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }

/* ---------- 7. 下層ページ共通 ---------- */
.page-hero { position: relative; height: 260px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(36,31,26,.48); }
.page-hero__body { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero__en { display: block; font-family: var(--f-en); font-style: italic; letter-spacing: .16em; font-size: 1.05rem; margin-bottom: 4px; }
.page-hero__title { color: #fff; font-size: 1.75rem; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
@media (min-width: 768px) { .page-hero { height: 380px; } .page-hero__title { font-size: 2.4rem; } }

.breadcrumb { background: var(--c-kinari); font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 14px 0; }
.breadcrumb li { color: var(--c-muted); }
.breadcrumb li + li::before { content: "／"; margin: 0 8px; color: #b3a796; }
.breadcrumb a { color: var(--c-wood-dark); }

.page-lead { font-size: 1.05rem; }
.page-lead__title { font-size: 1.5rem; }
@media (min-width: 768px) { .page-lead__title { font-size: 1.9rem; } }

/* 番号付き見出しブロック（こだわり・コンセプト） */
.feature { padding: 56px 0; border-top: 1px solid var(--c-line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature__num { font-family: var(--f-en); color: var(--c-wood); font-size: 1.1rem; letter-spacing: .14em; display: block; margin-bottom: 4px; }
.feature__title { font-size: 1.4rem; }
@media (min-width: 768px) { .feature { padding: 80px 0; } .feature__title { font-size: 1.75rem; } }
.feature__why { background: var(--c-kinari); border-radius: var(--radius); padding: 20px 22px; margin-top: 8px; }
.feature__why h3 { font-size: 1rem; color: var(--c-wood-dark); margin-bottom: 6px; }
.feature__why p { margin: 0; font-size: .97rem; }
.spec-list { display: grid; gap: 10px; margin: 20px 0; }
.spec-list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); font-size: .95rem; }
.spec-list strong { color: var(--c-charcoal); min-width: 7em; flex: none; }

/* ページ内リンク */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; color: var(--c-charcoal); background: #fff; font-size: .95rem; }
.anchor-nav a:hover { border-color: var(--c-wood); color: var(--c-wood-dark); }

/* 絞り込みボタン（施工事例・ブログ） */
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter button { min-height: 44px; padding: 8px 20px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-charcoal); font: inherit; font-size: .95rem; cursor: pointer; }
.filter button:hover { border-color: var(--c-wood); }
.filter button[aria-pressed="true"] { background: var(--c-charcoal); border-color: var(--c-charcoal); color: #fff; }
[hidden] { display: none !important; }

/* 施工事例 詳細データ */
.works-data { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: .88rem; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--c-line); }
.works-data dt { color: var(--c-muted); }
.works-data dd { color: var(--c-charcoal); }

/* プラン */
.plan-list { display: grid; gap: 48px; }
.plan-card { display: grid; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .plan-card { grid-template-columns: 1fr 1fr; } .plan-card:nth-child(even) .plan-card__media { order: 2; } }
.plan-card__media { min-height: 260px; }
.plan-card__media img { width: 100%; height: 100%; object-fit: cover; }
.plan-card__body { padding: 32px 24px 36px; }
@media (min-width: 768px) { .plan-card__body { padding: 48px 48px 52px; } }
.plan-card__en { font-family: var(--f-en); font-size: 1.9rem; color: var(--c-wood); line-height: 1.2; display: block; }
.plan-card__title { font-size: 1.25rem; margin: 6px 0 16px; }
.plan-card__for { font-size: .92rem; background: var(--c-kinari); padding: 12px 16px; border-radius: var(--radius); }
.plan-table { margin: 20px 0 0; font-size: .92rem; }
.plan-table th, .plan-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.plan-table th { width: 8.5em; color: var(--c-muted); font-weight: 500; }
.price-box { border: 2px solid var(--c-wood); border-radius: var(--radius); padding: 24px; background: #fff; }
.price-box__title { font-size: 1.15rem; color: var(--c-wood-dark); }
.compare { display: grid; gap: 16px; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--c-line); }
.compare__col h3 { font-size: 1.1rem; }
.compare__col li { padding: 6px 0 6px 22px; position: relative; font-size: .95rem; border-bottom: 1px dashed var(--c-line); }
.compare__col li::before { content: "・"; position: absolute; left: 4px; color: var(--c-wood); }

/* スタッフ */
.staff-grid { display: grid; gap: 48px 32px; }
@media (min-width: 640px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
.staff-card .photo { aspect-ratio: 4 / 5; margin-bottom: 20px; }
.staff-card__role { font-size: .85rem; color: var(--c-wood-dark); letter-spacing: .1em; }
.staff-card__name { font-size: 1.35rem; margin: 2px 0 2px; }
.staff-card__kana { font-size: .8rem; color: var(--c-muted); display: block; margin-bottom: 14px; }
.staff-card__msg { font-size: .97rem; }
.staff-card__data { font-size: .88rem; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; background: var(--c-kinari); padding: 14px 16px; border-radius: var(--radius); }
.staff-card__data dt { color: var(--c-muted); }
.staff-lead { display: grid; gap: 32px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .staff-lead { grid-template-columns: 1fr 1.2fr; } }
.staff-lead .photo { border-radius: 0; min-height: 320px; }
.staff-lead__body { padding: 8px 24px 32px; }
@media (min-width: 900px) { .staff-lead__body { padding: 48px 48px 48px 0; } }

/* お客様の声（詳細） */
.voice-detail { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--c-line); }
.voice-detail:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .voice-detail { grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 64px 0; } }
.voice-detail .photo { aspect-ratio: 4 / 3; }
.voice-detail__title { font-size: 1.3rem; }
.qa dt { font-weight: 700; color: var(--c-wood-dark); margin-top: 18px; font-size: .97rem; }
.qa dt::before { content: "Q. "; font-family: var(--f-en); }
.qa dd { font-size: .97rem; }

/* 家づくりの流れ（詳細） */
.flow-detail { position: relative; }
.flow-detail__item { display: grid; gap: 20px; padding: 0 0 48px 56px; position: relative; }
.flow-detail__item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--c-line); }
.flow-detail__item:last-child::before { display: none; }
.flow-detail__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--c-wood); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-en); font-size: 1.15rem; }
.flow-detail__title { font-size: 1.25rem; margin: 6px 0 10px; }
.flow-detail__period { display: inline-block; font-size: .8rem; color: var(--c-wood-dark); background: var(--c-beige); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.flow-detail__icon { width: 56px; height: 56px; color: var(--c-wood); }
.flow-detail .photo { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .flow-detail__item { grid-template-columns: 1fr 320px; gap: 40px; padding-left: 80px; }
  .flow-detail__num { width: 56px; height: 56px; font-size: 1.4rem; }
  .flow-detail__item::before { left: 27px; top: 56px; }
}
.flow-detail__body p:last-child { margin-bottom: 0; }

/* 会社概要 */
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: .97rem; }
.info-table th { width: 8em; color: var(--c-muted); font-weight: 500; }
@media (max-width: 599px) { .info-table th, .info-table td { display: block; width: 100%; } .info-table th { border-bottom: 0; padding-bottom: 0; } .info-table td { padding-top: 4px; } }
.map-box { aspect-ratio: 16 / 10; background: var(--c-beige) repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.35) 14px 28px); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--c-muted); padding: 24px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* お問い合わせフォーム */
.form { display: grid; gap: 22px; }
.form__row label, .form__legend { display: block; font-weight: 500; color: var(--c-charcoal); margin-bottom: 8px; }
.req, .opt { font-size: .72rem; padding: 1px 8px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; font-weight: 500; }
.req { background: var(--c-wood); color: #fff; }
.opt { background: var(--c-beige); color: var(--c-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--c-text);
  background: #fff; border: 1px solid #c9bcaa; border-radius: var(--radius);
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(139,106,74,.35); border-color: var(--c-wood); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-list label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1px solid #c9bcaa; border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 400; margin: 0; }
.choice-list input { width: 20px; height: 20px; accent-color: var(--c-wood); }
.form__hint { font-size: .85rem; color: var(--c-muted); margin: 6px 0 0; }
.form__submit { text-align: center; }
.form__submit .btn { min-width: 280px; }
.form__result { margin-top: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--c-beige); color: var(--c-charcoal); text-align: center; }
.contact-ways { display: grid; gap: 14px; margin-bottom: 48px; }
@media (min-width: 768px) { .contact-ways { grid-template-columns: repeat(3, 1fr); } }
.contact-way { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; border: 1px solid var(--c-line); }
.contact-way h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-way p { font-size: .9rem; color: var(--c-muted); margin: 0; }
.contact-way__tel { font-family: var(--f-en); font-size: 1.7rem; color: var(--c-charcoal); text-decoration: none; display: inline-block; margin: 4px 0; }

/* ブログ一覧（ページ送り） */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { min-width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: 50%; text-decoration: none; color: var(--c-charcoal); background: #fff; }
.pager [aria-current="page"] { background: var(--c-charcoal); color: #fff; border-color: var(--c-charcoal); }

/* 汎用 */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.small { font-size: .88rem; color: var(--c-muted); }
