/* 見積・請求クラウド「ミツモル」サンプル 共通スタイル（白 × 青 × 橙アクセント、製品主導型） */
:root {
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-dd: #1e3a8a;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --bg: #ffffff;
  --bg-2: #eef3fb;
  --bg-3: #f7fafd;
  --line: #dde5f0;
  --line-2: #e8eef7;
  --accent: #ea580c;
  --accent-d: #c2410c;
  --green: #0f766e;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --num: "Inter", var(--sans);
  --max: 1180px;
  --r: 16px;
  --r-s: 10px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.85; letter-spacing: .01em; font-feature-settings: "palt"; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.label { font-family: var(--num); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.sec { padding-block: clamp(64px, 8vw, 108px); }
.sec-alt { background: var(--bg-3); }
.sec-head { margin-bottom: clamp(28px, 4.5vw, 52px); }
.sec-head h2 { font-size: clamp(25px, 3.2vw, 38px); margin-top: 10px; font-weight: 900; letter-spacing: -.02em; }
.sec-head .lead { margin-top: 14px; max-width: 700px; color: var(--ink-2); font-size: 15px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: var(--r-s); font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid var(--line); color: var(--ink); background: #fff; transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s, box-shadow .22s; cursor: pointer; font-family: var(--sans); }
.btn:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); box-shadow: 0 8px 20px rgba(37,99,235,.10); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; box-shadow: 0 10px 24px rgba(234,88,12,.24); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue-dd); border-color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-color: var(--line-2); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; color: #fff; flex: none; }
.logo .mark svg { width: 19px; height: 19px; }
.logo .name { font-family: var(--num); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.logo .name small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.nav ul { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 0; display: inline-block; position: relative; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  body.menu-open .nav { display: block; position: fixed; inset: 72px 0 0; background: #fff; padding: 16px 24px 40px; overflow: auto; }
  body.menu-open .nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  body.menu-open .nav a { font-size: 17px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line-2); width: 100%; color: var(--ink); }
  body.menu-open .nav a[aria-current="page"]::after { display: none; }
  body.menu-open .nav .m-cta { display: grid; gap: 10px; margin-top: 22px; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
}
.nav .m-cta { display: none; }

/* デモ注記 */
.demo-note { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: rgba(15,23,42,.9); color: #fff; font-size: 12px; padding: 8px 10px 8px 14px; border-radius: 999px; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(6px); line-height: 1.5; max-width: calc(100vw - 24px); }
.demo-note button { border: 0; background: transparent; color: inherit; width: 24px; height: 24px; cursor: pointer; font-size: 16px; line-height: 1; padding: 0; flex: none; }

/* 出現 */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- 製品画面モック（HTML/CSS で描画） ---------- */
.app { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(15,23,42,.10); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f6f9fd; border-bottom: 1px solid var(--line-2); }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7e0ec; display: block; }
.app-bar .url { margin-left: 10px; font-family: var(--num); font-size: 11px; color: var(--ink-3); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.app-head h4 { font-size: 15px; font-weight: 800; }
.app-head .sub { font-size: 11px; color: var(--ink-3); font-family: var(--num); }
.app-btn { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 6px; background: var(--blue); color: #fff; }
.app-btn.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.app-body { padding: 14px 18px 18px; }
.app-tabs { display: flex; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line-2); font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.app-tabs span { padding: 9px 0; border-bottom: 2px solid transparent; }
.app-tabs span.on { color: var(--blue); border-color: var(--blue); }
.app table { width: 100%; font-size: 11.5px; font-family: var(--num); }
.app th { text-align: left; font-weight: 600; color: var(--ink-3); padding: 7px 8px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .04em; white-space: nowrap; }
.app td { padding: 9px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.app td.r, .app th.r { text-align: right; }
.app .jp { font-family: var(--sans); font-size: 11.5px; }
.pill { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; font-family: var(--sans); white-space: nowrap; }
.pill-blue { background: #e0ecff; color: #1d4ed8; }
.pill-green { background: #d9f2ee; color: #0f766e; }
.pill-orange { background: #ffe8d9; color: #b34509; }
.pill-gray { background: #eef1f6; color: #4b5563; }
.app-scroll { overflow-x: auto; }
@media (max-width: 700px) { .app .hide-sm { display: none; } .app-body { padding: 12px 12px 14px; } .app-head { padding: 12px 12px 10px; } .app-tabs { padding: 0 12px; gap: 11px; } .app td, .app th { padding: 7px 6px; } .app table, .app .jp { font-size: 11px; } }
.app-note { margin-top: 12px; font-size: 11px; color: var(--ink-3); font-family: var(--sans); }
.app-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.app-fields .f { display: grid; gap: 3px; }
.app-fields .f.full { grid-column: 1 / -1; }
.app-fields label { font-size: 10px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.app-fields .v { font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; background: #fff; color: var(--ink); font-family: var(--num); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-fields .v.focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.app-total { margin-top: 12px; display: flex; justify-content: flex-end; }
.app-total dl { display: grid; grid-template-columns: auto auto; gap: 4px 20px; font-size: 11.5px; font-family: var(--num); margin: 0; min-width: 210px; }
.app-total dt { color: var(--ink-3); }
.app-total dd { margin: 0; text-align: right; }
.app-total dt.big, .app-total dd.big { font-size: 15px; font-weight: 700; color: var(--ink); padding-top: 6px; border-top: 1px solid var(--line); }
.app-flow { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-family: var(--sans); font-weight: 700; color: var(--ink-3); flex-wrap: wrap; margin-bottom: 12px; }
.app-flow b { background: var(--bg-2); color: var(--blue-d); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.app-flow b.on { background: var(--blue); color: #fff; }
.app-flow s { text-decoration: none; color: #b8c4d6; }

/* ---------- ヒーロー ---------- */
.hero { background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 72%); border-bottom: 1px solid var(--line-2); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 5.5vw, 84px); }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1.18; margin-top: 16px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-top: 20px; color: var(--ink-2); font-size: clamp(15px, 1.25vw, 17px); max-width: 500px; }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .pts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.hero .pts li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 6px; font-family: var(--num); }
.hero .mock { position: relative; }

/* 3 画面の自動切替（grid で重ね、最も高い画面に高さを合わせる） */
.screens { display: grid; }
.screens > .scr { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); animation: scr-cycle 18s var(--ease) infinite; }
.screens > .scr:nth-child(1) { animation-delay: 0s; }
.screens > .scr:nth-child(2) { animation-delay: 6s; }
.screens > .scr:nth-child(3) { animation-delay: 12s; }
@keyframes scr-cycle {
  0% { opacity: 0; transform: translateY(10px); }
  3%, 30% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-8px); }
}
.scr-legend { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.scr-legend li { font-size: 11.5px; font-weight: 700; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; display: flex; align-items: center; gap: 7px; }
.scr-legend li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #cfdaea; animation: dot-cycle 18s steps(1) infinite; }
.scr-legend li:nth-child(1)::before { animation-delay: 0s; }
.scr-legend li:nth-child(2)::before { animation-delay: 6s; }
.scr-legend li:nth-child(3)::before { animation-delay: 12s; }
@keyframes dot-cycle { 0%, 33% { background: var(--blue); } 34%, 100% { background: #cfdaea; } }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
}

/* 数字帯 */
.stats { border-bottom: 1px solid var(--line-2); background: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .v { font-family: var(--num); font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1; color: var(--blue-dd); letter-spacing: -.03em; }
.stat .v small { font-family: var(--sans); font-size: 14px; margin-left: 3px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.stat .k { font-size: 12.5px; margin-top: 10px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { padding: 22px 14px; } .stat:nth-child(2n+1) { padding-left: 0; } }

/* 困りごと */
.pains .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pains .pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.pains .pain .n { font-family: var(--num); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.pains .pain h3 { font-size: 17px; margin-top: 8px; line-height: 1.55; }
.pains .pain p { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 880px) { .pains .grid-3 { grid-template-columns: 1fr; } }

/* ベントー */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .box { background: var(--bg-2); border: 1px solid #e2eafa; border-radius: var(--r); padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.bento .box:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(37,99,235,.13); }
.bento .box h3 { font-size: 18px; margin-top: 14px; letter-spacing: -.015em; }
.bento .box p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.bento .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.bento .ic svg { width: 20px; height: 20px; }
.bento .b1 { grid-column: span 3; grid-row: span 2; background: var(--blue-dd); border-color: var(--blue-dd); color: #fff; }
.bento .b1 h3 { font-size: clamp(20px, 2.2vw, 26px); }
.bento .b1 p { color: #cddcf5; font-size: 15px; }
.bento .b1 .ic { background: rgba(255,255,255,.16); }
.bento .b2, .bento .b3 { grid-column: span 3; }
.bento .b4, .bento .b5, .bento .b6 { grid-column: span 2; }
.bento .b4 h3, .bento .b5 h3, .bento .b6 h3 { font-size: 16px; }
.bento .mini { margin-top: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font-family: var(--num); font-size: 11.5px; color: var(--ink-2); }
.bento .b1 .mini { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #dbe6fa; }
.bento .mini .ln { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line-2); }
.bento .b1 .mini .ln { border-color: rgba(255,255,255,.16); }
.bento .mini .ln:last-child { border-bottom: 0; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .b1 { grid-column: span 4; grid-row: auto; }
  .bento .b2, .bento .b3 { grid-column: span 2; }
  .bento .b4, .bento .b5, .bento .b6 { grid-column: span 4; }
}
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .box { grid-column: 1 / -1 !important; padding: 22px 20px; } }

/* 4 コマの流れ */
.flow4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.flow4 .fc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 24px; }
.flow4 .fc::after { content: ""; position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); background: var(--blue); border-radius: 50%; z-index: 2; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat; }
.flow4 .fc:last-child::after { display: none; }
.flow4 .st { font-family: var(--num); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.flow4 h3 { font-size: 18px; margin-top: 6px; }
.flow4 p { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }
.flow4 .chip { display: inline-block; margin-top: 14px; font-size: 11.5px; background: var(--bg-2); color: var(--blue-d); border-radius: 999px; padding: 4px 12px; font-weight: 700; }
@media (max-width: 900px) { .flow4 { grid-template-columns: 1fr 1fr; } .flow4 .fc:nth-child(2)::after { display: none; } }
@media (max-width: 560px) {
  .flow4 { grid-template-columns: 1fr; }
  .flow4 .fc::after { right: 50%; top: auto; bottom: -18px; transform: translateX(50%) rotate(90deg); }
  .flow4 .fc:nth-child(2)::after { display: block; }
  .flow4 .fc:last-child::after { display: none; }
}

/* 導入事例（トップ） */
.case2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case2 .c { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.case2 .c img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.case2 .c .in { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.case2 .c .ind { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.case2 .c h3 { font-size: 19px; margin-top: 8px; line-height: 1.5; }
.case2 .c .q { margin-top: 12px; font-size: 14px; color: var(--ink-2); flex: 1; }
.case2 .c .res { margin-top: 18px; display: flex; gap: 22px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.case2 .c .res .v { font-family: var(--num); font-size: 24px; font-weight: 700; color: var(--blue-dd); line-height: 1.1; letter-spacing: -.02em; }
.case2 .c .res .v span { font-size: 13px; font-family: var(--sans); margin-left: 2px; }
.case2 .c .res .v em { font-style: normal; font-size: 15px; color: var(--blue); margin: 0 4px; }
.case2 .c .res .k { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 860px) { .case2 { grid-template-columns: 1fr; } }

/* 料金カード */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 30px; position: relative; }
.plan.reco { border: 2px solid var(--blue); box-shadow: 0 16px 40px rgba(37,99,235,.14); }
.plan .tagline { position: absolute; top: -13px; left: 26px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .who { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.plan .price { margin-top: 18px; font-family: var(--num); font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; margin-left: 3px; }
.plan .tax { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.plan ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); display: grid; gap: 9px; }
.plan ul li { font-size: 13.5px; color: var(--ink-2); padding-left: 24px; position: relative; line-height: 1.7; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 11px; height: 6px; border-left: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue); transform: rotate(-45deg); }
.plan .btn { width: 100%; margin-top: 22px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* セキュリティ・法令 */
.sec-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec-list .it { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.sec-list .it .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-2); color: var(--blue-d); display: grid; place-items: center; }
.sec-list .it .ic svg { width: 18px; height: 18px; }
.sec-list .it h3 { font-size: 15.5px; margin-top: 12px; }
.sec-list .it p { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 900px) { .sec-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sec-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 19px 46px 19px 0; font-weight: 700; font-size: 15.5px; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: var(--num); font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); font-size: 14.5px; }

/* CTA 帯 */
.cta-band { background: linear-gradient(115deg, #1e3a8a 0%, #2563eb 68%, #3b82f6 100%); color: #fff; padding: clamp(52px, 6.5vw, 88px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; letter-spacing: -.025em; }
.cta-band p { margin-top: 14px; color: #d8e4fb; font-size: 15px; }
.cta-band .btns { display: grid; gap: 12px; }
.cta-band .tel { font-family: var(--num); font-size: 24px; font-weight: 700; text-align: center; margin-top: 4px; }
.cta-band .tel small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: #d8e4fb; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* フッター */
.footer { background: #0f172a; color: #94a3b8; padding: 52px 0 32px; font-size: 14px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer .logo .name { color: #fff; }
.footer .logo .name small { color: #94a3b8; }
.footer address { font-style: normal; margin-top: 16px; font-size: 13px; line-height: 1.9; }
.footer .links h4 { font-size: 13px; color: #fff; margin-bottom: 12px; }
.footer .links a { display: block; text-decoration: none; padding: 5px 0; font-size: 13px; transition: color .2s; }
.footer .links a:hover { color: #fff; }
.footer .copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; }
@media (max-width: 860px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .top { grid-template-columns: 1fr; } }

/* ---------- 下層ページ共通 ---------- */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line-2); padding: clamp(40px, 5vw, 70px) 0 clamp(36px, 4.5vw, 60px); }
.page-head h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -.03em; margin-top: 10px; }
.page-head .lead { margin-top: 16px; max-width: 700px; color: var(--ink-2); font-size: 15px; }
.crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--blue); text-decoration: underline; }

/* 機能一覧 */
.feat { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 52px); align-items: center; padding-block: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line-2); }
.feat:first-of-type { border-top: 0; }
.feat:nth-child(even) .txt { order: 2; }
.feat .n { font-family: var(--num); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.feat h2 { font-size: clamp(21px, 2.6vw, 28px); margin-top: 8px; font-weight: 900; letter-spacing: -.02em; }
.feat .txt > p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.feat .gain { margin-top: 20px; background: var(--bg-2); border-radius: 12px; padding: 16px 18px; }
.feat .gain h3 { font-size: 12px; color: var(--blue-d); letter-spacing: .06em; }
.feat .gain p { margin-top: 7px; font-size: 14px; color: var(--ink); font-weight: 700; line-height: 1.7; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat:nth-child(even) .txt { order: 0; } }

/* 比較表 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.cmp { width: 100%; min-width: 620px; font-size: 14px; }
table.cmp th, table.cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
table.cmp thead th { background: var(--bg-2); font-size: 13px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.cmp tbody th { font-weight: 700; font-size: 13.5px; width: 26%; background: #fbfdff; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td { color: var(--ink-2); font-size: 13.5px; }
table.cmp td.ok { color: var(--ink); }
table.cmp .mark { display: inline-block; font-family: var(--num); font-weight: 700; margin-right: 6px; }
table.cmp .mark.y { color: var(--blue); }
table.cmp .mark.n { color: #9aa7b8; }
table.cmp col.hl, table.cmp th.hl, table.cmp td.hl { background: #f2f7ff; }
table.cmp thead th.hl { background: #dbe8ff; }

/* 事例ページ */
.case-full { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line-2); }
.case-full:first-of-type { border-top: 0; }
.case-full img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.case-full .meta { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; }
.case-full .meta b { color: var(--ink); font-weight: 700; }
.case-full .ind { font-size: 12.5px; color: var(--blue); font-weight: 700; letter-spacing: .04em; }
.case-full h2 { font-size: clamp(20px, 2.6vw, 28px); margin-top: 8px; font-weight: 900; letter-spacing: -.02em; line-height: 1.45; }
.case-full .blk { margin-top: 22px; }
.case-full .blk h3 { font-size: 14px; color: var(--blue-d); letter-spacing: .04em; }
.case-full .blk p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.case-full .nums { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.case-full .nums .n { background: var(--bg-2); border-radius: 12px; padding: 16px 14px; }
.case-full .nums .v { font-family: var(--num); font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--blue-dd); line-height: 1.1; letter-spacing: -.03em; }
.case-full .nums .v span { font-size: 12px; font-family: var(--sans); margin-left: 2px; }
.case-full .nums .v em { font-style: normal; font-size: 14px; color: var(--blue); margin: 0 3px; }
.case-full .nums .k { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.case-full blockquote { margin: 24px 0 0; padding: 18px 20px; border-left: 3px solid var(--blue); background: #fff; border-radius: 0 12px 12px 0; }
.case-full blockquote p { font-size: 15px; line-height: 1.85; }
.case-full blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 900px) { .case-full { grid-template-columns: 1fr; } .case-full .nums { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .case-full .nums { grid-template-columns: 1fr; } }

/* 料金ページ */
.pr-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.pr-note .it { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: #fff; }
.pr-note .it h3 { font-size: 15px; }
.pr-note .it p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 860px) { .pr-note { grid-template-columns: 1fr; } }

/* フォーム */
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 30px 32px; }
.form .row { display: grid; gap: 6px; margin-bottom: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { font-size: 13.5px; font-weight: 700; }
.form label .req { font-size: 11px; color: #fff; background: var(--accent); padding: 2px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; font-weight: 700; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .err { display: none; font-size: 13px; color: #b3261e; }
.form .row.invalid .err { display: block; }
.form .row.invalid input, .form .row.invalid select { border-color: #b3261e; }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form .note { font-size: 12px; color: var(--ink-3); margin-top: 14px; line-height: 1.8; }
.form .done { display: none; text-align: center; padding: 28px 0 10px; }
.form.is-done form { display: none; } .form.is-done .done { display: block; }
.form .done svg { width: 46px; height: 46px; color: var(--blue); margin-inline: auto; }
.form .done h3 { font-size: 19px; margin-top: 12px; }
.form .done p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 520px) { .form { padding: 24px 20px 26px; } .form .row2 { grid-template-columns: 1fr; } }

.trial-side .it { display: flex; gap: 14px; margin-bottom: 22px; }
.trial-side .it .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-2); color: var(--blue-d); display: grid; place-items: center; flex: none; }
.trial-side .it .ic svg { width: 18px; height: 18px; }
.trial-side .it h3 { font-size: 15.5px; }
.trial-side .it p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .screens > .scr { animation: none; opacity: 0; transform: none; }
  .screens > .scr:first-child { opacity: 1; }
  .scr-legend li::before { animation: none; }
  .scr-legend li:first-child::before { background: var(--blue); }
  .btn, .card, .bento .box { transition: none; }
  .btn:hover, .bento .box:hover { transform: none; }
}

/* ---------- 機能ページの画面モック追加分 ---------- */
.app-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 12px; color: var(--ink-3); background: #fff; }
.app-search svg { width: 14px; height: 14px; flex: none; }
.app-search .cur { color: var(--ink); }
.app-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.app-chips span { font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--blue-d); }
.app-chips span.off { background: #f1f4f9; color: var(--ink-3); }

.app-drop { border: 1.5px dashed #b9cdf0; border-radius: 10px; background: #f7faff; padding: 18px 14px; text-align: center; }
.app-drop .fn { font-family: var(--num); font-size: 12px; font-weight: 700; color: var(--blue-d); }
.app-drop .st { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.app-map { margin-top: 12px; display: grid; gap: 6px; }
.app-map .m { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 11px; font-family: var(--num); }
.app-map .m b { background: #f1f4f9; border-radius: 6px; padding: 5px 9px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-map .m i { color: var(--blue); font-style: normal; font-weight: 700; }
.app-map .m em { background: var(--bg-2); border-radius: 6px; padding: 5px 9px; font-style: normal; color: var(--blue-d); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.doc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px 18px; }
.doc .dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.doc .dt { font-size: 14px; font-weight: 800; letter-spacing: .3em; }
.doc .dm { font-size: 10px; color: var(--ink-3); font-family: var(--num); text-align: right; line-height: 1.7; }
.doc .to { margin-top: 14px; font-size: 12px; font-weight: 700; border-bottom: 1.5px solid var(--ink); display: inline-block; padding-bottom: 3px; }
.doc .sum { margin-top: 12px; background: var(--bg-2); border-radius: 8px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.doc .sum .lb { font-size: 11px; font-weight: 700; color: var(--ink-2); }
.doc .sum .amt { font-family: var(--num); font-size: 19px; font-weight: 800; color: var(--blue-dd); letter-spacing: -.02em; }
.doc .reg { margin-top: 12px; font-size: 10.5px; color: var(--ink-3); font-family: var(--num); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.phone { max-width: 250px; margin-inline: auto; border: 8px solid #17233a; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 16px 36px rgba(15,23,42,.18); }
.phone .pbar { background: #17233a; color: #fff; font-size: 9.5px; font-family: var(--num); text-align: center; padding: 3px 0 5px; letter-spacing: .06em; }
.phone .pbody { padding: 12px 12px 16px; }
.phone .ph4 { font-size: 12.5px; font-weight: 800; }
.phone .pline { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-family: var(--num); padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.phone .pline span:first-child { font-family: var(--sans); color: var(--ink-2); }
.phone .pbtn { margin-top: 12px; background: var(--blue); color: #fff; border-radius: 8px; text-align: center; font-size: 11.5px; font-weight: 700; padding: 9px 0; }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.board .col { background: #f6f9fd; border-radius: 8px; padding: 8px; }
.board .ch { font-size: 10px; font-weight: 700; color: var(--ink-3); padding: 2px 4px 8px; letter-spacing: .04em; }
.board .cd { background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 9px; margin-bottom: 6px; }
.board .cd:last-child { margin-bottom: 0; }
.board .cd b { display: block; font-size: 10.5px; font-weight: 700; line-height: 1.5; }
.board .cd s { display: block; text-decoration: none; font-family: var(--num); font-size: 10px; color: var(--ink-3); margin-top: 3px; }

.match { display: grid; gap: 8px; }
.match .mr { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.match .mc { border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 10px; font-size: 10.5px; font-family: var(--num); background: #fff; overflow: hidden; }
.match .mc b { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match .mc s { text-decoration: none; color: var(--ink-3); }
.match .lk { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.match .lk.no { background: #f1f4f9; color: var(--ink-3); }
@media (max-width: 600px) { .board { grid-template-columns: 1fr; } }
@media (max-width: 359px) { .match .mr { grid-template-columns: 1fr; } .match .lk { justify-self: center; } .app-map .m { grid-template-columns: 1fr; } .app-map .m i { display: none; } }
@media (max-width: 700px) { .match .mr { gap: 6px; } .match .mc { padding: 6px 8px; } }

.arc { display: grid; gap: 7px; }
.arc .ar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 7px; padding: 8px 11px; font-size: 11px; font-family: var(--num); }
.arc .ar .ty { font-size: 9.5px; font-weight: 700; background: var(--bg-2); color: var(--blue-d); border-radius: 4px; padding: 2px 7px; font-family: var(--sans); flex: none; }
.arc .ar .nm { font-family: var(--sans); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.arc .ar .dtm { color: var(--ink-3); flex: none; }
@media (max-width: 480px) { .arc .ar .dtm { display: none; } }
