/* ============================================================================
   pricing.html 専用スタイル
   v0.9.13j-fix119（2026-06-02）: inline <style> 外部 CSS 化（R4 案 X 8 ページ目=ラスト、堅牢性最優先）
   読込順: cookie-consent → variables → base → style → home → page-hero → pricing
   ============================================================================ */

/* pricing.html 固有スタイル — index.html / style.css のトークン体系に準拠 */
/* TODO Phase 6: 安定確認後に preview/assets/css/pricing.css へ抽出 */

/* 念入れ: style.css L437 の LP 専用 scroll-snap-type を無効化（home.css と同方針） */
html { scroll-snap-type: none !important; }
section { scroll-snap-align: none !important; scroll-snap-stop: normal !important; }

/* 2026-06-17 平田氏指示: hero を about と統一。about は body padding-top 指定なし＝共有 0 のため、旧 desktop/tablet 80px を撤去し全幅で 0 に揃える（hero のヘッダークリアは page-hero.css の padding-top:124px が担う）。mobile は元々 0 で不変 */

/* HERO + breadcrumb は assets/css/page-hero.css の共通テンプレートに統一（v0.9.13c 2026-05-06） */

.pricing-section { padding: 80px 0; }
.pricing-section.alt-bg { background: var(--c-base-washi, #FAFAFA); }
/* 2026-06-11: モバイル上下を TOP の 30px に統一（従来 80px）。左右は共通 container で 40px インセット＝TOP 一致 */
@media (max-width: 767px) { .pricing-section { padding-top: 30px; padding-bottom: 30px; } }
/* pricing-process は style.css の narrative 節ルール（.empathy,.why-voices,.pricing-process）が !important で 60px 固定のため、pricing 側で詳細度(0,2,0)＋!important で上下30に上書きし統一。横インセットは container で 40px 維持。LP の empathy/why-voices には影響しない */
@media (max-width: 767px) { .pricing-section.pricing-process { padding-top: 30px !important; padding-bottom: 30px !important; } }
  /* v0.9.13j-fix116: セクション内 eyebrow override 削除（home.css base .eyebrow + body.pd-b10 override 統一規約に移譲） */
.pricing-section > .container > h2 {
  text-align: center;
  font-size: var(--fs-t7, clamp(24px, 4vw, 36px));
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--c-text-sumi, #333);
  letter-spacing: 0.04em;
}
.pricing-section > .container > .section-lead {
  text-align: center;
  color: var(--muted, #555);
  font-size: var(--fs-t3, 14px);
  margin: 0 0 48px;
}
/* 2026-06-12: モバイルのセクション見出し（h2・リード）を about の左揃えに統一。desktop は中央寄せ凍結 */
@media (max-width: 767px) {
  .pricing-section > .container > h2,
  .pricing-section > .container > .section-lead { text-align: left; }
}

.plan-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) {
  .plan-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* 体験トレーニングは 1 行 full-width 配置（feature card） */
  .plan-cards > li.is-feature { grid-column: 1 / -1; }
}

/* feature card レイアウト: 横長、左に見出し+価格、右に特典+CTA */
.plan-card.is-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(87, 195, 194, 0.06) 0%, var(--c-brand-white, #FAFAFA) 60%);
  border: 1.5px solid var(--turquoise-300, #88d3d2);
}
@media (min-width: 768px) {
  .plan-card.is-feature {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 36px;
    padding: 36px 40px;
  }
  .plan-card.is-feature .plan-feature-right {
    display: flex; flex-direction: column;
    gap: 20px;
    border-left: 1px solid var(--section-border, #e8eced);
    padding-left: 32px;
    justify-content: space-between;
  }
  .plan-card.is-feature .plan-features {
    margin: 0;
  }
  .plan-card.is-feature .plan-cta { margin-top: 0; }
}
.plan-card.is-feature h3 {
  font-size: var(--fs-t6, 24px);
}
.plan-card.is-feature .plan-price {
  font-size: clamp(36px, 5vw, 48px);
}

.plan-card {
  background: var(--c-brand-white, #FAFAFA);
  border: 1px solid var(--section-border, #e8eced);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card.is-popular {
  border-color: var(--turquoise-400, #57C3C2);
  border-width: 2px;
  /* overflow: hidden 撤去 — plan-badge (top:-10px) が切れる問題回避 */
}
/* Growth 4 (is-popular) 背景に favicon アイコン透かし
   ::before は inset:0 で親内に収まるため overflow:hidden 不要 */
.plan-card.is-popular::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/k9harmony-theme/assets/images/ig_icon.png');
  background-size: 80% auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.plan-card.is-popular > *:not(.plan-badge) {
  position: relative;
  z-index: 1;
}
/* badge は absolute 維持、z-index 高めで前面 */
.plan-card.is-popular > .plan-badge {
  z-index: 2;
}
.plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--turquoise-400, #57C3C2);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.1em;
  white-space: nowrap;
}
.plan-card h3 {
  font-size: var(--fs-t5, 20px);
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--c-text-sumi, #333);
}
.plan-sub {
  font-size: 12px;
  color: var(--muted, #555);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.plan-price {
  font-size: var(--fs-t8, clamp(28px, 4vw, 40px));
  color: var(--ocean-500, #2F5D62);
  font-weight: 300;
  margin: 0 0 4px;
  line-height: 1.1;
}
.plan-price .tax-note {
  font-size: 10px;
  font-weight: 300;
  color: var(--muted, #555);
  margin-left: 4px;
  letter-spacing: 0;
}
.plan-unit {
  font-size: 12px;
  color: var(--turquoise-400, #57C3C2);
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}
.plan-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  flex: 1;
  font-size: 13px;
  color: var(--ink, #333);
  line-height: 1.7;
}
.plan-features li {
  padding: 8px 0;
  border-bottom: 1px dotted #eee;
}
.plan-features li:last-child { border-bottom: none; }
.plan-card .plan-cta {
  display: block; text-align: center;
  background: var(--ocean-500, #2F5D62);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.plan-card .plan-cta:hover { background: var(--turquoise-400, #57C3C2); }
.plan-card.is-popular .plan-cta { background: var(--turquoise-400, #57C3C2); }
.plan-card.is-popular .plan-cta:hover { background: var(--ocean-500, #2F5D62); }

.upgrade-note {
  margin: 56px 0 0;
  background: rgba(87, 195, 194, 0.06);
  border-left: 3px solid var(--turquoise-400, #57C3C2);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .upgrade-note { margin-top: 20px; padding: 10px; }
}
.upgrade-note--accordion summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
}
.upgrade-note--accordion summary::-webkit-details-marker { display: none; }
.upgrade-note--accordion summary::marker { content: ''; }
.upgrade-note h3 {
  margin: 0;
  font-size: var(--fs-t5, 20px);
  font-weight: 500;
  color: var(--c-text-sumi, #333);
}
/* +/- トグルアイコン */
.upgrade-toggle {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.upgrade-toggle::before,
.upgrade-toggle::after {
  content: '';
  position: absolute;
  background: var(--turquoise-400, #57C3C2);
  transition: transform 0.3s;
}
.upgrade-toggle::before {
  top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
}
.upgrade-toggle::after {
  left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
}
.upgrade-note[open] .upgrade-toggle::after {
  transform: translateX(-50%) scaleY(0);
}
.upgrade-content {
  padding: 0 28px 22px;
}
.upgrade-content p { margin: 0 0 16px; font-size: 14px; color: var(--ink, #333); }
.upgrade-content strong { color: var(--turquoise-400, #57C3C2); }
.upgrade-content .note { font-size: 12px; color: var(--muted, #555); margin-bottom: 0; }

/* 差額精算リスト: コース名 + 元金額 + 矢印 + 実質金額 を視覚階層化 */
.upgrade-list {
  display: flex; flex-direction: column;
  gap: 10px;
}
.upgrade-row {
  display: flex; align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  flex-wrap: wrap;
}
.upgrade-plan-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--ocean-500, #2F5D62);
  letter-spacing: 0.04em;
  min-width: 100px;
}
.upgrade-original {
  font-size: 13px;
  color: var(--muted, #555);
  text-decoration: line-through;
  text-decoration-color: rgba(136, 136, 136, 0.6);
}
.upgrade-arrow {
  font-size: 16px;
  color: var(--turquoise-400, #57C3C2);
  font-weight: 300;
}
.upgrade-final {
  font-size: 24px;
  font-weight: 600;
  color: var(--c-accent-copper, #C87A56);
  letter-spacing: 0.02em;
  margin-left: auto;
}

/* プランカード: plan-meta（最小フォント、通常+4/8回 同位置） */
.plan-meta {
  font-size: 11px;
  color: var(--muted, #555);
  margin: 6px 0 16px;
  letter-spacing: 0.04em;
}
/* === ホバー時の演出: 強め（グラスモーフィング + 発光 + ゆったり浮上） === */
.plan-card {
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s ease,
    border-color 0.6s ease,
    backdrop-filter 0.6s ease;
  /* overflow: hidden は使わない（badge top:-10px が切れるため）。::after の border-radius:inherit で自身を角丸クリップ */
}
.plan-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(87, 195, 194, 0.25),
    0 0 0 1px rgba(87, 195, 194, 0.50),
    0 0 32px rgba(87, 195, 194, 0.18);
  border-color: var(--turquoise-400, #57C3C2);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
}

/* ホバー時のみ動くグラデーションオーバーレイ（#fff + turquoise、opacity 0.01、緩やか） */
.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 25%,
    rgba(255, 255, 255, 0.9) 40%,
    var(--turquoise-300, #88d3d2) 50%,
    rgba(255, 255, 255, 0.9) 60%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 100%);
  background-size: 300% 100%;
  background-position: 100% 0%;
  opacity: 0;
  animation: plan-shimmer 12s ease-in-out infinite;
  animation-play-state: paused;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  transition: opacity 0.5s ease;
}
.plan-card:hover::after {
  opacity: 0.05;
  animation-play-state: running;
}
@keyframes plan-shimmer {
  0% { background-position: 300% 0%; }
  100% { background-position: -300% 0%; }
}
/* 全カードの content を ::after の上に（badge は除外して absolute 維持） */
.plan-card > *:not(.plan-badge) {
  position: relative;
  z-index: 1;
}
/* badge は absolute 維持で前面 */
.plan-card > .plan-badge {
  z-index: 2;
}

/* プランカード: plan-target（どんな方におすすめかの説明文） */
.plan-target {
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-text-sumi, #333);
  margin: 0 0 16px;
  padding: 12px 14px;
  background: rgba(87, 195, 194, 0.05);
  border-left: 2px solid var(--turquoise-300, #88d3d2);
  border-radius: 0 4px 4px 0;
}
.plan-card.is-popular .plan-target {
  background: rgba(87, 195, 194, 0.10);
  border-left-color: var(--turquoise-400, #57C3C2);
}
/* プラン名: 2 カラム（左=コース名+ルビ、右=タグライン群） */
.plan-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.plan-name-text {
  font-weight: 500;
}
/* ルビ（HTML5 ruby）スタイル: グレー */
.plan-name-text ruby rt {
  font-size: 0.45em;
  letter-spacing: 0.05em;
  color: #999;
  font-weight: 400;
}
.plan-taglines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
/* タグライン（コース特徴の一言ラベル） */
.plan-tagline {
  display: inline-block;
  padding: 3px 12px;
  background: var(--c-bg-mist, #F4F7F7);
  color: var(--ocean-500, #2F5D62);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 999px;
  vertical-align: middle;
}

.includes { margin: 40px 0 0; }
.includes h3 {
  text-align: center;
  font-size: var(--fs-t5, 20px);
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--c-text-sumi, #333);
}
.includes ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width: 768px) { .includes ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .includes ul { grid-template-columns: 1fr 1fr; } }  /* 2026-06-11: モバイルも 2 列表示（平田淳氏指示）。desktop は上の 768px ルールで既に 2 列・不変 */
.includes ul li {
  padding: 14px 18px;
  background: var(--c-brand-white, #FAFAFA);
  border: 1px solid var(--section-border, #e8eced);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink, #333);
  display: flex; align-items: center; gap: 12px;
}
/* INCLUDES / CTA-INCLUDES アイコン共通ベース（DRY） */
.includes-icon,
.cta-includes-icon {
  flex-shrink: 0;
  stroke-width: 1.5;
}
.includes-icon svg,
.cta-includes-icon svg { width: 100%; height: 100%; }
/* INCLUDES（ライト背景） */
.includes-icon {
  width: 20px; height: 20px;
  color: var(--turquoise-400, #57C3C2);
}

.multi-option {
  margin: 40px 0 0;
  padding: 24px 28px;
  background: var(--c-brand-white, #FAFAFA);
  border: 1px solid var(--section-border, #e8eced);
  border-radius: 8px;
}
.multi-option h3 {
  font-size: var(--fs-t5, 18px);
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--c-text-sumi, #333);
}
.multi-option p { margin: 0 0 6px; font-size: 14px; color: var(--ink, #333); }
.multi-option strong { color: var(--turquoise-400, #57C3C2); }
.multi-option .note { font-size: 12px; color: var(--muted, #555); }
/* 複数頭オプション: desktop=元の開いたブロック（.multi-option, 確定・不変）／mobile=アコーディオン（details）を display で出し分け */
@media (max-width: 767px) { .multi-option--desktop { display: none; } }
@media (min-width: 768px)  { .multi-option--mobile  { display: none; } }

.voice-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) { .voice-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .voice-cards { grid-template-columns: 1fr 1fr 1fr; } }
.voice-card {
  background: var(--c-brand-white, #FAFAFA);
  border: 1px solid var(--section-border, #e8eced);
  border-radius: 8px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.voice-stars { color: #f5b400; font-size: 14px; letter-spacing: 2px; }
.voice-comment { font-size: 14px; line-height: 1.8; flex: 1; color: var(--ink, #333); margin: 0; }
.voice-meta { font-size: 12px; color: var(--muted, #555); border-top: 1px solid var(--section-border, #e8eced); padding-top: 10px; }
.voice-author { font-weight: 500; color: var(--c-text-sumi, #333); }
.voices-note { text-align: center; font-size: 12px; color: var(--muted, #555); margin: 0 0 32px; }

.area-intro { text-align: center; font-size: 14px; color: var(--ink, #333); margin: 0 0 24px; }
.map-wrap { margin: 16px 0 32px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(47, 93, 98, 0.06); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

.area-info-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin: 32px 0;
}
@media (min-width: 768px) { .area-info-grid { grid-template-columns: 1fr 1fr; } }

/* 出張費アンカー（care 等からの深いリンク先、固定ヘッダー回避） */
#travel-fee { scroll-margin-top: 100px; }

.area-block h3 {
  font-size: var(--fs-t5, 18px);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--c-text-sumi, #333);
}
.area-summary {
  font-weight: 500;
  color: var(--turquoise-400, #57C3C2);
  font-size: 13px;
  margin: 0 0 12px;
}

.travel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.travel-table th, .travel-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--section-border, #e8eced);
}
.travel-table th {
  background: var(--c-base-washi, #FAFAFA);
  color: var(--c-text-sumi, #333);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.travel-table .area-free { color: var(--turquoise-400, #57C3C2); font-weight: 500; }
/* 出張費: desktop=元の開いた area-block（確定・不変）／mobile=アコーディオン（白ブロックの見た目維持）を display で出し分け */
@media (max-width: 767px) {
  .travel-fee--desktop { display: none; }
  .travel-fee--mobile > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
  .travel-fee--mobile > summary::-webkit-details-marker { display: none; }
  .travel-fee--mobile > summary h3 { margin: 0; }
  .travel-fee--mobile[open] .upgrade-toggle::after { transform: translateX(-50%) scaleY(0); }
}
@media (min-width: 768px) { .travel-fee--mobile { display: none; } }

.area-list { list-style: none; padding: 0; margin: 0; }
.area-list li {
  padding: 10px 0;
  border-bottom: 1px dotted #eee;
  font-size: 13px;
  line-height: 1.7;
}
.area-list li:last-child { border-bottom: none; }
.area-list strong { color: var(--ocean-500, #2F5D62); margin-right: 8px; }
.area-note { text-align: center; font-size: 12px; color: var(--muted, #555); margin: 16px 0 0; }

.info-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin: 0;
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  /* 上段: キャンセル / 営業時間 の 2 列。下段: お支払い方法は全幅 */
  .info-grid .info-block--full { grid-column: 1 / -1; }
}

.info-block h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--c-text-sumi, #333);
  letter-spacing: 0.04em;
}
.info-block h3 {
  font-size: var(--fs-t5, 18px);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--c-text-sumi, #333);
}
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.info-table th, .info-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--section-border, #e8eced);
}
.info-table th {
  background: var(--c-base-washi, #FAFAFA);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-text-sumi, #333);
}
.info-table .free { color: var(--turquoise-400, #57C3C2); font-weight: 500; }

.payment-summary {
  font-size: 13px;
  padding: 14px 16px;
  background: var(--c-base-washi, #FAFAFA);
  border-radius: 6px;
  margin: 0 0 16px;
  line-height: 1.7;
}
.payment-summary strong { color: var(--ocean-500, #2F5D62); }
/* 2026-06-26: pricing の決済表示。tablet/desktop(≥768) はシート画像を横幅約80%で上・中央寄せ、Apple Pay/Google Pay を下に横並び・中央寄せ(二周り大きく=44px)。mobile(<768)は共通(style.css・シート100%/ウォレット28px)のまま。共通を pricing(info-block--full)でのみ上書き。reservation は不変。 */
@media (min-width: 768px) {
  .info-block--full .pay-logos-sheet { width: 80%; max-width: none; margin-left: auto; margin-right: auto; }
  .info-block--full .pay-logos-wallets { justify-content: center; }
  .info-block--full .pay-logos-wallets img { height: 44px; }
}
.info-block .note {
  font-size: 11px;
  color: var(--muted, #555);
  margin: 8px 0 0;
}
.info-block .note a { color: var(--ocean-500, #2F5D62); transition: color 0.2s ease; }
.info-block .note a:hover { color: var(--turquoise-400, #57C3C2); }

/* v0.9.13j-fix114: 旧 .pricing-cta-final .cta-sub CSS 削除（fix114 HTML 構造変更で dead code 化、cta-trust-row に統一） */

/* === 提案 6: opening-badge を pricing HERO 用にスタイル調整 === */
.pricing-page-hero .opening-badge {
  align-self: center;
  margin-bottom: 16px;
}

/* === 提案 3: 「いちばん人気」プラン視覚強化 === */
@media (min-width: 1024px) {
  .plan-card.is-popular {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(87, 195, 194, 0.18);
    z-index: 1;
  }
  .plan-card.is-popular:hover {
    transform: scale(1.04) translateY(-4px);
  }
}
.plan-card .plan-effective {
  margin: 4px 0 16px;
  padding: 0;
  font-size: 12px;
  color: var(--ocean-500, #2F5D62);
  text-align: center;
  letter-spacing: 0.02em;
}
.plan-card .plan-effective strong {
  color: var(--c-accent-copper, #C87A56);
  font-size: 16px;
}

/* === 3 ステップフロー（縦並び・写真ヘッダー + 補足説明・縦線で連続性表現） === */
.pricing-process { background: var(--c-brand-white, #FAFAFA); }
.process-steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
/* LP style.css L305 の横線（::before）を無効化 */
.process-steps::before { display: none !important; }
.process-step {
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  transition: transform 0.2s;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .process-step { grid-template-columns: 5fr 7fr; align-items: stretch; }
}
.process-step:hover {
  transform: translateY(-2px);
}

/* ステップ間の縦線（LP の process-line-flow と同じ動くグラデーション） */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 36px;
  bottom: -48px;
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg,
    var(--turquoise-100, #DCEEEE) 0%,
    var(--turquoise-400, #57C3C2) 35%,
    var(--turquoise-400, #57C3C2) 65%,
    var(--turquoise-100, #DCEEEE) 100%);
  background-size: 100% 240%;
  background-position: 0% 100%;
  animation: process-line-flow 4s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 768px) {
  .process-step:not(:last-child)::after { left: 40px; }
}
/* 縦線分の余白を確保 */
.process-step:not(:last-child) { margin-bottom: 48px; }
/* LP style.css L591 の @keyframes process-line-flow を流用 */

/* 写真ヘッダー（左カラム）: 番号+タイトルを左上に固定配置 */
.process-step-header {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 180px;
  padding: 24px;
  color: #fff;
  /* border-radius / overflow 撤去で枠の印象を消去 */
}
.process-step-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(47, 93, 98, 0.40) 0%, rgba(47, 93, 98, 0.65) 100%);
}
.process-step-header-inner {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
.process-step .step-num {
  width: 44px; height: 44px;
  background: var(--turquoise-400, #57C3C2);
  color: var(--c-brand-white, #FAFAFA);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 500;
  font-family: var(--font-serif-jp);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.process-step-header h3 {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  margin: 0;
  color: var(--c-brand-white, #FAFAFA);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ボディ（右カラム）: リード + 詳細補足 */
.process-step-body {
  padding: 28px 32px;
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
@media (max-width: 767px) {
  .process-step-body { padding: 24px; }
}
.process-step-lead {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-sumi, #333);
  margin: 0;
  line-height: 1.7;
}
.process-step-detail {
  font-size: 13px;
  color: var(--ink, #333);
  line-height: 1.8;
  margin: 0;
}

/* === 提案 5: FAQ アコーディオン (home-faq 流用 + pricing 用 padding) === */
.pricing-faq.home-faq { padding: 80px 0; }

/* 注: Sticky CTA Bar は style.css L818+ の .sticky-cta クラスをそのまま使用 */

/* === 提案 9: Risk Reversal 文言（体験プラン用） === */
.plan-risk-reversal {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(87, 195, 194, 0.08);
  border-left: 2px solid var(--turquoise-400, #57C3C2);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--c-text-sumi, #333);
}
.plan-risk-reversal::before {
  content: '✓ ';
  color: var(--turquoise-400, #57C3C2);
  font-weight: 600;
}

/* === 提案 10 代替: 価値訴求強化（金額換算なし） === */
.includes-rationale {
  text-align: center;
  font-size: 13px;
  color: var(--ink, #333);
  margin: 0 0 20px;
  line-height: 1.8;
}
.includes-rationale strong { color: var(--ocean-500, #2F5D62); }

/* === お客様の声カルーセル（Pattern F 確定） === */

/* Pattern F: 写真背景ピーカブー型カルーセル（中央 60% + 両サイド見切れ） */
.voice-F-carousel {
  position: relative;
  display: flex; align-items: center;
  gap: 12px;
  margin: 0 -60px 24px;
  padding: 0;
}
@media (max-width: 767px) { .voice-F-carousel { margin: 0 -16px 20px; } }
.voice-F-track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 16px 20%;
  scrollbar-width: none;
  scroll-padding: 0 20%;
}
@media (max-width: 767px) {
  .voice-F-track { padding: 12px 8%; scroll-padding: 0 8%; }
}
.voice-F-track::-webkit-scrollbar { display: none; }

.voice-F-card {
  flex: 0 0 82%;
  scroll-snap-align: center;
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(47, 93, 98, 0.18);
  transform: scale(0.92);
  opacity: 0.55;
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}
/* 星評価による背景グラデーション分け */
.voice-F-card--5star {
  background: linear-gradient(135deg, #2F5D62 0%, #57C3C2 100%);
}
.voice-F-card--4star {
  background: linear-gradient(135deg, #1f4347 0%, #4a8d8d 100%);
}
/* 全カード共通: ig_icon (favicon) 透かし
   ※ ig_icon.png は RGB アルファなし（白背景 + 黒ロゴ）。
   filter での白色化は形状失うため mix-blend-mode: multiply で白を透明化 + 黒ロゴを暗影として透過表示 */
.voice-F-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/k9harmony-theme/assets/images/ig_icon.png');
  background-size: 55% auto;
  background-position: center 42%;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.06;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 767px) {
  .voice-F-card { flex: 0 0 90%; aspect-ratio: 4/5; }
}
/* 中央のカードを強調する scroll-snap stop 連動演出 */
.voice-F-card.is-center,
.voice-F-track > .voice-F-card:focus,
.voice-F-track > .voice-F-card:hover {
  transform: scale(1);
  opacity: 1;
}

.voice-F-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,0.42) 100%);
  z-index: 1;
}
.voice-F-content { z-index: 3; }
.voice-F-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 32px 28px;
  color: #fff;
}
@media (max-width: 767px) {
  .voice-F-content { padding: 18px 20px 22px; }
}
.voice-F-stars {
  color: #f5b400;
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.voice-F-comment {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@media (max-width: 767px) {
  .voice-F-comment { font-size: 13px; line-height: 1.7; }
}
.voice-F-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.9;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.voice-F-nav {
  position: absolute;
  width: 150px; height: 150px;
  border: 1px solid var(--section-border, #e8eced);
  background: var(--c-brand-white, #FAFAFA);
  border-radius: 50%;
  cursor: pointer;
  font-size: 100px;
  line-height: 1;
  color: var(--turquoise-400, #57C3C2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 5;
  transition: all 0.25s;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.voice-F-nav:hover {
  background: var(--turquoise-400, #57C3C2);
  border-color: var(--turquoise-400, #57C3C2);
  color: var(--c-brand-white, #FAFAFA);
  box-shadow: 0 6px 20px rgba(87, 195, 194, 0.35);
}
/* 非対称配置: prev は中央より 75px 下 + サイズ 120/font88、next は中央より 75px 上 + サイズ 150/font100 */
.voice-F-prev {
  left: 24px;
  top: calc(50% + 75px);
  transform: translateY(-50%);
  width: 120px; height: 120px;
  font-size: 88px;
}
.voice-F-next {
  right: 24px;
  top: calc(50% - 75px);
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .voice-F-nav { width: 100px; height: 100px; font-size: 68px; }
  .voice-F-next { right: 3px; top: calc(50% - 125px); }
  .voice-F-prev { left: 3px; top: calc(50% + 175px); width: 70px; height: 70px; font-size: 47px; }
}

.voice-F-dots {
  display: flex; gap: 8px; justify-content: center;
  margin: 0;
}
.voice-F-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--section-border, #ccc);
  transition: background 0.2s, transform 0.2s;
}
.voice-F-dot.is-active {
  background: var(--turquoise-400, #57C3C2);
  transform: scale(1.4);
}

/* === CTA エリア: 含まれる 8 サービス（最小フォント再掲） === */
.cta-includes {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
/* 2026-06-15: tablet(768-1023px)では4列=各138pxが窮屈なため基底の2列を維持。4列はdesktop(≥1024)のみ（§25.4.2 ② tablet調整） */
@media (min-width: 1024px) {
  .cta-includes { grid-template-columns: repeat(4, 1fr); }
}
.cta-includes li {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}
/* CTA-INCLUDES（ダーク背景・小サイズ。共通ベースは .includes-icon と統合済み） */
.cta-includes-icon {
  width: 14px; height: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* v0.9.13j-fix114: 旧 .cta-steps-title / .cta-steps / .cta-step-num / .cta-step-text / .cta-single CSS 削除（fix114 HTML 構造変更で dead code 化、cta-main + cta-sub-links + cta-trust-row に統一） */

/* === アクセシビリティ: 動きを減らす設定対応（WCAG 2.3.3） === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Cookie 同意バナー CSS は assets/css/cookie-consent.css に外出し */

/* ============================================================================
   v0.9.13j-fix128（2026-06-02）: Trial カード（.plan-card.is-feature）の左セクション
   上部に LP 同等の card-photo を配置（横長サムネ、border-radius、object-fit cover）。
   通常 3 プランは LP 統一の .pricing-card .card-photo（style.css L347）を流用。
   ============================================================================ */
.plan-card.is-feature .card-photo {
  margin: 0 0 24px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--turquoise-100, #DCEEEE) 0%, var(--turquoise-50, #edf8f8) 100%);
  position: relative;
  z-index: 1;
}
.plan-card.is-feature .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .plan-card.is-feature .card-photo { height: 160px; margin-bottom: 20px; }
}

/* ===== 2026-06-17: tablet(768-1023px) 調整。TOP(index L708-718) の tablet 基準を再現＝通常セクションを flat 40px ガター＋上下 40px に統一。
   - process節(.pricing-process) は style.css:531-565 で empathy/why-voices と同じ full-bleed flex セクション管理（tablet=padding:var(--header-clear) 40px!important）＝hero/empathy 同様の baseline 例外として :not(.pricing-process) で除外。
   - 3プランカード(.pricing-cards) は 2列(2+1)。featured=Growth4 を order で末尾へ回し全幅単独行に（平田氏指示）。style.css:331 の ≤1023 1列化を上書き。
   - HERO/breadcrumb の container は他ページ同様 shared 据え置き。
   desktop(≥1024)・mobile(≤767) は一切不変。共有 home.css/style.css/page-hero.css は不変（pricing.css 内で完結）。 ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .pricing-section:not(.pricing-process) { padding-top: 40px; padding-bottom: 40px; }
  .pricing-section:not(.pricing-process) .container { max-width: none; padding: 0 40px; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards > .pricing-card.featured { order: 1; grid-column: 1 / -1; }
  /* お客様の声カルーセル: base の margin:0 -60px(desktop 60px gutter 用)が tablet の 40px gutter を 20px 超過し横溢れ。gutter と一致する -40px に揃える（full-bleed 維持・溢れ解消） */
  .voice-F-carousel { margin-left: -40px; margin-right: -40px; }
}

