/*
Theme Name: Uchina House
Theme URI: https://www.uchina-house.com/
Author: Uchina House
Description: 沖縄のエアコンクリーニング・ハウスクリーニング「ウチナーハウス」公式サイト専用オリジナルテーマ。電話番号・料金・FAQなどは「外観 → カスタマイズ」から編集できます。
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: uchina-house
*/

/* ============================================
   デザイントークン（色・影・角丸を一元管理）
   ============================================ */
:root {
  --brand: #0F4C81;        /* メイン（深い海のブルー） */
  --brand-700: #0c3e6a;
  --brand-800: #0a3357;
  --brand-50: #eaf2f9;
  --accent: #29B6F6;       /* アクセント（スカイブルー） */
  --accent-soft: #e3f5fe;
  --surface: #F8FAFC;      /* サブ背景 */
  --ink: #1E293B;          /* 基本文字色 */
  --muted: #64748B;        /* 補助文字色 */
  --white: #ffffff;
  --shadow-soft: 0 2px 16px -8px rgba(15, 76, 129, .10);
  --shadow-card: 0 1px 8px -3px rgba(15, 23, 42, .06);
  --shadow-lift: 0 12px 28px -14px rgba(15, 76, 129, .18);
  --hairline: #eef2f7;
  --radius: 14px;
  --radius-lg: 20px;
}

/* ============================================
   ベース
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(41, 182, 246, .2); }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.section { padding-block: 96px; }
@media (min-width: 1024px) { .section { padding-block: 128px; } }
.bg-surface { background: var(--surface); }

/* スキップリンク（アクセシビリティ） */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* 見出し共通 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: #cbd5e1; }
.section-head { max-width: 640px; margin-inline: auto; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head h2 { margin-top: 16px; font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -.02em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(15px, 2vw, 17px); }

/* ボタン */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 28px; font-size: 16px; font-weight: 600;
  transition: all .3s ease; border: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
/* ボタン内のアイコンサイズを統一（SVG肥大化防止） */
.btn-primary svg, .btn-ghost svg, .btn-white svg, .btn-outline-white svg,
.header-tel svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-ghost { background: #fff; color: var(--brand); border: 1px solid rgba(15,76,129,.2); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-50); }

/* スクロールフェード（JSが .is-visible を付与） */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: all .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom-color: rgba(226,232,240,.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .header-inner { height: 80px; } }
.brand-link { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--brand); }
.brand-link svg { width: 32px; height: 32px; }

.global-nav { display: none; }
.header-cta { display: none; }
@media (min-width: 1024px) {
  .global-nav { display: flex; gap: 32px; }
  .global-nav a { font-size: 14px; font-weight: 500; color: rgba(30,41,59,.8); transition: color .2s; }
  .global-nav a:hover { color: var(--brand); }
  .header-cta { display: flex; align-items: center; gap: 12px; }
  .header-tel { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
  .header-cta .btn-primary { padding: 10px 20px; font-size: 14px; }
}

/* モバイルメニュー */
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: none; color: var(--brand); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-nav { display: none; background: #fff; border-top: 1px solid #e2e8f0; }
.mobile-nav.is-open { display: block; }
.mobile-nav .container { display: flex; flex-direction: column; gap: 4px; padding-block: 16px; }
.mobile-nav a { padding: 12px; border-radius: 10px; font-weight: 500; }
.mobile-nav a:hover { background: var(--surface); }
.mobile-nav .btn-primary, .mobile-nav .btn-ghost { margin-top: 8px; }

/* ============================================
   ヒーロー
   ============================================ */
.hero { position: relative; overflow: hidden; background: var(--surface); padding: 112px 0 80px; }
@media (min-width: 1024px) { .hero { padding: 160px 0 112px; } }
/* ドット模様は廃止（余白の静けさを優先） */
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(15,76,129,.15); border-radius: 999px;
  padding: 6px 16px; font-size: 14px; font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow-card);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  margin-top: 24px; font-size: clamp(34px, 6vw, 54px); font-weight: 900;
  line-height: 1.18; letter-spacing: -.02em;
}
/* 強調語は単色ブランドブルー（グラデーションは廃止し落ち着きを優先） */
.text-gradient { color: var(--brand); }
.hero-lead { margin-top: 24px; max-width: 560px; color: var(--muted); font-size: clamp(15px, 2vw, 18px); }

.hero-points { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.hero-points svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.hero-cta { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }

.hero-visual { position: relative; }
.hero-visual-frame { background: #fff; border-radius: 32px; padding: 12px; box-shadow: var(--shadow-lift); }
/* 実写ヒーロー画像 */
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.hero-float {
  position: absolute; bottom: -20px; left: -16px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 20px; box-shadow: var(--shadow-lift);
}
.hero-float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; }
.hero-float-icon svg { width: 24px; height: 24px; }
.hero-float strong { display: block; font-size: 20px; font-weight: 900; color: var(--brand); line-height: 1; }
.hero-float small { color: var(--muted); font-size: 11px; }

/* パンくず */
.breadcrumb { border-block: 1px solid #f1f5f9; background: #fff; }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; padding-block: 12px; font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { font-weight: 600; color: var(--ink); }

/* ============================================
   サービス
   ============================================ */
.service-grid { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(15,76,129,.25); }
/* カード上部の実写画像（カードのpaddingを打ち消して全幅に） */
.service-photo { margin: -28px -28px 20px; }
.service-photo img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-photo img { transform: scale(1.04); }
/* 1枚目（エアコン）は被写体が写真下部にあるため下寄せで表示 */
.service-grid > :first-child .service-photo img { object-position: 50% 92%; }
.service-icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 12px; background: var(--brand-50); color: var(--brand); transition: all .3s;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--brand); color: #fff; }
.service-card h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.service-card > p { margin-top: 12px; flex: 1; font-size: 14px; color: var(--muted); }
.service-features { margin-top: 16px; display: grid; gap: 6px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(30,41,59,.7); }
.service-features li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.service-price {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #f1f5f9;
  display: flex; justify-content: space-between; align-items: baseline;
}
/* 複数料金（2段表示）: 2行目以降は罫線なしで詰める */
.service-price-group .service-price + .service-price { margin-top: 6px; padding-top: 0; border-top: none; }
.service-price span { font-size: 12px; color: var(--muted); }
.service-price strong { font-size: 16px; color: var(--brand); }
.service-note { margin-top: 32px; text-align: center; font-size: 13px; color: var(--muted); }

/* ============================================
   実績数値
   ============================================ */
.stats { background: #fff; border-block: 1px solid var(--hairline); padding-block: 72px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid var(--hairline); }
@media (max-width: 1023px) { .stat:nth-child(3) { border-left: none; } }
.stat strong { display: block; font-size: clamp(32px, 4.5vw, 44px); font-weight: 900; letter-spacing: -.02em; color: var(--brand); }
.stat span { margin-top: 8px; display: block; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ============================================
   選ばれる理由
   ============================================ */
.rating { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.rating .stars { display: flex; color: #fbbf24; }
.rating .stars svg { width: 20px; height: 20px; fill: currentColor; }
.rating span { font-size: 14px; font-weight: 600; }

.reason-grid { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 640px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reason-grid { grid-template-columns: repeat(3, 1fr); } .reason-grid > :last-child { grid-column-start: 2; } }
.reason-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; height: 100%;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.reason-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.reason-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
}
.reason-icon svg { width: 28px; height: 28px; }
.reason-card h3 { font-size: 18px; font-weight: 700; }
.reason-card p { font-size: 14px; color: var(--muted); }

/* ============================================
   施工の流れ
   ============================================ */
.flow-grid { position: relative; margin-top: 64px; display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .flow-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .flow-grid::before {
    content: ""; position: absolute; inset-inline: 0; top: 32px; height: 1px;
    background: linear-gradient(90deg, rgba(15,76,129,.2), rgba(15,76,129,.4), rgba(15,76,129,.2));
  }
}
.flow-step { position: relative; display: flex; gap: 20px; }
@media (min-width: 1024px) { .flow-step { flex-direction: column; } }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: 32px; top: 64px; bottom: -40px; width: 1px; background: rgba(15,76,129,.15);
}
@media (min-width: 1024px) { .flow-step:not(:last-child)::after { display: none; } }
.flow-badge {
  position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: var(--radius); background: var(--brand); color: #fff; box-shadow: var(--shadow-soft);
}
.flow-badge svg { width: 28px; height: 28px; }
.flow-badge i {
  position: absolute; top: -8px; right: -8px; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
  font-style: normal; font-size: 12px; font-weight: 900; color: #fff; box-shadow: 0 0 0 2px #fff;
}
.flow-step h3 { font-size: 18px; font-weight: 700; }
.flow-step p { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (min-width: 1024px) { .flow-text { padding-top: 16px; } }

/* ============================================
   対応エリア
   ============================================ */
.area-grid { margin-top: 56px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-map { max-width: 440px; margin-inline: auto; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-card); }
.area-map-caption { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
.area-map-caption svg { width: 16px; height: 16px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.area-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--hairline); border-radius: 999px;
  padding: 10px 16px; font-size: 14px; font-weight: 500;
  transition: border-color .2s;
}
.area-tag:hover { border-color: rgba(15,76,129,.3); }
.area-tag svg { width: 16px; height: 16px; color: var(--accent); }
.area-tag--more { background: var(--brand-50); color: var(--brand); font-weight: 600; border: none; box-shadow: none; }

/* ============================================
   FAQ（アコーディオン）
   ============================================ */
.faq-list {
  max-width: 768px; margin: 48px auto 0;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item + .faq-item { border-top: 1px solid var(--hairline); }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; padding: 20px 24px; text-align: left;
  font-size: 16px; font-weight: 500; color: var(--ink); transition: background .2s;
}
.faq-q:hover { background: var(--surface); }
.faq-q .faq-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px;
  border-radius: 50%; background: var(--brand-50); color: var(--brand); transition: transform .25s;
}
.faq-q .faq-icon svg { width: 16px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.22,1,.36,1); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ============================================
   CTAバンド
   ============================================ */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--brand);
  border-radius: var(--radius-lg); padding: 56px 32px;
}
/* 背景写真つきCTA（紺のオーバーレイで文字の可読性を確保） */
.cta-band.has-photo { background-size: cover; background-position: center; }
.cta-band.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,51,87,.92), rgba(15,76,129,.82));
}
.cta-band > * { position: relative; }
@media (min-width: 640px) { .cta-band { padding: 64px; } }
.cta-band h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; color: #fff; }
.cta-band p { max-width: 560px; margin: 16px auto 0; font-size: 15px; color: rgba(255,255,255,.7); }
.cta-band-buttons { margin-top: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .cta-band-buttons { flex-direction: row; } }
.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: var(--brand); border-radius: 999px; padding: 16px 32px;
  font-weight: 700; box-shadow: var(--shadow-soft); transition: all .3s;
}
.btn-white:hover { background: var(--brand-50); }
.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 16px 32px;
  font-weight: 700; transition: background .3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ============================================
   お問い合わせ
   ============================================ */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact-channels { margin-top: 40px; display: grid; gap: 16px; }
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-card);
  transition: box-shadow .3s;
}
a.contact-channel:hover { box-shadow: var(--shadow-lift); }
.contact-channel-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 12px; background: var(--brand-50); color: var(--brand);
}
.contact-channel-icon svg { width: 24px; height: 24px; }
.contact-channel small { display: block; font-size: 12px; color: var(--muted); }
.contact-channel strong { font-size: 20px; font-weight: 900; color: var(--brand); }
.contact-channel .email { font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-all; }

.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .contact-form-wrap { padding: 32px; } }
.form-field { margin-bottom: 20px; }
.form-field label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.form-field label svg { width: 15px; height: 15px; color: var(--brand); }
.form-field .req { color: #ef4444; }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 12px;
  background: var(--surface); padding: 12px 16px; font-size: 14px; font-family: inherit;
  color: var(--ink); transition: all .2s;
}
.form-field input:focus, .form-field textarea:focus { background: #fff; border-color: var(--brand); outline: none; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-error { margin-top: 6px; font-size: 12px; color: #ef4444; }
.contact-form .btn-primary { width: 100%; }
.form-privacy { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.form-privacy a { text-decoration: underline; }
.form-sent {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 16px;
}
.form-sent svg { width: 64px; height: 64px; color: var(--accent); }
.form-sent h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.form-sent p { margin-top: 8px; max-width: 320px; font-size: 14px; color: var(--muted); }

/* ============================================
   フッター
   ============================================ */
.site-footer { background: var(--brand-800); color: rgba(255,255,255,.8); }
.footer-grid { display: grid; gap: 40px; padding-block: 64px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand svg { width: 36px; height: 36px; }
.footer-desc { margin-top: 16px; max-width: 400px; font-size: 14px; color: rgba(255,255,255,.6); }
.footer-info { margin-top: 24px; display: grid; gap: 8px; font-size: 14px; }
.footer-info > div { display: flex; align-items: flex-start; gap: 8px; }
.footer-info svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; color: var(--accent); }
.footer-info a:hover { color: #fff; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px;
  text-align: center; font-size: 12px; color: rgba(255,255,255,.5);
}

/* WordPress標準の下層ページ用（最低限） */
.page-content { padding: 140px 0 80px; }
.page-content h1 { font-size: 32px; margin-bottom: 24px; }
.page-content :is(p, ul, ol) { margin-bottom: 1em; }
.page-content ul { list-style: disc; padding-left: 1.5em; }

/* ============================================
   ブログ（一覧・記事）
   ============================================ */

/* 下層ページ共通のヒーロー帯 */
.page-hero { background: var(--surface); padding: 128px 0 48px; }
@media (min-width: 1024px) { .page-hero { padding: 152px 0 64px; } }
.page-hero h1 { margin-top: 12px; font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; }
.page-hero p { margin-top: 12px; color: var(--muted); max-width: 560px; }
.page-hero-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px; font-size: 12px; color: var(--muted);
}
.page-hero-breadcrumb svg { width: 12px; height: 12px; }
.page-hero-breadcrumb a:hover { color: var(--brand); }
.page-hero-breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* 記事カードグリッド */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-card-link { display: flex; flex-direction: column; height: 100%; }
.post-card-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-50); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-fallback { display: grid; place-items: center; height: 100%; }
.post-card-thumb-fallback svg { width: 56px; height: 56px; opacity: .5; }
.post-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px; }
.post-card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.post-card-cat {
  display: inline-block; background: var(--brand-50); color: var(--brand);
  border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 600;
}
.post-card-title { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.post-card-excerpt { flex: 1; font-size: 13px; color: var(--muted); }
.post-card-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--brand); }
.post-card-more svg { width: 14px; height: 14px; transition: transform .2s; }
.post-card:hover .post-card-more svg { transform: translateX(3px); }

/* ページネーション */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--hairline); border-radius: 10px; font-size: 14px; font-weight: 600;
  color: var(--ink); background: #fff;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--brand); color: var(--brand); }

/* 記事本文 */
.post-narrow { max-width: 760px; }
.page-hero--post .post-title { margin-top: 16px; font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; line-height: 1.4; letter-spacing: -.01em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.post-eyecatch { margin: 32px 0; }
.post-eyecatch img { border-radius: var(--radius); width: 100%; height: auto; }

.post-content { padding: 8px 0 24px; font-size: 16px; line-height: 1.9; }
.post-content > * + * { margin-top: 1.2em; }
.post-content h2 {
  margin-top: 2.2em; padding: 10px 16px; font-size: 22px; font-weight: 700;
  background: var(--brand-50); border-left: 4px solid var(--brand); border-radius: 6px;
}
.post-content h3 {
  margin-top: 1.8em; padding-bottom: 8px; font-size: 19px; font-weight: 700;
  border-bottom: 2px solid var(--brand-50);
}
.post-content ul, .post-content ol { padding-left: 1.5em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li + li { margin-top: .4em; }
.post-content a { color: var(--brand); text-decoration: underline; }
.post-content img { border-radius: var(--radius); }
.post-content blockquote {
  margin: 1.5em 0; padding: 16px 20px; background: var(--surface);
  border-left: 4px solid var(--accent); border-radius: 6px; color: var(--muted);
}
.post-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.post-content th, .post-content td { border: 1px solid var(--hairline); padding: 10px 12px; text-align: left; }
.post-content th { background: var(--surface); font-weight: 700; }

/* 記事下CTA */
.post-cta {
  margin: 40px 0; padding: 32px; text-align: center;
  background: var(--brand-50); border-radius: var(--radius-lg);
}
.post-cta h2 { font-size: 20px; font-weight: 700; color: var(--brand-800); }
.post-cta p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.post-cta-buttons { margin-top: 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .post-cta-buttons { flex-direction: row; } }

/* 前後の記事ナビ */
.post-nav { display: grid; gap: 12px; padding: 24px 0 48px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav-item a {
  display: block; padding: 16px; border: 1px solid var(--hairline); border-radius: var(--radius);
  transition: border-color .2s;
}
.post-nav-item a:hover { border-color: var(--brand); }
.post-nav-item small { display: block; font-size: 11px; color: var(--muted); }
.post-nav-item span { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.post-nav-item--next { text-align: right; }

/* ============================================
   LP記事（page-templates/lp.php）
   通常のグローバルナビを持たない、離脱を防ぐ単一導線のテンプレート。
   ============================================ */

/* スマホ追従CTAバーの高さぶん、本文末尾に余白を確保 */
body.uh-lp { padding-bottom: 64px; }
@media (min-width: 640px) { body.uh-lp { padding-bottom: 0; } }

/* ミニヘッダー: ロゴ＋電話番号のみ（メニュー無し＝離脱導線を作らない） */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lp-header-tel {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 13px; transition: background .2s;
}
.lp-header-tel:hover { background: var(--brand-700); }
.lp-header-tel svg { width: 18px; height: 18px; flex-shrink: 0; }
.lp-header-tel small { display: block; font-size: 10px; opacity: .85; line-height: 1.2; }
.lp-header-tel strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }

/* アイキャッチ画像（LPの掴み） */
.lp-eyecatch { width: 100%; max-height: 480px; overflow: hidden; }
.lp-eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 本文コンテナ（読みやすい幅に固定） */
.lp-content.container { max-width: 760px; padding-block: 40px 24px; }
.lp-title {
  font-size: clamp(26px, 4.2vw, 38px); font-weight: 900; line-height: 1.4;
  letter-spacing: -.01em; margin-bottom: 32px;
}
.lp-content > p { margin-bottom: 1.2em; font-size: 16px; line-height: 1.9; }
.lp-content h2 {
  margin: 2.2em 0 .8em; padding: 10px 16px; font-size: 22px; font-weight: 700;
  background: var(--brand-50); border-left: 4px solid var(--brand); border-radius: 6px;
}
.lp-content h3 { margin: 1.8em 0 .6em; font-size: 19px; font-weight: 700; }
.lp-content ul, .lp-content ol { margin-bottom: 1.2em; padding-left: 1.5em; }
.lp-content img { border-radius: var(--radius); margin-block: 1.2em; }

/* [uh_cta] 行動喚起ボタン */
.lp-cta-block { margin: 2.4em 0; text-align: center; }
.lp-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 420px; padding: 18px 28px; border-radius: 999px;
  font-size: 17px; font-weight: 700; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.lp-cta-btn--primary { background: var(--brand); color: #fff; }
.lp-cta-btn--tel { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.lp-cta-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.lp-cta-sub { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* [uh_box] 訴求・悩み提示ボックス */
.lp-box {
  margin: 2em 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--hairline); background: var(--surface);
}
.lp-box--warning { background: #fff7ed; border-color: #fed7aa; }
.lp-box-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: rgba(15,76,129,.06); }
.lp-box--warning .lp-box-head { background: rgba(234,88,12,.08); }
.lp-box-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--brand); flex-shrink: 0; }
.lp-box--warning .lp-box-icon { color: #c2410c; }
.lp-box-icon svg { width: 18px; height: 18px; }
.lp-box-head h3 { margin: 0; font-size: 17px; font-weight: 700; }
.lp-box-body { padding: 18px 20px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.lp-box-body p:last-child { margin-bottom: 0; }

/* [uh_voice] お客様の声 */
.lp-voice {
  margin: 1.4em 0; padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
}
.lp-voice-stars { display: flex; gap: 2px; color: #e2e8f0; }
.lp-voice-stars .is-filled { color: #fbbf24; }
.lp-voice-stars svg { width: 16px; height: 16px; fill: currentColor; }
.lp-voice-text { margin-top: 10px; font-size: 15px; line-height: 1.8; font-style: italic; color: var(--ink); }
.lp-voice-name { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; }

/* [uh_price] 料金行（連続で並べるとリスト化） */
.lp-price-row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  padding: 14px 4px; border-bottom: 1px solid var(--hairline);
}
.lp-price-row:first-of-type { border-top: 1px solid var(--hairline); margin-top: 1.4em; }
.lp-price-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.lp-price-value { margin-left: auto; font-size: 20px; font-weight: 900; color: var(--brand); }
.lp-price-note { flex-basis: 100%; font-size: 12px; color: var(--muted); }

/* [uh_faq] LP内の簡易FAQ（グローバルFAQのfaq-qスタイルを流用） */
.lp-faq-item { margin: 0.6em 0; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.lp-faq-item + .lp-faq-item { margin-top: 12px; }

/* LP末尾のお問い合わせフォーム */
.lp-contact { margin-top: 3em; padding: 40px 24px; background: var(--surface); border-radius: var(--radius-lg); }
.lp-contact-inner { max-width: 480px; margin-inline: auto; text-align: center; }
.lp-contact h2 { font-size: 22px; font-weight: 800; }
.lp-contact > .lp-contact-inner > p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.lp-contact .contact-form-wrap { margin-top: 24px; padding: 24px; text-align: left; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* スマホ追従CTAバー */
.lp-sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; box-shadow: 0 -4px 16px rgba(15,23,42,.1);
}
@media (min-width: 640px) { .lp-sticky-cta { display: none; } }
.lp-sticky-tel, .lp-sticky-form {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 8px; font-size: 13px; font-weight: 700;
}
.lp-sticky-tel { background: #fff; color: var(--brand); border-top: 1px solid var(--hairline); }
.lp-sticky-form { background: var(--brand); color: #fff; }
.lp-sticky-tel svg, .lp-sticky-form svg { width: 16px; height: 16px; flex-shrink: 0; }

/* LP専用フッター（会社情報のみの最小フッター） */
.lp-footer { padding: 32px 0; text-align: center; background: var(--brand-800); color: rgba(255,255,255,.7); font-size: 13px; }
.lp-footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; color: #fff; }
.lp-footer-brand svg { width: 28px; height: 28px; }
.lp-footer p { margin-top: 8px; }
.lp-footer-links a { text-decoration: underline; }
.lp-footer-copy { margin-top: 12px; font-size: 11px; opacity: .7; }

/* ============================================
   v1.2.0 追加分
   ============================================ */

/* ---- ヒーロー実写スライドショー ---- */
.hero-slideshow { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide-label {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(30, 41, 59, .72); color: #fff; backdrop-filter: blur(4px);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700;
}
.hero-slide-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.hero-slide-dot { width: 6px; height: 6px; border: none; border-radius: 999px; background: rgba(255,255,255,.6); padding: 0; transition: all .3s; }
.hero-slide-dot.is-active { width: 24px; background: #fff; }

/* ---- 30秒料金診断 ---- */
.estimator {
  max-width: 760px; margin: 40px auto 0;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .estimator { padding: 36px; } }
.estimator-step-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.estimator-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.estimator-detail { margin-top: 24px; border-top: 1px solid var(--hairline); padding-top: 24px; }
.est-row-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.est-chip {
  border: 1px solid var(--hairline); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 500;
  transition: all .2s;
}
.est-chip:hover { border-color: rgba(15,76,129,.4); }
.est-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.estimator-result { margin-top: 24px; background: var(--surface); border-radius: var(--radius); padding: 24px; }
.estimator-result-label { font-size: 13px; color: var(--muted); }
.estimator-total { font-size: clamp(26px, 4vw, 34px); font-weight: 900; color: var(--ink); margin-top: 4px; }
.estimator-lines { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.estimator-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .estimator-actions { flex-direction: row; flex-wrap: wrap; } }
.estimator-reset { margin-top: 16px; border: none; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---- LINEボタン ---- */
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #06C755; color: #fff; border-radius: 999px;
  padding: 14px 28px; font-size: 15px; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.btn-line:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-line svg { width: 20px; height: 20px; }

/* 追従LINEボタン */
.line-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: #06C755; color: #fff; border-radius: 999px;
  padding: 12px 18px; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(6, 199, 85, .55);
  transition: transform .2s;
}
.line-fab:hover { transform: translateY(-2px); }
.line-fab svg { width: 22px; height: 22px; }
@media (max-width: 639px) { .line-fab span { display: none; } .line-fab { padding: 14px; } }

/* ---- 施工の様子 ---- */
.works-video { max-width: 760px; margin: 48px auto 0; }
.works-video video { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); display: block; }
.works-video-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.works-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(4, 1fr); } }
.work-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.work-card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.work-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-card-img img { transform: scale(1.05); }
.work-card-label {
  position: absolute; left: 8px; top: 8px;
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; font-weight: 700;
}
.work-card figcaption { padding: 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ---- 選ばれる理由（番号付きカード） ---- */
.reason-card { position: relative; overflow: hidden; gap: 12px; }
.reason-num {
  position: absolute; right: -4px; top: -16px;
  font-size: 80px; font-weight: 900; line-height: 1; color: rgba(15, 76, 129, .06);
  pointer-events: none;
}
.reason-head { display: flex; align-items: center; gap: 12px; }
.reason-head .reason-icon { width: 44px; height: 44px; }
.reason-head .reason-icon svg { width: 22px; height: 22px; }
.reason-line { display: block; width: 40px; height: 1px; background: var(--accent); }

/* ---- 対応エリア（ゾーン分け） ---- */
.area-zones { display: flex; flex-direction: column; gap: 28px; }
.area-zone-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.area-zone-head h3 { font-size: 16px; font-weight: 700; }
.area-zone-badge {
  background: var(--accent-soft); color: #0284c7; border-radius: 999px;
  padding: 4px 12px; font-size: 12px; font-weight: 700;
}
.area-note {
  background: var(--brand-50); color: var(--brand); border-radius: var(--radius);
  padding: 16px 20px; font-size: 13.5px; font-weight: 500; line-height: 1.7;
}

/* ---- お掃除コラム（トップのブログ導線） ---- */
.blog-grid { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-more { margin-top: 40px; text-align: center; }

/* ---- 連絡先のLINEカード ---- */
.contact-channel--line strong { color: #06C755; }
.contact-channel-icon--line { background: #06C755; color: #fff; }
.contact-channel-icon--line svg { width: 26px; height: 26px; }
