/* ==========================================================================
   Meshi Drive (メシドライブ) Meta広告用LP スタイルシート
   コンセプト: 不要な重なりを削除し、完璧で美しいレイアウトへ修正
   ========================================================================== */

:root {
  --primary: #E85A18;
  --primary-hover: #D14D0E;
  --primary-active: #B53F08;
  --primary-light: #FFF4ED;
  --primary-lighter: #FFF9F5;
  --primary-border: #FDBA74;
  --primary-shadow: rgba(232, 90, 24, 0.28);
  
  --dark: #18181B;
  --dark-surface: #27272A;
  --text-main: #18181B;
  --text-muted: #52525B;
  --text-light: #71717A;
  
  --bg-page: #FDFBF7;
  --bg-card: #FFFFFF;
  --bg-subtle: #F6F3EC;
  
  --danger: #DC2626;
  --danger-light: #FEF2F2;
  --success: #16A34A;
  
  --border-subtle: #E4E4E7;
  --border-strong: #D4D4D8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 20px 35px rgba(232, 90, 24, 0.2);
  
  --container-max: 920px;
}

/* リセット＆ベース */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding-top: 52px;
  padding-bottom: 52px;
}

@media (max-width: 640px) {
  .section-padding {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

/* アニメーション */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    transform: scale(1);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes shineSweep {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  20%, 100% {
    transform: translateX(250%) rotate(25deg);
  }
}

.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shineSweep 4s infinite ease-in-out;
  pointer-events: none;
}

/* 拡大縮小すると文字が一瞬ぼやけるため、影のふくらみだけで脈動させる */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(232, 90, 24, 0.35);
  }
  50% {
    box-shadow: 0 16px 36px rgba(232, 90, 24, 0.55);
  }
}

.animate-cta-pulse {
  animation: ctaPulse 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.animate-cta-pulse:hover {
  animation-play-state: paused;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.animate-float {
  animation: floatSubtle 3s infinite ease-in-out;
}

/* ヘッダー */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo .logo-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.brand-logo .logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.header-cta-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #F97316 100%);
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px var(--primary-shadow);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 640px) {
  .brand-logo .logo-sub {
    display: none;
  }
  .header-cta-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* ニュース・閣議決定フラッシュバッジ */
.cabinet-news-flash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-size: 14px;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.cabinet-news-flash .news-tag {
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* ヒーローセクション (1st View) */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-page) 100%);
  padding-top: 52px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}

/* Meta広告クリエイティブ連動ヒーロー: ドラマチック＆高転換デザイン */
.hero-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF7ED;
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px 4px 5px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero-target-chip .chip-badge {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
}

.hero-target-chip .chip-desc {
  color: var(--text-muted);
  font-weight: 700;
}

.hero-creative-catch {
  margin-bottom: 32px;
  text-align: center;
}

.hero-pain-headline {
  margin: 0 auto 26px;
  max-width: 960px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* 1行目は細めの落ち着いた太さ、2行目の「売れない。」だけを強調して強弱をつける。
   句読点の右側の空きで左に寄って見えるため、左パディングで見た目の中央に補正する */
.hero-pain-headline .pain-pre {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  color: #3F3F46;
  margin-bottom: 4px;
  padding-left: 0.5em;
}

.hero-pain-headline .pain-core {
  display: inline-block;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  padding-left: 0.4em;
}

.hero-pain-headline .pain-word {
  background: linear-gradient(transparent 74%, #FED7AA 74%);
  padding: 0 4px;
}

.hero-pain-headline .pain-period {
  color: var(--primary);
}

/* 解決策ストリップ（安心感・専門性のあるピルコンテナ） */
.hero-solution-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(232, 90, 24, 0.12);
}

.hero-solution-strip .strip-pill {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-solution-strip .strip-copy {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.hero-solution-strip .strip-copy strong {
  color: var(--primary);
  font-weight: 800;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* クリエイティブ2連動: 3大原因ボックス */
.pain-causes-box {
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 840px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.pain-causes-header {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: center;
}

.pain-causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

/* フッター文を外したため、最後のグリッドの下余白は不要 */
.pain-causes-grid:last-child {
  margin-bottom: 0;
}

.pain-cause-card {
  background: #FAFAFA;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease;
}

.pain-cause-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
}

.pain-cause-card .cause-num {
  font-size: 13px;
  font-weight: 900;
  color: #DC2626;
  background: #FEE2E2;
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.pain-cause-card strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.35;
}

.pain-cause-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
}

.pain-causes-footer {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  line-height: 1.6;
}

.pain-causes-footer strong {
  color: var(--primary);
  font-size: 1.15rem;
}

/* 2ブロック目: 消費税1%追い風セクション */
.tax-timing-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tax-timing-hero {
  text-align: center;
  margin-bottom: 24px;
}

.tax-timing-catch {
  font-size: 1.85rem;
  font-weight: 950;
  color: var(--dark);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.tax-timing-highlight {
  display: block;
  font-size: 1.45rem;
  color: var(--primary);
  font-weight: 900;
  margin-top: 8px;
}

/* 従来のヒーロー用スタイル（v1互換用） */
.hero-catch {
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0 auto 28px;
  text-align: center;
  max-width: 1100px;
}

.hero-catch .hero-line {
  display: inline-block;
  text-align: center;
}

.hero-catch .num-highlight {
  color: var(--primary);
  font-size: 3.3rem;
  font-weight: 900;
}

.hero-catch .old-num {
  color: var(--text-light);
  font-size: 2.2rem;
  text-decoration: line-through;
  font-weight: 800;
}

/* 
==========================================================================
✨ クリーン＆エレガント：消費税 10% ➔ 1% インパクトカード
========================================================================== 
*/
.tax-transformation-card {
  background: #FFFFFF;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  margin: 0 auto 32px;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
}

.tax-transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 16px;
}

/* 左側：イートイン 10% */
.tax-before-box {
  background: #F4F4F5;
  border: 1px solid #E4E4E7;
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
}

.tax-before-box .tb-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tax-before-box .tb-rate {
  font-size: 3rem;
  font-weight: 900;
  color: #52525B;
  line-height: 1;
}

.tax-before-box .tb-note {
  font-size: 11px;
  font-weight: 700;
  color: #71717A;
  margin-top: 8px;
}

/* 中央：矢印＋9%減税バッジ */
.tax-arrow-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.tax-arrow-badge {
  background: var(--primary);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 10px var(--primary-shadow);
}

.tax-arrow-icon {
  color: var(--primary);
  margin: 4px 0;
}

/* 右側：テイクアウト 1% (美しくハイライト) */
.tax-after-hero {
  background: linear-gradient(145deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(232, 90, 24, 0.15);
}

.tax-after-hero .ta-label {
  font-size: 15px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}

.tax-after-hero .ta-rate-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  margin: 8px 0;
}

.tax-after-hero .ta-rate-num {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.05em;
}

.tax-after-hero .ta-rate-unit {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-left: 2px;
}

.tax-after-hero .ta-period {
  background: #FFFFFF;
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
}

@media (max-width: 640px) {
  .tax-transformation-card {
    padding: 20px 14px;
  }
  .tax-transform-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tax-before-box .tb-rate {
    font-size: 2.5rem;
  }
  .tax-arrow-center {
    flex-direction: row;
    gap: 8px;
  }
  .tax-arrow-icon {
    transform: rotate(90deg);
  }
  .tax-after-hero .ta-rate-num {
    font-size: 3.8rem;
  }
  .tax-after-hero .ta-rate-unit {
    font-size: 1.8rem;
  }
}

.hero-punchline {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-punchline strong {
  color: var(--primary);
  font-size: 1.6rem;
  background: linear-gradient(transparent 70%, #FDBA74 70%);
}

@media (max-width: 640px) {
  .hero-punchline {
    font-size: 1.2rem;
  }
  .hero-punchline strong {
    font-size: 1.35rem;
  }
}

/* メインCTAボタン */
.cta-box-wrapper {
  margin: 24px 0;
}

.btn-super-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F46419 0%, #DB5112 100%);
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  padding: 18px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 30px rgba(232, 90, 24, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 520px;
  margin: 0 auto;
  border: 2px solid #FFA768;
}

.btn-super-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(232, 90, 24, 0.5);
  background: linear-gradient(135deg, #FFA768 0%, #E85A18 100%);
}

.btn-super-cta .btn-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 3px;
  text-shadow: 0 1px 2px rgba(120, 40, 0, 0.35);
}

.btn-super-cta .btn-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(120, 40, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-super-cta .btn-arrow-icon {
  transition: transform 0.25s ease;
}

.btn-super-cta:hover .btn-arrow-icon {
  transform: translateX(6px);
}

.cta-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 700;
}

.source-caption {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 14px;
}

/* セクションタイトル */
.section-headline {
  text-align: center;
  margin-bottom: 32px;
}

.section-headline .badge {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.section-headline h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .section-headline h2 {
    font-size: 1.45rem;
  }
}

/* ニュース・背景解説ボックス */
.news-fact-banner {
  background: #FFFFFF;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 880px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-md);
}

.news-fact-header {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-fact-list {
  list-style: none;
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-main);
}

@media (min-width: 769px) {
  .news-fact-list li {
    white-space: nowrap;
  }
}

.news-fact-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.news-fact-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

/* 4つの悩み */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

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

.check-item-card {
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  border-left: 6px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.check-icon {
  font-size: 24px;
  color: var(--danger);
  font-weight: 900;
  flex-shrink: 0;
}

.check-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.strong-hook-banner {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 32px auto 0;
  max-width: 800px;
}

.strong-hook-banner p {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.5;
}

.strong-hook-banner strong {
  color: #FB923C;
}

@media (max-width: 640px) {
  .strong-hook-banner p {
    font-size: 1.15rem;
  }
}

/* 解決策：4つのまる投げ支援 */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

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

.sol-card {
  background: #FFFFFF;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.sol-card:hover {
  transform: translateY(-3px);
}

.sol-card-num {
  font-size: 12px;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.sol-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}

.sol-card-desc {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* 自社ブランド実績カード */
.proven-menu-box {
  background: var(--primary-lighter);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  margin-bottom: 32px;
}

.proven-header-badge {
  text-align: center;
  margin-bottom: 20px;
}

.proven-header-badge .sub-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

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

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

.brand-mini-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.brand-img-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--bg-subtle);
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.brand-mini-card:hover .brand-img {
  transform: scale(1.04);
}

.brand-mini-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.brand-menu-tags span {
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.big-stats-row {
  display: flex;
  gap: 12px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 12px;
}

.stat-cell {
  flex: 1;
  text-align: center;
}

.stat-cell .s-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.stat-cell .s-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-top: 2px;
}

.brand-note-bottom {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  margin-top: 20px;
  background: #FFFFFF;
  padding: 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-border);
}

/* 最短3週間の導入ステップ: 番号の円 + カード間の矢印で「順番に進む流れ」を見せる */
.step-horizontal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.step-h-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 16px 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* カード間の矢印（右向き） */
.step-h-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -23px;
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}

/* ゴール（販売開始）は色付きで強調 */
.step-h-card.is-goal {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 6px 16px var(--primary-shadow);
}

.step-h-card .step-idx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}

.step-h-card .step-word {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.step-h-card .step-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 10px var(--primary-shadow);
}

.step-h-card .step-txt {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.step-h-card .step-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

/* スマホ: 番号を左に置いた縦の流れ（下向き矢印でつなぐ） */
@media (max-width: 640px) {
  .step-horizontal-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step-h-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 16px;
  }

  .step-h-card .step-idx {
    margin-bottom: 0;
  }

  .step-h-card:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 44px;
    bottom: -23px;
    transform: translateX(-50%) rotate(135deg);
  }
}

.speed-tag-banner {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
}

/* フォームセクション */
.form-section {
  background: #FFFFFF;
  border-top: 3px solid var(--primary);
}

.form-box {
  background: #FFFFFF;
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-xl);
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .form-box {
    padding: 24px 16px;
  }
}

.form-header-title {
  text-align: center;
  margin-bottom: 24px;
}

.form-header-title .badge {
  display: inline-block;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 4px 14px 4px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  box-shadow: 0 3px 8px var(--primary-shadow);
}

.form-header-title h3 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-header-title p {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

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

.form-label {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.badge-req {
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 6px;
  display: inline-block;
}

.badge-opt {
  background: var(--text-light);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 6px;
  display: inline-block;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-main);
  background-color: #FAFAFA;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 90, 24, 0.18);
}

.radio-button-group {
  display: flex;
  gap: 12px;
}

.radio-btn-label {
  flex: 1;
  cursor: pointer;
}

.radio-btn-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-btn-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: #F4F4F5;
  border: 2px solid #E4E4E7;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text-main);
  transition: all 0.2s ease;
  user-select: none;
}

.radio-btn-label input[type="radio"]:checked + .radio-btn-tile {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-unit .form-control {
  padding-right: 50px;
}

.input-unit-text {
  position: absolute;
  right: 14px;
  font-weight: 800;
  color: var(--text-muted);
}

.form-help-text {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.form-error-msg {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  font-weight: 700;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

.form-control.is-invalid {
  border-color: var(--danger);
  background-color: var(--danger-light);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #FF6B18 0%, #E85A18 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: all 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FFA768 0%, #E85A18 100%);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 完了モーダル */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: #DCFCE7;
  color: var(--success);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}

.modal-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 20px;
}

.modal-close-btn {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 800;
  cursor: pointer;
}

/* フローティングCTA */
.floating-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.25s ease;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.floating-bottom-cta.visible {
  transform: translateY(0);
}

.floating-cta-text {
  flex: 1;
}

.floating-cta-text .main-text {
  font-size: 13px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.3;
}

.floating-cta-text .sub-text {
  font-size: 11px;
  color: #FB923C;
  font-weight: 800;
}

.floating-cta-btn {
  background: linear-gradient(135deg, #FF6B18 0%, #E85A18 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--primary-shadow);
}

/* フッター */
.footer {
  background: var(--dark);
  color: #A1A1AA;
  padding: 40px 0 80px;
  font-size: 0.85rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

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

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

.footer-list {
  list-style: none;
  line-height: 1.8;
}

.footer-list strong {
  color: #FFFFFF;
}

.footer-cr {
  text-align: center;
  border-top: 1px solid var(--dark-surface);
  padding-top: 20px;
  font-size: 0.75rem;
  color: #71717A;
}

/* ==========================================================================
   📱 SPレスポンシブ完全最適化 (横スクロール絶対防止ガード)
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .hero-target-chip {
    font-size: 11px;
    flex-direction: column;
    gap: 3px;
    padding: 6px 16px;
    border-radius: 14px;
    max-width: 100%;
    line-height: 1.4;
    margin-bottom: 22px;
  }

  .hero-target-chip .chip-badge {
    font-size: 10px;
  }

  .hero-pain-headline .pain-pre {
    font-size: 1.4rem;
    line-height: 1.35;
  }

  .hero-pain-headline .pain-core {
    font-size: 2.45rem;
    line-height: 1.2;
  }

  .hero-solution-strip {
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    padding: 12px 14px;
    margin: 0 auto 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-solution-strip .strip-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .pain-causes-box {
    padding: 18px 12px;
  }

  .pain-causes-header {
    font-size: 1.05rem;
  }

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

  .pain-causes-footer {
    font-size: 0.95rem;
  }

  .pain-causes-footer strong {
    font-size: 1.05rem;
  }

  .tax-timing-catch {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .tax-timing-highlight {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .cabinet-news-flash {
    font-size: 12px;
    padding: 6px 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    line-height: 1.4;
    box-sizing: border-box;
  }
  
  .hero-catch {
    font-size: 1.45rem;
    line-height: 1.4;
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-catch .hero-line {
    display: inline;
    white-space: normal;
    text-align: center;
  }

  .hero-catch .num-highlight {
    font-size: 2.1rem;
  }

  .hero-catch .old-num {
    font-size: 1.4rem;
  }

  .tax-transformation-card {
    padding: 16px 10px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
  }

  .tax-before-box {
    padding: 14px 8px;
  }

  .tax-after-hero {
    padding: 16px 10px;
  }

  .tax-after-hero .ta-label {
    font-size: 13px;
  }

  .tax-after-hero .ta-rate-num {
    font-size: 3.4rem;
  }

  .tax-after-hero .ta-rate-unit {
    font-size: 1.6rem;
  }

  .btn-super-cta {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-full);
    box-sizing: border-box;
  }

  .btn-super-cta .btn-main {
    font-size: 1.05rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .btn-super-cta .btn-sub {
    font-size: 12px;
  }

  .proven-menu-box {
    padding: 16px 10px;
    box-sizing: border-box;
    width: 100%;
  }

  .brand-mini-card {
    padding: 16px 12px;
    box-sizing: border-box;
    width: 100%;
  }

  .brand-img-wrapper {
    height: 160px;
  }

  .brand-mini-card h3 {
    font-size: 1.15rem;
  }

  .big-stats-row {
    padding: 10px 6px;
    gap: 6px;
  }

  .stat-cell .s-label {
    font-size: 10px;
  }

  .stat-cell .s-value {
    font-size: 1.2rem;
  }

  .brand-note-bottom {
    font-size: 11px;
    line-height: 1.5;
    padding: 10px 8px;
    border-radius: var(--radius-md);
  }

  .form-box {
    padding: 20px 12px;
    box-sizing: border-box;
    width: 100%;
  }

  .radio-btn-tile {
    padding: 10px 8px;
    font-size: 0.95rem;
  }

  .floating-bottom-cta {
    padding: 8px 12px;
  }

  .floating-cta-text .main-text {
    font-size: 11px;
  }

  .floating-cta-text .sub-text {
    font-size: 10px;
  }

  .floating-cta-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ==========================================================================
   1stビュー（ヒーロー）: 黒背景（広告クリエイティブ準拠）
   次のセクション（消費税の追い風）から白背景に切り替わる
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #18181B 0%, #101012 100%);
  color: #FFFFFF;
}

.hero-section .hero-target-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-section .hero-target-chip .chip-desc {
  color: #D4D4D8;
}

.hero-section .hero-pain-headline .pain-pre {
  color: #FFFFFF;
}

.hero-section .hero-pain-headline .pain-word {
  background: none;
}

.hero-section .hero-solution-strip {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(232, 90, 24, 0.7);
  box-shadow: none;
}

.hero-section .hero-solution-strip .strip-copy {
  color: #FFFFFF;
}

.hero-section .hero-solution-strip .strip-copy strong {
  color: #FF7A33;
  border-bottom-color: #FF7A33;
}

.hero-section .pain-causes-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.hero-section .pain-causes-header {
  color: #FFFFFF;
}

.hero-section .pain-cause-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-section .pain-cause-card:hover {
  border-color: var(--primary);
}

.hero-section .pain-cause-card .cause-num {
  color: #FF8A47;
  background: rgba(232, 90, 24, 0.2);
}

.hero-section .pain-cause-card strong {
  color: #FFFFFF;
}

.hero-section .pain-cause-card p {
  color: #A1A1AA;
}

.hero-section .pain-causes-footer {
  color: #FFFFFF;
  border-top-color: rgba(255, 255, 255, 0.2);
}

.hero-section .pain-causes-footer strong {
  color: #FF7A33;
}

.hero-section .cta-caption {
  color: #A1A1AA;
}

/* ヒーロー最下部は「よくある原因」の枠で終わる（CTAはSOLUTION最下部へ移動）。余白の二重取りを避ける */
.hero-section .pain-causes-box {
  margin-bottom: 0;
}

/* サービス全体の位置づけラベル: 中央揃えの見出しとは切り離し、左上に置く */
.service-tag-row {
  text-align: left;
  margin-bottom: 32px;
}

.service-tag-row .hero-target-chip {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .service-tag-row {
    margin-bottom: 24px;
  }

  .service-tag-row .hero-target-chip {
    align-items: flex-start;
    text-align: left;
  }
}

/* 語りかけコピー用 */
.hero-empathy {
  margin: 4px auto 0;
  max-width: 640px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
  color: #D4D4D8;
}

.section-headline .section-lead {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin: 4px 0 6px;
}

.section-headline .section-sub {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 10px;
}

@media (max-width: 640px) {
  .hero-empathy {
    font-size: 0.95rem;
  }
}

/* 見出しの折り返しで1〜2文字だけ孤立しないようにする */
.tax-timing-catch,
.section-headline h2,
.hero-empathy {
  text-wrap: balance;
}

