/* エスらく 公式HP — site.css
   色：見出し・しめくくり＝紺 #06306b ／ リンク＝青 #0d6be8 ／ 橙 #ff9f1a は「無料で相談する」だけ
   余白の段：4 8 12 16 24 32 48 64 96 128 */
:root {
  --navy: #06306b;
  --blue: #0d6be8;
  --orange: #ff9f1a;
  --ink: #10233f;
  --muted: #55677f;
  --tint: #f7fbff;
  --line: #e2e9f2;
  --frame: #d3dce9;
  --gap: 48px;
  --pad: 40px;
  --sec: 128px;
  --hd: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 {
  color: var(--navy); font-weight: 700; letter-spacing: .03em;
  word-break: auto-phrase; line-break: strict; font-feature-settings: "palt";
}
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.32; }
.hero-title { font-size: clamp(30px, 3.6vw, 52px); }
.hero-title span { display: block; white-space: nowrap; }
.hero-title em { font-style: normal; color: #ff920f; }
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; }
h3 { font-size: 20px; line-height: 1.55; }
p { text-wrap: pretty; line-break: strict; }
.ib { display: inline-block; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* リンク：下線は常に細く出しておき、触れたら濃くする（色は変えない） */
a { color: var(--blue); text-decoration: none; }
.tl {
  font-weight: 700; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: rgba(13, 107, 232, .32);
  transition: text-decoration-color .2s;
}
.tl::after { content: "→"; display: inline-block; margin-left: .45em; transition: transform .25s var(--ease); }
.tl.back::after { content: none; }
.tl.back::before { content: "←"; display: inline-block; margin-right: .45em; transition: transform .25s var(--ease); }
a.tl:hover, a:hover .tl { text-decoration-color: currentColor; }
a.tl:hover::after, a:hover .tl::after { transform: translateX(4px); }
a.tl.back:hover::before { transform: translateX(-4px); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.closing :focus-visible { outline-color: #fff; }

.wrap { max-width: calc(1200px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; }
.sec-tint { background: var(--tint); }
.label {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 20px;
}
.label::before { content: ""; width: 24px; height: 2px; background: var(--navy); }
.lead { margin-top: 24px; max-width: 36em; font-size: 17px; line-height: 2; }
.note { margin-top: 16px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.more { margin-top: 56px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  border-radius: 6px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: .04em; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-cta { background: var(--orange); color: #1b1402; }
.btn-cta:hover { background: #f79009; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: #fff; color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-s { min-height: 42px; padding: 0 20px; font-size: 14px; border-radius: 5px; }
.btn-ext::after { content: "↗"; margin-left: .5em; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.hd { display: flex; align-items: center; gap: 40px; min-height: var(--hd); }
.logo { display: block; flex: none; }
.logo img { width: auto; height: 32px; }
.gnav { display: flex; gap: 36px; margin-left: auto; }
.gnav a {
  position: relative; color: var(--ink); font-size: 15px; font-weight: 700; padding: 8px 0; line-height: 1.6;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--navy);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current]::after { transform: scaleX(1); }
.gnav a[aria-current] { color: var(--navy); }
.menu-btn { display: none; }
.nav-shade { display: none; }

/* ヒーロー */
.hero { background: var(--tint); padding: 88px 0 112px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr); gap: 48px; align-items: center; }
.hero-sub { display: inline-block; font-size: 18px; font-weight: 700; color: #fff; background: var(--navy); line-height: 1.5; padding: 8px 18px; border-radius: 4px; letter-spacing: .04em; margin-bottom: 20px; }
.hero-text p.hero-lead { margin-top: 32px; max-width: 31em; font-size: 17px; line-height: 2; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }

/* ヒーローの動く図（管理画面の再現 + スマホ） */
.stage { container-type: inline-size; }
.stage-in { position: relative; padding-bottom: 9cqw; }
.adm {
  width: 90%; aspect-ratio: 760 / 520; overflow: hidden;
  border: 1px solid var(--frame); border-radius: 10px; background: #f8fafc;
  box-shadow: 0 30px 60px -44px rgba(6, 48, 107, .45);
  --k: .78;
}
@supports (width: calc(1px * tan(atan2(1px, 1px)))) {
  .adm { --k: tan(atan2(90cqw, 760px)); }
}
.adm-in {
  width: 780px; height: 520px; display: grid; grid-template-columns: 164px 1fr;
  transform-origin: 0 0; transform: scale(var(--k));
}
.adm-in, .fv-adm-in { font-size: 11px; line-height: 1.4; letter-spacing: 0; color: #151d30; font-weight: 700; }
.adm-side { background: #1a2434; color: #e5e9f0; }
.adm-logo { height: 50px; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 16px; }
.adm-logo img { height: 24px; width: auto; }
.adm-logo i { width: 20px; height: 20px; border: 1px solid #dfe5ee; border-radius: 5px; background: #f3f5f9; }
.adm-menu { margin: 10px 0 0; padding: 0 10px; }
.adm-menu li { display: flex; align-items: center; gap: 9px; height: 28px; margin-bottom: 5px; padding: 0 9px; border-radius: 5px; font-size: 11px; white-space: nowrap; }
.adm-menu svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .75; }
.adm-menu li.on { background: #37404f; box-shadow: -10px 0 0 -8px #22c55f; }
.adm-menu li.on svg { stroke: #22c55f; opacity: 1; }
.adm-out { display: inline-block; margin: 8px 0 0 19px; padding: 4px 9px; border: 1px solid #3a4557; border-radius: 99px; font-size: 10px; }
.adm-main { padding: 14px 0 0 20px; min-width: 0; }
.adm-title { font-size: 21px; color: #0d1629; margin: 4px 0 12px; }
.adm-panel { background: #fff; border: 1px solid #e6ebf2; border-right: 0; border-radius: 8px 0 0 8px; padding: 10px 0 10px 10px; }
.adm-panel + .adm-panel { margin-top: 10px; }
.adm-tabs { display: flex; gap: 6px; padding: 10px 0 12px 10px; }
.adm-tabs span, .adm-chips span { padding: 5px 11px; border: 1px solid #e6ebf2; border-radius: 99px; background: #fff; }
.adm-tabs .on { background: #22c55f; border-color: #22c55f; color: #fff; }
.adm-week { display: flex; gap: 22px; padding: 6px 8px 8px; color: #5b6678; white-space: nowrap; }
.adm-week b { color: #151d30; }
.adm-chips { display: flex; gap: 6px; font-size: 10px; }
.adm-chips .on { background: #12766e; border-color: #12766e; color: #fff; }
.adm-acts { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 10px; }
.adm-acts span { padding: 6px 10px; border-radius: 5px; white-space: nowrap; }
.adm-acts .plain { color: #5b6678; }
.adm-acts .line { border: 1px solid #dfe5ee; }
.adm-go { background: #1f3a5f; color: #fff; transition: transform .12s; }
.adm-th { display: flex; justify-content: space-between; padding: 2px 0 8px; font-size: 12px; }
.adm-cols { display: flex; gap: 6px; }
.adm-col { flex: none; width: 100px; padding: 6px 5px; background: #f9fafc; border: 1px solid #e6ebf2; border-radius: 7px; min-height: 300px; }
.adm-col.today { border-color: #85b4e5; background: #fff; }
.adm-col header { display: flex; align-items: center; gap: 4px; font-size: 10px; white-space: nowrap; margin-bottom: 7px; }
.adm-col header i { width: 8px; height: 8px; border: 1px solid #8a94a6; border-radius: 2px; background: #fff; }
.adm-col header small { margin-left: auto; color: #5b6678; font-size: 10px; font-weight: 400; }
.adm-box { border: 1px solid #e6ebf2; border-radius: 6px; padding: 5px 4px; background: #fff; }
.adm-pill { display: inline-block; padding: 1px 8px; border: 1px solid #e6ebf2; border-radius: 99px; font-size: 10px; color: #5b6678; margin-bottom: 5px; }
.adm-none { font-size: 10px; font-weight: 400; color: #5b6678; text-align: center; padding: 14px 6px; }
.sc {
  display: flex; gap: 5px; padding: 5px; margin-bottom: 4px; background: #fefaee; border: 1.5px solid #fde9a8; border-radius: 6px;
  color: #7d3c17; font-size: 10px; line-height: 1.35;
}
.sc img { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.sc span { display: block; white-space: nowrap; }
.sc .ok { color: #1b674e; }
.sc .wait { color: #b45309; display: none; }

/* 動きの各段階。HTMLの初期状態＝反映が終わった姿（動きに頼らず読める） */
.stage[data-state="start"] .sc[data-target] .ok { display: none; }
.stage[data-state="start"] .sc[data-target] .wait { display: block; }
.stage[data-state="start"] .sc[data-target] { background: #fff; border-color: #f3d6a4; }
.stage[data-state="sent"] .adm-go { transform: scale(.96); }
.stage:not([data-state="final"]) .ph-new { opacity: 0; transform: translateY(14px); transition: none; }
.stage:not([data-state="final"]) .cap-done, .stage[data-state="final"] .cap-wait { display: none; }

.ph { position: absolute; right: 0; top: 13cqw; width: 29%; }
.pf {
  border: 6px solid #16233b; border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px #0b1322, 0 34px 50px -36px rgba(6, 48, 107, .6);
}
.ph-screen { position: relative; overflow: hidden; }
.ph-screen > img { width: 100%; }
.ph-new { position: absolute; transition: opacity .6s ease-out, transform .7s var(--ease); }
.ph-new img { width: 100%; }
.ph-cap {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 14px;
  text-align: center; font-size: 13px; line-height: 1.5; font-weight: 700; white-space: nowrap;
}
.cap-wait { color: var(--muted); font-weight: 400; }
.cap-done { color: var(--navy); }
.cap-done::before, .tick::before {
  content: ""; display: inline-block; width: 10px; height: 6px; border: solid var(--navy); border-width: 0 0 2px 2px;
  transform: translateY(-3px) rotate(-45deg);
}
.cap-done::before { margin-right: 8px; }
.cur {
  position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; z-index: 3;
  border: 2.5px solid var(--navy); border-radius: 50%; background: rgba(6, 48, 107, .14);
  opacity: 0; pointer-events: none;
  transition: transform .85s cubic-bezier(.5, 0, .2, 1), opacity .3s, border-width .12s;
}
.cur.on { opacity: 1; }
.cur.tap { border-width: 7px; }

/* 出勤の更新（3つの段階） */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: 72px; }
.fl-step { position: relative; padding-top: 56px; display: grid; grid-template-rows: subgrid; grid-row: span 3; }
.fl-step::before, .fl-step::after {
  content: ""; position: absolute; left: 0; top: 15px; height: 2px; width: calc(100% + var(--gap)); background: var(--line);
}
.fl-step::after { background: var(--navy); transform-origin: 0 0; transition: transform .7s ease-in-out; }
.fl-step:last-child::before, .fl-step:last-child::after { display: none; }
.fl-n {
  position: absolute; left: 0; top: 0; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 0 0 8px #fff;
  background: var(--navy); border: 2px solid var(--navy); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0;
  transition: background-color .3s, color .3s, border-color .3s;
}
.fl-step h3 { align-self: start; }
.fv {
  position: relative; margin-top: 24px; height: 348px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: var(--tint);
}
.fl-note { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); min-height: 1.7em; }
/* ① 管理画面の「反映」まわり */
.fv-adm { container-type: inline-size; --k: 1; }
@supports (width: calc(1px * tan(atan2(1px, 1px)))) { .fv-adm { --k: tan(atan2(100cqw, 352px)); } }
.fv-adm-in { position: absolute; left: 0; top: 0; width: 352px; padding: 22px 0 0 22px; transform-origin: 0 0; transform: scale(var(--k)); }
.fv-adm .adm-panel { width: 460px; }
.fv-adm .adm-go { position: relative; }
.fv-adm .adm-go::after {
  content: ""; position: absolute; right: -14px; bottom: -16px; width: 22px; height: 22px;
  border: 2.5px solid var(--navy); border-radius: 50%; background: rgba(6, 48, 107, .16); box-shadow: 0 0 0 2px #fff;
}
.fv-adm .adm-col { min-height: 220px; }
/* ② お店のHP（スマホ） */
.fv-ph { display: flex; justify-content: center; padding-top: 28px; }
.fv-ph .pf { width: 56%; max-width: 210px; align-self: flex-start; border-width: 5px; border-radius: 22px; box-shadow: 0 0 0 1px #0b1322; }
/* ③ 媒体の一覧（文字だけ） */
.fv-media { background: #fff; padding: 22px 26px; display: flex; flex-direction: column; justify-content: space-between; }
.md-main li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.5; letter-spacing: .02em; }
.md-sub { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.md-sub li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.6; white-space: nowrap; }
.md-sns { padding-top: 12px; border-top: 1px solid var(--line); }
.md-sns p { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
.tick { flex: none; width: 14px; height: 14px; display: grid; place-items: center; transition: opacity .25s, transform .35s var(--ease); transition-delay: calc(var(--i, 0) * .14s + 2.1s); }
.md-sub .tick { width: 12px; }
.md-sub .tick::before { width: 8px; height: 5px; border-color: var(--blue); }
.js .flow:not(.is-in) .fl-step::after { transform: scaleX(0); }
.js .flow:not(.is-in) .fl-n { background: #fff; color: var(--muted); border-color: var(--frame); }
.js .flow:not(.is-in) .tick { opacity: 0; transform: scale(.4); }
.fl-step:nth-child(1) .fl-n { transition-delay: .15s; }
.fl-step:nth-child(1)::after { transition-delay: .35s; }
.fl-step:nth-child(2) .fl-n { transition-delay: 1.05s; }
.fl-step:nth-child(2)::after { transition-delay: 1.25s; }
.fl-step:nth-child(3) .fl-n { transition-delay: 1.95s; }

/* ブラウザ枠・スマホ枠 */
.bf { display: block; border: 1px solid var(--frame); border-radius: 8px; overflow: hidden; background: #fff; }
.bf-bar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--line); }
.bf-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e2; }
.bf-view, .pf-view { display: block; position: relative; overflow: hidden; container-type: size; background: #fff; }
.bf-view { aspect-ratio: 1280 / 746; }
.bf-view.tall { aspect-ratio: 4 / 3; }
.pf-view { aspect-ratio: 9 / 17.6; }
.bf-view img, .pf-view img { width: 100%; transition: transform 1.4s var(--ease); will-change: transform; }
/* 触って操作する端末：見えたら一度だけ、少し下まで流して戻る */
.is-auto > img { animation: pan 16s ease-in-out 1 both; }
@keyframes pan { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(max(100cqh - 100%, -170cqh)); } }
@media (hover: hover) {
  .scrolly:hover .bf-view img, .scrolly:hover .pf-view img { transform: translateY(calc(100cqh - 100%)); transition: transform var(--dur, 9s) ease-in-out; }
}
.pf2 { border: 6px solid #16233b; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #0b1322; }
/* スマホの上の部分だけを見せる枠（下は切り落とす） */
.pf-cut { border-bottom: 1px solid var(--frame); padding: 1px 1px 0; overflow: hidden; }
.pf-top { border: 6px solid #16233b; border-bottom: 0; border-radius: 26px 26px 0 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #0b1322; }
.pf-top img { width: 100%; }

/* 種別の札 */
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 3px;
  font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .06em; white-space: nowrap;
  border: 1px solid var(--frame); color: var(--muted); background: #fff;
}
.tag-live { border-color: var(--navy); background: var(--navy); color: #fff; }

/* 制作事例（トップ） */
.case { display: block; color: inherit; }
.case .bf { transition: border-color .25s; }
.case:hover .bf { border-color: #9fb3cc; }
.case-cap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; margin-top: 20px; }
.case-cap h3 { transition: color .2s; }
.case-cap p { grid-column: 1 / -1; font-size: 15px; line-height: 1.8; color: var(--muted); }
.case:hover h3 { color: var(--blue); }
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; margin-top: 72px; align-items: start; }
.works .w-main { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.works .w-main h3 { font-size: 26px; }
.works .w-main .case-cap { margin-top: 24px; }
.works .w-main .case-cap p { font-size: 16px; }
.works .w-2 { grid-column: 8 / span 5; }
.works-sub { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.works-sub h3 { font-size: 17px; }
.works-sub .case-cap { margin-top: 16px; grid-template-columns: 1fr; justify-items: start; gap: 8px; }
.works-sub .case-cap p { font-size: 14px; line-height: 1.7; text-wrap: balance; }

/* 乗り換えの不安（Q&A） */
.qa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.qa-grid > div:first-child { position: sticky; top: calc(var(--hd) + 48px); }
.qa { border-top: 2px solid var(--navy); }
.qa details { border-bottom: 1px solid var(--line); overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 28px 56px 28px 0; font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px;
  background: var(--navy); transition: transform .3s var(--ease);
}
.qa summary::after { transform: rotate(90deg); }
.qa details[open]:not(.is-closing) summary::after { transform: rotate(0); }
.qa summary:hover::before, .qa summary:hover::after { background: var(--blue); }
.qa summary:focus-visible { outline-offset: -2px; }
.qa .qa-a { padding: 0 56px 32px 0; max-width: 36em; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; margin-top: 64px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.plan { display: grid; grid-template-rows: subgrid; grid-row: span 3; padding: 36px 36px 40px; border-left: 1px solid var(--line); }
.plan:first-child { padding-left: 0; border-left: 0; }
.plan:last-child { padding-right: 0; }
.plan h3 { font-size: 22px; }
.plan > p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-top: 6px; }
.plan .price { margin-top: 28px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.plan .price b { font-size: 38px; font-weight: 700; color: var(--navy); margin: 0 3px 0 8px; letter-spacing: 0; line-height: 1.2; }
.plan .price small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.plan .price.tbd { font-size: 17px; font-weight: 700; color: var(--muted); line-height: 1.5; padding-top: 14px; }

/* しめくくりの帯 */
.closing { background: var(--navy); color: #fff; padding: 112px 0; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: end; }
.closing h2 { color: #fff; }
.closing p { margin-top: 20px; max-width: 34em; color: #dbe6f5; }
.closing .hero-act { margin: 0 0 6px; gap: 16px; }

/* フッター */
.site-footer { padding: 56px 0 40px; font-size: 14px; line-height: 1.7; }
.ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.ft nav a { color: var(--ink); font-weight: 700; padding: 4px 0; text-decoration: underline transparent 1px; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.ft nav a:hover { text-decoration-color: currentColor; }
.ft-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ft-legal nav { gap: 8px 24px; }
.ft-legal nav a { color: var(--muted); font-weight: 400; }

/* 下層ページ共通 */
.page-head { padding: 80px 0 64px; }
.page-head .back { display: inline-block; font-size: 14px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(32px, 3.8vw, 52px); }
.page-head .tag { margin-bottom: 16px; }
.page-head .tag + h1 { margin-top: 0; }
.stub { padding: 0 0 160px; color: var(--muted); }

/* 制作事例 一覧 */
.case-list { padding-bottom: var(--sec); }
.case-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; padding: 64px 0; border-top: 1px solid var(--line); }
.case-row:first-child { border-top: 2px solid var(--navy); }
.case-row .bf { grid-column: 1 / span 7; }
.case-row .cr-text { grid-column: 9 / span 4; padding-bottom: 4px; }
.case-row:nth-child(even) .bf { grid-column: 6 / span 7; grid-row: 1; }
.case-row:nth-child(even) .cr-text { grid-column: 1 / span 4; grid-row: 1; }
.case-row h2 { font-size: 30px; margin-top: 16px; transition: color .2s; }
.case-row:hover h2 { color: var(--blue); }
.case-row p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.case-row .tl { display: inline-block; margin-top: 24px; }

/* 制作事例 詳細 */
.facts { display: grid; grid-template-columns: 1fr 1fr 2fr; margin-top: 56px; border-top: 2px solid var(--navy); }
.facts div { padding: 22px 32px 24px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.6; margin-bottom: 4px; }
.facts dd { font-weight: 700; line-height: 1.8; }
.tbd-mark { color: var(--muted); font-weight: 400; }
.sync { height: 260vh; margin-top: 64px; }
.sync-sticky { position: sticky; top: calc(var(--hd) + 1px); height: calc(100vh - var(--hd) - 1px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.sync-sticky .wrap { width: 100%; }
.sync-sticky h2, .shots h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 28px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: var(--gap); align-items: end; }
.sync .duo { grid-template-columns: min(calc(100% - 232px - var(--gap)), calc((100vh - 290px) * 1.3333)) 232px; justify-content: start; align-items: center; }
.sync .duo img { transform: translateY(calc((100cqh - 100%) * var(--p, 0))); transition: none; }
.shots { padding: 112px 0 0; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.gallery figure { grid-column: span 8; }
.gallery figure.tall { grid-column: span 4; grid-row: span 2; }
.gallery.solo figure.tall { grid-column: span 3; }
.gallery img { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.gallery figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 64px 0 var(--sec); }
.pn.top-line { padding-top: 40px; border-top: 1px solid var(--line); margin-top: 112px; }
.pn a { display: block; color: var(--navy); font-weight: 700; font-size: 18px; line-height: 1.6; }
.pn small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.pn a span { text-decoration: underline transparent 1px; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.pn a:hover span { text-decoration-color: currentColor; }
.pn a:last-child { text-align: right; }

/* タブレット */
@media (max-width: 1080px) {
  :root { --gap: 32px; --pad: 32px; --sec: 104px; }
  .gnav { gap: 28px; }
  .hd { gap: 28px; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-text p.hero-lead { max-width: 32em; }
  .stage { max-width: 760px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 56px; }
  .fl-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); grid-template-rows: auto 1fr; grid-row: auto; gap: 0 var(--gap); padding: 0 0 0 56px; align-items: start; }
  .fl-step::before, .fl-step::after { left: 15px; top: 0; width: 2px; height: calc(100% + 56px); }
  .js .flow:not(.is-in) .fl-step::after { transform: scaleY(0); }
  .fl-step h3 { padding-top: 1px; }
  .fl-step .fv { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .fl-step .fl-note { grid-column: 1; grid-row: 2; margin-top: 8px; }
  .works { margin-top: 56px; }
  .works .w-main { grid-column: 1 / -1; grid-row: auto; }
  .works .w-2 { grid-column: span 4; }
  .works-sub { grid-column: span 8; }
  .works .w-2 h3 { font-size: 17px; }
  .works .w-2 .case-cap { margin-top: 16px; grid-template-columns: 1fr; justify-items: start; gap: 8px; }
  .works .w-2 .case-cap p { font-size: 14px; line-height: 1.7; }
  .qa-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .qa-grid > div:first-child { position: static; }
  .closing .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .case-row .bf, .case-row:nth-child(even) .bf { grid-column: 1 / span 7; }
  .case-row .cr-text, .case-row:nth-child(even) .cr-text { grid-column: 8 / span 5; grid-row: auto; }
  .plan { padding: 32px 24px 36px; }
}

@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .plan, .plan:first-child, .plan:last-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; grid-row: auto; gap: 0 32px; align-items: center; padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .plan .price { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; min-width: 250px; }
  .plan .price.tbd { padding-top: 0; }
}

/* スマホ */
@media (max-width: 760px) {
  :root { --gap: 24px; --pad: 20px; --sec: 80px; --hd: 58px; }
  .lead, .hero-text p.hero-lead { font-size: 16px; line-height: 1.95; }
  .label { margin-bottom: 16px; font-size: 13px; }
  .page-head .lead, .case-cap p, .case-row p, .closing p { text-wrap: balance; }
  .more { margin-top: 40px; }
  .logo img { height: 27px; }
  .hd { gap: 10px; }
  .hd .btn-s { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 13px; }
  /* メニュー：ボタンで開くシート（JSが無いときは2段目に並べる） */
  .gnav { gap: 0; margin: 0; }
  html:not(.js) .hd { flex-wrap: wrap; padding: 10px 0 0; }
  html:not(.js) .gnav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 10px; }
  html:not(.js) .gnav a { font-size: 13px; padding: 8px 4px; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
    border: 1px solid var(--frame); border-radius: 5px; background: #fff; color: var(--navy);
    font: inherit; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .04em; white-space: nowrap; flex: none; cursor: pointer;
  }
  .menu-btn i { position: relative; width: 14px; height: 8px; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--navy); transition: transform .25s var(--ease); }
  .menu-btn i::before { top: 0; }
  .menu-btn i::after { bottom: 0; }
  .menu-btn[aria-expanded="true"] i::before { transform: translateY(3px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i::after { transform: translateY(-3px) rotate(-45deg); }
  .js .gnav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: #fff;
    padding: 4px var(--pad) 24px; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .js .nav-open .gnav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .gnav a { font-size: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .js .gnav a::after { display: none; }
  .js .gnav a[aria-current] { color: var(--blue); }
  .js .nav-shade { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(6, 30, 66, .32); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
  .js .nav-shade.on { opacity: 1; visibility: visible; transition-delay: 0s; }

  .hero { padding: 40px 0 80px; }
  .hero-sub { font-size: 15px; padding: 6px 14px; margin-bottom: 16px; }
  .hero-text p.hero-lead { margin-top: 24px; }
  .hero-act { margin-top: 32px; gap: 20px 28px; }
  .hero-grid { gap: 48px; }
  /* スマホを手前に大きく、管理画面は左上で切り取って後ろに */
  .stage-in { padding-bottom: 0; height: 132cqw; }
  .adm { width: 84%; aspect-ratio: 420 / 480; --k: .66; border-radius: 8px; }
  .adm-in { width: 520px; grid-template-columns: minmax(0, 1fr); }
  .adm-side, .adm-acts .plain, .adm-acts .line { display: none; }
  .adm-main { padding-left: 14px; }
  .ph { width: 47%; top: 24cqw; }
  .pf { border-width: 5px; border-radius: 20px; }
  .ph-cap { font-size: 12.5px; margin-top: 10px; }

  .flow { gap: 48px; margin-top: 48px; }
  .fl-step { display: block; padding-left: 48px; }
  .fl-step::before, .fl-step::after { height: calc(100% + 48px); }
  .fl-step .fv { margin-top: 16px; height: 324px; }
  .fl-step h3 { font-size: 18px; }
  .fv-media { padding: 16px 20px; }
  .md-main li { font-size: 16px; padding: 6px 0; }

  .works { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 48px; }
  .works > * { grid-column: 1 / -1 !important; }
  .works .w-main h3 { font-size: 22px; }
  .works .w-main .case-cap p { font-size: 15px; }
  .works-sub { gap: 20px; }
  .works-sub h3 { font-size: 16px; }
  .works-sub .case-cap p { font-size: 13px; }
  .qa summary { font-size: 16px; padding: 22px 44px 22px 0; }
  .qa summary::before, .qa summary::after { right: 4px; }
  .qa .qa-a { padding: 0 0 26px; }
  .plans { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .plan, .plan:first-child, .plan:last-child { display: block; padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .plan .price { margin-top: 12px; }
  .plan .price.tbd { padding-top: 0; }
  .closing { padding: 80px 0; }
  .closing .hero-act { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 8px; }
  .site-footer { padding: 40px 0 32px; }
  .ft { align-items: flex-start; flex-direction: column; }
  .ft nav { gap: 4px 24px; }
  .ft-legal { margin-top: 28px; gap: 16px; }
  .page-head { padding: 48px 0 40px; }
  .case-row { display: block; padding: 40px 0; }
  .case-row .cr-text { margin-top: 20px; }
  .case-row h2 { font-size: 24px; margin-top: 12px; }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .facts div { padding: 16px 0 18px; }
  .sync { height: auto; margin-top: 72px; }
  .sync-sticky { position: static; height: auto; padding: 0; }
  .duo, .sync .duo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sync .duo img { transform: none; transition: transform 1.4s var(--ease); }
  .duo .pf2, .duo .pf-cut { width: 62%; max-width: 250px; margin: 0 auto; }
  .shots { padding-top: 72px; }
  .gallery { gap: 20px; }
  .gallery figure, .gallery figure.tall, .gallery.solo figure.tall { grid-column: 1 / -1; grid-row: auto; }
  .gallery figure.tall { max-width: 260px; }
  .pn { margin-top: 48px; }
  .pn.top-line { margin-top: 72px; padding-top: 32px; }
  .pn a { font-size: 16px; }
}

/* ===== 下層ページ（機能・料金・お問い合わせ・コラム・文書・404）===== */
.page-head.tight { padding-bottom: 48px; }
.page-end { padding-bottom: var(--sec); }
.sec-line { border-top: 1px solid var(--line); }
.h-s { font-size: clamp(22px, 2.2vw, 28px); }
.plain-list li { position: relative; padding-left: 18px; line-height: 1.8; }
.plain-list li + li { margin-top: 6px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 2px; background: var(--navy); }

/* ---- 管理画面の再現（機能ページ用の部品。数字はすべて見本） ---- */
.shot { container-type: inline-size; }
.shot .adm { width: 100%; aspect-ratio: 780 / 520; --k: .76; box-shadow: none; }
@supports (width: calc(1px * tan(atan2(1px, 1px)))) { .shot .adm { --k: tan(atan2(100cqw, 780px)); } }
.shot-cap { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.ad-row { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.ad-row + .ad-row, .ad-row + .ad-tbl, .ad-tbl + .ad-row { margin-top: 8px; }
.ad-sp { margin-left: auto; }
.ad-btn { display: inline-block; padding: 5px 10px; border: 1px solid #dfe5ee; border-radius: 5px; background: #fff; font-size: 10px; white-space: nowrap; }
.ad-btn.pri { background: #1f3a5f; border-color: #1f3a5f; color: #fff; }
.ad-btn.grn { background: #22c55f; border-color: #22c55f; color: #fff; }
.ad-btn.ghost { border-color: transparent; color: #5b6678; }
.ad-h { font-size: 13px; color: #0d1629; margin-bottom: 8px; }
.ad-sub { font-size: 10px; font-weight: 400; color: #5b6678; }
.ad-in { display: inline-block; min-width: 150px; padding: 5px 9px; border: 1px solid #dfe5ee; border-radius: 5px; background: #fff; font-size: 10px; font-weight: 400; color: #8a94a6; }
.ad-tbl { width: 600px; border-collapse: collapse; font-size: 10px; }
.ad-tbl th { text-align: left; padding: 6px 8px; background: #f3f6fa; color: #5b6678; white-space: nowrap; border-bottom: 1px solid #e6ebf2; }
.ad-tbl td { padding: 7px 8px; border-bottom: 1px solid #eef2f7; white-space: nowrap; font-weight: 400; }
.ad-tbl td b { font-weight: 700; }
.ad-tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.ad-chip { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 9.5px; font-weight: 700; background: #e8f8ee; color: #1b674e; }
.ad-chip.wait { background: #fff4dc; color: #b45309; }
.ad-chip.mute { background: #eef2f7; color: #5b6678; }
.ad-day { font-size: 13px; color: #0d1629; margin-right: 6px; }
/* キャスト一覧 */
.ad-cast { display: grid; grid-template-columns: 14px 12px 34px 150px 1fr 56px 30px; align-items: center; gap: 10px; width: 552px; padding: 7px 8px; border: 1px solid #e6ebf2; border-radius: 7px; background: #fff; margin-top: 5px; }
.ad-cast img { width: 34px; height: 34px; border-radius: 6px; }
.ad-cast i { width: 10px; height: 10px; border: 1px solid #8a94a6; border-radius: 2px; background: #fff; }
.ad-cast .grip { color: #9aa5b5; font-weight: 400; }
.ad-cast b { font-size: 12px; }
.ad-cast small { font-size: 10px; font-weight: 400; color: #5b6678; margin-left: 6px; }
.ad-tags { display: flex; gap: 4px; }
.ad-tags span { padding: 1px 7px; border: 1px solid #e6ebf2; border-radius: 99px; font-size: 9.5px; font-weight: 400; color: #5b6678; }
.ad-link { color: #1f6fd6; font-size: 10px; }
/* HP管理 */
.ad-acc { display: flex; align-items: center; gap: 10px; width: 552px; padding: 10px 12px; border: 1px solid #e6ebf2; border-radius: 7px; background: #fff; margin-top: 6px; }
.ad-acc > i { flex: none; width: 22px; height: 22px; border-radius: 6px; background: #eaf7ef; border: 1px solid #cdeeda; }
.ad-acc b { display: block; font-size: 11.5px; }
.ad-acc span { display: block; font-size: 10px; font-weight: 400; color: #5b6678; }
.ad-acc em { margin-left: auto; font-style: normal; color: #8a94a6; font-weight: 400; }
.ad-acc.open { align-items: flex-start; flex-wrap: wrap; }
.ad-form { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 4px 0 2px 32px; }
.ad-form label { display: block; font-size: 9.5px; color: #5b6678; margin-bottom: 3px; }
.ad-form .ad-in { display: block; color: #151d30; }
/* 掲載状況一覧 */
.ad-mx { border-collapse: separate; border-spacing: 4px; font-size: 9.5px; margin-left: -4px; }
.ad-mx th { padding: 4px 2px; color: #5b6678; white-space: nowrap; font-weight: 700; width: 62px; }
.ad-mx th:first-child { width: 96px; text-align: left; padding-left: 4px; }
.ad-mx td { text-align: center; padding: 0; }
.ad-mx td:first-child { text-align: left; white-space: nowrap; font-size: 10.5px; }
.ad-mx td:first-child img { display: inline-block; vertical-align: middle; width: 22px; height: 22px; border-radius: 5px; margin-right: 6px; }
.ad-mx s { display: block; text-decoration: none; height: 26px; line-height: 26px; border-radius: 5px; font-size: 12px; background: #e8f8ee; color: #1b8a4f; }
.ad-mx s.x { background: #f1f4f8; color: #8a94a6; }
.ad-mx s.w { background: #fff1d6; color: #b45309; }
.ad-legend { display: flex; gap: 14px; font-size: 10px; font-weight: 400; color: #5b6678; margin: 2px 0 4px; }
.ad-legend b { margin-right: 4px; color: #1b8a4f; }
.ad-legend span:nth-child(2) b { color: #8a94a6; }
.ad-legend span:nth-child(3) b { color: #b45309; }
/* SNS投稿 */
.ad-sns { display: grid; grid-template-columns: 300px 268px; gap: 10px; }
.ad-card { border: 1px solid #e6ebf2; border-radius: 8px; background: #fff; padding: 10px; }
.ad-card + .ad-card { margin-top: 8px; }
.ad-ta { height: 150px; margin-top: 6px; padding: 8px 9px; border: 1px solid #dfe5ee; border-radius: 6px; font-size: 10px; font-weight: 400; line-height: 1.7; color: #151d30; }
.ad-check { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid #e6ebf2; border-radius: 6px; margin-top: 5px; font-size: 10.5px; }
.ad-check::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 3px; background: #22c55f; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #22c55f; }
.ad-check .ad-chip { margin-left: auto; }
.ad-seg { display: flex; gap: 0; border: 1px solid #dfe5ee; border-radius: 6px; overflow: hidden; margin-top: 6px; }
.ad-seg span { flex: 1; text-align: center; padding: 5px 0; font-size: 10px; }
.ad-seg .on { background: #1f3a5f; color: #fff; }
.ad-big { display: block; margin-top: 8px; padding: 8px 0; text-align: center; border-radius: 6px; background: #22c55f; color: #fff; font-size: 11px; }
/* レポート */
.ad-chart { display: block; width: 548px; height: 92px; margin: 2px 0 8px; }
/* きらら連携 */
.ad-kv { display: flex; align-items: center; gap: 8px; width: 552px; padding: 8px 10px; border: 1px solid #e6ebf2; border-radius: 7px; background: #fff; margin-top: 5px; font-size: 10.5px; }
.ad-kv img { width: 26px; height: 26px; border-radius: 6px; }
.ad-kv small { font-size: 10px; font-weight: 400; color: #5b6678; }
.ad-sum { width: 552px; padding: 8px 10px; margin-top: 8px; border: 1px solid #e6ebf2; border-radius: 7px; background: #f9fafc; font-size: 11px; }
.ad-sum::before { content: "▾"; margin-right: 6px; color: #8a94a6; }
.ad-sum.shut::before { content: "▸"; }

/* ---- 機能 ---- */
.feat { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: var(--gap); align-items: start; padding-bottom: var(--sec); border-top: 2px solid var(--navy); padding-top: 56px; }
.feat-index { position: sticky; top: calc(var(--hd) + 40px); }
.feat-index p { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.feat-index a { display: block; position: relative; padding: 9px 0 9px 16px; border-left: 2px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 700; line-height: 1.5; transition: color .2s, border-color .2s; }
.feat-index a:hover { color: var(--navy); }
.feat-index a.on { color: var(--navy); border-left-color: var(--navy); }
.feat-sec + .feat-sec { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.feat-text { scroll-margin-top: calc(var(--hd) + 40px); }
.feat-text h2 { font-size: clamp(24px, 2.5vw, 32px); }
.feat-text > p { margin-top: 20px; max-width: 34em; }
.feat-text .plain-list { margin-top: 20px; }
.feat-text .tl { display: inline-block; margin-top: 20px; }
.feat-fig { margin-top: 36px; max-width: 780px; }
.feat-media { margin-top: 24px; max-width: 420px; border-top: 1px solid var(--line); padding-top: 4px; }
.feat-media .md-main li { font-size: 16px; }
.feat-media .md-sub { margin-top: 12px; }
.feat-media .md-sns { margin-top: 12px; }
.feat-media .tick, .kr-list .tick { transition: none; }
.kr-list { margin-top: 24px; counter-reset: kr; border-top: 1px solid var(--line); }
.kr-list li { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.kr-list b { color: var(--navy); font-size: 15px; }
.kr-list span { font-size: 14px; color: var(--muted); }
@media (min-width: 1081px) {
  .js .feat-body.is-sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: var(--gap); }
  .js .is-sticky .feat-sec { display: contents; }
  .js .is-sticky .feat-text { grid-column: 1; min-height: 78vh; padding-bottom: 96px; }
  .js .is-sticky .feat-sec:last-child .feat-text { min-height: 0; padding-bottom: 0; }
  .js .is-sticky .feat-fig { grid-column: 2; grid-row: 1 / span 8; position: sticky; top: calc(var(--hd) + 40px); align-self: start; margin-top: 0; opacity: 0; visibility: hidden; transition: opacity .32s ease-out, visibility 0s .32s; }
  .js .is-sticky .feat-sec.is-on .feat-fig { opacity: 1; visibility: visible; transition-delay: 0s; }
}

/* ---- 料金 ---- */
.plans-full { margin-top: 0; }
.plans-full .plan { grid-row: span 5; padding-top: 40px; }
.plans-full { grid-template-rows: auto auto auto auto auto; }
.plan .price .tax { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.plan .plain-list { margin-top: 28px; font-size: 15px; }
.plan .tl { margin-top: 28px; align-self: end; justify-self: start; font-size: 15px; }
.plan .price s { color: var(--muted); font-size: 13px; display: block; margin-bottom: 2px; }
.term { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.seg { display: inline-flex; border: 1.5px solid var(--navy); border-radius: 6px; overflow: hidden; margin-top: 40px; }
.seg button { font: inherit; font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: .04em; padding: 14px 22px; background: #fff; color: var(--navy); border: 0; border-left: 1.5px solid var(--navy); cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg button:focus-visible { outline-offset: -4px; }
html:not(.js) .seg, html:not(.js) .term-now { display: none; }
.term-now { margin-top: 32px; }
.term-now .big { font-size: 15px; line-height: 1.4; color: var(--ink); }
.term-now .big b { font-size: clamp(44px, 5vw, 64px); color: var(--navy); letter-spacing: 0; margin: 0 4px 0 10px; line-height: 1.1; }
.term-now dl { margin-top: 20px; border-top: 1px solid var(--line); }
.term-now dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.term-now dt { color: var(--muted); }
.term-now dd { font-weight: 700; text-align: right; }
.tbl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 15px; line-height: 1.7; }
.tbl th, .tbl td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { font-size: 14px; color: var(--navy); white-space: nowrap; }
.tbl tbody th { font-weight: 700; color: var(--ink); width: 34%; padding-left: 0; }
.tbl thead th:first-child { padding-left: 0; }
.tbl td small, .tbl th small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.tbl .mk { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.tbl .mk.no { color: #9aa7b8; }
.tbl .mk.tbd { font-size: 13px; color: var(--muted); }
.tbl .us { background: var(--tint); }
.sec-tint .tbl .us { background: #fff; }
.tbl-wrap { margin-top: 48px; }
.tbl-num td { font-variant-numeric: tabular-nums; }
.legend { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---- お問い合わせ ---- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; padding-bottom: var(--sec); border-top: 2px solid var(--navy); padding-top: 56px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.field em { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 3px; background: var(--navy); color: #fff; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff;
  border: 1px solid #b9c5d6; border-radius: 6px; padding: 12px 14px; min-height: 52px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 180px; resize: vertical; display: block; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13, 107, 232, .18); }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; font-size: 15px; line-height: 1.7; }
.consent input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }
.consent a { text-decoration: underline; text-underline-offset: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-act { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-act button { font-family: inherit; cursor: pointer; min-width: 220px; }
.form-status { font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.form-status.is-error { color: #b42318; }
.form-status:empty { display: none; }
.proto-note { margin-bottom: 32px; padding: 12px 16px; border: 1px solid var(--frame); border-radius: 6px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.side-block + .side-block { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.side-block h2 { font-size: 20px; line-height: 1.55; }
.side-block p { margin-top: 12px; font-size: 15px; line-height: 1.9; }
.side-block .btn { margin-top: 20px; width: 100%; }
.steps { margin-top: 20px; counter-reset: st; }
.steps li { position: relative; padding: 0 0 20px 44px; counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); display: grid; place-items: center; font-size: 13px; font-weight: 700; line-height: 1; background: #fff; }
.steps li::after { content: ""; position: absolute; left: 12px; top: 27px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--navy); line-height: 1.7; }
.steps span { display: block; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ---- コラム ---- */
.col-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
html:not(.js) .col-tools, html:not(.js) .col-more { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: 14px; font-weight: 700; line-height: 1; padding: 11px 16px; border: 1px solid var(--frame); border-radius: 99px; background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.chips button:hover { border-color: var(--navy); }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.col-select { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.col-select select { font: inherit; font-size: 14px; padding: 9px 12px; min-height: 40px; border: 1px solid var(--frame); border-radius: 6px; background: #fff; color: var(--ink); max-width: 240px; }
.col-count { margin-left: auto; font-size: 14px; color: var(--muted); }
.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin-top: 48px; }
.col-card { display: block; color: inherit; }
.col-card[hidden] { display: none; }
.col-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--tint); }
.col-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.col-card:hover .col-thumb img { transform: scale(1.03); }
.col-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.col-meta b { color: var(--navy); }
.col-card h2 { margin-top: 8px; font-size: 17px; line-height: 1.65; color: var(--ink); transition: color .2s; }
.col-card:hover h2 { color: var(--blue); }
.col-card h2::after { content: "↗"; margin-left: .4em; color: var(--muted); font-weight: 400; }
.col-more { margin-top: 64px; text-align: center; }
.col-more button { font-family: inherit; cursor: pointer; min-width: 240px; }
.col-empty { margin-top: 48px; color: var(--muted); }

/* ---- 文書（会社概要・規約など）---- */
.doc { max-width: 40em; padding-bottom: var(--sec); }
.doc > p, .doc section p { line-height: 2; }
.doc h2 { font-size: 20px; line-height: 1.6; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h2 + p { margin-top: 12px; }
.doc p + p { margin-top: 16px; }
.doc a { text-decoration: underline; text-underline-offset: 4px; }
.doc .date { margin-top: 56px; font-size: 14px; color: var(--muted); }
.doc-top { border-top: 2px solid var(--navy); padding-top: 40px; }
.facts-tbl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.facts-tbl th, .facts-tbl td { padding: 22px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.9; }
.facts-tbl th { width: 9em; font-size: 14px; color: var(--muted); font-weight: 700; padding-right: 24px; }

/* ---- 404 ---- */
.nf { padding: 120px 0 160px; }
.nf .num { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.nf ul { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; }

@media (max-width: 1080px) {
  .feat { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; border-top: 0; }
  .feat-index { position: sticky; top: var(--hd); z-index: 20; display: flex; gap: 8px; margin: 0 calc(var(--pad) * -1) 48px; padding: 12px var(--pad); overflow-x: auto; background: #fff; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .feat-index::-webkit-scrollbar { display: none; }
  .feat-index p { display: none; }
  .feat-index a { flex: none; padding: 9px 14px; border: 1px solid var(--frame); border-radius: 99px; font-size: 14px; line-height: 1; white-space: nowrap; color: var(--ink); background: #fff; }
  .feat-index a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
  .feat-text { scroll-margin-top: calc(var(--hd) + 80px); }
  .term { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .side-block .btn { width: auto; }
  .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
}
@media (max-width: 900px) {
  .plans-full .plan, .plans-full .plan:first-child, .plans-full .plan:last-child { display: block; padding: 36px 0; }
  .plans-full .plan .price { margin-top: 20px; min-width: 0; }
}
@media (max-width: 760px) {
  .shot .adm { aspect-ratio: 520 / 430; --k: .64; }
  @supports (width: calc(1px * tan(atan2(1px, 1px)))) { .shot .adm { --k: tan(atan2(100cqw, 520px)); } }
  .feat-sec + .feat-sec { margin-top: 56px; padding-top: 56px; }
  .feat-fig { margin-top: 28px; }
  .feat-index { margin-bottom: 40px; }
  .seg { display: flex; margin-top: 32px; }
  .seg button { flex: 1; padding: 14px 6px; font-size: 14px; }
  /* 比較表：1行ずつ積む（列を隠さない） */
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack th, .tbl.stack td { display: block; width: auto; }
  .tbl.stack thead { display: none; }
  .tbl.stack tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .tbl.stack tbody th { padding: 0 0 8px; border: 0; font-size: 16px; color: var(--navy); }
  .tbl.stack td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 5px 0; border: 0; font-size: 15px; }
  .tbl.stack td::before { content: attr(data-l); font-size: 13px; font-weight: 700; color: var(--muted); }
  .tbl.stack .us { background: none; }
  .tbl.stack .mk { font-size: 15px; }
  .tbl-wrap { margin-top: 32px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact { padding-top: 40px; gap: 56px; }
  .form-act button { width: 100%; }
  .side-block .btn { width: 100%; }
  .col-tools { gap: 14px; padding: 20px 0; }
  .col-select { width: 100%; }
  .col-select select { flex: 1; max-width: none; }
  .col-count { margin-left: 0; }
  .col-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .col-more { margin-top: 48px; }
  .col-more button { width: 100%; }
  .doc h2 { margin-top: 40px; padding-top: 24px; font-size: 18px; }
  .facts-tbl th, .facts-tbl td { display: block; width: auto; padding: 0; border: 0; }
  .facts-tbl tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .facts-tbl th { margin-bottom: 2px; font-size: 13px; }
  .nf { padding: 72px 0 104px; }
}

/* 他社比較：エスらくの列を濃く、他社の × は静かに */
.rival .scope td { font-weight: 700; color: var(--muted); }
.rival .scope td.us b { color: var(--navy); }
.rival .scope th { color: var(--muted); font-size: 14px; }
.rival td.us { box-shadow: inset 2px 0 0 var(--navy), inset -2px 0 0 var(--navy); }
.rival thead th.us { box-shadow: inset 2px 0 0 var(--navy), inset -2px 0 0 var(--navy), inset 0 2px 0 var(--navy); background: var(--navy); color: #fff; }
.rival thead th.us small { color: #dbe6f5; }
.rival tbody tr:last-child td.us { box-shadow: inset 2px 0 0 var(--navy), inset -2px 0 0 var(--navy), inset 0 -2px 0 var(--navy); }
.rival td:not(.us) .mk { color: var(--muted) !important; font-weight: 400; }
.rival td:not(.us) .mk.no { color: #c3ccd9 !important; }
.rival td:not(.us) .mk.yes { color: var(--ink) !important; font-weight: 700; }
.sec-tint .rival thead th.us { background: var(--navy); }
.tbl.fix { table-layout: fixed; }
.tbl.fix thead th:first-child { width: 34%; }
.rival thead th.us { width: 26%; }
.rival td.us .mk { font-size: 21px; }
.rival .scope td { font-size: 15px; }
@media (max-width: 760px) {
  .rival td.us, .rival tbody tr:last-child td.us { box-shadow: none; }
  .rival td.us::before { color: var(--navy); }
}
@media (max-width: 760px) {
  .tbl.stack td > small { grid-column: 2; margin-top: -4px; }
}
.plan .tl { display: inline-block; }
.steps { list-style: none; padding: 0; }
.col-select { white-space: nowrap; }
.col-select select { min-width: 0; }
.shot .adm-tabs span { white-space: nowrap; }
/* かんたん見積もり */
.sim { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.sim h3 { font-size: clamp(20px, 2vw, 24px); }
.sim-needs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chk { position: relative; display: inline-flex; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chk span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border: 1.5px solid var(--frame); border-radius: 99px; background: #fff; font-size: 16px; font-weight: 700; line-height: 1; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.chk span::before { content: ""; width: 12px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); opacity: .25; }
.chk input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chk input:checked + span::before { opacity: 1; }
.chk input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.sim-nojs { margin-top: 16px; font-size: 15px; color: var(--muted); }
.js .sim-nojs, html:not(.js) .sim-needs { display: none; }
.sim-out { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); transition: opacity .2s; }
.sim-out.is-empty { opacity: .3; }
.sim-col { padding: 28px 32px 32px 0; }
.sim-col.us { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.sim-t { font-size: 15px; font-weight: 700; color: var(--muted); line-height: 1.6; }
.sim-col.us .sim-t { color: var(--navy); }
.sim-col .big { margin-top: 8px; font-size: 15px; line-height: 1.4; }
.sim-col .big b { font-size: clamp(34px, 4vw, 48px); letter-spacing: 0; margin-right: 4px; line-height: 1.15; color: var(--ink); }
.sim-col.us .big b { color: var(--navy); }
.sim-s { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.sim-diff { margin-top: 24px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--navy); line-height: 1.6; }
.sim-diff.plain { font-size: 16px; font-weight: 400; color: var(--ink); }
@media (max-width: 760px) {
  .sim { margin-top: 48px; padding-top: 40px; }
  .sim-out { grid-template-columns: minmax(0, 1fr); }
  .sim-col, .sim-col.us { padding: 22px 0 24px; }
  .sim-col.us { border-left: 0; border-top: 1px solid var(--line); }
  .chk span { min-height: 46px; font-size: 15px; padding: 0 16px 0 14px; }
}
.chk.is-idle span { opacity: .55; border-style: dashed; }
.sim-hint { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
html:not(.js) .sim-hint { display: none; }
.plan .plain-list b { color: var(--navy); }
.rival td.us small b { color: var(--navy); font-size: 13.5px; }

/* ===== きらら（セラピスト用アプリ）：スマホ画面の再現とトップの図 ===== */
.kr-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.kr-free { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.6; color: var(--navy); }
.kr-free img { flex: none; width: 48px; height: 48px; }
.kr-do li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.kr-do b { color: var(--navy); }
.kr-do span { font-size: 15px; color: var(--muted); }
.kr-grid .more { margin-top: 32px; }
.plan .price .kr-tag { display: table; margin-top: 12px; padding: 5px 10px; border: 1px solid var(--navy); border-radius: 3px; color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .06em; }
.kst-in { position: relative; display: grid; grid-template-columns: 43% minmax(0, 1fr); gap: 40px; align-items: center; }
.kph { container-type: inline-size; min-width: 0; }
.kph .pf { border-radius: 30px; }
.kph-view { position: relative; overflow: hidden; aspect-ratio: 300 / 590; background: #fbf5f3; --k: .78; }
@supports (width: calc(1px * tan(atan2(1px, 1px)))) { .kph-view { --k: tan(atan2(100cqw - 12px, 300px)); } }
.kph-in { position: absolute; left: 0; top: 0; width: 300px; height: 590px; padding: 16px 13px 0; transform-origin: 0 0; transform: scale(var(--k)); color: #8b5e6b; font-size: 12px; line-height: 1.5; letter-spacing: .01em; }
.kst-cap, .kr-to { font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.5; }
.kst-cap { margin-top: 14px; text-align: center; }
.kr-to { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.kr-to::before { content: ""; width: 14px; height: 2px; background: var(--muted); }
.k-h1 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.k-h1 i { font-style: normal; color: #c4956a; font-size: 17px; }
.k-h1 .k-cal svg { width: 18px; height: 18px; fill: none; stroke: #b8a0c8; stroke-width: 1.6; display: block; }
.k-sub { font-size: 11px; color: rgba(139, 94, 107, .55); margin-top: 3px; }
.k-seg { display: inline-flex; margin-top: 9px; padding: 3px; border-radius: 99px; background: rgba(255, 250, 248, .9); border: 1px solid rgba(212, 132, 155, .28); font-size: 11.5px; font-weight: 700; }
.k-seg span { padding: 6px 14px; border-radius: 99px; color: rgba(139, 94, 107, .6); }
.k-seg .on { background: #d4849b; color: #fff; box-shadow: 0 3px 8px rgba(212, 132, 155, .3); }
.k-card { margin-top: 10px; padding: 12px; border-radius: 18px; background: rgba(255, 252, 250, .85); border: 1px solid rgba(212, 132, 155, .28); box-shadow: 0 6px 16px rgba(212, 132, 155, .06); }
.k-ta { position: relative; min-height: 70px; padding-bottom: 8px; border-bottom: 1px solid rgba(212, 132, 155, .3); font-size: 12.5px; line-height: 1.7; display: flex; gap: 10px; justify-content: space-between; }
.k-ta img { flex: none; width: 56px; height: 56px; border-radius: 12px; }
.k-ph { color: rgba(139, 94, 107, .4); display: none; }
.k-tools { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 10.5px; color: rgba(139, 94, 107, .6); }
.k-tools > span { padding: 5px 10px; border-radius: 99px; background: rgba(245, 198, 208, .22); }
.k-tools small { margin-left: auto; font-size: 10px; }
.k-n0 { display: none; }
.k-row { display: flex; align-items: center; justify-content: space-between; }
.k-h3 { font-size: 13px; font-weight: 700; }
.k-all { padding: 4px 9px; border-radius: 99px; background: rgba(245, 198, 208, .35); color: #d4849b; font-size: 10px; }
.k-acc { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(212, 132, 155, .25); font-size: 11.5px; font-weight: 700; }
.k-acc i { width: 6px; height: 6px; border-radius: 50%; background: #d4849b; }
.k-acc span { color: #b8a0c8; font-weight: 400; }
.k-ics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 14px; margin-top: 12px; padding: 0 4px; }
.k-ic { position: relative; display: block; border-radius: 50%; transition: opacity .3s, box-shadow .3s; }
.k-ic img { width: 100%; border-radius: 50%; }
.k-ic:not(.sel) { opacity: .38; }
.k-ic.sel { box-shadow: 0 0 0 2px #fbf5f3, 0 0 0 4px #d4849b; }
.k-ic.sel::after { content: ""; position: absolute; right: -3px; top: -3px; width: 15px; height: 15px; border-radius: 50%; background: #d4849b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M4 7.7l2.3 2.3L11 5.2' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: 0 0 0 2px #fbf5f3; transition: transform .3s var(--ease); }
.k-nav { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 56px; padding: 0 66px 0 6px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-radius: 99px; background: rgba(255, 250, 248, .96); border: 1px solid rgba(212, 132, 155, .25); box-shadow: 0 8px 22px rgba(212, 132, 155, .16); font-size: 8.5px; font-weight: 700; color: rgba(139, 94, 107, .5); }
.k-nav span { display: grid; justify-items: center; gap: 3px; white-space: nowrap; }
.k-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.k-nav b { position: absolute; right: -4px; top: 50%; width: 66px; height: 66px; margin-top: -33px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px; background: #d4849b; border: 5px solid #fff; box-shadow: 0 8px 20px rgba(212, 132, 155, .3); color: #fff; font-size: 11px; transition: transform .12s; }
.k-nav b { background: linear-gradient(135deg, #d4849b, #c9947a); }
.kduo .k-toast { display: none; }
.k-nav b svg { width: 20px; height: 20px; stroke-width: 1.6; }
.k-toast { position: absolute; left: 18px; right: 18px; top: 12px; padding: 11px 14px; border-radius: 14px; background: #fff; color: #5b3c46; font-size: 12px; font-weight: 700; box-shadow: 0 8px 24px rgba(90, 50, 65, .2); display: flex; align-items: center; gap: 8px; transition: opacity .3s, transform .4s var(--ease); }
.k-toast::before { content: ""; width: 10px; height: 6px; border: solid #3f9d6c; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
/* シフト管理（シフト希望） */
.k-week { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border-radius: 20px; background: rgba(255, 252, 250, .85); border: 1px solid rgba(212, 132, 155, .28); text-align: center; }
.k-week i { width: 26px; height: 26px; border-radius: 50%; background: rgba(245, 198, 208, .3); color: #d4849b; font-style: normal; font-size: 15px; line-height: 24px; }
.k-week b { display: block; font-size: 14px; }
.k-week small { font-size: 9px; color: rgba(139, 94, 107, .55); }
.k-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 4px; border-radius: 99px; background: #f4c4d0; font-size: 11.5px; font-weight: 700; text-align: center; }
.k-tabs span { padding: 7px 0; border-radius: 99px; }
.k-tabs .on { background: #fffaf8; box-shadow: 0 2px 6px rgba(139, 94, 107, .15); }
.k-day { display: flex; align-items: center; gap: 12px; margin-top: 9px; padding: 9px 12px; border-radius: 18px; background: rgba(255, 252, 250, .85); border: 1px solid rgba(212, 132, 155, .28); }
.k-day > span { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(245, 198, 208, .2); display: grid; place-content: center; text-align: center; line-height: 1.15; }
.k-day small { font-size: 8.5px; color: rgba(139, 94, 107, .6); }
.k-day b { font-size: 11px; }
.k-day p { font-size: 12px; color: rgba(139, 94, 107, .4); }
.k-day.set { border-color: #d4849b; background: #fff; }
.k-day.set p { color: #8b5e6b; font-weight: 700; font-size: 13.5px; }
.k-day.set > span { background: #d4849b; color: #fff; }
.k-day.set small { color: #fff; }
/* 右側：お店のHPとSNS */
.kr-outs { display: grid; gap: 28px; min-width: 0; }

.kr-hp .kr-post { min-height: 64px; }
.kr-sns { min-height: 66px; }
.kr-hp { padding: 12px 14px 14px; }
.kr-hp-h { font-size: 12px; font-weight: 700; color: var(--navy); padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); letter-spacing: .08em; }
.kr-post { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.7; }
.kr-post > img { flex: none; width: 64px; height: 64px; border-radius: 6px; }
.kr-post b { display: block; font-size: 14px; color: var(--ink); line-height: 1.5; }
.kr-post small { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.kr-post div > small { display: block; margin: 0 0 4px; }
.kr-post div > span { display: block; }
.kr-sns { border: 1px solid var(--frame); border-radius: 8px; background: #fff; padding: 12px 14px; }
.kr-sns + .kr-sns { margin-top: 10px; }
.kr-sns .kr-post > img { width: 40px; height: 40px; border-radius: 50%; }
.kr-sns em { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1; color: var(--muted); }
.kr-sns em img { width: 22px; height: 22px; border-radius: 50%; }
/* 動きの各段階（HTMLの初期状態＝投稿が終わった姿） */
.kst[data-state="start"] .k-txt, .kst[data-state="start"] .k-ta img, .kst[data-state="start"] .k-n1 { display: none; }
.kst[data-state="start"] .k-ph, .kst[data-state="start"] .k-n0 { display: inline; }
.kst[data-state="start"] .k-ic, .kst[data-state="typed"] .k-ic { opacity: .38; box-shadow: none; }
.kst[data-state="start"] .k-ic::after, .kst[data-state="typed"] .k-ic::after { transform: scale(0); }
.kst:not([data-state="final"]):not([data-state="sent"]) .k-toast { opacity: 0; transform: translateY(-10px); transition: none; }
.kst[data-state="tap"] .k-nav b { transform: scale(.92); }

/* 機能ページ：スマホ2台 */
.kduo { border: 1px solid var(--line); border-radius: 10px; background: var(--tint); padding: 36px 24px 24px; }
.kduo-in { display: grid; grid-template-columns: repeat(2, minmax(0, 236px)); justify-content: center; gap: 48px; }
@media (max-width: 1080px) {
  .kr-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .kst { max-width: 680px; }
}
@media (max-width: 760px) {
  .kr-free { margin-top: 24px; gap: 12px; }
  .kr-free img { width: 40px; height: 40px; }
  .kr-do li { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .kst-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .kst .kph { width: 68%; margin: 0 auto; }
  .kr-outs { gap: 24px; }
  .kduo { padding: 24px 16px 16px; }
  .kduo-in { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .kst .cur { display: none; } }

/* ===== 行の切れ目：リード文は768px以上で1文1行（スマホは通常の折り返し）===== */
@media (min-width: 768px) {
  .ln { display: block; text-wrap: balance; }
  .lead.lead-ln { max-width: 52em; }
}
.hero-text p.hero-lead { letter-spacing: 0; }
.adm-pill.room { color: #12766e; border-color: #bfe3dd; background: #eef9f7; font-weight: 700; }
.adm-box + .adm-box { margin-top: 5px; }
.feat { grid-template-columns: 160px minmax(0, 1fr); }
.feat-text h2 { font-size: clamp(22px, 2.05vw, 26px); }
@media (min-width: 1081px) { .js .feat-body.is-sticky { grid-template-columns: minmax(0, 5.5fr) minmax(0, 7.5fr); } }
@media (max-width: 1080px) { .feat { grid-template-columns: minmax(0, 1fr); } }
/* ===== 割引の見せ方（橙は割引の印と「無料で相談する」だけ）===== */
.was { color: var(--muted); }
.was s { text-decoration: line-through #ff920f 2px; }
.plan .price .was { display: block; font-size: 15px; margin-bottom: 4px; }
.off { display: inline-block; padding: 5px 9px; border: 1.5px solid #ff920f; border-radius: 4px; color: #a85400; background: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
.plan .price .off { margin: 10px 0 2px; display: table; }
.tbl td .was { margin-top: 6px; }
.term-now dt .was { display: block; font-size: 13px; }
.tbl tr.best th, .tbl tr.best td { background: #fff; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.tbl tr.best th { padding-left: 16px; border-left: 2px solid var(--navy); color: var(--navy); }
.tbl tr.best td:last-child { border-right: 2px solid var(--navy); }
.tbl tr.best th small { margin-top: 2px; color: var(--navy); }
.tbl tr.best .mk { font-size: 22px; }
.term-now .big b { transition: none; }
.seg button[data-term="12"] { position: relative; }
@media (max-width: 760px) {
  .tbl.stack tr.best { padding: 18px 14px; border: 2px solid var(--navy); margin-top: -1px; background: #fff; }
  .tbl.stack tr.best th, .tbl.stack tr.best td { border: 0; padding-left: 0; }
  .tbl.stack tr.best th { padding-bottom: 8px; }
}
.term { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1080px) { .term { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1081px) and (max-width: 1199px) {
  .hero-text p.hero-lead, .qa-grid .lead, .term .lead { font-size: 15.5px; }
}
.plan .price .was s { display: inline; font-size: 16px; margin: 0; color: inherit; }
.tbl td .off { justify-self: start; }

/* ===== きらら：届く前は「待っている」姿（薄い色）、届いたら順に色がつく ===== */
.kr-post .t1, .kr-post .t2 { display: block; }
.kr-to .kr-st { margin-left: auto; }
.kr-st { display: inline-grid; font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; justify-items: end; }
.kr-st span { grid-area: 1 / 1; transition: opacity .3s; transition-delay: calc(var(--i, 0) * .25s); }
.kr-st .w { color: var(--muted); font-weight: 400; opacity: 0; }
.kr-st .d { color: var(--navy); }
.kr-st .d::before { content: ""; display: inline-block; width: 9px; height: 5px; margin-right: 6px; border: solid var(--navy); border-width: 0 0 2px 2px; transform: translateY(-3px) rotate(-45deg); }
.kr-card { transition: border-color .4s; transition-delay: calc(var(--i, 0) * .25s); }
.kr-card .kr-post { transition: opacity .5s ease-out, filter .5s ease-out; transition-delay: calc(var(--i, 0) * .25s); }
.kst:not([data-state="final"]) .kr-st .w { opacity: 1; transition: none; }
.kst:not([data-state="final"]) .kr-st .d { opacity: 0; transition: none; }
.kst:not([data-state="final"]) .kr-card .kr-post { opacity: .42; filter: grayscale(1); transition: none; }
.kst:not([data-state="final"]) .kr-card { border-style: dashed; transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .kst[data-state="final"] .kr-card { animation: kr-hit 1.3s ease-out calc(var(--i, 0) * .25s) 1 both; }
}
@keyframes kr-hit { 0% { box-shadow: 0 0 0 0 rgba(6, 48, 107, 0); } 25% { box-shadow: 0 0 0 3px rgba(6, 48, 107, .55); } 100% { box-shadow: 0 0 0 3px rgba(6, 48, 107, 0); } }

/* ===== スマホの仕上げ（320〜430px）===== */
li, dd, dt, td, th, figcaption, summary, .kr-list span, .steps span, .kr-do span { text-wrap: pretty; }
@media (max-width: 767px) { .cm { display: none; } }
@media (max-width: 760px) {
  /* タップ領域は44px以上 */
  .logo { display: flex; align-items: center; min-height: 44px; }
  .hd .btn-s, .js .menu-btn { min-height: 44px; height: 44px; }
  :root { --hd: 60px; }
  .ft nav { gap: 0 20px; }
  .ft nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .feat-index { padding: 8px var(--pad); }
  .feat-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
  .seg button { min-height: 48px; }
  .col-select select { min-height: 46px; }
  .consent { min-height: 44px; align-items: center; }
  .consent input { margin: 0; }
  .pn a { min-height: 44px; }
  .ft-legal small, .site-footer small { font-size: 12px; }
  .field em { font-size: 12px; }
  .tl { padding: 6px 0; display: inline-block; }
  /* きらら：スマホの横に結果を積む（原因と結果が同じ画面に入る） */
  .kst-in { grid-template-columns: 46% minmax(0, 1fr); gap: 14px; align-items: start; }
  .kst .kph { width: 100%; margin: 0; }
  .kph .pf { border-width: 4px; border-radius: 20px; }
  .kst-cap { margin-top: 8px; font-size: 11px; font-weight: 400; }
  .kr-outs { gap: 12px; }
  .kr-to { font-size: 12px; margin-bottom: 5px; gap: 6px; flex-wrap: wrap; }
  .kr-to::before { width: 10px; }
  .kr-st { font-size: 10.5px; }
  .kr-st .d::before { width: 7px; height: 4px; margin-right: 4px; }
  .kr-card .bf-bar { display: none; }
  .kr-hp { padding: 8px 10px 10px; }
  .kr-hp-h { font-size: 10.5px; padding-bottom: 5px; margin-bottom: 7px; }
  .kr-post { gap: 8px; font-size: 11px; line-height: 1.55; }
  .kr-post > img, .kr-sns .kr-post > img { width: 34px; height: 34px; }
  .kr-post b { font-size: 12px; }
  .kr-post small { font-size: 10px; margin-left: 0; }
  .kr-sns .kr-post b small { display: none; }
  .kr-hp .kr-post { min-height: 0; }
  .kr-post .t2 { display: none; }
  .kr-sns { padding: 8px 10px; min-height: 0; }
  .kr-sns + .kr-sns { margin-top: 8px; }
  .kr-sns em { position: static; order: -1; font-size: 10px; margin-bottom: 4px; }
  .kr-sns .kr-post { flex-wrap: wrap; }
  .kr-sns .kr-post em { flex: 0 0 100%; }
  .kr-sns em img { width: 16px; height: 16px; }
}
@media (max-width: 374px) {
  h2 { font-size: 22px; }
  .hero-sub { font-size: 13px; padding: 6px 10px; letter-spacing: .02em; }
  .hero-title { font-size: 27px; }
  .page-head h1 { font-size: 26px; }
  .feat-text h2 { font-size: 21px; }
  .closing h2 { font-size: 22px; }
  .chk span { padding: 0 13px 0 11px; font-size: 14px; gap: 7px; }
  .kst-in { gap: 10px; }
  .kr-post { font-size: 10.5px; }
}
.kr-post > div { flex: 1; min-width: 0; }
.kr-post .t1, .kr-post .t2 { text-wrap: balance; }
@media (max-width: 760px) {
  .kr-to .kr-st { margin-left: 0; flex: 0 0 100%; justify-items: start; }
  .kr-post { font-size: 10.5px; }
  .kr-post > img, .kr-sns .kr-post > img { width: 28px; height: 28px; }
  .kr-post div > small { margin-bottom: 1px; }
}
@media (max-width: 374px) { .cap-x { display: none; } }
@media (max-width: 760px) {
  .fl-step .fv.fv-media { height: auto; min-height: 0; gap: 14px; }
  .case-cap p, .case-row p, .closing p, .page-head .lead, .kr-do span, .plan > p { word-break: auto-phrase; }
}
@media (max-width: 374px) {
  .term-now .big b { font-size: 38px; margin: 0 2px 0 6px; }
  .md-main li { font-size: 15px; }
}

/* ===== 媒体のロゴ（色はそのまま。白地のタイル＋名前）===== */
.mg-h { font-size: 14px; font-weight: 700; color: var(--navy); margin: 8px 0 12px; }
.mg-sub { font-size: 12px; font-weight: 700; color: var(--muted); margin: 16px 0 8px; }
.feat-media { max-width: 440px; }
.mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
.mgrid + .mgrid { margin-top: 12px; }
.mt { display: block; text-align: center; }
.mt-l { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.mt-l img { width: 100%; height: 100%; object-fit: cover; }
.mt-l b { font-size: 12px; line-height: 1.4; color: var(--navy); padding: 4px; }
.mt-n { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.45; color: var(--ink); word-break: auto-phrase; }
.mgrid.main .mt-l { border-color: var(--frame); }
.mgrid.main .mt-n { font-weight: 700; color: var(--navy); font-size: 12px; }
@media (max-width: 760px) {
  .feat-media { max-width: none; }
  .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .mgrid.main { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .mt-n { font-size: 12px; }
}
/* ===== リンクバナー ===== */
.bn-jump { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.bn-brand { border-top: 2px solid var(--navy); padding-top: 40px; }
.bn-brand + .bn-brand, .bn-how { margin-top: 96px; }
.bn-brand h2, .bn-how h2 { font-size: clamp(24px, 2.4vw, 30px); }
.bn-sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.bn-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.bn-prev { border: 1px solid var(--line); border-radius: 6px; background: var(--tint); padding: 20px; display: grid; place-items: center; }
.bn-prev img { border: 1px solid var(--line); }
.bn-item.sq .bn-prev img { max-width: min(100%, 240px); }
.bn-body h3 { font-size: 18px; }
.bn-body h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.bn-label { display: block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.bn-tag { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #b9c5d6; border-radius: 6px; background: #fff; color: var(--ink); font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; white-space: pre; overflow: auto; }
.bn-tag:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13, 107, 232, .18); }
.bn-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.bn-act button { font-family: inherit; cursor: pointer; min-height: 44px; }
.bn-status { font-size: 13px; font-weight: 700; color: var(--navy); }
.bn-how { border-top: 2px solid var(--navy); padding-top: 40px; max-width: 44em; }
.bn-how .steps b { color: var(--ink); font-weight: 400; }
.bn-how .steps li { padding-bottom: 16px; }
@media (max-width: 760px) {
  .bn-item { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .bn-prev { padding: 14px; }
  .bn-brand + .bn-brand, .bn-how { margin-top: 64px; }
  .bn-act .btn { width: 100%; }
}
.mgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 330px; }
@media (max-width: 760px) {
  /* スマホは3列：全部のタイルをひと続きに並べる（12個＝4段） */
  .feat-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .feat-media .mgrid { display: contents; }
  .feat-media .mg-h { grid-column: 1 / -1; margin: 8px 0 0; }
  .feat-media .mg-sub { grid-column: 1 / -1; margin: 10px 0 0; }
  .mgrid.c3 { max-width: none; }
}

/* 長い媒体名は語の途中で切らない */
.mt-n { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }

/* ===== コラムの記事（/column/?article=<slug>）===== */
html.is-article .col-list-view, html:not(.is-article) .art { display: none; }
.col-card h2::after { content: none; }
.art { padding: 40px 0 var(--sec); }
.art-state { min-height: 50vh; padding: 56px 0; color: var(--muted); }
.art-state.is-error { color: var(--ink); }
.art-state h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.art-state p + p { margin-top: 24px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(13, 107, 232, .32); text-underline-offset: 5px; }
.crumb i { font-style: normal; }
.art-head { margin-top: 16px; max-width: 880px; }
.art-head h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.5; text-wrap: pretty; }
.art-date { margin-top: 16px; font-size: 14px; color: var(--muted); }
.art-cover { display: block; width: 100%; max-width: 880px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--tint); }
.art-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 660px) 248px; column-gap: 72px; align-items: start; }
.art-lead, .art-body, .art-cta { grid-column: 1; }
.art-lead { font-size: 17px; line-height: 2; font-weight: 700; color: var(--navy); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.art-toc { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: calc(var(--hd) + 32px); max-height: calc(100vh - var(--hd) - 64px); overflow: auto; border-left: 2px solid var(--line); padding-left: 20px; }
.art-toc summary { list-style: none; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc ol { margin: 0; padding: 0; list-style: none; }
.art-toc a { display: block; padding: 7px 0; font-size: 14px; line-height: 1.6; color: var(--muted); transition: color .2s; }
.art-toc a:hover, .art-toc a.on { color: var(--navy); }
.art-toc a.on { font-weight: 700; }
.art-body { margin-top: 40px; font-size: 16.5px; line-height: 1.95; }
.art-body > * + * { margin-top: 1.35em; }
.art-body h2 { margin-top: 72px; padding-top: 32px; border-top: 2px solid var(--navy); font-size: clamp(21px, 2.1vw, 26px); line-height: 1.55; scroll-margin-top: calc(var(--hd) + 24px); text-wrap: pretty; }
.art-body h2:first-child { margin-top: 0; }
.art-body h3, .art-body p.art-sub { margin-top: 44px; font-size: 18.5px; line-height: 1.6; color: var(--navy); font-weight: 700; padding-left: 14px; border-left: 3px solid var(--navy); }
.art-body p.art-sub + *, .art-body h3 + * { margin-top: .8em; }
.art-body h2 + * { margin-top: 1.2em; }
.art-body strong { font-weight: 700; color: var(--navy); }
.art-body ul, .art-body ol { padding-left: 1.5em; }
.art-body ul { list-style: disc; }
.art-body ol { list-style: decimal; }
.art-body li { padding-left: .2em; }
.art-body li + li { margin-top: .5em; }
.art-body li::marker { color: var(--navy); font-weight: 700; }
.art-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.art-body blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--frame); color: var(--muted); }
.art-body img, .art-body video { max-width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.art-body figure { margin-left: 0; margin-right: 0; }
.art-body figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.art-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--navy); }
.art-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.art-table th, .art-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.art-table th { color: var(--navy); white-space: nowrap; }
.art-cta { margin-top: 72px; padding: 36px 40px; border: 1px solid var(--frame); border-radius: 8px; background: var(--tint); }
.art-cta-h { font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.art-cta p + p { margin-top: 8px; font-size: 15px; }
.art-cta .btn { margin-top: 24px; }
.art-rel { margin-top: 112px; padding-top: 48px; border-top: 1px solid var(--line); }
.art-rel > h2 { font-size: clamp(22px, 2.2vw, 28px); }
.art-rel .col-card h3 { margin-top: 8px; font-size: 17px; line-height: 1.65; color: var(--ink); transition: color .2s; }
.art-rel .col-card:hover h3 { color: var(--blue); }
.art-back { margin-top: 72px; }
@media (max-width: 1080px) {
  .art-grid { grid-template-columns: minmax(0, 660px); margin-top: 40px; }
  .art-toc { grid-column: 1; grid-row: auto; position: static; max-height: none; overflow: visible; margin-top: 28px; padding: 0; border: 1px solid var(--frame); border-radius: 8px; }
  .art-toc summary { position: relative; margin: 0; padding: 0 48px 0 18px; min-height: 52px; display: flex; align-items: center; font-size: 15px; color: var(--navy); cursor: pointer; }
  .art-toc summary::before, .art-toc summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--navy); transition: transform .3s var(--ease); }
  .art-toc summary::after { transform: rotate(90deg); }
  .art-toc[open] summary::after { transform: none; }
  .art-toc ol { padding: 4px 18px 12px; border-top: 1px solid var(--line); }
  .art-toc a { display: flex; align-items: center; padding: 10px 0; min-height: 44px; font-size: 15px; color: var(--ink); }
  .art-toc li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .art { padding-top: 16px; }
  .art-head { margin-top: 8px; }
  .art-head h1 { font-size: 24px; line-height: 1.55; }
  .art-cover { margin-top: 24px; }
  .art-grid { margin-top: 32px; }
  .art-lead { font-size: 16px; padding-bottom: 24px; }
  .art-body { margin-top: 32px; font-size: 16px; }
  .art-body h2 { margin-top: 56px; padding-top: 24px; font-size: 20px; }
  .art-body h3, .art-body p.art-sub { font-size: 17px; margin-top: 36px; }
  .art-cta { margin-top: 56px; padding: 28px 20px; }
  .art-cta-h { font-size: 19px; }
  .art-cta .btn { width: 100%; }
  .art-rel { margin-top: 72px; padding-top: 40px; }
  .art-back { margin-top: 48px; }
}
@media (max-width: 374px) { .art-head h1 { font-size: 22px; } }
.art-h1-main, .art-h1-sub { display: block; }
.art-h1-bar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.art-h1-sub { margin-top: 10px; font-size: .68em; line-height: 1.6; color: var(--ink); }
.art-body h2 { scroll-margin-top: 8px; }

/* ページの切り替え：ヘッダーはその場に残し、本文だけ「上へ消える → 下から入る」
   （root を動かす。ヘッダーは別グループなので動かない。事例サムネは case-* で形をつなぐ） */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .2s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .35s cubic-bezier(.2, .7, .2, 1) .17s both; }
  ::view-transition-group(*) { animation-duration: .4s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
  ::view-transition-old(site-header) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
::view-transition-group(site-header) { z-index: 10; }
@media (prefers-reduced-motion: no-preference) { .vt-fb main { animation: vt-in .35s cubic-bezier(.2, .7, .2, 1) both; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }

/* 動きを減らす設定：最終状態だけを見せる */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .bf-view img, .pf-view img, .sync .duo img { transform: none !important; }
  .cur { display: none; }
}

/* はみ出し対策：狭いスマホ（〜374px）でヘッダーを収める＋最後の安全網 */
html, body { overflow-x: clip; }
/* ダブルタップでの意図しない拡大を防ぐ（ピンチでの拡大はそのまま） */
html { touch-action: manipulation; }
@media (max-width: 374px) {
  .logo img { height: 23px; }
  .hd { gap: 6px; }
  .hd .btn-s { padding: 0 10px; font-size: 12px; }
  .js .menu-btn { padding: 0 10px; gap: 0; }
  .js .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
