/* ==========================================================================
   DIGITAL INCOME INFINITY — Upgrade Landing Page CSS
   既存ご購入者様向け追加機能パック案内
   ========================================================================== */

/* --- Design tokens --- */
:root {
  --c-bg: #f7f4ec;
  --c-bg-card: #ffffff;
  --c-bg-dark: #091227;
  --c-bg-dark-soft: #0f1a36;
  --c-bg-r18: #1a0b1c;
  --c-bg-r18-soft: #2b1431;
  --c-text-main: #1a2238;
  --c-text-sub: #4a5470;
  --c-text-mute: #6c7488;
  --c-text-on-dark: #f3ecda;
  --c-text-on-dark-mute: rgba(243, 236, 218, 0.72);
  --c-gold: #c8a415;
  --c-gold-soft: #d9c27d;
  --c-gold-bright: #ffd770;
  --c-gold-warm: #8a6a26;
  --c-line: #d9d3c2;
  --c-line-dark: rgba(217, 194, 125, 0.32);
  --c-accent-warn: #b91d1d;
  --c-accent-purple: #b58cc9;

  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', 'Noto Sans JP', sans-serif;
  --font-mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-num: 'Montserrat', 'Bebas Neue', 'Noto Sans JP', sans-serif;

  --container-max: 1120px;
  --container-pad: 24px;
  --radius-card: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 28px rgba(15, 26, 54, 0.08);
  --shadow-card-strong: 0 18px 40px rgba(15, 26, 54, 0.14);

  --transition-fast: 160ms ease;
}

/* --- Reset & base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* 本文を約19px（Google/Yahoo等の16pxより大きく快適に読める基準）に引き上げ。
     rem基準の全要素が比例拡大する。2026-05-27 可読性改善 */
  font-size: 20px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--c-text-main);
  background: var(--c-bg);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.78;
}

ul, ol {
  list-style: none;
}

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

/* --- Skip link --- */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 8px;
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 999;
}
.skip-link:focus {
  inset-inline-start: 8px;
}

/* --- Section heading --- */
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-heading__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  color: var(--c-gold-warm);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.section-heading__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--c-text-main);
  line-height: 1.5;
  margin-bottom: 14px;
}
.section-heading__sub {
  color: var(--c-text-sub);
  font-size: 0.97rem;
  line-height: 1.95;
  text-wrap: balance;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-dark-soft) 100%);
  color: var(--c-text-on-dark);
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--c-line-dark);
}
.header-inner {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.site-header__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  color: var(--c-gold-soft);
  font-size: 0.85rem;
}
.site-header__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  color: var(--c-text-on-dark);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-dark-soft) 100%);
  color: var(--c-text-on-dark);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 18, 39, 0.92) 0%, rgba(9, 18, 39, 0.65) 45%, rgba(9, 18, 39, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero__lead {
  max-width: 760px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  color: var(--c-gold-soft);
  font-size: 1rem;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  color: var(--c-text-on-dark);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero__title-line {
  display: block;
}
.hero__title-line--accent {
  color: var(--c-gold-bright);
}
.hero__sub {
  color: var(--c-text-on-dark-mute);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 32px;
}
.hero__cta-wrap {
  margin-bottom: 18px;
}
/* ヒーローCTA直下の期間限定販売アピール（かなり目立つ） */
.hero__limited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px auto 0;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 38, 38, 0.28), rgba(122, 14, 14, 0.34));
  border: 1.5px solid var(--c-gold-bright);
  box-shadow: 0 6px 22px rgba(217, 38, 38, 0.3), 0 0 0 4px rgba(255, 215, 112, 0.08);
  color: #ffe9a8;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  animation: heroLimitedPulse 2.4s ease-in-out infinite;
}
.hero__limited strong {
  color: #ffd770;
}
.hero__limited-mark {
  font-size: 1.15em;
}
@keyframes heroLimitedPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(217, 38, 38, 0.3), 0 0 0 4px rgba(255, 215, 112, 0.08); }
  50% { box-shadow: 0 6px 26px rgba(217, 38, 38, 0.5), 0 0 0 6px rgba(255, 215, 112, 0.16); }
}
/* 販売終了後は期間限定バッジを非表示（締切後に残らないように） */
html[data-stage="ended"] .hero__limited {
  display: none;
}
.hero__note {
  font-size: 0.82rem;
  color: rgba(243, 236, 218, 0.55);
  line-height: 1.7;
}

/* ==========================================================================
   CTA BUTTONS
   ========================================================================== */
.cta-button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
  text-align: center;
  min-width: 220px;
  line-height: 1.4;
}

.cta-button--ghost {
  background: transparent;
  color: var(--c-gold-bright);
  border-color: var(--c-gold-soft);
}
.cta-button--ghost:hover {
  background: rgba(217, 194, 125, 0.14);
  opacity: 1;
}

.cta-button--disabled,
.cta-button[disabled],
.cta-button[aria-disabled="true"] {
  background: #cbd0db;
  color: #5a6478;
  border-color: #b5bcca;
  cursor: not-allowed;
  opacity: 0.85;
}
.cta-button--disabled:hover,
.cta-button[disabled]:hover,
.cta-button[aria-disabled="true"]:hover {
  opacity: 0.85;
  background: #cbd0db;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro {
  padding: 64px 0 32px;
  background: var(--c-bg);
}
.intro__container {
  display: flex;
  justify-content: center;
}
.intro__body {
  max-width: 760px;
  text-align: center;
}
.intro__lead {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--c-text-main);
  line-height: 1.8;
  margin-bottom: 20px;
}
.intro__lead strong {
  color: var(--c-gold-warm);
}
.intro__text {
  color: var(--c-text-sub);
  font-size: 0.97rem;
  line-height: 2;
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features {
  padding: 64px 0 72px;
  background: var(--c-bg);
}

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

.feature-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-card);
  padding: 0 0 28px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--c-gold-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-bg);
  margin-bottom: 6px;
}
.feature-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-card > *:not(.feature-card__visual) {
  margin-inline: 26px;
}
.feature-card > .feature-card__badge {
  margin-top: 22px;
}

.feature-card--r18 {
  border-top-color: var(--c-accent-purple);
}
.feature-card--bonus {
  border-top-color: var(--c-gold-bright);
  background: linear-gradient(180deg, #fffaeb 0%, #ffffff 100%);
}

.feature-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--c-bg-dark);
  background: var(--c-gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.feature-card--r18 .feature-card__badge {
  background: var(--c-accent-purple);
  color: #fff;
}
.feature-card__badge--bonus {
  background: var(--c-gold-bright);
  color: var(--c-bg-dark);
}

.feature-card__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-text-main);
  line-height: 1.5;
  margin-bottom: 12px;
}

.feature-card__lead {
  color: var(--c-text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.feature-card__list {
  margin-bottom: 18px;
}
.feature-card__list li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 0.93rem;
  color: var(--c-text-main);
  line-height: 1.85;
  margin-bottom: 6px;
}
.feature-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.85em;
  width: 10px;
  height: 2px;
  background: var(--c-gold-warm);
}
.feature-card--r18 .feature-card__list li::before {
  background: var(--c-accent-purple);
}
.feature-card__list strong {
  color: var(--c-gold-warm);
}
.feature-card--r18 .feature-card__list strong {
  color: var(--c-accent-purple);
}

.feature-card__note {
  font-size: 0.85rem;
  color: var(--c-text-mute);
  line-height: 1.8;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  margin-top: auto;
}
.feature-card__note a {
  color: var(--c-gold-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feature-card__note--warn {
  color: var(--c-accent-warn);
}
.feature-card__note--warn strong {
  color: var(--c-accent-warn);
}

/* ==========================================================================
   PLANS
   ========================================================================== */
.plans {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, #efeadb 100%);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-card);
  padding: 32px 26px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}

/* C プラン「セット割」強調（r4 新設、旧 .plan-card--featured 削除） */
.plan-card--saving {
  border-color: var(--c-gold);
  border-width: 2px;
  box-shadow: 0 18px 40px rgba(200, 164, 21, 0.22);
  background: linear-gradient(180deg, #fffaeb 0%, #fff8dc 60%, #ffffff 100%);
  position: relative;
}
.plan-card--saving::before {
  content: "SAVE";
  position: absolute;
  top: -16px;
  inset-inline-end: 14px;
  background: linear-gradient(135deg, #d92626 0%, #b91d1d 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(185, 29, 29, 0.42);
  white-space: nowrap;
}
.plan-card--saving::before { content: "SAVE ¥12,900"; }
html[data-stage="ended"] .plan-card--saving::before {
  content: "販売終了";
  background: linear-gradient(135deg, #6c7488 0%, #4a5470 100%);
  box-shadow: 0 4px 10px rgba(108, 116, 136, 0.32);
}

/* 取消線価格表示（C プラン） */
.plan-card__price-strike {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--c-text-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(185, 29, 29, 0.7);
  margin-bottom: 4px;
}

.plan-card__head {
  margin-bottom: 16px;
}
.plan-card__name {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--c-gold-warm);
  margin-bottom: 6px;
}
.plan-card__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-text-main);
  line-height: 1.4;
}
.plan-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--c-text-mute);
  margin-top: 6px;
  line-height: 1.6;
}

.plan-card__price {
  text-align: center;
  padding: 18px 0 22px;
  border-top: 1px dashed var(--c-line);
  border-bottom: 1px dashed var(--c-line);
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.plan-card__price-amount {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--c-text-main);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.plan-card__price-unit {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-gold-warm);
  margin-left: 2px;
  letter-spacing: 0;
}
.plan-card__price-tax {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--c-text-mute);
  letter-spacing: 0.04em;
}
.plan-card__price-tbd {
  display: inline-block;
  background: rgba(200, 164, 21, 0.1);
  color: var(--c-gold-warm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.plan-card__features {
  margin-bottom: 24px;
  flex-grow: 1;
}
.plan-card__features li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 0.92rem;
  color: var(--c-text-main);
  line-height: 1.85;
  margin-bottom: 8px;
}
.plan-card__features li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--c-gold);
  font-weight: 700;
}

.plan-card__cta {
  margin-bottom: 16px;
  text-align: center;
}
.plan-card__cta .cta-button {
  width: 100%;
  min-width: 0;
}

.plan-card__hint {
  font-size: 0.82rem;
  color: var(--c-text-mute);
  line-height: 1.7;
  text-align: center;
}

.plans__legal {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--c-text-mute);
  text-align: center;
  line-height: 1.8;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 72px 0;
  background: var(--c-bg-card);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}
.faq__item:first-child {
  border-top: 1px solid var(--c-line);
}

.faq__q {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-text-main);
  margin-bottom: 10px;
  line-height: 1.7;
}

.faq__a {
  color: var(--c-text-sub);
  font-size: 0.95rem;
  line-height: 1.95;
}
.faq__a strong {
  color: var(--c-accent-warn);
}
.faq__a a {
  color: var(--c-gold-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   FINAL CTA / NOTES
   ========================================================================== */
.final-cta {
  background: linear-gradient(180deg, var(--c-bg-dark-soft) 0%, var(--c-bg-dark) 100%);
  color: var(--c-text-on-dark);
  padding: 72px 0;
}

.final-cta__container {
  max-width: 820px;
}

.final-cta__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--c-gold-bright);
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.55;
}

.final-cta__lead {
  text-align: center;
  color: var(--c-text-on-dark-mute);
  font-size: 0.97rem;
  line-height: 2;
  margin-bottom: 40px;
}

.final-cta__notes {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-card);
  padding: 28px 28px 24px;
}
.final-cta__notes-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--c-gold-soft);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.final-cta__notes-list li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--c-text-on-dark-mute);
  margin-bottom: 10px;
}
.final-cta__notes-list li::before {
  content: "·";
  position: absolute;
  inset-inline-start: 8px;
  top: 0;
  color: var(--c-gold-soft);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(243, 236, 218, 0.6);
  padding: 32px 0;
  text-align: center;
}
.site-footer__brand {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  color: var(--c-gold-soft);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.site-footer__copy {
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.site-footer__note {
  font-size: 0.78rem;
  color: rgba(243, 236, 218, 0.42);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .features__grid,
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--bonus,
  .plan-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --container-pad: 20px;
  }
  .hero {
    padding: 56px 0 52px;
  }
  .hero__sub {
    font-size: 0.95rem;
    line-height: 1.95;
  }
  .intro,
  .features,
  .plans,
  .faq,
  .final-cta {
    padding-block: 56px;
  }
  .features__grid,
  .plans__grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 0 0 24px;
  }
  .feature-card > *:not(.feature-card__visual) {
    margin-inline: 22px;
  }
  .plan-card {
    padding: 28px 22px 24px;
  }
  .plan-card:nth-child(3),
  .feature-card--bonus {
    grid-column: auto;
  }
  .plan-card--featured::before {
    inset-inline-end: 12px;
  }
  .cta-button {
    min-width: 180px;
    font-size: 0.95rem;
    padding: 13px 26px;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .final-cta__notes {
    padding: 22px 20px 18px;
  }
}

@media (max-width: 420px) {
  body {
    line-height: 1.85;
  }
  .hero__title {
    font-size: 1.7rem;
  }
  .hero__sub {
    font-size: 0.9rem;
  }
  .feature-card__title,
  .plan-card__title {
    font-size: 1.15rem;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   COUNTDOWN BAR (r4 新設・5月末まで限定)
   ========================================================================== */
.deadline-timer-bar {
  background: linear-gradient(90deg, #2a0a0a 0%, #4a0e0e 50%, #2a0a0a 100%);
  color: #ffd770;
  padding: 12px 16px;
  border-bottom: 2px solid #d92626;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(185, 29, 29, 0.32);
}
.deadline-timer-frame {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.deadline-timer-label {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1rem;
  color: #ffd770;
  letter-spacing: 0.06em;
}
.deadline-timer-label-strong {
  color: #ffe599;
  text-shadow: 0 0 6px rgba(255, 215, 112, 0.4);
}
.deadline-timer-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.deadline-timer-segments {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-num);
  font-weight: 900;
}
.seg {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.seg-num {
  font-size: 1.6rem;
  color: #ffe599;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  display: inline-block;
  text-align: center;
}
.seg-cap {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-gold-soft);
  letter-spacing: 0.04em;
}
.seg-sep {
  font-size: 1.4rem;
  color: var(--c-gold-soft);
  opacity: 0.6;
}
.deadline-timer-grace {
  font-family: var(--font-body);
  font-weight: 700;
  color: #ffd770;
  font-size: 0.95rem;
}
.deadline-timer-grace-message-em {
  color: #ff9a4a;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* ==== 残り12時間未満: 不安をあおる緊迫演出（強い赤・パルス発光） ==== */
.deadline-timer-bar.is-urgent {
  background: linear-gradient(90deg, #7a0000 0%, #e00000 50%, #7a0000 100%);
  border-bottom: 3px solid #ff4040;
  box-shadow: 0 4px 26px rgba(224, 0, 0, 0.65);
  animation: deadlineUrgentPulse 1.1s ease-in-out infinite;
}
.deadline-timer-bar.is-urgent .deadline-timer-label,
.deadline-timer-bar.is-urgent .deadline-timer-label-strong {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 90, 90, 0.85);
}
.deadline-timer-bar.is-urgent .deadline-timer-label::before {
  content: "⚠ ";
}
.deadline-timer-bar.is-urgent .seg-num {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 60, 60, 0.95);
}
.deadline-timer-bar.is-urgent .seg-cap {
  color: #ffd6d6;
}
.deadline-timer-bar.is-urgent .seg-sep {
  color: #ffb0b0;
  opacity: 0.9;
}
.deadline-timer-bar.is-urgent .seg-secs .seg-num {
  animation: deadlineSecPulse 1s ease-in-out infinite;
}
@keyframes deadlineUrgentPulse {
  0%, 100% { box-shadow: 0 4px 22px rgba(224, 0, 0, 0.5); filter: brightness(1); }
  50% { box-shadow: 0 6px 34px rgba(255, 30, 30, 0.9); filter: brightness(1.18); }
}
@keyframes deadlineSecPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@media (max-width: 680px) {
  .deadline-timer-bar {
    padding: 10px 12px;
  }
  .deadline-timer-label {
    font-size: 0.88rem;
  }
  .seg-num {
    font-size: 1.3rem;
  }
  .seg-cap {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   EMPATHY (r4 新設・「こんなところで止まっていませんか？」)
   ========================================================================== */
.empathy {
  background: linear-gradient(180deg, #1a1f30 0%, #0f1a36 100%);
  color: var(--c-text-on-dark);
  padding: 64px 0 56px;
}
.empathy .section-heading__eyebrow {
  color: #ff9a4a;
}
.empathy .section-heading__title {
  color: var(--c-gold-bright);
}
.empathy__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.empathy__list--two {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
}
.empathy__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 138, 58, 0.32);
  border-left: 4px solid #ff9a4a;
  border-radius: 10px;
  padding: 22px 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.empathy__icon {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #ff9a4a;
  line-height: 1;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 4px;
}
.empathy__text {
  color: var(--c-text-on-dark);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
}
.empathy__text strong {
  color: #ffd770;
  font-weight: 700;
}
.empathy__lead {
  text-align: center;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--c-gold-bright);
  line-height: 1.7;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-line-dark);
}

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

/* ==========================================================================
   文字アダルト訴求（なぜ文字市場か）
   ========================================================================== */
.text-adult {
  background: linear-gradient(180deg, var(--c-bg-r18) 0%, var(--c-bg-r18-soft) 100%);
  color: var(--c-text-on-dark);
  padding: 64px 0 68px;
  border-top: 1px solid var(--c-line-dark);
}
.text-adult .section-heading__eyebrow {
  color: var(--c-accent-purple);
}
.text-adult .section-heading__title {
  color: var(--c-gold-bright);
}
.text-adult__em {
  color: #ff7ac0;
}
.text-adult__catch {
  font-family: var(--font-mincho);
  font-weight: 700;
  color: var(--c-gold-soft);
}
.text-adult__body {
  max-width: 760px;
  margin: 0 auto;
}
.text-adult__pain {
  background: rgba(181, 140, 201, 0.1);
  border: 1px solid rgba(181, 140, 201, 0.34);
  border-left: 4px solid var(--c-accent-purple);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-text-on-dark);
}
.text-adult__pain strong {
  color: #ffb3df;
  font-weight: 700;
}
.text-adult__lead {
  text-align: center;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.8;
  color: var(--c-gold-bright);
  margin: 0 0 28px;
}
.text-adult__lead strong {
  color: #ff7ac0;
}
.text-adult__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.text-adult__points li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-dark);
  border-radius: 10px;
  font-size: 0.97rem;
  line-height: 1.75;
}
.text-adult__points li::before {
  content: "\25B6";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--c-gold-soft);
  font-size: 0.82rem;
}
.text-adult__points strong {
  color: #ffd770;
  font-weight: 700;
}
.text-adult__close {
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.8;
  color: var(--c-text-on-dark);
  margin: 0;
}
.text-adult__close strong {
  color: #ffd770;
}
/* メリットを文字入りカード画像で3段表示（カラム幅いっぱい） */
.text-adult__cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px auto 28px;
  max-width: 860px;
}
.text-adult__card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line-dark);
  background: #0a1329;
  box-shadow: 0 14px 32px rgba(6, 11, 26, 0.4);
}
.text-adult__card img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .text-adult__cards {
    gap: 12px;
  }
  .text-adult__card {
    border-radius: 12px;
  }
}

@media (max-width: 720px) {
  .text-adult__points li {
    padding-left: 42px;
  }
}

/* ==========================================================================
   初めてでも書ける（シチュエーション例フォロー）
   ========================================================================== */
.howto {
  padding: 64px 0 72px;
  background: var(--c-bg);
}
.howto__lead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.9;
  color: var(--c-text-sub);
  text-wrap: pretty;
}
.howto__lead strong {
  color: var(--c-text-main);
  font-weight: 700;
}
.howto__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.howto__step {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-gold-soft);
  border-radius: 14px;
  padding: 26px 26px 28px;
}
.howto__step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.howto__step-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--c-gold-warm);
  background: rgba(200, 164, 21, 0.12);
  border: 1px solid var(--c-line);
  padding: 5px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}
.howto__step-title {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 900;
  color: var(--c-text-main);
  margin: 0;
  line-height: 1.4;
}
.howto__step-desc {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--c-text-sub);
  margin: 0 0 20px;
}
.howto__step-desc strong {
  color: var(--c-text-main);
  font-weight: 700;
}
.howto__shot {
  margin: 0 auto;
  max-width: 860px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 34, 56, 0.08);
}
.howto__shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   セクション用プレミアムバナー（文字焼き込み・カラム幅いっぱい）
   ========================================================================== */
.up-banner {
  margin: 8px auto 32px;
  max-width: 860px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line-dark);
  background: #0a1329;
  box-shadow: 0 16px 38px rgba(6, 11, 26, 0.45);
}
.up-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.up-banner--top {
  margin-top: 0;
}

@media (max-width: 600px) {
  .up-banner {
    margin: 4px auto 24px;
    border-radius: 12px;
  }
  .howto__step {
    padding: 22px 16px 24px;
  }
  .howto__step-head {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ==========================================================================
   BEFORE / AFTER (r4 新設)
   ========================================================================== */
.ba {
  padding: 64px 0 72px;
  background: var(--c-bg);
}
.ba__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ba__card {
  background: var(--c-bg-card);
  border-radius: var(--radius-card);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--c-gold);
}
.ba__label {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--c-line);
}
.ba__rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ba__row {
  padding: 12px 14px;
  border-radius: 8px;
  position: relative;
}
.ba__row--before {
  background: #f3eee2;
  color: var(--c-text-sub);
}
.ba__row--after {
  background: linear-gradient(135deg, #fffaeb 0%, #fff5d4 100%);
  border: 1px solid var(--c-gold-soft);
}
.ba__row-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.ba__row--before .ba__row-label {
  background: var(--c-text-mute);
  color: #fff;
}
.ba__row--after .ba__row-label {
  background: var(--c-gold);
  color: #fff;
}
.ba__row p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}
.ba__row--after p strong {
  color: var(--c-gold-warm);
  font-weight: 700;
}

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

/* ==========================================================================
   HERO SUB STRONG (r4)
   ========================================================================== */
.hero__sub-strong {
  color: var(--c-gold-bright);
  font-weight: 900;
  font-size: 1.08em;
}

/* ==========================================================================
   FINAL CTA BUTTONS (r4)
   ========================================================================== */
.final-cta__buttons {
  text-align: center;
  margin-top: 24px;
}
.cta-button--gold {
  background: linear-gradient(135deg, var(--c-gold) 0%, #d4af2e 100%);
  color: #fff;
  border-color: var(--c-gold);
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(200, 164, 21, 0.38);
}
.cta-button--gold:hover {
  background: linear-gradient(135deg, #d4af2e 0%, var(--c-gold) 100%);
  opacity: 1;
}
.final-cta__lead strong {
  color: var(--c-gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   DEADLINE STATE TOGGLE
   販売中 (active) / 販売終了 (ended) の 2 値で表示切替
   ========================================================================== */
.deadline-after { display: none; }
html[data-deadline-state="ended"] .deadline-only { display: none; }
html[data-deadline-state="ended"] .deadline-after { display: inline; }

/* 価格表示の 2 値切替（現在価格 / 販売終了）
   現在価格のみ表示。価格改定は admin 手動更新運用 */
[data-price-ended] { display: none; }
html[data-stage="ended"] [data-price-active] { display: none; }
html[data-stage="ended"] [data-price-ended] { display: inline; }

/* 状態表示の切替: 販売中 (active) / 販売終了 (ended) の 2 値 */
[data-stage-active], [data-stage-ended] {
  display: none;
}
html[data-stage="active"] [data-stage-active] { display: inline; }
html[data-stage="ended"] [data-stage-ended] { display: inline; }
html[data-stage="active"] a.cta-button[data-stage-active],
html[data-stage="ended"] a.cta-button[data-stage-ended] { display: inline-block; }

/* ============================================
   販売終了後の決済 CTA 完全無効化
   stage="ended" 時にクリックを物理的に遮断
   ============================================ */
html[data-stage="ended"] a.cta-button[data-checkout="true"],
html[data-stage="ended"] a.cta-button[data-checkout-disabled="true"] {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.55 !important;
  background: linear-gradient(135deg, #8a8f99 0%, #5a6478 100%) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: #6c7488 !important;
  box-shadow: none !important;
}
html[data-stage="ended"] a.cta-button[data-checkout="true"]:hover {
  opacity: 0.55 !important;
  background: linear-gradient(135deg, #8a8f99 0%, #5a6478 100%) !important;
}

/* feature-card 内の補足注記（R18 販売告知の解禁条件等） */
.feature-card__list-note {
  display: inline;
  font-size: 0.78rem;
  color: var(--c-text-mute);
  font-weight: 500;
  margin-left: 4px;
  line-height: 1.5;
}

/* ==========================================================================
   HERO STAGES CTA (販売終了の緊急性訴求ボックス)
   ========================================================================== */
.hero__stages {
  margin: 26px auto 22px;
  max-width: 620px;
  text-align: left;
}
.hero__stages-cta {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(217, 38, 38, 0.18) 0%, rgba(255, 154, 74, 0.14) 100%);
  border: 1px solid rgba(217, 38, 38, 0.32);
  color: #ffe5d0;
  font-size: 0.97rem;
  line-height: 1.7;
  text-align: center;
}
.hero__stages-cta strong {
  color: #fff;
  font-weight: 900;
}

/* ==========================================================================
   EMPATHY 緊急性追記
   ========================================================================== */
.empathy__urgent {
  display: block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 154, 74, 0.12);
  border-left: 3px solid #ff9a4a;
  color: #ffe5d0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}
.empathy__urgent strong {
  color: #ff9a4a;
  font-weight: 900;
}

/* Hero CTA wrap で複数 CTA が並ぶ場合の整形 */
.final-cta__buttons {
  text-align: center;
  margin-top: 24px;
}
