/* つなげて（tsunagete.com）共通スタイル ── 明るいSaaS調（参考：migoo.ai）・緑と赤 */
:root {
  --bg: #FFFFFF;
  --soft: #F5F8F6;
  --soft-2: #EAF1EC;
  --ink: #14201B;
  --ink-2: #36443D;
  --muted: #5F6D66;
  --line: #E2E8E4;
  --line-2: #D2DBD5;
  --accent: #0B7A53;
  --accent-hover: #086244;
  --accent-soft: #E4F4EC;
  --accent-ink: #076142;
  --red: #CC3A28;
  --red-hover: #A92E1F;
  --red-soft: #FDECE9;
  --green: #0E9F6E;
  --green-soft: #E6F6EF;
  --amber-soft: #FFF4DB;
  --amber-ink: #8A5300;
  --violet-soft: #F0ECFE;
  --violet-ink: #5B3FC4;
  --shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.22), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  --radius: 16px;
  --wrap: 1200px;
  --header-h: 68px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: 0.01em; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }
.nb { display: inline-block; }
.accent { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.4; }
.ico { width: 18px; height: 18px; flex: none; }

/* ── header（追尾） ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: 0.02em; flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 6px; font-size: 14px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--soft-2); color: var(--ink); }
.nav .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 6px; }
.header-cta { display: flex; gap: 8px; flex: none; align-items: center; }
@media (max-width: 1080px) { .nav { display: none; } .header-cta { margin-left: auto; } }
@media (max-width: 560px) { .header-cta .btn--ghost { display: none; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 10px; border: 1px solid transparent;
  background: var(--red); color: #fff; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.4;
  text-decoration: none; cursor: pointer; text-align: center; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--red-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--muted); }
.btn--lg { min-height: 54px; padding: 12px 30px; font-size: 16px; min-width: 232px; }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: 14px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn--white { background: #fff; color: var(--red-hover); }
.btn--white:hover { background: var(--red-soft); color: var(--red-hover); }

/* ── sections ── */
.section { padding: 112px 0; }
.section--soft { background: var(--soft); }
.center { text-align: center; }
.h2 { font-weight: 900; font-size: clamp(28px, 4vw, 48px); line-height: 1.35; letter-spacing: 0.02em; }
.lead { font-size: 17px; color: var(--ink-2); margin: 20px auto 0; max-width: 46em; line-height: 1.9; }
.section-head { text-align: center; margin: 0 auto 56px; max-width: 920px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin: 0 0 18px; }

/* ── hero ── */
.hero { background: var(--soft); padding: 88px 0 0; overflow: hidden; }
.hero__copy { text-align: center; max-width: 1080px; margin: 0 auto; }
.hero h1 { font-weight: 900; font-size: clamp(26px, 4.8vw, 60px); line-height: 1.3; letter-spacing: 0.02em; }
.hero .lead { font-size: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero__note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.hero__visual { margin: 64px auto 0; max-width: 1040px; padding: 0 0 80px; }
.channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.channels li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.channels li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.channels li.on .dot { background: var(--green); }
@media (max-width: 560px) { .hero__cta .btn { width: 100%; } }

/* 製品画面のモック */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; text-align: left; font-size: 13px; }
.app__side { background: #FBFCFE; border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.app__ws { display: flex; align-items: center; gap: 10px; padding: 8px 10px 14px; font-weight: 700; font-size: 14px; }
.app__ws .avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; }
.app__ws .caret { margin-left: auto; color: var(--muted); font-weight: 400; }
.app__nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.app__nav.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.app__nav .ico { width: 16px; height: 16px; }
.app__side .spacer { flex: 1; min-height: 20px; }
.app__plan { margin: 0 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; color: var(--muted); line-height: 1.6; }
.app__plan b { display: block; color: var(--ink); font-size: 13px; }
.app__main { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app__top h3 { font-size: 18px; font-weight: 700; }
.app__top span { color: var(--muted); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.kpi small { color: var(--muted); display: block; font-size: 12px; }
.kpi b { font-size: 22px; letter-spacing: 0; }
.kpi em { font-style: normal; font-size: 12px; color: var(--green); font-weight: 700; margin-left: 6px; }
.app__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.panel h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows .t { flex: 1; min-width: 0; }
.rows .t small { display: block; color: var(--muted); font-size: 11px; }
.switch { width: 30px; height: 18px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.switch.off { background: var(--line-2); }
.switch.off::after { right: auto; left: 2px; }
.meter { height: 8px; border-radius: 999px; background: var(--soft-2); overflow: hidden; margin: 8px 0; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.meter--warn i { background: #E58A00; }
.alert-mini { font-size: 12px; background: var(--amber-soft); color: var(--amber-ink); border-radius: 8px; padding: 8px 10px; line-height: 1.6; }
.mock-caption { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }

/* ── badges ── */
.badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; line-height: 1.6; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.badge--std { background: var(--accent-soft); color: var(--accent-ink); }
.badge--opt { background: var(--violet-soft); color: var(--violet-ink); }
.badge--soon { background: var(--amber-soft); color: var(--amber-ink); }
.badge--on { background: var(--green-soft); color: #06734F; }
.badge--gray { background: var(--soft-2); color: var(--ink-2); }

/* ── cards ── */
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section--soft .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card .fig { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card .fig b { color: var(--ink); font-size: 17px; }
.pain .fix { display: block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--accent-ink); }

/* 友だちとの流れ */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: j; }
.journey > li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: j; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.journey > li::before { content: counter(j); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.journey > li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); }
.journey h3 { font-size: 19px; font-weight: 700; }
.journey p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 980px) { .journey { grid-template-columns: 1fr 1fr; } .journey > li::after { display: none; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

/* ── できること（丸いタブ。JavaScript なし。:has() 非対応ではすべて縦に表示） ── */
.tabs__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: var(--soft-2); border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; margin: 0 auto 56px; }
.tabs__bar label { cursor: pointer; padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); user-select: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.tabs__bar label:hover { color: var(--ink); }
.tabs:has(input:focus-visible) .tabs__bar { outline: 3px solid var(--accent); outline-offset: 4px; }
.tabs:has(#f-send:checked) label[for="f-send"],
.tabs:has(#f-auto:checked) label[for="f-auto"],
.tabs:has(#f-crm:checked) label[for="f-crm"],
.tabs:has(#f-shop:checked) label[for="f-shop"],
.tabs:has(#f-data:checked) label[for="f-data"],
.tabs:has(#f-sns:checked) label[for="f-sns"],
.tabs:has(#f-team:checked) label[for="f-team"] { background: var(--accent); color: #fff; font-weight: 700; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-bottom: 72px; }
.tabs:has(input:checked) .tab-panel { display: none; margin-bottom: 0; }
.tabs:has(#f-send:checked) .p-send,
.tabs:has(#f-auto:checked) .p-auto,
.tabs:has(#f-crm:checked) .p-crm,
.tabs:has(#f-shop:checked) .p-shop,
.tabs:has(#f-data:checked) .p-data,
.tabs:has(#f-sns:checked) .p-sns,
.tabs:has(#f-team:checked) .p-team { display: grid; }
.tab-panel h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; }
.tab-panel .sub { font-size: 20px; font-weight: 700; margin: 18px 0 10px; line-height: 1.6; }
.tab-panel p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.flist { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.flist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.flist b { font-size: 15px; }
.flist span.d { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.7; }
.flist .badges { display: flex; gap: 4px; align-self: start; }
.shot { background: var(--soft); border-radius: 24px; padding: 32px; }
.shot__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 20px; font-size: 13px; }
.shot__card + .shot__card { margin-top: 12px; }
.shot__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 12px; font-size: 14px; }
@media (max-width: 900px) { .tab-panel { grid-template-columns: 1fr; gap: 32px; } .shot { padding: 18px; } }

/* モック内の部品 */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line-2); align-items: center; }
.timeline li:first-child { border-top: 0; }
.timeline .when { font-weight: 700; color: var(--accent-ink); }
.lmsg { max-width: 260px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lmsg__img { height: 110px; background: linear-gradient(135deg, #FFE7B8, #FFC9A8); display: grid; place-items: center; font-weight: 900; font-size: 22px; color: #7A3A12; }
.lmsg__body { padding: 12px 14px; }
.lmsg__body b { display: block; font-size: 14px; }
.lmsg__btn { display: block; text-align: center; padding: 10px; border-top: 1px solid var(--line); color: var(--accent-ink); font-weight: 700; }
.mtable { width: 100%; border-collapse: collapse; font-size: 12px; }
.mtable th, .mtable td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); }
.mtable th { color: var(--muted); font-weight: 500; border-top: 0; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.slots span { text-align: center; padding: 8px 0; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.slots span.full { background: var(--soft-2); color: var(--muted); text-decoration: line-through; }
.slots span.pick { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 90px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 12px; }
.bars i { display: block; height: 10px; border-radius: 999px; background: var(--accent); }
.bars em { font-style: normal; text-align: right; color: var(--muted); }
.gate { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gate li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.gate li .n { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.stores { list-style: none; margin: 0; padding: 0; }
.stores li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.stores li:first-child { border-top: 0; }
.stores .avatar { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.stores .t { flex: 1; min-width: 0; }
.stores .t small { display: block; color: var(--muted); font-size: 11px; }

/* ── 活用例（左に一覧、右に詳細） ── */
.cases { display: grid; grid-template-columns: 320px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.cases__list { padding: 20px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cases__list .cap { font-size: 14px; font-weight: 700; padding: 4px 12px 10px; }
.cases__list label { cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 12px; }
.cases__list label:hover { background: var(--soft); }
.cases__list label b { display: block; font-size: 15px; line-height: 1.5; }
.cases__list label small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.circle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.circle svg { width: 22px; height: 22px; }
.c1 { background: #FFE9DC; color: #C2410C; }
.c2 { background: #F6E6FA; color: #9D2FB5; }
.c3 { background: #E1F3FB; color: #0369A1; }
.c4 { background: #E4F6EA; color: #15803D; }
.c5 { background: #FFF4D6; color: #B45309; }
.cases:has(#k1:checked) label[for="k1"],
.cases:has(#k2:checked) label[for="k2"],
.cases:has(#k3:checked) label[for="k3"],
.cases:has(#k4:checked) label[for="k4"],
.cases:has(#k5:checked) label[for="k5"] { background: var(--soft-2); }
.cases:has(input:focus-visible) .cases__list { outline: 3px solid var(--accent); outline-offset: -3px; }
.case { padding: 28px 32px 32px; }
.cases:has(input:checked) .case { display: none; }
.cases:has(#k1:checked) .case-1, .cases:has(#k2:checked) .case-2, .cases:has(#k3:checked) .case-3, .cases:has(#k4:checked) .case-4, .cases:has(#k5:checked) .case-5 { display: block; }
.case__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.case__head h3 { font-size: 18px; font-weight: 700; }
.case__head p { margin: 0; font-size: 13px; color: var(--muted); }
.case__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: sv; }
.steps-v li { position: relative; padding: 0 0 18px 42px; counter-increment: sv; }
.steps-v li:last-child { padding-bottom: 0; }
.steps-v li::before { content: counter(sv); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.steps-v li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--line); }
.steps-v b { display: block; font-size: 15px; line-height: 1.6; }
.steps-v .s { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; }
.steps-v .chips { margin-top: 6px; }
.chat { background: var(--soft); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.chat .time { align-self: center; font-size: 11px; color: var(--muted); }
.bubble { align-self: flex-start; max-width: 90%; background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 9px 12px; font-size: 13px; line-height: 1.6; }
.bubble--me { align-self: flex-end; background: var(--accent); color: #fff; border-color: var(--accent); border-radius: 14px 14px 4px 14px; }
.bubble small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.case__result { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
@media (max-width: 960px) {
  .cases { grid-template-columns: 1fr; }
  .cases__list { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
  .cases__list .cap { grid-column: 1 / -1; }
  .case__body { grid-template-columns: 1fr; }
  .case { padding: 24px 20px; }
}
@media (max-width: 520px) { .cases__list { grid-template-columns: 1fr; } }

/* ── ご利用の流れ ── */
.steps-h { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: sh; }
.steps-h li { counter-increment: sh; background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps-h li::before { content: "STEP " counter(sh); font-size: 12px; font-weight: 700; color: var(--accent-ink); letter-spacing: 0.08em; }
.steps-h b { font-size: 18px; }
.steps-h span { font-size: 14px; color: var(--ink-2); line-height: 1.8; flex: 1; }
.steps-h .time { flex: none; align-self: flex-start; }
@media (max-width: 1100px) { .steps-h { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .steps-h { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-h { grid-template-columns: 1fr; } }
.prep { margin: 24px auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 14px; }
.prep b { font-size: 15px; }
.prep ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.prep li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* ── 対応チャネル ── */
.ch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ch-grid > * { min-width: 0; }
.ch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.ch b { font-size: 16px; }
.ch span { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.ch .badge { flex: none; font-size: 11px; color: inherit; line-height: 1.6; }
.ch .badge--on { color: #06734F; }
.ch .badge--soon { color: var(--amber-ink); }
.ch .badge { align-self: flex-start; }
@media (max-width: 980px) { .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ch-grid { grid-template-columns: 1fr; } }

/* ── tables ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t thead th { background: var(--soft); font-size: 13px; color: var(--ink-2); font-weight: 700; }
table.t tr.group th { background: #FBFCFE; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
table.t td.num, table.t th.num { text-align: right; white-space: nowrap; }
.note { font-size: 13px; color: var(--muted); margin: 16px 0 0; padding-left: 1.2em; }
.note li { margin: 3px 0; }
.note b { color: var(--ink-2); }
.h3 { font-weight: 900; font-size: 26px; margin: 72px 0 20px; text-align: center; }

/* ── 料金 ── */
.chooser { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 28px; }
.chooser > div { text-align: center; padding: 10px 8px; border-radius: 12px; background: var(--soft); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.chooser b { display: block; font-size: 14px; color: var(--ink); }
@media (max-width: 860px) { .chooser { display: none; } }
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plans > * { min-width: 0; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 20px 22px; display: flex; flex-direction: column; position: relative; }
.plan--pick { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; font-weight: 900; }
.plan .for { font-size: 13px; color: var(--muted); margin: 4px 0 18px; min-height: 3em; line-height: 1.5; }
.plan .price { font-weight: 900; font-size: 32px; line-height: 1.15; letter-spacing: 0; }
.plan .price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.plan .tax { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; font-size: 14px; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.plan li b { font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan-common { margin-top: 24px; background: var(--soft); border-radius: var(--radius); padding: 20px 24px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.plan-common b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* ── FAQ ── */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-list details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; list-style: none; position: relative; padding: 20px 60px 20px 24px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; }

/* ── CTA ── */
.cta-band { background: var(--accent); color: #fff; padding: 56px 0; }
.cta-band__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta-band__title { margin: 0; font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; }
.cta-band__sub { margin: 6px 0 0; font-size: 15px; color: #D3EFE2; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
@media (max-width: 560px) { .cta-band__btns, .cta-band__btns .btn { width: 100%; } }

.cta-final { background: var(--soft); padding: 120px 0; text-align: center; }
.cta-final h2 { font-weight: 900; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.32; }
.cta-final p { margin: 20px auto 0; color: var(--ink-2); max-width: 40em; }
.cta-final__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta-final .small { font-size: 13px; color: var(--muted); margin-top: 16px; }
@media (max-width: 560px) { .cta-final__btns .btn { width: 100%; } }

/* スマホの画面下の申し込みボタン */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(15, 23, 42, 0.35); }
  .sticky-cta .btn { flex: 1; min-height: 46px; padding: 6px 10px; font-size: 14px; min-width: 0; }
  .sticky-cta .btn--ghost { flex: 0 0 38%; }
  body.has-sticky { padding-bottom: 76px; }
}

/* ── documents（規約など） ── */
.doc-head { background: var(--soft); padding: 64px 0 40px; }
.doc-head .wrap { max-width: 880px; }
.doc-head h1 { font-weight: 900; font-size: clamp(28px, 3.6vw, 40px); }
.doc-head p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.doc { max-width: 880px; padding: 48px 24px 96px; }
.doc h2 { font-weight: 700; font-size: 20px; margin: 48px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.doc p { margin: 0 0 12px; }
.doc ol, .doc ul { margin: 0 0 12px; padding-left: 1.6em; }
.doc li { margin: 4px 0; }
.doc ol ol { list-style: lower-roman; }
.doc .meta { margin-top: 48px; color: var(--muted); font-size: 14px; text-align: right; }
.doc .table-wrap { margin: 8px 0 12px; }
dl.kv { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
dl.kv > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
dl.kv > div:last-child { border-bottom: 0; }
dl.kv dt { font-weight: 700; padding: 18px 20px; background: var(--soft); }
dl.kv dd { margin: 0; padding: 18px 20px; color: var(--ink-2); }
dl.kv dd p { margin: 0 0 8px; }
dl.kv dd p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { dl.kv > div { grid-template-columns: 1fr; } dl.kv dt { padding-bottom: 10px; } dl.kv dd { padding-top: 10px; } }

/* ── form ── */
.form { display: grid; gap: 22px; max-width: 680px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; border-radius: 999px; }
.req { background: #FDE8E8; color: #B42318; }
.opt { background: var(--soft-2); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 200px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); padding: 18px 22px; }

/* ── footer ── */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 56px 0 32px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 13px; color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 20px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-cta { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer .footer-cta .btn { color: #fff; }
.site-footer .footer-cta .btn--ghost { color: var(--ink); }
.copyright { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 12px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-list summary::after { transition: none; }
}

.sp { display: none; }
@media (max-width: 560px) { .sp { display: inline; } }

/* ── AIへの指示（ヒーローの画面例・AIの章） ── */
.ai-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; min-height: 0; }
.ai-chat { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FBFCFE; min-width: 0; }
.ai-chat .who { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ai-chat .who .dot { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #0B7A53, #5CC39A); display: inline-block; }
.ai-msg { align-self: flex-start; max-width: 94%; background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 12px; line-height: 1.65; }
.ai-msg--me { align-self: flex-end; background: var(--accent); color: #fff; border-color: var(--accent); border-radius: 14px 14px 4px 14px; max-width: 86%; }
.ai-draft { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ai-draft div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 7px 10px; border-top: 1px solid var(--line); font-size: 12px; }
.ai-draft div:first-child { border-top: 0; }
.ai-draft b { color: var(--accent-ink); }
.ai-actions { display: flex; gap: 6px; margin-top: 8px; }
.ai-actions span { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; }
.ai-actions span.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.ai-input { margin-top: auto; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; color: var(--muted); background: #fff; display: flex; justify-content: space-between; align-items: center; }
.ai-input i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: block; }
@media (max-width: 860px) { .ai-split { grid-template-columns: 1fr; } }

.prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prompts > * { min-width: 0; }
@media (max-width: 980px) { .prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .prompts { grid-template-columns: 1fr; } }
.prompt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.section--soft .prompt { border-color: transparent; box-shadow: var(--shadow-sm); }
.prompt .say { align-self: flex-start; background: var(--accent); color: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 15px; font-weight: 500; line-height: 1.65; }
.prompt .did { font-size: 14px; color: var(--ink-2); line-height: 1.7; display: flex; gap: 8px; }
.prompt .did::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%230E9F6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.ai-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; list-style: none; padding: 0; counter-reset: as; }
.ai-steps li { counter-increment: as; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; min-width: 0; }
.ai-steps li::before { content: counter(as); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.ai-steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); }
.ai-steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.ai-steps span { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 860px) { .ai-steps { grid-template-columns: 1fr; } .ai-steps li::after { display: none; } }
.ai-note { text-align: center; font-size: 13px; color: var(--muted); margin: 24px 0 0; }
.prompt .badge { align-self: flex-start; }

/* ── ヒーロー：あなたのAI（Claude Code・Codex）→ つなげて ── */
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) 56px minmax(0, 1fr); align-items: center; text-align: left; }
.duo > * { min-width: 0; }
.duo__label { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 8px 4px; display: flex; align-items: center; gap: 6px; }
.term { background: #0F172A; color: #E2E8F0; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-family: ui-monospace, "SFMono-Regular", Consolas, "Noto Sans JP", monospace; font-size: 13px; line-height: 1.75; }
.term__bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #1E293B; color: #94A3B8; font-size: 12px; }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; display: block; }
.term__bar span { margin-left: 8px; font-family: var(--font); }
.term__body { padding: 18px 20px 20px; }
.term .you { color: #fff; }
.term .you::before { content: "> "; color: #7DD3FC; }
.term .ok { color: #CBD5E1; }
.term .ok::before { content: "✓ "; color: #4ADE80; }
.term .ask { color: #FDE68A; }
.term .muted { color: #94A3B8; }
.term .gap { height: 10px; }
.duo__arrow { display: grid; place-items: center; color: var(--accent); }
.duo__arrow svg { width: 32px; height: 32px; }
.result { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.result__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.result__bar img { width: 20px; height: 20px; }
.result__bar small { margin-left: auto; color: var(--muted); font-weight: 500; }
.result__body { padding: 16px; display: grid; gap: 12px; }
.result__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; }
.msgs { display: grid; gap: 8px; }
.msgs div { display: grid; grid-template-columns: 44px 56px minmax(0, 1fr); gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.msgs b { color: var(--accent-ink); font-size: 12px; }
.msgs .thumb { height: 40px; border-radius: 6px; background: linear-gradient(135deg, #FFE7B8, #FFC9A8); }
.msgs .thumb--2 { background: linear-gradient(135deg, #DDEBFF, #BCD6FF); }
.msgs .thumb--3 { background: linear-gradient(135deg, #E1F5EA, #BDE9D2); }
.msgs span { font-size: 12px; line-height: 1.5; }
.logline { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.logline b { color: var(--ink-2); }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; gap: 8px; }
  .duo__arrow svg { transform: rotate(90deg); }
}

/* AIの章の3つの特長・安全の一覧 */
.ai-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.ai-points > * { min-width: 0; }
@media (max-width: 900px) { .ai-points { grid-template-columns: 1fr; } }
.safe { margin-top: 56px; background: var(--soft); border-radius: 20px; padding: 36px; }
.safe h3 { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 24px; }
.safe ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.safe li { display: flex; gap: 10px; font-size: 15px; line-height: 1.7; }
.safe li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%230B7A53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 720px) { .safe { padding: 24px 18px; } .safe ul { grid-template-columns: 1fr; } }

/* ロゴの文字「Tsunagete」（Unbounded 800 を使う文字だけ読み込む） */
.brand, .footer-brand, .result__bar { font-family: "Unbounded", var(--font); }
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0; }
.footer-brand { font-weight: 800; letter-spacing: 0; }
.result__bar { font-weight: 800; }
.result__bar small { font-family: var(--font); font-weight: 500; }
@media (max-width: 480px) {
  .site-header .wrap { gap: 10px; padding: 0 14px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .header-cta .btn--sm { padding: 6px 12px; font-size: 13px; min-height: 40px; }
}
@media (max-width: 350px) {
  .brand { font-size: 14px; }
  .brand img { width: 22px; height: 22px; }
  .header-cta .btn--sm { padding: 6px 8px; font-size: 12px; }
}

/* ── Cookie の許可（小さく、許可したら出さない） ── */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 14px; background: rgba(20, 32, 27, 0.92); color: #E6EEE9; border-radius: 12px; font-size: 12px; line-height: 1.5; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4); }
.cookie a { color: #BFE7D2; margin-left: 4px; }
.cookie button { font: inherit; font-weight: 700; font-size: 12px; color: #14201B; background: #fff; border: 0; border-radius: 8px; padding: 6px 14px; min-height: 32px; cursor: pointer; }
.cookie button:hover { background: var(--accent-soft); }
@media (max-width: 820px) { body.has-sticky .cookie { bottom: 84px; } }

/* ── フォームの部品（お申し込み・ご相談） ── */
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.slot { display: grid; grid-template-columns: 110px minmax(0, 1fr) 140px; gap: 10px; align-items: center; margin-bottom: 10px; }
.slot__label { font-size: 14px; font-weight: 700; }
.slot input, .slot select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; min-height: 48px; }
.slot input:focus, .slot select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 560px) { .slot { grid-template-columns: minmax(0, 1fr) 120px; } .slot__label { grid-column: 1 / -1; } }
.field input[type="tel"] { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; min-height: 50px; }
.field input[type="tel"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cf-turnstile { min-height: 0; }
.apply-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: ap; }
.apply-steps li { counter-increment: ap; background: var(--soft); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.apply-steps li::before { content: counter(ap); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.apply-steps b { font-size: 15px; }
.apply-steps span { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 640px) { .apply-steps { grid-template-columns: 1fr; } }
