/* TAKUMI — 生成り×焦茶×柿色の和モダン・クラフト（工務店・リフォーム向け） */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --washi: #f5f0e6; --washi-d: #ede6d7; --brown: #3a2d21; --brown-d: #2a2018;
  --kaki: #b5541e; --kaki-d: #94441a; --kaki-soft: #f5e3d6;
  --ink: #33291f; --muted: #7a6f60; --line: #e0d8c8;
  --bg: #f5f0e6; --bg-soft: #ede6d7; --white: #ffffff;
  --serif: 'Shippori Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  /* 旧変数互換 */
  --green: #b5541e; --green-d: #94441a; --green-bg: #f5e3d6; --green-border: #e4c4ab;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ナビ：和紙×焦茶 */
nav { position: fixed; top: 0; left: 0; right: 0; padding: 1.05rem 2.2rem; display: flex; justify-content: space-between; align-items: center; background: rgba(245,240,230,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 100; }
.logo { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.24em; color: var(--brown); text-decoration: none; display: flex; align-items: baseline; gap: 12px; }
.logo small { font-family: var(--font); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 1.9rem; align-items: center; }
.nav-link { font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: 0.08em; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--kaki); }
.nav-cta { font-size: 13px; padding: 0.6rem 1.5rem; background: var(--kaki); border-radius: 2px; color: #fff !important; text-decoration: none; letter-spacing: 0.1em; font-weight: 700; transition: background 0.15s; }
.nav-cta:hover { background: var(--kaki-d); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0; color: var(--brown); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-overlay { display: none; }

/* ヒーロー：職人の手元×焦茶の帳 */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: var(--brown-d); background-image: url('/images/hero.jpg'); background-size: cover; background-position: center; z-index: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(97deg, rgba(32,24,16,0.93) 0%, rgba(42,32,24,0.78) 46%, rgba(42,32,24,0.25) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 8.5rem 2rem 4.5rem; width: 100%; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.34em; color: #d9a06b; margin-bottom: 1.75rem; font-weight: 700; }
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 54px); font-weight: 600; line-height: 1.5; letter-spacing: 0.05em; margin-bottom: 1.9rem; color: #f8f3ea; }
.hero h1 .accent { color: #e08a4e; }
.hero-body { font-size: clamp(14.5px, 1.9vw, 16.5px); color: #d8cfc2; max-width: 560px; line-height: 2.1; margin-bottom: 2.75rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-white { background: var(--kaki); color: #fff; }
.hero .btn-white:hover { background: var(--kaki-d); opacity: 1; }

/* ボタン：角を落とした和の矩形 */
.btn-rose, .btn-green { display: inline-flex; align-items: center; gap: 10px; padding: 1.05rem 2.3rem; background: var(--kaki); color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; border-radius: 2px; transition: background 0.15s; border: none; cursor: pointer; }
.btn-rose:hover, .btn-green:hover { background: var(--kaki-d); }
.btn-white { display: inline-flex; align-items: center; gap: 10px; padding: 1.05rem 2.3rem; background: #fff; color: var(--brown); text-decoration: none; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; border-radius: 2px; transition: opacity 0.15s; }
.btn-white:hover { opacity: 0.88; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 1.05rem 2.3rem; background: transparent; color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; border-radius: 2px; border: 1px solid rgba(255,255,255,0.6); transition: background 0.15s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-navy { display: inline-flex; align-items: center; gap: 10px; padding: 1.05rem 2.3rem; background: var(--brown); color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; border-radius: 2px; transition: background 0.15s; }
.btn-navy:hover { background: var(--brown-d); }
.btn-rose svg, .btn-white svg, .btn-ghost svg, .btn-green svg, .btn-navy svg { width: 15px; height: 15px; flex-shrink: 0; }

/* セクション */
.section { max-width: 1100px; margin: 0 auto; padding: 6.5rem 2rem; }
.section.soft, .bg-soft { background: var(--bg-soft); }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--kaki); font-weight: 700; margin-bottom: 1.1rem; }
.eyebrow.center { text-align: center; }
h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 36px); font-weight: 600; line-height: 1.55; letter-spacing: 0.06em; margin-bottom: 1.4rem; color: var(--brown); }
h2.center { text-align: center; }
.lead { font-size: 15.5px; color: var(--muted); line-height: 2.05; max-width: 640px; }
.lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* 訴求バー：焦茶に柿の罫 */
.stats { background: var(--brown); color: #f3ede2; }
.stats-inner { max-width: 1100px; margin: 0 auto; padding: 4.5rem 2rem; }
.stats-head { font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.stats-sub { color: #bfae97; font-size: 13.5px; letter-spacing: 0.06em; margin-bottom: 2.75rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.25rem 3rem; }
.stats-grid > div { border-left: 3px solid var(--kaki); padding-left: 1.3rem; }
.stat-num { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: 0.04em; margin-bottom: 0.7rem; color: #f0c9a8; }
.stat-desc { font-size: 13px; color: #cbbda9; line-height: 2; }

/* サービス：障子の格子カード */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; margin-top: 3rem; }
.svc-card { border: 1px solid var(--line); border-top: 3px solid var(--kaki); border-radius: 2px; overflow: hidden; background: #fffdf8; transition: box-shadow 0.18s; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(58,45,33,0.06); }
.svc-card:hover { box-shadow: 0 12px 34px rgba(58,45,33,0.14); transform: none; }
.svc-photo { display: none; }
.svc-body { padding: 1.9rem 1.7rem; flex: 1; }
.svc-no { font-family: var(--serif); font-size: 14px; letter-spacing: 0.28em; color: var(--kaki); font-weight: 600; margin-bottom: 0.9rem; }
.svc-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 0.7rem; line-height: 1.6; letter-spacing: 0.03em; color: var(--brown); }
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.95; }

/* 帯 */
.band { position: relative; color: #f3ede2; overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-color: var(--brown-d); background-image: url('/images/house.jpg'); background-size: cover; background-position: center; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(32,24,16,0.92), rgba(32,24,16,0.66)); }
.band-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }
.band .eyebrow { color: #d9a06b; }
.band h2 { color: #f8f3ea; }
.band .lead { color: #d8cfc2; }

/* 2カラム */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img { border-radius: 2px; aspect-ratio: 4/3; background-color: var(--washi-d); background-image: url('/images/house.jpg'); background-size: cover; background-position: center; box-shadow: 8px 8px 0 var(--kaki-soft); border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.tag { font-size: 12px; letter-spacing: 0.08em; padding: 6px 14px; border: 1px solid #e4c4ab; border-radius: 2px; color: var(--kaki-d); background: var(--kaki-soft); font-weight: 600; }

/* プロセス */
.steps { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.step { background: #fffdf8; border: 1px solid var(--line); border-radius: 2px; padding: 2.2rem 1.9rem; box-shadow: 0 1px 4px rgba(58,45,33,0.06); }
.step-n { width: 40px; height: 40px; border-radius: 2px; background: var(--brown); color: #f0c9a8; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 17px; margin-bottom: 1.1rem; }
.step h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 600; margin-bottom: 0.45rem; color: var(--brown); }
.step .meta { font-size: 12px; letter-spacing: 0.14em; color: var(--kaki); font-weight: 700; margin-bottom: 0.55rem; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

/* 料金 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; margin-top: 3rem; }
.price-card { border: 1px solid var(--line); border-radius: 2px; padding: 2.3rem 2rem; background: #fffdf8; box-shadow: 0 1px 4px rgba(58,45,33,0.06); }
.price-card.feature { border: 2px solid var(--kaki); position: relative; }
.price-badge { position: absolute; top: -13px; left: 2rem; background: var(--kaki); color: #fff; font-size: 11px; letter-spacing: 0.14em; font-weight: 700; padding: 4px 14px; border-radius: 2px; }
.price-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.3rem; color: var(--brown); }
.price-val { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--kaki-d); margin: 0.6rem 0; }
.price-val small { font-size: 13.5px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.price-card ul { list-style: none; margin-top: 1.1rem; }
.price-card li { font-size: 13px; color: var(--muted); padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "■ "; color: var(--kaki); font-size: 8px; vertical-align: 2px; }

/* CTA */
.cta-band { position: relative; color: #f3ede2; text-align: center; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background-color: var(--brown-d); background-image: url('/images/hero.jpg'); background-size: cover; background-position: center; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: rgba(30,22,15,0.9); }
.cta-band-inner { position: relative; z-index: 1; padding: 6.5rem 2rem; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #f8f3ea; }
.cta-band .eyebrow { color: #d9a06b !important; }
.cta-band p { color: #d8cfc2; font-size: 15px; margin-bottom: 2.5rem; }
.cta-band .btn-white { background: var(--kaki); color: #fff; }
.cta-band .btn-white:hover { background: var(--kaki-d); opacity: 1; }
.cta-mail { display: inline-block; margin-top: 1.4rem; color: #d9a06b; text-decoration: none; font-size: 13.5px; letter-spacing: 0.08em; }

/* 下層ページ見出し */
.page-head { background: var(--brown); color: #f3ede2; padding: 9rem 2rem 3.75rem; text-align: center; }
.page-head .eyebrow { color: #d9a06b !important; }
.page-head h1 { font-family: var(--serif); font-size: clamp(28px, 4.2vw, 42px); font-weight: 600; letter-spacing: 0.08em; color: #f8f3ea; }
.page-head p { color: #cbbda9; max-width: 580px; margin: 1.1rem auto 0; font-size: 14.5px; }

/* 法務テキスト */
.doc { max-width: 800px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.doc h2 { font-size: 18px; margin: 2.25rem 0 0.75rem; }
.doc p, .doc li { font-size: 14px; color: var(--muted); line-height: 1.95; }
.doc ul, .doc ol { margin: 0.5rem 0 0.5rem 1.4rem; }
.legal { max-width: 860px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.legal dt { font-weight: 700; font-size: 14px; color: var(--ink); padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.legal dd { font-size: 14px; color: var(--muted); padding: 1.1rem 0; border-bottom: 1px solid var(--line); line-height: 1.85; }
.legal dd .ph { background: var(--kaki-soft); color: var(--kaki-d); padding: 1px 6px; border-radius: 2px; font-weight: 700; }
@media (max-width:640px){ .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: none; padding-bottom: 0.2rem; } }

footer { background: var(--brown-d); color: #a89a86; padding: 2.75rem 2rem; text-align: center; font-size: 12px; letter-spacing: 0.06em; }
footer a { color: #d9a06b; text-decoration: none; margin: 0 0.6rem; }

.divider { border: none; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.25rem; }
  .logo small { display: none; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: 74%; max-width: 300px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.6rem; padding: 5.5rem 2rem 2rem; background: var(--washi); border-left: 1px solid var(--line); box-shadow: -8px 0 30px rgba(58,45,33,0.18); transform: translateX(106%); transition: transform 0.28s ease; z-index: 120; }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 16px; }
  .nav-cta { font-size: 14px; padding: 0.7rem 1.5rem; }
  .nav-overlay.open { display: block; position: fixed; inset: 0; background: rgba(32,24,16,0.45); z-index: 115; }
  .section { padding: 4rem 1.25rem; }
  .hero-inner { padding: 7rem 1.25rem 3.5rem; }
  .stats-inner, .band-inner, .cta-band-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-rose, .btn-white, .btn-ghost, .btn-green { justify-content: center; }
}
