@charset "UTF-8";
/* =========================================================
   Sales Billing Assistant  2026.11 リニューアル
   /sba/css/style202611.css
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  --navy: #1d3d6b;
  --navy-deep: #13294a;
  --blue: #264d84;
  --accent: #1e9fd8;
  --accent-light: #e8f5fc;
  --orange: #f08a24;
  --orange-dark: #d97510;
  --yellow: #ffe45c;
  --text: #2b2f36;
  --text-sub: #5d6673;
  --line: #dde3ea;
  --bg-gray: #f4f7fa;
  --white: #fff;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 72px;
  --container: 1160px;
  --font: Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--blue); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.45; font-weight: 700; color: var(--navy-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- 共通レイアウト ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.text-center { text-align: center; }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head__en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sec-head__title { font-size: clamp(24px, 3.2vw, 34px); margin: 0; }
.sec-head__lead { margin: 18px auto 0; max-width: 760px; color: var(--text-sub); }
.section-navy .sec-head__en { color: var(--yellow); }
.section-navy .sec-head__lead { color: rgba(255,255,255,.85); }

.marker { background: linear-gradient(transparent 62%, rgba(255,228,92,.75) 62%); }
.nowrap { white-space: nowrap; }

/* ---------- ボタン（影なし） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-width: 220px;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}
.btn::after {
  content: "";
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--accent-light); color: var(--navy); }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm { min-width: 0; padding: 9px 22px; font-size: 14px; white-space: nowrap; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: height .25s, border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { width: 250px; height: auto; display: block; }

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; align-items: center; gap: 4px; }
.gnav__list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
}
.gnav__list a:hover, .gnav__list .is-active > a { color: var(--blue); background: var(--accent-light); }
.gnav__cta { display: flex; gap: 10px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  margin-left: -10px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, background-color .25s;
  content: "";
}
.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before { top: -7px; left: 0; margin-left: 0; }
.menu-toggle span::after { top: 7px; left: 0; margin-left: 0; }
.is-menu-open .menu-toggle span { background: transparent; }
.is-menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー（元のトップ画像 bg-image-2.jpg） ---------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  background: #29aa96;
  color: #fff;
}
.hero__visual { max-width: 1920px; margin: 0 auto; }
.hero__visual img { display: block; width: 100%; height: auto; }
.hero__inner { background: var(--navy); padding: 36px 0 44px; }
.hero__copy { max-width: 640px; margin: 0 auto; padding: 0 20px; text-align: center; }
.hero__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.35;
  color: #fff;
  letter-spacing: .04em;
}
.hero__lead { margin-bottom: 24px; font-size: clamp(15px, 1.8vw, 18px); font-weight: 500; color: rgba(255,255,255,.95); }
.hero .btn-group { justify-content: center; }

/* PC：画像中央の空きスペース（グラフと人物の間）に重ねる */
@media (min-width: 1200px) {
  .hero__inner {
    position: absolute;
    inset: 0;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    background: none;
    display: flex;
    align-items: center;
  }
  .hero__copy {
    position: absolute;
    left: 34%;
    width: 30%;
    max-width: none;
    padding: 0;
    text-shadow: 0 1px 8px rgba(0, 70, 60, .35);
  }
  .hero__title { font-size: clamp(34px, 2.6vw, 50px); }
  .hero__lead { font-size: clamp(16px, 1.1vw, 20px); margin-bottom: 28px; }
  .hero .btn-group { flex-direction: column; align-items: center; gap: 12px; }
  .hero .btn { min-width: 0; width: min(100%, 300px); text-shadow: none; }
}

/* ---------- SBAとは（イメージ動画＋本文） ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about__movie {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e3eef8 url("../video/video-lg2.jpg") center / cover no-repeat;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}
.about__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__body { max-width: 860px; }
.about__body p { font-size: 16.5px; }
.about__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.about__link {
  display: block;
  padding: 20px 24px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--text);
}
.about__link:hover { border-color: var(--accent); color: var(--text); background: var(--accent-light); }
.about__link small { display: block; color: var(--text-sub); font-size: 13px; }
.about__link strong { color: var(--navy); font-size: 16px; }

/* ---------- 課題 ---------- */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.issue-card {
  position: relative;
  padding: 36px 28px 30px;
  background: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
}
.issue-card__img {
  width: 104px; height: 104px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-light);
}
.issue-card__text { margin: 0; color: var(--blue); font-weight: 700; font-size: 16px; line-height: 1.75; }
.issue-card__num {
  position: absolute;
  top: 16px; left: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent);
}
.issue-arrow {
  width: 0; height: 0;
  margin: 56px auto 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 26px solid var(--navy);
}

/* ---------- 2カラム（画像＋テキスト） ---------- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media + .media { margin-top: 96px; }
.media--reverse .media__img { order: 2; }
.media__img img { width: 100%; border-radius: var(--radius-lg); }
.media__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--accent-light);
  color: var(--blue);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.media__title { font-size: clamp(22px, 2.6vw, 28px); }
.media__body p:last-child { margin-bottom: 0; }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- コスト比較 ---------- */
.cost-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.cost-tab {
  padding: 10px 28px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer;
}
.cost-tab.is-active, .cost-tab:hover { background: var(--navy); color: #fff; }
.cost-panel { display: none; }
.cost-panel.is-active { display: block; }
.cost-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.cost-box {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}
.cost-box--sba { border: 3px solid var(--accent); }
.cost-box__head { font-weight: 700; font-size: 16px; margin-bottom: 10px; color: var(--text-sub); }
.cost-box--sba .cost-box__head { color: var(--accent); }
.cost-box__price { font-size: clamp(34px, 4.4vw, 46px); font-weight: 700; line-height: 1.2; color: var(--navy-deep); }
.cost-box__price small { font-size: 16px; font-weight: 700; margin-left: 4px; }
.cost-box__unit { margin: 8px 0 0; color: var(--text-sub); font-size: 14px; }
.cost-box__bar { height: 12px; margin: 18px auto 0; background: var(--bg-gray); border-radius: 6px; overflow: hidden; }
.cost-box__bar span { display: block; height: 100%; background: #9aa6b4; border-radius: 6px; width: 0; transition: width 1s ease; }
.cost-box--sba .cost-box__bar span { background: var(--accent); }
.cost-vs {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; align-self: center;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-weight: 700;
}
.cost-result {
  margin-top: 28px;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}
.cost-result strong { color: var(--yellow); font-size: 1.6em; margin: 0 4px; }
.cost-note { margin-top: 18px; font-size: 13px; color: var(--text-sub); }
.cost-note ul li { margin-bottom: 4px; }

/* ---------- CTA帯（パララックス画像はそのまま） ---------- */
.cta {
  position: relative;
  padding: 96px 0;
  color: #fff;
  text-align: center;
  background: var(--navy-deep) url("../images/parallax-01.jpg") center / cover no-repeat fixed;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(19,41,74,.78); }
.cta > .container { position: relative; }
.cta__title { color: #fff; font-size: clamp(22px, 3vw, 32px); }
.cta__lead { margin-bottom: 32px; color: rgba(255,255,255,.9); }

/* ---------- 3ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-card.is-current { border: 3px solid var(--accent); }
.step-card__num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  padding: 4px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.step-card__img { background: var(--bg-gray); }
.step-card__img img { display: block; width: 100%; height: auto; }
.step-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.step-card__title { font-size: 19px; margin-bottom: 10px; }
.step-card__text { flex: 1; font-size: 15px; color: var(--text-sub); }
.step-card__more { margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--blue); }
.step-card__more::after { content: " →"; }
.step-card.is-current .step-card__more { color: var(--accent); }
.step-card.is-current .step-card__more::after { content: ""; }
.step-card__link { position: absolute; inset: 0; z-index: 2; }
.steps .step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% - 12px); right: -22px;
  z-index: 3;
  border-left: 14px solid var(--accent);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* ---------- 導入事例 ---------- */
.case { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.case__title { font-size: clamp(22px, 2.8vw, 30px); }
.case__block { margin-bottom: 28px; padding: 26px 28px; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.case__block-title {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 14px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700; font-size: 14px;
}
.case__block--after .case__block-title { background: var(--accent); color: #fff; }
.case__list li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 15px; line-height: 1.8; }
.case__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.case__block--after .case__list li::before { background: var(--accent); }
.case__img img { width: 100%; border-radius: var(--radius-lg); }
.case__comment { margin-top: 28px; padding: 30px 30px 24px; border-radius: var(--radius-lg); background: #fff; color: var(--text); }
.case__comment-title { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 17px; margin-bottom: 14px; }
.case__comment-title::before {
  content: "“";
  font-size: 48px; line-height: .6; font-family: Georgia, serif; color: var(--accent);
}
.case__comment p { font-size: 15px; line-height: 1.9; }
.case__comment-more { display: none; }
.case__comment.is-open .case__comment-more { display: block; }
.case__toggle {
  display: block;
  margin: 4px auto 0;
  padding: 6px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.case__toggle:hover { background: var(--navy); color: #fff; }

/* ---------- 料金 ---------- */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price__img img { width: 100%; border-radius: var(--radius-lg); }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { width: 46%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.price-table td { font-size: 15px; }
.price-table td strong { font-size: 24px; color: var(--navy-deep); margin-right: 2px; }
.price-table .sub { display: block; font-size: 12px; font-weight: 400; opacity: .85; }
.price-notes li { position: relative; padding-left: 1.2em; font-size: 14px; color: var(--text-sub); margin-bottom: 6px; }
.price-notes li::before { content: "※"; position: absolute; left: 0; }
.price__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 下層ページ ---------- */
.page-head {
  margin-top: var(--header-h);
  padding: 56px 0 48px;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--blue) 100%);
  color: #fff;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 20px; font-size: 13px; }
.breadcrumb li { display: flex; align-items: center; color: rgba(255,255,255,.75); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.page-head__step {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.page-head__title { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0; }

.step-progress { display: flex; justify-content: center; gap: 0; margin: 0 auto 56px; max-width: 640px; }
.step-progress li { flex: 1; position: relative; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-sub); }
.step-progress li::before {
  content: attr(data-step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  color: var(--text-sub); font-size: 17px;
  position: relative; z-index: 1;
}
.step-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px; left: 50%;
  width: 100%; height: 2px;
  background: var(--line);
}
.step-progress li.is-done::before { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.step-progress li.is-done::after { background: var(--accent); }
.step-progress li.is-current { color: var(--navy); }
.step-progress li.is-current::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-progress a { color: inherit; }
.step-progress a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

.intro-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-gray);
  font-size: 16.5px;
}
.intro-box p:last-child { margin-bottom: 0; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; }
.pager a {
  flex: 1;
  display: block;
  max-width: 48%;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.pager a:hover { border-color: var(--accent); background: var(--accent-light); color: var(--text); }
.pager small { display: block; color: var(--accent); font-weight: 700; font-size: 13px; }
.pager strong { color: var(--navy); }
.pager .pager__next { margin-left: auto; text-align: right; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1.4fr 1fr; gap: 40px; padding: 72px 0 56px; }
.footer-title { color: #fff; font-size: 15px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-company { color: #fff; font-weight: 700; line-height: 1.6; }
.footer-company small { display: block; font-weight: 400; opacity: .7; }
.footer-links li { margin-bottom: 8px; }
.footer-links a::before { content: "›"; margin-right: 8px; opacity: .6; }
.footer-products li { margin-bottom: 16px; }
.footer-products strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.footer-products a { font-size: 13px; line-height: 1.7; display: block; }
.footer-cta p { font-size: 13px; margin-bottom: 8px; }
.footer-cta .btn { width: 100%; min-width: 0; margin-bottom: 20px; }
.site-footer .btn-white, .site-footer .btn-white:hover { color: var(--navy); }
.site-footer .btn-primary, .site-footer .btn-primary:hover { color: #fff; }
.footer-copy { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- ページトップ ---------- */
.pagetop {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.pagetop::before {
  content: "";
  position: absolute;
  top: 20px; left: 18px;
  width: 11px; height: 11px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}
.pagetop.is-show { opacity: 1; visibility: visible; }
.pagetop:hover { background: var(--accent); }

/* ---------- スマホ固定CTA ---------- */
.sp-cta { display: none; }

/* ---------- スクロールアニメーション ---------- */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-fade.is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-fade { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1439px) {
  .gnav { gap: 20px; }
  .gnav__list { gap: 0; }
  .gnav__list a { padding: 8px 9px; }
}

@media (max-width: 1279px) {
  :root { --header-h: 68px; }
  .site-header__logo img { width: 230px; }
  .menu-toggle { display: block; }
  .gnav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 40px;
    background: #fff;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, visibility .25s, transform .25s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .is-menu-open { overflow: hidden; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__list li { border-bottom: 1px solid var(--line); }
  .gnav__list a { padding: 16px 4px; font-size: 16px; border-radius: 0; }
  .gnav__list a:hover, .gnav__list .is-active > a { background: transparent; }
  .gnav__cta { flex-direction: column; margin-top: 24px; }
  .gnav__cta .btn-sm { padding: 14px 20px; font-size: 16px; }

}

@media (max-width: 1023px) {
  .section { padding: 72px 0; }
  .issue-grid { grid-template-columns: 1fr; gap: 20px; max-width: 560px; margin: 0 auto; }
  .issue-card { display: flex; align-items: center; gap: 20px; padding: 24px; text-align: left; }
  .issue-card__img { width: 84px; height: 84px; margin: 0; flex-shrink: 0; }
  .issue-card__num { top: 10px; left: auto; right: 16px; }

  .media, .price, .case { grid-template-columns: 1fr; gap: 32px; }
  .media--reverse .media__img { order: 0; }
  .media + .media { margin-top: 64px; }
  .media__img, .price__img { max-width: 640px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__movie { max-width: 720px; width: 100%; margin: 0 auto; }

  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 36px; }
  .steps .step-card:not(:last-child)::after {
    top: auto; bottom: -28px; right: calc(50% - 12px);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid var(--accent);
    border-bottom: 0;
  }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta { background-attachment: scroll; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .site-header__logo img { width: 200px; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head__lead { text-align: left; }

  .hero__inner { padding: 28px 0 32px; }

  .about__links { grid-template-columns: 1fr; }

  .cost-compare { grid-template-columns: 1fr; gap: 12px; }
  .cost-vs { width: 44px; height: 44px; font-size: 14px; }
  .cost-box { padding: 24px 20px; }
  .cost-result { font-size: 16px; padding: 18px; }
  .cost-tab { padding: 8px 18px; font-size: 14px; }

  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; min-width: 0; }

  .case__block, .case__comment { padding: 22px 20px; }

  .price-table th, .price-table td { display: block; width: 100%; padding: 12px 16px; }
  .price-table th { border-bottom: 0; }
  .price__btns .btn { width: 100%; }

  .page-head { padding: 36px 0 32px; }
  .intro-box { padding: 24px 20px; font-size: 15px; }
  .step-progress { margin-bottom: 40px; }
  .step-progress li { font-size: 11px; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }

  .sp-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px;
    gap: 8px;
    transform: translateY(100%);
    transition: transform .3s;
  }
  .sp-cta.is-show { transform: none; }
  .sp-cta a {
    flex: 1;
    padding: 12px 6px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700; font-size: 14px;
    color: #fff;
  }
  .sp-cta__doc { background: var(--navy); }
  .sp-cta__trial { background: var(--orange); }
  .sp-cta a:hover { color: #fff; opacity: .9; }
  body.has-sp-cta { padding-bottom: 64px; }
  .pagetop { bottom: 76px; right: 14px; width: 42px; height: 42px; }
  .pagetop::before { top: 17px; left: 15px; }
}

/* フェード後もカードのホバー移動を有効に */
.step-card.is-inview:hover { transform: translateY(-4px); }
