/*
Theme Name: Idegawa Bankin
Theme URI: https://idegawa-bankin-pro.vercel.app/
Author: WEB企画事務所FREE
Description: 株式会社井手川板金 オリジナルテーマ（知多半島の金属屋根専門店）
Version: 1.0.0
Text Domain: idegawa
*/

/* ============================================
   共通スタイル（旧 style.css）
   ============================================ */
/* ==================================
 * 井手川板金 共通スタイル
 * ================================== */
:root {
  --base: #f3f6fa;
  --paper: #ffffff;
  --ink: #1f2a37;
  --muted: #64748b;
  --border: #dfe6ee;
  --primary: #22303f;
  --primary-deep: #17222e;
  --accent: #2f74c0;
  --accent-deep: #245a97;
  --gold: #e3bc01;
  --gold-deep: #b8920a;
  --ink-on-gold: #20201d;
  --line: #06c755;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif;
  background: var(--base); color: var(--ink); line-height: 1.8;
  font-feature-settings: "palt";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== ヘッダー ===== */
.top-bar {
  background: var(--primary-deep); color: rgba(255,255,255,0.85);
  padding: 6px 0; font-size: 12px; text-align: center;
  letter-spacing: 0.05em;
}
header.site-header {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-size: 16px; font-weight: 800; color: var(--primary);
  letter-spacing: 0.05em;
}
.logo small { display: block; font-size: 9px; color: var(--muted); font-weight: 600; letter-spacing: 0.15em; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-menu { display: flex; gap: 24px; font-size: 13px; font-weight: 700; }
.nav-menu a { color: var(--ink); }
.nav-menu a:hover { color: var(--accent); }
.nav-tel {
  color: var(--accent); font-weight: 800; font-size: 18px;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 6px;
}
.nav-tel > div { line-height: 1.15; }
.nav-tel small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 3px; letter-spacing: 0.02em; }
.nav-cta {
  background: var(--gold); color: var(--ink-on-gold);
  padding: 10px 18px; border-radius: 4px;
  font-size: 13px; font-weight: 800;
}
.hamburger { display: none; width: 30px; height: 22px; cursor: pointer; }
.hamburger span { display: block; height: 2px; background: var(--primary); margin-bottom: 6px; }
@media (max-width: 880px) {
  .nav-menu, .nav-tel small { display: none; }
  .nav-tel { font-size: 16px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .hamburger { display: block; }
}
/* スマホ実機幅：電話はアイコンのみにして1行に収める */
@media (max-width: 560px) {
  .nav { padding: 10px 14px; gap: 8px; }
  .nav-right { gap: 10px; }
  .logo img { height: 34px !important; }
  .nav-tel > div { display: none; }
  .nav-tel {
    width: 40px; height: 40px; justify-content: center;
    background: rgba(47,116,192,0.10); border-radius: 50%;
  }
  .nav-cta { padding: 8px 12px; font-size: 11px; white-space: nowrap; }
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 800; transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--ink-on-gold); }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-line { background: var(--line); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

/* ===== セクション ===== */
section { padding: 96px 24px; }
@media (max-width: 880px) { section { padding: 64px 20px; } }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: 11px; letter-spacing: 0.2em; color: var(--gold-deep);
  font-weight: 800; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-h2 {
  font-size: 36px; font-weight: 900; line-height: 1.4; color: var(--primary);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
@media (max-width: 880px) { .section-h2 { font-size: 26px; } }
.section-lead { font-size: 15px; color: var(--muted); max-width: 720px; line-height: 2; margin-bottom: 48px; }

/* ===== 下層ページ用ヘッダー ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; padding: 80px 24px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -10%; top: -20%; width: 50%; height: 140%;
  background: radial-gradient(circle, rgba(47,116,192,0.2), transparent 65%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-block;
  background: rgba(47,116,192,0.2); color: #cfe2f5;
  border: 1px solid rgba(47,116,192,0.4);
  padding: 6px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: 42px; font-weight: 900; line-height: 1.4;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
@media (max-width: 880px) { .page-hero h1 { font-size: 28px; } }
.page-hero p { font-size: 14px; opacity: 0.85; max-width: 720px; line-height: 2; }
.breadcrumb {
  font-size: 11px; opacity: 0.7; margin-top: 24px;
}
.breadcrumb a { opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; color: #8fc0f0; }

/* ===== お問い合わせCTA ===== */
.cta-section {
  background:
    linear-gradient(rgba(23,34,46,0.90), rgba(23,34,46,0.93)),
    url('assets/images/photos/0170.jpg');
  background-size: cover; background-position: center;
  color: #fff; text-align: center; padding: 80px 24px;
}
.cta-section h2 { font-size: 32px; font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
@media (max-width: 880px) { .cta-section h2 { font-size: 24px; } }
.cta-section .lead { font-size: 14px; opacity: 0.85; margin-bottom: 36px; }
.cta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 760px; margin: 0 auto;
}
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 28px 20px;
  transition: all 0.2s;
}
.cta-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.cta-card .icon { width: 48px; height: 48px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cta-card.tel .icon { background: rgba(47,116,192,0.25); color: #8fc0f0; }
.cta-card.line .icon { background: rgba(6,199,85,0.25); color: #6be0a0; }
.cta-card.form .icon { background: rgba(47,116,192,0.25); color: #8fc0f0; }
.cta-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.cta-card .big { font-size: 22px; font-weight: 900; margin: 4px 0; letter-spacing: 0.02em; }
.cta-card small { font-size: 11px; opacity: 0.75; }

/* ===== フッター ===== */
footer.site-footer { background: var(--primary-deep); color: rgba(255,255,255,0.6); padding: 56px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-info h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.02em; }
.footer-info p { font-size: 12px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-col ul { list-style: none; font-size: 12px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11px; text-align: center; }

/* ===== サービスカード ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 880px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper); border-radius: 10px; padding: 32px 24px;
  border: 1px solid var(--border); transition: all 0.2s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-img {
  aspect-ratio: 16/9; border-radius: 6px; margin-bottom: 18px; overflow: hidden;
  background: linear-gradient(135deg, #cfcabf, #a49e91);
  position: relative;
}
.service-img::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 12px);
}
.service-card h3 {
  font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--primary);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}
.service-card .price {
  font-size: 13px; color: var(--accent); font-weight: 800;
}
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ===== ケースカード ===== */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 880px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--paper); border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.2s;
}
.case-card:hover { transform: translateY(-4px); }
.case-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #cfcabf, #a49e91);
  position: relative;
}
.case-img::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4)),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.05) 40px, rgba(255,255,255,0.05) 41px);
}
/* 施工写真 準備中（ダミー表示） */
.case-img.case-dummy {
  background: repeating-linear-gradient(45deg, #cfcabf 0, #cfcabf 14px, #bdb7ab 14px, #bdb7ab 28px);
}
.case-img.case-dummy::before { display: none; }
.case-dummy .dummy-label {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #efece5; font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
}
.case-dummy .dummy-label svg { opacity: 0.7; }
.case-meta { padding: 20px; }
.case-meta .area { font-size: 11px; color: var(--accent); font-weight: 800; letter-spacing: 0.05em; }
.case-meta h4 { font-size: 16px; font-weight: 800; margin: 4px 0 10px; color: var(--primary); }
.case-meta .info { display: flex; gap: 14px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--paper); border: 1px solid var(--border); border-radius: 8px;
  padding: 20px 24px; margin-bottom: 12px;
}
.faq-q {
  font-size: 16px; font-weight: 800; color: var(--primary);
  display: flex; gap: 12px; margin-bottom: 8px;
}
.faq-q::before {
  content: 'Q'; color: var(--accent); font-family: serif; font-size: 22px; line-height: 1; flex-shrink: 0;
}
.faq-a {
  font-size: 14px; color: var(--muted); line-height: 1.95;
  display: flex; gap: 12px;
}
.faq-a::before {
  content: 'A'; color: var(--gold); font-family: serif; font-size: 22px; line-height: 1; flex-shrink: 0;
}

/* ===== 職人紹介 ===== */
.craftsmen-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 48px;
  margin-top: 32px; justify-content: center;
}
@media (max-width: 880px) { .craftsmen-grid { grid-template-columns: 1fr; } }
.craftsman { text-align: center; }
.craftsman-photo {
  aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #cfcabf, #a49e91);
  margin-bottom: 20px; position: relative;
  max-width: 220px; margin-left: auto; margin-right: auto;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.craftsman-photo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.2), transparent 60%);
}
.craftsman-photo .photo-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 12px;
}
.craftsman .role {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 800; margin-bottom: 8px;
}
.craftsman h4 { font-size: 20px; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.craftsman .position { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.craftsman p { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 260px; margin: 0 auto; }


/* ============================================
   トップページ（旧 mockup.html インライン）
   ============================================ */
:root {
    --base: #f7f4ee;
    --paper: #ffffff;
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --border: #e3ddd0;
    --base: #f3f6fa;
    --paper: #ffffff;
    --ink: #1f2a37;
    --muted: #64748b;
    --border: #dfe6ee;
    --primary: #22303f;
    --primary-deep: #17222e;
    --accent: #2f74c0;
    --accent-deep: #245a97;
    --gold: #e3bc01;
    --gold-deep: #b8920a;
    --ink-on-gold: #20201d;
    --line: #06c755;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif;
    background: var(--base); color: var(--ink); line-height: 1.8;
    font-feature-settings: "palt";
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

  /* ===== ヘッダー ===== */
  .top-bar {
    background: var(--primary-deep); color: rgba(255,255,255,0.85);
    padding: 6px 0; font-size: 12px; text-align: center;
    letter-spacing: 0.05em;
  }
  header {
    background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
  }
  .nav {
    max-width: 1200px; margin: 0 auto; padding: 14px 24px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .logo {
    font-size: 16px; font-weight: 800; color: var(--primary);
    letter-spacing: 0.05em;
  }
  .logo small { display: block; font-size: 9px; color: var(--muted); font-weight: 600; letter-spacing: 0.15em; }
  .nav-right { display: flex; align-items: center; gap: 20px; }
  .nav-menu { display: flex; gap: 24px; font-size: 13px; font-weight: 700; }
  .nav-menu a { color: var(--ink); }
  .nav-menu a:hover { color: var(--accent); }
  .nav-tel {
    color: var(--accent); font-weight: 800; font-size: 18px;
    letter-spacing: 0.02em;
    display: flex; align-items: center; gap: 6px;
  }
  .nav-tel > div { line-height: 1.15; }
  .nav-tel small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 3px; letter-spacing: 0.02em; }
  .nav-cta {
    background: var(--gold); color: var(--ink-on-gold);
    padding: 10px 18px; border-radius: 4px;
    font-size: 13px; font-weight: 800;
  }
  .hamburger { display: none; width: 30px; height: 22px; cursor: pointer; }
  .hamburger span { display: block; height: 2px; background: var(--primary); margin-bottom: 6px; }
  @media (max-width: 880px) {
    .nav-menu, .nav-tel small { display: none; }
    .nav-tel { font-size: 16px; }
    .nav-cta { padding: 8px 14px; font-size: 12px; }
    .hamburger { display: block; }
  }
  /* スマホ実機幅：電話はアイコンのみにして1行に収める */
  @media (max-width: 560px) {
    .nav { padding: 10px 14px; gap: 8px; }
    .nav-right { gap: 10px; }
    .logo img { height: 34px !important; }
    .nav-tel > div { display: none; }
    .nav-tel {
      width: 40px; height: 40px; justify-content: center;
      background: rgba(47,116,192,0.10); border-radius: 50%;
    }
    .nav-cta { padding: 8px 12px; font-size: 11px; white-space: nowrap; }
  }

  /* ===== ヒーロー（写真背景 + オーバーレイ） ===== */
  .hero {
    position: relative; overflow: hidden;
    min-height: 700px;
    color: var(--ink);
    /* PC：白ベース×写真右(0160)。左は白パネルでネイビー文字、顔にかからない */
    background:
      linear-gradient(90deg, var(--base) 0%, var(--base) 40%, rgba(243,246,250,0.55) 50%, rgba(243,246,250,0) 64%),
      url('assets/images/hero/mv-pc.jpg');
    background-size: cover; background-position: right center;
  }
  /* 左側を軽く白で締めて文字を読みやすく */
  .hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(243,246,250,0.55) 0%, transparent 44%);
    pointer-events: none;
  }
  .hero-inner {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto;
    padding: 130px 24px 170px;
    display: flex; flex-direction: column;
    align-items: flex-start;
    max-width: 640px; margin-left: max(24px, calc((100% - 1200px) / 2));
  }
  /* SP：縦版MV(0163)。人物は上、下を白で締めてネイビー文字を下に配置（顔にかからない） */
  @media (max-width: 880px) {
    .hero {
      min-height: 700px;
      background:
        linear-gradient(180deg, rgba(243,246,250,0) 42%, rgba(243,246,250,0.94) 66%, var(--base) 80%),
        url('assets/images/hero/mv-sp.jpg');
      background-size: cover; background-position: right 40%;
    }
    .hero::after { display: none; }
    .hero-inner {
      padding: 36px 20px 72px; max-width: 100%; margin: 0;
      justify-content: flex-end; min-height: 700px;
    }
  }
  .hero-tag {
    display: inline-block;
    background: rgba(47,116,192,0.10); color: var(--accent);
    border: 1px solid rgba(47,116,192,0.30);
    padding: 7px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 40px; font-weight: 900; line-height: 1.4;
    letter-spacing: -0.01em; margin-bottom: 20px;
    max-width: 820px; color: var(--primary);
  }
  .hero h1 .accent { color: var(--accent); }
  .hero h1 .small { font-size: 18px; display: block; margin-top: 14px; opacity: 0.85; font-weight: 800; }
  .hero h1 .brm { display: none; }
  @media (max-width: 880px) {
    .hero h1 { font-size: 28px; line-height: 1.5; }
    .hero h1 .small { font-size: 14px; margin-top: 10px; }
    .hero h1 .brm { display: inline; }
  }
  .hero-sub {
    font-size: 17px; color: var(--muted); margin-bottom: 36px; line-height: 2;
    max-width: 620px;
  }
  .hero-sub-br { display: inline; }
  .hero-sub-br-sp { display: none; }
  @media (max-width: 880px) {
    .hero-tag { font-size: 11px; padding: 6px 12px; margin-bottom: 14px; }
    .hero-sub { font-size: 13px; line-height: 1.85; margin-bottom: 22px; max-width: 100%; }
    .hero-sub-br-sp { display: inline; }
  }
  .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
  @media (max-width: 880px) { .hero-cta { gap: 8px; } .hero-cta .btn { padding: 12px 18px; font-size: 12.5px; } }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 28px; border-radius: 6px;
    font-size: 14px; font-weight: 800; transition: transform 0.15s, box-shadow 0.15s;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
  .btn-primary { background: var(--gold); color: var(--ink-on-gold); }
  .btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
  .btn-line { background: var(--line); color: #fff; }
  .btn-ghost { background: #fff; color: var(--primary); border: 2px solid var(--primary); }

  /* ヒーロー下に独立した実績バー */
  .hero-stats-bar {
    position: relative; z-index: 5;
    background: #fff;
    margin: -60px auto 0;
    max-width: 1120px;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 880px) { .hero-stats-bar { margin: -36px 20px 0; padding: 16px 18px; gap: 6px; grid-template-columns: 1fr; } }
  /* 信頼バッジ */
  .hero-stats-bar .cred {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    padding: 6px 12px; border-right: 1px solid var(--border);
  }
  .hero-stats-bar .cred:last-child { border-right: none; }
  .cred-badge {
    width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f2d54f, #e3bc01);
    border: 2px solid #cfa90f;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.8);
    color: #20201d;
  }
  .cred-text strong { display: block; font-size: 15px; font-weight: 900; color: var(--primary); line-height: 1.35; }
  .cred-text span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
  @media (max-width: 880px) {
    .hero-stats-bar .cred { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 4px; justify-content: flex-start; }
    .hero-stats-bar .cred:last-child { border-bottom: none; }
    .cred-badge { width: 44px; height: 44px; }
    .cred-text strong { font-size: 14px; }
  }

  /* ===== 共通セクション ===== */
  section { padding: 96px 24px; }
  @media (max-width: 880px) { section { padding: 64px 20px; } }
  .container { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    font-size: 11px; letter-spacing: 0.2em; color: var(--gold-deep);
    font-weight: 800; margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
  }
  .section-tag::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
  .section-h2 {
    font-size: 36px; font-weight: 900; line-height: 1.4; color: var(--primary);
    margin-bottom: 16px; letter-spacing: -0.01em;
  }
  @media (max-width: 880px) { .section-h2 { font-size: 26px; } }
  .section-lead { font-size: 15px; color: var(--muted); max-width: 720px; line-height: 2; margin-bottom: 48px; }

  /* ===== 訪問販売 注意喚起 ===== */
  .alert-section {
    background: #fff5ed;
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    padding: 64px 24px;
  }
  .alert-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent); color: var(--ink-on-gold);
    padding: 6px 14px; border-radius: 4px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
    margin-bottom: 16px;
  }
  .alert-h2 {
    font-size: 30px; font-weight: 900; color: var(--accent-deep);
    margin-bottom: 16px; line-height: 1.5;
  }
  @media (max-width: 880px) { .alert-h2 { font-size: 22px; } }
  .alert-lead {
    font-size: 15px; color: var(--ink); line-height: 2;
    margin-bottom: 36px; max-width: 720px;
  }
  .alert-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-bottom: 36px;
  }
  @media (max-width: 880px) { .alert-grid { grid-template-columns: 1fr; } }
  .alert-item {
    background: #fff; border: 1px solid #f3d8c5;
    border-radius: 8px; padding: 22px;
    display: flex; gap: 14px; align-items: flex-start;
  }
  .alert-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: var(--ink-on-gold);
    font-size: 18px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .alert-item h4 { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 6px; line-height: 1.5; }
  .alert-item p { font-size: 12px; color: var(--muted); line-height: 1.8; }
  .alert-cta { text-align: center; }
  .alert-stance {
    background: var(--primary); color: #fff;
    border-radius: 8px; padding: 20px 24px;
    margin-bottom: 28px; display: flex; gap: 14px; align-items: flex-start;
    font-size: 14px; line-height: 1.9;
  }
  .alert-stance strong { color: #8fc0f0; }
  .alert-stance .stance-icon { color: #8fc0f0; flex-shrink: 0; margin-top: 3px; }

  /* ===== 症状チェック ===== */
  .symptoms { background: var(--paper); }
  .symptoms-layout {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
  }
  @media (max-width: 880px) { .symptoms-layout { grid-template-columns: 1fr; gap: 28px; } }
  .symptoms-visual { position: sticky; top: 100px; }
  @media (max-width: 880px) { .symptoms-visual { position: static; } }
  .symptoms-visual img {
    width: 100%; border-radius: 16px; display: block;
    box-shadow: 0 16px 40px rgba(34,48,63,0.12);
  }
  .symptoms-list { display: flex; flex-direction: column; gap: 14px; }
  .symptom-card {
    background: var(--base); border: 1px solid var(--border);
    border-radius: 10px; padding: 18px 20px;
    display: flex; align-items: flex-start; gap: 14px;
    text-align: left; transition: all 0.2s;
  }
  .symptom-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(47,116,192,0.10);
  }
  .symptom-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px; background: rgba(47,116,192,0.1);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }
  .symptom-card h4 { font-size: 14.5px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
  .symptom-card p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }

  /* ===== 強み ===== */
  .strengths { background: var(--base); position: relative; }
  .strengths-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px;
  }
  @media (max-width: 880px) { .strengths-grid { grid-template-columns: 1fr; } }
  .strength-card {
    background: var(--paper); border-radius: 12px; padding: 36px 28px;
    border: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  .strength-card::before {
    content: attr(data-num); position: absolute; right: -20px; top: -30px;
    font-size: 140px; font-weight: 900; color: var(--base);
    font-family: serif; line-height: 1;
  }
  .strength-card .num-tag {
    display: inline-block; background: var(--gold); color: var(--ink-on-gold);
    padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 800;
    margin-bottom: 18px; position: relative; z-index: 1;
  }
  .strength-photo {
    margin: -36px -28px 22px; aspect-ratio: 16/9;
    background-size: cover; background-position: center;
    position: relative; z-index: 1;
  }
  .strength-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(47,116,192,0.10); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; position: relative; z-index: 1;
  }
  .strength-card h3 {
    font-size: 22px; font-weight: 900; margin-bottom: 12px;
    color: var(--primary); position: relative; z-index: 1;
  }
  .strength-card p {
    font-size: 14px; color: var(--muted); line-height: 1.9;
    position: relative; z-index: 1;
  }

  /* ===== 仕事の風景ギャラリー ===== */
  .gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px;
  }
  @media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
  .g-item {
    aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
    background-size: cover; background-position: center;
    position: relative;
  }
  .g-item span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(18,26,35,0.75));
    color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  }

  /* ===== 診断バナー ===== */
  .diag-banner {
    /* 写真＋ネイビーグラデ：左を締めて文字、右に屋根写真をブリード */
    background:
      linear-gradient(90deg, rgba(23,34,46,0.94) 0%, rgba(23,34,46,0.82) 42%, rgba(23,34,46,0.35) 72%, rgba(23,34,46,0.05) 100%),
      url('assets/images/photos/0166.jpg');
    background-size: cover; background-position: center;
    color: #fff; padding: 88px 24px; position: relative; overflow: hidden;
  }
  .diag-banner .container { max-width: 1200px; }
  .diag-banner h2 {
    font-size: 32px; font-weight: 900; line-height: 1.5; margin-bottom: 14px;
    position: relative; z-index: 1; max-width: 640px;
  }
  @media (max-width: 880px) { .diag-banner h2 { font-size: 22px; } .diag-banner { background-position: right center; } }
  .diag-banner p { font-size: 14px; opacity: 0.92; margin-bottom: 28px; position: relative; z-index: 1; max-width: 560px; }

  /* ===== 対応工事 ===== */
  .services { background: var(--paper); }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  }
  @media (max-width: 880px) { .services-grid { grid-template-columns: 1fr; } }
  .service-card {
    background: var(--base); border-radius: 10px; padding: 32px 24px;
    border: 1px solid var(--border); transition: all 0.2s;
  }
  .service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
  .service-img {
    aspect-ratio: 16/9; border-radius: 6px; margin-bottom: 18px; overflow: hidden;
    background: linear-gradient(135deg, #6a7e8e, #3e556b);
    position: relative;
  }
  .service-img::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 12px);
  }
  .service-card h3 {
    font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--primary);
    display: flex; justify-content: space-between; align-items: center;
  }
  .service-card .price {
    font-size: 13px; color: var(--accent); font-weight: 800;
  }
  .service-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

  /* ===== 職人紹介 ===== */
  .craftsmen { background: var(--paper); }
  .craftsmen-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 48px;
    margin-top: 32px; justify-content: center;
  }
  @media (max-width: 880px) { .craftsmen-grid { grid-template-columns: 1fr; } }
  .craftsman {
    text-align: center;
  }
  .craftsman-photo {
    aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, #6a7e8e, #3e556b);
    margin-bottom: 20px; position: relative;
    max-width: 220px; margin-left: auto; margin-right: auto;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .craftsman-photo::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.2), transparent 60%);
  }
  .craftsman-photo .photo-label {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 12px;
  }
  .craftsman .role {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 800; margin-bottom: 8px;
  }
  .craftsman h4 { font-size: 20px; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
  .craftsman .position { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
  .craftsman p { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 260px; margin: 0 auto; }

  /* ===== お客様の声 ===== */
  .voices { background: var(--base); }
  .voices-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  }
  @media (max-width: 880px) { .voices-grid { grid-template-columns: 1fr; } }
  .voice-card {
    background: var(--paper); border-radius: 10px; padding: 32px;
    border: 1px solid var(--border);
  }
  .voice-stars { color: #f5b400; font-size: 18px; margin-bottom: 12px; letter-spacing: 0.1em; }
  .voice-card h4 { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
  .voice-card p { font-size: 14px; color: var(--ink); line-height: 1.95; margin-bottom: 18px; }
  .voice-meta { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--border); }
  .voice-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #c0a070, #8a6840);
    flex-shrink: 0;
  }
  .voice-meta-text { font-size: 12px; color: var(--muted); }
  .voice-meta-text strong { display: block; color: var(--primary); font-size: 13px; }

  /* ===== エリア ===== */
  .area { background: var(--paper); }
  .area-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  }
  @media (max-width: 880px) { .area-grid { grid-template-columns: 1fr; gap: 36px; } }
  .area-visual {
    position: relative; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg, #eef4fb 0%, #e2ecf7 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 56px rgba(34,48,63,0.12);
  }
  .area-visual img { display: block; width: 100%; height: auto; }
  .area-pinlabel {
    position: absolute; left: 50%; top: 46%;
    transform: translate(-50%, -100%);
    background: var(--accent); color: #fff;
    padding: 8px 14px; border-radius: 10px; white-space: nowrap;
    box-shadow: 0 10px 24px rgba(47,116,192,0.45);
    text-align: center;
  }
  .area-pinlabel::after {
    content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px; background: var(--accent);
  }
  .area-pinlabel strong { display: block; font-size: 14px; font-weight: 900; letter-spacing: 0.03em; line-height: 1.2; }
  .area-pinlabel span { font-size: 10px; opacity: 0.92; font-weight: 700; letter-spacing: 0.08em; }
  .area-block { margin-bottom: 30px; }
  .area-block-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
  .area-dot {
    width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; flex-shrink: 0;
    background: #fff; border: 2px solid #a9b7c6;
  }
  .area-dot.main { background: var(--accent); border: none; box-shadow: 0 0 0 4px rgba(47,116,192,0.16); }
  .area-block-head h4 { font-size: 17px; font-weight: 900; color: var(--primary); letter-spacing: 0.02em; margin-bottom: 3px; }
  .area-block-head p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
  .area-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 26px; }
  .area-tag {
    background: var(--base); border: 1px solid var(--border);
    padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink);
  }
  .area-tag.main { background: rgba(47,116,192,0.10); border-color: rgba(47,116,192,0.35); color: var(--accent-deep); }
  .area-note {
    margin-top: 24px; padding: 14px 18px; border-radius: 10px;
    background: var(--base); border: 1px solid var(--border);
    font-size: 13px; color: var(--muted); line-height: 1.8; display: flex; gap: 10px; align-items: flex-start;
  }
  .area-note svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
  .area-note strong { color: var(--primary); }

  /* ===== FAQ ===== */
  .faq { background: var(--base); }
  .faq-list { max-width: 800px; margin: 0 auto; }
  .faq-item {
    background: var(--paper); border: 1px solid var(--border); border-radius: 8px;
    padding: 20px 24px; margin-bottom: 12px;
  }
  .faq-q {
    font-size: 16px; font-weight: 800; color: var(--primary);
    display: flex; gap: 12px; margin-bottom: 8px;
  }
  .faq-q::before {
    content: 'Q'; color: var(--accent); font-family: serif; font-size: 22px; line-height: 1; flex-shrink: 0;
  }
  .faq-a {
    font-size: 14px; color: var(--muted); line-height: 1.95;
    display: flex; gap: 12px;
  }
  .faq-a::before {
    content: 'A'; color: var(--accent-deep); font-family: serif; font-size: 22px; line-height: 1; flex-shrink: 0;
  }

  /* ===== CTA ===== */
  .cta {
    background:
      linear-gradient(rgba(23,34,46,0.90), rgba(23,34,46,0.93)),
      url('assets/images/photos/0170.jpg');
    background-size: cover; background-position: center;
    color: #fff; text-align: center; padding: 80px 24px;
  }
  .cta h2 { font-size: 32px; font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
  @media (max-width: 880px) { .cta h2 { font-size: 24px; } }
  .cta-lead { font-size: 14px; opacity: 0.85; margin-bottom: 36px; }
  .cta-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 760px; margin: 0 auto;
  }
  @media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }
  .cta-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px; padding: 28px 20px;
    transition: all 0.2s;
  }
  .cta-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
  .cta-card .icon { width: 48px; height: 48px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
  .cta-card.tel .icon { background: rgba(47,116,192,0.25); color: #8fc0f0; }
  .cta-card.line .icon { background: rgba(6,199,85,0.25); color: #6be0a0; }
  .cta-card.form .icon { background: rgba(47,116,192,0.25); color: #8fc0f0; }
  .cta-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
  .cta-card .big { font-size: 22px; font-weight: 900; margin: 4px 0; letter-spacing: 0.02em; }
  .cta-card small { font-size: 11px; opacity: 0.75; }

  /* ===== フッター ===== */
  footer { background: var(--primary-deep); color: rgba(255,255,255,0.6); padding: 56px 24px 24px; }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  @media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
  .footer-info h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.02em; }
  .footer-info p { font-size: 12px; line-height: 1.9; }
  .footer-col h4 { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 14px; }
  .footer-col ul { list-style: none; font-size: 12px; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11px; text-align: center; }

/* ===== services.html 固有 ===== */
/* ===== 導入 ===== */
  .intro-box {
    background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--accent);
    padding: 26px 30px; margin-bottom: 44px; border-radius: 4px;
  }
  @media (max-width: 880px) { .intro-box { padding: 20px 22px; } }
  .intro-box h3 { font-size: 19px; font-weight: 900; color: var(--primary); margin-bottom: 10px; }
  .intro-box p { font-size: 14px; line-height: 2; color: var(--ink); }

  /* ===== 主力2工事の比較 ===== */
  .vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 20px; }
  @media (max-width: 880px) { .vs-grid { grid-template-columns: 1fr; gap: 22px; } }
  .vs-card {
    background: var(--paper); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .vs-card .pic { aspect-ratio: 3/2; background-size: cover; background-position: center; position: relative; }
  .vs-card .pic b {
    position: absolute; left: 0; top: 0; background: var(--primary); color: #fff;
    font-size: 11.5px; font-weight: 800; letter-spacing: .08em; padding: 7px 14px;
  }
  .vs-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
  @media (max-width: 880px) { .vs-body { padding: 20px; } }
  .vs-body h3 { font-size: 23px; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
  .vs-yen { font-size: 27px; font-weight: 900; color: var(--accent); letter-spacing: .01em; margin-bottom: 14px; }
  .vs-yen span { font-size: 13px; color: var(--muted); font-weight: 700; margin-left: 6px; }
  .vs-fit {
    background: #fff8ef; border-left: 3px solid var(--accent); padding: 12px 16px;
    font-size: 13.5px; line-height: 1.85; margin-bottom: 16px;
  }
  .vs-fit b { color: var(--primary); }
  .vs-body > p { font-size: 14px; line-height: 2; color: var(--ink); margin-bottom: 16px; }
  .vs-meta {
    display: flex; gap: 22px; font-size: 12px; color: var(--muted);
    border-top: 1px solid var(--border); padding-top: 13px; margin-top: auto;
  }
  .vs-meta b { display: block; color: var(--primary); font-weight: 900; font-size: 15px; margin-top: 2px; }

  /* ===== 工事の流れ ===== */
  .flow-wrap { background: var(--paper); border: 1px solid var(--border); border-radius: 6px; padding: 32px; margin-bottom: 48px; }
  @media (max-width: 880px) { .flow-wrap { padding: 22px; } }
  .flow-wrap h3 { font-size: 17px; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
  .flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: f; }
  @media (max-width: 880px) { .flow { grid-template-columns: 1fr; gap: 0; } }
  .flow div {
    counter-increment: f; padding: 14px 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 3px;
    font-size: 12.5px; font-weight: 700; line-height: 1.6; color: var(--ink);
  }
  @media (max-width: 880px) { .flow div { border-radius: 0; margin-bottom: -1px; } }
  .flow div::before {
    content: counter(f); display: inline-flex; align-items: center; justify-content: center;
    width: 19px; height: 19px; background: var(--primary); color: #fff;
    border-radius: 50%; font-size: 11px; font-weight: 900; margin-right: 7px; vertical-align: 1px;
  }
  .flow div small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; }

  /* ===== その他の工事 ===== */
  .other-list { border-top: 1px solid var(--border); margin-bottom: 24px; }
  .other-item {
    display: grid; grid-template-columns: 150px 1fr 180px; gap: 26px; align-items: center;
    padding: 22px 0; border-bottom: 1px solid var(--border);
  }
  @media (max-width: 880px) {
    .other-item { grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; }
    .other-price { grid-column: 2; }
  }
  .other-thumb { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 3px; }
  .other-body h4 { font-size: 18px; font-weight: 900; color: var(--primary); margin-bottom: 5px; }
  .other-body p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }
  .other-price { text-align: right; font-size: 19px; font-weight: 900; color: var(--accent); white-space: nowrap; }
  .other-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
  @media (max-width: 880px) { .other-price { text-align: left; font-size: 16px; margin-top: 3px; } }

  .note-band {
    background: var(--base); border: 1px solid var(--border); border-radius: 4px;
    padding: 20px 24px; font-size: 13.5px; line-height: 1.95; color: var(--ink);
  }
  .note-band b { color: var(--primary); }
/* ===== reasons.html 固有 ===== */
.reason-block { background: var(--paper); border-radius: 12px; padding: 48px; margin-bottom: 32px; border: 1px solid var(--border); display: grid; grid-template-columns: 0.4fr 1fr; gap: 40px; align-items: center; }
  .reason-block.reverse { grid-template-columns: 1fr 0.4fr; }
  .reason-block.reverse .reason-photo { order: 2; }
  @media (max-width: 880px) { .reason-block, .reason-block.reverse { grid-template-columns: 1fr; padding: 28px; gap: 20px; } .reason-block.reverse .reason-photo { order: 0; } }
  .reason-photo {
    aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
    background-size: cover; background-position: center; position: relative;
  }
  .reason-photo .rnum {
    position: absolute; left: 12px; top: 12px;
    background: var(--gold); color: var(--ink-on-gold);
    padding: 5px 12px; border-radius: 5px;
    font-size: 12px; font-weight: 900; letter-spacing: 0.08em;
  }
  .reason-block h3 { font-size: 28px; font-weight: 900; color: var(--primary); margin-bottom: 14px; line-height: 1.5; }
  .reason-block p { font-size: 14px; color: var(--ink); line-height: 2; margin-bottom: 12px; }
  .message-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; padding: 56px; border-radius: 12px; margin-bottom: 32px; }
  @media (max-width: 880px) { .message-box { padding: 32px 24px; } }
  .message-inner { display: grid; grid-template-columns: 0.42fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 880px) { .message-inner { grid-template-columns: 1fr; gap: 26px; } }
  .message-photo {
    aspect-ratio: 3/4; border-radius: 8px; overflow: hidden;
    background-size: cover; background-position: center top;
  }
  @media (max-width: 880px) { .message-photo { aspect-ratio: 4/3; max-width: 260px; margin: 0 auto; } }
  .message-box .ribbon { display: inline-block; background: var(--accent); padding: 5px 12px; border-radius: 3px; font-size: 11px; font-weight: 800; margin-bottom: 18px; letter-spacing: 0.05em; }
  .message-box h3 { font-size: 23px; font-weight: 900; margin-bottom: 18px; line-height: 1.65; }
  @media (max-width: 880px) { .message-box h3 { font-size: 19px; } }
  .message-box p { font-size: 14px; line-height: 2.1; opacity: 0.92; margin-bottom: 14px; }
  .message-sign { font-size: 13px; opacity: 0.8; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); }
  .message-sign b { display: block; font-size: 17px; opacity: 1; margin-top: 5px; letter-spacing: 0.05em; }
/* ===== company.html 固有 ===== */
.info-table { background: var(--paper); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
  .info-table dl { display: grid; grid-template-columns: 200px 1fr; }
  @media (max-width: 880px) { .info-table dl { grid-template-columns: 1fr; } }
  .info-table dt, .info-table dd { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .info-table dt { background: var(--base); font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 0.05em; }
  .info-table dd { font-size: 14px; color: var(--ink); }
  @media (max-width: 880px) { .info-table dt { padding-bottom: 4px; border-bottom: none; } }
  .info-table dl:last-child dt, .info-table dl:last-child dd { border-bottom: none; }
  .history-list { max-width: 800px; margin: 0 auto; }
  .history-item { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--border); }
  @media (max-width: 880px) { .history-item { grid-template-columns: 1fr; gap: 8px; } }
  .history-year { font-size: 18px; font-weight: 900; color: var(--accent); font-family: 'Times New Roman', serif; letter-spacing: 0.02em; }
  .history-content h4 { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
  .history-content p { font-size: 13px; color: var(--muted); line-height: 1.9; }
/* ===== area.html 固有 ===== */
.area-hero { position: relative; max-width: 660px; margin: 0 auto 48px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg,#eef4fb,#e2ecf7); border: 1px solid var(--border); box-shadow: 0 24px 56px rgba(34,48,63,0.12);
  }
  .area-pinlabel { position:absolute; left:50%; top:46%; transform:translate(-50%,-100%); background:var(--accent); color:#fff; padding:8px 14px; border-radius:10px; white-space:nowrap; text-align:center; box-shadow:0 10px 24px rgba(47,116,192,0.45); }
  .area-pinlabel::after { content:''; position:absolute; left:50%; bottom:-6px; transform:translateX(-50%) rotate(45deg); width:12px; height:12px; background:var(--accent); }
  .area-pinlabel strong { display:block; font-size:14px; font-weight:900; letter-spacing:0.03em; line-height:1.2; }
  .area-pinlabel span { font-size:10px; opacity:0.92; font-weight:700; letter-spacing:0.08em; }
  .area-hero svg { display: block; width: 100%; height: auto; }
  .area-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
  @media (max-width: 880px) { .area-list-grid { grid-template-columns: 1fr; } }
  .area-section { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 32px; }
  .area-section.main { border: 2px solid var(--accent); }
  .area-section h3 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
  .area-section .badge { background: var(--accent); color: var(--ink-on-gold); padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; }
  .area-section .badge.gray { background: var(--muted); }
  .area-section p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
  .area-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .area-item { background: var(--base); border: 1px solid var(--border); padding: 8px 14px; border-radius: 4px; font-size: 13px; font-weight: 700; }
  .area-section.main .area-item { background: rgba(47,116,192,0.10); border-color: var(--accent); color: var(--primary); }
  .area-table { width: 100%; border-collapse: collapse; margin-top: 16px; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
  .area-table th, .area-table td { padding: 12px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
  .area-table th { background: var(--base); font-weight: 800; color: var(--primary); }
  .area-table td:last-child { color: var(--accent); font-weight: 700; }
/* ===== faq.html 固有 ===== */
.faq-cat { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
  .faq-cat:first-of-type { margin-top: 0; }
/* ===== contact.html 固有 ===== */
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
  @media (max-width: 880px) { .contact-options { grid-template-columns: 1fr; } }
  .contact-opt { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 32px 24px; text-align: center; transition: all 0.2s; }
  .contact-opt:hover { transform: translateY(-3px); border-color: var(--accent); }
  .contact-opt .icon-wrap { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .contact-opt.tel .icon-wrap { background: rgba(227,188,1,0.15); color: var(--accent); }
  .contact-opt.line .icon-wrap { background: rgba(6,199,85,0.15); color: var(--line); }
  .contact-opt.form .icon-wrap { background: rgba(184,138,59,0.15); color: var(--gold); }
  .contact-opt h3 { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
  .contact-opt .big { font-size: 22px; font-weight: 900; color: var(--accent); margin: 8px 0; }
  .contact-opt small { font-size: 12px; color: var(--muted); display: block; }
  .form-wrap { background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 48px; }
  @media (max-width: 880px) { .form-wrap { padding: 28px; } }
  .form-row { margin-bottom: 24px; }
  .form-row label { display: block; font-size: 13px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
  .form-row label .req { background: var(--accent); color: var(--ink-on-gold); padding: 2px 6px; border-radius: 3px; font-size: 10px; margin-left: 6px; font-weight: 700; }
  .form-row label .opt { background: var(--muted); color: #fff; padding: 2px 6px; border-radius: 3px; font-size: 10px; margin-left: 6px; font-weight: 700; }
  .form-row input[type=text], .form-row input[type=tel], .form-row input[type=email], .form-row textarea, .form-row select {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border); border-radius: 6px;
    font-size: 14px; font-family: inherit;
    background: var(--base);
  }
  .form-row textarea { min-height: 120px; resize: vertical; }
  .form-row .help { font-size: 11px; color: var(--muted); margin-top: 6px; }
  .form-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
  .form-radio { background: var(--base); border: 1px solid var(--border); padding: 10px 18px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
  .form-radio.urgent { border-color: var(--accent); color: var(--accent); }
  .form-radio:hover { border-color: var(--accent); color: var(--accent); }
  .form-submit { background: var(--accent); color: var(--ink-on-gold); padding: 18px 48px; border: none; border-radius: 6px; font-size: 15px; font-weight: 800; cursor: pointer; width: 100%; }
  .form-submit:hover { background: var(--accent-deep); }
  .form-policy { font-size: 11px; color: var(--muted); margin-top: 14px; text-align: center; }
  .form-policy a { color: var(--accent); text-decoration: underline; }
  .response-info { background: var(--base); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 4px; margin-bottom: 32px; font-size: 13px; line-height: 1.9; }
  .response-info strong { color: var(--accent); }
/* ===== alert.html 固有 ===== */
.alert-hero { background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%) !important; }
  .alert-hero::before { background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 65%) !important; }

  .danger-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 880px) { .danger-list { grid-template-columns: 1fr; } }
  .danger-card {
    background: #fff; border: 1px solid #f3d8c5; border-left: 4px solid var(--accent);
    border-radius: 8px; padding: 24px;
  }
  .danger-card .num { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: 0.05em; margin-bottom: 6px; display: block; }
  .danger-card h3 { font-size: 17px; font-weight: 900; color: var(--primary); margin-bottom: 10px; line-height: 1.5; }
  .danger-card p { font-size: 13px; color: var(--ink); line-height: 1.9; margin-bottom: 8px; }
  .danger-card .real { background: #fff5ed; border-left: 3px solid var(--accent); padding: 10px 12px; font-size: 12px; color: var(--accent-deep); border-radius: 4px; margin-top: 10px; }
  .danger-card .real strong { font-weight: 800; }

  .stance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
  @media (max-width: 880px) { .stance-grid { grid-template-columns: 1fr; } }
  .stance-card { background: var(--paper); border: 1px solid var(--border); border-radius: 8px; padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
  .stance-icon-circle { width: 40px; height: 40px; border-radius: 50%; background: rgba(47,125,79,0.1); color: #2f7d4f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .stance-card h4 { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
  .stance-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

  .checklist { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 32px; }
  @media (max-width: 880px) { .checklist { padding: 22px; } }
  .checklist h3 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
  .checklist ol { padding-left: 20px; }
  .checklist li { font-size: 14px; color: var(--ink); line-height: 2; padding: 6px 0; border-bottom: 1px dashed var(--border); }
  .checklist li:last-child { border-bottom: none; }

  .helpline { background: var(--primary); color: #fff; border-radius: 10px; padding: 32px; }
  @media (max-width: 880px) { .helpline { padding: 22px; } }
  .helpline h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; color: #f3d36b; }
  .helpline-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); align-items: baseline; }
  @media (max-width: 880px) { .helpline-row { grid-template-columns: 1fr; gap: 4px; } }
  .helpline-row:last-child { border-bottom: none; }
  .helpline-row .name { font-size: 13px; font-weight: 800; }
  .helpline-row .info { font-size: 12px; opacity: 0.85; line-height: 1.7; }

  .accent-quote { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; border-radius: 10px; padding: 40px; margin: 40px 0; position: relative; overflow: hidden; }
  @media (max-width: 880px) { .accent-quote { padding: 28px; } }
  .accent-quote::before { content: '"'; position: absolute; top: 8px; left: 24px; font-size: 120px; color: rgba(227,188,1,0.2); font-family: serif; line-height: 1; }
  .accent-quote p { position: relative; z-index: 1; font-size: 16px; line-height: 2; font-weight: 700; }
/* ===== privacy.html 固有 ===== */
.policy-body h2 { font-size: 18px; font-weight: 900; color: var(--primary); margin: 40px 0 12px; }
  .policy-body h2:first-child { margin-top: 0; }
  .policy-body p, .policy-body li { font-size: 14px; color: var(--ink); line-height: 2; }
  .policy-body ul { padding-left: 20px; margin-bottom: 12px; }
  .policy-body .updated { font-size: 12px; color: var(--muted); margin-top: 48px; }

/* ============================================
   お知らせ（WordPress追加分）
   ============================================ */
.news-list { border-top: 1px solid var(--border); }
.news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.news-item:hover { background: rgba(0,0,0,.02); }
@media (max-width: 880px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
}
.news-item time { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.news-item h3 { font-size: 16px; font-weight: 800; color: var(--primary); line-height: 1.7; }

.news-single { max-width: 760px; margin: 0 auto; }
.news-date { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.news-thumb { margin-bottom: 28px; border-radius: 8px; overflow: hidden; }
.news-thumb img { width: 100%; height: auto; display: block; }
.news-back { margin-top: 44px; text-align: center; }

.news-pager { margin-top: 40px; text-align: center; }
.news-pager .page-numbers {
  display: inline-block; padding: 9px 15px; margin: 0 3px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 14px; font-weight: 700; color: var(--primary); background: var(--paper);
}
.news-pager .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.news-pager .screen-reader-text { display: none; }

/* ============================================
   投稿本文（管理画面から入力された内容）
   ============================================ */
.wp-content { font-size: 15px; line-height: 2.05; color: var(--ink); max-width: 760px; }
.wp-content > * + * { margin-top: 1.4em; }
.wp-content h2 {
  font-size: 22px; font-weight: 900; color: var(--primary);
  padding-left: 13px; border-left: 4px solid var(--accent);
  margin-top: 2.2em; line-height: 1.6;
}
.wp-content h3 { font-size: 18px; font-weight: 800; color: var(--primary); margin-top: 2em; }
.wp-content a { color: var(--accent); text-decoration: underline; }
.wp-content ul, .wp-content ol { padding-left: 1.5em; }
.wp-content li { margin-bottom: .5em; }
.wp-content img { max-width: 100%; height: auto; border-radius: 6px; }
.wp-content blockquote {
  border-left: 3px solid var(--border); padding: 4px 0 4px 20px; color: var(--muted);
}
.wp-content table { width: 100%; border-collapse: collapse; }
.wp-content th, .wp-content td { padding: 12px 16px; border: 1px solid var(--border); font-size: 14px; text-align: left; }
.wp-content th { background: var(--base); font-weight: 800; color: var(--primary); }

/* ============================================
   Contact Form 7（既存デザインに合わせる）
   ============================================ */
.wpcf7 .form-row { margin-bottom: 22px; }
.wpcf7 .form-row label {
  display: block; font-size: 14px; font-weight: 800;
  color: var(--primary); margin-bottom: 8px;
}
.wpcf7 .req, .wpcf7 .opt {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 3px; margin-left: 6px; vertical-align: 2px;
}
.wpcf7 .req { background: var(--accent); color: var(--ink-on-gold, #fff); }
.wpcf7 .opt { background: var(--muted); color: #fff; }

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 5px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--paper); transition: border-color .15s;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: none; border-color: var(--accent);
}
.wpcf7 textarea { min-height: 150px; line-height: 1.9; resize: vertical; }
.wpcf7 input[type="file"] { font-size: 13px; color: var(--muted); }

.wpcf7 .form-note {
  font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.7;
}

/* ラジオ（緊急度） */
.wpcf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 9px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0; padding: 11px 16px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 5px;
  background: var(--paper); font-size: 13.5px; font-weight: 700;
  transition: all .15s;
}
.wpcf7 .wpcf7-list-item label:hover { border-color: var(--accent); }
.wpcf7 .wpcf7-list-item input[type="radio"] { accent-color: var(--accent); margin: 0; }

/* 送信ボタン */
.wpcf7 .form-submit-wrap { margin-top: 34px; }
.wpcf7 input[type="submit"] {
  width: 100%; padding: 18px 24px; border: none; border-radius: 6px;
  background: var(--accent); color: var(--ink-on-gold, #fff);
  font-size: 16px; font-weight: 900; font-family: inherit;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* バリデーション・通知 */
.wpcf7 .wpcf7-not-valid-tip {
  color: #c4361b; font-size: 12.5px; font-weight: 700; margin-top: 6px;
}
.wpcf7 .wpcf7-not-valid { border-color: #c4361b !important; }
.wpcf7 form .wpcf7-response-output {
  margin: 26px 0 0; padding: 16px 20px; border-radius: 5px;
  font-size: 14px; line-height: 1.85; border-width: 1px;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2f7d4f; background: #f0f8f2; color: #1d5c38;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #c4361b; background: #fdf2f0; color: #8e2712;
}
.wpcf7-spinner { display: block; margin: 14px auto 0; }
