@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&display=swap");

:root {
  --bg: #fffbf5;
  --bg-soft: #fff4e8;
  --surface: #ffffff;
  --text: #3f342e;
  --text-muted: #786a62;
  --primary: #2bb89a;
  --primary-dark: #1f9b80;
  --primary-soft: #e8f8f3;
  --accent: #ff7a6b;
  --accent-dark: #f05a49;
  --accent-soft: #fff0ee;
  --yellow-soft: #fef6d8;
  --yellow-border: #fde68a;
  --border: #f0e4d7;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(133, 98, 70, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* PR Bar (ステマ規制対策) */
.pr-bar {
  background: #f5ebe0;
  color: #6b5b52;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  padding: 6px 12px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

.header-nav {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.header-nav a {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  transition: background 0.15s, color 0.15s;
}

.header-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff1e6 0%, #fffbf5 100%);
  padding: 28px 0 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--accent-dark);
  border: 2px solid #ffd5ce;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(255, 122, 107, 0.12);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 5.6vw, 31px);
  line-height: 1.4;
  color: var(--text);
}

.hero-highlight {
  background: linear-gradient(transparent 60%, #fde68a 60%);
  color: var(--accent-dark);
  padding: 0 4px;
}

.hero-lead {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 18px;
  font-weight: 500;
}

/* ファーストビュー動画カード（スッキリ見やすく・温かみ重視） */
.hero-video-card {
  max-width: 560px;
  margin: 0 auto 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 14px 36px rgba(153, 112, 82, 0.16);
  position: relative;
  background: #fff4e8;
  aspect-ratio: 16 / 9;
}

.hero-video-card video,
.section-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, rgba(63, 52, 46, 0) 0%, rgba(63, 52, 46, 0.68) 100%);
  color: #ffffff;
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.video-caption-text {
  font-size: clamp(13px, 3.4vw, 15.5px);
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.video-caption-pill {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

/* セクション内の挿絵動画カード */
.section-video-card {
  max-width: 540px;
  margin: 0 auto 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 28px rgba(153, 112, 82, 0.13);
  position: relative;
  background: #fff4e8;
  aspect-ratio: 16 / 9;
}

/* ファーストビュー：ミニ動画風モーショングラフィックス（バックアップ用） */
.hero-motion-wrap {
  max-width: 540px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 2px solid #f3e4d7;
  box-shadow: 0 14px 34px rgba(153, 112, 82, 0.13);
  overflow: hidden;
  text-align: left;
  position: relative;
}

.motion-progress-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 16px 0;
  background: #ffffff;
}

.motion-bar-track {
  height: 4px;
  background: #f1e6dc;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
}

.motion-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
}

.motion-bar-track.done .motion-bar-fill {
  width: 100%;
  transition: none;
}

.motion-bar-track.active .motion-bar-fill {
  width: 100%;
  transition: width 4.2s linear;
}

.motion-stage {
  position: relative;
  min-height: 235px;
  padding: 18px 20px 20px;
  display: flex;
  align-items: center;
}

.motion-slide {
  display: none;
  width: 100%;
  animation: slideFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-slide.active {
  display: block;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motion-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.motion-tag-worry {
  background: #fee2e2;
  color: #b91c1c;
}

.motion-tag-relief {
  background: #dcfce7;
  color: #15803d;
}

.motion-tag-happy {
  background: #fef3c7;
  color: #b45309;
}

.motion-headline {
  font-size: clamp(17px, 4.4vw, 21px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--text);
}

.motion-worry-list {
  display: grid;
  gap: 8px;
}

.motion-worry-item {
  background: #fff7f5;
  border: 1px solid #fed7d2;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #7c2d12;
  animation: popItem 0.4s ease both;
}

.motion-worry-item:nth-child(2) {
  animation-delay: 0.2s;
}

.motion-relief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.motion-relief-box {
  background: #f0fdf8;
  border: 1.5px solid #a7f3d0;
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
  animation: popItem 0.4s ease both;
}

.motion-relief-box:nth-child(2) { animation-delay: 0.15s; }
.motion-relief-box:nth-child(3) { animation-delay: 0.3s; }

.motion-relief-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

.motion-relief-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.3;
}

.motion-saving-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: popItem 0.45s ease both;
}

.motion-price-drop {
  font-size: 13px;
  font-weight: 700;
  color: #78350f;
}

.motion-price-big {
  font-size: 24px;
  font-weight: 900;
  color: #d9462f;
  line-height: 1.2;
}

@keyframes popItem {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.motion-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-top: 1px dashed var(--border);
  font-size: 11.5px;
  color: var(--text-muted);
  background: #fffdf9;
}

.motion-ctrl-btn {
  background: var(--bg-soft);
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-point {
  background: #ffffff;
  border: 1.5px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 900;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-accent {
  background: linear-gradient(135deg, #ff8a7a 0%, #ff6b5a 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 107, 90, 0.34);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ff7a6b 0%, #f05a49 100%);
  transform: translateY(-1px);
}

/* キラッと光るシマー演出 */
.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-22deg);
  animation: shimmer 3.2s infinite;
}

@keyframes shimmer {
  0% { left: -75%; }
  35%, 100% { left: 135%; }
}

.btn-primary {
  background: linear-gradient(135deg, #34c7a7 0%, #24a88b 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(43, 184, 154, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: var(--surface);
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
}

.btn-share {
  background: #ffffff;
  color: #16a34a;
  border: 2px solid #bbf7d0;
  font-size: 13.5px;
  padding: 10px 18px;
}

.btn-share:hover {
  background: #f0fdf4;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 36px 0;
}

.section-pastel {
  background: #fff4e8;
}

.section-header {
  text-align: center;
  margin-bottom: 22px;
}

.section-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.section-title {
  margin: 4px 0 8px;
  font-size: clamp(20px, 4.8vw, 25px);
  line-height: 1.4;
}

.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Cards */
.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

/* ほっこり吹き出し会話 */
.chat-bubble-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
}

.chat-avatar {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: var(--yellow-soft);
}

.chat-bubble {
  background: #ffffff;
  border: 2px solid var(--yellow-border);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 13.5px;
  position: relative;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.12);
}

.chat-name {
  font-size: 11.5px;
  font-weight: 900;
  color: #b45309;
  margin-bottom: 2px;
}

/* 動く節約シミュレーター */
.sim-card {
  background: #ffffff;
  border: 2px solid #bae6fd;
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.sim-control {
  margin-bottom: 16px;
}

.sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.sim-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-dark);
}

.sim-slider {
  width: 100%;
  accent-color: var(--accent);
  height: 8px;
  cursor: pointer;
}

.sim-bars {
  background: var(--bg);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0;
}

.sim-bar-row {
  margin-bottom: 10px;
}

.sim-bar-row:last-child {
  margin-bottom: 0;
}

.sim-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sim-bar-track {
  background: #ede4db;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
}

.sim-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-bar-before {
  background: #cbd5e1;
}

.sim-bar-after {
  background: linear-gradient(90deg, #34c7a7, #2bb89a);
}

.sim-result-banner {
  background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  color: #78350f;
}

.sim-result-big {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 900;
  color: #d9462f;
  line-height: 1.2;
}

/* Diagnosis */
.diag-card {
  border: 2px solid #a7f3d0;
  background: #ffffff;
}

.diag-step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.diag-question {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 14px;
}

.diag-options {
  display: grid;
  gap: 10px;
}

.diag-option-btn {
  width: 100%;
  text-align: left;
  font-family: inherit;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.diag-option-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.diag-option-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.diag-result-box {
  background: var(--primary-soft);
  border: 2px solid var(--primary);
  border-radius: 18px;
  padding: 18px;
}

.diag-result-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.diag-result-title {
  font-size: 23px;
  font-weight: 900;
  margin: 0 0 6px;
}

.diag-saving {
  display: inline-block;
  background: #fef9c3;
  color: #854d0e;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 8px 0 12px;
}

.diag-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.diag-reset {
  background: none;
  border: none;
  font-family: inherit;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
}

/* Carrier Cards & Brand Plate */
.carrier-grid {
  display: grid;
  gap: 18px;
}

.carrier-card {
  position: relative;
  overflow: hidden;
}

.brand-plate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.brand-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.brand-info {
  flex: 1;
}

.carrier-name {
  font-size: 20px;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
}

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

.carrier-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  margin-top: 4px;
}

.official-banner-slot {
  text-align: center;
  margin-bottom: 12px;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}

.spec-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12.5px;
}

.rec-box {
  background: var(--bg);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 13px;
}

.rec-box-title {
  font-weight: 900;
  font-size: 12.5px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.rec-box ul {
  margin: 0;
  padding-left: 18px;
}

.carrier-cta-group {
  display: grid;
  gap: 10px;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table.compare-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: #fff4e8;
  font-weight: 900;
  white-space: nowrap;
}

/* Online Merit Cards */
.merit-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .merit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.merit-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.merit-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.merit-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.merit-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Hikari Section */
.hikari-card {
  border: 2px solid #fed7aa;
}

.hikari-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hikari-item {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.hikari-item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.hikari-name {
  font-weight: 900;
  font-size: 16px;
}

.hikari-pair-tag {
  font-size: 11.5px;
  font-weight: 900;
  background: #ffedd5;
  color: #9a3412;
  padding: 3px 10px;
  border-radius: 999px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 15px 16px;
  font-weight: 900;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 16px 15px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Guide Page */
.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.guide-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}

.guide-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg);
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.check-row input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
}

.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-circle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-box {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  color: #9a3412;
  border-radius: 16px;
  padding: 14px;
  font-size: 13px;
}

/* Footer */
.site-footer {
  background: #3f342e;
  color: #e7ddd5;
  padding: 28px 0 92px;
  margin-top: 32px;
  font-size: 12.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: underline;
}

.updated-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 8px;
}

/* トップページ：大きな2択カードボタン */
.hub-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 auto;
}

.hub-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 18px 12px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hub-card-btn:hover {
  transform: translateY(-2px);
}

.hub-card-mobile {
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf8 100%);
}

.hub-card-hikari {
  border-color: #fed7aa;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.hub-card-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.hub-card-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.hub-card-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.hub-card-arrow {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
  color: var(--primary-dark);
}

.hub-card-hikari .hub-card-arrow {
  color: var(--accent-dark);
}

/* キャリア絞り込みピルボタン（2ページ目） */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-pill {
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(43, 184, 154, 0.25);
}

/* スマホ下部固定：アプリ風ボトムナビ */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -4px 16px rgba(63, 52, 46, 0.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.bottom-nav-inner {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 4px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.bottom-nav-icon {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.bottom-nav-item.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}
