:root {
  --blue: #1a5fd6;
  --blue-deep: #0f3f99;
  --blue-soft: #eef5ff;
  --blue-line: #d5e4fa;
  --ink: #1b2440;
  --ink-2: #4a5470;
  --ink-3: #7a839b;
  --pink: #ff3d6e;
  --pink-2: #ff6b8f;
  --pink-soft: #fff0f4;
  --line: #e6eaf2;
  --bg: #ffffff;
  --page: #f2f4f8;
  --radius: 14px;
  --gutter: 20px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

/* スマホ幅の1カラムで中央寄せ */
.site-header, .article, .site-footer {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
}

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__bar { padding: 14px var(--gutter) 6px; }
.logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.logo__it { color: var(--blue); }
.logo__tagline { font-size: 11px; color: var(--ink-3); line-height: 1.4; }
.tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px var(--gutter) 0;
  font-size: 13px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__item { color: var(--ink-2); padding: 8px 0 10px; }
.tabs__item.is-active { color: var(--blue); font-weight: 700; border-bottom: 3px solid var(--blue); }
.tabs__pr {
  margin-left: auto;
  background: #9aa3b5;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
}

/* ヒーロー */
.hero { position: relative; overflow: hidden; min-height: 420px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; padding: 28px var(--gutter) 22px; }
.hero__catch {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  transform: rotate(-4deg);
  transform-origin: left;
  margin-bottom: 18px;
  font-family: "Klee One", "Hiragino Maru Gothic ProN", var(--font);
}
.hero__title {
  font-size: 31px;
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: .01em;
}
.hero__title em { font-style: normal; color: var(--pink); font-size: 1.12em; }
.hero__lead { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.hero__meta { margin-top: 14px; font-size: 12px; color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; }
.hero__meta span { border-left: 1px solid var(--ink-3); padding-left: 10px; }

/* CTAボタン */
.cta-wrap { padding: 8px var(--gutter) 28px; background: var(--bg); }
.cta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-2), var(--pink));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 61, 110, .35);
  transition: transform .15s;
}
.cta:active { transform: scale(.98); }
.cta__tag {
  flex-shrink: 0;
  background: #fff;
  color: var(--pink);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.cta__arrow { margin-left: auto; font-size: 24px; line-height: 1; }

/* 本文 */
.block { padding: 8px var(--gutter) 32px; }
.h2 {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
  padding-left: 14px;
  border-left: 5px solid var(--blue);
  margin: 8px 0 16px;
}
.h2 em { font-style: normal; color: var(--blue); font-size: 1.3em; }
.h3 { font-size: 17px; line-height: 1.5; font-weight: 800; margin-bottom: 8px; }
.text { font-size: 15.5px; color: var(--ink); margin-bottom: 16px; }
.text:last-child { margin-bottom: 0; }
.marker { background: linear-gradient(transparent 60%, #ffe066 60%); font-weight: 800; }
.source { font-size: 11px; color: var(--ink-3); line-height: 1.6; margin: 10px 0 16px; }
.notice {
  font-size: 12px;
  color: var(--ink-2);
  background: #f6f7fa;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.card { border-radius: var(--radius); padding: 20px 18px; margin-bottom: 20px; }
.card--soft { background: var(--blue-soft); }
.card .h2 { margin-top: 0; }
.card__sub { text-align: center; font-size: 12.5px; color: var(--ink-2); margin: -6px 0 12px; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding: 7px 0 7px 32px;
  font-size: 15px;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.checklist--open li::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='2' y='2' width='18' height='18' rx='5' fill='none' stroke='%231a5fd6' stroke-width='2'/%3E%3Cpath d='M6.5 11.5l3 3L16 8' fill='none' stroke='%231a5fd6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  border-radius: 6px;
}
.block > .checklist { margin-bottom: 16px; }

/* データ */
.stats { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(27, 36, 64, .05);
}
.stat__title { font-size: 13px; font-weight: 800; line-height: 1.45; text-align: center; }
.bars { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.bars__axis { stroke: var(--line); stroke-width: 1; }
.bars__bar path { fill: #9cc0f5; }
.bars__bar--strong path { fill: var(--blue); }
.bars__bar:hover path, .bars__bar:focus path { filter: brightness(1.08); }
.bars__bar:focus { outline: none; }
.bars__value { font-size: 12px; font-weight: 800; fill: var(--ink); text-anchor: middle; }
.bars__label { font-size: 11px; fill: var(--ink-2); text-anchor: middle; }
.stat--number { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.stat__hero { font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.2; margin: 6px 0; }
.stat__hero span { font-size: 44px; color: var(--blue); letter-spacing: -.02em; }
.stat__note { font-size: 11px; color: var(--ink-3); line-height: 1.5; }

/* 理由 */
.reason {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  margin-bottom: 14px;
}
.reason__num {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.reason .text { font-size: 15px; }

/* ステップ */
.steps { list-style: none; padding: 0; margin-bottom: 18px; }
.step { position: relative; padding: 0 0 22px 18px; border-left: 2px solid var(--blue-line); margin-left: 6px; }
.step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #fff;
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step__num { display: block; font-size: 12px; color: var(--blue); font-weight: 900; letter-spacing: .06em; }
.step .text { font-size: 15px; }

/* Before / After */
.ba { margin: 4px 0 16px; }
.ba__item { border-radius: 10px; padding: 12px 14px; }
.ba__item--before { background: #f3f5f9; }
.ba__item--after { background: var(--pink-soft); border: 1px solid #ffc9d6; }
.ba__label { font-size: 12px; font-weight: 900; color: var(--ink-3); letter-spacing: .05em; }
.ba__item--after .ba__label { color: var(--pink); }
.ba__text { font-size: 14px; line-height: 1.7; }
.ba__arrow { text-align: center; color: var(--pink); font-weight: 900; line-height: 1.6; }

/* モデルケース */
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(27, 36, 64, .05);
}
.case__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.avatar { flex-shrink: 0; width: 64px; height: 64px; }
.case__title { font-size: 15.5px; line-height: 1.5; font-weight: 800; }
.case__profile { font-size: 12px; color: var(--ink-3); line-height: 1.6; margin-top: 4px; }
.case__salary { display: flex; align-items: stretch; gap: 6px; margin-bottom: 12px; }
.case__before, .case__after {
  flex: 1;
  text-align: center;
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}
.case__before { background: var(--blue-soft); color: var(--ink-2); }
.case__after { background: var(--pink-soft); color: var(--pink); }
.case__before span, .case__after span { display: block; font-size: 11px; font-weight: 700; }
.case__arrow { align-self: center; color: var(--pink); font-weight: 900; font-size: 20px; }
.case__voice {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  background: #f8f9fc;
  border-radius: 8px;
  padding: 10px 12px;
}
.case__voice::before { content: "“"; color: var(--ink-3); font-weight: 900; margin-right: 2px; }

/* タイプ比較 */
.table-scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 16px; padding: 14px var(--gutter) 4px; }
.types { width: 100%; min-width: 340px; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.55; }
.types th, .types td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.types thead th { font-weight: 800; background: #f6f8fc; font-size: 14px; }
.types tbody th { font-weight: 700; color: var(--ink-2); font-size: 12px; background: #fafbfd; width: 60px; }
.types__pick { border-left: 2px solid var(--pink) !important; border-right: 2px solid var(--pink) !important; background: #fff7f9; }
.types thead .types__pick { position: relative; background: #fff0f4; color: var(--ink); border-top: 2px solid var(--pink); }
.types tbody tr:last-child .types__pick { border-bottom: 2px solid var(--pink); }
.types__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 4px;
}

/* FAQ */
.faq dt {
  font-weight: 800;
  font-size: 15px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  margin-top: 14px;
}
.faq dt::before, .faq dd::before {
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 22px;
}
.faq dt::before { content: "Q"; background: var(--blue); top: 0; }
.faq dd { position: relative; padding: 6px 0 14px 30px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.faq dd::before { content: "A"; background: var(--pink); top: 8px; }

/* 安心ポイント */
.points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.point { background: var(--blue-soft); border-radius: 12px; padding: 14px 6px; text-align: center; color: var(--blue); }
.point svg { width: 34px; height: 34px; }
.point__title { color: var(--ink); font-weight: 800; font-size: 13.5px; margin-top: 4px; line-height: 1.4; }
.point__text { color: var(--ink-3); font-size: 11px; line-height: 1.55; margin-top: 4px; }

/* PRバナー枠 */
.closing { padding-bottom: 40px; }
.pr-banner {
  position: relative;
  margin-top: 24px;
  border: 2px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 22px 14px 16px;
  text-align: center;
  background: linear-gradient(180deg, var(--blue-soft), #fff);
}
.pr-banner__label {
  position: absolute;
  top: 8px;
  left: 10px;
  background: #9aa3b5;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 0 6px;
  border-radius: 3px;
}
.pr-banner__lead { font-weight: 800; color: var(--blue); font-size: 14px; margin-bottom: 10px; }
.pr-banner__slot { min-height: 90px; display: grid; place-items: center; }
.pr-banner__slot img { max-width: 100%; height: auto; }
.pr-banner__pending { font-size: 13px; color: var(--ink-3); }
.pr-banner__note { font-size: 11px; color: var(--ink-3); margin-top: 8px; }

/* フッター */
.site-footer {
  padding: 24px var(--gutter) calc(110px + env(safe-area-inset-bottom, 0px));
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.7;
  border-top: 1px solid var(--line);
}
.site-footer p + p { margin-top: 8px; }
.site-footer__copy { text-align: center; }

/* 追従CTA */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 110%);
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 63, 153, .96);
  transition: transform .25s ease;
  z-index: 10;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
.sticky-cta__tag {
  flex-shrink: 0;
  background: #fff;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  padding: 6px 8px;
  border-radius: 8px;
}
.sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-2), var(--pink));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

/* ホーム画面追加ポップアップ（下からのシート） */
.install-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(27, 36, 64, .2);
  padding: 22px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  animation: sheet-up .3s ease;
}
@keyframes sheet-up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.install-open .sticky-cta { transform: translate(-50%, 110%); }
.install-sheet__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font-size: 24px;
  color: var(--ink-3);
  cursor: pointer;
}
.install-sheet__head { display: flex; gap: 12px; align-items: center; padding-right: 28px; margin-bottom: 16px; }
.install-sheet__icon { flex-shrink: 0; border-radius: 12px; }
.install-sheet__title { font-weight: 900; font-size: 16px; line-height: 1.4; }
.install-sheet__text { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.install-sheet__btn {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.install-sheet__steps {
  margin: 0;
  padding: 12px 14px 12px 34px;
  background: var(--blue-soft);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.install-sheet__steps li + li { margin-top: 6px; }
.install-sheet__share { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: var(--blue); margin: 0 2px; }
.install-sheet__share svg { width: 18px; height: 18px; }
.install-sheet__hint { font-size: 11.5px; color: var(--ink-3); }
.install-sheet__later {
  display: block;
  margin: 8px auto 0;
  padding: 8px 16px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta, .cta { transition: none; }
  .install-sheet { animation: none; }
}
