/* =========================================================
   テンプレートA「クール」 12ページ型ホームページ 共通CSS
   色：紺＋白＋オレンジ／直線的／写真を大きく
   スマホ最優先（375px）→ 768px以上でPCレイアウト
   色を変えるときは :root の変数だけ触ればOK
   ========================================================= */

:root {
  --navy: #2c62b0;      /* 2026-10-06 ひでさん「紺が濃すぎる」→ 明るめに（旧 #14305e → #1b4280 → #23539c → #2c62b0） */
  --navy-deep: #22519a; /* 旧 #0e2246 */
  --blue: #1f5fa8;
  --blue-light: #e8f0fa;
  --sky: #f4f8fc;
  --orange: #f28c28;
  --orange-deep: #d9741a;
  --text: #222b38;
  --muted: #5b6675;
  --line: #d9e1ec;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 6px 18px rgba(20, 48, 94, 0.10);
  --maxw: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section { padding-block: 56px; }
.section-alt { background: var(--sky); }

.section-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--orange);
  margin: 12px auto 0;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(242, 140, 40, 0.35);
  font-size: 1.05rem;
  width: 100%;
  max-width: 420px;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px;
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-primary .btn-main { font-size: 1.1rem; }
.btn-primary .btn-sub { font-size: 0.8rem; font-weight: 500; opacity: 0.95; }

.btn-tel {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  font-size: 1.05rem;
  width: 100%;
  max-width: 420px;
}
.btn-tel:hover { background: var(--blue-light); }

/* ---------- ①ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--navy);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.brand {
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.7rem; color: var(--muted); }

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-tel svg { width: 16px; height: 16px; fill: currentColor; }
.header-tel .tel-number { display: none; }

/* ---------- ②ヒーロー ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%);
  color: var(--white);
  padding-block: 48px 44px;
  position: relative;
  overflow: hidden;
}
/* 直線的な斜めの帯 */
.hero::before {
  content: "";
  position: absolute;
  right: -30%;
  top: 0;
  width: 60%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  transform: skewX(-14deg);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 28px; }
.hero-area {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 14px;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 1.7rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero h1 .accent { color: #ffd39a; }
.hero-lead {
  font-size: 0.98rem;
  opacity: 0.95;
  margin-bottom: 24px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-tags li {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-note { font-size: 0.8rem; opacity: 0.9; margin: 0; }

/* 挿絵の差し替え枠（img/hero.png があれば画像、無ければSVG） */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.hero-art img { width: 100%; height: 100%; object-fit: contain; }
.hero-art img[hidden] { display: none; }
.hero-art .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img:not([hidden]) ~ .hero-fallback { display: none; }

/* ---------- ③選ばれる理由 ---------- */
.reasons { display: grid; gap: 16px; }
.reason {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.reason-num {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.reason h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.reason p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- ④対応工事 ---------- */
.menus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.menu-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 2026-10-07 トップの絵：作業中の7枚が横に流れながら切り替わる（28秒で1周） */
.hero-slides { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); background: #dfe9f7; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.hero-slides .hs { opacity: 0; animation: heroSlide 28s linear infinite; will-change: opacity, transform; }
.hero-slides .hs:nth-of-type(2) { animation-delay: 0s; }
.hero-slides .hs:nth-of-type(3) { animation-delay: 4s; }
.hero-slides .hs:nth-of-type(4) { animation-delay: 8s; }
.hero-slides .hs:nth-of-type(5) { animation-delay: 12s; }
.hero-slides .hs:nth-of-type(6) { animation-delay: 16s; }
.hero-slides .hs:nth-of-type(7) { animation-delay: 20s; }
.hero-slides .hs:nth-of-type(8) { animation-delay: 24s; }
@keyframes heroSlide {
  0%    { opacity: 0; transform: translateX(8%) scale(1.08); }
  3%    { opacity: 1; }
  14.3% { opacity: 1; }
  17.5% { opacity: 0; transform: translateX(-8%) scale(1.08); }
  100%  { opacity: 0; transform: translateX(-8%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero-slides .hs { animation: none; opacity: 0; } }

/* 2026-10-06 ひでさん「アイコンが抽象的」→ 具体的なイラストに */
.menu-icon.menu-pic { width: 128px; height: 128px; background: none; padding: 0; overflow: hidden; border-radius: 12px; }
.menu-icon.menu-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.song-video { display: block; width: 100%; max-width: 720px; height: auto; aspect-ratio: 16 / 9; margin: 6px auto 14px; border-radius: 12px; background: #15376b; }
.song-box:has(.song-video) { max-width: 760px; }
.song-pic { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto 14px; border-radius: 12px; }
.hero-art:not(.hero-slides) img { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.page-art img { border-radius: 10px; }
.menu-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.menu p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.menu-price {
  display: inline-block;
  margin-top: 10px;
  background: #fff3e6;
  color: var(--orange-deep);
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.menus-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 20px; margin-bottom: 0; }

/* ---------- ⑤対応エリア ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.areas li {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--navy);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.95rem;
}
.areas-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- ⑥施工写真ギャラリー（写真は縦位置 3:4） ---------- */
.gallery { display: grid; gap: 16px; }
.ph {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #dfe8f3 0%, #c9d7e8 100%);
  aspect-ratio: 3 / 4;
  width: 100%;
  box-shadow: var(--shadow);
}
.ph::before {
  content: "施工写真（準備中）";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.6;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph img[hidden] { display: none; }
.ph figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(20, 48, 94, 0.82);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 12px;
  border-left: 4px solid var(--orange);
}

/* ---------- ⑦代表あいさつ ---------- */
.greeting {
  display: grid;
  gap: 24px;
  align-items: start;
}
.face {
  margin: 0 auto;
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #dfe8f3 0%, #c9d7e8 100%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.face::before {
  content: "代表写真";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.6;
}
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face img[hidden] { display: none; }
.greeting-body h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.greeting-name { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.greeting-body p { font-size: 0.95rem; }

/* ---------- ⑧お問い合わせ ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); }
.contact .section-title { color: var(--white); }
.contact .section-lead { color: rgba(255, 255, 255, 0.9); }
.contact-box {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-or { color: var(--muted); font-size: 0.85rem; margin: 0; }
.contact-hours {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.contact-hours strong { color: var(--navy); }
.contact-steps {
  width: 100%;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: 6px;
}
.contact-steps h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; text-align: center; }
.contact-steps ol { margin: 0; padding-left: 1.4em; font-size: 0.9rem; color: var(--muted); }
.contact-steps li { margin-bottom: 2px; }

/* ---------- ⑨フッター ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 32px 28px;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer .footer-name { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: #ffd39a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-uketsuke {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 14px;
  font-size: 0.8rem;
}
.footer-copy { margin-top: 16px; font-size: 0.75rem; opacity: 0.7; }

/* ---------- スマホ用 固定ボタン（画面下） ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 14px rgba(20, 48, 94, 0.12);
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
  padding: 11px 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.2;
}
.sticky-cta .s-tel { background: var(--navy); color: var(--white); }
.sticky-cta .s-ai { background: var(--orange); color: var(--white); }
.sticky-cta svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
body { padding-bottom: 72px; }

/* ---------- PC（768px以上） ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }

  .section { padding-block: 72px; }
  .section-title { font-size: 1.8rem; }

  .header-tel { font-size: 1rem; padding: 10px 18px; }
  .header-tel .tel-number { display: inline; }
  .brand-name { font-size: 1.3rem; }

  .hero { padding-block: 72px 64px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-lead { font-size: 1.1rem; max-width: 640px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary { width: auto; min-width: 380px; }
  .hero-art { max-width: 440px; margin: 0; justify-self: end; }

  .reasons { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .menus { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .menu { padding: 26px 18px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .greeting { grid-template-columns: 200px 1fr; gap: 40px; max-width: 860px; margin: 0 auto; }
  .face { width: 200px; height: 200px; }

  .contact-box { padding: 36px 40px; }
  .btn-tel { width: auto; min-width: 320px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
}

/* =========================================================
   ▼ 12ページ構成用の追加スタイル（ヘッダーナビ・パンくず・
     ページ見出し・記事本文・FAQ・表・末尾CTA・フッターナビ）
   B/C スタイルへ展開するときは、この style.css だけ差し替える
   （HTML側のクラス名は共通）
   ========================================================= */

/* ---------- ヘッダー：2段（店名＋電話／ナビ） ---------- */
.site-header .container { flex-wrap: wrap; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 60px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-tel { padding: 9px 12px; }

.nav-toggle {
  appearance: none;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: none;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-block: 6px 10px;
}
.site-header.nav-open .site-nav { display: block; }
.site-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.site-nav a {
  display: block;
  padding: 9px 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--line);
}
.site-nav a:hover { background: var(--blue-light); }
.site-nav a[aria-current="page"] { color: var(--orange-deep); border-bottom: 2px solid var(--orange); }

/* 375px幅では店名の副題を隠して1行に収める（ヒーローに同じ文言あり） */
@media (max-width: 479px) { .brand-sub { display: none; } }

/* ---------- パンくず ---------- */
.breadcrumb { background: var(--sky); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- ページ見出し（挿絵枠つき） ---------- */
.page-head {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-block: 32px 30px;
}
.page-head::before {
  content: "";
  position: absolute;
  right: -30%;
  top: 0;
  width: 55%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  transform: skewX(-14deg);
}
.page-head .container { position: relative; z-index: 1; display: grid; gap: 20px; }
.page-head .page-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 3px 12px;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.page-head h1 { font-size: 1.5rem; margin-bottom: 10px; }
.page-head h1 .accent { color: #ffd39a; }
.page-head .page-lead { font-size: 0.95rem; opacity: 0.95; margin: 0; }

/* 挿絵枠：img/ill/○○.png（1200×800・透過PNG）があれば画像、無ければSVG装飾
   スマホは幅100%、PCは横最大720pxで中央寄せ */
.page-art {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
}
.page-art img { width: 100%; height: 100%; object-fit: contain; }
.page-art img[hidden] { display: none; }
.page-art .art-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-art img:not([hidden]) ~ .art-fallback { display: none; }

/* ---------- 記事本文 ---------- */
.article { padding-block: 40px; }
.article .container { max-width: 860px; }
.article h2 {
  font-size: 1.25rem;
  color: var(--navy);
  border-left: 5px solid var(--orange);
  padding-left: 12px;
  margin: 40px 0 14px;
  line-height: 1.4;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 24px 0 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue-light);
}
.article p { font-size: 0.97rem; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 4px; font-size: 0.97rem; }
.article strong { color: var(--navy); }

.lead-box {
  background: var(--sky);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.lead-box p:last-child { margin-bottom: 0; }

.note {
  background: #fff8f0;
  border: 1px solid #f5d5b3;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 1.2em;
}
.note strong { color: var(--orange-deep); }

/* 手順（番号つきステップ） */
.steps { list-style: none !important; padding-left: 0 !important; counter-reset: step; display: grid; gap: 10px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px 12px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.steps li strong { display: block; margin-bottom: 2px; }

/* カード（症状別・ポイント） */
.cards { display: grid; gap: 12px; margin-bottom: 1.2em; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; border: 0; padding: 0; font-size: 1rem; }
.card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* 表 */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 320px;
}
.article th, .article td {
  border: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}
.article th { background: var(--blue-light); color: var(--navy); font-weight: 700; }
.article tbody th { width: 34%; }
.tbd { color: var(--orange-deep); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-bottom: 1.2em; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 40px 12px 14px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  font-size: 0.97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--orange); font-weight: 800; margin-right: 8px; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 1.3rem;
  color: var(--blue);
}
.faq details[open] summary::after { content: "－"; }
.faq .answer { padding: 0 14px 14px 14px; font-size: 0.93rem; border-top: 1px dashed var(--line); }
.faq .answer p { margin: 10px 0 0; }
.faq .answer p::before { content: "A"; color: var(--navy); font-weight: 800; margin-right: 8px; }

/* 写真4枚チェックリスト（料金ページ） */
.photo-list { list-style: none !important; padding-left: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.2em; }
.photo-list li {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 0.9rem;
  margin: 0;
}
.photo-list li strong { display: block; color: var(--navy); margin-bottom: 2px; }

/* 施工事例カード */
.cases { display: grid; gap: 18px; margin-bottom: 1.2em; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.case .ph { border-radius: 0; box-shadow: none; }
.case-body { padding: 14px 16px 16px; }
.case-body h3 { margin: 0 0 6px; border: 0; padding: 0; font-size: 1rem; }
.case-body p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.case-meta { display: inline-block; font-size: 0.78rem; color: var(--white); background: var(--navy); padding: 2px 10px; margin-bottom: 8px; }

/* エリア別ブロック */
.area-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.area-block h2 { margin: 0 0 8px; font-size: 1.1rem; }
.area-block p { margin: 0; font-size: 0.93rem; }

/* 資格・登録番号の表（会社概要） */
.spec-table th { width: 40%; }

/* 4メニューへの導線（各ページ共通） */
.menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.2em; }
.menu-links a {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-align: center;
}
.menu-links a:hover { background: var(--blue-light); }
.menu a.menu-more { display: inline-block; margin-top: 8px; font-size: 0.85rem; font-weight: 700; }

/* 資格の要約（トップ） */
.quals { display: grid; gap: 10px; margin-bottom: 16px; }
.qual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}
.qual strong { color: var(--navy); display: block; }
.qual span { color: var(--muted); font-size: 0.85rem; }
.center-link { text-align: center; }
.center-link a { font-weight: 700; }

/* ---------- 各ページ末尾の CTA帯 ---------- */
.cta-band { background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); padding-block: 40px; }
.cta-band .container { max-width: 860px; }
.cta-band h2 { font-size: 1.25rem; text-align: center; margin-bottom: 6px; }
.cta-band .cta-lead { text-align: center; font-size: 0.92rem; opacity: 0.95; margin-bottom: 18px; }
.cta-band .contact-box { max-width: 560px; }

/* ---------- フッター：全ページリンク ---------- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 14px 0 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-nav a { color: rgba(255, 255, 255, 0.9); font-size: 0.82rem; }

/* ---------- PC ---------- */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; border-top: 1px solid var(--line); padding-block: 0; }
  .site-nav ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .site-nav a { border-bottom: 3px solid transparent; padding: 10px 6px; font-size: 0.86rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }

  .breadcrumb ol { font-size: 0.82rem; }

  .page-head { padding-block: 48px 40px; }
  .page-head .container { gap: 32px; }
  .page-head h1 { font-size: 2.1rem; }
  .page-head .page-lead { font-size: 1.05rem; max-width: 760px; }
  .page-art { max-width: 720px; }

  .article { padding-block: 56px; }
  .article h2 { font-size: 1.45rem; margin-top: 48px; }
  .article h3 { font-size: 1.12rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .photo-list { grid-template-columns: repeat(4, 1fr); }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .menu-links { grid-template-columns: repeat(4, 1fr); }
  .quals { grid-template-columns: repeat(3, 1fr); }
  .cta-band { padding-block: 56px; }
  .cta-band h2 { font-size: 1.6rem; }
}

/* 前後がひと目で分かるよう、4枚組は2列にする（大御宝建築 2026-09-27 追加）*/
@media (min-width: 700px) {
  .gallery.gallery-2 { grid-template-columns: repeat(2, 1fr); }
}

/* 代表あいさつ：顔写真なし＋思い出の写真を添える（大御宝建築 2026-10-06 追加）*/
.greeting.greeting-memory { max-width: 920px; margin: 0 auto; }
.memory-photo {
  margin: 4px auto 0;
  max-width: 420px;
  width: 100%;
  background: var(--white);
  padding: 10px 10px 6px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.memory-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.memory-photo figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 6px;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .greeting.greeting-memory { grid-template-columns: 1fr 340px; gap: 44px; align-items: center; }
  .memory-photo { margin: 0; }
}

/* いちばん下：大御宝建築のうた（フッター直前の小さな枠・2026-10-06 追加） */
.section.song { padding-block: 36px; }
.song-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 18px;
  text-align: center;
}
.song-title { font-size: 1.15rem; color: var(--navy); margin: 0 0 6px; }
.song-lead { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; line-height: 1.7; }
.song-lead small { font-size: 0.82rem; }
.song-audio { width: 100%; max-width: 480px; display: block; margin: 0 auto; }
.song-note { color: var(--muted); font-size: 0.85rem; margin: 12px 0 0; letter-spacing: 0.03em; }
@media (min-width: 768px) {
  .section.song { padding-block: 44px; }
}
/* エアいる掲載店バッジ（2026-10-08） */
.footer-badge { margin-top: 14px; }
.footer-badge img { display: block; margin: 0 auto; max-width: 100%; height: auto; background: #fff; border-radius: 6px; }

/* ===== 里山版：お祭り・大漁旗の雰囲気（2026-10-08 見本で平野様OK → 2026-10-10 本番に反映） ===== */
/* スライドを8枚に（32秒で1周・4秒ずつ） */
.hero-slides .hs { animation-name: heroSlide8; animation-duration: 32s; }
.hero-slides .hs:nth-of-type(9) { animation-delay: 28s; }
@keyframes heroSlide8 {
  0%    { opacity: 0; transform: translateX(8%) scale(1.08); }
  2.6%  { opacity: 1; }
  12.5% { opacity: 1; }
  15.3% { opacity: 0; transform: translateX(-8%) scale(1.08); }
  100%  { opacity: 0; transform: translateX(-8%) scale(1.08); }
}
/* 見出しの下の線を「波」の模様に */
.section-title::after {
  width: 96px; height: 10px;
  background:
    radial-gradient(circle at 50% 100%, transparent 38%, var(--orange) 40%, var(--orange) 55%, transparent 57%) 0 0 / 12px 10px repeat-x;
}
.contact .section-title::after {
  background:
    radial-gradient(circle at 50% 100%, transparent 38%, #fff 40%, #fff 55%, transparent 57%) 0 0 / 12px 10px repeat-x;
}
/* 「3つの強み」の横の大漁旗の船 */
.title-with-icon { display: block; }

.title-icon { display: inline-block; vertical-align: middle; margin-left: 8px; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
@media (max-width: 480px) { .title-icon { width: 44px; height: 44px; } }
/* 代表あいさつの上のお祭りの絵 */
.matsuri-banner { max-width: 560px; margin: 8px auto 28px; }
.matsuri-banner img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
/* ===== 里山版：稲穂を散りばめる（2026-10-08 平野様のご希望 → 2026-10-10 本番に反映） ===== */
.section { position: relative; }
.section::before {
  content: ""; position: absolute; top: 18px; left: 4%;
  width: 64px; height: 64px; background: url(img/matsuri/inaho.webp) center / contain no-repeat;
  mix-blend-mode: multiply; opacity: .55; pointer-events: none;
}
.section:nth-of-type(even)::before { left: auto; right: 4%; transform: scaleX(-1); }
.contact.section::before { display: none; }
@media (max-width: 600px) { .section::before { width: 40px; height: 40px; top: 10px; } }