/* BoneCare+ LP
   レイアウトは施主提示の参考画像（2026-10-01）に沿う。配色はアプリ本体の系統。 */
:root {
  --brand: #1F5E9E;
  --brand-dark: #184C82;
  --navy: #1E3A5F;
  --blue: #2B7BE5;
  --blue-soft: #E8F2FC;
  --tint: #F1F6FC;
  --line: #DCE5EF;
  --ink: #1F2937;
  --muted: #5B6675;
  --pink: #E7718A;

  --font: 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --wrap: 1200px;
  --gap: clamp(16px, 2.4vw, 24px);
  --radius: 10px;
  --shadow: 0 2px 4px rgba(30,58,95,.04), 0 8px 24px -12px rgba(30,58,95,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fine { margin-top: 16px; color: var(--muted); font-size: 0.8125rem; line-height: 1.7; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 6px;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn .ic { font-size: 1.15em; }
.btn--lg { min-height: 58px; padding: 12px 36px; font-size: 1.0625rem; min-width: 15em; }
.btn--outline { background: rgba(255,255,255,.85); color: var(--brand); }
.btn--outline:hover { background: #fff; color: var(--brand-dark); }
.btn--small { min-height: 40px; padding: 6px 18px; font-size: 0.9375rem; }
.btn--white { background: #fff; border-color: #fff; color: var(--brand); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--line:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--white:hover { background: var(--blue-soft); border-color: var(--blue-soft); }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 0; font-weight: 700; font-size: 1.5rem; color: var(--brand); text-decoration: none; letter-spacing: 0.01em; }
.logo span { color: var(--blue); }
.logo small { margin-left: 10px; font-size: 0.75rem; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.9375rem; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; font: inherit; font-size: 0.9375rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); cursor: pointer; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: #F7FAFE; border-bottom: 1px solid var(--line); }
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  background: url(img/concept-photo.webp) 78% center / cover no-repeat;
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #F7FAFE 0%, rgba(247,250,254,.96) 22%, rgba(247,250,254,.55) 42%, rgba(247,250,254,0) 62%);
}
.hero__inner { position: relative; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 80px); }
.hero__title { font-size: clamp(2rem, 3.9vw, 3.25rem); line-height: 1.38; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.hero__title span { display: block; }
.hero__sub { margin-top: 14px; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 700; color: #3A4B63; }
.hero__lead { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 36px; }
.hero__points li { display: grid; grid-template-columns: 44px auto; justify-content: start; grid-template-rows: auto auto; column-gap: 12px; align-items: center; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.hero__points b { color: var(--navy); font-size: 1rem; }
.ring { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--brand); font-size: 1.5rem; }

/* ---------- セクション ---------- */
.sec { padding: clamp(56px, 7vw, 88px) 0; }
.sec--tight { padding-top: clamp(40px, 5vw, 56px); }
.sec--tint { background: var(--tint); }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 28px; }
.sec__title { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.4; font-weight: 700; color: var(--navy); }
.sec__sub { color: var(--muted); font-size: 0.9375rem; }

/* ---------- 困りごと ---------- */
.pain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 3fr); gap: 32px; align-items: start; }
.pain__head .sec__sub { margin-top: 12px; }
.nw { display: inline-block; white-space: nowrap; }
.pain__head .sec__title { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.pain__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pain__card { overflow: hidden; }
.pain__card h3 { padding: 18px 20px 4px; font-size: 1.1875rem; color: var(--navy); }
.pain__card p { padding: 0 20px 20px; font-size: 0.9375rem; color: var(--muted); line-height: 1.7; }
.pain__photo { aspect-ratio: 16 / 9; overflow: hidden; background: #EAF1F9; }
.pain__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------- 1画面（注釈つき画面） ---------- */
.anno { position: relative; }
.anno__shot { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(30,58,95,.35); overflow: hidden; }
.anno__box {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 2px solid var(--pink);
  border-radius: 6px;
  background: rgba(231,113,138,.05);
}
.anno__box b, .anno__list li::before {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--pink); color: #fff;
  font-size: 0.8125rem; font-weight: 700; line-height: 1;
}
.anno__box b { position: absolute; top: -12px; left: -12px; }
.anno__list { counter-reset: anno; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.anno__list li { counter-increment: anno; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; box-shadow: var(--shadow); }
.anno__list li::before { content: counter(anno); grid-row: span 2; }
.anno__list h3 { font-size: 1rem; color: var(--brand); line-height: 1.5; }
.anno__list p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* 広い画面では、参考画像どおり画面の左右に吹き出しを置く */
@media (min-width: 1100px) {
  .anno { padding: 0 236px; }
  .anno__list { display: block; margin: 0; }
  .anno__list li { position: absolute; top: var(--t); width: 210px; transform: translateY(-50%); }
  .anno__list li.l { left: 0; }
  .anno__list li.r { right: 0; }
  .anno__list li::after { content: ''; position: absolute; top: 50%; width: 26px; height: 2px; background: var(--pink); }
  .anno__list li.l::after { right: -27px; }
  .anno__list li.r::after { left: -27px; }
}

/* ---------- 主な機能 ---------- */
/* 3枚×2行。画像を大きく見せるため */
.feats { counter-reset: feat; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.feat { counter-increment: feat; padding: 24px 24px 26px; display: flex; flex-direction: column; }
.feat::before { content: counter(feat, decimal-leading-zero); font-size: 1.75rem; font-weight: 700; color: var(--blue); line-height: 1.2; }
.feat h3 { margin-top: 6px; font-size: 1.1875rem; line-height: 1.5; color: var(--navy); }
.feat__img { display: block; margin: 12px 0 14px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #F5F7FA; cursor: zoom-in; position: relative; }
.feat__img::after { content: '拡大'; position: absolute; right: 8px; bottom: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(30,58,95,.75); color: #fff; font-size: 0.75rem; opacity: 0; transition: opacity .15s; }
.feat__img:hover::after, .feat__img:focus-visible::after { opacity: 1; }
.feat__img img { width: 100%; height: 100%; object-fit: contain; }
.feat p { font-size: 0.9375rem; color: var(--muted); line-height: 1.75; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 0.75rem; vertical-align: 2px; }
.feat--tagged { position: relative; }
.feat--tagged .tag { position: absolute; top: 26px; right: 24px; margin: 0; }

/* ---------- 職種 ---------- */
.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.role { padding: 14px 14px 20px; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-content: start; }
.role__photo { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; object-position: center top; background: #EAF1F9; }
.role__photo + h3 { grid-column: 1 / -1; margin-top: 14px; padding: 0 6px; }
.role__photo ~ ul { padding: 0 6px; }
.role__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 1.75rem; }
.role h3 { font-size: 1.0625rem; color: var(--navy); line-height: 1.4; align-self: center; }
.role ul { grid-column: 1 / -1; margin-top: 14px; display: grid; gap: 4px; }
.role li { position: relative; padding-left: 14px; font-size: 0.875rem; color: var(--ink); line-height: 1.6; }
.role li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.role li.soon { justify-self: start; padding: 0 8px; background: #FFF4CC; border-radius: 4px; font-size: 0.8125rem; color: #6B4E00; }
.role li.soon::before { display: none; }
.roles-next { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); align-items: center; padding-top: 28px; border-top: 1px dashed #B9C8DA; }
.roles-next__head h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 6px; }
.roles-next__head p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.roles--next { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.role--next { padding: 20px; background: rgba(255,255,255,.55); border: 1.5px dashed #B9C8DA; border-radius: var(--radius); }
.role__icon--next { background: #EEF2F7; color: #7A8CA5; }
.role--next h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.role--next li::before { background: #9AAAC0; }
.state-tag { padding: 0 8px; border-radius: 999px; border: 1px solid #B9C8DA; background: #fff; color: var(--muted); font-size: 0.75rem; font-weight: 400; line-height: 1.6; }

/* ---------- 数字 ---------- */
.nums { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.4fr); gap: var(--gap); }
.num { padding: 24px; display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.num__icon { grid-row: span 3; width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 2.1rem; }
.num__val { font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 700; color: var(--brand); line-height: 1.1; letter-spacing: 0; }
.num__val small { font-size: 0.5em; margin-left: 2px; }
.num__label { font-weight: 700; color: var(--navy); }
.num__src { font-size: 0.8125rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 8px; }
.quote { padding: 24px 28px; background: linear-gradient(135deg, #fff 0%, var(--blue-soft) 100%); }
.quote blockquote p { font-size: 1.125rem; font-weight: 700; color: var(--navy); line-height: 1.7; }
.quote blockquote p::before { content: '「'; }
.quote blockquote p::after { content: '」'; }
.quote figcaption { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.quote__more { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: 0.875rem; color: var(--ink); }

/* ---------- 現場の声 ---------- */
.field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--gap); align-items: stretch; }
.maker {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px;
  border: 1px solid var(--line);
  /* 開発者の似顔絵をカード全体に。白を薄く重ねて少し淡くする */
  background:
    linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)),
    url(img/maker-bg.webp) right 0 top 0 / auto 102% no-repeat,
    #DCEAF8;
  box-shadow: var(--shadow);
}
.maker figcaption {
  background: rgba(255,255,255,.92);
  border-radius: 8px;
  padding: 16px 22px;
  box-shadow: 0 6px 20px -10px rgba(30,58,95,.35);
  font-size: 0.875rem; color: var(--muted); line-height: 1.7;
}
.maker figcaption b { display: block; color: var(--navy); font-size: 1rem; }
.field__table { overflow: hidden; }
.field__table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.field__table th { background: #DCEAF8; color: var(--navy); font-weight: 700; padding: 12px 18px; text-align: center; }
.field__table th + th, .field__table td + td { border-left: 1px solid var(--line); }
.field__table td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
.field__table td:first-child { color: var(--muted); }
.field__table td:last-child { position: relative; padding-left: 34px; color: var(--ink); }
.field__table td:last-child::before { content: ''; position: absolute; left: 16px; top: 22px; border: 6px solid transparent; border-left: 8px solid var(--blue); }
.who { display: block; justify-self: start; width: fit-content; margin-bottom: 4px; padding: 0 8px; border-radius: 4px; background: #EEE6FB; color: #6B3FB0; font-size: 0.8125rem; }

/* ---------- 大事にしていること ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.value { display: flex; align-items: center; gap: 20px; padding: 22px 26px; }
.value__icon { font-size: 3rem; color: var(--brand); stroke-width: 1.4; }
.value h3 { font-size: 1.125rem; color: var(--navy); }
.value p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ---------- プラン ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--gap); align-items: stretch; }
.plan { padding: 24px 28px 28px; }
.plan__name { font-weight: 700; color: var(--blue); font-size: 1.125rem; }
.plan__catch { margin: 6px 0 16px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); color: var(--navy); line-height: 1.4; }
.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 28px; font-size: 0.9375rem; }
.checks li::before { content: ''; position: absolute; left: 4px; top: .35em; width: 12px; height: 7px; border-left: 2.5px solid #22A35A; border-bottom: 2.5px solid #22A35A; transform: rotate(-45deg); }
.plan--full { padding: 0 0 28px; border: 2px solid var(--blue); overflow: hidden; }
.plan--full .plan__name { display: flex; align-items: center; justify-content: space-between; background: var(--blue); color: #fff; padding: 10px 28px; }
.plan--full .plan__catch, .plan--full .checks { padding: 0 28px; }
.plan--full .plan__catch { margin-top: 16px; }
.plan--full .checks li::before { border-color: var(--blue); }
.plan__rec { background: #FFE9A8; color: #6B4E00; border-radius: 999px; padding: 0 12px; font-size: 0.8125rem; }
.plan--price { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.plan__price-title { font-size: 1.25rem; color: var(--navy); }
.plan--price p { font-size: 0.9375rem; color: var(--muted); }
.plan--price .btn { width: 100%; max-width: 300px; }
.plan__terms { font-weight: 700; color: var(--navy) !important; }

/* ---------- 流れ ---------- */
.flow-panel { background: #F1F3F6; border-radius: var(--radius); padding: 44px 28px 28px; }
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.flow__step {
  counter-increment: step;
  position: relative;
  background: #fff;
  border-radius: 4px;
  padding: 40px 20px 26px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
/* 上に半分はみ出す番号 */
.flow__step::before {
  content: counter(step);
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 1.25rem; font-weight: 700;
}
/* 次の段への三角 */
.flow__step:not(:last-child)::after {
  content: '';
  position: absolute; top: 50%; right: -24px; transform: translateY(-50%);
  border: 10px solid transparent; border-left: 14px solid #8FB4E3; border-right: 0;
}
.flow__icon { width: 80px; height: 80px; margin-bottom: 14px; fill: none; stroke: var(--brand); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.flow__icon .acc { stroke: #8BA7DA; }
.flow__step h3 { font-size: 1.1875rem; line-height: 1.45; color: var(--brand); margin-bottom: 14px; min-height: 1.45em; }
.flow__step p { font-size: 0.875rem; line-height: 1.85; color: var(--ink); text-align: left; }

.env { margin-top: var(--gap); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 28px; }
.env__title { font-size: 1rem; color: var(--navy); padding-right: 24px; border-right: 1px solid var(--line); white-space: nowrap; }
.env__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.env__list li { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.env__list .ic { font-size: 1.75rem; color: var(--brand); }
.env__list b { display: block; font-size: 0.9375rem; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gap); align-items: start; }
.faq details { box-shadow: none; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { font-size: 1.25rem; transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 20px 16px; font-size: 0.9375rem; color: var(--ink); }

/* ---------- フッター ---------- */
.foot { background: #24639E; color: #E3ECF6; padding: 40px 0; }
.foot__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px; }
.logo__name { white-space: nowrap; }
.logo--light { flex-direction: column; align-items: flex-end; gap: 0; color: #fff; padding-right: 32px; border-right: 1px solid rgba(255,255,255,.25); }
.logo--light span { color: #fff; }
.logo--light small { margin: 0; color: #CFE0F1; }
.foot__title { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; color: #fff; line-height: 1.4; }
.foot__cta p:not(.foot__title) { font-size: 0.9375rem; }
.foot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__links { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 0.8125rem; }
.foot__links p:last-child { margin-left: auto; }
.foot__links a { color: #fff; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1180px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roles-next { grid-template-columns: minmax(0, 1fr); }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote { grid-column: 1 / -1; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--price { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 52px; }
  .flow__step:nth-child(3)::after { display: none; }
  .env { grid-template-columns: minmax(0, 1fr); }
  .env__title { border: 0; padding: 0; }
  .env__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .foot__cta { grid-column: 1 / -1; grid-row: 2; }
  .foot__actions { grid-row: 3; }
  .logo--light { grid-column: auto; }
  .logo--light { align-items: flex-start; border: 0; padding: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }

  .hero__photo { position: relative; width: auto; height: 240px; inset: auto; background-position: 70% center; }
  .hero__photo::after { background: linear-gradient(0deg, #F7FAFE 0%, rgba(247,250,254,0) 40%); }
  .hero__inner { padding-top: 8px; }

  .pain { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pain__cards, .values { grid-template-columns: minmax(0, 1fr); }
  .anno__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats, .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step:nth-child(3)::after { display: block; }
  .flow__step:nth-child(2n)::after { display: none; }
  .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .maker { min-height: 440px; background-size: auto, 108% auto, auto; background-position: 0 0, right -10% top -4%, 0 0; }
  .hero__actions .btn { width: 100%; }
  .hero__points { gap: 14px; flex-direction: column; }
  .anno__list, .feats, .roles, .roles--next, .nums, .plans { grid-template-columns: minmax(0, 1fr); }
  .flow-panel { padding: 40px 16px 20px; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .flow__step:not(:last-child)::after { display: block; top: auto; bottom: -30px; right: auto; left: 50%; z-index: 1; transform: translateX(-50%); border: 12px solid transparent; border-top: 14px solid #8FB4E3; border-bottom: 0; }
  .flow__step p { text-align: center; }
  .env__list { grid-template-columns: minmax(0, 1fr); }
  .foot__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot__actions, .foot .btn { width: 100%; }
  .field__table td, .field__table th { padding-left: 12px; padding-right: 12px; }
  .field__table td:last-child { padding-left: 28px; }
  .field__table td:last-child::before { left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- 画面の拡大表示 ---------- */
.zoom { max-width: min(1400px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #fff; overflow: auto; }
.zoom::backdrop { background: rgba(15,30,50,.72); }
.zoom__img { display: block; width: 100%; height: auto; }
.zoom__close { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(30,58,95,.85); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 1; }

/* ---------- 表示時のフワッと（スクロールで見えたときに1回だけ） ---------- */
/* JS が付ける .reveal-on のときだけ隠す。JS が無い・動きを減らす設定のときは最初から見える */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease-out, transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-on .hero__inner > * { opacity: 0; transform: translateY(14px); animation: hero-in .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal-on .hero__inner > :nth-child(2) { animation-delay: .1s; }
  .reveal-on .hero__inner > :nth-child(3) { animation-delay: .2s; }
  .reveal-on .hero__inner > :nth-child(4) { animation-delay: .3s; }
  .reveal-on .hero__inner > :nth-child(5) { animation-delay: .4s; }
}
@keyframes hero-in { to { opacity: 1; transform: none; } }
