:root {
  color-scheme: light;
  --ink: #1d2f5c;
  --ink-soft: #3f4c68;
  --ink-light: #6a7690;
  --paper: rgba(255, 255, 255, 0.96);
  --paper-trans: rgba(255, 255, 255, 0.82);
  --gold: #f0b429;
  --gold-light: #ffd98a;
  --primary-blue: #2465ed;
  --primary-dark: #102b5c;
  --primary-violet: #2465ed;
  --accent-orange: #ec6b1f;
  --accent-cyan: #0099b8;
  --accent-green: #2a9d8f;
  --accent-red: #e63946;
  --border-subtle: rgba(217, 210, 232, 0.85);
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #eef5fc;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eef5fc;
  font-family: var(--font-base);
  line-height: 1.75;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: opacity 0.18s ease;
}

a:hover {
  opacity: 0.8;
}

/* スマホメイン・PC中央配置のラッパー */
.page {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 0 16px 40px;
  position: relative;
  background: #fff;
  min-height: 100vh;
}

/* グローバル固定トップバー */
.global-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 -16px 16px;
  padding: 10px 16px;
  min-height: 68px;
  background: #fff;
  border-bottom: 1px solid #e5edf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-badge {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link.cta-btn {
  background: var(--primary-blue);
  color: #fff;
  padding: 0 12px;
  border-radius: 10px;
}

/* パンくずリスト */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 6px 0 14px;
  padding: 4px 2px;
}

.breadcrumb a {
  color: var(--primary-blue);
  font-weight: 700;
}

.breadcrumb span.sep {
  color: var(--ink-light);
}

/* ヒーローセクション */
.hero {
  position: relative;
  margin: 0 -16px;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  padding: 22px 20px 28px;
  color: var(--ink);
  background: #fff;
  text-align: center;
}

.hero-content::before, .hero-content::after {
  content: none;
}
.hero-content::before { top: -65px; left: -45px; }
.hero-content::after { right: -50px; bottom: -70px; }

.hero-kicker {
  display: inline-block;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.hero-title {
  margin: 4px 0 12px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-title em {
  font-style: normal;
  color: var(--primary-blue);
  border-bottom: 2px solid var(--gold);
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

/* アクションボタン群 */
.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.badge-btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.badge-btn.primary {
  background: var(--primary-blue);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-btn.secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* カード型コンテナ */
.card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  background: #fff;
  scroll-margin-top: 84px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 16px;
  color: var(--ink);
  background: #f2f7ff;
  border-bottom: 1px solid #e5edf7;
}

.card-head h2 {
  margin: 0;
  font-family: var(--font-base);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: left;
  text-shadow: none;
}

.card-head h1 {
  margin: 0;
  font-family: var(--font-base);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: left;
  text-shadow: none;
}

.section-number {
  flex: none;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tone-violet .card-head {
  background: #f2f7ff;
}

.tone-amber .card-head {
  background: #f2f7ff;
}

.tone-pink .card-head {
  background: #f2f7ff;
}

.tone-teal .card-head {
  background: #f2f7ff;
}

.card-body {
  padding: 18px 16px;
}

.card-body p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.card-body p:last-child {
  margin-bottom: 0;
}

.card-body p strong {
  color: #2c467f;
}

.lead-copy {
  color: var(--ink);
  font-size: 16px !important;
  font-weight: 800;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 16px !important;
}

/* 3ステップ特設セクション */
.three-steps-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-card {
  border: 1px solid #e2ddf0;
  border-radius: 16px;
  background: #f8f9ff;
  padding: 14px;
  position: relative;
  box-shadow: 0 4px 12px rgba(60, 70, 120, 0.05);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(236, 107, 31, 0.28);
  flex-shrink: 0;
}

.step-title {
  margin: 0;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

.step-title span.marker {
  background: none;
  padding: 0 2px;
}

.step-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.step-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: #0d1e38;
  aspect-ratio: 9/16;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.step-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  font-weight: 700;
}

.step-desc small {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.7;
}

.step-arrow-down {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-blue);
  font-size: 23px;
  font-weight: 900;
  margin: -6px 0;
}

/* 特徴カード一覧 */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-box {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f4f6fd;
  border-left: 4px solid var(--primary-blue);
}

.feature-box.amber { border-left-color: var(--accent-orange); }
.feature-box.violet { border-left-color: var(--primary-violet); }
.feature-box.teal { border-left-color: var(--accent-cyan); }

.feature-thumb {
  width: 76px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background: #0f1c2a;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.feature-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* お知らせ一覧・トピックス */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  background: #f3f7fd;
  border: 1px solid #cbdcf1;
  border-radius: 12px;
}

.news-item:hover {
  background: #eaf2ff;
  border-color: #8eb4e7;
}

.news-item-link {
  display: block;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.news-date {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.category-tag {
  font-size: 12px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.04em;
}

.tag-update { background: linear-gradient(135deg, #1976d2, #0d47a1); }
.tag-event { background: linear-gradient(135deg, #e65100, #f57c00); }
.tag-important { background: linear-gradient(135deg, #c62828, #e53935); }
.tag-info { background: linear-gradient(135deg, #512da8, #7b1fa2); }

.news-item-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
}

.news-item-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カテゴリフィルタータブ */
.tab-bar {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding-bottom: 6px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f2f6fc;
  border: 1px solid transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--primary-blue);
  color: #fff;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.page-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.page-btn.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

/* 目次（INDEX）ボックス */
.index-box {
  background: #f4f8ff;
  border: 1px solid #dce7f5;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.index-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.index-list li a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-blue);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.15s ease;
}

.index-list li a:hover {
  background: #fff;
}

/* バランス調整テーブル */
.table-shell {
  overflow-x: auto;
  border: 1px solid #d9d2e8;
  border-radius: 14px;
  background: #fff;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

thead th {
  padding: 9px 8px;
  color: #fff;
  background: var(--primary-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: left;
  line-height: 1.35;
}

td, tbody th {
  padding: 9px 8px;
  border-top: 1px solid #e6e2f0;
  vertical-align: middle;
  text-align: left;
}

tbody th {
  color: var(--ink);
  background: #f7f5fc;
  font-size: 14px;
  font-weight: 900;
}

td {
  color: #354a77;
  font-weight: 600;
}

.badge-buff {
  display: inline-block;
  white-space: nowrap;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #a5d6a7;
}

.badge-nerf {
  display: inline-block;
  white-space: nowrap;
  background: #ffebee;
  color: #c62828;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #ef9a9a;
}

.badge-adj {
  display: inline-block;
  white-space: nowrap;
  background: #fff3e0;
  color: #ef6c00;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #ffcc80;
}

.change-diff {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diff-before {
  color: #888;
  text-decoration: line-through;
  font-size: 13px;
}

.diff-after {
  color: #1b5e20;
  font-weight: 800;
}

/* 期間バナー */
.period-banner {
  padding: 18px 16px;
  border-radius: 12px;
  color: var(--ink);
  background: #edf5ff;
  text-align: center;
  margin-bottom: 20px;
}

.period-kicker {
  display: block;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.period-text {
  display: block;
  margin-top: 4px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

/* リッチな画像表示枠 */
.shot-figure {
  margin: 14px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  border: 1px solid #d9d2e8;
  background: #0d1e38;
}

.shot-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-caption {
  padding: 8px 12px;
  background: #fff;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  border-top: 1px solid #eee;
  font-weight: 600;
}

/* アコーディオン・トグル */
.toggle-item {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #f8fbff;
}

.toggle-item summary {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 40px 9px 14px;
  cursor: pointer;
  list-style: none;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
  background: #edf5ff;
}

.toggle-item summary::-webkit-details-marker {
  display: none;
}

.toggle-item summary::after {
  position: absolute;
  right: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(112, 66, 200, 0.15);
  content: "⌄";
  font-size: 16px;
  color: var(--primary-violet);
  transition: transform 0.2s ease;
}

.toggle-item[open] summary::after {
  transform: rotate(180deg);
}

.toggle-content {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 注記ボックス */
.note-box {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 2px solid var(--gold);
  border-radius: 8px 18px 8px 18px;
  background: linear-gradient(135deg, #fffbe2, #fff4e6);
  color: #6b4a12;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

/* 参加手順リスト */
.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.numbered-step-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: #f4f6fd;
}

.numbered-step-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.numbered-step-content strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.numbered-step-content p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* 報酬グリッド */
.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.reward-card {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  padding: 10px;
  text-align: center;
}

.reward-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: #0f1c2a;
  margin-bottom: 6px;
}

.reward-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 2px;
}

.reward-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* CTAセクション */
.cta-banner {
  position: relative;
  margin-top: 32px;
  padding: 28px 18px;
  border: 1px solid #dceaff;
  border-radius: 16px;
  color: var(--ink);
  background: #edf5ff;
  text-align: center;
  scroll-margin-top: 84px;
}

.cta-banner::after {
  content: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin: 0 0 6px;
  font-family: var(--font-base);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.cta-banner p {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.store-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.store-link:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.store-link img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

/* フッター */
footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #dce7f5;
  color: #6a5a42;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
}

.copyright {
  color: #6e6580;
}

/* Shared blue-and-white identity */
.brand-mark { display: block; width: 64px; height: auto; }
.global-bar a:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #2465ed; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.news-meta { flex-wrap: wrap; }
.period-kicker { color: var(--primary-blue); }
.step-badge, .numbered-step-badge, .badge-btn { box-shadow: none; }
.badge-btn.secondary { border: 1px solid #dce7f5; background: #f2f7ff; }
.feature-box, .feature-box.amber, .feature-box.violet, .feature-box.teal { border-left-color: #85b6ff; background: #f5f9ff; }
.tag-update { background: #2455b4; color: #fff; }
.tag-event { background: #21734f; color: #fff; }
.tag-important { background: #bb3038; color: #fff; }
.tag-info { background: #4b5b75; color: #fff; }
.note-box { border: 1px solid #dce7f5; border-radius: 12px; background: #f4f8ff; color: var(--ink-soft); font-weight: 600; }
footer, .copyright { color: var(--ink-soft); }
@media (max-width: 359px) {
  .global-bar { gap: 8px; padding-inline: 12px; }
  .brand-logo { flex-direction: column; gap: 1px; align-items: flex-start; }
  .brand-mark { width: 58px; }
  .nav-links { gap: 6px; }
  .nav-link.cta-btn { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* パックの操作ボタンまでスクリーンショット全体を表示 */
.pack-shots .step-img-wrap { aspect-ratio: auto; }
.pack-shots .step-img-wrap img { height: auto; }

/* 育成チャットと結果のスクリーンショット全体を表示 */
.training-shots .step-img-wrap { aspect-ratio: auto; }
.training-shots .step-img-wrap img { height: auto; }

/* 3大魅力を伝える共通モチーフ */
.feature-thumb { height: 76px; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.feature-thumb img { object-fit: contain; }

/* TOPの見出し・短い説明は、意味のまとまりで折り返す。 */
.battle-top .text-phrase {
  display: inline-block;
  max-width: 100%;
}
.battle-top .text-sentence {
  display: block;
}
.battle-top .card-head h2,
.battle-top .feature-text {
  min-width: 0;
}
.battle-top .card-head h2,
.battle-top .lead-copy,
.battle-top .feature-text h3,
.battle-top .news-item-title,
.battle-top .cta-banner h2,
.battle-top .cta-banner > p {
  text-wrap: balance;
}
.battle-top .step-desc small,
.battle-top .feature-text p {
  text-wrap: pretty;
}
