/* ==========================================================================
   沖縄チャットレディ アフィリエイトサイト スタイルシート (style.css)
   テーマ: 沖縄リゾート（エメラルドブルー × コーラルピンク × ステンシルアクセント）
   ========================================================================== */

/* --------------------------------------------------------------------------
   カラーパレット & 変数定義
   -------------------------------------------------------------------------- */
:root {
  --primary: #009688;
  --primary-light: #4db6ac;
  --primary-dark: #00695c;
  --primary-gradient: linear-gradient(135deg, #009688 0%, #00b4d8 100%);
  --secondary: #ff6b81;
  --secondary-light: #ffa4b0;
  --secondary-dark: #e84158;
  --secondary-gradient: linear-gradient(135deg, #ff6b81 0%, #ff8e53 100%);
  --accent-gold: #f59e0b;
  --accent-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-soft-blue: #f0fdfa;
  --bg-soft-pink: #fff5f5;
  --bg-accent-light: #e0f2fe;
  
  --text-main: #111827;
  --text-muted: #1f2937;
  --text-light: #374151;
  --text-danger: #dc2626;
  
  --border-color: #e2e8f0;
  --border-focus: #009688;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-pink: 0 8px 20px rgba(255, 107, 129, 0.3);
  --shadow-teal: 0 8px 20px rgba(0, 150, 136, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-base: "Noto Sans JP", "Yu Gothic", "游ゴシック Medium", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  --container-max: min(97%, 1440px);
}

/* --------------------------------------------------------------------------
   ベースリセット & 全体フォント統一
   -------------------------------------------------------------------------- */
*, *::before, *::after,
input, button, select, textarea, table, th, td, h1, h2, h3, h4, h5, h6, p, span, a, li {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 70px; /* 固定CTA用パディング */
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: none;
}

/* --------------------------------------------------------------------------
   ステマ規制対応 アフィリエイト広告表記
   -------------------------------------------------------------------------- */
.affiliate-notice-bar {
  background-color: #f0f9ff;
  border-bottom: 1px solid #e0f2fe;
  padding: 6px 16px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 10;
}

.affiliate-notice-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   ステンシルアイコン（SVG）スタイル
   -------------------------------------------------------------------------- */
.stencil-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  stroke-width: 2.2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}

.stencil-icon.filled {
  fill: currentColor;
  stroke: none;
}

.stencil-icon-lg {
  width: 2rem;
  height: 2rem;
}

.stencil-icon-xl {
  width: 3rem;
  height: 3rem;
}

/* ミンサー模様・ステンシルアクセント */
.minshaa-border {
  background-image: radial-gradient(circle at center, #009688 15%, transparent 20%),
                    radial-gradient(circle at center, #ff6b81 15%, transparent 20%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  height: 8px;
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   ヘッダー & ナビゲーション
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(0, 150, 136, 0.15);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.logo-title span {
  color: var(--secondary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.header-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.header-nav a .stencil-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.header-nav a:hover {
  color: var(--primary);
  background: var(--bg-soft-blue);
}

@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
  }
  .header-nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 2px 0 4px;
  }
  .header-nav::-webkit-scrollbar {
    display: none;
  }
  .header-nav a {
    font-size: 0.8rem;
    padding: 5px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .logo-title {
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   ヒーローセクション
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdfa 60%, #ffffff 100%);
  padding: 36px 16px 50px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.hero-tag.highlight {
  background: var(--secondary-gradient);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-pink);
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.35;
  color: #1e293b;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-title .accent-blue {
  color: var(--primary);
  background: linear-gradient(transparent 70%, #b2dfdb 70%);
}

.hero-title .accent-pink {
  color: var(--secondary-dark);
  background: linear-gradient(transparent 70%, #ffcdd2 70%);
}

.hero-description {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 400;
  line-height: 1.85;
  margin-bottom: 24px;
}

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

.hero-point-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #b2dfdb;
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hero-point-card .val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
}

.hero-point-card .lbl {
  font-size: 0.78rem;
  color: #111827;
  font-weight: 700;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--secondary-gradient);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 630px;
  text-align: center;
  white-space: nowrap;
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 107, 129, 0.4);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-badge-row {
    justify-content: center;
  }
  .hero-cta-btn {
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   目次 (Table of Contents)
   -------------------------------------------------------------------------- */
.toc-section {
  max-width: var(--container-max);
  margin: -20px auto 40px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

.toc-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 2px solid #e0f2fe;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  border-bottom: 2px solid #f0fdfa;
  padding-bottom: 10px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.toc-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.toc-item a:hover {
  background: var(--bg-soft-blue);
  color: var(--primary);
  transform: translateX(4px);
}

.toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

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

/* --------------------------------------------------------------------------
   コンテンツ共通セクションレイアウト
   -------------------------------------------------------------------------- */
.content-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.section-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.section-main-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

.section-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary-gradient);
  border-radius: var(--radius-full);
  margin: 10px auto 0;
}

.section-lead {
  font-size: 1.05rem;
  color: #111827;
  font-weight: 400;
  max-width: 760px;
  margin: 14px auto 0;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   4コマ漫画セクション
   -------------------------------------------------------------------------- */
.comic-container {
  background: linear-gradient(135deg, #fff9f9 0%, #f0fdfa 100%);
  border: 2px dashed #fbcfe8;
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 820px;
  margin: 0 auto;
}

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

.comic-panel {
  background: #ffffff;
  border: 2px solid #fed7aa;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.comic-header {
  background: var(--secondary-gradient);
  color: #fff;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}

.comic-step-tag {
  background: #ffffff;
  color: var(--secondary-dark);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.comic-title-text,
.comic-header span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  line-height: 1.2;
}

.comic-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

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

.comic-body {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffdfa;
}

.speech-bubble {
  position: relative;
  background: #fff;
  border: 1.5px solid #fecdd3;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 500;
  color: #111827;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 24px;
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: #fecdd3 transparent;
  display: block;
  width: 0;
}

.comic-caption {
  font-size: 0.88rem;
  color: #111827;
  font-weight: 400;
  line-height: 1.6;
  border-top: 1px dotted #cbd5e1;
  padding-top: 8px;
}

@media (max-width: 768px) {
  .comic-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   沖縄バイト時給比較 セクション
   -------------------------------------------------------------------------- */
.comparison-wage-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow-x: auto;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  -webkit-overflow-scrolling: touch;
}

.wage-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}

.wage-table th, .wage-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  font-size: 0.92rem;
  vertical-align: middle;
}

.wage-table .col-job,
.wage-table .col-wage,
.wage-table .col-env,
.wage-table .col-monthly {
  white-space: nowrap;
}

.wage-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #111827;
}

.wage-table tr.highlight-row {
  background: #f0fdfa;
  border-left: 4px solid var(--primary);
}

.wage-table tr.highlight-row td {
  font-weight: 600;
  color: var(--primary-dark);
}

.badge-wage-high {
  background: var(--secondary-gradient);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  font-weight: 700;
}

.wage-val-huge {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.wage-sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.wage-sim-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
}

.wage-sim-card.popular {
  border: 2px solid var(--secondary);
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.wage-sim-card.popular::before {
  content: "一番人気スタイル";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: var(--radius-full);
}

.sim-style-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.sim-hours {
  font-size: 0.88rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 12px;
}

.sim-income {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.sim-desc {
  font-size: 0.85rem;
  color: #111827;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .wage-sim-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   広告主3社 比較ランキング & 詳細比較表
   -------------------------------------------------------------------------- */
.ranking-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.ranking-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ranking-card:hover {
  box-shadow: var(--shadow-lg);
}

.ranking-card.rank-1 {
  border-color: #f59e0b;
}

.ranking-card.rank-2 {
  border-color: #94a3b8;
}

.ranking-card.rank-3 {
  border-color: #b45309;
}

.rank-header {
  background: #f8fafc;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.rank-card-1 .rank-header {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 900;
}

.rank-1 .rank-badge { color: #d97706; }
.rank-2 .rank-badge { color: #64748b; }
.rank-3 .rank-badge { color: #b45309; }

.rank-site-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #111827;
}

.rank-content-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  padding: 28px;
  align-items: start;
}

.rank-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  position: relative;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-sm);
}

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

.rank-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rank-catch {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary-dark);
  margin-bottom: 12px;
}

.rank-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.rank-tag {
  background: var(--bg-soft-blue);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #ccfbf1;
}

.rank-spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 20px;
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.spec-item {
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
}

.spec-item .label {
  color: #111827;
  font-weight: 400;
  white-space: nowrap;
}

.spec-item .val {
  font-weight: 600;
  color: #111827;
}

.rank-desc-text {
  font-size: 0.95rem;
  color: #111827;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 20px;
}

.rank-btn-wrap {
  display: flex;
  gap: 12px;
}

.btn-affiliate-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--secondary-gradient);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  text-align: center;
}

.btn-affiliate-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 129, 0.4);
}

@media (max-width: 960px) {
  .rank-content-grid {
    grid-template-columns: 1fr;
  }
  .rank-spec-list {
    grid-template-columns: 1fr;
  }
  .rank-btn-wrap {
    flex-direction: column;
  }
}

/* 比較表 (Table) */
.table-responsive-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: 30px;
}

.main-comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: center;
}

.main-comparison-table th, .main-comparison-table td {
  padding: 14px 12px;
  border: 1px solid #cbd5e1;
  font-size: 0.92rem;
  color: #111827;
  font-weight: 400;
}

.main-comparison-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #111827;
}

.main-comparison-table th.col-highlight {
  background: #fff5f5;
  color: var(--secondary-dark);
}

.star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   客あしらいノウハウ & 安全対策セクション（拡充スタイル）
   -------------------------------------------------------------------------- */
.knowhow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.knowhow-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.knowhow-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.knowhow-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.knowhow-icon-box {
  width: 44px;
  height: 44px;
  background: var(--bg-soft-blue);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.knowhow-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.knowhow-text {
  font-size: 0.92rem;
  color: #111827;
  font-weight: 400;
  line-height: 1.8;
}

.phrase-box {
  background: #f8fafc;
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-top: 24px;
  margin-bottom: 30px;
}

.phrase-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phrase-item {
  font-size: 0.92rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 8px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  line-height: 1.6;
}

/* ノウハウ用リッチイラストバナー */
.knowhow-visual-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.knowhow-img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #e0f2fe;
}

.knowhow-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.knowhow-img-card:hover img {
  transform: scale(1.03);
}

.knowhow-img-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* 具体的事例・シチュエーション別ケーススタディ */
.case-study-wrap {
  margin-top: 36px;
}

.case-study-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 5px solid var(--primary);
  padding-left: 12px;
}

.case-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-card {
  background: #ffffff;
  border: 2px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.case-card:hover {
  border-color: #cbd5e1;
}

.case-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}

.case-tag {
  background: var(--secondary-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.case-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
}

/* チャット風会話ログUI */
.dialogue-box {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
}

.chat-bubble.customer {
  align-self: flex-start;
  background: #ffffff;
  color: #111827;
  font-weight: 400;
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-bubble.customer::before {
  content: "男性客 💬";
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 2px;
}

.chat-bubble.lady {
  align-self: flex-end;
  background: linear-gradient(135deg, #fff0f3 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  color: #881337;
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 3px rgba(255, 107, 129, 0.1);
}

.chat-bubble.lady::before {
  content: "🌺 神対応レディの返し ✨";
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 2px;
}

.chat-lady-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.lady-avatar-dog {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fecdd3;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(244, 114, 182, 0.2);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.lady-avatar-cat {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  flex-shrink: 0;
  margin-bottom: -4px;
}

@media (max-width: 768px) {
  .dialogue-box {
    padding: 14px 10px;
    gap: 10px;
  }

  .chat-bubble {
    max-width: 96%;
  }

  .chat-lady-row {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
  }

  .chat-bubble.lady {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-self: stretch;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .lady-avatar-cat {
    width: 60px;
    height: 60px;
    align-self: flex-end;
    margin-right: 4px;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 2px;
  }
}

.case-analysis {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--primary-dark);
  line-height: 1.75;
}

.case-analysis strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  color: var(--primary-dark);
}

/* NG対応警告ボックス */
.ng-warning-box {
  background: #fff5f5;
  border: 2px solid #feb2b2;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 30px;
}

.ng-warning-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-danger);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.ng-item {
  background: #ffffff;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: #7f1d1d;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .knowhow-visual-banner {
    grid-template-columns: 1fr;
  }
  .ng-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .knowhow-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   在宅 vs 通勤 徹底比較セクション
   -------------------------------------------------------------------------- */
.workstyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.workstyle-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 2px solid #e2e8f0;
  overflow: hidden;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.workstyle-card.home {
  border-top: 5px solid var(--primary);
}

.workstyle-card.store {
  border-top: 5px solid var(--secondary);
}

.workstyle-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.workstyle-card.home .workstyle-badge {
  background: var(--bg-soft-blue);
  color: var(--primary-dark);
}

.workstyle-card.store .workstyle-badge {
  background: var(--bg-soft-pink);
  color: var(--secondary-dark);
}

.workstyle-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}

.workstyle-check-list {
  margin-bottom: 18px;
}

.workstyle-check-list li {
  font-size: 0.92rem;
  color: #111827;
  font-weight: 400;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

@media (max-width: 768px) {
  .workstyle-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   よくある質問 (FAQ アコーディオン)
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--secondary-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  stroke: #111827;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8fafc;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  padding: 18px 22px 22px 62px;
  border-top-color: #cbd5e1;
}

.faq-a-text {
  font-size: 0.95rem;
  color: #111827;
  font-weight: 600;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   応募ステップ セクション
   -------------------------------------------------------------------------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 2px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.step-icon-wrap {
  margin: 10px auto 14px;
  width: 52px;
  height: 52px;
  background: var(--bg-soft-blue);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: #111827;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

@media (max-width: 520px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 20px 80px;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-disclaimer {
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.footer-copyright {
  border-top: 1px solid #334155;
  padding-top: 16px;
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   固定フローティングCTAバー (スマホ・PC追従)
   -------------------------------------------------------------------------- */
.floating-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--secondary-light);
  padding: 10px 20px;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-cta-inner {
  max-width: var(--container-max);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.floating-cta-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.floating-cta-text span {
  color: var(--secondary-dark);
}

.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  white-space: nowrap;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@media (max-width: 640px) {
  .floating-cta-text {
    display: none;
  }
  .floating-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   お問い合わせ & 安心メール相談 セクション (#contact)
   -------------------------------------------------------------------------- */
.contact-container-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: start;
}

/* メール相談案内バナーカード */
.line-consult-card {
  background: linear-gradient(135deg, #0284c7 0%, #009688 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: 0 10px 25px rgba(0, 150, 136, 0.25);
  text-align: center;
}

.line-consult-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.line-consult-title {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
}

.line-consult-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 20px;
}

.btn-line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #06c755;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-line-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.line-points-list {
  margin-top: 20px;
  text-align: left;
  background: rgba(0, 0, 0, 0.1);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.7;
}

.line-points-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

/* Webお問い合わせフォームカード */
.web-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 18px;
}

.form-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.form-input-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

.form-req-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--secondary);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.form-opt-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #94a3b8;
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15);
}

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

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--secondary-gradient);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 129, 0.4);
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 送信ステータス表示 */
.form-status-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  display: none;
}

.form-status-alert.show {
  display: block;
}

.form-status-alert.success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-status-alert.error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.honeypot-field {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 860px) {
  .contact-container-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   レスポンシブデザイン統合ルール (Mobile / Tablet / Desktop)
   ========================================================================== */

/* タブレット・中画面向け最適化 (〜1024px) */
@media (max-width: 1024px) {
  .rank-content-grid {
    grid-template-columns: 340px 1fr;
    gap: 20px;
    padding: 22px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
}

/* スマホ・タブレット縦向き最適化 (〜860px) */
@media (max-width: 860px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero-badge-row {
    justify-content: center;
  }
  .hero-cta-btn {
    margin: 0 auto;
  }
  .hero-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }
  .rank-content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .rank-img-box {
    aspect-ratio: 16 / 10;
    max-height: 320px;
    width: 100%;
  }
  .rank-spec-list {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }
  .rank-btn-wrap {
    flex-direction: column;
  }
  .btn-affiliate-primary {
    width: 100%;
  }
  .knowhow-visual-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .knowhow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .knowhow-img-card img {
    height: 220px;
  }
  .wage-sim-grid {
    grid-template-columns: 1fr;
  }
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }
}

/* スマートフォン最適化 (〜640px) */
@media (max-width: 640px) {
  body {
    padding-bottom: 80px;
  }
  .content-wrapper,
  .hero-container,
  .toc-section {
    padding: 0 12px;
  }
  .section-block {
    padding: 24px 14px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
  }
  .section-main-title {
    font-size: 1.35rem;
  }
  .section-lead {
    font-size: 0.88rem;
    line-height: 1.65;
  }
  .hero-section {
    padding: 24px 12px 36px;
  }
  .hero-title {
    font-size: 1.45rem;
    line-height: 1.35;
  }
  .hero-description {
    font-size: 0.88rem;
    line-height: 1.65;
  }
  .hero-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .hero-point-card {
    padding: 8px 3px;
  }
  .hero-point-card .val {
    font-size: clamp(0.8rem, 3.3vw, 1rem);
    white-space: nowrap;
  }
  .hero-point-card .lbl {
    font-size: 0.68rem;
  }
  .hero-cta-btn {
    font-size: clamp(0.82rem, 3.8vw, 1rem);
    padding: 14px 16px;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
  }
  .toc-card {
    padding: 16px 12px;
  }
  .toc-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rank-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }
  .rank-badge {
    font-size: 0.95rem;
  }
  .rank-site-name {
    font-size: 1.2rem;
  }
  .rank-catch {
    font-size: 1rem;
    line-height: 1.5;
  }
  .rank-spec-list {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }
  .spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 6px;
  }
  .spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .spec-item .label {
    font-size: 0.78rem;
    color: var(--text-muted);
  }
  .spec-item .val {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
  }
  .rank-tags-row {
    gap: 4px;
  }
  .rank-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .step-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .faq-item.active .faq-answer {
    padding: 14px 16px 16px 44px;
  }
  .floating-cta-text {
    display: none;
  }
  .floating-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.95rem;
  }
  .web-form-card,
  .line-consult-card {
    padding: 20px 14px;
  }
  /* iOS Safari 入力時自動ズーム防止 (16px) */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    padding: 10px 12px;
  }
  .btn-form-submit {
    font-size: 1rem;
    padding: 14px 18px;
  }
}

/* 超小型スマートフォン最適化 (〜380px) */
@media (max-width: 380px) {
  .hero-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-point-card {
    padding: 10px;
  }
  .logo-title {
    font-size: 0.98rem;
  }
  .logo-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
}

/* --------------------------------------------------------------------------
   ワンポイント挿絵（カットイラスト）
   -------------------------------------------------------------------------- */
.spot-cut-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 4px 14px rgba(251, 146, 60, 0.08);
}
.spot-cut-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.06));
}
.spot-cut-text {
  flex: 1;
}
.spot-cut-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spot-cut-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .spot-cut-card {
    flex-direction: column;
    text-align: center;
    padding: 14px;
    gap: 10px;
  }
  .spot-cut-img {
    width: 78px;
    height: 78px;
  }
}

/* ボタン上の音声ガイダンスボックス (画像の上に大きなタイトルヘッダー配置) */
.audio-guidance-box {
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  padding: 0;
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.12));
  border: 2px solid #e2e8f0;
  width: 100%;
  max-width: 630px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .audio-guidance-box {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 画像の上の目立つタイトルヘッダー */
.audio-box-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 3px solid var(--secondary, #ff6b81);
}

.audio-header-icon {
  width: 26px;
  height: 26px;
  color: var(--secondary, #ff6b81);
  flex-shrink: 0;
}

.audio-header-title {
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.audio-banner-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0;
}

.audio-banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audio-guidance-box .audio-player-wrap {
  width: 100%;
  padding: 8px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.audio-guidance-box .chat-audio-player {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  outline: none;
  display: block;
}



