/* =========================================================
   Re:life Design 共通スタイル
   色・文字サイズはここ（:root）を変えるだけで全ページに反映
   ========================================================= */
:root{
  --bg:#F7F3EC;          /* 生成り */
  --bg-2:#EFE7DB;        /* 少し濃い生成り */
  --paper:#FFFDF9;
  --ink:#2F2A25;         /* 文字（墨） */
  --ink-2:#6B6158;       /* 補足文字 */
  --wood:#8A6646;        /* 木の茶 */
  --wood-d:#5E4430;
  --wood-l:#C9A882;
  --moss:#6F7A5E;        /* くすみグリーン */
  --line:#06C755;        /* LINEボタン用 */
  --rule:#DDD2C3;
  --radius:14px;
  --max:1080px;
  --serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --sans:"Noto Sans JP","Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:var(--sans);color:var(--ink);background:var(--bg);
  font-size:16px;line-height:1.9;letter-spacing:.03em;
  padding-bottom:calc(96px + env(safe-area-inset-bottom)); /* スマホ下部の固定ボタン（約65px）に記事がかぶらないための余白 */
}
img,svg{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.5;letter-spacing:.06em}

/* 木目っぽい質感（画像を使わずCSSだけで軽く） */
.wood{
  background-color:var(--wood);
  background-image:
    repeating-linear-gradient(92deg,rgba(255,255,255,.05) 0 2px,transparent 2px 9px),
    repeating-linear-gradient(88deg,rgba(0,0,0,.06) 0 1px,transparent 1px 23px),
    linear-gradient(180deg,#94704F,#7E5C3F);
  color:#FBF6EE;
}

/* ---------- ヘッダー ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(247,243,236,.94);
  backdrop-filter:blur(6px);border-bottom:1px solid var(--rule);
}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;white-space:nowrap}
.logo-mark{width:auto;height:38px}
.logo-text{font-family:var(--serif);font-size:19px;font-weight:600;letter-spacing:.04em;white-space:nowrap}
.logo-sub{display:block;font-size:10px;color:var(--ink-2);letter-spacing:.2em;font-family:var(--sans);line-height:1}
.nav-toggle{background:none;border:0;width:44px;height:44px;cursor:pointer;display:flex;flex-direction:column;justify-content:center;gap:6px;align-items:center}
.nav-toggle span{display:block;width:22px;height:1.5px;background:var(--ink)}
.global-nav{display:none}
.global-nav.open{
  display:block;position:absolute;top:60px;left:0;right:0;background:var(--paper);
  border-bottom:1px solid var(--rule);box-shadow:0 10px 24px rgba(0,0,0,.06)
}
.global-nav ul{list-style:none;padding:8px 20px 16px}
.global-nav a{display:block;padding:12px 4px;text-decoration:none;border-bottom:1px solid var(--bg-2);font-size:15px}
.global-nav a[aria-current="page"]{color:var(--wood);font-weight:700}
.global-nav a{white-space:nowrap;transition:color .2s,background-color .2s}
.global-nav a:hover,.global-nav a:focus-visible{color:var(--wood-d);background:var(--bg-2)}
/* 右端の電話番号（パソコンの横幅が広いときだけ表示） */
.header-tel{display:none}
/* タブレット〜小さめのパソコン：「≡」メニューを右上に小さく出す */
@media(min-width:900px){
  .global-nav.open{
    left:auto;right:max(20px,calc((100vw - var(--max)) / 2 + 20px));width:320px;
    border:1px solid var(--rule);border-top:0;border-radius:0 0 14px 14px
  }
}
/* パソコン：ロゴの右にメニューを1行で並べ、右端に電話番号 */
@media(min-width:1200px){
  .site-header .wrap{max-width:1280px;height:72px;gap:20px}
  .nav-toggle{display:none}
  .global-nav,.global-nav.open{
    display:block;position:static;width:auto;background:none;border:0;box-shadow:none;border-radius:0;margin-left:auto
  }
  .global-nav ul{display:flex;align-items:center;gap:2px;padding:0}
  .global-nav a{border:0;padding:6px 10px;border-radius:999px;font-size:14px;letter-spacing:.04em}
  .global-nav a[aria-current="page"]{color:var(--wood-d);box-shadow:inset 0 -2px 0 var(--wood)}
  .header-tel{
    display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap;text-decoration:none;
    padding:6px 14px;border:1px solid var(--ink);border-radius:999px;transition:background-color .2s,color .2s
  }
  .header-tel svg{width:20px;height:20px}
  .header-tel span{display:flex;flex-direction:column;line-height:1.2}
  .header-tel b{font-size:17px;letter-spacing:.06em}
  .header-tel small{font-size:10px;color:var(--ink-2);letter-spacing:.04em}
  .header-tel:hover,.header-tel:focus-visible{background:var(--ink);color:var(--bg)}
  .header-tel:hover small,.header-tel:focus-visible small{color:var(--bg-2)}
}

/* ---------- ボタン ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:0 26px;border-radius:999px;text-decoration:none;
  font-weight:700;font-size:15px;letter-spacing:.06em;border:1px solid transparent;
}
.btn-line{background:var(--line);color:#fff}
.btn-line:hover{filter:brightness(.95)}
.btn-ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:var(--bg)}
.btn-light{border-color:rgba(255,255,255,.7);color:#fff}
.btn-light:hover{background:rgba(255,255,255,.12)}

/* ---------- 共通セクション ---------- */
section{padding:64px 0}
.sec-label{display:block;font-size:11px;letter-spacing:.3em;color:var(--wood);font-family:var(--sans);font-weight:700;margin-bottom:6px}
.sec-title{font-size:24px;margin-bottom:18px}
.nb{display:inline-block} /* 見出しを語のまとまりで折り返す */
.sec-lead{color:var(--ink-2);font-size:15px;max-width:640px}
@media(min-width:900px){.sec-title{font-size:30px}section{padding:88px 0}}

/* 未確定情報の仮表示（あとで差し替える所） */
.ph{
  display:inline-block;border:1px dashed var(--wood-l);background:rgba(201,168,130,.12);
  color:var(--wood-d);padding:0 8px;border-radius:6px;font-size:.92em;
}
.ph-box{
  border:1.5px dashed var(--wood-l);background:rgba(201,168,130,.10);border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;text-align:center;color:var(--wood-d);
  font-size:13px;padding:20px;
}

/* ---------- トップ：メインビジュアル ---------- */
.hero{padding:0;position:relative;overflow:hidden;background-color:#3a2c20}
/* 背景の現場写真（img/home/hero.jpg）。文字が読めるよう上に暗い色を重ねる */
.hero-slides{position:absolute;inset:0;z-index:0}
.hero-photo{position:absolute;inset:0;opacity:0;transition:opacity 1.8s ease-in-out}
.hero-photo.is-active{opacity:1}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%;transform:scale(1.06);transition:transform 7s ease-out}
.hero-photo.is-active img{transform:scale(1)}
@media(prefers-reduced-motion:reduce){.hero-photo,.hero-photo img{transition:none;transform:none}}
.hero::after{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(90deg,rgba(28,20,13,.78) 0%,rgba(28,20,13,.58) 55%,rgba(28,20,13,.35) 100%);
}
.hero-inner{padding:64px 24px 56px;position:relative;z-index:1}
.hero h1,.hero p{text-shadow:0 1px 12px rgba(0,0,0,.35)}
.hero h1{font-size:clamp(21px,6.6vw,28px);line-height:1.6;margin-bottom:18px} /* スマホの幅に合わせて少し小さく（2行に収める） */
/* 見出しの上の小さな英字 */
.hero .hero-eyebrow{
  font-family:"Cormorant Garamond","Times New Roman",serif;font-weight:300;font-size:14px;
  letter-spacing:.32em;opacity:.88;margin:0 0 14px;display:flex;align-items:center;gap:14px;max-width:none
}
.hero .hero-eyebrow::before{content:"";width:28px;height:1px;background:currentColor;opacity:.7}
/* 「デザイン」だけ、ほんの少し大きくしてさりげなく強調（色はそのまま・下線なし） */
.hero-em{font-size:1.06em}
/* スライドショーの写真の下（右下）の小さな注記 */
.hero .hero-note{
  position:absolute;right:14px;bottom:10px;z-index:1;margin:0;max-width:none;
  font-size:10px;letter-spacing:.04em;opacity:.8;text-shadow:0 1px 6px rgba(0,0,0,.5)
}
/* 素材写真の注記（リフォームメニューなど）。スマホで読める最小限の大きさ */
.img-note{font-size:10px;color:var(--ink-2);margin:6px 0 0;letter-spacing:.03em}
.hero p{font-size:15px;opacity:.92;max-width:520px;margin-bottom:28px;text-wrap:pretty} /* 最後の行に1〜2文字だけ残らないように */
.hero .actions{display:flex;flex-wrap:wrap;gap:12px}
@media(min-width:600px){.hero-inner{padding-left:40px;padding-right:40px}}
@media(min-width:900px){
  .hero-inner{padding-top:120px;padding-bottom:110px;padding-left:48px;padding-right:48px}
  .hero h1{font-size:40px}
  .hero .hero-eyebrow{font-size:16px;margin-bottom:18px}
}

/* ---------- 強み（3つ） ---------- */
.points{display:grid;gap:16px;margin-top:28px}
.point{background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:22px 20px;display:flex;gap:16px}
.point-no{font-family:var(--serif);font-size:28px;color:var(--wood-l);line-height:1}
.point h3{font-size:17px;margin-bottom:6px}
.point p{font-size:14px;color:var(--ink-2)}
@media(min-width:900px){.points{grid-template-columns:repeat(3,1fr)}.point{flex-direction:column}}

/* ---------- 入口メニュー（ページへの案内） ---------- */
.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}
.menu-card{
  display:flex;flex-direction:column;gap:10px;text-decoration:none;background:var(--paper);
  border:1px solid var(--rule);border-radius:var(--radius);padding:18px 16px;min-height:132px;
  transition:border-color .2s,transform .2s;
}
.menu-card:hover{border-color:var(--wood);transform:translateY(-2px)}
.menu-card svg{width:34px;height:34px;color:var(--wood)}
.menu-card b{font-family:var(--serif);font-size:15px;font-weight:600}
.menu-card small{font-size:12px;color:var(--ink-2);line-height:1.6}
@media(min-width:900px){.menu-grid{grid-template-columns:repeat(3,1fr);gap:16px}}


/* ---------- お役立ちコラム バナー ---------- */
.tips-banner{border-radius:20px;padding:32px 24px;display:grid;gap:20px;align-items:center}
.tips-banner h2{font-size:22px}
.tips-banner p{font-size:14px;opacity:.9}
@media(min-width:900px){.tips-banner{grid-template-columns:1.4fr 1fr;padding:48px}}

/* ---------- LINE相談ブロック ---------- */
.line-cta{background:var(--paper);border:1px solid var(--rule);border-radius:20px;padding:30px 22px;text-align:center}
.line-cta h2{font-size:21px;margin-bottom:10px}
.line-cta p{font-size:14px;color:var(--ink-2);margin-bottom:20px}
.line-steps{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 22px;list-style:none}
.line-steps li{font-size:12px;background:var(--bg-2);border-radius:999px;padding:4px 12px}
.line-cta .note{font-size:12px;margin-top:14px;margin-bottom:0}

/* ---------- 記事カード一覧 ---------- */
.page-head{padding:44px 0 32px;border-bottom:1px solid var(--rule)}
.page-head h1{font-size:24px;margin-bottom:10px}
.page-head p{color:var(--ink-2);font-size:14px}
@media(min-width:900px){.page-head h1{font-size:32px}}
.breadcrumb{font-size:12px;color:var(--ink-2);padding-top:14px}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.breadcrumb li+li::before{content:"›";margin-right:6px}
.breadcrumb a{text-decoration:none}

.card-list{display:grid;gap:16px;list-style:none}
@media(min-width:640px){.card-list{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.card-list{grid-template-columns:repeat(3,1fr)}}
.card{
  display:flex;flex-direction:column;height:100%;background:var(--paper);border:1px solid var(--rule);
  border-radius:var(--radius);overflow:hidden;text-decoration:none;transition:transform .2s,box-shadow .2s;
}
a.card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(80,55,30,.08)}
.card-thumb{aspect-ratio:16/10;background:var(--bg-2);display:flex;align-items:center;justify-content:center;position:relative}
.card-thumb svg{width:46%;color:var(--wood)}
.card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-body h2{font-size:16px;line-height:1.6}
.card-body p{font-size:13px;color:var(--ink-2);line-height:1.7}
.tag{display:inline-block;font-size:11px;color:var(--moss);border:1px solid var(--moss);border-radius:999px;padding:0 10px;align-self:flex-start}
.card-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ink-2);margin:0}
.card-body .card-meta{font-size:12px}

/* ---------- コラム一覧：カテゴリ絞り込み・もっと見る ---------- */
.filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.filter-btn{
  font:inherit;font-size:13px;line-height:1.4;padding:8px 14px;min-height:38px;border-radius:999px;cursor:pointer;
  background:var(--paper);color:var(--ink);border:1px solid var(--rule);transition:background .2s,border-color .2s;
}
.filter-btn:hover{border-color:var(--wood)}
a.filter-btn{display:inline-flex;align-items:center;text-decoration:none}
.filter-btn[aria-pressed="true"]{background:var(--wood);border-color:var(--wood);color:#fff}
/* スマホ：絞り込みボタンは横にスライドできる1列 */
@media(max-width:639px){
  .filter{
    flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
    margin-left:-20px;margin-right:-20px;padding:2px 20px 6px;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);
  }
  .filter::-webkit-scrollbar{display:none}
  .filter-btn{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start;scroll-margin-left:20px}
}
.filter-count{font-size:12px;color:var(--ink-2);margin-bottom:14px}
.more-wrap{text-align:center;margin-top:28px}
.btn-more{font:inherit;font-weight:700;cursor:pointer;background:var(--paper);border-color:var(--wood);color:var(--wood-d);min-width:220px}
.btn-more:hover{background:var(--bg-2)}
.btn-more[hidden]{display:none}
.card.soon{opacity:.75}
.card.soon .tag{color:var(--ink-2);border-color:var(--rule)}

/* ---------- 記事ページ ---------- */
.article{max-width:720px;margin:0 auto}
.article-hero{border-radius:var(--radius);overflow:hidden;background:var(--bg-2);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;margin:24px 0 8px}
.article-hero svg{width:40%;color:var(--wood)}
.caption{font-size:12px;color:var(--ink-2);text-align:center}
.article h1{font-size:23px;margin:6px 0 14px}
@media(min-width:900px){.article h1{font-size:30px}}
.article .summary{background:var(--paper);border-left:3px solid var(--wood);padding:14px 18px;font-size:15px;border-radius:0 10px 10px 0}
.article h2{font-size:19px;margin:44px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--rule);display:flex;gap:10px;align-items:baseline}
.article h2 .h-label{font-family:var(--sans);font-size:11px;letter-spacing:.2em;color:#fff;background:var(--wood);border-radius:4px;padding:2px 8px;white-space:nowrap}
.article h2 .h-label.cause{background:#A2614A}
.article h2 .h-label.fix{background:var(--moss)}
.article p{margin-bottom:14px}
.article ul.check{list-style:none;margin:8px 0 18px}
.article ul.check li{padding:10px 0 10px 30px;border-bottom:1px dashed var(--rule);position:relative}
.article ul.check li::before{content:"";position:absolute;left:4px;top:17px;width:14px;height:8px;border-left:2px solid var(--moss);border-bottom:2px solid var(--moss);transform:rotate(-45deg)}
.article ol.steps{counter-reset:s;list-style:none;margin:8px 0 18px}
.article ol.steps li{counter-increment:s;padding:12px 0 12px 44px;position:relative;border-bottom:1px dashed var(--rule)}
.article ol.steps li::before{content:counter(s);position:absolute;left:0;top:12px;width:30px;height:30px;border-radius:50%;background:var(--bg-2);color:var(--wood-d);font-family:var(--serif);display:flex;align-items:center;justify-content:center;font-size:14px}
.advice{display:flex;gap:16px;background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:20px;margin:16px 0}
.advice-face{flex:0 0 64px;height:64px;border-radius:50%;font-size:10px;padding:6px}
.advice b{display:block;font-family:var(--serif);font-size:14px;margin-bottom:6px}
.advice p{font-size:14px;margin:0}
.compare{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0 18px}
.compare th,.compare td{border:1px solid var(--rule);padding:10px;text-align:left;vertical-align:top}
.compare th{background:var(--bg-2);font-weight:700;width:34%}
.article-meta{display:flex;align-items:center;gap:12px;margin-top:22px;font-size:13px;color:var(--ink-2)}
.article-meta a{font-size:12px;color:var(--moss);border:1px solid var(--moss);border-radius:999px;padding:0 10px;text-decoration:none}
.article-meta a:hover{background:var(--moss);color:#fff}
.article-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:stretch;margin:40px 0 0;font-size:14px}
.article-nav a{text-decoration:none;color:var(--wood-d)}
.article-nav .an-prev,.article-nav .an-next{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--rule);border-radius:10px;background:var(--paper);line-height:1.5;min-width:0}
.article-nav .an-next{text-align:right}
.article-nav .is-empty{border:none;background:none}
.article-nav small{font-size:12px;color:var(--ink-2)}
.article-nav span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px}
.article-nav .an-list{align-self:center;padding:0 4px;white-space:nowrap}
@media(max-width:560px){
  .article-nav{grid-template-columns:1fr 1fr}
  .article-nav .an-list{grid-column:1 / -1;grid-row:2;text-align:center;padding-top:6px}
}

/* ---------- 現場の様子（Instagram埋め込み） ---------- */
.insta-feed{margin-bottom:12px}
.insta-feed iframe{display:block;width:100% !important;border:0;border-radius:var(--radius)}
.insta-placeholder{
  border:1.5px dashed var(--wood-l);background:rgba(201,168,130,.10);border-radius:var(--radius);
  padding:48px 20px;text-align:center;color:var(--wood-d);font-size:14px;display:grid;gap:16px;justify-items:center
}
.insta-feed:has(iframe) .insta-placeholder,.insta-feed:has(script) .insta-placeholder{display:none}
/* 施工の様子：Instagram の投稿グリッド（3列） */
.ig-feed{margin-bottom:12px}
.ig-feed[aria-busy="true"] .ig-grid{min-height:240px;background:var(--bg-2);border-radius:var(--radius)}
.ig-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.ig-grid li{aspect-ratio:1/1;overflow:hidden;background:var(--bg-2)}
.ig-grid a{display:block;width:100%;height:100%}
.ig-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .2s,transform .3s}
.ig-grid a:hover img,.ig-grid a:focus-visible img{opacity:.85;transform:scale(1.03)}
@media(min-width:900px){.ig-grid{gap:10px}.ig-grid li{border-radius:6px}}
.ig-fallback{
  border:1px solid var(--rule);background:var(--paper);border-radius:var(--radius);
  padding:40px 20px;text-align:center;display:grid;gap:16px;justify-items:center
}
.ig-fallback p{margin:0;font-family:var(--serif);font-size:17px}
.ig-grid[hidden],.ig-fallback[hidden]{display:none}
/* Instagram のボタン（アイコン付き） */
.btn-ig{border-color:var(--ink);color:var(--ink);background:var(--paper)}
.btn-ig svg{width:20px;height:20px}
.btn-ig:hover,.btn-ig:focus-visible{background:var(--ink);color:var(--bg)}
.site-footer .btn-ig{border-color:rgba(255,255,255,.7);color:#fff;background:transparent}
.site-footer .btn-ig:hover,.site-footer .btn-ig:focus-visible{background:#fff;color:var(--wood-d)}
.f-sns{display:flex;flex-wrap:wrap;gap:8px}
.insta-line{text-align:center;margin:20px 0 8px}
.insta-line .btn{min-width:260px}
.insta-more{text-align:right;font-size:14px;margin-bottom:48px}
.insta-more a{color:var(--wood-d);text-decoration:none}

/* ---------- よくある質問（押すと答えが開くQ&A） ---------- */
html{scroll-padding-top:84px} /* 固定ヘッダーの下にカテゴリ見出しが隠れないように */
.pc-br{display:none}
@media(min-width:900px){.pc-br{display:inline}}
.faq-head{max-width:800px}
.faq-page{max-width:800px;padding-top:28px;padding-bottom:24px}
.faq-jump{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.faq-jump a{
  font-size:13px;text-decoration:none;padding:8px 14px;border-radius:999px;background:var(--paper);
  border:1px solid var(--rule);white-space:nowrap;transition:border-color .2s,background-color .2s,color .2s
}
.faq-jump a:hover,.faq-jump a:focus-visible{border-color:var(--wood);color:var(--wood-d);background:var(--bg-2)}
.faq-cat{padding:40px 0 8px}
.faq-cat h2{font-size:20px;margin-bottom:16px;display:flex;align-items:center;gap:10px}
.faq-cat h2::before{content:"";width:4px;height:1.1em;background:var(--wood);border-radius:2px;flex-shrink:0}
.faq-list{border-top:1px solid var(--rule)}
.faq-item{border-bottom:1px solid var(--rule);background:var(--paper)}
.faq-item summary{
  list-style:none;cursor:pointer;position:relative;padding:18px 48px 18px 48px;
  font-weight:700;font-size:15px;line-height:1.7;transition:background-color .2s,color .2s
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::before{
  content:"Q";position:absolute;left:14px;top:17px;width:24px;height:24px;border-radius:50%;
  background:var(--wood);color:#fff;font-family:var(--serif);font-size:13px;line-height:24px;text-align:center
}
/* 右端の「＋」。開くと「－」になる */
.faq-item summary::after{
  content:"";position:absolute;right:18px;top:50%;width:14px;height:14px;margin-top:-7px;
  background:linear-gradient(var(--ink),var(--ink)) center/14px 2px no-repeat,linear-gradient(var(--ink),var(--ink)) center/2px 14px no-repeat;
  transition:transform .2s
}
.faq-item[open] summary::after{background:linear-gradient(var(--ink),var(--ink)) center/14px 2px no-repeat}
.faq-item summary:hover,.faq-item summary:focus-visible{background:var(--bg-2);color:var(--wood-d)}
.faq-item[open] summary{color:var(--wood-d)}
.faq-a{position:relative;padding:0 18px 20px 48px;font-size:15px;color:var(--ink)}
.faq-a::before{
  content:"A";position:absolute;left:14px;top:0;width:24px;height:24px;border-radius:50%;
  border:1px solid var(--wood);color:var(--wood-d);font-family:var(--serif);font-size:13px;line-height:22px;text-align:center
}
.faq-a p{margin-bottom:8px}
.faq-a p:last-child{margin-bottom:0}
.faq-more{font-size:13px}
.faq-more a{color:var(--moss);text-decoration:underline;text-underline-offset:3px}
.faq-more a:hover{color:var(--wood-d)}
.faq-cta{text-align:center;margin-top:20px}
.faq-cta .btn{width:100%;max-width:360px}

/* ---------- 相談の流れ（7ステップ。スマホは縦、パソコンは横） ---------- */
.flow-page{padding-top:28px;padding-bottom:56px}
.flow-photo{margin:0 0 36px}
.flow-photo img{width:100%;aspect-ratio:2/1;object-fit:cover;object-position:50% 40%;border-radius:var(--radius);height:auto}
/* ステップは白い無地の枠の中に（番号と文字を読みやすく） */
.flow-steps{list-style:none;margin:0 0 40px;padding:26px 18px 6px;background:#fff;border:1px solid var(--rule);border-radius:var(--radius)}
.flow-step{
  position:relative;display:grid;grid-template-columns:44px 30px 1fr;column-gap:12px;
  grid-template-areas:"no ic ti" "no tx tx";align-items:center;padding-bottom:26px
}
/* ステップどうしをつなぐ細い線 */
.flow-step:not(:last-child)::before{content:"";position:absolute;left:21.5px;top:48px;bottom:4px;width:1px;background:var(--wood-l)}
.flow-no{
  grid-area:no;align-self:start;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--wood);
  background:#fff;color:var(--wood-d);font-family:var(--serif);font-size:16px;font-weight:600;
  display:flex;align-items:center;justify-content:center;position:relative;z-index:1
}
.flow-step svg{grid-area:ic;width:30px;height:30px;color:var(--wood)}
.flow-step h2{grid-area:ti;font-size:17px;margin:0}
.flow-step p{grid-area:tx;font-size:14.5px;color:#4A423B;line-height:1.8;margin:6px 0 0}
.flow-cta h2{font-size:20px}
@media(min-width:1000px){
  .flow-photo img{aspect-ratio:3/1}
  .flow-steps{display:grid;grid-template-columns:repeat(7,1fr);column-gap:16px;margin-bottom:56px;padding:36px 24px 32px}
  .flow-step{
    grid-template-columns:1fr;grid-template-areas:"no" "ic" "ti" "tx";justify-items:center;text-align:center;
    row-gap:12px;padding-bottom:0;align-items:start
  }
  .flow-step:not(:last-child)::before{left:calc(50% + 26px);top:22px;bottom:auto;width:calc(100% + 16px - 52px);height:1px}
  .flow-step svg{width:32px;height:32px}
  .flow-step h2{font-size:16px;line-height:1.5}
  .flow-step p{font-size:13px;margin:0}
}

/* ---------- 代表紹介 ---------- */
.kari-note{font-size:13px;color:var(--wood-d);background:rgba(201,168,130,.14);border-radius:8px;padding:8px 12px;margin:0 0 16px}
.about-page{max-width:880px;padding-top:28px;padding-bottom:56px}
/* 写真2枚を重ね、白黒（作業中）→カラー（正面）にふわっと切り替える */
.about-photo{position:relative;margin:0;aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;background:var(--bg-2);cursor:pointer}
.about-photo:focus-visible{outline:2px solid var(--wood);outline-offset:3px}
.about-photo-layer{position:absolute;inset:0;transition:opacity 1.2s ease}
.about-photo-layer img{width:100%;height:100%;object-fit:cover}
.about-photo-layer .ph-box{width:100%;height:100%;border-radius:var(--radius);line-height:1.8}
.about-photo-layer.is-work{filter:grayscale(1)}
.about-photo-layer.is-work .ph-box{background:#ECE9E4;color:#5d5d5d;border-color:#b9b4ad}
.about-photo-layer.is-face{opacity:0}
.about-photo.is-color .is-face{opacity:1}
@media(prefers-reduced-motion:reduce){.about-photo-layer{transition:none}}
.about-photo-note{font-size:12px;color:var(--ink-2);text-align:right;margin:8px 0 0}
.about-intro{margin:28px 0 8px}
.about-name{font-family:var(--serif);font-size:22px;letter-spacing:.08em;margin:0 0 6px}
.about-name span{font-family:var(--sans);font-size:12px;color:var(--wood);letter-spacing:.2em;margin-right:12px;vertical-align:middle}
.about-name small{font-size:14px;color:var(--ink-2);margin-left:4px}
.about-catch{font-size:24px;line-height:1.6}
.about-sec{padding:40px 0 0}
.about-h{font-size:20px;margin-bottom:16px;display:flex;align-items:center;gap:10px}
.about-h::before{content:"";width:4px;height:1.1em;background:var(--wood);border-radius:2px;flex-shrink:0}
.about-greeting p{margin-bottom:14px;font-size:15px}
.about-greeting .ph{margin-right:6px}
.about-sign{text-align:right;font-family:var(--serif);color:var(--ink-2)}
.about-sec .points{margin-top:0}
.profile-list{display:grid;grid-template-columns:auto 1fr;border-top:1px solid var(--rule);font-size:15px}
.profile-list dt,.profile-list dd{padding:12px 4px;border-bottom:1px solid var(--rule)}
.profile-list dt{color:var(--ink-2);font-size:13px;padding-right:16px}
.about-cta{margin-top:48px}
@media(min-width:900px){
  .about-photo{aspect-ratio:16/9}
  .about-catch{font-size:30px}
  .profile-list dt{width:13em}
}

/* ---------- できる工事 ---------- */
.svc-page{padding-top:28px;padding-bottom:56px}
.svc-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.svc-card{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;
  background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:18px 10px;min-height:112px;
  text-decoration:none;transition:border-color .2s,transform .2s
}
.svc-card:hover,.svc-card:focus-visible{border-color:var(--wood);transform:translateY(-2px)}
.svc-card svg{width:34px;height:34px;color:var(--wood)}
.svc-card b{font-family:var(--serif);font-size:15px;font-weight:600;line-height:1.5}
.svc-card small{font-size:11px;color:var(--ink-2);margin-top:-6px;line-height:1.4}
.svc-sec{padding-top:48px}
.svc-sec > h2{font-size:22px;margin-bottom:18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.svc-sec > h2::before{content:"";width:4px;height:1.1em;background:var(--wood);border-radius:2px;flex-shrink:0}
.svc-sec > h2 small{font-family:var(--sans);font-size:13px;color:var(--ink-2);font-weight:400;letter-spacing:.04em}
/* 写真の並び：スマホは横にスライド、パソコンは横に並べる */
.svc-media{margin:0 0 18px}
.svc-gallery{
  display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  margin:0 -20px;padding:0 20px 6px;scroll-padding-left:20px;scrollbar-width:thin
}
.svc-gallery figure{flex:0 0 82%;margin:0;scroll-snap-align:start;position:relative}
.svc-gallery.is-single figure{flex-basis:100%}
.svc-gallery img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius);display:block}
.svc-gallery figcaption{
  position:absolute;left:8px;bottom:8px;font-size:12px;background:rgba(255,253,249,.92);color:var(--ink);
  padding:2px 10px;border-radius:999px
}
.svc-gallery:focus-visible{outline:2px solid var(--wood);outline-offset:2px}
.svc-body{display:grid;gap:14px}
.svc-worry,.svc-works{background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:18px 18px 16px}
.svc-body h3{font-size:15px;margin-bottom:8px;color:var(--wood-d)}
.svc-body ul{list-style:none;margin:0;padding:0}
.svc-body li{position:relative;padding:5px 0 5px 26px;font-size:15px;line-height:1.7}
.svc-worry li::before{
  content:"?";position:absolute;left:0;top:8px;width:18px;height:18px;border-radius:50%;border:1px solid var(--wood-l);
  color:var(--wood);font-size:11px;line-height:16px;text-align:center;font-weight:700
}
.svc-works li::before{content:"";position:absolute;left:4px;top:13px;width:10px;height:6px;border-left:2px solid var(--moss);border-bottom:2px solid var(--moss);transform:rotate(-45deg)}
.svc-note{font-size:13px;color:var(--ink-2);margin:10px 0 0}
.svc-cta{margin-top:56px}
@media(min-width:900px){
  .svc-cards{grid-template-columns:repeat(6,1fr);gap:12px}
  .svc-sec{padding-top:64px}
  .svc-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:12px;overflow:visible;margin:0;padding:0}
  .svc-gallery.is-single{grid-auto-columns:minmax(0,520px)}
  .svc-body{grid-template-columns:1fr 1fr;gap:16px}
}

/* ---------- リフォームメニュー（分野ごとのカード） ---------- */
.rm-page{padding-top:28px;padding-bottom:56px}
.rm-grid{display:grid;gap:12px;align-items:start}
@media(min-width:640px){.rm-grid{grid-template-columns:repeat(2,1fr);gap:14px}}
@media(min-width:960px){.rm-grid{grid-template-columns:repeat(3,1fr);gap:16px}}
.rm-card{background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:16px 16px 6px;scroll-margin-top:84px}
.rm-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.rm-head svg{width:34px;height:34px;color:var(--wood);flex-shrink:0}
.rm-head h2{font-size:18px;line-height:1.4;margin:0}
.rm-head h2 small{display:block;font-family:var(--sans);font-size:12px;font-weight:400;color:var(--ink-2);letter-spacing:.03em;margin-top:2px}
.rm-card--small{border-color:var(--wood-l);background:#FFFBF4}
.rm-info{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:baseline;margin:0;padding:10px 0 12px;border-top:1px dashed var(--rule)}
.rm-info dt{font-size:12px;font-weight:700;color:var(--wood-d);white-space:nowrap}
.rm-info dd{margin:0}
.rm-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.rm-tags li{font-size:13px;line-height:1.5;background:var(--bg-2);border-radius:999px;padding:3px 10px}
.rm-price-val{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--ink)}
.rm-price-note{font-size:12px;color:var(--ink-2);margin:12px 0 0}
/* 詳しく見る（折りたたみ） */
.rm-more{border-top:1px solid var(--rule)}
.rm-more summary{
  list-style:none;cursor:pointer;padding:10px 2px;font-size:14px;font-weight:700;color:var(--wood-d);
  display:flex;align-items:center;justify-content:space-between;transition:color .2s
}
.rm-more summary::-webkit-details-marker{display:none}
.rm-more summary::after{content:"";width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.rm-more[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.rm-more summary:hover,.rm-more summary:focus-visible{color:var(--ink)}
.rm-more[open] summary{color:var(--ink)}
.rm-more-body{padding:0 0 12px}
.rm-more-body p{font-size:14px;line-height:1.8;margin:0 0 10px}
.rm-more-body a{color:var(--moss)}
/* カードの中の写真は、パソコンでも横にスライド */
.rm-card .svc-gallery{display:flex;overflow-x:auto;margin:0;padding:0 0 6px;gap:8px}
.rm-card .svc-gallery figure{flex:0 0 86%}
.rm-card .svc-gallery.is-single figure{flex-basis:100%}
.rm-card .img-note,.rm-more-body p.img-note{font-size:10px;line-height:1.5;margin:2px 0 0}
.rm-cta{margin-top:40px}
.rm-cta h2{font-size:20px;margin-bottom:6px}
.rm-cta-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.rm-cta-btns .btn{min-width:200px}

/* ---------- お問い合わせ ---------- */
.contact-page{padding-top:28px;padding-bottom:56px}
.contact-grid{display:grid;gap:14px}
@media(min-width:900px){.contact-grid{grid-template-columns:repeat(3,1fr);gap:16px}}
.contact-box{background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:24px 20px;display:flex;flex-direction:column;gap:10px}
.contact-box h2{font-size:19px;margin:0}
.contact-box p{font-size:14px;color:var(--ink-2);margin:0}
.contact-box .btn{align-self:flex-start;margin-top:auto}
.contact-tel a{font-family:var(--serif);font-size:26px;font-weight:600;color:var(--ink);text-decoration:none;letter-spacing:.06em}
.contact-mail{font-size:16px}

/* ---------- 準備中ページ ---------- */
.soon-page{padding:80px 0;text-align:center}
.soon-page h1{font-size:24px;margin-bottom:12px}
.soon-page p{color:var(--ink-2);font-size:14px;margin-bottom:28px}

/* ---------- フッター ---------- */
.site-footer{padding:48px 0 28px;font-size:13px}
.site-footer .f-grid{display:grid;gap:26px}
.site-footer dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px}
.site-footer dt{opacity:.7}
.site-footer .f-area{display:block;font-size:11px;line-height:1.7;opacity:.85;margin-top:2px}
.site-footer ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:4px}
.site-footer a{text-decoration:none;opacity:.9}
.site-footer .ph{color:#FBF6EE;border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08)}
.copy{text-align:center;opacity:.7;margin-top:30px;font-size:11px}
@media(min-width:900px){.site-footer .f-grid{grid-template-columns:1.2fr 1fr 1fr}}

/* ---------- スマホ下部の固定ボタン ---------- */
.fixed-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:1fr 1.6fr;
  gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,253,249,.97);
  border-top:1px solid var(--rule);
}
.fixed-cta .btn{min-height:48px;padding:0 10px;font-size:14px}
.fixed-cta{transition:opacity .25s,transform .25s,visibility .25s}
/* トップの一番上（メインビジュアル）を見ている間は隠す（js/site.js で切り替え） */
body.cta-hidden .fixed-cta{opacity:0;visibility:hidden;transform:translateY(16px);pointer-events:none}
@media(min-width:900px){
  body{padding-bottom:0}
  .fixed-cta{left:auto;right:24px;bottom:24px;grid-template-columns:auto;background:none;border:0;padding:0}
  .fixed-cta .btn-ghost{display:none}
  .fixed-cta .btn-line{box-shadow:0 8px 20px rgba(0,0,0,.15)}
}

/* 記事のイラスト画像 */
.article-img{margin:24px 0 8px}
.article-img img{width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--rule)}
.card-thumb.has-img{aspect-ratio:auto;display:block}
.card-thumb.has-img img{width:100%;height:auto}
/* スマホ（1列のとき）：イラストを左に小さく（切らずに全体表示）、右にタイトルと説明。最初から中身が見えるように */
@media(max-width:639px){
  .card{flex-direction:row;align-items:flex-start}
  .card-thumb{flex:0 0 38%;max-width:150px;align-self:stretch;aspect-ratio:auto;border-right:1px solid var(--rule)}
  .card-thumb:not(.has-img) svg{width:60%}
  .card-thumb.has-img{align-self:flex-start;border-right:0}
  .card-thumb.has-img img{border-radius:0}
  .card-body{padding:12px 14px 14px;gap:6px;min-width:0}
  .card-body h2{font-size:15px;line-height:1.55}
  .card-body p{font-size:12.5px;line-height:1.65}
  .card-meta{flex-wrap:wrap;gap:6px 10px}
}
.article ul.dots{margin:8px 0 18px 1.2em}
.article ul.dots li{margin-bottom:6px}
.article h3.sub{font-size:16px;margin:24px 0 6px}

/* =========================================================
   ブログ（雑誌風の一覧・記事ページ・施工事例）
   ========================================================= */
.mag-section{padding:28px 0 56px}
.mag-list{list-style:none;display:grid;gap:28px 24px}
.mag-card{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit}
.mag-thumb{background:var(--bg-2);border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
/* イラストは切らずに全体を見せる */
.mag-thumb img{width:100%;height:100%;object-fit:contain;transition:transform .5s ease}
.mag-thumb svg{width:34%;color:var(--wood-l)}
.mag-card:hover .mag-thumb img{transform:scale(1.03)}
.mag-body{padding:14px 2px 0;display:flex;flex-direction:column;gap:6px}
.mag-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--ink-2);letter-spacing:.06em}
.mag-cat{color:var(--moss);font-weight:700}
.mag-title{font-family:var(--serif);font-size:17px;font-weight:600;line-height:1.6;letter-spacing:.05em}
.mag-card:hover .mag-title{color:var(--wood-d);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.mag-excerpt{font-size:13.5px;color:var(--ink-2);line-height:1.8}
.mag-more{align-self:flex-start;margin-top:8px;font-size:13px;color:var(--wood-d);border-bottom:1px solid var(--wood);padding-bottom:2px;letter-spacing:.1em}
/* 先頭の1本だけ大きく */
.mag-feature .mag-thumb{aspect-ratio:16/10}
.mag-feature .mag-title{font-size:21px;line-height:1.55}
.mag-feature .mag-excerpt{font-size:14.5px}
/* スマホ：2本目からは左に小さな絵、右に文字（最初から中身が見える） */
@media(max-width:639px){
  .mag-list{gap:0}
  .mag-feature{padding-bottom:26px;margin-bottom:6px;border-bottom:1px solid var(--rule)}
  .mag-item:not(.mag-feature) .mag-card{flex-direction:row;gap:14px;padding:16px 0;border-bottom:1px solid var(--rule)}
  .mag-item:not(.mag-feature) .mag-thumb{flex:0 0 34%;max-width:140px;aspect-ratio:1/1;border-radius:10px;align-self:flex-start}
  .mag-item:not(.mag-feature) .mag-body{padding:0;min-width:0;gap:4px}
  .mag-item:not(.mag-feature) .mag-title{font-size:15px}
  .mag-item:not(.mag-feature) .mag-excerpt{font-size:12.5px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}
@media(min-width:640px){.mag-list{grid-template-columns:1fr 1fr}.mag-feature{grid-column:1 / -1}}
@media(min-width:900px){
  .mag-section{padding:40px 0 80px}
  .mag-list{grid-template-columns:repeat(3,1fr);gap:48px 32px}
  .mag-feature{padding-bottom:48px;border-bottom:1px solid var(--rule)}
  .mag-feature .mag-card{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center}
  .mag-feature .mag-body{padding:0}
  .mag-feature .mag-title{font-size:28px;line-height:1.55}
  .mag-feature .mag-excerpt{font-size:15px}
}

/* ---------- 記事ページ ---------- */
.article-head{margin-top:28px}
.article-head .article-meta{margin-top:0;flex-wrap:wrap;gap:8px 14px}
.read-time{font-size:12px}
.read-time::before{content:"";display:inline-block;width:11px;height:11px;margin-right:5px;vertical-align:-1px;border:1.5px solid currentColor;border-radius:50%}
.article .article-head h1{font-size:25px;line-height:1.6;margin:14px 0 10px;letter-spacing:.06em}
@media(min-width:900px){.article .article-head h1{font-size:34px;margin:18px 0 12px}}
.article-areas{font-size:13px;color:var(--ink-2)}
.article-areas a{color:var(--wood-d)}
/* アイキャッチ：大きく。イラストは切らずに全体を見せる */
.article-eyecatch{margin:26px -20px 8px;background:var(--bg-2);padding:20px}
.article-eyecatch img{width:100%;max-width:560px;height:auto;margin:0 auto;border-radius:10px;box-shadow:0 10px 30px rgba(47,42,37,.08)}
@media(min-width:760px){.article-eyecatch{margin:32px 0 8px;border-radius:var(--radius);padding:36px}}
.article-body{font-size:16px;line-height:2}
@media(min-width:900px){.article-body{font-size:16.5px}}
.article-body .summary{margin-top:28px}
/* 目次 */
.toc{margin:32px 0 8px;background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:20px 22px}
.toc-title{font-family:var(--serif);font-weight:600;letter-spacing:.2em;font-size:14px;margin-bottom:8px;color:var(--wood-d)}
.toc ol{list-style:none;counter-reset:toc}
.toc li{border-top:1px dashed var(--rule)}
.toc li:first-child{border-top:0}
.toc li:not(.toc-sub){counter-increment:toc}
.toc a{display:flex;gap:10px;align-items:baseline;padding:9px 0;text-decoration:none;font-size:14px;line-height:1.7}
.toc li:not(.toc-sub) > a::before{content:counter(toc,decimal-leading-zero);font-family:var(--serif);color:var(--wood);font-size:13px;flex:0 0 auto}
.toc-sub a{padding-left:30px;font-size:13px;color:var(--ink-2)}
.toc a:hover{color:var(--wood-d);text-decoration:underline}
.toc-label{font-size:11px;color:var(--ink-2);flex:0 0 auto}
.toc-label::after{content:"｜";margin-left:4px;color:var(--rule)}
.article h2[id],.article h3[id]{scroll-margin-top:90px}
/* 管理画面（Markdown）で書いた本文の見た目 */
.article-body h3{font-size:17px;margin:30px 0 10px;padding-left:12px;border-left:3px solid var(--wood-l)}
.article-body > ul:not([class]),.article-body > ol:not([class]){margin:8px 0 18px 1.4em}
.article-body > ul:not([class]) li,.article-body > ol:not([class]) li{margin-bottom:6px}
.article-body blockquote{margin:18px 0;padding:14px 18px;background:var(--paper);border-left:3px solid var(--wood-l);color:var(--ink-2);border-radius:0 10px 10px 0}
.article-body blockquote p:last-child{margin-bottom:0}
.article-body table:not([class]){width:100%;border-collapse:collapse;font-size:14px;margin:8px 0 18px}
.article-body table:not([class]) th,.article-body table:not([class]) td{border:1px solid var(--rule);padding:10px;text-align:left;vertical-align:top}
.article-body table:not([class]) th{background:var(--bg-2)}
.article-body p > img,.article-body > img,.article-body figure img{width:100%;height:auto;border-radius:10px;margin:18px 0}
.article-body a{color:var(--wood-d)}
.article-body hr{border:0;border-top:1px solid var(--rule);margin:36px 0}
/* 著者 */
.author-box{display:flex;gap:16px;align-items:flex-start;margin:48px 0 0;padding:22px 4px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.author-mark{flex:0 0 56px;width:56px;height:56px;border-radius:50%;object-fit:contain;background:var(--paper);border:1px solid var(--rule);padding:6px}
.author-role{font-size:11px;letter-spacing:.2em;color:var(--ink-2);margin:0}
.article .author-role{margin:0}
.article .author-name{font-family:var(--serif);font-weight:600;font-size:16px;margin:2px 0 6px}
.article .author-text{font-size:13.5px;color:var(--ink-2);line-height:1.8;margin-bottom:8px}
.author-link{font-size:13px;color:var(--wood-d)}
.article-cta{margin-top:36px}
/* 関連記事 */
.related{margin-top:48px}
.article .related-title{display:block;font-size:18px;letter-spacing:.12em;border-bottom:0;padding-bottom:0;margin:0 0 14px}
.related-list{list-style:none;display:grid;gap:12px}
.related-list a{display:flex;gap:14px;align-items:center;text-decoration:none;padding:10px;background:var(--paper);border:1px solid var(--rule);border-radius:12px}
.related-list a:hover{border-color:var(--wood-l)}
.related-thumb{flex:0 0 76px;width:76px;height:76px;border-radius:8px;background:var(--bg-2);overflow:hidden}
.related-thumb img{width:100%;height:100%;object-fit:contain}
.related-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.related-body small{font-size:11px;color:var(--moss);font-weight:700}
.related-body span{font-family:var(--serif);font-size:14.5px;line-height:1.6}
@media(min-width:760px){
  .related-list{grid-template-columns:repeat(3,1fr)}
  .related-list a{flex-direction:column;align-items:stretch;padding:0;overflow:hidden}
  .related-thumb{width:100%;height:auto;aspect-ratio:4/3;flex:none;border-radius:0}
  .related-body{padding:10px 14px 14px}
}
/* 施工事例 */
.ba{display:grid;gap:16px;margin:28px 0}
@media(min-width:640px){.ba{grid-template-columns:1fr 1fr}}
.ba-set{position:relative;display:grid;gap:8px}
.ba-set img{width:100%;height:auto;border-radius:10px}
.ba-label{position:absolute;top:10px;left:10px;z-index:1;font-family:var(--serif);font-size:13px;letter-spacing:.15em;padding:2px 12px;border-radius:999px;background:rgba(47,42,37,.75);color:#fff}
.ba-after .ba-label{background:var(--wood)}
.case-facts{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0}
.case-facts th,.case-facts td{border-bottom:1px solid var(--rule);padding:12px 8px;text-align:left;vertical-align:top}
.case-facts th{width:30%;color:var(--ink-2);font-weight:400;white-space:nowrap}
.case-note{font-size:12px;color:var(--ink-2)}
.mag-thumb.is-photo img{object-fit:cover}

/* =========================================================
   代表紹介ページ（デザイン案どおり：金のアクセント・白黒の作業写真）
   ========================================================= */
.ab{--gold:#B07D2A;--gold-l:#D9B26A;--gold-grad:linear-gradient(100deg,#A87522,#C9994A 45%,#B38536);background:#FAF7F2}
.ab-hero{overflow:hidden}
.ab-hero-in{display:grid;align-items:start;margin-top:8px}
.ab-hero-in > *{grid-area:1 / 1}
/* 写真：表示サイズはデザイン案より約20%小さく。画像そのものはそのまま、端だけ背景になじませる */
.ab-photo{justify-self:end;width:62%;margin:-6px -20px 0 0;position:relative;z-index:0}
.ab-photo img{width:100%;height:auto;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 22%,#000 92%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 76%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 22%,#000 92%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 76%,transparent 100%);
  mask-composite:intersect}
.ab-hero-text{position:relative;z-index:1;padding-top:18px}
.ab-label{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:13px;font-weight:600;letter-spacing:.18em;color:var(--gold);margin:0}
.ab-label::after{content:"";width:56px;height:1px;background:var(--gold-l)}
.ab .ab-title{font-family:var(--serif);font-size:17px;font-weight:600;letter-spacing:.2em;margin:2px 0 18px;color:var(--ink)}
.ab-catch{font-family:var(--serif);font-weight:600;font-size:24px;line-height:1.55;letter-spacing:.04em;color:#1F1B17;margin:0}
.ab-swoosh{display:block;width:62%;max-width:300px;height:auto;margin:8px 0 18px -4px}
.ab-name{margin-left:14px}
.ab-name p{margin:0}
.ab-name-role{font-family:var(--serif);font-size:12px;letter-spacing:.06em;color:var(--ink-2)}
.ab-name-main{border-left:3px solid var(--gold);padding-left:10px;margin-top:2px !important;font-family:var(--serif);font-weight:600;font-size:22px;letter-spacing:.12em;line-height:1.4}
.ab-name-main small{font-size:13px;font-weight:500;letter-spacing:.05em;margin-left:4px}
.ab-name-en{padding-left:13px;font-family:var(--serif);font-size:10.5px;letter-spacing:.24em;color:var(--gold)}
/* ごあいさつ */
.ab-greet{padding:36px 0 8px}
.ab-h{display:flex;align-items:center;gap:12px;font-size:21px;letter-spacing:.14em;margin-bottom:16px}
.ab-h::before{content:"";width:5px;height:1.2em;background:var(--gold-grad);border-radius:1px;flex:0 0 auto}
.ab-h-en{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:600;letter-spacing:.16em;color:var(--gold)}
.ab-h-en::before{content:"";width:44px;height:1px;background:var(--ink-2);opacity:.5}
.ab-greet-text{font-size:14.5px;line-height:2.1;letter-spacing:.06em;color:#2A2520;margin:0}
.br-pc{display:none}
/* 大切にしていること */
.ab-policy{padding:44px 0 48px}
.ab-policy-en{text-align:center;font-family:var(--serif);font-size:12px;font-weight:600;letter-spacing:.18em;color:var(--gold);margin:0 0 2px}
.ab-policy-h{display:flex;align-items:center;gap:14px;font-size:18px;letter-spacing:.14em;text-align:center;margin-bottom:26px}
.ab-policy-h::before,.ab-policy-h::after{content:"";flex:1;height:1px;background:var(--gold-l)}
.ab-policy-h span{flex:0 1 auto}
.ab-policy-list{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);text-align:center}
.ab-policy-list li{padding:0 2px;display:flex;flex-direction:column;align-items:center}
.ab-policy-list li + li{border-left:1px solid var(--gold-l)}
.ab-policy-list svg{width:36px;height:36px;fill:none;stroke:var(--gold);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin-bottom:10px}
.ab-policy-list h3{font-size:14px;letter-spacing:.02em;margin-bottom:6px}
.ab-policy-list p{font-size:11px;line-height:1.9;letter-spacing:0;color:#3A332C;margin:0}
/* ボタン */
.ab-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;margin-top:40px}
.ab-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border-radius:999px;font-family:var(--serif);font-weight:600;font-size:15px;letter-spacing:.1em;text-decoration:none;white-space:nowrap}
.ab-btn-tel{border:1.5px solid #2A2520;color:#2A2520;background:#fff}
.ab-btn-tel svg{width:20px;height:20px;fill:var(--gold)}
.ab-btn-line{background:var(--gold-grad);color:#fff;box-shadow:0 6px 16px rgba(160,115,40,.25)}
.ab-btn-line:hover,.ab-btn-tel:hover{filter:brightness(1.05)}
.ab-line-mark{font-family:var(--sans);font-size:9px;font-weight:700;letter-spacing:0;color:var(--gold);background:#fff;border-radius:50%/45%;padding:5px 5px}
.ab-arrow{width:24px;height:10px;fill:none;stroke:#fff;stroke-width:1.5}
@media(max-width:380px){.ab-btn{font-size:13.5px;letter-spacing:.04em}.ab-arrow{display:none}}
.ab-rest{padding-top:8px}
@media(min-width:760px){
  .ab-photo{width:46%;max-width:500px;margin-right:0}
  .ab-hero-text{padding-top:48px}
  .ab-label{font-size:15px}
  .ab .ab-title{font-size:22px;margin-bottom:28px}
  .ab-catch{font-size:40px}
  .ab-name-main{font-size:28px}
  .ab-name-main small{font-size:16px}
  .ab-name-en{font-size:12px}
  .ab-name-role{font-size:14px}
  .ab-greet{padding-top:20px}
  .ab-h{font-size:26px}
  .ab-greet-text{font-size:16px;max-width:600px}
  .br-pc{display:inline}
  .ab-policy{padding:72px 0 64px}
  .ab-policy-h{font-size:24px;margin-bottom:36px}
  .ab-policy-list svg{width:52px;height:52px}
  .ab-policy-list h3{font-size:20px}
  .ab-policy-list p{font-size:14px}
  .ab-actions{max-width:720px;margin:56px auto 0;gap:24px}
  .ab-btn{min-height:62px;font-size:18px}
}
@media(min-width:1000px){.ab-hero-text{padding-top:72px}.ab-catch{font-size:46px}}
.ab-catch,.ab-label,.ab-title{text-shadow:0 0 12px #FAF7F2,0 0 4px #FAF7F2}
@media(max-width:639px){.ab .profile-list{grid-template-columns:7.5em 1fr}}
@media(min-width:760px){
  .ab-photo{width:44%;margin-top:-20px}
  .ab-greet{position:relative;z-index:1;margin-top:-150px}
  .ab-policy-list svg{width:52px;height:52px}
  .ab-policy-list h3{font-size:20px;letter-spacing:.1em}
  .ab-policy-list p{font-size:14px;letter-spacing:.04em}
}
@media(max-width:759px){.ab-greet{padding-top:4px}}
/* 代表紹介：水彩の葉の飾り（デザイン案の画像から切り抜き）・金のアクセントを強める・写真の端をより自然に */
.ab{--gold:#B5842C;overflow:hidden}
.ab-greet,.ab-policy{position:relative}
.ab-greet .wrap,.ab-policy .wrap{position:relative;z-index:1}
.ab-leaf{position:absolute;z-index:0;height:auto;pointer-events:none}
.ab-leaf-r{right:0;bottom:-24px;width:min(68%,300px)}
.ab-greet{padding-bottom:130px}
.ab-leaf-l{left:0;bottom:-10px;width:92px}
.ab-h-en::before{background:var(--gold-l);opacity:1}
.ab-label{font-weight:700}
.ab-label::after{height:1.5px;background:var(--gold)}
.ab-swoosh{width:72%;max-width:340px}
.ab-photo img{
  -webkit-mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.35) 18%,#000 42%,#000 94%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 52%,rgba(0,0,0,.4) 78%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.35) 18%,#000 42%,#000 94%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 52%,rgba(0,0,0,.4) 78%,transparent 100%)}
@media(min-width:760px){
  .ab-greet{padding-bottom:40px}
  .ab-leaf-r{width:min(36%,440px);bottom:-30px}
  .ab-leaf-l{width:170px;bottom:-20px}
}
/* スマホ：人物写真は画面幅の約4割 */
@media(max-width:759px){.ab-photo{width:45%;margin-top:6px}}

/* ヘッダー：ロゴの横に縦線とキャッチコピー（パソコン表示だけ） */
.header-tagline{display:none}
@media(min-width:900px){
  .header-tagline{display:flex;align-items:center;margin:0 auto 0 18px;padding-left:18px;border-left:1px solid var(--ink-2);height:34px;font-family:var(--serif);font-size:13px;font-weight:500;letter-spacing:.12em;color:var(--ink);white-space:nowrap}
}
@media(min-width:1200px){
  .header-tagline{font-size:12px;letter-spacing:.06em;margin-left:14px;padding-left:14px}
  .global-nav,.global-nav.open{margin-left:0}
}

/* 右下についてくる「LINEで無料相談」ボタンは出さない（パソコン表示）。スマホ下部の電話・LINEバーはそのまま */
@media(min-width:900px){.fixed-cta{display:none}}

/* 代表紹介：上の空白を詰める・パソコンでは文章と写真を中央寄りにまとめる */
.ab-hero .breadcrumb{padding-top:10px}
.ab-hero-in{margin-top:0}
.ab-hero-text{padding-top:6px}
@media(min-width:760px){
  .ab-hero .wrap,.ab-greet .wrap{max-width:980px}
  .ab-hero-text{padding-top:24px}
  .ab-photo{width:47%;max-width:460px;margin-top:-10px}
}
@media(min-width:1000px){.ab-hero-text{padding-top:40px}}
/* ヘッダーにキャッチコピーを入れた分、横幅を広げ、メニューの間隔を少し詰める */
@media(min-width:1200px){
  .site-header .wrap{max-width:1480px;gap:14px}
  .global-nav a{padding:6px 8px;font-size:13.5px;letter-spacing:.02em}
  .header-tagline{font-size:11.5px;letter-spacing:.02em;margin-left:12px;padding-left:12px}
}
@media(min-width:1440px){.global-nav a{padding:6px 10px;font-size:14px;letter-spacing:.04em}.header-tagline{font-size:12.5px;letter-spacing:.08em}}
.ab-hero{padding-top:0;padding-bottom:0}
@media(max-width:759px){.ab-greet{padding-top:40px}}
@media(min-width:760px){.ab-greet{margin-top:-80px}}
/* キャッチコピー：画面幅640px以上（パソコン・タブレット）で表示、少し大きく */
@media(min-width:640px){
  .header-tagline{display:flex;align-items:center;margin:0 auto 0 16px;padding-left:16px;border-left:1px solid var(--ink-2);height:34px;font-family:var(--serif);font-size:13px;font-weight:600;letter-spacing:.08em;color:var(--ink);white-space:nowrap}
}
@media(min-width:1200px){.header-tagline{font-size:13px;letter-spacing:.04em;margin-left:12px;padding-left:12px}}
@media(min-width:1440px){.header-tagline{font-size:15px;letter-spacing:.08em;margin-left:16px;padding-left:16px}}
@media(min-width:1200px) and (max-width:1365px){
  .site-header .wrap{gap:10px}
  .header-tagline{font-size:12px;letter-spacing:0;margin-left:10px;padding-left:10px}
  .global-nav a{padding:6px 6px;font-size:13px;letter-spacing:0}
  .header-tel{padding:6px 10px}
}
/* コラムの「大工からのアドバイス」：代表のイラストアイコン（丸いまま小さく） */
img.advice-face{flex:0 0 64px;width:64px;height:64px;padding:0;border-radius:50%;object-fit:cover;background:none}
@media(max-width:480px){img.advice-face{flex-basis:52px;width:52px;height:52px}}
/* 総合レビュー：押しやすさ・404ページ */
.author-link{display:inline-block;padding:8px 0}
.notfound-links{list-style:none;display:grid;gap:10px;max-width:420px}
.notfound-links a{display:block;padding:14px 18px;background:var(--paper);border:1px solid var(--rule);border-radius:12px;text-decoration:none}
.notfound-links a:hover{border-color:var(--wood-l)}
/* プライバシーポリシー */
.policy{max-width:760px;padding-top:28px;padding-bottom:56px}
.policy section{margin-bottom:32px}
.policy h2{font-size:18px;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid var(--rule)}
.policy p{font-size:15px;margin-bottom:10px}
.policy ul{margin:6px 0 10px 1.3em;font-size:15px}
.policy li{margin-bottom:4px}
.policy-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;font-size:15px}
.policy-dl dt{color:var(--ink-2)}
.policy-date{text-align:right;font-size:13px;color:var(--ink-2)}
.copy a{text-decoration:underline;text-underline-offset:3px}
.rm-price-sub{display:block;font-size:12px;color:var(--ink-2);line-height:1.5;margin-top:2px;font-family:var(--sans);font-weight:400}
/* コラムのカテゴリボタン：横スクロールをやめて折り返し、全部のカテゴリが一目で見えるように（スマホ・パソコン共通） */
.filter.mag-filter{flex-wrap:wrap;overflow:visible;margin-left:0;margin-right:0;padding:0;-webkit-mask-image:none;mask-image:none;scroll-snap-type:none;gap:8px}
.filter.mag-filter .filter-btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:639px){
  .filter.mag-filter{gap:6px}
  .filter.mag-filter .filter-btn{font-size:12.5px;padding:6px 12px;min-height:36px}
}

/* メール相談フォーム（お問い合わせページ） */
.mail-form-sec{margin-top:40px;background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:28px 20px 32px;scroll-margin-top:80px}
.mail-form-sec h2{font-size:21px;margin:4px 0 10px}
.mf-lead{font-size:14px;color:var(--ink-2);margin-bottom:22px}
.mf-error{background:#FBEDE8;color:#8A3B26;border-radius:10px;padding:10px 14px;font-size:14px;margin-bottom:16px}
.mail-form{display:grid;gap:18px;max-width:640px}
.mf-row{display:grid;gap:6px}
.mf-row label{font-weight:700;font-size:14px;display:flex;align-items:center;gap:8px}
.mf-req{font-size:11px;font-weight:700;color:#fff;background:var(--wood);border-radius:4px;padding:1px 7px;letter-spacing:.05em}
.mail-form input[type=text],.mail-form input[type=tel],.mail-form input[type=email],.mail-form textarea{
  width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--rule);border-radius:10px;padding:12px 14px;line-height:1.6}
.mail-form textarea{resize:vertical;min-height:160px}
.mail-form input:focus,.mail-form textarea:focus{outline:2px solid var(--wood-l);outline-offset:1px;border-color:var(--wood-l)}
.mail-form input[type=file]{font-size:14px;padding:10px;background:#fff;border:1px dashed var(--wood-l);border-radius:10px;width:100%}
.mf-hint{font-size:12px;color:var(--ink-2);margin:0}
.mf-files{list-style:none;font-size:13px;color:var(--ink-2);display:grid;gap:2px}
.mf-files li::before{content:"📎 "}
.mf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.mf-privacy{font-size:12.5px;color:var(--ink-2);margin:0}
.mf-privacy a{color:var(--wood-d)}
.mf-status{font-size:14px;margin:0;min-height:1.4em}
.mf-status.is-error{color:#A2412A;font-weight:700}
.mf-submit{background:var(--wood);color:#fff;border:0;font:inherit;font-weight:700;font-size:16px;cursor:pointer;width:100%;max-width:360px;justify-self:start}
.mf-submit:hover{background:var(--wood-d)}
.mf-submit:disabled{opacity:.6;cursor:wait}
.thanks-note{margin-bottom:18px}
@media(min-width:760px){.mail-form-sec{padding:36px 40px 40px}.mail-form-sec h2{font-size:24px}}
