:root {
  --red: #e60012;
  --red2: #ff1d25;
  --yellow: #ffd900;
  --blue: #1d63d7;
  --light-blue: #eaf3ff;
  --text: #111;
  --muted: #666;
  --line: #e8e8e8;
  --bg: #fff;
  --soft: #f7f9fc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 100%; /* デフォルト（SP時）は最大幅を100%にし、画面いっぱいに広げる */
}
* { box-sizing: border-box; }
body {
  margin: 0;
  /* 指定された高品質なフォントファミリー、行間、字間、滑らかさの設定 */
  font-family: "Helvetica Neue",Arial,"Hiragino Sans","BIZ UDPGothic","メイリオ",Meiryo,sans-serif !important;
  background: #fff; /* SP表示時は余計なグレーを排除し、真っ白な背景に統一 */
  color: var(--text);
  line-height: 1.6 !important;
  letter-spacing: 0.05em !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
a { color: inherit; text-decoration: none; }

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  padding-bottom: 40px;
  overflow: hidden;
}

/* ご指定のヘッダー用CSS */
.header-logo-lp {
  display: block;
  background: url(https://www.ymobile.jp/common_c/images/common/logo.svg) no-repeat left top;
  background-size: 128px 26px;
  width: 128px;
  height: 26px;
  padding: 0px;
  margin: 0px auto; /* 58pxのヘッダー高さに美しく収めるため、下部マージンを中央寄せ用に調整 */
  text-indent: -99em;
  overflow: hidden;
}

.l-header-lp {
  position: relative;
  height: 58px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 15px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9; /* ヘッダー下部のうっすらとした区切り線を追加 */
}

/* プレースホルダー画像を美しく */
.dummy-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4ff, #e2eaff);
  border: 1.5px dashed #9db2d9;
  color: #55709b;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.dummy-img::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  animation: shine 3s infinite;
}
@keyframes shine {
  100% { transform: translateX(100%); }
}

/* CTAボタンにキラッと光り、かつパルスする最高品質のCSSアニメーションを実装 */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red2), var(--red));
  color: #fff;
  font-size: 15px;
  font-weight: 700; /* 日本語文字の潰れを防ぐため700に最適化 */
  letter-spacing: .05em;
  box-shadow: 0 4px 15px rgba(230,0,18,0.3);
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  cursor: pointer;
  overflow: hidden; /* 光るエフェクト用 */
}
/* キラッと光るエフェクトのビジュアルベース */
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
}
.cta:after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.cta:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(230,0,18,0.5);
  /* マウスオーバー時に鼓動のように伸縮するパルスアニメーションを開始 */
  animation: cta-pulse 1.2s infinite alternate cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* ホバー時に光の帯が左から右へスマートに走り抜ける */
.cta:hover::before {
  left: 150%;
  transition: left 0.7s ease-in-out;
}
.cta:hover:after {
  transform: translateY(-50%) translateX(3px);
}
.cta:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(230,0,18,0.3);
  animation: none; /* タップ時は鼓動パルスを停止して心地よいクリック感へ */
}

/* パルスのキーフレーム定義 */
@keyframes cta-pulse {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.07);
  }
}

/* 各セクション内の非固定CTAボタンの余白と幅を一律で美しく揃えるためのラッパー */
.cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 32px auto 20px;
  padding: 0 20px;
}
.cta-wrapper .cta {
  width: 100%;
  max-width: 280px;
}

/* 新メインビジュアル（MV）スタイル設計 */
.hero-section {
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.hero-section img {
  width: 100%;
  height: auto;
  display: block;
}
/* モバイル時：SPのみ表示 */
.hero-section .pc {
  display: none !important;
}
.hero-section .sp {
  display: block !important;
}

/* MV下部最初のCTA＋注記エリア */
.hero-cta-area {
  padding: 24px 20px;
  text-align: center;
  background: #fff;
}
.hero-cta-area .cta {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.caption {
  font-size: 12px; /* 視認性向上のため少しサイズアップ */
  color: #475569;
  line-height: 1.4;
  text-align: left;
  margin-top: 16px;
  font-weight: 400;
}

/* 各セクション */
.section {
  padding: 32px 20px 28px;
  background: #fff;
}

/* タイムライン／ステップ区切りとして微細グラデーションを全セクションの上部に適用 */
.section {
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
  z-index: 5;
}

.pixel-product {
  padding-top: 32px;
  text-align: center;
}
.device-title {
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin: 8px 0 16px;
  letter-spacing: -.02em;
}
.device-title small {
  display: block;
  font-size: 24px;
  color: #111;
  margin-top: 4px;
  font-weight: 700;
}

/* カルーセル */
.pixel-carousel {
  position: relative;
  margin: 0 auto 12px;
  padding: 0 32px;
  max-width: 280px;
}
.pixel-viewport {
  width: 100%;
  height: 225px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.pixel-track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pixel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pixel-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.phone-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid #e1e8f5;
  background: #fff;
  color: #333;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s;
}
.phone-arrow:hover {
  background: #f4f7fd;
  border-color: #cbd8ef;
}
.phone-arrow.left { left: 0; }
.phone-arrow.right { right: 0; }

.color-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 24px;
}
.color-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: #d8d8d8;
  padding: 0;
  cursor: pointer;
  /* box-shadow: 0 0 0 1px #d8d8d8; */
  transition: all 0.2s;
}
.color-dots button.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px #1d63d7;
}
/* それぞれのカラープレースホルダー設定（丸ボタンの色付け） */
.color-dots button:nth-child(1) {background: #899ef1;/* box-shadow: 0 0 0 1px #899ef1; */}
.color-dots button:nth-child(2) {background: #dbe0d9;/* box-shadow: 0 0 0 1px #dbe0d9; */}
.color-dots button:nth-child(3) {background: #3e4140;/* box-shadow: 0 0 0 1px #3e4140; */}
.color-dots button:nth-child(4) {background: #de5862;/* box-shadow: 0 0 0 1px #de5862; */}
.color-dots button:nth-child(5) {background: #324991;/* box-shadow: 0 0 0 1px #324991; */}
.color-dots button.active:nth-child(1) { box-shadow: 0 0 0 2px var(--blue); }
.color-dots button.active:nth-child(2) { box-shadow: 0 0 0 2px var(--blue); }
.color-dots button.active:nth-child(3) { box-shadow: 0 0 0 2px var(--blue); }
.color-dots button.active:nth-child(4) { box-shadow: 0 0 0 2px var(--blue); }
.color-dots button.active:nth-child(5) { box-shadow: 0 0 0 2px var(--blue); }

/* 内訳セクション（フロー＆タイムラインUI設計） */
.breakdown {
  background: #fff;
  margin: 0 0 20px;
  padding: 0;
}
.breakdown h3 {
  font-size: 19px;
  text-align: center;
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.breakdown-lead {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 28px;
}

/* タイムライン構築用コンテナ */
.timeline-container {
  position: relative;
  padding-left: 20px;
  margin-left: 10px;
  border-left: 2px dashed #cbd5e1;
}

.stage-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 20px 16px;
  margin: 0 0 32px;
  box-shadow: 0 4px 20px rgba(148, 163, 184, 0.05);
  position: relative;
}
/* タイムラインのインジケータードット */
.stage-card::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 4px #eff6ff;
  z-index: 10;
}
.stage-card.stage-02::before {
  border-color: var(--red);
  box-shadow: 0 0 0 4px #fef2f2;
}

.stage-kicker {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  color: #2563eb;
  background: #eff6ff;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 25px;
}
.stage-kicker.red {
  color: #dc2626;
  background: #fef2f2;
}
.stage-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #1e293b;
}
.stage-title:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #f1f5f9;
  margin-left: 8px;
}
.stage-title.no-line:after {
  display: none;
}
.stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f2;
  color: #e11d48;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #ffe4e6;
}
.stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 11.5px;
  color: #475569;
  font-weight: 500;
  border-bottom: 1px solid #f8fafc;
}
.stage-row:last-of-type {
  border-bottom: none;
}
.stage-row .label {
  line-height: 1.45;
}
.stage-row .amount {
  white-space: nowrap;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}
.stage-row .amount.red {
  color: var(--red);
  font-size: 15px;
}
.stage-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
}
.stage-total .amount {
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.stage-total .amount small {
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 2px;
  color: #64748b;
  font-weight: 500;
}

/* パターンカード（共通対称レイアウト化） */
.pattern-card {
  border-radius: 14px;
  padding: 16px 14px;
  margin: 0 0 16px;
  transition: all 0.25s ease;
  text-align: left;
}

/* パターン①：お返却おすすめ（ピンク系） */
.pattern-card.recommend {
  background: #fff8f8;
  border: 1.5px solid #ffe4e4;
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.02);
}
.pattern-card.recommend .pattern-head {
  color: #991b1b;
}
.pattern-card.recommend .pattern-chip {
  background: linear-gradient(135deg, var(--red2), var(--red));
  color: #fff;
}
.pattern-card.recommend .pattern-note {
  color: var(--red);
}

/* パターン②：そのまま使い続ける（ブルーグレー系に大幅ブラッシュアップ） */
.pattern-card.keep {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(71, 85, 105, 0.02);
}
.pattern-card.keep .pattern-head {
  color: #334155;
}
.pattern-card.keep .pattern-chip {
  background: #64748b;
  color: #fff;
}
.pattern-card.keep .pattern-note {
  color: #475569;
}

.pattern-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pattern-chip {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.055);
}
.pattern-note {
  /* text-align: right; */
  font-size: 12px;
  /* font-weight: 700; */
  margin-top: -2px;
  /* margin-bottom: 8px; */
}
.pattern-caption {
  font-size: 9.5px;
  line-height: 1.5;
  color: #475569;
  font-weight: 500;
  margin: 8px 0 8px;
}
.pattern-pay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.pattern-pay .times {
  font-size: 11.5px;
  color: #334155;
  font-weight: 500;
}
.pattern-pay .amount {
  font-size: 17px;
  color: #0f172a;
  font-weight: 800;
}
.pattern-pay .amount .red {
  color: var(--red);
  font-size: 14px;
  margin-left: 4px;
  font-weight: 700;
}
.pattern-sub {
  font-size: 9.5px;
  color: var(--red);
  font-weight: 700;
  text-align: right;
  line-height: 1.35;
  margin-top: 6px;
}

/* おうち割・家族割引のボックスをシンプル・コンパクトなグレー仕様に変更 */
.discount-box {
  background: #f8fafc; /* 薄いグレー背景 */
  border: 1px solid #e2e8f0; /* 目立たない薄い枠線 */
  border-radius: 12px;
  padding: 10px 14px;
  margin: 20px 0;
  font-size: 11px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.discount-icon {
  flex-shrink: 0;
  color: #64748b; /* アイコンの落ち着いた色調 */
  margin-top: 2px;
}
.discount-text {
  flex-grow: 1;
}
.discount-text small {
  display: block;
  font-size: 9.5px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.4;
}

/* フィーチャーセクション */
.feature-section {
  padding: 40px 0 32px;
  background: #fff;
}
.feature-section h2 {
  color: #1d63d7;
  font-size: 22px;
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin-top: 0;
}
.feature-inner {
  padding: 0 20px;
}

/* プレミアム感溢れる流線背景ビジュアルエリア */
.feature-visual {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 25px;
}
.feature-visual img{
  width:100%;
}

/* すりガラス風の近未来的AIアイコンバッジ */
.feature-visual-icon {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(29, 99, 215, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 2;
}
.feature-visual-icon img {
  width: 26px;
  height: 26px;
}
.feature-visual-copy {
  position: absolute;
  left: 20px;
  top: 92px;
  color: #1e40af;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  z-index: 2;
  letter-spacing: -0.01em;
}

/* アコーディオン共通設計 */
.accordion {
  margin: 8px 0 16px;
}
details {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  margin: 0 0 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.25s ease;
}
details:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 38px 14px 42px;
  font-weight: 700;
  position: relative;
  font-size: 11.5px;
  background: #fff;
  color: #1e293b;
  line-height: 1.45;
  min-height: 52px;
  display: flex;
  align-items: center;
  user-select: none;
  transition: background 0.2s ease;
}
summary::-webkit-details-marker {
  display: none;
}
summary:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
details:nth-child(1) summary:before {
  background-image: url('https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/sparkles.svg');
}
details:nth-child(2) summary:before {
  background-image: url('https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/camera.svg');
}
details:nth-child(3) summary:before {
  background-image: url('https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/battery-charging.svg');
}
/* スペックアコーディオン用の専用アイコン指定 */
details.spec-details summary:before {
  background-image: url('https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/tablet.svg');
}
summary:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  background: url('https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/chevron-down.svg') no-repeat center;
  background-size: contain;
  transition: transform 0.25s ease;
  transform: translateY(-50%);
}
.simple {
  border: none;
  margin-top: 10px;
  background: none !important;
  box-shadow: none !important;
}
.simple summary{
  padding-left: 14px;
  background: none;
}
.simple summary:before{display: none;}

details[open] summary {
  background: #f8fafc;
  color: #1d63d7;
  border-bottom: 1px solid #e2e8f0;
}
details[open] summary:after {
  transform: translateY(-50%) rotate(180deg);
}
.detail-body {
  padding: 16px 14px;
  color: #334155;
  font-size: 11px;
  line-height: 1.75;
  background: #fff;
}
.feature-img {
  height: 130px;
  border-radius: 8px;
  margin: 8px 0 12px;
  font-size: 11px;
  background: linear-gradient(135deg,#eef6ff,#d9eaff);
  position: relative;
  overflow: hidden;
}
.feature-img:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(29,99,215,.1);
}
.feature-img img {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
}

/* スペックテーブル内デザイン調整 */
.l-inner {
  padding: 0;
  text-align: left;
}
.spec_table_area {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  padding: 12px 10px;
  font-size: 11.5px;
}
.spec_table_area.table_gray {
  background-color: #f7fafc;
}
.spec_table_txt {
  width: 120px;
  flex-shrink: 0;
  padding-right: 10px;
}
.spec_table_ttl {
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.35;
}
.spec_table_detail {
  flex-grow: 1;
  color: #1a202c;
}
.nomal_txt {
  font-size: 11.5px;
  line-height: 1.45;
  margin: 0;
}
.text-bold {
  font-weight: 700;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mt-40 {
  margin-top: 24px !important;
}
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.d-inline-block {
  display: inline-block !important;
}
.wid-20 {
  width: 18px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.text-link-pdf, .text-link-blank {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 700;
}
.coution_txt {
  font-size: 9px;
  line-height: 1.6;
  color: #718096;
  margin-top: 20px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
}

/* プレミアムプランセクション */
.plan-section {
  padding-top: 32px;
}
.plan-card-premium {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 28px 16px 24px;
  box-shadow: 0 10px 25px -5px rgba(29, 99, 215, 0.04), 0 8px 10px -6px rgba(29, 99, 215, 0.04);
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
  text-align: center;
}
.plan-card-premium img{
  width: 100px;
  display: block;
  margin: 0 auto 10px auto;
}
.plan-section .img-area{

}
.plan-section .img-area img{
  width: 90%;
  margin: 0 auto;
  display: block;
  max-width: 400px;
}
.plan-badge-new {
  display: inline-block;
  /* background: #fff5f5; */
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  /* border: 1px solid #fed7d7; */
  margin-bottom: 0;
  line-height: 1.2;
}
.plan-name-new {
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.plan-detail-rows-new {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
}
.plan-detail-item-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #f1f5f9;
}
.plan-detail-item-new span {
  color: #64748b;
}
.plan-detail-item-new strong {
  color: #1e293b;
  font-size: 16px;
  font-weight: 700;
}

/* 「電波で快適」見出しをセンタリング */
.signal-title {
  font-size: 18px !important;
  margin: 24px 0 0px !important;
  color: #111 !important;
  text-align: center !important;
  font-weight: 700;
}

.signal-title span {
    background: linear-gradient(transparent 60%, #FFFE03 60%);
}

/* 快適サポートサービスボタンのUI/立体感/アロー追加を反映 */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}
.support {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border: 1.5px solid #adcfff;
  border-radius: 12px;
  padding: 10px 28px 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #1d63d7;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(29, 99, 215, 0.04), inset 0 1px 0 #fff;
}
/* モーダル展開を促す右アローアイコン */
.support::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: url('https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/chevron-right.svg') no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  opacity: 0.8;
}
.support:hover {
  background: linear-gradient(180deg, #fbfdff 0%, #edf4ff 100%);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 99, 215, 0.12);
}
.support:hover::after {
  transform: translateY(-50%) translateX(3px);
  opacity: 1;
}
.support:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(29, 99, 215, 0.06);
}

.legal {
  font-size: 9px;
  line-height: 1.65;
  color: #444;
  background: #fafafa;
  padding: 16px 20px;
  border-top: 1px solid #eee;
  font-weight: 400;
}

/* アクセサリ */
.accessory-section {
  padding-top: 32px;
}
/* タイトルを中央寄せに */
.accessory-section h2 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.accessory-lead {
  color: var(--red);
  font-weight: 700;
  text-align: center;
  font-size: 19px;
  line-height: 1.3;
  margin: 4px 0 5px 0;
}
.accessory-lead span{
background: linear-gradient(transparent 60%, #FFFE03 60%);
}
.accessory-section .accessory-sub {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px;
  color: #e60e11;
  margin-bottom: 0px;
}
.accessory-section .accessory-sub2 {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 10px;
  color: #555;
  margin-bottom: 25px;
}

/* 画像を大きく魅力的に配置するためのCSS設計 */
.accessory-card {
  border-top: 1px solid #f0f0f0;
  padding: 16px 0;
  margin: 0 0;
  background: #fff;
  display: grid;
  grid-template-columns: 80px 1fr; /* 画像エリアを80pxに拡大 */
  gap: 12px;
  align-items: center;
}
.accessory-card:last-of-type {
  border-bottom: none;
}
.accessory-img-wrap {
  width: 80px; /* 画像格納ブロックを拡大 */
  height: 80px;
  border-radius: 8px;
  /* background: #f8fafc; */
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.accessory-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 文字サイズ改善 */
.accessory-card h3 {
  font-size: 13px; /* 11px から 13px へ拡大 */
  margin: 0 0 4px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
}
.accessory-card .caption {
  font-size: 11px; /* 8px から 11px へ拡大 */
  line-height: 1.5;
  margin: 0;
  color: #555;
}

/* 右側の円/月価格表示を大幅に拡大、最も目立たせるスタイルに強化 */
.accessory-price {
  font-size: 24px; /* 18px から 24px へ拡大 */
  color: var(--red);
  font-weight: 800; /* 数字強調 */
  text-align: right;
  line-height: 1.1;
  white-space: nowrap;
  margin-top: 15px;
}
.accessory-price span {
  font-size: 10px; /* 11px から 13px へ拡大 */
  color: var(--text);
  font-weight: normal;
  margin-left: 2px;
}

/* 【新規追加：分割支払金ラベルのCSSスタイル】 */
.accessory-price-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  margin-right: 4px;
  vertical-align: middle;
}

.accessory-section .cta {
  margin-top: 16px;
}

/* よくある質問 */
.faq-section {
  background: #fff;
  padding: 32px 20px 28px;
}
/* タイトルを中央寄せに */
.faq-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 700;
  text-align: center;
}
.faq-accordion {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1.5px solid #d8e7ff;
  border-radius: 10px;
  padding: 0;
  margin: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(29,99,215,.02);
}
.faq-item summary {
  padding: 0;
  background: #fff;
  color: #111;
  min-height: auto;
  display: block;
}
.faq-item summary:before, .faq-item summary:after {
  display: none;
}
.faq-head {
  position: relative;
  padding: 12px 38px 12px 42px;
  font-weight: 700;
  line-height: 1.45;
}
.faq-head:before {
  content: "Q";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.faq-head:after {
  content: "＋";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
}
.faq-item[open] .faq-head {
  background: #f7fbff;
  color: #164c9e;
  border-bottom: 1px solid #eef4ff;
}
.faq-item[open] .faq-head:after {
  content: "−";
}

/* 文字サイズ改善 */
.faq-cat {
  display: block;
  font-size: 11px; /* 9px から 11px へ拡大 */
  color: #6d7280;
  font-weight: 700;
  margin: 0 0 2px;
}
.q {
  display: block;
  font-weight: 700;
  font-size: 14px; /* 11px から 14px へ拡大 */
  margin: 0;
  line-height: 1.5;
}
.a {
  position: relative;
  font-size: 13px; /* 11px から 13px へ拡大 */
  color: #333;
  line-height: 1.75;
  padding: 12px 14px 14px 42px;
  border-top: none;
  background: #fafcfe;
  font-weight: 400;
}
.a:before {
  content: "A";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* 下部固定フッターCTA（ボタン単体化） */
.fixed-cta {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 340px;
  box-sizing: border-box;
}
.fixed-cta .cta {
  width: 100%;
  box-shadow: 0 10px 25px rgba(230,0,18,0.4);
}

/* 快適サポートサービス モーダルのスタイル設定 */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.service-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.service-modal-container {
  background: #fff;
  width: 92%;
  max-width: 500px;
  max-height: 85vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 44px 16px 24px;
}
.service-modal-overlay.is-open .service-modal-container {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 20px;
  line-height: 32px;
  font-weight: 300;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.plan-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-service-list > li {
  display: none;
}
.plan-service-list > li.is-active {
  display: block;
}

.service-accordion__title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 8px;
}
.service-accordion__title-main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-new {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  line-height: 1.2;
}
.icon-new::before {
  content: "NEW";
}
.service-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-box__eyecatch {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.service-box__eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}
.service-box__text {
  font-size: 12px;
  color: #334155;
  line-height: 1.6;
  font-weight: 400;
}
.service-box__text__emphasis {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.45;
}
.service-box__text__emphasis .text-size-s {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}
.service-box__notes {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 11px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-box__notes li {
  position: relative;
  padding-left: 12px;
}
.service-box__notes li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.service-box__notes.kome li::before {
  content: "※";
}
.service-box__footer {
  margin-top: 12px;
  text-align: center;
}
.service-box__more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(29, 99, 215, 0.2);
}
.service-box__more-button:hover {
  background: #154eb8;
  transform: translateY(-1px);
}
.text-strike {
  text-decoration: line-through;
  color: #94a3b8;
}

/* タブレット・PC表示スタイル拡張 */
@media (min-width: 760px) {
  :root {
    --max: 760px;
  }
  .page {
    box-shadow: 0 0 50px rgba(0,0,0,0.08);
  }
  .hero-section, .hero-cta-area, .section, .legal, .faq-section {
    /* padding-left: 60px; */
    /* padding-right: 60px; */
  }
  /* PC時：PC画像のみ表示 */
  .hero-section .pc {
    display: block !important;
  }
  .hero-section .sp {
    display: none !important;
  }

  /* PC時：MV下部最初のCTA＋注記エリアの配置調整 */
  .hero-cta-area {
    padding: 32px 60px;
  }
  .hero-cta-area .cta {
    width: 280px;
  }
 .caption {
    font-size: 11px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align:left;
  }

  /* PC時：共通CTAラッパーの余白調節 */
  .cta-wrapper {
    margin: 40px auto 24px;
  }
  .cta-wrapper .cta {
    max-width: 280px;
  }

  .badge {
    font-size: 16px;
    padding: 4px 20px;
  }
  h1 {
    font-size: 32px;
  }
  .subcopy {
    font-size: 20px;
  }
  .price-row .num {
    font-size: 84px;
  }
  .price-row .yen, .price-row .per {
    font-size: 24px;
  }
  .condition {
    font-size: 14px;
  }
  .plan-chip {
    font-size: 14px;
  }
  .warning {
    font-size: 11px;
    max-width: 560px;
    margin: 12px auto 18px;
  }
  .hero-cta-area .cta, .komikomi .cta, .cta {
    width: 280px;
    min-height: 48px;
    font-size: 15px;
  }
  .mini-card {
    font-size: 12px;
    min-height: 84px;
  }
  .mini-card:before {
    width: 32px;
    height: 32px;
    background-size: 18px;
  }
  .mini-card .label {
    font-size: 11px;
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .section h2 {
    font-size: 26px;
  }
  .device-title {
    font-size: 28px;
  }
  .device-title small {
    font-size: 16px;
  }
  .pixel-carousel {
    max-width: 340px;
  }
  .pixel-viewport {
    height: 240px;
  }
  .phone-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
    line-height: 34px;
  }

  /* PCにおけるセクションごとのグラデーションボーダーの太さ調節 */
  .section::before {
    height: 5px;
  }

  /* PCにおける内訳ステップエリアの配置調整 */
  .breakdown {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .breakdown h3 {
    font-size: 24px;
  }
  .breakdown-lead {
    font-size: 14px;
    margin-bottom: 36px;
  }
  .timeline-container {
    padding-left: 28px;
    margin-left: 14px;
  }
  .stage-card {
    padding: 24px 20px;
    margin: 0 0 36px;
  }
  .stage-card::before {
    left: -42px;
    top: 28px;
    width: 16px;
    height: 16px;
    border-width: 4px;
  }
  .stage-kicker {
    font-size: 11px;
    padding: 4px 10px;
  }
  .stage-title {
    font-size: 18px;
  }
  .stage-row {
    font-size: 13.5px;
    padding: 12px 0;
  }
  .stage-row .amount {
    font-size: 16px;
  }
  .stage-total {
    font-size: 13.5px;
    padding: 14px 18px;
  }
  .stage-total .amount {
    font-size: 28px;
  }
  .pattern-card {
    padding: 18px;
    margin: 0 0 20px;
  }
  .pattern-head {
    font-size: 14.5px;
  }
  .pattern-chip {
    font-size: 11px;
    padding: 4px 12px;
  }
  .pattern-caption {
    font-size: 11px;
    margin: 10px 0 10px;
  }
  .pattern-pay .times {
    font-size: 13.5px;
  }
  .pattern-pay .amount {
    font-size: 20px;
  }
  .pattern-pay .amount .red {
    font-size: 16px;
  }
  .pattern-sub {
    font-size: 11px;
    margin-top: 8px;
  }

  /* PCにおける便利機能エリアの配置調整 */
  .feature-section {
    padding: 56px 0 44px;
  }
  .feature-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .feature-inner {
    padding-left: 60px;
    padding-right: 60px;
  }
  .feature-visual {
    min-height: 220px;
    margin-bottom: 28px;
  }
  .feature-visual-phone {
    right: 80px;
    width: 120px;
    height: 190px;
    border-radius: 20px 20px 0 0;
    border-width: 7px;
    bottom: -20px;
  }
  .feature-visual-phone::before {
    width: 32px;
    height: 4px;
  }
  .feature-visual-icon {
    left: 80px;
    top: 36px;
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
  .feature-visual-icon img {
    width: 36px;
    height: 36px;
  }
  .feature-visual-copy {
    left: 80px;
    top: 132px;
    font-size: 20px;
  }
  summary {
    font-size: 13.5px;
    padding: 15px 44px 15px 48px;
    min-height: 56px;
  }
  summary:before {
    left: 14px;
    width: 20px;
    height: 20px;
  }
  .detail-body {
    font-size: 12px;
    padding: 20px 18px;
  }
  .feature-img {
    height: 180px;
  }
  .feature-img img {
    width: 32px;
    height: 32px;
  }

  .caption, .legal {
    font-size: 11px;
  }
  .feature-section h2 {
    font-size: 26px;
    margin-bottom: 45px;
  }

  /* PCにおけるスペックテーブルのアコーディオン内サイズ拡張 */
  .spec_table_area {
    font-size: 13px;
    padding: 14px 16px;
  }
  .spec_table_txt {
    width: 150px;
  }
  .nomal_txt {
    font-size: 13px;
  }
  .coution_txt {
    font-size: 11px;
    margin-top: 28px;
    padding-top: 20px;
  }

  /* PCにおける新規プランカードエリアのスケーリング拡張 */
  .plan-card-premium {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 36px 32px 32px;
  }
  .plan-card-premium img{
  max-width: 100px;
  display: block;
  margin: 0 auto 20px auto;
  }
  .plan-badge-new {
    font-size: 20px;
    padding: 6px 16px;
  }
  .plan-name-new {
    font-size: 36px;
    margin-bottom: 24px;
  }
  .plan-detail-item-new {
    font-size: 14px;
    padding: 12px 18px;
  }
  .plan-detail-item-new strong {
    font-size: 18px;
  }

  /* PC用快適サポートサービスボタンの調整 */
  .support {
    font-size: 13px;
    min-height: 64px;
    padding: 12px 32px 12px 18px;
    border-radius: 14px;
  }

  /* PC用アクセサリセクション調整 */
  .accessory-section h2 {
    font-size: 28px;
  }
  .accessory-card {
    grid-template-columns: 110px 1fr; /* PC用グリッド幅を最適に拡大 */
    gap: 16px;
    padding: 16px 0;
  }

  /* 文字サイズ改善：PC表示時 */
  .accessory-card h3 {
    font-size: 16px; /* 13px から 16px へ拡大 */
  }
  .accessory-card .caption {
    font-size: 12px; /* 9px から 12px へ拡大 */
  }

  .accessory-img-wrap {
    width: 96px; /* PC用に画像をさらに大きく表示 */
    height: 96px;
    border-radius: 12px;
    padding: 8px;
  }
  /* PC用のアクセサリ価格フォントサイズの拡大 */
  .accessory-price {
    font-size: 32px;
  }

  /* 【追加：PC用の分割支払金ラベルの拡大】 */
  .accessory-price-label {
    font-size: 13px;
  }

  /* PC用の割引ボックスの最大幅とマージン調整 */
  .discount-box {
    max-width: 520px;
    margin: 24px auto;
    font-size: 12px;
    padding: 12px 16px;
  }
  .discount-box .discount-text small {
    font-size: 10.5px;
  }

  /* PC用よくある質問セクション調整 */
  .faq-section h2 {
    font-size: 24px;
  }

  /* 文字サイズ改善：PC表示時 */
  .faq-cat {
    font-size: 12px; /* 11px から 12px へ拡大 */
  }
  .q {
    font-size: 16px; /* 13px から 16px へ拡大 */
  }
  .a {
    font-size: 14.5px; /* 12px から 14.5px へ拡大 */
    padding: 14px 16px 16px 48px;
  }

  /* PC用のフロート固定フッターCTAのサイズ調整 */
  .fixed-cta {
    width: 340px;
  }
  .fixed-cta .cta {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  /* PC用サービス詳細モーダルスケーリング */
  .service-modal-container {
    max-width: 540px;
    padding: 50px 32px 32px;
  }
  .service-accordion__title {
    font-size: 18px;
  }
  .service-box__text {
    font-size: 13.5px;
  }
  .service-box__text__emphasis {
    font-size: 16px;
  }
}

/* フッターのブラッシュアップ */
footer{
  background-color: #1d63d7;
  color: #fff;
  padding: 30px 20px 80px 20px;
}

.footer-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    gap: 8px 0; /* 行間の調整 */
}

.footer-nav-item {
    font-size: 12px;
    line-height: 1.2;
    padding: 0 10px;
    border-right: 1px solid #ffffff; /* gray-700相当の薄い区切り線 */
    margin-bottom: 4px;
}

.footer-nav-item:last-child {
    border-right: none;
}

.footer-nav-item a {
    color: #ffffff; /* gray-500 */
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap; /* 折り返しを防いで綺麗に整列 */
}

.footer-nav-item a:hover {
    color: #9ca3af; /* gray-400 */
    text-decoration: underline;
}

.copyright {
    font-size: 13px;
    color: #fff; /* gray-600 */
    margin-top: 24px;
    letter-spacing: 0.025em;
}
