/* =====================================================
   地域の目の専門店 - 集客HP スタイルシート
   清潔感・信頼感・専門性を感じるデザイン
   ===================================================== */

/* --- リセット & CSS変数 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* カラーパレット（金子眼鏡風 墨色・グレーのモノトーン基調） */
  --primary: #232a2e;        /* 墨色チャコール（基調色） */
  --primary-light: #3a4045;  /* やや明るい墨色 */
  --primary-dark: #15191b;   /* ほぼ黒の墨色 */
  --secondary: #707070;      /* 中間グレー（アクセント） */
  --secondary-light: #969696;/* 明るいグレー */
  --accent-blue: #f2f2f2;    /* 淡いグレー（旧・淡いブルー枠） */
  --accent-blue-deep: #d7dcde;/* やや濃い淡グレー */
  --bg: #ffffff;
  --bg-gray: #f4f4f3;        /* オフホワイトグレー */
  --bg-warm: #fafafa;
  --surface: #ffffff;
  --border: #e0e0e0;         /* ニュートラルグレーの罫線 */
  --border-light: #eeeeee;
  --text: #1f2529;           /* 墨色テキスト */
  --text-light: #525252;     /* グレーテキスト */
  --text-muted: #6b6b6b;     /* 補足テキスト（コントラスト確保） */
  --text-white: #ffffff;
  --card: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.09);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.05);
  --line-green: #06c755;
  --line-green-hover: #05b04a;
  --white: #ffffff;
  --overlay: rgba(35, 42, 46, 0.7);

  /* タイポグラフィ */
  --font-main: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Meiryo', sans-serif;
  --font-heading: 'Noto Serif JP', 'Georgia', 'Hiragino Mincho ProN', serif;

  /* スペーシング */
  --section-padding: 100px 0;
  --section-padding-sm: 72px 0;
  --container-max: 1100px;
  --container-wide: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.03em; /* 金子眼鏡風：ゆったりした上品な字間 */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  list-style: none;
}

/* --- コンテナ --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- ヘッダー・ナビゲーション --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo-main {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--text-white) !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--primary-light);
  color: var(--text-white) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu .nav-cta {
  margin-top: 12px;
  padding: 12px 32px;
  font-size: 0.95rem;
}

/* --- ヒーローセクション --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(35, 42, 46, 0.88) 0%, rgba(58, 64, 69, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 2;
  opacity: 0.9;
  margin-bottom: 20px;
  font-weight: 400;
}

/* ファーストビューの安心バッジ（予約不要・相談無料・駅すぐ） */
.hero-note {
  color: #fff;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
  animation: scrollBounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.4);
  margin: 8px auto 0;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- セクション共通 --- */
.section {
  padding: var(--section-padding);
}

.section-gray {
  background: var(--bg-gray);
}

.section-blue {
  background: var(--accent-blue);
}

.section-dark {
  background: var(--primary);
  color: var(--text-white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-line {
  background: var(--line-green);
  color: var(--text-white);
}

.btn-line:hover {
  background: var(--line-green-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-icon {
  font-size: 1.2em;
}

/* --- グリッドシステム --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- コンセプトセクション --- */
.concept-section {
  padding: 80px 0;
  text-align: center;
}

.concept-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 2.2;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: 0.04em;
}

.concept-text em {
  font-style: normal;
  color: var(--secondary);
  font-weight: 600;
}

/* --- 強みセクション --- */
.strength-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.strength-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}

.strength-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-card:hover .strength-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.strength-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.strength-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- お悩み導線カード --- */
.concern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.concern-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}

.concern-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  color: var(--primary);
}

.concern-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concern-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.concern-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.concern-arrow {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--secondary);
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition);
}

.concern-card:hover .concern-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* --- カテゴリナビ（遠近両用etc） --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--text-white);
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  color: var(--text-white);
}

.category-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.category-card:hover .category-bg {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(35, 42, 46, 0.85) 0%, rgba(35, 42, 46, 0.2) 100%);
}

.category-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.category-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 8px;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-desc {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* --- プレースホルダ画像 --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 2rem;
}

.placeholder-img-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: rgba(255, 255, 255, 0.3);
}

/* --- 初めての方へセクション --- */
.firsttime-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.firsttime-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.firsttime-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真を彩度抑えめの上質トーンで統一（金子眼鏡風の落ち着き） */
.hero-bg,
.category-bg {
  filter: grayscale(38%) contrast(1.03);
}

.firsttime-img img,
.blog-thumb img {
  filter: grayscale(32%);
  transition: filter 0.4s ease;
}

.blog-card:hover .blog-thumb img {
  filter: grayscale(0);
}

.firsttime-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- 口コミセクション --- */
.review-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 16px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary);
}

.review-info {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-info strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.review-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--accent-blue);
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 4px;
}

/* --- ブログセクション --- */
.blog-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-thumb img,
.blog-thumb .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 20px 24px 24px;
}

.blog-category {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--secondary);
  font-weight: 600;
  background: var(--accent-blue);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- 店舗案内セクション --- */
.shop-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.shop-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.shop-detail-table th,
.shop-detail-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.shop-detail-table th {
  width: 100px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  padding-right: 16px;
}

.shop-detail-table td {
  color: var(--text-light);
}

.shop-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-gray);
}

.shop-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- CTA セクション --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section .section-title {
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 固定CTA（モバイル） */
.fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  padding: 10px 16px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
}

.fixed-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.fixed-cta .btn {
  flex: 1;
  padding: 12px 8px;
  font-size: 0.82rem;
  border-radius: var(--radius);
}

/* --- フッター --- */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* --- ページヘッダー --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  text-align: center;
}

.page-header .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .section-title {
  color: var(--text-white);
}

.page-header .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}

/* --- パンくずリスト --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* --- 悩みページ共通 --- */
.worry-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.worry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-blue);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
}

.worry-item .icon {
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* フローセクション */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.flow-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.flow-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  background: var(--card);
  border: none;
  width: 100%;
  text-align: left;
  transition: background var(--transition);
  font-family: var(--font-main);
}

.faq-question:hover {
  background: var(--bg-gray);
}

.faq-question .faq-toggle {
  font-size: 1.2rem;
  color: var(--secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- ページ内CTA --- */
.page-cta {
  background: var(--accent-blue);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-cta .section-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.page-cta .section-subtitle {
  margin: 0 auto 24px;
}

/* --- ブログ一覧ページ --- */
.blog-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.blog-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--card);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* --- 口コミページ --- */
.review-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 48px;
}

.review-score {
  text-align: center;
  flex-shrink: 0;
}

.review-score-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.review-score-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-top: 8px;
  letter-spacing: 2px;
}

.review-score-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.review-highlight-tag {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
}

/* --- 初めての方へページ --- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.checklist-item .check {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- 数字で見る実績 --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.stat-unit {
  font-size: 1rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.section-dark .stat-number {
  color: var(--accent-blue);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* --- お問い合わせフォーム --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e53e3e;
  font-size: 0.75rem;
  margin-left: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- アニメーション --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 遅延用 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- チャットボット --- */
.chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 997;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.chatbot-toggle:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

.chatbot-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 997;
  width: 380px;
  max-height: 520px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  background: var(--primary);
  color: var(--text-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  line-height: 1.7;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-gray);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--text-white);
  border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
}

.chatbot-suggestions button {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}

.chatbot-suggestions button:hover {
  background: var(--accent-blue);
  border-color: var(--secondary);
  color: var(--secondary);
}

.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
}

.chatbot-input-area input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-main);
}

.chatbot-input-area input:focus {
  border-color: var(--secondary);
}

.chatbot-input-area button {
  padding: 10px 18px;
  background: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-main);
}

.chatbot-input-area button:hover {
  background: var(--primary-light);
}

/* --- ユーティリティ --- */
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* --- 製品カード（コンタクトレンズ等） --- */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card-img {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}

.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card-maker {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 0.95rem;
          font-weight: 700;
          color: var(--text);
          margin-top: 0;        ← 追記
          margin-bottom: 6px;
          line-height: 1.4;
          text-align: left;     ← 追記
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* 定期便バッジ（アキュビュー定期便・MARLO など） */
.plan-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 13px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  line-height: 1.4;
}

/* 店舗限定バッジ（天六店・ルクア店） */
.store-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 13px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--primary);
  border-radius: 999px;
  line-height: 1.4;
}

/* リンクとして使う店舗バッジ */
a.store-tag {
  text-decoration: none;
  transition: opacity var(--transition);
}
a.store-tag:hover {
  opacity: 0.82;
}
.store-tag + .store-tag {
  margin-left: 6px;
}

/* 店舗名リンク（店舗情報カード） */
.strength-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.strength-title a:hover {
  border-bottom-color: currentColor;
}

/* 定期便に関する注記 */
.lens-plan-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.lens-category-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary);
}

.lens-category-heading span {
  color: var(--secondary);
  font-weight: 700;
}

.lens-category-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* --- サービス一覧ページ --- */
.service-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-main-card {
  display: flex;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-main-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-main-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue);
  border-radius: 50%;
}

.service-main-body {
  flex: 1;
}

.service-main-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.service-main-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-main-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.service-main-list {
  list-style: none;
  margin-bottom: 18px;
}

.service-main-list li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.service-main-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* サポートカード */
.support-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.support-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.support-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.support-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- レスポンシブ：タブレット --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .concern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .firsttime-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .shop-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .review-summary {
    flex-direction: column;
    text-align: center;
    padding: 28px;
  }

  .worry-list {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .concept-text {
    font-size: 1rem;
  }

  .page-cta {
    padding: 36px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .fixed-cta {
    display: block;
  }

  /* モバイルCTAの分だけ下部余白 */
  body {
    padding-bottom: 70px;
  }

  .chatbot-toggle {
    bottom: 80px;
    right: 16px;
  }

  .chatbot-window {
    bottom: 140px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* --- レスポンシブ：スマホ --- */
@media (max-width: 768px) {
  .service-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-main-card {
    flex-direction: column;
    gap: 14px;
  }

  :root {
    --section-padding: 56px 0;
  }

  html {
    font-size: 15px;
  }

  .container,
  .container-wide,
  .container-narrow {
    padding: 0 16px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 80px 16px 48px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .concern-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .concern-card {
    padding: 20px 12px;
  }

  .concern-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
  }

  .concern-title {
    font-size: 0.82rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-card {
    aspect-ratio: 16/9;
  }

  .strength-card {
    padding: 28px 20px;
  }

  .review-card {
    padding: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .flow-step {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .page-header {
    padding: 110px 0 40px;
  }

  .blog-filter {
    gap: 6px;
  }

  .blog-filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .section-title {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* =====================================================
   ボタン内アイコン・チャットアイコン（SVG）
   ===================================================== */
.btn svg.btn-icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.16em;
  margin-right: 0.45em;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chatbot-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-main-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================================================
   店舗ページ：ブランドタグ
   ===================================================== */
.shop-brands {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.shop-brands-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

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

.brand-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-blue);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent-blue-deep);
  white-space: nowrap;
}

/* =====================================================
   クーポンページ
   ===================================================== */
.coupon-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 12px;
}

.coupon-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.coupon-badge.is-first {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.coupon-badge-label {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.coupon-badge.is-first .coupon-badge-label {
  color: rgba(255, 255, 255, 0.75);
}

.coupon-badge-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.coupon-badge.is-first .coupon-badge-num {
  color: var(--white);
}

.coupon-badge-num strong {
  font-size: 3.4rem;
}

.coupon-badge-num span {
  font-size: 1.4rem;
  margin-left: 4px;
}

.coupon-badge-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.coupon-badge.is-first .coupon-badge-note {
  color: rgba(255, 255, 255, 0.8);
}

/* 価格表 */
.coupon-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.coupon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}

.coupon-table th,
.coupon-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.coupon-table thead th {
  background: var(--bg-gray);
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.coupon-table tbody tr:last-child td {
  border-bottom: none;
}

.coupon-table .coupon-price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.coupon-table .coupon-price-first {
  font-weight: 700;
  color: #b3541e;
  white-space: nowrap;
}

.coupon-table .coupon-maker {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

/* 利用条件 */
.coupon-terms {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.coupon-terms li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

.coupon-terms li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.coupon-terms li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .coupon-badges {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .coupon-badge-num strong {
    font-size: 2.8rem;
  }

  .coupon-terms {
    padding: 20px 20px;
  }
}

/* =====================================================
   コンタクトデビューLP：タイプ別カード
   ===================================================== */
.debut-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.debut-type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
}

.debut-type-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.debut-type-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 640px) {
  .debut-type-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================
   子供メガネページ：近視進行対策の選択肢タグ
   ===================================================== */
.miopia-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.miopia-tag-shop {
  background: var(--primary);
  color: var(--white);
}

.miopia-tag-clinic {
  background: var(--accent-blue);
  color: var(--primary);
  border: 1px solid var(--accent-blue-deep);
}

/* 眼科への外部リンク（本文になじむ控えめな下線） */
.eyecare-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.eyecare-link:hover {
  color: var(--secondary);
}

/* =====================================================
   子供メガネページ：追加画像
   ===================================================== */
.kodomo-hero {
  margin-top: 32px;
}

.kodomo-hero img {
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius-lg);
  display: block;
}

.kodomo-photo-wide img {
  width: 100%;
  height: clamp(200px, 32vw, 340px);
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--radius-lg);
  display: block;
}

.kodomo-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.kodomo-two-col img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.kodomo-col-text .section-label {
  margin-bottom: 10px;
}

.kodomo-col-text .section-title {
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .kodomo-two-col {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* =====================================================
   見え方のもったいない発見チェック（診断ページ）
   ===================================================== */
/* --- 診断前の説明 --- */
.quiz-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.quiz-time-badge {
  display: inline-block;
  background: var(--accent-blue);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.quiz-intro-lead {
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 20px;
}

.quiz-intro-note {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-muted);
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 32px;
}

/* --- 進捗バー --- */
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.quiz-progress-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.quiz-progress-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: var(--primary);
  border-radius: 50px;
  transition: width 0.4s ease;
}

/* --- 質問 --- */
.quiz-stage {
  outline: none;
}

.quiz-question-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

/* 選択肢ボタン：指で押しやすい大きめサイズ */
.quiz-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 16px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font-main);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.quiz-option:hover {
  border-color: var(--secondary);
  background: var(--bg-gray);
}

.quiz-option::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-right: 16px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  transition: all var(--transition);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: var(--accent-blue);
  font-weight: 600;
}

.quiz-option.selected::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px var(--white);
}

.quiz-option:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* --- 前へ／次へ --- */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.quiz-nav .btn {
  min-width: 130px;
}

.quiz-nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- 結果 --- */
.quiz-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.quiz-result-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.quiz-result-icon svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz-result-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.quiz-result-name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.quiz-result-text {
  text-align: left;
  max-width: 620px;
  margin: 0 auto 28px;
}

.quiz-result-text p {
  font-size: 1.02rem;
  line-height: 2.1;
  color: var(--text-light);
  margin-bottom: 14px;
}

.quiz-result-point {
  text-align: left;
  background: var(--bg-gray);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto;
}

.quiz-point-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: 6px;
}

/* --- サブタイプ --- */
.quiz-sub-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
}

.quiz-sub-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.quiz-sub-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.quiz-sub-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.quiz-sub-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--white);
}

.quiz-sub-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz-sub-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.quiz-sub-point {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-light);
}

/* --- 締めのメッセージ＋CTA --- */
.quiz-closing {
  text-align: center;
  padding: 36px 24px 8px;
}

.quiz-closing-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.quiz-closing-body {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 32px;
}

.quiz-result-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* --- 注意書き --- */
.quiz-disclaimer {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-warm);
}

.quiz-disclaimer p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 8px;
}

.quiz-disclaimer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .quiz-intro {
    padding: 28px 20px;
  }

  .quiz-result-card {
    padding: 32px 20px;
  }

  .quiz-nav .btn {
    min-width: 0;
    flex: 1;
  }

  .quiz-result-cta .btn {
    width: 100%;
  }
}

/* --- 表示切り替えユーティリティ（PC／スマホ） --- */
.sp-only { display: none; }

@media (max-width: 640px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* --- トップページ：診断への導線バナー --- */
.shindan-cta {
  background: var(--bg-gray);
}

.shindan-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-card);
}

.shindan-cta-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.shindan-cta-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shindan-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.shindan-cta-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 28px;
}

.shindan-cta-time {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .shindan-cta-inner {
    padding: 32px 22px;
  }
}

/* =====================================================
   子供メガネページ：眼科受診のお知らせ
   ===================================================== */
.ophthal-notice {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fffbef;
  border: 2px solid #e8a000;
  border-left: 6px solid #e8a000;
  border-radius: 12px;
  padding: 32px;
  margin-top: 40px;
}

.ophthal-notice-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.ophthal-notice-body h2 {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: #b36a00;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  line-height: 1.6;
}

.ophthal-notice-body p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.ophthal-notice-body ul {
  color: var(--text-light);
  line-height: 1.9;
  padding-left: 20px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.ophthal-notice-body ul li {
  margin-bottom: 6px;
}

.ophthal-notice-cta {
  color: var(--primary);
  font-size: 1rem;
  border-top: 1px solid #e8c070;
  padding-top: 14px;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

/* 子供の視力グラフ風インフォ */
.kids-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.kids-stat-item {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--secondary);
}

.kids-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.kids-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.kids-stat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .ophthal-notice {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .kids-stats-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===== コンタクト製品一覧：余白を圧縮してコンパクト表示 ===== */
/* 画像のグレー背景ブロックをなくし（白カードに溶け込ませる）、余白を削減 */
/* デスクトップは4列でカードを狭く（箱を相対的に大きく・横余白を削減） */
.product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-grid .product-card {
  padding: 12px;
}
.product-grid .product-card-img {
  height: auto;
  padding: 0;
  margin-bottom: 8px;
  background: transparent;
  border-radius: 0;
  display: block;
}
.product-grid .product-card-img img {
  width: 100%;
  height: auto;
  display: block;
}
.product-grid .product-card-maker {
  margin-bottom: 2px;
}
.product-grid .product-card-name {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 6px;
}
.product-grid .plan-tag,
.product-grid .store-tag {
  margin-top: 8px;
}

/* カテゴリ間・見出し周りの余白 */
.lens-category {
  margin-bottom: 30px;
}
.lens-category-heading {
  margin-bottom: 6px;
  padding-bottom: 8px;
}
.lens-category-desc {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  /* タブレットは3列 */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .lens-category {
    margin-bottom: 26px;
  }
}

@media (max-width: 640px) {
  /* 製品カードのみ2列表示（店舗・強みグリッドは1列のまま） */
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-grid .product-card {
    padding: 10px 9px;
  }
  .product-grid .product-card-img {
    margin-bottom: 7px;
  }
  .product-grid .product-card-maker {
    font-size: 0.68rem;
  }
  .product-grid .product-card-name {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .product-grid .plan-tag,
  .product-grid .store-tag {
    margin-top: 7px;
    padding: 4px 9px;
    font-size: 0.64rem;
  }
  .product-grid .store-tag + .store-tag {
    margin-left: 4px;
  }
  .lens-category {
    margin-bottom: 20px;
  }
  .lens-category-desc {
    margin-bottom: 10px;
    font-size: 0.82rem;
  }
}

/* 製品カード：メーカー名リンク（各社公式サイトへ） */
.product-card-maker a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  transition: border-bottom-color var(--transition), color var(--transition);
}
.product-card-maker a:hover {
  color: var(--primary);
  border-bottom-style: solid;
}

/* 店舗カードのアイコンを店舗写真に（コンタクト店舗情報） */
.strength-icon.shop-icon {
  width: 104px;
  height: 104px;
  padding: 0;
  border: none;
  overflow: hidden;
  margin-bottom: 18px;
}
.strength-icon.shop-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.strength-card:hover .strength-icon.shop-icon {
  background: transparent;
}

/* 定期便バッジをクリック可能なリンクに（アキュビュー定期便・MARLO・メルスプラン） */
a.plan-tag {
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
a.plan-tag::after {
  content: " ↗";
  font-size: 0.9em;
  opacity: 0.7;
}
a.plan-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
