:root {
  /* ゴルフとは大きく変え、コスメやサロンを意識したローズゴールド＆ベージュ系 */
  --primary-color: #c5a880;     /* 落ち着いたローズゴールド・ニュアンスベージュ */
  --primary-dark: #a88a61;      /* 深みのあるゴールドベージュ */
  --dark-color: #232323;        /* 洗練されたチャコールブラック（炭黒） */
  --light-bg: #fbf9f6;          /* ほんのり温かみのあるオフホワイト */
  --card-bg: #ffffff;
  --text-muted: #707070;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--dark-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

.container { 
  padding: 20px; 
  max-width: 1200px; /* 3列がきれいに収まるように幅を広げました */
  margin: 0 auto; 
}

/* ヒーローセクション */
.hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 4px solid var(--primary-color);
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.logo { 
  font-weight: 300; 
  font-size: 1.5rem; 
  letter-spacing: 4px; 
  color: #fff;
}
#lang-select { 
  padding: 6px 12px; 
  border-radius: 20px; 
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.3);
  color: #fff;
}

/* 検索ボックス */
.search-section { 
  margin: -50px auto 30px; 
  max-width: 700px; 
  background: var(--card-bg); 
  padding: 20px; 
  border-radius: 12px; 
  box-shadow: 0 10px 25px rgba(168,138,97,0.15); 
}
.search-box { display: flex; gap: 10px; }
.search-box input { 
  flex: 1; 
  padding: 12px 16px; 
  border: 1px solid #e2ded8; 
  border-radius: 25px; 
  background-color: #fdfcfb;
}
#near-me-btn { 
  background: var(--primary-color); 
  color: white; 
  border: none; 
  padding: 12px 24px; 
  border-radius: 25px; 
  cursor: pointer; 
  font-weight: bold;
  transition: background 0.3s;
}
#near-me-btn:hover {
  background: var(--primary-dark);
}

/* ★店舗リスト：大画面で3列（3カラム）になるグリッド設定 */
.shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* 店舗カードデザイン */
.shop-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid #f2eee9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-header h2 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.card-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 5px 0;
}

.badge.distance { background: #d96a6a; color: white; padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; margin-left: 5px; vertical-align: middle; }
.p-badge { background: var(--primary-color); color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; margin-left: 5px; font-weight: normal; }

.card-body h3 {
  font-size: 1rem;
  border-bottom: 1px solid #f2eee9;
  padding-bottom: 8px;
  margin-top: 20px;
  color: var(--primary-dark);
  letter-spacing: 1px;
}
.services-list { list-style: none; padding: 0; margin: 0; }
.services-list li { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 10px 0; 
  border-bottom: 1px dashed #f2eee9; 
  font-size: 0.9rem;
}

/* ボタンとアクション（ナビ・連絡・シェア） */
.card-actions { 
  display: flex; 
  gap: 8px; 
  margin-top: 20px; 
  padding-top: 15px; 
  border-top: 1px solid #f2eee9; 
}
.btn { 
  flex: 1; 
  text-align: center; 
  padding: 10px; 
  border-radius: 6px; 
  text-decoration: none; 
  font-size: 0.85rem; 
  font-weight: 500;
}
.btn.gmap { background: #f4f6f9; color: #4a5568; border: 1px solid #e2e8f0; }
.btn.waze { background: #ebf8ff; color: #2b6cb0; border: 1px solid #bee3f8; }
.btn.web { background: var(--dark-color); color: white; }

.card-share { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
  margin-top: 10px; 
}
/* --- データの読み込みストップ（Loading...バグ）の原因だった構文エラーを解消します --- */
.icon { 
  flex: 1;
  text-align: center;
  padding: 8px 0; 
  border-radius: 6px; 
  text-decoration: none; 
  color: white; 
  font-size: 0.8rem; 
  font-weight: 500;
}

/* カウンターのスタイル */
.counter-box {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  border-top: 1px solid #f2eee9;
  padding-top: 10px;
}
.counter-box strong {
  color: var(--primary-dark);
  font-size: 1.1rem;
}

/* メインフッターの全体設定 */
.main-footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
  border-top: 3px solid var(--primary-color);
}

/* フッターのSNSボタン・コピーボタンの並び */
.footer-share {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.f-icon {
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  min-width: 100px;
  text-align: center;
}
.f-icon.wa { background: #25D366; }
.f-icon.wc { background: #7BB32E; }
.f-icon.line { background: #06C755; }

.f-btn-copy {
  padding: 10px 24px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
  min-width: 120px;
  transition: all 0.3s;
}
.f-btn-copy:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* コピーライトテキスト */
.footer-copyright {
  font-size: 0.8rem;
  color: #a0a0a0;
  letter-spacing: 0.5px;
}

/* 金額改行バグ対応 */
.services-list li { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  gap: 10px;
  padding: 10px 0; 
  border-bottom: 1px dashed #f2eee9; 
  font-size: 0.85rem;
}
.services-list li strong {
  white-space: nowrap;
}

/* Instagramボタン専用の上品なくすみローズグラデーション */
.btn.ig {
  background: linear-gradient(135deg, #b88a76, #bd7e82);
  color: white;
  border: none;
  transition: opacity 0.3s;
}
.btn.ig:hover {
  opacity: 0.9;
}


/* ==========================================================================
   【新設】Near Meボタンの右隣に「Fine & Value Edition」を並べるレイアウト
   ========================================================================== */

/* PC版：入力欄、Near Me、新ボタンの高さを揃えて横一列に整列 */
.search-box {
  display: flex !important;
  gap: 10px !important;
  align-items: stretch !important;
}

#search-input,
#near-me-btn {
  height: 46px !important;
  box-sizing: border-box !important;
}

#near-me-btn {
  white-space: nowrap !important;
}

/* 新しい「Fine & Value Edition」リンクボタンのスタイル（サロンのトーンに統一） */
.btn-toggle-site {
  background-color: #ffffff !important;
  color: var(--primary-dark) !important;
  border: 1px solid var(--primary-color) !important;
  padding: 0 20px !important;
  border-radius: 4px !important; /* 他のボタンの角丸(4px)と統一 */
  font-size: 0.9rem !important;
  font-weight: bold !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  height: 46px !important; /* 高さを46pxに完全統一 */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.btn-toggle-site:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* スマホ版（768px以下）：はみ出さずに2段に自動で折り返して綺麗にフィット */
@media screen and (max-width: 768px) {
  .search-box {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  
  #search-input {
    flex: 1 !important;
    min-width: 150px !important;
    height: 44px !important;
  }
  
  #near-me-btn {
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 0.85rem !important;
  }

  .btn-toggle-site {
    width: 100% !important;
    height: 44px !important;
    font-size: 0.85rem !important;
  }
}
/* ==========================================================================
   【モバイル専用】ヘッダーの高さを極限まで圧縮してリストを見せる調整
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* 1. ヒーローヘッダー全体の上下の余白（padding）を狭くし、高さを縮める */
  .hero {
    padding: 30px 15px !important; /* 元の80pxから30pxへ大幅に圧縮 */
    min-height: auto !important;   /* 必要以上の高さ固定を解除 */
  }

  /* 2. ロゴや言語セレクトが並ぶトップバーの余白も微調整 */
  .top-bar {
    margin-bottom: 15px !important;
  }

  /* 3. タイトルとサブタイトルの文字サイズと上下の隙間を小さくする */
  .hero-content h1 {
    font-size: 1.4rem !important; /* 文字を少しだけコンパクトに */
    margin-bottom: 5px !important;
  }
  .hero-content p {
    font-size: 0.85rem !important;
    margin: 0 !important;
  }

  /* 4. 検索ボックス周辺の上下の余白（margin）も詰めて上に引き上げる */
  .search-section {
    margin-top: -15px !important;  /* ヒーロー画像との隙間を詰める */
    margin-bottom: 15px !important; /* カウンターやリストとの隙間を詰める */
  }
}

/* ==========================================================================
   【完全解決】翻訳バグによる上部の重複（白い背景の顔とタイトル）を強制カット
   ========================================================================== */

/* 1. ブラウザ翻訳やJSが勝手に生成した「画面最上部の白い背景の重複ブロック」を完全に非表示にします */
body > div:first-of-type,
body > div[id*="goog"],
.skiptranslate,
#goog-gt-tt {
  display: none !important;
}

/* 2. ページ最上部で2重になっている要素を強制的に画面から消去します */
header.hero ~ header.hero,
.hero-content + .hero-content {
  display: none !important;
}

/* 3. 元々の綺麗なヘッダー（fc-back.jpg）の中の文字を、白背景でも読めるようにクッキリと表示 */
.hero {
  background-size: cover !important;
  background-position: center !important;
  padding: 60px 20px !important;
}

/* 左上のロゴを白から濃いグレーに変更して視認性を確保 */
.logo {
  color: #232323 !important;
  font-weight: 800 !important;
}

/* 4. ヘッダー内の正しいタイトルを濃いチャコールグレーに変更し、白飛びを完全に防ぎます */
.hero-content h1 {
  color: #232323 !important;
  font-size: 2.2rem !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9) !important; /* 文字の後ろに白い影をつけてクッキリ見せる */
}

.hero-content p {
  color: #444444 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9) !important;
}
/* ==========================================================================
   【左右入れ替え確定】左側にテキスト、右側に写真を配置する設定
   ========================================================================== */

/* 1. PC版：並び順を通常の「横並び（row）」に固定し、左に文字、右に画像を配置します */
.hero .hero-flex-layout {
  display: flex !important;
  flex-direction: row !important; /* row-reverseからrowに変更して左右反転 */
  align-items: center !important;
  justify-content: center !important;
  gap: 40px !important;
  max-width: 1050px !important;
  margin: 0 auto !important;
  text-align: left !important;
}

/* 2. 右側：画像ボックスを適切な大きさに固定 */
.hero .hero-img-box {
  display: block !important;
  flex: 0 0 380px !important;
  max-width: 380px !important;
  border: 3px solid #ffffff !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  overflow: hidden !important;
}

.hero .hero-eyebrow-pic {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* 3. 左側：テキストボックスを左寄せにし、白文字を確実にクッキリ読ませる */
.hero .hero-text-box {
  display: block !important;
  flex: 1 !important;
  max-width: 550px !important;
  text-align: left !important;
}

.hero .hero-text-box h1 {
  color: #ffffff !important;
  font-size: 2.2rem !important;
  font-weight: bold !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
}

.hero .hero-text-box p {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}

/* 4. スマホ版（768px以下）：スマホでは縦並びにして、高さをスッキリ圧縮 */
@media screen and (max-width: 768px) {
  .hero {
    padding: 25px 15px !important;
  }
  .hero .hero-flex-layout {
    flex-direction: column !important; /* スマホでは縦並び */
    gap: 15px !important;
    text-align: center !important;
  }
  .hero .hero-img-box {
    flex: 0 1 auto !important;
    width: 80% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  .hero .hero-text-box {
    text-align: center !important;
  }
  .hero .hero-text-box h1 {
    font-size: 1.3rem !important;
  }
  .hero .hero-text-box p {
    font-size: 0.85rem !important;
  }
}
/* ==========================================================================
   【最終確定】左右入れ替えレイアウト（PC：左文字・右画像 / モバイル：最適化）
   ========================================================================== */

/* 1. PC版：左に文字、右に画像を綺麗に並べる */
.hero .hero-flex-layout {
  display: flex !important;
  flex-direction: row !important; /* 左に文字、右に画像 */
  align-items: center !important;
  justify-content: center !important;
  gap: 40px !important;
  max-width: 1050px !important;
  margin: 0 auto !important;
  text-align: left !important;
}

/* 右側：画像ボックスのサイズ固定 */
.hero .hero-img-box {
  display: block !important;
  flex: 0 0 380px !important;
  max-width: 380px !important;
  border: 3px solid #ffffff !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  overflow: hidden !important;
}

.hero .hero-eyebrow-pic {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* 左側：テキストの視認性向上 */
.hero .hero-text-box {
  display: block !important;
  flex: 1 !important;
  max-width: 550px !important;
  text-align: left !important;
}

.hero .hero-text-box h1 {
  color: #ffffff !important;
  font-size: 2.2rem !important;
  font-weight: bold !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
}

.hero .hero-text-box p {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}

/* 2. モバイル版（768px以下）：スマホ画面に完璧に最適化 */
@media screen and (max-width: 768px) {
  .hero {
    padding: 20px 15px !important; /* 上下の無駄な余白を極限まで圧縮 */
  }
  .hero .hero-flex-layout {
    flex-direction: column-reverse !important; /* スマホでは画像を上、文字を下にしてスッキリ縦並び */
    gap: 12px !important;
    text-align: center !important;
  }
  /* スマホの画面幅に合わせて画像をコンパクトに縮小 */
  .hero .hero-img-box {
    flex: 0 1 auto !important;
    width: 75% !important; 
    max-width: 260px !important;
    margin: 0 auto !important;
  }
  .hero .hero-text-box {
    text-align: center !important; /* スマホでは文字を中央揃えに */
  }
  .hero .hero-text-box h1 {
    font-size: 1.3rem !important; /* 文字がはみ出さないサイズ */
    margin-bottom: 4px !important;
  }
  .hero .hero-text-box p {
    font-size: 0.85rem !important;
  }
  /* 検索セクションを上に詰めて、店舗リストを最初から見えやすくする */
  .search-section {
    margin-top: -10px !important;
    margin-bottom: 15px !important;
  }
}