/* ===========================
   LACURI 奈良県 LP CSS v2
   Mobile First / 全改修版
   =========================== */

/* =====================
   CSS カスタムプロパティ
   ★ 変動しやすい数値はここで管理
   ===================== */
:root {

  /* ---- ブランドカラー ---- */
  --primary:        #4a5568;
  --primary-dark:   #d4dce2;
  --primary-light:  #edf1f4;
  --navy:           #4a5568;
  --navy-dark:      #2d3748;
  --navy-light:     #6b7a8d;
  --green:          #10b981;



  /* ---- グレースケール ---- */

  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f7f5f2;
  --gray-200:   #edeae5;
  --gray-300:   #dbd6cf;
  --gray-400:   #bfb9b0;
  --gray-500:   #9e9790;
  --gray-600:   #7a726a;
  --gray-700:   #5c564f;
  --gray-800:   #3d3832;
  --gray-900:   #231f1b;

  /* ---- シャドウ ---- */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.16);

  /* ---- 角丸 ---- */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* ---- アニメーション ---- */
  --transition: all 0.3s ease;

  /* ---- フォント ---- */
  --font-sans:  'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  /* ================================
     ★ 変動しやすい数値 / ここを変更
     ================================ */
  /* 実績数値 */
  --stat-accumulated:   "114万着";     /* 累計お預かり実績 */
  --stat-satisfaction:  "90.8%";      /* お客様満足度 */
  --stat-repeat:        "62.7%";      /* リピート率 */
  --stat-staff:         "19名";       /* クリーニング師在籍数 */

  /* 保管期間 */
  --storage-max-months: "最大10ヶ月"; /* 最大保管期間 */

  /* 電話番号 */
  --tel-number: "0120-114-696";

  /* 受付時間 */
  --reception-hours: "9:30〜13:00 / 14:00〜16:45";
  --closed-days:     "水曜・日曜休み";

  /* ループアニメーション速度（秒） */
  --marquee-duration: 32s;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: var(--transition); }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== UTILITY ===== */
.text-highlight { color: var(--primary); font-weight: 900; }
.text-accent    { color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-sm   { padding: 10px 20px; font-size: 13px; }
.btn-hero { padding: 16px 32px; font-size: 16px; font-weight: 900; }
.btn-block { width: 100%; }


/* ==========================================================================
   パンくずリスト スタイル
   ========================================================================== */
.breadcrumb-container {
    background-color: #f8f9fa; /* 非常に薄いグレーで区切りを明確に */
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: #666;
}

/* 区切り文字のアイコン設定 */
.breadcrumb-list li + li::before {
    content: "\f105"; /* FontAwesomeのシェブロン右 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 12px;
    color: #ccc;
    font-size: 11px;
}

.breadcrumb-list a {
    color: #1a2a40; /* ヘッダーやタイトルと合わせた濃紺 */
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
}

.breadcrumb-list a i {
    margin-right: 6px;
    font-size: 14px;
}

.breadcrumb-list a:hover {
    color: #d4a373; /* ラクリのアクセントカラー（金・茶系）に合わせる */
    opacity: 0.8;
}

.breadcrumb-list .current {
    font-weight: 600;
    color: #888;
}

/* スマホ対応：横に長くなりすぎないよう調整 */
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 10px 0;
    }
    .breadcrumb-list {
        font-size: 12px;
    }
    .breadcrumb-list li + li::before {
        margin: 0 8px;
    }
}


/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-eyebrow-light { background: rgba(255,255,255,0.15); color: #bae6fd; }
.section-title {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.section-title-light { color: var(--white); }
.section-desc { margin-top: 16px; color: var(--gray-500); font-size: 15px; line-height: 1.8; }
.section-desc-light { color: #edf1f4; }

/* --- ロゴ設定 --- */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* --- ヘッダー本体 --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #edf1f4;
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- PC版：ナビゲーション --- */
.header-nav {
  display: flex;
  align-items: center;
}

.g-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.g-menu-item {
  position: relative;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  padding: 10px 0;
  text-decoration: none;
  display: block;
}

/* --- PC版：ドロップダウン --- */
.g-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  padding: 10px 0;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.g-menu-item:hover .g-submenu {
  opacity: 1;
  visibility: visible;
}

.g-submenu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.g-submenu li a:hover {
  background: #f8fafc;
  color: var(--primary);
}

/* --- PC版：アイコン類 --- */
.header-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 20px;
}

/* --- SP版：ハンバーガーボタン（三本線）の見た目 --- */
.menu-toggle {
  display: none; /* PCでは隠す */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: 0.3s;
}

/* --- SP版：モバイルメニューパネル --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav.is-active {
  transform: translateX(0);
}

.menu-close {
  display: block;
  margin-left: auto;
  margin-bottom: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: #333;
  padding: 10px;
  cursor: pointer;
}

.mobile-nav-link {
  display: block;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #edf1f4;
}

.mobile-nav-link:hover {
  background-color: #f8fafc;
}

/* --- レスポンシブ切り替え（SP版） --- */
@media (max-width: 1023px) {
  .site-header {
    height: 60px; /* スマホは少し低く */
  }

  .logo-img {
    height: 32px; /* スマホロゴサイズ */
  }

  /* 真犯人の修正：PC用ナビを強制的に消す */
  .header-nav {
    display: none !important; 
  }

  /* ドロップダウンが残る不具合を解消 */
  .g-submenu {
    display: none !important;
  }

  /* ハンバーガーボタンを表示 */
  .menu-toggle {
    display: flex !important;
  }
}

/* ===== HERO (SPスリム化＆PC右端突き抜け版) ===== */
.hero {
  position: relative;
  background: #f0f9ff;
  padding: 30px 0 0; /* SPは少し詰め気味に */
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    background: linear-gradient(145deg, #f0f9ff 0%, #edf1f4 40%, #f8fafc 100%);
    padding: 30px 0 0;
  }
}

/* 装飾の円：SPではうるさくなるので消す */
.hero-bg-decoration { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 1023px) { .hero-bg-decoration { display: none; } }

.circle-1 { position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%); }
.circle-2 { position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(30,58,95,0.06) 0%, transparent 70%); }

/* レイアウトの基盤 */
.hero-grid { display: flex; flex-direction: column; }
@media (min-width: 1024px) {
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: flex-start; }
}

/* テキストエリア */
.hero-content { display: flex; flex-direction: column; z-index: 2; order: 1; display: contents; }

/* 1. 見出し：SPでは中央寄せでスッキリ */
.hero-headline {
  order: 1;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.nobr {
  display: inline-block;
  white-space: nowrap;
}

/* 2. 紹介文：SPで画像の上に来る短いテキスト */
.hero-service-intro { order: 2; margin-bottom: 20px; padding: 0 15px; }
.hero-sub {
  font-size: 15px;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.5;
}
.hero-sub strong { color: var(--primary); font-weight: 800; }

/* 4. 詳細説明グループ：SPで画像の下に来る */
.hero-details-group { display: flex; flex-direction: column; order: 4; padding: 0 20px; }

/* ★SPでの文字の壁対策：説明文を非表示にする */
.hero-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}
@media (max-width: 1023px) {
  .hero-desc { display: none; } /* スマホでは長文をカット */
}

/* ★メリット一覧を横並びのチップ形式にして高さを圧縮 */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  justify-content: center;
}
.hero-badges li {
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #edf1f4;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; justify-content: center; }
.hero-note { font-size: 10px; color: var(--gray-400); margin-bottom: 30px; text-align: center; }

@media (min-width: 1024px) {
  .hero-headline, .hero-sub, .hero-badges, .hero-cta, .hero-note { text-align: left; justify-content: flex-start; }
  .hero-details-group { padding: 0; }
}

/* --- ★ ヒーロー画像エリア (hero-visual) --- */
.hero-visual {
  flex: 1.5;
  position: relative;
  /* 1. 上端を揃える */
  align-self: flex-start;
  margin-top: 10px;
  /* 2. 下端を左側のコンテンツ（※の行）に合わせる設定 */
  align-self: stretch; /* これで親要素（grid）の高さ一杯に伸びます */
  margin-right: calc(50% - 50vw);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 100%; /* 比率指定をやめて高さを100%に */
  overflow: hidden;
  border-radius: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像のどの部分を見せるか（お好みで右側に寄せるなら right もあり） */
  object-position: center; 
}

/* フェード効果：背景色 #edf1f4 への溶け込みをより深く */
.hero-img-fade-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%; /* 左側をかなり広めに溶かして、文字との重なりを自然にする */
  height: 100%;
  background: linear-gradient(to right, #edf1f4 15%, transparent 100%);
  z-index: 2;
}

.hero-img-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, #edf1f4 15%, transparent 100%);
  z-index: 2;
}

/* ========== SP版 ========== */
/* ============================================================
   PC版：現状の完璧なレイアウトを維持
   ============================================================ */
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* 左1：右1.5 */
    align-items: flex-start;
  }

  .hero-content {
    /* PC版では contents を使わず、一つの塊として保持 */
    display: block; 
    z-index: 10;
  }

  .hero-visual {
    flex: 1.5;
    position: relative;
    align-self: stretch; /* 高さを左側に合わせる */
    margin-top: 10px;
    margin-right: calc(50% - 50vw);
  }
}

/* ============================================================
   SP版：画像を見出しの直下に割り込ませる（並び替え）
   ============================================================ */
@media (max-width: 1023px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  /* hero-contentをflexにすることで、中身のorderを有効にする */
  .hero-content {
    display: flex;
    flex-direction: column;
  }

  /* 1. 見出し */
  .hero-headline {
    order: 1;
    text-align: center;
  }

  /* 2. 画像（hero-contentの外にあるが、grid直下なので制御可能） */
  .hero-visual {
    display: block !important;
    order: 2; /* 2番目に配置 */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .hero-image-wrap {
    aspect-ratio: 3 / 1; /* 横3：縦1 */
    border-radius: 0;
  }

  .hero-img-fade-left, .hero-img-fade-bottom {
    display: none;
  }

  /* 3. 紹介文（最大10ヶ月...） */
  .hero-service-intro {
    order: 3;
    text-align: center;
  }

  /* 4. 詳細グループ（バッジ・ボタン・注釈） */
  .hero-details-group {
    order: 4;
    display: flex;
    flex-direction: column;
  }
}

/* =========================================
   ★ 目次ナビ（全幅・最下部固定）
   ========================================= */
/* ===== TOC NAV (全幅・指定カラー・横1行維持) ===== */
.toc-nav {
  display: flex;
  /* 親の幅を無視して画面の両端まで伸ばす */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  
  /* 指定カラー：ライトブルー背景 */
  background-color: #4a5568; 
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  /* 指定カラー：ネイビーの太い下線 */
  border-bottom: 4px solid #1e3a5f;
  z-index: 100;
  position: sticky;
  top: 0;
}

.toc-link {
  flex: 1; /* 横1行で均等に並ぶ仕様を維持 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 2px; /* スマホ用に横パディングを最小化 */
  color: #ffffff !important; /* 指定カラー：ネイビーの文字 */
  text-decoration: none;
  font-weight: 700;
  border-left: 1px solid rgba(30, 58, 95, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.toc-link:first-child { 
  border-left: none; 
}

/* 文字サイズをスマホ〜PCで自動調整（改行防止） */
.toc-link span {
  white-space: nowrap;
  font-size: clamp(10px, 2.5vw, 15px);
  line-height: 1;
  display: block;
}

/* 元のデザイン：黄色の下線を表示 */
.toc-link::after {
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 10%;
  width: 80%; 
  height: 4px; 
  background-color: #ffffff; /* アクセントの黄色は維持 */
  opacity: 0.8;
}

/* ホバー・アクティブ時の装飾 */
.toc-link:hover,
.toc-link.active {
  background-color: rgba(30, 58, 95, 0.05); /* ほんのりネイビー */
}

/* PC版（1024px以上）の調整 */
@media (min-width: 1024px) {
  .toc-link { 
    padding: 22px 10px; 
  }
  .toc-link span {
    font-size: 16px; /* PCでは読みやすさを優先 */
  }
}

/* ===== PROBLEM ===== */
.problem-section { padding: 80px 0; background: var(--white); }
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.problem-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.problem-icon-wrap {
  width: 48px; height: 48px;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 16px;
}
.problem-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.problem-card p  { font-size: 14px; color: var(--gray-500); line-height: 1.8; text-align: left; }
.problem-card-solution {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: white; display: flex; align-items: center; justify-content: center;
  min-height: 160px; border: none;
}
.problem-card-solution:hover { border: none; transform: translateY(-4px); box-shadow: 0 8px 32px rgba(30,58,95,0.3); }
.solution-text { text-align: center; }
.solution-intro { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.solution-brand { font-size: 26px; font-weight: 900; color: white; line-height: 1.3; }
.solution-arrow {
  font-size: 24px; color: var(--primary); margin-top: 12px; display: block;
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ===== SOLUTION (中央寄せ修正版) ===== */
.solution-section { 
  padding: 80px 0; 
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); 
}
.solution-inner { 
  /* gridを解除し、中身を中央に寄せる */
  display: block; 
  max-width: 800px; /* コンテンツの最大幅を制限 */
  margin: 0 auto;   /* 左右中央配置 */
  text-align: center; 
}
.solution-content { 
  /* コンテンツ自体の左右の余白を自動にして中央へ */
  margin: 0 auto;
  text-align: center; 
}
.solution-headline {
  font-size: clamp(22px, 5vw, 36px); 
  font-weight: 900; 
  color: var(--navy);
  line-height: 1.5; 
  margin-bottom: 32px; 
  letter-spacing: -0.02em;
  display: inline-block; /* 中央寄せを確実にするため */
}
.solution-text { 
  font-size: 15px; 
  color: var(--gray-600); 
  line-height: 1.9; 
  margin-bottom: 24px; 
  /* 文章を読みやすくするため、左寄せにしつつ、ブロックとして中央に置く */
  text-align: left; 
  max-width: 650px; 
  margin-left: auto; 
  margin-right: auto; 
}
.solution-text strong { 
  color: var(--primary-dark); 
  font-weight: 700; 
}
/* 修正：ボタンも中央に来るように調整 */
.solution-content .btn {
  margin-top: 16px;
}

/* ===== MERIT ===== */
.merit-section { padding: 80px 0; background: var(--white); }
.merit-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
.merit-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 32px 28px;
  position: relative; overflow: hidden;
  text-align: center; transition: var(--transition);
}
.merit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--primary); }
.merit-card-featured {
  background: linear-gradient(145deg,#f0f9ff,#edf1f4);
  border-color: var(--primary); box-shadow: var(--shadow-lg);
}
.merit-featured-badge {
  position: absolute; top: 16px; right: -8px;
  background: var(--primary); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 16px 4px 12px;
  border-radius: 4px 0 0 4px; box-shadow: var(--shadow-sm);
}
.merit-number { font-size: 48px; font-weight: 900; color: var(--gray-100); line-height: 1; font-family: var(--font-serif); margin-bottom: 16px; letter-spacing: -0.05em; }
.merit-card-featured .merit-number { color: rgba(14,165,233,0.15); }
.merit-icon-wrap {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.merit-icon-blue  { background: var(--primary-light); color: var(--primary); }
.merit-icon-navy  { background: #dbeafe; color: var(--navy); }
.merit-icon-green { background: #d1fae5; color: var(--green); }
.merit-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.merit-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.5; }
.merit-desc  { font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; text-align: left; }
.merit-list  { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.merit-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.merit-list li i { color: var(--green); font-size: 12px; flex-shrink: 0; }

/* Free Services */
.free-services { background: linear-gradient(135deg, var(--navy), #2d5282); border-radius: var(--radius-xl); padding: 40px 32px; color: white; }
.free-services-header { text-align: center; margin-bottom: 32px; }
.free-services-header h3 { font-size: clamp(20px,4vw,28px); font-weight: 900; line-height: 1.4; margin-bottom: 8px; }
.free-services-header h3 .text-accent { color: #7dd3fc; }
.free-services-header p { color: rgba(255,255,255,0.7); font-size: 14px; }
.free-services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.free-service-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border-radius: var(--radius-md);
  padding: 16px 8px; text-align: center;
  border: 1px solid rgba(255,255,255,0.1); transition: var(--transition);
}
.free-service-item:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.free-service-item i    { font-size: 20px; color: #7dd3fc; }
.free-service-item span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.3; }

/* ===== FLOW ===== */
.flow-section { padding: 80px 0; background: var(--gray-50); }
.flow-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.flow-item {
  background: white; border-radius: var(--radius-xl);
  padding: 28px 24px; border: 1px solid var(--gray-200);
  text-align: center; transition: var(--transition);
}
.flow-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.flow-connector {
  display: flex; justify-content: center; align-items: center;
  padding: 8px; color: var(--primary); font-size: 20px; transform: rotate(90deg);
}
.flow-step-num {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--primary);
  background: var(--primary-light); padding: 4px 12px;
  border-radius: var(--radius-full); margin-bottom: 16px;
}
.flow-step-num span { font-size: 18px; font-weight: 900; font-family: var(--font-serif); }

/* ★ STEP 画像 */
.flow-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.flow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.flow-item:hover .flow-img { transform: scale(1.04); }

.flow-item h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.flow-item p  { font-size: 14px; color: var(--gray-500); line-height: 1.8; text-align: left; }
.flow-note {
  background: linear-gradient(135deg, #685a55, #5f544d);
  border-radius: var(--radius-xl); padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 16px; color: white;
}
.flow-note-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.flow-note-text { display: flex; flex-direction: column; gap: 6px; }
.flow-note-text strong { font-size: 16px; font-weight: 700; }
.flow-note-text span   { font-size: 14px; opacity: 0.9; line-height: 1.7; }

/* ===== TRUST ===== */
.trust-section { padding: 0; }
.trust-bg { background: linear-gradient(145deg, var(--navy) 0%, #5f544d 100%); padding: 80px 0; }
.trust-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 8px; }
.trust-stat {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl); padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; transition: var(--transition);
}
.trust-stat:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.trust-stat-num { font-size: 36px; font-weight: 900; color: white; line-height: 1; font-family: var(--font-serif); }
.trust-stat-num small { font-size: 16px; }
.trust-stat-label { font-size: 12px; color: rgba(255,255,255,0.6); }
/* 注釈エリア全体の調整 */
.trust-note-area {
  margin-top: 20px;    /* 実績数字との間の余白 */
  margin-bottom: 40px;    /* 実績数字との間の余白 */
  text-align: left;
}

/* 各行の調整 */
.trust-note {
  font-size: 11px;     /* 文字の大きさ（小さめがスマートです） */
  color: #888;         /* 文字色を少し薄くして補足情報らしく */
  margin: 0;           /* ★重要：上下の余白をゼロにする */
  padding: 2px 0;      /* 行ごとのわずかな隙間 */
  line-height: 1.4;    /* 行間の詰まり具合（1.2〜1.4がおすすめ） */
  letter-spacing: -0.02em; /* わずかに字間を詰めるとよりプロっぽくなります */
}
.trust-cards { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
  margin-bottom: 60px; 
}

.trust-card {
  /* 背景を白（透過なし）に変更 */
  background: #ffffff; 
  /* 境界線を少し濃いめのグレーに変更 */
  border: 1px solid #edf1f4; 
  border-radius: var(--radius-xl); 
  padding: 28px 24px;
  text-align: center; 
  transition: var(--transition);
  /* 白背景でカードを際立たせるために軽い影を追加 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.trust-card:hover { 
  background: #ffffff; 
  transform: translateY(-4px); 
  /* ホバー時の境界線をメインカラー（青系）に */
  border-color: #1e3a5f; 
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.trust-card-icon {
  width: 48px; 
  height: 48px;
  color: #ffffff; /* アイコン（ロゴ）はすべて白 */
  border-radius: var(--radius-md);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 22px; 
  margin: 0 auto 16px;
}

/* 1番目：国家資格（信頼の青・紺） */
.trust-card:nth-child(1) .trust-card-icon {
  background-color: #2d5282; 
}

/* 2番目：自社工場（誠実なグレー・トープ） */
.trust-card:nth-child(2) .trust-card-icon {
  background-color: #5a4f48; 
}

/* 3番目：洗剤（自然・環境のセージグリーン） */
.trust-card:nth-child(3) .trust-card-icon {
  background-color: #6a7d6a; 
}

/* 4番目：個別洗い（安心・温かみのテラコッタベージュ） */
.trust-card:nth-child(4) .trust-card-icon {
  background-color: #a68b7c; 
}

.trust-card h3 { 
  font-size: 16px; 
  font-weight: 700; 
  /* 文字色を#1e3a5fに変更 */
  color: #1e3a5f; 
  line-height: 1.5; 
  margin-bottom: 10px; 
}

.trust-card p { 
  font-size: 13px; 
  /* 説明文も読みやすいように濃いめの色に変更 */
  color: #4b5563; 
  line-height: 1.8; 
  text-align: left; 
}

/* =============================================
   ★ 口コミセクション 全体スタイル
   ============================================= */

.reviews-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 28px;
}

/* マスクフェード（左右を自然に消す） */
.reviews-marquee-outer {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 8px;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.reviews-marquee-outer:hover .reviews-marquee-track {
  animation-play-state: paused;
}

/* スクロールトラック */
.reviews-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll var(--marquee-duration) linear infinite;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   ★ レビューカード 基本設定
   ============================================= */

.review-card {
  background: #ffffff;
  border: 1px solid #edf1f4;
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 300px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
}

.review-card:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.review-stars {
  color: #ffde59;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}

.review-stars .star-off {
  color: #e2e8f0; 
}

/* テキストエリア */
.review-text {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 8px;
  font-style: italic;
  text-align: left;
  position: relative;
  max-height: 4.8em; /* 3行分 */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* 3行目にかかるグラデーション */
.review-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1.5em;
  background: linear-gradient(transparent, #ffffff);
  pointer-events: none;
}

/* 全文を読む / 閉じる ラベル */
.read-more-label {
  display: block;
  font-size: 11px;
  color: #1e3a5f;
  font-weight: 700;
  text-align: right;
  margin-bottom: 16px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* ラベルの文字切り替え（疑似要素を使用） */
.read-more-label::before {
  content: "…全文を読む";
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.review-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
}

.review-info {
  font-size: 12px;
  color: #718096;
}

.reviews-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 12px;
}

/* =============================================
   ★ 全文表示（展開時）の制御
   ============================================= */

.review-card.is-expanded .review-text {
  max-height: 1000px !important; /* 十分な高さを確保 */
}

.review-card.is-expanded .review-text::after {
  display: none; /* グラデーションを消す */
}

.review-card.is-expanded .read-more-label::before {
  content: "× 閉じる"; /* 文字を切り替え */
}

.review-card.is-expanded .read-more-label {
  color: #718096; /* 閉じるボタンは少し色を落とす */
}

/* =============================================
   ★ 左右ナビゲーションボタン（共通）
   ============================================= */

.review-nav-btn {
  display: none; /* 基本は非表示 */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #1e3a5f;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* =============================================
   ★ SP版スライダー設定（768px以下）
   ============================================= */

@media (max-width: 768px) {
  .reviews-marquee-outer {
    /* 左右フェードをSP向けに微調整 */
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    padding: 0;
  }

  .reviews-marquee-track {
    animation: none !important;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
    gap: 15px !important;
    padding-left: 0 !important; /* JSで中央寄せ計算するため0にする */
  }

  .review-card {
    width: 80vw !important; /* 左右チラ見せのためのサイズ */
    flex-shrink: 0;
    margin: 0;
  }

  /* SP版のみボタンを表示 */
  .review-nav-btn {
    display: flex;
  }
  .review-prev { left: 10px; }
  .review-next { right: 10px; }
}


/* ===== FACTORY ===== */
.factory-section { padding: 80px 0; background: var(--white); }
.factory-inner { display: grid; grid-template-columns: 1fr; gap: 48px; }
.factory-headline { font-size: clamp(22px,5vw,36px); font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 20px; letter-spacing: -0.02em; }
.factory-text { font-size: 15px; color: var(--gray-600); line-height: 1.9; margin-bottom: 16px; text-align: left; }
.factory-points { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.factory-point {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; background: var(--gray-50);
  border-radius: var(--radius-md); border-left: 3px solid var(--primary);
}
.factory-point > i { font-size: 20px; color: var(--primary); width: 24px; flex-shrink: 0; margin-top: 2px; }
.factory-point div { display: flex; flex-direction: column; gap: 4px; }
.factory-point strong { font-size: 14px; font-weight: 700; color: var(--navy); }
.factory-point span   { font-size: 13px; color: var(--gray-500); }
.factory-content { text-align: center; }
.factory-card-main {
  background: linear-gradient(135deg,#f0f9ff,#dbeafe);
  border-radius: var(--radius-xl); padding: 40px;
  margin-bottom: 16px; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.factory-illustration { text-align: center; position: relative; width: 100%; }
.factory-building { display: inline-block; position: relative; }
.factory-roof { width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 40px solid var(--navy); margin: 0 auto; }
.factory-body { background: var(--navy); border-radius: 0 0 8px 8px; padding: 16px 20px 12px; width: 120px; display: flex; flex-wrap: wrap; gap: 4px; align-items: flex-end; justify-content: center; }
.factory-window { width: 24px; height: 24px; background: #7dd3fc; border-radius: 2px; opacity: 0.8; }
.factory-door   { width: 20px; height: 30px; background: #0ea5e9; border-radius: 2px 2px 0 0; margin-top: 4px; }
.factory-chimney { position: absolute; top: -20px; right: 10px; width: 16px; height: 30px; background: var(--navy-light); border-radius: 2px 2px 0 0; }
.factory-label-main {
  margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.5;
}
.factory-label-main i { color: var(--primary); }
.worker-card { display: flex; gap: 16px; background: var(--gray-50); border-radius: var(--radius-xl); padding: 20px; border: 1px solid var(--gray-200); }
.worker-icon { width: 56px; height: 56px; background: var(--primary-light); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.worker-info { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.worker-info strong { font-size: 14px; font-weight: 700; color: var(--navy); }
.worker-info span   { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ===== PLANS ===== */

.plans-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.plans-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.plan-tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  background: white;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  cursor: pointer;
}

.plan-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.plan-tab:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px; /* 16pxから少し広げてゆとりを */
  margin-bottom: 24px;
}

.plan-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column; /* 内部要素を縦に並べて高さを揃える */
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.plan-card-featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
  background: linear-gradient(180deg, #f0f9ff 0%, white 100%);
}

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  z-index: 10;
}

/* プラン頭部 */
.plan-header {
  margin-bottom: 16px;
}

.plan-count {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-serif);
  display: block;
  line-height: 1;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  margin-top: 8px;
}

/* --- 追加：プラン画像エリア --- */
.plan-image {
  width: 100%;
  aspect-ratio: 10 / 10; /* 少し高さを出した比率 */
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease; /* タブ切替時のふわっとした変化用 */
}

/* --- 特徴リスト --- */
.plan-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  flex-grow: 1; /* リストの長さが違ってもボタンの位置を揃える */
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}

.plan-features li i {
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
}

.plans-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 16px;
}

/* 押しやすいブロックボタン */
.btn-block {
  width: 100%;
  justify-content: center;
}

/* レスポンシブ：640px以上で3カラム */
@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===== LOCAL SEO ===== */
.local-section {
  padding: 80px 0;
  background: var(--white);
}

.local-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

/* --- 【左側】全域対応 ＆ 市のリストを表示する枠 --- */
.local-map-visual {
  background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  text-align: center;
  min-height: 320px; /* リストが入るため少し高さを確保 */
  display: flex;
  flex-direction: column; /* 要素を縦に並べる */
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

.nara-map-placeholder {
  width: 100%;
}

.nara-map-placeholder > i {
  font-size: 60px; /* 少しサイズダウン */
  color: var(--gray-400);
  opacity: 0.4;
  display: block;
  margin-bottom: 12px;
}

.nara-map-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.nara-map-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* 左枠内の「市」のリスト専用デザイン */
.area-sub-group-left {
  width: 100%;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.local-area-title-sm {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}

.local-area-tags-left {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.local-area-tags-left span {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  white-space: nowrap;
}

/* 1. 左側：市のリスト用リンク設定 */
.local-area-tags-left a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #f0f7ff; /* リンクとわかる薄い青 */
  color: var(--navy);
  border: 1px solid #c2d9ff;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 2. 右側：町村のリスト用リンク設定 */
.local-area-tags a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  background: #f0f7ff;
  color: var(--navy);
  border: 1px solid #c2d9ff;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* --- ホバー（マウスを乗せた時）の動き --- */
.local-area-tags-left a:hover,
.local-area-tags a:hover {
  background: var(--navy); /* ブランドカラーの紺色に */
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px); /* 少し浮き上がる */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* --- リンクではない（spanのまま）時のデザイン（控えめに） --- */
.local-area-tags-left span,
.local-area-tags span {
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--white);
  color: var(--gray-500); /* リンクより少し薄く */
  border: 1px solid var(--gray-200);
  cursor: default;
}


/* --- 【右側】詳細情報エリア --- */
.local-content {
  text-align: left;
}

/* 右側のメインタイトル */
.local-area-title-main {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.local-area-title-main::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
}

.area-group-lead {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* 町村リストのグループ */
.area-sub-group {
  margin-bottom: 24px;
  padding-left: 15px;
  border-left: 1px solid var(--gray-200);
}

.local-area-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}

.local-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.local-area-tags span {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

/* 町村リストのアコーディオン制御 */
.expandable-area {
  position: relative;
  max-height: 84px; 
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-bottom: 8px;
}

.expandable-area.is-expanded {
  max-height: 1000px;
}

.area-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
  transition: opacity 0.3s;
}

.expandable-area.is-expanded .area-overlay {
  opacity: 0;
}

/* もっと見るボタン */
.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 12px;
  margin-bottom: 24px;
  transition: 0.3s;
}

.btn-show-more:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--gray-50);
}

/* --- 配送に関する注釈 --- */
.delivery-notes {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  border: 1px dashed var(--gray-300);
}

.delivery-notes p {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
  text-indent: -1em;
  padding-left: 1.2em;
}

/* --- よく検索されるキーワード --- */
.local-seo-keywords {
  border-top: 1px solid var(--gray-100);
  padding-top: 24px;
}

.keyword-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.keyword-title i {
  color: var(--primary);
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keywords span {
  font-size: 11px;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
}

/* --- よく検索されるキーワード：SP版レイアウト調整 --- */
@media (max-width: 768px) {
  /* 検索ワード全体のコンテナ */
  #local .local-seo-keywords .keywords {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important; /* 左詰めに固定 */
    gap: 8px !important; /* キーワード同士の間隔 */
    width: 100% !important;
  }

  /* 各キーワード（span）の設定 */
  #local .local-seo-keywords .keywords span {
    display: inline-block !important; /* 縦並びを防ぐ */
    width: auto !important; /* 幅を自動（文字量に合わせる）にする */
    flex: 0 1 auto !important; /* 必要以上に広がらないようにする */
    text-align: left !important;
    white-space: nowrap !important; /* 単語の途中で改行させない */
    
    /* 余白の微調整（タップしやすく、かつ横に並びやすく） */
    padding: 6px 12px !important;
    font-size: 11px !important;
  }

  /* タイトルも左詰めに合わせる */
  #local .local-seo-keywords .keyword-title {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/* --- レスポンシブ --- */
@media (min-width: 1024px) {
  .local-inner {
    grid-template-columns: 0.8fr 1.2fr; /* 左を少し狭く、右を広く */
    align-items: start;
    gap: 60px;
  }
}

@media (max-width: 1023px) {
  .local-map {
    margin-bottom: 40px;
  }
}

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: white; border-radius: var(--radius-md); border: 1px solid var(--gray-200); overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--navy);
  background: white; cursor: pointer; transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 14px; color: var(--primary); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--gray-600); line-height: 1.9; border-top: 1px solid var(--gray-200); padding-top: 16px; }
.faq-answer strong { color: #c0392b; font-weight: 700; }

/* --- FAQ SP版：回答の全文表示 ＆ 余白調整 --- */
@media (max-width: 768px) {
  /* 1. 質問欄の縦幅を短く調整 */
  .faq-question {
    padding: 14px 20px; /* 上下を20px→14pxに縮小 */
    font-size: 14px;    /* 文字を少し小さくして1行に収まりやすく */
  }

  /* 2. 回答エリア：強制表示(!important)を削除し、JSでの開閉を有効化 */
  .faq-answer {
    /* 以前の height: auto !important 等をすべて削除 */
    padding-left: 20px;
    padding-right: 20px;
    line-height: 1.7;
    word-break: break-all;
    box-sizing: border-box;
    /* transitionなどは共通設定が引き継がれるため記載不要 */
  }

  /* 3. 回答が開いた時の余白調整 */
  .faq-item.open .faq-answer {
    padding-top: 0;
    padding-bottom: 20px;
  }

  /* 4. 回答内のpタグ：1行目がはみ出ないよう調整 */
  .faq-answer p {
    font-size: 14px;
    margin: 0;
    padding-top: 12px; /* 質問との境界線上の余白 */
    border-top: 1px solid var(--gray-200);
  }
}

/* ===== CTA ===== */
.cta-section { padding: 0; }
.cta-bg {
  background: linear-gradient(145deg, #4a5568 0%, var(--navy) 20%, #4a5568 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-decoration { position: absolute; inset: 0; pointer-events: none; }
.cta-circle { position: absolute; border-radius: 50%; opacity: 0.06; background: white; }
.cta-circle-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.cta-circle-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; }
.cta-inner { text-align: center; position: relative; }
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: #7dd3fc; background: rgba(255,255,255,0.1);
  padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 20px;
}
.cta-headline { font-size: clamp(22px,5vw,40px); font-weight: 900; color: white; line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 32px; }
.cta-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.cta-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.cta-badges i { color: #4ade80; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 16px; }
.cta-buttons .btn { background-color: #1e3a5f; color: #ffffff; border: none; padding: 14px 32px; border-radius: var(--radius-md); transition: background-color 0.3s ease; }
.cta-buttons .btn:hover { background-color: #6d5f5a; }

.btn-cta-primary {
  background: white; color: var(--primary-dark);
  padding: 18px 36px; font-size: 17px; font-weight: 900;
  border-radius: var(--radius-full); box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 10px;
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.btn-cta-secondary {
  background: transparent; color: white;
  padding: 18px 36px; font-size: 17px; font-weight: 700;
  border-radius: var(--radius-full); border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 10px;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-3px); }
.cta-tel-note { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ===== FOOTER ===== */
.site-footer {
  background-color: #f8fafc; /* 非常に薄いグレーで清潔感を */
  padding: 60px 0 30px;
  border-top: 1px solid #e2e8f0;
  color: #1e3a5f;
}

.footer-top-brand {
  text-align: center;
  margin-bottom: 40px;
}

.f-logo img {
  height: auto;
  max-width: 180px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-nav-group h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e3a5f;
  border-bottom: 2px solid #1e3a5f;
  display: inline-block;
}

.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-group ul li {
  margin-bottom: 8px;
}

.footer-nav-group ul li a {
  text-decoration: none;
  color: #5a4f48; /* 提案した暖色系グレー */
  font-size: 14px;
  transition: color 0.3s;
}

.footer-nav-group ul li a:hover {
  color: #1e3a5f;
  text-decoration: underline;
}

.sns-nav {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sns-nav i {
  font-size: 24px;
  color: #1e3a5f;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.copyright {
  font-size: 12px;
  color: #94a3b8;
}

.disclaimer {
  font-size: 10px;
  color: #cbd5e1;
  margin-top: 5px;
}

/* LINE固定ボタンのスタイル */
.footer-navi {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #06c755;
  z-index: 1000;
  text-align: center;
  padding: 10px 0;
}

.footer-navi a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: block;
}

/* レスポンシブ制御 */
@media (max-width: 768px) {
  .pc-display-tel { display: none; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  .sp-display-tel { display: none; }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  background: var(--navy); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px);
  transition: var(--transition); z-index: 90;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary); transform: translateY(-4px); }

/* ===== AOS ===== */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"]  { transform: translateX(24px); }
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }

/* ===== SP BR ===== */
.sp-br { display: none; }

/* =====================
   RESPONSIVE
   ===================== */

/* ≥ 640px */
@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2,1fr); }
  .flow-steps { flex-direction: row; align-items: flex-start; }
  .flow-item { flex: 1; }
  .flow-connector { transform: rotate(0deg); padding: 60px 4px 0; }
  .trust-stats { grid-template-columns: repeat(4,1fr); }
  .trust-cards { grid-template-columns: repeat(2,1fr); }
  .plans-grid { grid-template-columns: repeat(3,1fr); }
  .merit-grid { grid-template-columns: repeat(3,1fr); }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; 
    gap: 40px; }
  .hero-content { max-width: 100%; /* もし狭めていたら100%に */
    flex: 1; }
  .hero-visual  { order: 2; }
  .header-nav { display: flex; }
  .menu-toggle { display: none; }
  .solution-inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .factory-inner  { grid-template-columns: 1fr 1fr; align-items: center; }
  .local-inner    { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-inner   { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .sp-br { display: block; }
  .flow-img-wrap { height: 200px; }
}

/* ≥ 1280px */
@media (min-width: 1280px) {
  .container { padding: 0 40px; }
  .hero { padding: 80px 0 100px; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .scroll-top, .mobile-nav, .cta-section { display: none; }
}

/* ============================================================
   ヘッダー被り解消（コンテンツの押し下げ）
   ============================================================ */

/* PC版：ヘッダーの高さ(80px)分だけ余白を作る */
@media (min-width: 1024px) {
  body {
    padding-top: 80px;
  }
}

/* SP版：ヘッダーの高さ(60px)分だけ余白を作る */
@media (max-width: 1023px) {
  body {
    padding-top: 60px;
  }

  /* もしheroセクションに個別に余白をつけたい場合はこちら */
  .hero {
    padding-top: 20px; /* fixedヘッダー分とは別に、デザイン上の余白 */
  }
}

/* ============================================================
   モバイルメニュー(mobile-nav)の表示位置微調整
   ============================================================ */
@media (max-width: 1023px) {
  .mobile-nav {
    /* メニューが開いたとき、ヘッダーのすぐ下から始まるように調整 */
    top: 60px;
    height: calc(100vh - 60px);
    padding-top: 20px;
  }
  
  /* メニューが開いている間、背後の画面をスクロールさせないための設定（任意） */
  body.menu-open {
    overflow: hidden;
  }
}

/* ============================================================
   特定の地域向け追加スタイル
   ============================================================ */
/* 1. 左右2カラムを解除して中央寄せ */
#local .local-inner {
  display: block !important;
}

#local .local-content.is-full-width {
  max-width: 850px;
  margin: 0 auto;
  float: none !important;
  width: 100% !important;
}

/* 2. 枠内のコンテンツを中央揃えに強制 */
#local .area-group-master {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* 3. 都市タグの並びを中央へ */
#local .local-area-tags-left {
  justify-content: center !important;
}

/* 4. 配送規定（枠内下部のグレー背景ブロック） */
#local .delivery-notes {
  margin-top: 10px;
  margin-bottom: 40px;
  padding: 24px;
  background-color: #f8fafc;
  border-radius: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid #edf1f4;
  box-sizing: border-box;
}

/* 5. 検索ワード（枠内最下部） */
#local .local-seo-keywords {
  margin-top: 20px;
  width: 100%;
  border-top: 1px dashed #d1e3f5;
  padding-top: 30px;
}

#local .local-seo-keywords .keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

/* 6. スマホ時のパディング調整 */
@media (max-width: 768px) {
  #local .area-sub-group-left {
    padding: 15px !important;
  }
  #local .delivery-notes {
    padding: 15px;
    margin-bottom: 30px;
  }
}




/* ==========================================================================
   全体レイアウト
   ========================================================================== */
.area-portal { 
    padding: 80px 0; 
    background: #fff; 
    font-family: "Noto Sans JP", sans-serif;
}
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}
.section-subtitle {
    color: #666;
    font-size: 1rem;
}

/* ==========================================================================
   出し分け設定（PC/SP）
   ========================================================================== */
.sp-only { display: none; }
.pc-only { display: block; }

@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block; }
}

/* ==========================================================================
   【新設】スマホ用エリアセレクター
   ========================================================================== */
.mobile-area-selector {
    margin-bottom: 50px;
}

.near-me-btn {
    width: 100%;
    padding: 16px;
    background: #1a2a40;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 42, 64, 0.2);
    transition: all 0.2s;
}

.near-me-btn:active {
    transform: scale(0.98);
    background: #d4a373;
}

.selector-label {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1a2a40;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.selector-label::before,
.selector-label::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #eee;
    max-width: 50px;
}

.sp-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.sp-area-grid button {
    background: #fff;
    border: 1px solid #eef0f2;
    padding: 15px 0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2a40;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.sp-area-grid button:active {
    background: #f8f9fa;
    border-color: #d4a373;
    color: #d4a373;
}

/* ==========================================================================
   地図セクション（PC用）
   ========================================================================== */
.map-section {
    position: relative;
    max-width: 850px;
    margin: 0 auto 100px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.japan-map {
    width: 100%;
    height: auto;
    display: block;
}

.map-hotspot {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hotspot-trigger {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotspot-trigger::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background: #1a2a40;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* --- ラベル自体のクリックを有効にする --- */
.hotspot-label {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #1a2a40;
    padding: 4px 14px;
    border-radius: 30px; 
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid #eef0f2;
    z-index: 10;
    transition: all 0.3s ease;
    pointer-events: auto; 
    cursor: pointer;
}

.hotspot-label:hover {
    background: #1a2a40;
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 42, 64, 0.2);
}

.hotspot-trigger:hover::before {
    background: #d4a373;
    transform: scale(1.2);
}
.hotspot-trigger:hover .hotspot-label {
    background: #1a2a40;
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 42, 64, 0.2);
}

/* 特定エリアのラベル上配置 */
.map-hotspot.label-top .hotspot-label {
    top: auto;
    bottom: 28px;
}
.map-hotspot.label-top .hotspot-trigger:hover .hotspot-label {
    transform: translateX(-50%) translateY(-5px);
}

/* ==========================================================================
   吹き出し（Popover）
   ========================================================================== */
.map-popover {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.map-popover.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.map-hotspot.label-top .map-popover {
    bottom: 85px;
}

.popover-line {
    position: absolute;
    bottom: -70px;
    left: 50%;
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, #1a2a40, rgba(26, 42, 64, 0.1));
    z-index: 1;
    pointer-events: none;
}

.map-hotspot.label-top .popover-line {
    height: 85px;
    bottom: -85px;
}

.popover-content {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.popover-header {
    font-weight: bold;
    color: #1a2a40;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 15px;
    text-align: center;
}

.popover-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.popover-body button {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 10px 0;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.popover-body button:hover {
    background: #1a2a40;
    color: #fff;
    border-color: #1a2a40;
}

.popover-note {
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.5;
    color: #c53030;
    border-top: 1px dashed #ddd;
    padding-top: 10px;
}

.popover-body.single-btn {
    display: block;
}
.popover-body.single-btn button {
    width: 100%;
    background: #1a2a40;
    color: #fff;
    font-weight: bold;
    padding: 12px;
}

/* ==========================================================================
   結果表示エリア
   ========================================================================== */

.area-panel-grid {
    display: grid;
    /* PC版：1:1の比率で2つのカラムを作成 */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; /* パネル同士の上下左右の隙間 */
    margin-top: 20px;
}

.area-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    gap: 15px;
    /* 高さのばらつきを抑えるための設定（必要に応じて） */
    height: 100%; 
}

.area-panel:hover {
    border-color: #d4a373; /* ボタンと同じ色にするなど */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

/* 左側のテキストコンテナ（名前と説明文を包む） */
.panel-content {
    flex: 1;          /* 利用可能なスペースをすべて使う */
    min-width: 0;     /* テキストの折り返しを正しく機能させるための呪文 */
}

.city-name { 
    font-weight: bold; 
    font-size: 18px; 
    color: #1a2a40; 
    display: block;
    margin-bottom: 4px;
}

/* 【重要】ここを大幅修正：全文表示しつつボタンを避ける */
.sub-info {
    display: block;
    color: #666;      /* 少し薄くして読みやすく */
    font-size: 14px;
    line-height: 1.5; /* 行間を空けて全文表示時に読みやすく */
    
    /* 以前の「1行制限」の設定をすべて解除 */
    white-space: normal;      /* 改行を許可する */
    overflow: visible;        /* 隠さない */
    text-overflow: clip;      /* ...を表示しない */
    max-width: none;          /* 幅制限を解除 */
}

/* 右側のボタン部分 */
.go-btn {
    flex-shrink: 0;    /* 文字が長くなってもボタンを絶対に縮ませない */
    font-size: 14px;
    font-weight: bold;
    color: #d4a373;
    white-space: nowrap; /* ボタン内のテキストを改行させない */
}

/* ==========================================================================
   スマホ最終調整
   ========================================================================== */
@media (max-width: 768px) {

    .area-panel-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .results-section {
        padding: 30px 20px;
    }
    .results-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    #resultsTitle {
        font-size: 1.25rem;
    }

/* スマホではパディングを少し詰めるとスッキリします */
    .area-panel {
        padding: 20px;
    }

}

/* ==========================================================================
   他のエリアを探す
   ========================================================================== */

.area-nav-support {
    padding: 40px 0;
    background-color: #fff; /* 背景は白で清潔感を */
    text-align: center;
}

.area-nav-card {
    background: #f8f9fa; /* 薄いグレーのボックス */
    padding: 30px;
    border-radius: 12px;
    border: 1px dashed #cbd5e0; /* 控えめな破線で囲む */
}

.area-nav-card p {
    margin-bottom: 20px;
    font-weight: 600;
    color: #1a2a40;
}

.btn-area-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1a2a40; /* ラクリのメインカラー */
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-area-back:hover {
    background-color: #d4a373; /* ホバー時はアクセントカラーに */
    transform: translateY(-2px);
}


/* ==========================================================================
   離島リスト表示用
   ========================================================================== */
/* 離島注意書きボックス */
.island-caution-box {
    margin: 30px 0;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.island-caution-header {
    background-color: #ff9800; /* 注意を促すオレンジ */
    padding: 12px 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.island-caution-body {
    padding: 20px;
}

.caution-text {
    margin-bottom: 15px;
    font-size: 15px;
    color: #1f2937;
    line-height: 1.6;
}

.caution-text strong {
    color: #e53e3e; /* 金額は赤色で強調 */
    font-size: 1.1em;
}

/* アコーディオン部分 */
.island-toggle {
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background-color: #f8fafc;
}

.island-toggle summary {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #1a2a40;
    list-style: none; /* デフォルトの矢印を消す */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.island-toggle summary::after {
    content: "＋ 表示する";
    font-size: 12px;
    background: #cbd5e0;
    padding: 2px 8px;
    border-radius: 4px;
}

.island-toggle[open] summary::after {
    content: "ー 閉じる";
}

.island-list-content {
    padding: 0 15px 15px;
    border-top: 1px dashed #cbd5e0;
}

.island-name-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.island-name-list li {
    font-size: 14px;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.island-name-list li::before {
    content: "•";
    color: #ff9800;
    margin-right: 6px;
    font-weight: bold;
}

.island-sub-note {
    font-size: 12px;
    color: #718096;
    margin-top: 10px;
}

/* ==========================================================================
   動的ページネーション スタイル（JavaScript生成対応）
   ========================================================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

/* 生成されるボタン（buttonタグまたはaタグ想定）の共通スタイル */
.pagination-wrapper button,
.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border: 1px solid var(--gray-200); /* 既存の薄いグレー */
    background-color: var(--white);
    color: var(--navy); /* ブランドカラーの濃紺 */
    border-radius: var(--radius-md); /* 共通の角丸 */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* ホバー時の挙動 */
.pagination-wrapper button:hover:not(:disabled),
.pagination-wrapper a:hover {
    background-color: var(--gray-100);
    border-color: var(--navy-light);
    color: var(--primary); /* アクシデントカラーがあれば */
}

/* 現在のページ（アクティブ）の状態 */
.pagination-wrapper .active,
.pagination-wrapper .current {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* 「前へ」「次へ」など特定のボタンを強調する場合 */
.pagination-wrapper .prev-btn,
.pagination-wrapper .next-btn {
    padding: 0 16px;
    font-weight: 700;
}

/* 無効化状態（最初のページの「前へ」など） */
.pagination-wrapper button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--gray-50);
}

/* スマホ対応 */
@media (max-width: 480px) {
    .pagination-wrapper {
        gap: 6px;
    }
    .pagination-wrapper button,
    .pagination-wrapper a {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
}