/* ============================================================
   須納瀬設備工業所 コーポレートサイト / style.css
   設計方針：
   - 「水道屋さん」らしい青・ネイビー・白・グレーを基調にした配色。
     オレンジ等の暖色は使わず、寒色（ブルー系）でまとめて信頼感を出す。
   - 3カラムのアイコンカードを多用しない。写真＋余白＋非対称レイアウトを軸にする。
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Shippori+Mincho:wght@500;700&display=swap');

:root {
  /* ベースカラー：白〜クールグレー */
  --paper: #f4f7f9;
  --paper-deep: #e7edf1;
  --ink: #16232f;
  --ink-soft: #4d5c68;
  --ink-faint: #8494a0;

  /* ブランドカラー：ネイビー×ブルー×グレーでまとめる */
  --navy: #0e3358;      /* 信頼・見出し */
  --navy-deep: #081f38;
  --cone: #1c6fc9;      /* 主CTA・アクセントブルー（旧cone変数名のまま値だけ変更） */
  --cone-deep: #14508f;
  --pipe: #2d6690;      /* タグ・リンク用のスチールブルー（旧pipe変数名のまま値だけ変更） */
  --pipe-light: #e7f0f7;

  --line: #dbe3e9;
  --line-soft: #e6ecf1;
  --white: #ffffff;

  --radius: 4px;
  --radius-lg: 10px;
  --maxw: 1160px;
  --shadow: 0 18px 40px -18px rgba(27, 44, 66, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.5; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.font-mincho { font-family: "Shippori Mincho", serif; }

/* ---------- 共通パーツ ---------- */
.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--cone-deep);
  margin-bottom: 14px;
}
.tag-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cone);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.97rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: none;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-cone { background: var(--cone); color: var(--white); box-shadow: 0 10px 24px -8px rgba(28,111,201,0.5); }
.btn-cone:hover { background: var(--cone-deep); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-line { background: #06c655; color: var(--white); }
.btn-line:hover { background: #05a948; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(244,247,249,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.brand .mark svg { width: 22px; height: 22px; color: var(--white); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand .name-main { font-weight: 700; font-size: 1.08rem; color: var(--navy); letter-spacing: .01em; }
.brand .name-sub { font-size: 0.65rem; color: var(--cone-deep); letter-spacing: .1em; font-weight: 700; }

nav.main-nav { display: flex; gap: 4px; }
nav.main-nav a { padding: 10px 14px; font-size: 0.9rem; font-weight: 500; color: var(--ink); border-radius: var(--radius); transition: background .15s ease, color .15s ease; }
nav.main-nav a:hover, nav.main-nav a.active { background: var(--navy); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-tel {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 6px 4px;
}
.header-tel .htxt { font-size: 0.66rem; color: var(--ink-soft); }
.header-tel .hnum { display:flex; align-items:center; gap:6px; font-weight:700; font-size:1.18rem; color: var(--navy); }
.header-tel svg { width: 16px; height: 16px; color: var(--cone); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy); }

/* ---------- ヒーロー（複数写真スワイプカルーセル） ---------- */
.hero-carousel {
  position: relative;
}
.hc-visual {
  position: relative;
  height: 88vh;
  min-height: 540px;
  max-height: 820px;
  overflow: hidden;
  background: var(--navy-deep);
  touch-action: pan-y;
}
.hc-track { position: absolute; inset: 0; }
.hc-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.15s ease;
}
.hc-slide.is-active { opacity: 1; z-index: 1; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(8,31,56,.58) 0%, rgba(8,31,56,.1) 34%, rgba(8,31,56,.18) 56%, rgba(8,31,56,.88) 100%);
  pointer-events: none;
}

.hc-content {
  position: absolute; left: 0; right: 0; bottom: clamp(72px, 13vh, 128px); z-index: 3;
}
.hc-content .eyebrow-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.hc-content .hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
.hc-content .hero-since { font-size: 0.78rem; color: rgba(255,255,255,.8); }
.hc-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  font-weight: 900;
  color: var(--white);
  margin: 0 0 22px;
  text-shadow: 0 2px 22px rgba(4,14,26,.35);
}
.hc-content h1 .accent { color: #7fb6ea; }
.hc-content p.lead { font-size: 1.05rem; color: rgba(255,255,255,.92); max-width: 500px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,31,56,.32);
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background .15s ease;
}
.hc-arrow:hover { background: rgba(8,31,56,.55); }
.hc-arrow svg { width: 20px; height: 20px; }
.hc-prev { left: clamp(12px, 3vw, 32px); }
.hc-next { right: clamp(12px, 3vw, 32px); }

.hc-dots {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 4;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.hc-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none;
  background: rgba(255,255,255,.42); cursor: pointer;
  transition: width .2s ease, background .2s ease, border-radius .2s ease;
}
.hc-dot.is-active { width: 24px; border-radius: 5px; background: var(--white); }

@media (max-width: 900px) {
  .hc-visual { height: 78vh; min-height: 480px; max-height: 680px; }
  .hc-content { bottom: 68px; }
  .hc-arrow { display: none; }
}

/* スマホ幅:文字を写真の上に重ねず、写真の下に通常配置で表示(読みやすさ優先) */
@media (max-width: 720px) {
  .hc-visual { height: 62vh; min-height: 340px; max-height: 460px; }
  .hc-content {
    position: static;
    bottom: auto; left: auto; right: auto; z-index: auto;
    background: var(--paper);
    padding: 30px 24px 40px;
  }
  .hc-content .hero-eyebrow {
    color: var(--navy);
    border-color: rgba(14,51,88,.3);
    background: rgba(14,51,88,.06);
    backdrop-filter: none;
  }
  .hc-content .hero-since { color: var(--ink-soft); }
  .hc-content h1 { color: var(--navy); text-shadow: none; }
  .hc-content h1 .accent { color: var(--cone-deep); }
  .hc-content p.lead { color: var(--ink-soft); }
  .hc-content .btn-outline {
    border-color: var(--navy);
    color: var(--navy);
  }
  .hc-content .btn-outline:hover { background: var(--navy); color: var(--white); }
}
@media (max-width: 560px) {
  .hc-content p.lead { font-size: 0.96rem; }
}

/* ---------- 電話固定バー（モバイル） ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed; left:0; right:0; bottom:0; z-index: 300;
  background: var(--navy);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.mobile-cta-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-cta-bar a {
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 0; color: var(--white); font-weight: 700; font-size: 0.92rem;
}
.mobile-cta-bar a.tel { background: var(--cone); }
.mobile-cta-bar a svg { width:17px; height:17px; }
@media (max-width: 720px) { .mobile-cta-bar { display: block; } body { padding-bottom: 54px; } }

/* ---------- セクション共通 ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--navy); color: #dbe4ee; }
section.paper-deep { background: var(--paper-deep); }

.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); color: var(--navy); margin: 0 0 14px; }
section.dark .section-head h2 { color: var(--white); }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
section.dark .section-head p { color: #b9c7d7; }
section.dark .tag-label { color: #7fb6ea; }

/* ---------- 困った時カード（写真背景・アイコン非依存） ---------- */
.trouble-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trouble-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.trouble-card .num {
  font-size: 0.78rem; font-weight: 700; color: var(--cone);
  letter-spacing: .08em; margin-bottom: 14px; display:block;
}
.trouble-card h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 12px; }
.trouble-card ul { margin: 0; padding-left: 1.15em; color: var(--ink-soft); font-size: 0.92rem; }
.trouble-card ul li { margin-bottom: 7px; }
.trouble-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- 施工実績：写真主体グリッド ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.works-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-deep); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ビフォー・アフター（施工前の写真が登録されている実績カード用） */
.work-thumb.work-thumb-ba { display: flex; }
.ba-pane { position: relative; width: 50%; height: 100%; overflow: hidden; }
.ba-pane + .ba-pane { border-left: 2px solid var(--white); }
.ba-pane img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-label {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.62rem; font-weight: 700; letter-spacing: .05em;
  color: var(--white);
  background: rgba(14,51,88,0.75);
  padding: 3px 9px; border-radius: 999px;
}
.ba-pane.ba-after .ba-label { background: rgba(28,111,201,0.88); }

.work-body { padding: 18px 20px 20px; }
.work-body .cat { font-size: 0.72rem; color: var(--pipe); font-weight: 700; letter-spacing: .04em; }
.work-body h4 { margin: 7px 0 8px; font-size: 0.98rem; color: var(--navy); }
.work-body p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.work-area { display:inline-block; margin-top:10px; font-size:0.74rem; color: var(--ink-faint); border-top:1px dashed var(--line); padding-top:10px; width:100%; }

/* ---------- 会社案内：写真＋テキスト ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-photo { order: 2; }
.split-photo { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.split-text h3 { color: var(--navy); font-size: 1.25rem; margin: 0 0 16px; }
.split-text p { color: var(--ink-soft); margin: 0 0 16px; }
.quote-mark {
  font-family: "Shippori Mincho", serif;
  font-size: 1.05rem;
  color: var(--navy);
  border-left: 3px solid var(--cone);
  padding: 4px 0 4px 18px;
  margin: 18px 0;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse .split-photo { order: -1; } }

/* ---------- 流れ（タイムライン） ---------- */
.flow-list { counter-reset: flow; display: flex; flex-direction: column; gap: 0; }
.flow-item {
  counter-increment: flow;
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.flow-item:last-child { border-bottom: none; }
.flow-item::before {
  content: counter(flow);
  font-weight: 900; font-size: 1.3rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white);
  border-radius: 50%;
}
.flow-item h4 { margin: 4px 0 6px; font-size: 1.02rem; color: var(--navy); }
.flow-item p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- 数字で見る信頼 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-lg); overflow: hidden; }
.stat-cell { padding: 30px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.18); }
.stat-cell:last-child { border-right: none; }
.stat-cell .num { font-weight:900; font-size: clamp(1.6rem,3vw,2.1rem); color: var(--white); }
.stat-cell .num span { font-size: 0.95rem; font-weight: 700; margin-left: 3px; color: #7fb6ea; }
.stat-cell .label { margin-top: 8px; font-size: 0.8rem; color: #b9c7d7; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2,1fr); } .stat-cell { border-bottom: 1px solid rgba(255,255,255,0.18); } }

/* ---------- エリア ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags span { background: var(--pipe-light); color: var(--pipe); font-size: 0.85rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 0.98rem; display: flex; gap: 12px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--cone); font-weight: 900; flex-shrink: 0; }
.faq-item .a { display:flex; gap:12px; margin-top: 12px; color: var(--ink-soft); font-size: 0.92rem; padding-left: 0; }
.faq-item .a::before { content: "A"; color: var(--pipe); font-weight: 900; flex-shrink: 0; }

/* ---------- お知らせ ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 130px 100px 1fr; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-item time { font-size: 0.82rem; color: var(--ink-faint); }
.news-item .cat-pill { font-size: 0.72rem; font-weight: 700; color: var(--pipe); background: var(--pipe-light); padding: 4px 10px; border-radius: 999px; text-align: center; width: fit-content; }
.news-item a { color: var(--ink); font-size: 0.94rem; }
.news-item a:hover { color: var(--cone-deep); }
.news-empty { color: var(--ink-faint); font-size: 0.9rem; padding: 24px 0; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- ページヘッダー（下層ページ） ---------- */
.page-hero {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%);
  color: var(--white);
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; }
.page-hero-motto {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(4.5rem, 12vw, 10rem);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(255,255,255,0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.breadcrumb { font-size: 0.8rem; color: #9fb3c6; margin-bottom: 12px; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero .tag-label { color: #7fb6ea; }
.page-hero .tag-label::before { background: #7fb6ea; }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 0; font-weight: 900; }
.page-hero p { color: #c3d1de; margin: 12px 0 0; max-width: 620px; font-size: 0.96rem; }
@media (max-width: 700px) { .page-hero-motto { display: none; } }

/* ---------- テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.info-table th, .info-table td { padding: 18px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 190px; color: var(--navy); background: var(--paper-deep); font-weight: 700; }

.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.price-table th, .price-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.92rem; text-align: left; }
.price-table thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.price-table tbody tr:nth-child(even) { background: var(--paper-deep); }
.price-table td.price { color: var(--cone-deep); font-weight: 700; white-space: nowrap; }
.price-cat-row td { background: var(--pipe-light) !important; color: var(--pipe); font-weight: 700; font-size: 0.82rem; letter-spacing: .04em; }

.notice-box { background: var(--pipe-light); border: 1px solid #c7dced; border-left: 3px solid var(--pipe); border-radius: var(--radius); padding: 20px 24px; color: var(--ink-soft); font-size: 0.9rem; margin: 28px 0; }
.notice-box strong { color: var(--navy); }

/* ---------- CTAバンド ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: 1.5rem; margin: 0 0 12px; }
.cta-band p { color: #c3d1de; margin: 0 0 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- お客様の声 ---------- */
.voice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.voice-card .stars { color: var(--cone); font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.voice-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 12px; }
.voice-card .who { font-size: 0.8rem; color: var(--ink-faint); }
.voice-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

/* ---------- 会社案内・お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.contact-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.contact-panel h3 { color: var(--navy); margin-top: 0; }
.contact-panel .tel-block { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--pipe-light); border-radius: var(--radius); margin: 18px 0; }
.contact-panel .tel-block svg { width: 26px; height: 26px; color: var(--pipe); flex-shrink: 0; }
.contact-panel .tel-block .tel-num { font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.contact-panel .tel-block .tel-sub { font-size: 0.78rem; color: var(--ink-soft); }
.contact-panel .line-block { display:flex; align-items:center; gap:14px; padding:18px 20px; background:#e7f9ef; border-radius: var(--radius); margin: 0 0 18px; }
.contact-panel .line-block svg { width:26px; height:26px; color:#06c655; flex-shrink:0; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 20px; }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group .req { color: var(--cone-deep); font-size: 0.75rem; margin-left: 6px; font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.94rem; background: var(--paper);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--pipe); background: var(--white); }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 10px; }
.form-status { font-size: 0.9rem; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-status.ok { display:block; background:#e7f9ef; color:#136b3c; }
.form-status.err { display:block; background:#fdeceb; color:#a4291b; }

/* ---------- フッター ---------- */
footer.site-footer { background: var(--navy-deep); color: #a9bccd; padding: 54px 0 26px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--white); font-size: 0.94rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-brand { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand .mark { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; }
.footer-brand .mark svg { width:20px; height:20px; color:#7fb6ea; }
.footer-brand span { font-weight:700; color:var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; text-align: center; color: #7690a5; font-size: 0.78rem; }

/* ---------- スクロールイン ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  nav.main-nav {
    position: fixed; top: 78px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 10px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translateY(-130%); opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    max-height: 80vh; overflow-y: auto;
  }
  nav.main-nav.open { transform: translateY(0); opacity: 1; }
  nav.main-nav a { padding: 14px 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-tel { display: none; }
  .nav-toggle { display: inline-flex; }
  .trouble-grid, .works-grid, .footer-grid { grid-template-columns: 1fr; }
  .works-grid.compact { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .flow-item { grid-template-columns: 48px 1fr; }
  .info-table th { width: 130px; font-size: 0.85rem; }
  .info-table th, .info-table td { padding: 14px 16px; }
}
