﻿/*
Theme Name: オオタ電設 Sky Blue v3
Theme URI: https://ootadensetsu.jp
Author: オオタ電設
Description: ロゴベースデザイン（スカイブルー＋ネイビー / トンマナ変更3版）
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: oota-densetsu-v3
Tags: japanese, business, electrical, natural
*/

/* ============================================
   DESIGN: ライト・ナチュラル v3 (ロゴベース)
   - Warm cream base
   - Sky Blue primary + Navy accent
   - Noto Sans JP font
   - Dashed borders, rounded corners, dot patterns
   ============================================ */

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

:root {
  /* backgrounds */
  --cream:        #F5F0E8;
  --cream-dark:   #EDE8D8;
  --white:        #FFFFFF;

  /* sky blue カラー */
  --sky:          #5BC8E8;  /* ロゴ水色 oklch(0.75 0.12 215) */
  --sky-vivid:    oklch(0.55 0.14 215);  /* ボタン用 濃い水色 */
  --sky-dark:     oklch(0.45 0.14 215);  /* ボタンホバー用 */
  --sky-mid:      #4ABFD8;
  --sky-light:    #E0F4FA;
  --sky-pale:     #EBF7FB;
  --sky-border:   #7DC8E0;  /* oklch(0.75 0.10 215) */

  /* amber - accent/CTA */
  --navy:         #1A2B5E;  /* ロゴネイビー */
  --navy-dark:    #12204A;
  --navy-mid:     #243570;
  --navy-light:   #E8EBF5;

  /* text */
  --text-dark:    #1A2B5E;  /* ネイビー */
  --text-medium:  #2D3D70;
  --text-light:   #5A6A9A;

  /* borders */
  --border-light: #C8D4E8;
  --border-sky:   #7DC8E0;

  /* topbar */
  --topbar-bg:    #1A2B5E;  /* ネイビー */

  /* footer */
  --footer-bg:    #121D40;  /* ダークネイビー */
  --footer-cta:   #1A2B5E;  /* ネイビー */

  /* legacy aliases for compatibility */
  --navy-bg:      #1A2B5E;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.max-w-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.max-w-4xl { max-width: 900px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.max-w-3xl { max-width: 720px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* ============================================
   COMPONENTS
   ============================================ */

/* Cards */
.natural-card {
  background: var(--white);
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
}
.natural-card-solid {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(52,44,26,0.06);
}

/* Section badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky-light);
  color: var(--navy);
  border: 1px solid var(--sky-border);
  border-radius: 999px;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}


@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Buttons */
/* v3: btn-amber = Sky Blue (phone CTA), btn-sage = Navy (WEB contact) */
.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--sky-vivid);
  color: var(--white);
  border-radius: 999px;
  padding: 0.75rem 2rem;
  font-weight: 900;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-amber:hover { background: var(--sky-dark); transform: translateY(-1px); }

.btn-sage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-sage:hover { background: var(--navy-dark); transform: translateY(-1px); }

.btn-outline-sage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--navy);
  border: 2px dashed var(--sky-border);
  border-radius: 999px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-outline-sage:hover { background: var(--sky-light); border-color: var(--sky); }

/* Page header - Light sage green (matches React PageHeader component) */
.page-header {
  background: #E8F3FB;
  padding: 3rem 1rem;
  border-bottom: 2px dashed var(--sky-border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--sky-border) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.15;
  pointer-events: none;
}
.page-header .breadcrumb {
  font-size: 0.75rem;
  color: var(--sky);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb a { color: var(--sky); opacity: 0.8; }
.page-header .breadcrumb a:hover { text-decoration: underline; opacity: 1; }
.page-header .sep { opacity: 0.5; color: var(--sky); }
.page-header .subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}
.page-header .description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-medium);
  position: relative;
  z-index: 1;
}

/* Dashed divider */
.dashed-divider {
  border: none;
  border-top: 2px dashed var(--sky-border);
  margin: 2rem 0;
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   NAVIGATION / TOP BAR
   ============================================ */
.topbar {
  background: var(--topbar-bg);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  transition: color 0.2s;
}
.topbar-phone:hover { color: #D0EFFA; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px dashed var(--sky-border);
  box-shadow: 0 1px 8px rgba(52,44,26,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
}

/* Desktop nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}
@media (min-width: 1024px) { .primary-nav { display: flex; } }

.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--text-medium);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--sky); background: var(--sky-light); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 13rem;
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(52,44,26,0.12);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 200;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-medium);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--sky-light); color: var(--sky-dark); }

/* Header CTA */
/* v3: Phone = Sky Blue, WEB = Navy */
.header-cta { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .header-cta { display: flex; } }
.header-cta .btn-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--sky-vivid);
  color: var(--white);
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s;
}
.header-cta .btn-phone:hover { background: var(--sky-dark); }
.header-cta .btn-contact {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: background 0.2s;
}
.header-cta .btn-contact:hover { background: var(--navy-dark); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 18rem;
  background: var(--white);
  border-left: 2px dashed var(--sky-border);
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.mobile-menu-overlay.open .mobile-menu { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mobile-menu-header .title { font-weight: 900; font-size: 1.1rem; }
.mobile-menu-close { font-size: 1.5rem; cursor: pointer; background: none; border: none; }
/* v3: Mobile phone btn = Sky Blue */
.mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--sky-vivid);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.mobile-nav-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  transition: background 0.15s, color 0.15s;
  margin-bottom: 0.125rem;
}
.mobile-nav-link:hover { background: var(--sky-light); color: var(--sky-dark); }
.mobile-sub-link {
  display: block;
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-light);
  transition: background 0.15s, color 0.15s;
  border-radius: 0.5rem;
}
.mobile-sub-link:hover { background: var(--sky-light); color: var(--sky-dark); }
/* v3: Mobile contact btn = Navy */
.mobile-contact-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 1rem;
}

/* ============================================
   HERO SECTION  (v3: フルスクリーン背景イラスト)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
}

/* 背景イラスト（フルスクリーン） */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--cream);
}

/* 左側グラデーションオーバーレイ（テキスト読みやすく） */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(245,240,228,0.95) 0%,
    rgba(245,240,228,0.88) 45%,
    rgba(245,240,228,0.35) 70%,
    rgba(245,240,228,0.0) 100%
  );
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; padding: 5rem 0; }

/* テキストエリア（左半分のみ） */
.hero-text-only {
  max-width: 560px;
}

/* バッジのパルスドット */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky-vivid);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.hero h1 .accent { color: var(--navy); }

/* ヒーロー用破線区切り */
.hero-divider {
  width: 6rem;
  height: 0;
  border-top: 2px dashed var(--sky-border);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* CTAボタン群 */
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-cta .btn-amber { font-size: 1.1rem; padding: 1rem 2rem; }

/* WEBお問い合わせボタン（紺塗りつぶし） */
.hero-web-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.hero-web-btn:hover {
  background: var(--navy-dark);
}

/* スタッツ */
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .value { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.hero-stat .label { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--sky);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
  text-decoration: none;
  cursor: pointer;
}
.scroll-indicator:hover { color: var(--sky-dark); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%        { transform: translateX(-50%) translateY(6px); }
}

/* モバイル：テキストを全幅に・ボタン100%・余白追加 */
@media (max-width: 767px) {
  .hero-text-only { max-width: 100%; }
  .hero-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-amber,
  .hero-cta .hero-web-btn { width: 100%; justify-content: center; }
}

/* ============================================
   EMERGENCY SECTION
   ============================================ */
.emergency-section {
  padding: 5rem 0;
  background: var(--cream-dark);
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.section-header h2 .accent { color: var(--navy); }
.section-header p { color: var(--text-medium); font-size: 1rem; }

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .trouble-grid { grid-template-columns: repeat(3, 1fr); } }

.trouble-card {
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.trouble-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(52,44,26,0.1); }
.trouble-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.trouble-card h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.trouble-card p { font-size: 0.75rem; color: var(--text-light); }

.emergency-cta {
  background: var(--white);
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.emergency-cta p { color: var(--text-medium); margin-bottom: 0.5rem; }
.emergency-cta .highlight { color: var(--sky-dark); font-weight: 700; margin-bottom: 1.25rem; }
.emergency-cta .note { font-size: 0.875rem; color: var(--text-light); margin-top: 0.75rem; }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section { padding: 6rem 0; background: var(--cream); }

.service-category-card {
  background: var(--white);
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}
.service-category-inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .service-category-inner { flex-direction: row; }
  .service-category-inner.reverse { flex-direction: row-reverse; }
}
.service-category-image {
  flex-shrink: 0;
  width: 100%;
  height: 13rem;
  object-fit: cover;
  object-position: top;
}
@media (min-width: 768px) { .service-category-image { width: 16rem; height: auto; } }
@media (min-width: 1024px) { .service-category-image { width: 20rem; } }

.service-category-body { flex: 1; padding: 1.5rem 2rem; }
.service-cat-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.service-cat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.service-cat-title h3 { font-size: 1.5rem; font-weight: 900; }

.service-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .service-items-grid { grid-template-columns: repeat(3, 1fr); } }

.service-item-card {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px dashed;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.service-item-card:hover { box-shadow: 0 2px 8px rgba(52,44,26,0.1); }
.service-item-tag { font-size: 0.7rem; font-weight: 700; margin-bottom: 0.375rem; }
.service-item-name { font-size: 0.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.25rem; }
.service-item-desc { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.5rem; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--sky);
  font-weight: 600;
  font-size: 0.75rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { padding: 6rem 0; background: var(--cream-dark); }

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .commitment-grid { grid-template-columns: repeat(2, 1fr); } }

.commitment-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(52,44,26,0.05);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  border-left-width: 4px;
  border-left-style: solid;
}
.commitment-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.commitment-card h3 { font-size: 1rem; font-weight: 900; margin-bottom: 0.5rem; }
.commitment-card p { font-size: 0.875rem; color: var(--text-medium); line-height: 1.7; }

.credit-card-notice {
  margin-top: 1.5rem;
  background: var(--white);
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.credit-card-notice .icon { font-size: 2rem; flex-shrink: 0; }
.credit-card-notice strong { display: block; font-weight: 900; }
.credit-card-notice span { font-size: 0.875rem; color: var(--text-medium); }

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section { padding: 6rem 0; background: var(--cream); }

.pricing-table {
  background: var(--white);
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
  overflow: hidden;
}
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table thead tr {
  background: var(--sky-light);
  border-bottom: 2px dashed var(--sky-border);
}
.pricing-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--sky-dark);
}
.pricing-table th:nth-child(2) { text-align: right; }
.pricing-table td { padding: 1rem 1.5rem; font-size: 0.875rem; border-bottom: 1px dashed var(--sky-light); }
.pricing-table td:nth-child(2) { text-align: right; font-weight: 900; color: var(--navy); }
.pricing-table td:nth-child(3) { font-size: 0.8rem; color: var(--text-light); }
.pricing-table tr:nth-child(even) td { background: #faf7f2; }
.pricing-note { text-align: center; font-size: 0.875rem; color: var(--text-light); margin-top: 1rem; }

/* ============================================
   OWNER SECTION
   ============================================ */
.owner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .owner-grid { grid-template-columns: 1fr 1fr; }
}

.owner-image-wrap {
  position: relative;
}
.owner-float-card {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(52,44,26,0.12);
}
@media (max-width: 480px) {
  .owner-float-card { right: 0.5rem; bottom: 0.5rem; }
}

.owner-content {
  display: flex;
  flex-direction: column;
}

.owner-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .owner-cards-grid { grid-template-columns: 1fr; }
}

/* service-icon-box */
.service-icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--sky-light);
  border: 1px solid var(--sky-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   PRICE TABS
   ============================================ */
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.price-tab {
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid var(--border-light);
  background: var(--white);
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}
.price-tab:hover {
  border-color: var(--sky);
  color: var(--sky);
}
.price-tab.active {
  border-color: var(--sky);
  background: var(--sky);
  color: var(--white);
}
.price-content {
  display: none;
}
.price-content.active {
  display: block;
}

/* ============================================
   NETWORK PAGE
   ============================================ */
.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px) {
  .network-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .network-grid { grid-template-columns: repeat(4, 1fr); }
}
.network-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(52,44,26,0.05);
}

/* ============================================
   SERVICE PAGE
   ============================================ */
.service-card {
  background: var(--white);
  border: 2px dashed var(--border-light);
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(52,44,26,0.06);
}
.service-card-inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .service-card-inner {
    flex-direction: row;
  }
}
.service-card-img {
  width: 100%;
  height: 12rem;
  overflow: hidden;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .service-card-img {
    width: 16rem;
    height: auto;
  }
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.service-card-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  margin-bottom: 0.5rem;
}
.service-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky);
  margin-bottom: 0.375rem;
}
.service-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.7;
}
.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--sky-light);
  color: var(--sky);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.service-link-btn:hover {
  background: var(--sky);
  color: var(--white);
  transform: scale(1.03);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-message-inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 768px) {
  .about-message-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}
.about-hero-img {
  width: 100%;
  max-width: 12rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .about-hero-img { width: 12rem; }
}
.about-hero-img img {
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
}
.about-commitment-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-commitment-inner {
    flex-direction: row;
    align-items: center;
  }
}
.about-afterservice-img {
  width: 100%;
  max-width: 14rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .about-afterservice-img { width: 14rem; }
}

/* ============================================
   AFTERSERVICE SECTION
   ============================================ */
.afterservice-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .afterservice-inner {
    flex-direction: row;
    gap: 4rem;
  }
}
.afterservice-text {
  flex: 1;
}
.afterservice-image {
  width: 100%;
  max-width: 22rem;
  flex-shrink: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { padding: 6rem 0; background: var(--cream); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--white);
  border: 2px dashed var(--sky-border);
  border-radius: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--sky-light); }
.faq-q-label {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  background: transparent;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 0;
}
.faq-q-text { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); line-height: 1.5; }
.faq-toggle {
  flex-shrink: 0;
  background: none;
  color: var(--sky-dark);
  font-size: 1rem;
  transition: transform 0.3s;
  margin-top: 2px;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.open .faq-toggle { transform: rotate(180deg); }

.faq-answer {
  display: flex;
  gap: 0.75rem;
  border-top: 1px dashed var(--sky-border);
  padding: 0 1.25rem;
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  padding: 1.25rem;
}
.faq-a-label {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--sky-vivid);
  background: transparent;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
}
.faq-a-text { font-size: 0.875rem; color: var(--text-medium); line-height: 1.8; }

/* ============================================
   AREA SECTION
   ============================================ */
.area-section { padding: 6rem 0; background: var(--cream-dark); }
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .area-grid { grid-template-columns: 1fr 1fr; } }

.area-map-wrap { border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 20px rgba(52,44,26,0.12); height: 25rem; }
.area-map-wrap iframe { width: 100%; height: 100%; border: 0; }

.area-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.area-card-primary { background: var(--white); border: 2px dashed var(--sky-border); border-radius: 0.75rem; padding: 1.5rem; }
.area-card-secondary { background: var(--white); border: 1px solid var(--border-light); border-radius: 0.75rem; padding: 1.5rem; box-shadow: 0 2px 8px rgba(52,44,26,0.05); }
.area-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 900;
}
.area-dot { width: 1rem; height: 1rem; border-radius: 50%; flex-shrink: 0; }
.area-dot.primary { background: var(--sky); }
.area-dot.secondary { background: var(--sky-border); }
.area-card-primary p, .area-card-secondary p { font-size: 0.875rem; color: var(--text-medium); line-height: 1.7; }
.area-inquiry-note {
  background: var(--navy-light);
  border: 1px dashed var(--navy);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.area-inquiry-note .note-icon { font-size: 2rem; flex-shrink: 0; }
.area-inquiry-note strong { display: block; font-weight: 900; }
.area-inquiry-note span { font-size: 0.875rem; color: var(--text-medium); }

/* ============================================
   CONTACT FOOTER / CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--sky);
  padding: 2rem 1rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    justify-content: space-between;
    max-width: none;
    text-align: left;
    padding: 2rem 3rem;
  }
}
.cta-banner-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cta-banner-brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.cta-phone-label { font-size: 0.875rem; opacity: 0.8; margin-bottom: 0.25rem; }
.cta-phone-number {
  display: block;
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  transition: opacity 0.2s;
}
.cta-phone-number:hover { opacity: 0.85; }
.cta-web-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--sky);
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.2s;
}
.cta-web-btn:hover { background: var(--sky-light); }
.cta-banner p.small { font-size: 0.875rem; opacity: 0.8; margin-bottom: 0.25rem; }
.cta-banner h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 900; margin-bottom: 1rem; }
.cta-banner .buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; }
/* v3 footer CTA: Phone = Vivid Sky Blue, WEB = White/Navy */
.cta-banner .btn-phone-big {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--sky-vivid);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 900;
  transition: background 0.2s;
}
.cta-banner .btn-phone-big:hover { background: var(--sky-dark); }
.cta-banner .btn-web {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--navy);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s;
}
.cta-banner .btn-web:hover { background: var(--sky-light); }
.cta-banner .hours { margin-top: 0.375rem; font-size: 0.75rem; opacity: 0.7; }

/* ============================================
   SITE FOOTER - v3 Sky Blue + Navy
   ============================================ */
.site-footer { background: var(--footer-bg); color: var(--white); }

/* CTA Banner */
.footer-cta-banner {
  background: var(--navy);
  padding: 2.5rem 1rem;
}

/* Footer Main */
.footer-main { padding: 3rem 1rem; }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.5fr 1.5fr 1fr 1.5fr;
    gap: 2.5rem;
  }
}

/* Company info column */
.footer-col-company {}

/* Link columns */
.footer-col {}
.footer-col-heading {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #7DC8E0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  color: var(--white);
}
.footer-links li a:hover { opacity: 1; color: #7DC8E0; }
.footer-link-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sky-vivid);
  flex-shrink: 0;
}

/* Legacy compat */
.footer-logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Copyright */
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1rem;
  font-size: 0.75rem;
  opacity: 0.5;
}
.footer-copyright-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .footer-copyright-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-copyright-inner a { color: inherit; transition: opacity 0.2s; }
.footer-copyright-inner a:hover { opacity: 1; }

/* ============================================
   WORKS / EXAMPLES
   ============================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(4, 1fr); } }

.work-card {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(52,44,26,0.1); }
.work-card img { width: 100%; height: 180px; object-fit: cover; object-position: top; display: block; }

/* 施工事例 - illustration card grid (matches React WorksSection) */
.works-illust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .works-illust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works-illust-grid { grid-template-columns: repeat(3, 1fr); } }

.work-illust-card {
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.work-illust-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(52,44,26,0.1); }

.work-illust-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.work-illust-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s;
}
.work-illust-card:hover .work-illust-img img { transform: scale(1.05); }

.work-illust-body {
  padding: 1.25rem;
}
.work-illust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid;
  margin-bottom: 0.625rem;
}
.work-illust-body h3 {
  font-size: 0.9375rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.work-illust-loc {
  display: none;
}
.work-illust-body p {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* 施工事例ページ専用 */
.examples-heading {
  font-size: 1.25rem;
  font-weight: 900;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--navy);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px)  { .examples-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .examples-grid { grid-template-columns: repeat(5, 1fr); } }

.examples-grid li {
  background: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
}
.examples-grid li img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  display: block;
}
.examples-grid--caption li img {
  aspect-ratio: 4 / 3;
}
.examples-grid li p {
  font-size: 0.75rem;
  color: var(--text-medium);
  padding: 0.4rem 0.5rem;
  line-height: 1.4;
  margin: 0;
}
.examples-text-only {
  display: none !important;
}
.examples-text-only p {
  padding: 0.75rem !important;
  font-size: 0.8rem !important;
  color: var(--text-medium);
}

/* ============================================
   FLOW / STEPS
   ============================================ */
.flow-steps { position: relative; }
.flow-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sky-light);
  display: none;
}
@media (min-width: 768px) { .flow-line { display: block; } }

.flow-step { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.flow-num {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--sky-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 2px 12px rgba(74,122,66,0.3);
}
.flow-card {
  flex: 1;
  background: var(--white);
  border: 2px dashed var(--border-light);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
.flow-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.flow-icon { font-size: 1.5rem; }
.flow-card h3 { font-size: 1.25rem; font-weight: 900; }
.flow-card p { font-size: 0.875rem; color: var(--text-medium); line-height: 1.7; }

/* ============================================
   INQUIRY / CONTACT FORM
   ============================================ */
.inquiry-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .inquiry-info-grid { grid-template-columns: repeat(3, 1fr); } }

.inquiry-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.inquiry-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--sky);
}
.inquiry-info-label { font-size: 0.7rem; font-weight: 700; color: var(--text-light); }
.inquiry-info-value { font-weight: 900; font-size: 0.95rem; }
.inquiry-info-sub { font-size: 0.75rem; color: var(--text-light); }

/* ============================================
   CONTACT SECTION LAYOUT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 2fr 3fr; align-items: start; }
}
.contact-phone-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--sky-vivid);
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.contact-phone-number:hover { color: var(--sky-dark); }

/* Contact Form 7 override */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form select {
  width: 100%;
  border: 1px dashed var(--sky-border);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s;
  outline: none;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form .wpcf7-textarea:focus {
  border-color: var(--navy);
}
.wpcf7-form .wpcf7-textarea { height: 120px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.wpcf7-form input[type="submit"]:hover { background: var(--navy-dark); }
.wpcf7-form label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.375rem; }
.wpcf7-form label .req { color: #e07050; font-size: 0.75rem; margin-left: 0.25rem; }
.wpcf7-form p { margin-bottom: 0.625rem; }
.wpcf7-form p:last-child { margin-bottom: 0; }
.wpcf7-form br { display: none; }
.wpcf7 { margin: 0 !important; }

/* CF7 テーブルレイアウト */
.cf7-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.cf7-table dt {
  padding: 0.875rem 1rem 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
}
.cf7-table dd {
  padding: 0 1rem 1rem;
  margin: 0;
}
.cf7-table .required {
  color: var(--navy);
  margin-left: 0.25rem;
}
.cf7-table .zip-input {
  max-width: 160px !important;
}
.cf7-submit {
  text-align: center;
  margin-top: 0.5rem;
}
.cf7-submit input[type="submit"] {
  display: inline-block;
  width: auto;
  min-width: 240px;
  background: var(--sky-vivid);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.cf7-submit input[type="submit"]:hover { background: var(--sky-dark); }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 0.78rem; margin-top: 0.25rem; display: block; }
.wpcf7-response-output { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; }
.wpcf7-mail-sent-ok { background: #e8f5ec; border: 1px solid var(--sky-border); color: var(--sky); }
.wpcf7-validation-errors, .wpcf7-spam-blocked { background: #fff4e0; border: 1px solid var(--navy); color: var(--navy); }

/* ============================================
   STATS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stats-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* Post content styles */
.entry-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; padding-left: 1rem; border-left: 4px solid var(--sky); }
.entry-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-medium); }
.entry-content ul, .entry-content ol { margin: 1rem 0 1rem 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; line-height: 1.7; color: var(--text-medium); }
.entry-content img { border-radius: 0.75rem; margin: 1.5rem 0; }
.entry-content a { color: var(--sky); text-decoration: underline; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
  color: var(--text-medium);
  transition: background 0.2s, color 0.2s;
}
.pagination a:hover { background: var(--sky-light); color: var(--sky); }
.pagination .current { background: var(--sky); color: var(--white); border-color: var(--sky); }

/* Post thumbnail */
.post-thumbnail { width: 100%; border-radius: 0.75rem; overflow: hidden; margin-bottom: 1.5rem; }
.post-thumbnail img { width: 100%; height: 16rem; object-fit: cover; object-position: top; }

/* ============================================
   404
   ============================================ */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}
.error-404 .code { font-size: 6rem; font-weight: 900; color: var(--sky-light); line-height: 1; margin-bottom: 1rem; }
.error-404 h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.error-404 p { color: var(--text-medium); margin-bottom: 2rem; }

/* ============================================
   RESPONSIVE EXTRAS
   ============================================ */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 640px) {
  .hide-desktop { display: none !important; }
}

/* ============================================
   NEW CTA BANNER (Footer - matches React Footer)
   ============================================ */
.cta-banner-new {
  background: var(--footer-cta);
  color: var(--white);
  padding: 2.5rem 1rem;
  text-align: center;
}
.cta-banner-new-small {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.cta-banner-new-heading {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.cta-banner-new-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.cta-banner-new-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 900;
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-banner-new-phone:hover { background: var(--navy-dark); }
.cta-banner-new-web {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--sky-dark);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s;
}
.cta-banner-new-web:hover { background: var(--sky-light); }
.cta-banner-new-hours {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.375rem;
}

/* Footer contact rows with SVG icons */
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
}
.footer-contact-row a:hover { opacity: 1; }

/* ============================================
   PAGE HEADER - SAGE BACKGROUND VARIANT
   ============================================ */
.page-header-sage {
  background: var(--sky);
  padding: 3rem 1rem;
  border-bottom: 2px dashed var(--sky-border);
  position: relative;
  overflow: hidden;
}
.page-header-sage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  pointer-events: none;
}
.page-header-sage .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-header-sage .breadcrumb { color: rgba(255,255,255,0.7); }
.page-header-sage .subtitle { color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.page-header-sage h1 { color: var(--white); position: relative; z-index: 1; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; }
.page-header-sage .description { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.7); position: relative; z-index: 1; }




