/* グリーンパイロット千葉 共通スタイル */

:root {
    --primary: #0f172a;
    --accent: #d97706;
    --green: #15803d;
    --green-dark: #166534;
    --green-light: #dcfce7;
    --line: #06c755;
    --ink: #1f2937;
    --text: #334155;
    --muted: #64748b;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
                 "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
    line-height: 1.85;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: #f8fafc;
}
h1, h2, h3, h4 { line-height: 1.5; letter-spacing: 0.01em; }
p { margin-bottom: 1em; }
img { max-width: 100%; }
picture { display: contents; }
[hidden] { display: none !important; }
a { color: var(--green); }
h1, h2, .lead { word-break: normal; overflow-wrap: anywhere; line-break: strict; }
.nw { white-space: nowrap; }

/* ===== ヘッダー ===== */
.site-head {
    background: rgba(255,255,255,0.97);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.nav {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1240px; margin: 0 auto; padding: 10px 20px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; color: var(--primary); font-size: 1.08rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-sub { font-size: 0.72rem; color: var(--muted); font-weight: 600; white-space: nowrap; }

.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem;
    white-space: nowrap; transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-cta {
    background: var(--green); color: #fff !important; padding: 8px 16px; border-radius: 25px;
    font-size: 0.88rem !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--green-dark); }
.hamburger {
    display: none; background: none; border: 0; color: var(--primary);
    font-size: 1.5rem; cursor: pointer; padding: 6px 8px;
}

@media (max-width: 1300px) {
    .hamburger { display: block; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; flex-direction: column; align-items: stretch; gap: 0;
        padding: 10px 20px 18px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 11px 0; border-bottom: 1px solid #f1f5f9; }
    .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0 !important; }
}
@media (max-width: 400px) {
    .brand img { width: 38px; height: 38px; }
    .brand-name { font-size: 0.98rem; }
}

/* ===== ボタン ===== */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-tel, .btn-line, .btn-ghost, .btn-solid {
    display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
    font-weight: 700; border-radius: 50px; line-height: 1.25; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-tel { background: var(--green); color: #fff; padding: 15px 30px; box-shadow: 0 6px 18px rgba(21,128,61,0.4); }
.btn-tel:hover { transform: translateY(-2px); }
.btn-tel .num { font-size: 1.28rem; letter-spacing: 0.04em; }
.btn-tel small, .btn-line small { display: block; font-size: 0.7rem; opacity: 0.92; font-weight: 600; }
.btn-line { background: var(--line); color: #fff; padding: 15px 30px; box-shadow: 0 6px 18px rgba(6,199,85,0.35); }
.btn-line i { font-size: 1.5rem; }
.btn-line:hover { transform: translateY(-2px); }
.btn-ghost {
    background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.6); color: #fff; padding: 15px 28px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-solid { background: var(--primary); color: #fff; padding: 13px 28px; font-size: 0.95rem; }
.btn-solid:hover { background: #1e293b; }
.on-light .btn-ghost { background: #fff; border-color: var(--primary); color: var(--primary); }

/* ===== ヒーロー（トップ） ===== */
.hero {
    position: relative; color: #fff; overflow: hidden;
    min-height: 620px; display: flex; align-items: center;
    background: #0f172a;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,20,14,0.86) 0%, rgba(8,20,14,0.62) 48%, rgba(8,20,14,0.28) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 70px 24px; width: 100%; }
.hero .eyebrow {
    display: inline-block; background: var(--accent); color: #fff; font-size: 0.82rem; font-weight: 700;
    padding: 6px 16px; border-radius: 50px; margin-bottom: 18px; letter-spacing: 0.06em;
}
.hero h1 { font-size: 2.7rem; margin-bottom: 18px; text-shadow: 0 2px 14px rgba(0,0,0,0.45); max-width: 760px; }
.hero .lead { font-size: 1.1rem; max-width: 640px; opacity: 0.96; margin-bottom: 26px; }
.hero .cta-row { justify-content: flex-start; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; }
.hero-points li {
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
    padding: 6px 14px; border-radius: 50px; font-size: 0.86rem; font-weight: 700;
}
.hero-points i { color: #86efac; margin-right: 6px; }

/* ===== ページ見出し（下層） ===== */
.page-hero {
    position: relative; color: #fff; overflow: hidden; background: #0f172a;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,14,0.88), rgba(8,20,14,0.55)); }
.page-hero .inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 56px 24px 50px; }
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.page-hero .lead { font-size: 1.05rem; max-width: 720px; margin: 0; opacity: 0.95; }
.page-hero .cta-row { justify-content: flex-start; margin-top: 24px; }

.crumbs { max-width: 1100px; margin: 0 auto; padding: 12px 24px 0; font-size: 0.8rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #94a3b8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* ===== セクション共通 ===== */
.sec { padding: 68px 20px; }
.sec-alt { background: #f1f5f9; }
.sec-white { background: #fff; }
.sec-dark { background: var(--primary); color: #e2e8f0; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-narrow { max-width: 840px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 { font-size: 1.85rem; color: var(--primary); margin-bottom: 10px; }
.sec-dark .sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); margin: 0 auto; max-width: 720px; }
.sec-dark .sec-head p { color: #94a3b8; }
.h3-plain { color: var(--primary); font-size: 1.2rem; margin: 36px 0 14px; }
.prose p, .prose li { color: #475569; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }

/* ===== 料金サマリー ===== */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pcard {
    background: #fff; border-radius: 14px; padding: 26px 24px; text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--green);
    display: flex; flex-direction: column; justify-content: center;
}
.pcard p { margin: 0; }
.pcard.half { border-top-color: var(--accent); }
.pcard.opt { border-top-color: #94a3b8; }
.pcard .lbl { font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.pcard .amt { font-size: 2.1rem; font-weight: 800; color: var(--green); line-height: 1.2; margin: 6px 0 4px; }
.pcard.half .amt { color: #b45309; }
.pcard.opt .amt { color: var(--text); }
.pcard .unit { font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.pcard .sub { font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }
.ex-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.ex-row span {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 50px; padding: 8px 18px; font-size: 0.92rem;
}
.ex-row b { color: var(--green-dark); }
.center-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 18px; }
.center-cta { text-align: center; margin-top: 28px; }

/* ===== 表 ===== */
.tbl-wrap { overflow-x: auto; }
.price-tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.price-tbl th, .price-tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.price-tbl thead th { background: var(--primary); color: #fff; font-weight: 700; font-size: 0.93rem; }
.price-tbl tbody tr:nth-child(even) { background: #f8fafc; }
.price-tbl tbody tr:last-child td { border-bottom: none; }
.price-tbl .amt { font-weight: 800; color: var(--green); font-size: 1.15rem; white-space: nowrap; }
.price-tbl .sub { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.price-tbl .r { text-align: right; }
.price-tbl .c { text-align: center; }
.badge-free {
    display: inline-block; background: var(--green-light); color: var(--green-dark);
    font-weight: 700; font-size: 0.85rem; padding: 3px 12px; border-radius: 50px; white-space: nowrap;
}
.badge-grey { display: inline-block; background: #f1f5f9; color: #475569; font-weight: 700; font-size: 0.85rem; padding: 3px 12px; border-radius: 50px; white-space: nowrap; }
.info-tbl .lbl { background: #eef2f7; font-weight: 700; color: var(--primary); width: 30%; white-space: nowrap; font-size: 0.93rem; }

.note-list { list-style: none; margin-top: 22px; padding: 0; }
.note-list li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 0.92rem; color: #475569; }
.note-list li::before { content: "※"; position: absolute; left: 0; color: #94a3b8; }

.callout, .callout-green, .callout-grey { padding: 22px 24px; border-radius: 6px; margin-top: 28px; }
.callout { background: #fffbeb; border-left: 5px solid var(--accent); }
.callout h3, .callout h4 { color: #92400e; margin-bottom: 8px; font-size: 1.05rem; }
.callout p { margin: 0; font-size: 0.95rem; color: #78350f; }
.callout-green { background: #f0fdf4; border-left: 5px solid var(--green); }
.callout-green h3, .callout-green h4 { color: var(--green-dark); margin-bottom: 8px; font-size: 1.05rem; }
.callout-green p { margin: 0; font-size: 0.95rem; color: #14532d; }
.callout-green p + p { margin-top: 8px; }
.callout-grey { background: #fff; border: 1px solid #e2e8f0; border-left: 5px solid #94a3b8; }
.callout-grey h3, .callout-grey h4 { color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.callout-grey p { margin: 0; font-size: 0.95rem; color: #475569; }
.callout-grey p + p { margin-top: 8px; }
.src { display: block; margin-top: 10px; font-size: 0.8rem; }
.src a { color: var(--muted); }

/* ===== カード類 ===== */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.feat { background: #fff; border-radius: 14px; padding: 30px 26px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--green); }
.feat .ic {
    width: 56px; height: 56px; border-radius: 50%; background: var(--green-light); color: var(--green);
    display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 16px;
}
.feat h3 { font-size: 1.12rem; color: var(--primary); margin-bottom: 10px; }
.feat p { font-size: 0.95rem; color: #475569; margin: 0; }

.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 22px; }
.svc-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden;
    text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgba(0,0,0,0.07); transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.11); }
.svc-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.svc-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { color: var(--primary); font-size: 1.12rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.92rem; color: #475569; margin: 0 0 14px; flex: 1; }
.svc-card .more { color: var(--green); font-weight: 700; font-size: 0.9rem; }
.svc-extra { text-align: center; color: var(--muted); font-size: 0.93rem; margin: 26px auto 0; max-width: 720px; }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.case { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px 18px; text-align: center; }
.case i { font-size: 1.6rem; color: var(--green); margin-bottom: 10px; display: block; }
.case strong { display: block; color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
.case span { font-size: 0.85rem; color: var(--muted); }

.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 25px; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: bold; }
.x-list { list-style: none; }
.x-list li { position: relative; padding-left: 25px; margin-bottom: 10px; color: #475569; }
.x-list li::before { content: "×"; position: absolute; left: 2px; color: #b91c1c; font-weight: bold; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.box { background: #fff; border-radius: 14px; padding: 28px 26px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.box h3 { color: var(--primary); font-size: 1.12rem; margin-bottom: 14px; }
.box.warn { border-top: 4px solid #b45309; }
.box.ok { border-top: 4px solid var(--green); }

/* ===== 仕上がり ===== */
.finish-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.fin { position: relative; background: #fff; border-radius: 14px; padding: 34px 24px 26px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--green); }
.fin-no {
    position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem;
}
.fin h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.fin .fin-res { font-size: 0.85rem; color: var(--green); font-weight: 700; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed #e2e8f0; }
.fin p { font-size: 0.92rem; color: #475569; margin: 0; }
.fin-note { display: inline-block; background: #f1f5f9; color: var(--muted); font-size: 0.78rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; margin-left: 6px; white-space: nowrap; }

/* ===== 施工例・写真 ===== */
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.work { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.09); display: flex; flex-direction: column; }
.work img { width: 100%; height: 250px; object-fit: cover; display: block; }
.work figcaption { padding: 16px 18px 20px; font-size: 0.9rem; color: #475569; flex: 1; }
.tag { display: inline-block; background: #e2e8f0; color: #475569; font-size: 0.75rem; font-weight: 700; padding: 3px 12px; border-radius: 50px; margin-right: 10px; vertical-align: 2px; }
.tag.done { background: var(--green-light); color: var(--green-dark); }

.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 34px; }
.gal figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.18); background: #1e293b; }
.gal img { width: 100%; height: 230px; object-fit: cover; display: block; }
.gal figcaption { padding: 12px 16px; font-size: 0.85rem; color: #cbd5e1; }

.split { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
.split > div { flex: 1; min-width: 290px; }
.split img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); display: block; }

/* ===== 機材 ===== */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kit { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 26px 22px; }
.kit-ic { width: 48px; height: 48px; border-radius: 10px; background: rgba(134,239,172,0.15); color: #86efac; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 14px; }
.kit h3 { font-size: 1.02rem; color: #fff; margin-bottom: 6px; line-height: 1.45; }
.kit .kit-use { font-size: 0.8rem; color: #86efac; font-weight: 700; margin-bottom: 10px; }
.kit p { font-size: 0.89rem; color: #94a3b8; margin: 0; line-height: 1.75; }
.sec-dark .check-list li { color: #e2e8f0; }
.sec-dark .check-list li::before { color: #86efac; }

/* ===== 流れ ===== */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.step { position: relative; background: #fff; border-radius: 12px; padding: 30px 24px 24px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.step::before {
    counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px;
    width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step h3 { color: var(--primary); font-size: 1.05rem; margin: 6px 0 8px; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ===== 年間契約 ===== */
.annual-wrap { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.annual-main { flex: 1 1 460px; min-width: 290px; }
.annual-pt { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 22px 24px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.annual-pt > i { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.annual-pt h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 5px; }
.annual-pt p { font-size: 0.92rem; color: #475569; margin: 0; }
.annual-side { flex: 0 1 330px; min-width: 280px; background: var(--primary); color: #e2e8f0; border-radius: 14px; padding: 28px 26px; }
.annual-side h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.annual-side .check-list li { color: #cbd5e1; font-size: 0.92rem; margin-bottom: 11px; }
.annual-side .check-list li::before { color: #86efac; }
.annual-note { font-size: 0.85rem; color: #94a3b8; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.annual-side .btn-tel { width: 100%; justify-content: center; margin-top: 18px; }

/* ===== エリア ===== */
.town-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.town {
    display: block; background: #fff; border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px 12px;
    text-align: center; text-decoration: none; color: var(--primary); font-weight: 800; transition: .2s;
}
.town small { display: block; color: var(--muted); font-weight: 600; font-size: 0.76rem; }
.town:hover { border-color: var(--green); transform: translateY(-3px); }
.town.here { border-color: var(--green); background: #f0fdf4; }

/* ===== 代表あいさつ ===== */
.greet { display: flex; gap: 34px; align-items: flex-start; flex-wrap: wrap; background: #fff; border-radius: 16px; padding: 34px 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.greet-mark { flex: 0 0 110px; }
.greet-mark img { width: 110px; height: 110px; }
.greet-body { flex: 1; min-width: 260px; }
.greet-body h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 12px; }
.greet-body p { color: #475569; font-size: 0.97rem; }
.greet-sign { text-align: right; font-weight: 700; color: var(--primary); margin: 0; }

/* ===== FAQ ===== */
.faq details { background: #fff; border-radius: 10px; margin-bottom: 12px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 700; color: var(--primary); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 22px 20px; color: #475569; font-size: 0.95rem; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ===== 計算機 ===== */
.calc { background: #fff; border-radius: 16px; padding: 32px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.calc-row { margin-bottom: 28px; border: 0; }
.calc-row > .q { display: block; font-weight: 700; color: var(--primary); font-size: 1.02rem; margin-bottom: 12px; }
.calc-gate { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gate { background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 12px; padding: 18px 14px; cursor: pointer; font-family: inherit; text-align: center; transition: .18s; line-height: 1.5; }
.gate i { display: block; font-size: 1.45rem; color: #94a3b8; margin-bottom: 6px; }
.gate strong { display: block; font-size: 1.08rem; color: var(--text); font-weight: 800; }
.gate small { display: block; font-size: 0.78rem; color: #94a3b8; margin-top: 4px; }
.gate.active { background: #f0fdf4; border-color: var(--green); }
.gate.active i, .gate.active strong { color: var(--green-dark); }
.gate.active small { color: var(--green); }
.calc-area { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.calc-area input[type=number] { width: 150px; font-size: 1.55rem; font-weight: 800; color: var(--green); border: 2px solid #e2e8f0; border-radius: 10px; padding: 8px 14px; font-family: inherit; }
.calc-area input[type=number]:focus { outline: none; border-color: var(--green); }
.calc-area .unit { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.calc-area .tsubo { font-size: 0.92rem; color: var(--muted); margin-left: auto; }
input[type=range] { width: 100%; accent-color: var(--green); }
.calc-hint { font-size: 0.85rem; color: #94a3b8; margin: 8px 0 0; }
.calc-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt { background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 10px; padding: 13px 10px; cursor: pointer; font-family: inherit; font-size: 0.95rem; font-weight: 700; color: var(--text); transition: .18s; text-align: center; line-height: 1.4; }
.opt small { display: block; font-size: 0.76rem; font-weight: 500; color: #94a3b8; margin-top: 3px; }
.opt.active { background: #f0fdf4; border-color: var(--green); color: var(--green-dark); }
.opt.active small { color: var(--green); }
.sub-input { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; font-size: 0.92rem; color: #475569; }
.sub-input input { width: 110px; font-size: 1.1rem; font-weight: 700; border: 2px solid #e2e8f0; border-radius: 8px; padding: 6px 10px; font-family: inherit; color: var(--green-dark); }
.calc-out { background: #0f172a; border-radius: 12px; padding: 26px 28px; margin-top: 30px; color: #e2e8f0; }
.calc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.calc-label { font-size: 0.95rem; color: #94a3b8; font-weight: 700; }
.calc-amt { font-size: 2.5rem; font-weight: 800; color: #86efac; line-height: 1.1; }
.calc-break { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.12); }
.calc-break li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 0.92rem; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.07); }
.calc-break li span:last-child { white-space: nowrap; }
.calc-break li.minnote { color: #fcd34d; }
.calc-break li.info { color: #93c5fd; display: block; }
.calc-note { font-size: 0.83rem; color: #94a3b8; margin: 16px 0 0; line-height: 1.7; }
.calc-note a { color: #86efac; }
.calc-cta { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.calc-big h3 { color: #fff; font-size: 1.12rem; margin-bottom: 10px; }
.calc-big p { color: #cbd5e1; font-size: 0.95rem; margin: 0; }

/* ===== お問い合わせ ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.cbox { background: #fff; border-radius: 16px; padding: 30px 26px; box-shadow: 0 8px 24px rgba(0,0,0,0.07); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cbox > i { font-size: 2rem; color: var(--green); margin-bottom: 10px; }
.cbox.line > i { color: var(--line); }
.cbox h2, .cbox h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; }
.cbox p { font-size: 0.92rem; color: #475569; }
.cbox .big { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); text-decoration: none; letter-spacing: 0.03em; }
.cbox.line { border: 2px solid var(--line); box-shadow: 0 12px 32px rgba(6,199,85,0.18); scroll-margin-top: 90px; }
.cbox.line img { width: 220px; height: 220px; max-width: 100%; }
.cbox.line .btn-line { margin-top: 4px; }
@media (min-width: 900px) { .contact-grid .cbox.line { order: -1; } }
.qr-ph {
    width: 180px; height: 180px; margin: 6px auto 14px; border: 3px dashed #86efac; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    color: var(--muted); font-size: 0.85rem; font-weight: 700; background: #f8fafc;
}
.qr-ph i { font-size: 2.2rem; color: var(--line); margin-bottom: 6px; }
.mail-addr { font-weight: 700; word-break: break-all; }

/* ===== 最終CTA ===== */
.final-cta { background: linear-gradient(135deg, #14532d 0%, #166534 100%); color: #fff; text-align: center; padding: 66px 20px; }
.final-cta h2 { color: #fff; font-size: 1.9rem; margin-bottom: 12px; }
.final-cta p { color: #dcfce7; margin-bottom: 28px; }
.final-cta .btn-tel { background: #fff; color: var(--green-dark); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }

.xlink { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 2px solid #e2e8f0; border-radius: 14px; padding: 26px 30px; flex-wrap: wrap; }
.xlink h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 6px; }
.xlink p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===== フッター ===== */
.site-foot { background: var(--primary); color: #94a3b8; padding: 54px 20px 40px; }
.foot-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.site-foot h2 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.site-foot h3 { color: #e2e8f0; font-size: 0.95rem; margin-bottom: 10px; }
.site-foot p { font-size: 0.9rem; margin-bottom: 6px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 7px; font-size: 0.9rem; }
.site-foot a { color: #cbd5e1; text-decoration: none; }
.site-foot a:hover { color: #86efac; }
.foot-towns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.copyright { max-width: 1100px; margin: 34px auto 0; border-top: 1px solid #334155; padding-top: 18px; font-size: 0.85rem; text-align: center; }

/* ===== スマホ下部の固定ボタン ===== */
.mobile-cta { display: none; }
@media (max-width: 768px) {
    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    }
    .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; color: #fff; text-decoration: none; font-weight: 800; font-size: 0.98rem; }
    .mobile-cta .m-tel { background: var(--green); }
    .mobile-cta .m-line { background: var(--line); }
    .mobile-cta i { font-size: 1.2rem; }
    .site-foot { padding-bottom: 100px; }
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
    .foot-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero { min-height: 0; }
    .hero-inner { padding: 52px 20px 48px; }
    .hero h1 { font-size: 1.85rem; }
    .hero .lead { font-size: 1rem; }
    .page-hero .inner { padding: 40px 20px 36px; }
    .page-hero h1 { font-size: 1.65rem; }
    .sec { padding: 50px 18px; }
    .sec-head h2 { font-size: 1.45rem; }
    .cta-row, .hero .cta-row, .page-hero .cta-row { flex-direction: column; align-items: stretch; }
    .btn-tel, .btn-line, .btn-ghost { justify-content: center; }
    .price-tbl th, .price-tbl td { padding: 12px 10px; font-size: 0.88rem; }
    .price-tbl .amt { font-size: 1.02rem; }
    .work img { height: 220px; }
    .gal img { height: 200px; }
    .calc { padding: 24px 18px; }
    .calc-area input[type=number] { width: 120px; font-size: 1.3rem; }
    .calc-area .tsubo { margin-left: 0; width: 100%; }
    .calc-out { padding: 20px 18px; }
    .calc-amt { font-size: 2rem; }
    .calc-opts { grid-template-columns: 1fr; }
    .xlink { flex-direction: column; text-align: center; }
    .greet { padding: 26px 20px; }
    .foot-wrap { grid-template-columns: 1fr; }
    .info-tbl .lbl { width: 34%; font-size: 0.85rem; white-space: normal; }
}
@media (max-width: 480px) {
    .calc-gate { grid-template-columns: 1fr; }
}

/* 作業事例ページ */
.case { margin: 0 0 46px; }
.case:last-child { margin-bottom: 0; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin: 0 0 14px; }
.case-head h3 { margin: 0; font-size: 1.25rem; }
.case-head .when { font-size: 0.85rem; color: #64748b; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.case-grid .work img { height: auto; aspect-ratio: 4 / 3; }
.case-note { margin: 14px 0 0; font-size: 0.92rem; color: #475569; }
.case-note i { color: var(--green); margin-right: 6px; }

/* LINE友だち追加の帯 */
.line-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.line-band-text h2 { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.line-band-text h2 i { color: var(--line); }
.line-band-text p { margin-bottom: 16px; }
.line-band-text .check-list { margin-bottom: 22px; }
.line-qr-card { margin: 0; background: #fff; border-radius: 18px; padding: 20px 20px 14px; text-align: center; box-shadow: 0 10px 28px rgba(0,0,0,0.10); border: 1px solid #e6ecf3; }
.line-qr-card img { display: block; width: 200px; height: 200px; }
.line-qr-card figcaption { margin-top: 10px; font-size: 0.82rem; color: #475569; line-height: 1.5; font-weight: 600; }

/* 最終CTA内の小さなQR */
.line-mini { display: inline-flex; align-items: center; gap: 18px; margin-top: 30px; padding: 14px 26px 14px 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); border-radius: 16px; color: #fff; text-align: left; text-decoration: none; }
.line-mini, .line-mini * { text-decoration: none !important; }
.line-mini:hover { background: rgba(255,255,255,0.18); }
.line-mini img { display: block; width: 130px; height: 130px; background: #fff; border-radius: 10px; padding: 7px; }
.line-mini span { font-weight: 700; font-size: 1rem; }
.line-mini small { display: block; font-weight: 500; font-size: 0.83rem; line-height: 1.6; color: #dcfce7; margin-top: 8px; max-width: 340px; }

@media (max-width: 860px) {
    .line-band-inner { grid-template-columns: 1fr; gap: 26px; }
    .line-qr-card { justify-self: center; }
}
@media (max-width: 768px) {
    .line-mini { display: none; }
}
@media (max-width: 480px) {
    .line-qr-card img { width: 160px; height: 160px; }
}

/* 対応エリアの県名タグ */
.town em { display: block; font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: #64748b; margin-bottom: 2px; }
