/* 藍(前掛け・暖簾の色)を軸にした配色。厨房の白いタイルと伝票紙のイメージ */
:root {
  --bg: #f3f5f9; --surface: #ffffff; --ink: #0f1a2e; --muted: #56627a; --line: #d9e0ec; --soft: #eaeff7;
  --indigo: #1d3b72; --indigo-deep: #12274d; --indigo-soft: #e4ebf8; --on-indigo: #ffffff;
  --flame: #e4572e; --flame-soft: #fde6dd;
  --good: #137a5a; --good-soft: #def3ea; --warn: #a86400; --warn-soft: #fff0d0; --bad: #c0352a; --bad-soft: #fbe3e0;
  --shadow: 0 1px 2px rgba(15, 26, 46, .06), 0 6px 20px rgba(15, 26, 46, .05);
  --radius: 14px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1220; --surface: #141c30; --ink: #e8edf8; --muted: #9aa7c0; --line: #27324d; --soft: #1b2540;
    --indigo: #8fb0f2; --indigo-deep: #0a1020; --indigo-soft: #1a2a4f; --on-indigo: #0c1220;
    --flame: #ff7a52; --flame-soft: #3a1f17;
    --good: #5fd3a6; --good-soft: #12312a; --warn: #f2c066; --warn-soft: #382a0c; --bad: #ff8d82; --bad-soft: #3b1a18;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
a { color: var(--indigo); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.4; text-wrap: balance; letter-spacing: .01em; }
p, li { max-width: 70ch; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--indigo); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--indigo-soft); color: var(--indigo); }

/* ---- hero ---- */
.hero { background: var(--indigo-deep); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 64px);
}
.hero .wrap { position: relative; padding-top: 56px; padding-bottom: 60px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; } }
.hero .kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #ffb59c; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); margin: 10px 0 14px; font-weight: 800; }
.hero p.sub { color: #c9d5ee; font-size: 17px; margin: 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .assure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: #b6c4e3; }
.hero .assure span::before { content: "✓ "; color: #7fe0b8; font-weight: 800; }
.ticket {
  background: #fffdf8; color: #1b2233; border-radius: 6px; padding: 18px 20px 22px; font-size: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transform: rotate(1.2deg); position: relative; font-variant-numeric: tabular-nums;
}
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 6px -2px, transparent 6px, #fffdf8 6.5px) 0 0 / 14px 8px repeat-x; }
.ticket h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; color: #55607a; font-weight: 700; border-bottom: 2px dashed #c9cfdd; padding-bottom: 8px; }
.ticket .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ticket .row.total { border-top: 2px dashed #c9cfdd; margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 16px; }
.ticket .neg { color: #c0352a; }
.ticket .pos { color: #137a5a; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.3; }
.btn-primary { background: var(--indigo); color: var(--on-indigo); }
.btn-primary:hover { filter: brightness(1.1); }
.hero .btn-primary { background: #fff; color: var(--indigo-deep); }
.btn-flame { background: var(--flame); color: #fff; }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--line); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: var(--indigo-soft); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-danger { color: var(--bad); border-color: var(--bad-soft); background: transparent; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; }

/* ---- sections (home) ---- */
.section { padding: 56px 0 8px; }
.section h2 { font-size: clamp(22px, 3.2vw, 28px); margin: 0 0 6px; }
.section .lead { color: var(--muted); margin: 0 0 24px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; position: relative; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--indigo); }
.tool-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--indigo-soft); display: grid; place-items: center; color: var(--indigo); }
.tool-card .ico svg { width: 26px; height: 26px; }
.tool-card h3 { margin: 0; font-size: 18px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.tool-card .meta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.tag { background: var(--soft); color: var(--muted); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.tag.freq { background: var(--flame-soft); color: var(--flame); }
.scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 4px; }
.scene { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.scene b { display: block; font-size: 15px; margin-bottom: 6px; }
.scene a { display: inline-block; font-size: 13.5px; margin-right: 12px; font-weight: 600; }
.privacy-strip { margin-top: 40px; background: var(--indigo-soft); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start; }
.privacy-strip svg { flex: none; width: 28px; height: 28px; color: var(--indigo); margin-top: 2px; }
.privacy-strip p { margin: 0; font-size: 14.5px; }

/* ---- tool pages ---- */
.page-head { padding-top: 28px; padding-bottom: 8px; }
.crumb { font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: clamp(24px, 4vw, 34px); margin: 6px 0 8px; font-weight: 800; }
.page-head .lead { color: var(--muted); margin: 0; font-size: 16.5px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 4px; }
.toolbar .spacer { flex: 1; }
.saved { font-size: 13px; color: var(--muted); }
.saved.ok::before { content: "● "; color: var(--good); }
.app { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: start; margin-top: 12px; }
.app > * { min-width: 0; }
.app.single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .app { grid-template-columns: minmax(0, 1fr); } }
.sticky { position: sticky; top: 76px; }
@media (max-width: 960px) { .sticky { position: static; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 16px; min-width: 0; }
.card > h2 { margin: 0 0 4px; font-size: 18px; }
.card > .hint { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.stack { display: grid; gap: 14px; }
.field { display: grid; gap: 4px; min-width: 0; align-content: start; }
.field > label, .lbl { font-size: 13.5px; font-weight: 700; }
.field .help { font-size: 12.5px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }
.inp { display: flex; align-items: center; gap: 6px; }
input[type="text"], input[type="number"], input[type="month"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-width: 0;
}
input.num { text-align: right; font-variant-numeric: tabular-nums; }
.unit { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--soft); flex-wrap: wrap; }
.seg button { font: inherit; font-size: 14px; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 6px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--indigo); box-shadow: 0 1px 3px rgba(15, 26, 46, .15); }
.tbl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
table.t { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
table.t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t td.r, table.t th.r { text-align: right; }
table.t input, table.t select { padding: 6px 8px; font-size: 15px; background: var(--surface); }
table.t td.name input { min-width: 150px; }
table.t td.n input { min-width: 78px; text-align: right; }
table.t tr.hl td { background: var(--warn-soft); }
table.t .del { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; padding: 2px 8px; border-radius: 6px; }
table.t .del:hover { background: var(--bad-soft); color: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi { background: var(--soft); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.kpi .k { font-size: 12px; color: var(--muted); font-weight: 700; }
.kpi .v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.4; white-space: nowrap; }
.kpi .s { font-size: 12px; color: var(--muted); }
.kpi.big { grid-column: 1 / -1; background: var(--indigo); color: var(--on-indigo); }
.kpi.big .k, .kpi.big .s { color: color-mix(in srgb, var(--on-indigo) 75%, transparent); }
.kpi.big .v { font-size: 26px; white-space: normal; text-wrap: balance; }
.kpi.good { background: var(--good-soft); } .kpi.good .v { color: var(--good); }
.kpi.warn { background: var(--warn-soft); } .kpi.warn .v { color: var(--warn); }
.kpi.bad { background: var(--bad-soft); } .kpi.bad .v { color: var(--bad); }
.callout { border-radius: 12px; padding: 12px 16px; font-size: 14.5px; margin-top: 12px; background: var(--indigo-soft); }
.callout.good { background: var(--good-soft); } .callout.warn { background: var(--warn-soft); } .callout.bad { background: var(--bad-soft); }
.callout b { font-weight: 800; }
.empty { text-align: center; color: var(--muted); padding: 24px 12px; border: 1.5px dashed var(--line); border-radius: 12px; font-size: 14.5px; }
.stackbar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.stackbar > div { display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; min-width: 2px; overflow: hidden; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.hbars { display: grid; gap: 6px; }
.hbar { display: grid; grid-template-columns: 34px 1fr 90px; gap: 8px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.hbar .tr { background: var(--soft); border-radius: 6px; height: 16px; overflow: hidden; }
.hbar .fl { background: var(--indigo); height: 100%; border-radius: 6px; }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
details.how { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
details.how summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
details.how[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.article { padding-bottom: 24px; }
.article h2 { font-size: 22px; margin: 44px 0 10px; padding-top: 28px; border-top: 1px solid var(--line); }
.article h3 { font-size: 17px; margin: 26px 0 6px; }
.article .formula { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--indigo); border-radius: 6px; padding: 10px 16px; margin: 12px 0; font-weight: 600; }
.article table.ref { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 10px 0; }
.article table.ref th, .article table.ref td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article table.ref th { color: var(--muted); font-size: 12.5px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.related a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; background: var(--surface); }
.note { font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 14px 0; }
.ad-slot { margin: 28px 0; min-height: 0; }
.ad-slot:empty { display: none; }
.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 50; box-shadow: var(--shadow); }
.site-footer { margin-top: 64px; background: var(--indigo-deep); color: #b6c4e3; padding: 36px 0 96px; font-size: 14px; }
.site-footer a { color: #d6e0f5; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.site-footer b { color: #fff; display: block; margin-bottom: 6px; }
.site-footer nav { display: grid; gap: 4px; }
.site-footer .legal { margin-top: 24px; font-size: 12.5px; color: #8fa0c4; max-width: 80ch; }
.ph { background: var(--warn-soft); color: var(--warn); padding: 0 6px; border-radius: 4px; font-weight: 600; }
@media print {
  .site-header, .site-footer, .toolbar, .hero .cta, .ad-slot, details.how, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* ================= 動き・演出 ================= */
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
}
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* 暖簾が揺れるヒーロー */
.hero .wrap { padding-top: 96px; }
@media (max-width: 860px) { .hero .wrap { padding-top: 84px; } }
.noren { position: absolute; top: 0; left: 0; right: 0; height: 60px; display: flex; justify-content: center; gap: 5px; pointer-events: none; z-index: 1; }
.noren::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: rgba(255, 255, 255, .2); }
.noren i { display: block; width: clamp(30px, 7vw, 64px); height: 100%; background: linear-gradient(180deg, #3a62ab, #26498d); border-radius: 0 0 7px 7px; transform-origin: 50% 0; box-shadow: inset 0 -12px 16px rgba(0, 0, 0, .2); opacity: .92; }
.noren i:nth-child(4) { background: linear-gradient(180deg, #ee6a3f, #d94a1f); }
@media (prefers-reduced-motion: no-preference) {
  .noren i { animation: sway 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
}
@keyframes sway { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(2deg); } }

.stage { position: relative; padding-bottom: 96px; }
.ticket { transform: rotate(1.2deg); }
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: floaty 7s ease-in-out infinite; }
  .ticket .row { animation: rowin .6s both cubic-bezier(.2, .8, .2, 1); animation-delay: calc(var(--r, 0) * .13s + .35s); }
  .mini { animation: floaty2 6s ease-in-out infinite; }
  .mini .bars b { animation: grow 1.1s both cubic-bezier(.2, .8, .2, 1); animation-delay: calc(var(--r, 0) * .09s + .8s); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(1.2deg); } 50% { transform: translateY(-9px) rotate(.3deg); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(8px) rotate(-1deg); } }
@keyframes rowin { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mini { position: absolute; left: -22px; bottom: 0; width: 214px; background: #fff; color: #1b2233; border-radius: 12px; padding: 12px 14px 14px; box-shadow: 0 16px 34px rgba(0, 0, 0, .4); transform: rotate(-2deg); }
.mini .t { font-size: 11.5px; font-weight: 700; color: #55607a; letter-spacing: .06em; }
.mini .v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 2px 0 8px; }
.mini .bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.mini .bars b { flex: 1; height: var(--h); background: linear-gradient(#2a4a8c, #6f90d6); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.mini .bars b.fc { background: linear-gradient(#e4572e, #ff9a76); }
@media (max-width: 860px) { .mini { position: relative; left: 0; margin: -18px 0 0 12px; } .stage { padding-bottom: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: -34px; position: relative; z-index: 2; }
@media (max-width: 560px) { .stats { gap: 8px; } }
.stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; box-shadow: var(--shadow); }
.stats b { display: block; font-size: clamp(24px, 4.5vw, 34px); font-weight: 800; color: var(--indigo); font-variant-numeric: tabular-nums; line-height: 1.3; }
.stats span { font-size: 12.5px; color: var(--muted); }

.hero .btn-primary { transition: transform .2s; }
.hero .btn-primary:hover { transform: translateY(-2px); }
.tool-card { overflow: hidden; }
.tool-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--indigo), var(--flame)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.tool-card:hover::after { transform: scaleX(1); }
.tool-card:hover .ico { background: var(--indigo); color: var(--on-indigo); }
.tool-card .ico { transition: background .25s, color .25s, transform .3s; }
.tool-card:hover .ico { transform: rotate(-6deg) scale(1.08); }
.tool-card .go { margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--indigo); }
.tool-card .go span { display: inline-block; transition: transform .25s; }
.tool-card:hover .go span { transform: translateX(5px); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--flame); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-support { color: var(--flame); }

/* 安心セクション(図) */
.trust-sec { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; box-shadow: var(--shadow); }
@media (max-width: 860px) { .trust-sec { grid-template-columns: minmax(0, 1fr); padding: 22px; } }
.trust-sec h2 { margin: 0 0 12px; font-size: clamp(21px, 3vw, 26px); }
.trust-sec ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-sec li { position: relative; padding-left: 30px; font-size: 15px; }
.trust-sec li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--good-soft); color: var(--good); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.trust-sec .small { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.flow { width: 100%; height: auto; }
.flow .dev { fill: var(--indigo-soft); stroke: var(--indigo); stroke-width: 2; }
.flow .box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.flow text { fill: var(--ink); font-family: var(--font); font-size: 12.5px; font-weight: 700; }
.flow .cap { fill: var(--muted); font-size: 11px; font-weight: 600; }
.flow .cloud { fill: var(--soft); stroke: var(--line); stroke-width: 1.5; }
.flow .arrow { stroke: var(--indigo); stroke-width: 2; fill: none; }
.flow .block { stroke: var(--bad); stroke-width: 2; stroke-dasharray: 5 4; fill: none; }
.flow .x { stroke: var(--bad); stroke-width: 3; stroke-linecap: round; }
.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--good-soft); color: var(--good); font-size: 13.5px; font-weight: 700; }
.trust-line svg { flex: none; width: 20px; height: 20px; }
.trust-line a { color: inherit; }

/* トータルサポート(関連会社のご案内) */
.pr-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 9px; border-radius: 999px; background: var(--flame-soft); color: var(--flame); vertical-align: middle; }
.support-sec { margin-top: 56px; border-radius: 22px; padding: 34px; background: linear-gradient(135deg, var(--indigo-deep), #1f4283); color: #fff; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; position: relative; overflow: hidden; }
.support-sec::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 100, .35), transparent 70%); }
@media (max-width: 860px) { .support-sec { grid-template-columns: minmax(0, 1fr); padding: 24px; } }
.support-sec h2 { margin: 8px 0 10px; font-size: clamp(21px, 3vw, 27px); }
.support-sec p { color: #c9d5ee; margin: 0 0 16px; }
.support-sec .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.support-sec .chips span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.support-sec .btn-primary { background: #fff; color: var(--indigo-deep); }
.support-sec .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.support-sec .rel { font-size: 12.5px; color: #9fb2da; margin-top: 12px; }
.price-list { display: grid; gap: 10px; position: relative; align-content: center; }
.price-list div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price-list b { font-size: 14px; }
.price-list span { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: #ffd0bd; }
.support-card { margin-top: 28px; border: 1px solid var(--line); border-left: 4px solid var(--flame); background: var(--surface); border-radius: 12px; padding: 16px 20px; }
.support-card h3 { margin: 4px 0 6px; font-size: 16.5px; }
.support-card p { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 16px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.svc h3 { margin: 0 0 4px; font-size: 17px; }
.svc .price { font-size: 20px; font-weight: 800; color: var(--indigo); font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.svc .price small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.svc ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.disclosure { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin: 16px 0; }
.ph-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--indigo); color: var(--on-indigo); display: grid; place-items: center; margin-bottom: 8px; }
.ph-ico svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) { .ph-ico { animation: popin .6s cubic-bezier(.2, 1.4, .4, 1) both; } }
@keyframes popin { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 700px) {
  .site-header .wrap { padding-top: 8px; padding-bottom: 4px; gap: 4px; }
  .site-header .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; padding-bottom: 4px; }
  .site-header .nav::-webkit-scrollbar { display: none; }
  .site-header .nav a { white-space: nowrap; flex: none; padding: 6px 10px; }
  .sticky { top: 0; }
}

.share { margin-top: 28px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--surface); }
.share b { font-size: 14.5px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }

.mini-calc { border-left: 4px solid var(--flame); margin-top: 16px; }
.mini-calc h2 { font-size: 17px; }
.cta-tool { margin-top: 32px; padding: 22px 24px; border-radius: 16px; background: var(--indigo-soft); }
.cta-tool b { font-size: 17px; }
.cta-tool p { margin: 6px 0 14px; color: var(--muted); font-size: 14.5px; }
