/* サービス別ページ（/kusakari/ /bassai/ /chikurin/）共通スタイル。配色・ヘッダーはトップページと共通 */
:root {
  --kuma-dark: #3D2817;
  --kuma-brown: #8B5A3C;
  --kuma-cream: #F5EFE0;
  --kuma-fire: #D4541E;
  --cream-card: #fffaf0;
  --green: #4a6741;
  --green-deep: #385130;
  --line-green: #06c755;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  background: var(--kuma-cream);
  color: var(--kuma-dark);
  line-height: 1.9;
}
img, svg { max-width: 100%; }

/* ===== ヘッダー ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(61, 40, 23, .97);
  color: #fff;
  padding: 8px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: 0 2px 10px rgba(61,40,23,.3);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo img { height: 48px; width: 48px; object-fit: cover; border-radius: 50%; background: #fff; }
.logo .t1 { font-weight: 900; font-size: 1.12rem; letter-spacing: 1px; display: block; line-height: 1.3; white-space: nowrap; }
.logo .t2 { font-size: .62rem; letter-spacing: 2px; opacity: .8; display: block; }
nav { display: flex; gap: 2px; flex-wrap: wrap; }
nav a { color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700; padding: 6px 11px; border-radius: 8px; }
nav a:hover { background: rgba(255,255,255,.14); }
nav a.current { background: var(--green); }
.head-tel { text-align: right; font-weight: 900; white-space: nowrap; }
.head-tel a { color: #ffce8a; text-decoration: none; font-size: 1.02rem; }
.head-tel .s { display: block; font-size: .6rem; font-weight: 500; opacity: .85; }
.menu-btn {
  display: none; background: none; border: 1.5px solid rgba(255,255,255,.55); color: #fff;
  border-radius: 10px; padding: 7px 12px; font-family: inherit; font-weight: 900; font-size: .88rem;
  cursor: pointer; white-space: nowrap;
}
@media (max-width: 1080px) {
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(61,40,23,.98); flex-direction: column; gap: 0;
    padding: 6px 12px 12px; box-shadow: 0 10px 18px rgba(0,0,0,.28);
  }
  nav.open { display: flex; }
  nav a { padding: 13px 14px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  nav a:last-child { border-bottom: none; }
  nav a.current { background: none; color: #ffce8a; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) { .head-tel { display: none; } }

/* ===== パンくず ===== */
.crumb { max-width: 1040px; margin: 0 auto; padding: 12px 22px 0; font-size: .78rem; color: var(--kuma-brown); }
.crumb a { color: var(--kuma-brown); }

/* ===== ヒーロー ===== */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(74,103,65,.13), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(139,90,60,.12), transparent 50%),
    var(--kuma-cream);
  overflow: hidden;
}
.hero-in {
  max-width: 1040px; margin: 0 auto; padding: 30px 22px 34px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center;
}
@media (max-width: 760px) { .hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 22px; } }
.hero-eyebrow {
  display: inline-block; background: var(--green-deep); color: #ffce8a;
  font-size: .8rem; font-weight: 700; padding: 4px 16px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.6rem, 4.8vw, 2.5rem); font-weight: 900; line-height: 1.5; letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.hero h1 .em { color: var(--green); }
.hero h1 .nw { display: inline-block; white-space: nowrap; }
.hero .lead { font-size: .95rem; margin: 14px 0 24px; max-width: 540px; }
@media (max-width: 760px) { .hero .lead { margin-left: auto; margin-right: auto; text-align: left; } }
.hero-img { text-align: center; }
.hero-img img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; box-shadow: 0 6px 18px rgba(61,40,23,.18); display: block; }
.hero-img img.pos-top { object-position: center top; }
.hero-img .cap { font-size: .78rem; color: var(--kuma-brown); margin-top: 6px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-row { justify-content: center; } }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 900; font-size: 1rem; letter-spacing: 1px;
  box-shadow: 0 4px 0 rgba(61,40,23,.35); transition: transform .1s;
}
.btn:active { transform: translateY(3px); box-shadow: none; }
.btn-fire  { background: var(--kuma-fire); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-line  { background: var(--line-green); color: #fff; }
.btn-ghost { background: var(--cream-card); color: var(--kuma-dark); border: 2px solid var(--kuma-brown); }

.trust-bar { background: var(--kuma-dark); color: var(--kuma-cream); }
.trust-in {
  max-width: 1040px; margin: 0 auto; padding: 14px 20px;
  display: flex; justify-content: center; gap: 8px 34px; flex-wrap: wrap;
  font-size: .9rem; font-weight: 700;
}
.trust-in span::before { content: "✔ "; color: #ffce8a; }

/* ===== 共通 ===== */
section { padding: 58px 22px; }
.inner { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }
.eyebrow { text-align: center; color: var(--kuma-fire); font-weight: 900; letter-spacing: 4px; font-size: .8rem; }
.sec-title { text-align: center; font-size: clamp(1.4rem, 4vw, 1.95rem); font-weight: 900; letter-spacing: 2px; margin-bottom: 10px; }
.sec-sub { text-align: center; margin-bottom: 36px; color: var(--kuma-brown); font-size: .95rem; }
.center { text-align: center; }
.tint { background: #efe4cd; }

/* ===== カード ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature {
  background: var(--cream-card); border-radius: 20px; padding: 26px 22px; text-align: center;
  border: 2px solid #e6d9c3;
}
.feature .em { font-size: 2.2rem; line-height: 1; }
.feature h3 { margin: 12px 0 8px; font-size: 1.05rem; font-weight: 900; }
.feature p { font-size: .88rem; text-align: left; }

/* ===== 緑セクション（実績写真） ===== */
.green-section { background: linear-gradient(165deg, var(--green-deep), var(--green) 70%); color: #f2f0e4; }
.green-section .sec-title { color: #fff; }
.green-section .eyebrow { color: #ffce8a; }
.green-section .sec-sub { color: #d9d4bd; }
.works-title { text-align: center; font-weight: 900; margin-top: 30px; font-size: 1.05rem; }
.works-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.works-gallery figure { margin: 0; }
.works-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 14px; display: block; }
.works-gallery img.pos-top { object-position: center top; }
.works-gallery figcaption { font-size: .8rem; color: #d9d4bd; margin-top: 6px; text-align: center; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.ba-grid figure { margin: 0; position: relative; }
.ba-grid img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; display: block; }
.ba-grid img.pos-bottom { object-position: center bottom; }
.ba-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: rgba(61,40,23,.88); color: #fff; font-size: .78rem; font-weight: 900;
  padding: 3px 14px; border-radius: 999px;
}
.ba-badge.after { background: var(--kuma-fire); }
.ba-grid figcaption { font-size: .8rem; color: #d9d4bd; margin-top: 6px; text-align: center; }

/* ===== 料金 ===== */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.point {
  background: var(--cream-card); border-radius: 16px; padding: 20px; border: 2px solid #e6d9c3;
}
.point h3 { font-size: 1rem; font-weight: 900; color: var(--green-deep); margin-bottom: 4px; }
.point p { font-size: .86rem; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.case {
  background: var(--cream-card); border-radius: 16px; padding: 22px; border: 2px solid #e6d9c3;
  display: flex; flex-direction: column; gap: 6px;
}
.case .tag { font-size: .74rem; font-weight: 900; color: #fff; background: var(--green); border-radius: 6px; padding: 2px 10px; width: fit-content; }
.case h3 { font-size: 1rem; font-weight: 900; }
.case ul { list-style: none; font-size: .86rem; }
.case li { padding-left: 1.2em; text-indent: -1.2em; }
.case li::before { content: "・"; }
.case .yen { margin-top: auto; font-weight: 900; color: var(--kuma-fire); font-size: 1.15rem; }
.case .yen small { font-size: .74rem; color: var(--kuma-brown); font-weight: 700; }
.sub-title { text-align: center; font-weight: 900; font-size: 1.1rem; margin: 38px 0 4px; }
.price-note {
  background: var(--cream-card); border: 3px dashed var(--green); border-radius: 18px;
  padding: 22px 24px; margin-top: 26px; font-size: .92rem;
}
.price-note b { color: var(--green-deep); }

/* ===== 対応エリア ===== */
.area-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin-top: 8px; }
.area-list li {
  background: var(--cream-card); border: 2px solid #e6d9c3; border-radius: 999px;
  padding: 4px 16px; font-size: .9rem; font-weight: 700;
}
.area-list li.main { background: var(--green); border-color: var(--green); color: #fff; }
.area-note { text-align: center; font-size: .86rem; color: var(--kuma-brown); margin-top: 16px; }

/* ===== 流れ ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; counter-reset: step; }
.step-card {
  background: var(--cream-card); border-radius: 16px; padding: 22px 18px 18px; border: 2px solid #e6d9c3;
  position: relative; counter-increment: step;
}
.step-card::before {
  content: counter(step); position: absolute; top: -14px; left: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--kuma-fire); color: #fff;
  font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.step-card h3 { font-size: 1rem; font-weight: 900; margin-bottom: 4px; }
.step-card p { font-size: .85rem; }

/* ===== FAQ ===== */
details.faq {
  background: var(--cream-card); border-radius: 14px; border: 2px solid #e6d9c3;
  margin-bottom: 12px; overflow: hidden;
}
details.faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 900; font-size: .96rem;
  list-style: none; position: relative; padding-right: 44px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "＋"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--kuma-fire); font-weight: 900; font-size: 1.2rem;
}
details.faq[open] summary::after { content: "－"; }
details.faq .a { padding: 0 20px 18px; font-size: .9rem; }
details.faq summary .q { color: var(--kuma-fire); font-weight: 900; margin-right: 8px; }

/* ===== 関連サービス ===== */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related a {
  display: block; background: var(--cream-card); border: 2px solid #e6d9c3; border-radius: 16px;
  padding: 18px 20px; text-decoration: none; color: var(--kuma-dark); font-weight: 900;
}
.related a span { display: block; font-size: .82rem; font-weight: 500; color: var(--kuma-brown); }
.related a:hover { border-color: var(--green); }

/* ===== ご相談セクション ===== */
.order-section { background: linear-gradient(165deg, var(--kuma-dark), #2b1c10); color: var(--kuma-cream); }
.order-section .sec-title { color: #fff; }
.order-section .sec-sub { color: #d9d4bd; }
.order-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 8px; }
.order-card {
  background: rgba(245,239,224,.08); border: 1.5px solid rgba(245,239,224,.3);
  border-radius: 20px; padding: 28px 22px; text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.order-card h3 { font-size: 1.12rem; font-weight: 900; }
.order-card p { font-size: .87rem; opacity: .92; flex-grow: 1; }
.line-id { font-weight: 900; color: #9be8b8; }

footer { background: #241608; color: #cbb9a6; text-align: center; padding: 36px 20px 40px; font-size: .88rem; }
footer .logo-stacked { display: block; width: 170px; height: auto; margin: 0 auto 14px; border-radius: 14px; background: #fff; padding: 8px; box-sizing: border-box; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
footer .name { font-weight: 900; font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
footer a { color: #ffce8a; }
footer .foot-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
footer .back { display: inline-block; margin-top: 14px; font-weight: 900; }

.fixed-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; display: none; }
.fixed-cta a { flex: 1; text-align: center; padding: 14px 4px; color: #fff; text-decoration: none; font-weight: 900; font-size: .9rem; }
.fixed-cta .f-order { background: var(--green); }
.fixed-cta .f-line  { background: var(--line-green); }
.fixed-cta .f-tel   { background: var(--kuma-brown); }
@media (max-width: 700px) {
  .fixed-cta { display: flex; }
  body { padding-bottom: 52px; }
}

/* ===== 価格表・写真（薪ページ） ===== */
table.price { width: 100%; border-collapse: collapse; background: var(--cream-card); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(61,40,23,.12); }
table.price th, table.price td { padding: 14px 12px; text-align: center; border-bottom: 1px solid #eadfca; }
table.price thead th { background: var(--kuma-dark); color: #fff; font-size: .93rem; }
table.price td.name { text-align: left; font-weight: 700; }
table.price td .badge { font-size: .72rem; color: #fff; background: var(--kuma-fire); border-radius: 6px; padding: 2px 8px; margin-left: 6px; white-space: nowrap; }
table.price .yen { font-weight: 900; color: var(--kuma-fire); white-space: nowrap; }
@media (max-width: 700px) {
  table.price { table-layout: fixed; }
  table.price th:first-child { width: 44%; }
  table.price th, table.price td { padding: 10px 4px; font-size: .8rem; }
  table.price td .badge { display: block; margin: 4px 0 0; width: fit-content; }
}
.small-note { font-size: .84rem; margin-top: 14px; color: var(--kuma-brown); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; display: block; }
.photo-grid figcaption { font-size: .8rem; color: var(--kuma-brown); margin-top: 6px; text-align: center; }
body.fire .hero-eyebrow { background: var(--kuma-dark); }
body.fire .hero h1 .em { color: var(--kuma-fire); }
body.fire nav a.current { background: var(--kuma-fire); }
body.fire .fixed-cta .f-order { background: var(--kuma-fire); }
@media (max-width: 1080px) { body.fire nav a.current { background: none; } }
