:root {
  --primary: #0096DF;        /* 主軸ブルー（KVの深い海色） */
  --primary-pale: #F2F7FB;   /* 淡いブルー面（強調枠の地のみ） */
  --accent: #E94E1B;         /* オレンジ（CTAと価格にだけ使う） */
  --ink: #1A2530;            /* 本文 */
  --ink-sub: #5A6E7A;        /* 副本文 */
  --muted: #99A6AE;          /* キャプション */
  --line: #E6EAED;           /* 罫線 */
  --bg: #FFFFFF;
  --bg-alt: #FAFBFC;         /* セクション境界の僅かなオフホワイト */
  --yellow: #FFF574;         /* markerハイライト・CHECKラベル */
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: #e8e8e8;
  line-height: 1.85;
  letter-spacing: 0.05em;
  font-feature-settings: 'palt' 1;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 800;
  margin: 0;
}

.page-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  position: relative;
}

section {
  padding: 44px 24px;
  position: relative;
}

/* ============ セクション見出し共通 ============ */
.sec-en {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.18em;
  margin: 0 0 4px;
  font-weight: 700;
  text-align: center;
}
.sec-jp {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0 0 24px;
  text-align: center;
}

/* ============ ヘッダー ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.site-header-inner {
  position: relative;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}
.site-header-inner a { display: flex; align-items: center; }
.site-logo {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
}
.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn:hover { background: rgba(0,0,0,0.04); }
.site-header-inner .menu-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* ============ ドロワーメニュー ============ */
.menu-drawer {
  position: fixed;
  top: 0;
  right: max(0px, calc(50vw - 240px));
  width: calc(min(100vw, 480px) * 0.8);
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  transform: translateX(calc(100% + 50vw));
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.12);
}
.menu-drawer.open { transform: translateX(0); }
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 32px;
}
.menu-drawer-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.menu-nav { flex: 1; }
.menu-nav-item {
  display: flex;
  flex-direction: column;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.menu-nav-item:hover { background: var(--bg-alt); }
.menu-nav-en {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--primary);
}
.menu-nav-ja {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

/* ============ HERO ============ */
.hero { padding: 0; }
.hero-img {
  display: block;
  width: 100%;
  height: auto;
}
/* ============ About ============ */
.about-section {
  background: var(--bg);
}
.about-tag {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin: 0 0 22px;
  line-height: 1.9;
}
.marker {
  background: linear-gradient(transparent 60%, rgba(255, 245, 116, 0.65) 60%);
  padding: 0 2px;
  font-weight: 900;
  color: var(--ink);
}
.about-body {
  font-size: 14px;
  color: var(--ink);
  line-height: 2.0;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  font-weight: 500;
  text-align: center;
}
.about-body:last-of-type {
  margin-bottom: 0;
}
.about-body--note {
  font-size: 11px;
  color: var(--ink-sub);
  line-height: 1.6;
  margin: -8px 0 24px;
  font-weight: 500;
}

/* ============ Why Now（青背景＋白テキストカード） ============ */
.why-section {
  background: var(--primary);
  color: #fff;
  padding: 44px 24px 48px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.why-section .sec-en { color: rgba(255,255,255,0.8); }
.why-section .sec-jp { color: #fff; margin-bottom: 24px; }

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-item {
  background: #fff;
  border-radius: 16px;
  padding: 22px 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.why-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 0;
  padding-top: 2px;
  font-feature-settings: 'tnum' 1;
}
.why-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.why-desc {
  font-size: 13px;
  color: var(--ink-sub);
  line-height: 1.85;
  margin: 0;
  font-weight: 400;
}

/* ============ クーポンサマリー（2種類のクーポン提示・横並び） ============ */
.coupon-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.coupon-card {
  background: #fff;
  border: 1.5px solid #fff;
  border-radius: 14px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}
.coupon-card-head {
  position: relative;
  background: var(--yellow);
  color: var(--primary);
  padding: 7px 8px;
  border-radius: 14px 14px 0 0;
  margin: -1.5px -1.5px 0;
}
.coupon-card-head::before,
.coupon-card-head::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 10px;
  height: 20px;
  background: var(--bg-alt);
  border: 1.5px solid var(--primary);
  z-index: 2;
  box-sizing: border-box;
}
.coupon-card-head::before {
  left: 0;
  border-left: none;
  border-radius: 0 999px 999px 0;
}
.coupon-card-head::after {
  right: 0;
  border-right: none;
  border-radius: 999px 0 0 999px;
}
.coupon-card-target {
  font-size: 13px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.coupon-card-rate {
  position: relative;
  margin: 0;
  padding: 12px 8px 4px;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}
.coupon-card-rate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 0;
  border-top: 1.5px dashed var(--primary);
}
.cc-prefix {
  font-size: 13px;
  font-weight: 800;
  margin-right: 3px;
}
.cc-num {
  font-size: 40px;
  font-weight: 800;
}
.cc-unit {
  font-size: 18px;
  font-weight: 800;
  margin-left: 1px;
}
.coupon-card-arrow {
  display: block;
  margin: 0 auto 5px;
  color: var(--primary);
}
.coupon-summary-note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  padding-left: 1em;
  text-indent: -1em;
  font-weight: 400;
}

/* ============ プランtier別グルーピング ============ */
.plans-tier {
  margin-bottom: 36px;
}
.plans-tier:last-of-type {
  margin-bottom: 24px;
}
.plans-tier-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.plans-tier-head::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, 0) rotate(45deg);
  border-right: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  background: var(--primary);
}
.plans-tier-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.plans-tier-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============ ジャンル別 遷移カルーセル ============ */
.genre-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 8px 24px;
  margin: 0 0 18px -24px;
  scroll-padding-inline-start: 24px;
}
.genre-scroll::-webkit-scrollbar { display: none; }
.genre-card {
  flex: 0 0 130px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  background: var(--primary-pale);
  display: block;
}
.genre-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.genre-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
}

/* ============ Plans共通の注意書き ============ */
.plans-notes {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.plans-notes li {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
}
.plans-notes li::before {
  content: '※';
  margin-right: 2px;
}
.plans-notes li + li { margin-top: 4px; }

/* ============ How to（白背景＋白カードカルーセル） ============ */
.howto-section {
  background: var(--bg);
  color: var(--ink);
  padding: 44px 0 48px;
  overflow-x: clip;
}
.howto-section .sec-en,
.howto-section .sec-jp {
  padding-left: 24px;
  padding-right: 24px;
}
.howto-section .sec-en { color: var(--primary); }
.howto-section .sec-jp { color: var(--ink); margin-bottom: 28px; }

.howto-steps {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 24px 24px;
  margin: 0 0 18px;
}
.howto-steps::-webkit-scrollbar { display: none; }

.howto-step {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 28px 22px 0;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.howto-step-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.howto-step-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.howto-step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.02em;
}
.howto-step-desc {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.85;
  margin: 0 0 20px;
  font-weight: 600;
  text-align: center;
}
.howto-step-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
  margin: 10px 0 0;
  font-weight: 400;
  text-align: left;
  padding-left: 1em;
  text-indent: -1em;
}
.howto-step-note + .howto-step-note {
  margin-top: 4px;
}

/* スマホモックアップ（imatoku準拠・中身は仮画像） */
.phone-mockup {
  width: 200px;
  height: 280px;
  margin: auto auto 0;
  background: #1a1a1a;
  border-radius: 30px 30px 0 0;
  padding: 8px 8px 0;
  position: relative;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 12px;
  background: #1a1a1a;
  border-radius: 6px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--primary-pale);
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -16px;
}
.ps-icon {
  width: 56px;
  height: 56px;
  color: var(--primary);
  opacity: 0.6;
}

.howto-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.howto-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  display: block;
  transition: background 0.2s ease;
  cursor: pointer;
}
.howto-dot.is-active { background: var(--primary); }

/* ============ Plans ============ */
.plans-section {
  background: var(--primary);
  color: #fff;
}
.plans-section .sec-en { color: rgba(255,255,255,0.85); }
.plans-section .sec-jp { color: #fff; }
.plans-section .plans-tier-title { color: #fff; }
.plans-section .plans-tier-head { border-bottom-color: rgba(255,255,255,0.3); }
.plans-section .plans-notes li { color: rgba(255,255,255,0.85); }
.plans-section .coupon-card-head::before,
.plans-section .coupon-card-head::after {
  background: var(--primary);
}
.plans-lead {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin: 0 0 24px;
  font-weight: 400;
}
.plans-lead-link {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  text-decoration: underline;
  font-size: 12px;
}

.plan-area-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.plan-area-tabs::-webkit-scrollbar { display: none; }
.plan-area-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-sub);
  letter-spacing: 0.04em;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.plan-area-tab:hover {
  color: var(--ink);
  border-color: var(--ink-sub);
}
.plan-area-tab.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.plan-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.plan-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}
.plan-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plan-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.plan-card-badge.is-base {
  background: var(--primary);
}
.plan-card-body {
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-card-area {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.04em;
}
.plan-card-area .ic-pin {
  flex-shrink: 0;
  color: #6b7280;
}
.plan-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 4px 0 0;
}
.plan-card-plan {
  font-size: 11px;
  color: var(--ink-sub);
  line-height: 1.5;
  margin: 4px 0 8px;
}
.plan-card-price {
  margin-top: auto;
  font-size: 11px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}
.plan-card-price .regular {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 11px;
}
.plan-card-price .arrow {
  color: var(--accent);
  font-size: 10px;
  margin: 0 2px;
}
.plan-card-price .new {
  font-weight: 900;
  font-size: 16px;
  color: var(--accent);
}

.plans-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--ink-sub);
  font-size: 13px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #fff;
}

/* ============ Details ============ */
.det {
  background: var(--bg);
}
.det-body {
  font-size: 13px;
  line-height: 1.75;
}
.det-item {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.det-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.det-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px;
  letter-spacing: 0.06em;
}
.det-value {
  color: var(--ink);
  font-weight: 500;
}
.det-notes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.det-notes li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.7;
}
.det-notes li::before {
  content: '※';
  margin-right: 2px;
}
.det-notes li + li { margin-top: 4px; }
.det-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 500;
}
.det-list > li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.75;
}
.det-list > li::before {
  content: '・';
  margin-right: 2px;
}
.det-list > li + li { margin-top: 6px; }
.det-notes-sub {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.det-notes-sub li {
  font-size: 12px;
  color: var(--ink-sub);
  line-height: 1.7;
  font-weight: 400;
  padding-left: 1em;
  text-indent: -1em;
}
.det-notes-sub li::before {
  content: '※';
  margin-right: 2px;
}
.det-notes-sub li + li { margin-top: 4px; }
.det-link {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-all;
}
.det-example {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-sub);
  line-height: 1.7;
  font-weight: 400;
}

/* ============ Footer ============ */
.ft {
  background-color: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  padding: 32px 0;
  text-align: center;
}
.ft-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}
.ft-content p {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.4;
  margin: 0;
}

/* ============ Floating CTA ============ */
.floating-cta {
  position: fixed;
  bottom: 16px;
  right: max(16px, calc(50vw - 240px + 16px));
  width: 96px;
  height: 96px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,150,223,0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-weight: 900;
  letter-spacing: 0.04em;
  animation: cta-pulse 2.4s ease-in-out infinite;
}
.floating-cta:hover { transform: scale(1.06); }
.floating-cta.is-hidden {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}
.fc-top {
  font-size: 10px;
  color: var(--yellow);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  font-weight: 900;
}
.fc-main {
  font-size: 13px;
  line-height: 1.35;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,150,223,0.35), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 6px 28px rgba(0,150,223,0.55), 0 2px 12px rgba(0,0,0,0.2); }
}

/* ============ PC分岐 ============ */
@media (min-width: 481px) {
  .sec-jp { font-size: 26px; }
  .o-num { font-size: 64px; }
}
