/* 052 シフトラ ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #ffffff;
  --c-soft: #f1f5fb;
  --c-ink: #0f1d33;
  --c-accent: #2563eb;
  --c-accent-text: #1d4ed8;
  --c-pale: #dbeafe;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #dde3ec;
  --radius: 24px;
  --font: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.eyebrow { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--c-accent-text); margin-bottom: 8px; }
.h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.5; color: var(--c-ink); letter-spacing: .02em; }
.note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .25s, color .25s, border-color .25s; border: 2px solid transparent; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--blue { background: var(--c-accent); color: #fff; }
.btn--blue:hover, .btn--blue:focus-visible { background: var(--c-ink); }
.btn--line { border-color: var(--c-ink); color: var(--c-ink); background: #fff; }
.btn--line:hover, .btn--line:focus-visible { background: var(--c-ink); color: #fff; }
.btn--white { background: #fff; color: var(--c-ink); }
.btn--white:hover, .btn--white:focus-visible { background: var(--c-pale); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: #fff; color: var(--c-ink); }

/* ===== ヘッダー ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 20px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line); }
.logo { display: flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 30px; height: 30px; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; }
@media (min-width: 1080px) {
  .header__inner { padding: 0 40px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 8px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--c-line); padding: 8px 20px 20px; display: flex; flex-direction: column; box-shadow: 0 20px 30px rgba(15, 29, 51, .08); }
.spmenu__nav a { display: flex; align-items: center; min-height: 56px; color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--c-line); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①（A03）：全画面の写真 → 角丸カード ===== */
/* 動かない版：最初から余白のある角丸カード */
.hero__stage { padding: 84px 0 0; }
.hero__frame { position: relative; margin: 0 20px; height: 62svh; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--c-ink); }
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 51, 0) 35%, rgba(15, 29, 51, .78)); }
.hero__title { position: absolute; z-index: 1; left: calc(var(--in-side, 0px) + 24px); right: calc(var(--in-side, 0px) + 24px); bottom: calc(var(--in-bottom, 0px) + 24px); color: #fff; }
.hero__eyebrow { display: inline-block; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .92); color: var(--c-ink); padding: 2px 12px; border-radius: 999px; margin-bottom: 12px; }
.hero h1 { font-weight: 700; font-size: clamp(30px, 5vw, 64px); line-height: 1.35; letter-spacing: .01em; }
.hero__below { padding: 28px 20px 64px; }
.hero__lead { font-size: 16px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 1080px) {
  .hero__stage { padding-top: 88px; }
  .hero__frame { margin: 0 6vw; height: 64vh; }
  .hero__title { left: calc(var(--in-side, 0px) + 56px); bottom: calc(var(--in-bottom, 0px) + 48px); }
  .hero__below { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 28px 6vw 88px; }
  .hero__btns { margin-top: 0; flex-wrap: nowrap; }
}
/* 動く版：写真は画面いっぱいから始まり、JS が角丸の切り抜きに縮める */
.is-motion .hero__stage { position: relative; height: 100vh; padding: 0; }
.is-motion .hero__frame { position: absolute; inset: 0; margin: 0; height: auto; min-height: 0; border-radius: 0; }
.is-motion .hero__below { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 32px; }

/* ===== 悩み ===== */
.pain { padding: 88px 0; background: var(--c-soft); }
.pain__list { display: grid; gap: 16px; margin-top: 32px; }
.pain__list li { background: #fff; border-radius: 16px; padding: 28px 24px; }
.pain__list svg { width: 44px; height: 44px; color: var(--c-accent); }
.pain__list h3 { font-size: 19px; color: var(--c-ink); margin: 12px 0 6px; }
@media (min-width: 768px) { .pain__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .pain { padding: 128px 0; } }

/* ===== 演出②（B03）：できること ===== */
.features { padding: 88px 0 40px; }
.features__inner { max-width: 1160px; margin: 40px auto 0; padding: 0 20px; }
.features__visual { display: none; }
.feat { padding: 32px 0; border-top: 1px solid var(--c-line); }
.feat__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-soft); }
.feat__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .feat__media { aspect-ratio: 1 / 1; } .ui { width: 68%; } }
.feat__text { margin-top: 20px; }
.feat__no { font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--c-accent-text); }
.feat h3 { font-size: 22px; line-height: 1.5; color: var(--c-ink); margin: 4px 0 8px; }

/* 画面の見本（HTMLで作る。写真に文字を描かせないため） */
.ui { position: absolute; right: 16px; bottom: 16px; width: min(78%, 330px); background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 20px 40px rgba(15, 29, 51, .22); color: var(--c-ink); font-size: 15px; line-height: 1.6; }
.ui__title { font-weight: 700; font-size: 15px; color: var(--c-sub); margin-bottom: 8px; }
.ui__rows p { display: grid; grid-template-columns: 3.6em 1fr; align-items: center; gap: 8px; min-height: 30px; }
.ui__rows i { display: block; height: 14px; border-radius: 7px; background: var(--c-accent); margin-left: calc(var(--s) * 10%); width: calc(var(--w) * 10%); }
.ui__rows p:nth-child(2n) i { background: #60a5fa; }
.ui__time { font-family: var(--font-en); font-weight: 700; font-size: 44px; line-height: 1.1; }
.ui__ok { display: inline-block; margin-top: 8px; background: var(--c-pale); color: var(--c-accent-text); font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.ui__msg { padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.ui__btn { margin-top: 10px; text-align: center; background: var(--c-accent); color: #fff; font-weight: 700; border-radius: 999px; padding: 6px; }
.ui__bars { display: flex; align-items: flex-end; gap: 10px; height: 80px; }
.ui__bars i { flex: 1; height: calc(var(--h) * 100%); background: var(--c-accent); border-radius: 6px 6px 0 0; }
.ui__sum { margin-top: 8px; font-weight: 700; }

@media (min-width: 1080px) {
  .features { padding: 128px 0 64px; }
  .features__inner { padding: 0 40px; }
}
/* 動く版（PC）：左を固定し、右の項目に合わせて切り替える */
.is-motion-pc .features__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.is-motion-pc .features__visual { display: block; position: sticky; top: 108px; height: calc(100vh - 160px); }
.is-motion-pc .features__visual .feat__media { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.is-motion-pc .features__visual .feat__media.is-on { opacity: 1; transform: none; }
.is-motion-pc .features__visual .ui { transform: translateY(16px); opacity: 0; transition: opacity .5s .2s, transform .6s .2s; }
.is-motion-pc .features__visual .is-on .ui { transform: none; opacity: 1; }
.is-motion-pc .feat { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; opacity: .35; transition: opacity .4s; }
.is-motion-pc .feat.is-on { opacity: 1; }
.is-motion-pc .feat > .feat__media { display: none; }
.is-motion-pc .feat h3 { font-size: 30px; }

/* ===== 演出③（B05）：積み重なるカード（CSSの sticky だけで重なる） ===== */
.cases { padding: 88px 0; background: var(--c-soft); }
.cases__stack { max-width: 1160px; margin: 40px auto 0; padding: 0 20px; }
.case { position: sticky; top: 84px; display: grid; gap: 20px; padding: 28px 24px; border-radius: var(--radius); margin-bottom: 24px; transform-origin: 50% 0; box-shadow: 0 -10px 30px rgba(15, 29, 51, .08); }
.case:nth-child(2) { top: 100px; } .case:nth-child(3) { top: 116px; } .case:nth-child(4) { top: 132px; }
.case--1 { background: var(--c-pale); }
.case--2 { background: var(--c-accent); color: #fff; }
.case--3 { background: var(--c-ink); color: #e5ebf5; }
.case--4 { background: #fff; border: 2px solid var(--c-ink); }
.case__no { font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--c-accent-text); }
.case--2 .case__no, .case--3 .case__no { color: #fff; }
.case h3 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; color: var(--c-ink); margin: 6px 0 12px; }
.case--2 h3, .case--3 h3 { color: #fff; }
.case__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
@media (min-width: 1080px) {
  .cases { padding: 128px 0; }
  .cases__stack { padding: 0 40px; }
  .case { grid-template-columns: 5fr 6fr; align-items: center; gap: 48px; padding: 48px; min-height: 64vh; margin-bottom: 40px; }
}

/* ===== 料金 ===== */
.price { padding: 88px 0; }
.price__lead { margin-top: 12px; }
.price__list { display: grid; gap: 20px; margin-top: 40px; }
.plan { position: relative; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px 28px; }
.plan--main { border: 2px solid var(--c-accent); box-shadow: 0 24px 48px rgba(37, 99, 235, .12); }
.plan__badge { position: absolute; top: -16px; left: 24px; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 15px; padding: 2px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; color: var(--c-ink); }
.plan__price { font-family: var(--font-en); font-weight: 700; font-size: 36px; color: var(--c-ink); margin: 8px 0 16px; }
.plan__price small { font-family: var(--font); font-size: 15px; color: var(--c-sub); margin-left: 4px; }
.plan li { padding: 8px 0 8px 28px; border-top: 1px solid var(--c-line); position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 3px solid var(--c-accent); border-bottom: 3px solid var(--c-accent); transform: rotate(-45deg); }
@media (min-width: 900px) { .price__list { grid-template-columns: repeat(3, 1fr); align-items: start; } .price { padding: 128px 0; } }

/* ===== 導入の流れ・質問 ===== */
.faq { padding: 88px 0; background: var(--c-soft); }
.flow { display: grid; gap: 12px; margin: 32px 0 48px; }
.flow li { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 18px 20px; }
.flow span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: #fff; font-family: var(--font-en); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flow b { display: block; color: var(--c-ink); }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(3, 1fr); } .flow li { flex-direction: column; align-items: flex-start; } }
.qa { background: #fff; border-radius: 16px; margin-top: 12px; }
.qa summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 24px; font-weight: 700; color: var(--c-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--font-en); font-size: 26px; color: var(--c-accent-text); flex: none; }
.qa[open] summary::after { content: "−"; }
.qa p { padding: 0 24px 20px; }

/* ===== 無料で試す ===== */
.start { padding: 96px 0; background: var(--c-ink); color: #e5ebf5; text-align: center; }
.start__title { font-size: clamp(28px, 4vw, 48px); line-height: 1.45; color: #fff; margin-bottom: 16px; }
.start__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ===== フッター ===== */
.footer { padding: 48px 0 24px; font-size: 15px; }
.footer__inner { display: grid; gap: 12px; }
.footer__logo { font-family: var(--font-en); font-weight: 700; font-size: 26px; color: var(--c-ink); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; color: var(--c-ink); }
.footer__fiction { margin-top: 24px; text-align: center; color: var(--c-sub); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .case { position: relative; top: auto !important; }
}
