/* =====================================================================
   外部英語デスク  style.css
   配色：白 / ネイビー / 落ち着いたブルー / 薄いグレー
   見出し：Noto Serif JP（500,700） 本文：Noto Sans JP（400,500）
   ===================================================================== */
:root {
  --navy: #14284b;
  --navy-2: #1d3a68;
  --blue: #3d6aa5;
  --blue-soft: #5b86bd;
  --blue-pale: #eaf1fa;
  --blue-line: #c9d9ee;
  --gray-bg: #f4f6f9;
  --gray-line: #dde3ec;
  --text: #1f2a3d;
  --text-sub: #4b5a72;
  --white: #fff;
  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgba(20, 40, 75, .05), 0 6px 20px rgba(20, 40, 75, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.95; color: var(--text);
  background: var(--white); font-feature-settings: "palt" 0; word-break: normal; overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 2px; border-radius: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 8px; color: #fff; }
.pending { color: #55647c; font-weight: 500; white-space: nowrap; }

.container { width: min(1080px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section.alt { background: var(--gray-bg); }
.section.pale { background: var(--blue-pale); }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.section-head h2 { font-size: clamp(1.45rem, 3.6vw, 2.05rem); }
.section-head h2::after { content: ""; display: block; width: 36px; height: 2px; background: var(--blue-soft); margin: 20px auto 0; }
.section-lead { color: var(--text-sub); margin: 18px 0 0; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--gray-line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { width: min(1160px, 100% - 32px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 38px; width: auto; }
.global-nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.global-nav a { display: block; padding: 8px 12px; font-size: .9rem; color: var(--navy); text-decoration: none; border-radius: 6px; line-height: 1.4; }
.global-nav a:hover { background: var(--blue-pale); }
.global-nav li:last-child a { background: var(--navy); color: #fff; padding-inline: 16px; }
.global-nav li:last-child a:hover { background: var(--navy-2); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gray-line); background: #fff; border-radius: 8px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); content: ""; transition: transform .2s, top .2s, opacity .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; right: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }
main { padding-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px; border-radius: 8px; font-family: var(--sans); font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; line-height: 1.4; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.btn-main { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-main:hover { background: var(--navy-2); color: #fff; }
.btn-sub { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-sub:hover { background: var(--blue-pale); color: var(--navy); }
.btn.is-disabled { background: #eef1f6; color: #4f5e76; border-color: #ccd3de; cursor: not-allowed; flex-direction: column; gap: 0; }
.btn.is-disabled .btn-pending { font-size: .72rem; font-weight: 400; }
.btn-line { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.cta-band { text-align: center; margin-top: 56px; }
.cta-note { color: var(--text-sub); margin-bottom: 18px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-row .btn { min-width: 240px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--blue-pale) 100%); }
.hero-inner { width: min(1120px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { font-size: .85rem; color: var(--blue); letter-spacing: .12em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.45; letter-spacing: .03em; margin-bottom: 28px; }
.hero h1 span { display: inline-block; }
.hero-sub { color: var(--text); font-size: 1.02rem; margin-bottom: 14px; }
.hero-support { color: var(--blue); font-family: var(--serif); font-weight: 500; font-size: 1.02rem; margin-bottom: 34px; }
.hero .cta-row { justify-content: flex-start; }
.hero-mini { margin: 18px 0 0; font-size: .85rem; color: var(--text-sub); }

/* メール画面風の図 */
.mail-figure { margin: 0; position: relative; padding-bottom: 20px; }
.mail-window { background: #fff; border: 1px solid var(--blue-line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--gray-bg); border-bottom: 1px solid var(--gray-line); }
.mail-dot { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e2; }
.mail-bar-title { margin-left: 10px; font-size: .78rem; color: var(--text-sub); }
.mail-part { padding: 20px 22px; }
.mail-label { display: inline-block; font-size: .75rem; font-weight: 500; color: var(--blue); background: var(--blue-pale); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; line-height: 1.7; }
.mail-part p { margin: 0; font-size: .95rem; line-height: 1.85; }
.mail-part.en p { font-family: "Helvetica Neue", Arial, sans-serif; font-size: .93rem; color: var(--navy); line-height: 1.75; }
.mail-arrow { display: flex; justify-content: center; padding: 2px 0; color: var(--blue-soft); }
.mail-arrow svg { width: 24px; height: 28px; }
.mail-note { position: absolute; right: -6px; bottom: -6px; transform: rotate(2deg); background: #fff8dc; border: 1px solid #ecd98a; color: #5c4a10; padding: 10px 14px; font-size: .82rem; line-height: 1.6; border-radius: 3px; box-shadow: 0 4px 12px rgba(80,60,0,.12); max-width: 240px; }

/* ---------- Scenes ---------- */
.scenes { display: grid; gap: 0; max-width: 720px; margin: 0 auto; }
.scene { padding: 44px 0; text-align: center; border-top: 1px solid var(--gray-line); }
.scene:first-child { border-top: 0; padding-top: 0; }
.scene p { font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 2.1; color: var(--navy); margin: 0; font-weight: 500; }
.scene-num { display: block; font-family: var(--sans); font-size: .78rem; color: var(--blue); letter-spacing: .18em; margin-bottom: 12px; }
.scene-close { max-width: 720px; margin: 64px auto 0; text-align: center; font-family: var(--serif); font-size: clamp(1.15rem, 2.8vw, 1.5rem); line-height: 2.1; color: var(--navy); font-weight: 700; }

/* ---------- Change ---------- */
.changes { list-style: none; max-width: 720px; margin: 0 auto; display: grid; gap: 0; }
.changes li { text-align: center; padding: 30px 0; border-top: 1px solid var(--blue-line); font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--navy); font-weight: 500; }
.changes li:first-child { border-top: 0; }
.change-close { text-align: center; margin: 52px 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--navy); font-weight: 700; }

/* ---------- Reasons ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 32px 28px; }
.card-num { font-family: var(--serif); font-size: 1.6rem; color: var(--blue-soft); line-height: 1; display: block; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.card p { font-size: .94rem; color: var(--text-sub); margin: 0; line-height: 1.9; }

/* ---------- Diff (AI) ---------- */
.diff-intro { max-width: 760px; margin: 0 auto 48px; }
.subhead { font-size: 1.15rem; margin: 0 0 18px; text-align: center; }
.subhead::after { content: ""; display: block; width: 28px; height: 2px; background: var(--blue-soft); margin: 12px auto 0; }
.pitfalls { list-style: none; max-width: 760px; margin: 0 auto 64px; display: grid; gap: 12px; }
.pitfalls li { position: relative; padding: 16px 20px 16px 46px; background: #fff; border: 1px solid var(--gray-line); border-radius: 8px; font-size: .96rem; }
.pitfalls li::before { content: ""; position: absolute; left: 20px; top: 27px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-soft); }
.steps4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 64px; counter-reset: s; }
.steps4 li { position: relative; background: #fff; border: 1px solid var(--blue-line); padding: 22px 18px 22px; font-size: .92rem; line-height: 1.8; counter-increment: s; text-align: center; }
.steps4 li + li { border-left: 0; }
.steps4 li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: #fff; border-top: 1px solid var(--blue-line); border-right: 1px solid var(--blue-line); transform: rotate(45deg); z-index: 2; }
.steps4 li::before { content: "STEP " counter(s); display: block; font-size: .72rem; letter-spacing: .14em; color: var(--blue); margin-bottom: 8px; }
.steps4 li:first-child { border-radius: 10px 0 0 10px; }
.steps4 li:last-child { border-radius: 0 10px 10px 0; background: var(--blue-pale); }
.diff-conclusion { max-width: 760px; margin: 0 auto 64px; padding: 28px 32px; background: var(--blue-pale); border-radius: var(--radius); }
.diff-conclusion p { margin: 0; }

.ba { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.ba-item { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 22px 26px; }
.ba-item.desk { border-color: var(--blue-soft); border-width: 2px; background: #fbfdff; }
.ba-label { display: inline-block; font-size: .78rem; font-weight: 500; color: var(--blue); background: var(--blue-pale); padding: 2px 12px; border-radius: 999px; margin-bottom: 8px; }
.ba-item p { margin: 0; }
.en-text { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--navy); line-height: 1.75; }
.ba-points ul { margin: 6px 0 0 1.2em; }
.ba-points li { margin-bottom: 4px; }
.sample-note { text-align: center; font-size: .85rem; color: var(--text-sub); margin: 22px 0 0; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--gray-line); background: #fff; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 820px; font-size: .92rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-line); line-height: 1.75; }
.compare thead th { background: var(--gray-bg); color: var(--navy); font-weight: 500; font-size: .88rem; position: sticky; top: 0; }
.compare tbody th { background: #fff; color: var(--navy); font-weight: 500; white-space: nowrap; width: 132px; position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--gray-line); }
.compare .col-desk { background: var(--blue-pale); }
.compare thead .col-desk { background: #d8e5f6; color: var(--navy); font-weight: 700; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-hint { display: none; font-size: .82rem; color: var(--text-sub); text-align: right; margin: 0 0 8px; }
.compare-cards { display: none; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 30px 30px 26px; }
.service h3 { font-size: 1.12rem; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--blue-line); }
.service ul { list-style: none; }
.service li { position: relative; padding-left: 1.2em; font-size: .94rem; line-height: 1.85; margin-bottom: 4px; }
.service li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--blue-soft); box-shadow: 0 0 0 .5px var(--blue-soft); }
.service.wide { grid-column: 1 / -1; }
.service-notes { max-width: 820px; margin: 40px auto 0; display: grid; gap: 10px; font-size: .94rem; }
.service-notes p { margin: 0; padding-left: 1.2em; position: relative; }
.service-notes p::before { content: "・"; position: absolute; left: 0; }

/* ---------- Samples ---------- */
.sample { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 32px; margin-bottom: 28px; }
.sample > h3 { font-size: 1.15rem; margin-bottom: 20px; }
.sample-parts { display: grid; gap: 18px; }
.sample-part h4 { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--blue); margin-bottom: 8px; }
.sample-part ul { margin-left: 1.2em; font-size: .94rem; }
.sample-part li { margin-bottom: 3px; }
.sample-part > p { font-size: .94rem; margin: 0; }
.en-block { margin: 0; font-family: "Helvetica Neue", Arial, sans-serif; font-size: .9rem; line-height: 1.75; white-space: pre-wrap; word-break: break-word; background: var(--gray-bg); border: 1px solid var(--gray-line); border-left: 3px solid var(--blue-soft); border-radius: 6px; padding: 18px 20px; color: var(--navy); }
.sample-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Flow ---------- */
.flow-list { list-style: none; max-width: 760px; margin: 0 auto 72px; counter-reset: f; }
.flow-list li { position: relative; counter-increment: f; padding: 0 0 34px 68px; }
.flow-list li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; left: 21.5px; top: 48px; bottom: 4px; width: 1px; background: var(--blue-line); }
.flow-list li span { display: block; padding-top: 8px; color: var(--navy); font-weight: 500; }
.flow-list li em { display: block; font-style: normal; font-size: .88rem; color: var(--text-sub); margin-top: 2px; }
.flow-inq { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: q; }
.flow-inq li { position: relative; background: #fff; border: 1px solid var(--blue-line); padding: 18px 12px; font-size: .86rem; text-align: center; line-height: 1.7; counter-increment: q; }
.flow-inq li + li { border-left: 0; }
.flow-inq li:first-child { border-radius: 10px 0 0 10px; }
.flow-inq li:last-child { border-radius: 0 10px 10px 0; }
.flow-inq li:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: #fff; border-top: 1px solid var(--blue-line); border-right: 1px solid var(--blue-line); transform: rotate(45deg); z-index: 2; }
.flow-inq li::before { content: counter(q); display: block; font-family: var(--serif); color: var(--blue); font-size: 1rem; margin-bottom: 4px; }
.flow-inq li.by-client { background: var(--blue-pale); }

/* ---------- Pricing ---------- */
.plan-guide { max-width: 760px; margin: 0 auto 56px; background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 24px 28px; }
.plan-guide h3 { font-size: 1rem; margin-bottom: 12px; }
.plan-guide ul { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.plan-guide li { padding-left: 1.2em; position: relative; }
.plan-guide li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.price-group { margin-bottom: 56px; }
.price-group > h3 { font-size: 1.2rem; padding: 0 0 14px; margin-bottom: 8px; border-bottom: 2px solid var(--navy); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-group > h3 .g-no { font-family: var(--sans); font-size: .78rem; color: var(--blue); letter-spacing: .14em; font-weight: 500; }
.group-lead { font-family: var(--serif); color: var(--blue); font-size: 1.05rem; margin: 14px 0 0; font-weight: 500; }
.plans { display: grid; gap: 20px; margin-top: 24px; }
.plans.cols-2 { grid-template-columns: repeat(2, 1fr); }
.plans.cols-3 { grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 30px 26px 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); }
.plan-badge { position: absolute; top: -13px; left: 20px; background: var(--blue); color: #fff; font-size: .78rem; padding: 2px 14px; border-radius: 999px; line-height: 1.9; }
.plan h4 { font-size: 1.08rem; margin-bottom: 10px; }
.plan-price { font-family: var(--serif); color: var(--navy); margin-bottom: 16px; line-height: 1.4; }
.plan-price .pre { font-size: .9rem; margin-right: 4px; font-family: var(--sans); color: var(--text-sub); }
.plan-price .num { font-size: 1.75rem; font-weight: 700; }
.plan-price .unit { font-size: .92rem; font-family: var(--sans); color: var(--text-sub); margin-left: 2px; }
.plan ul { list-style: none; font-size: .92rem; line-height: 1.8; margin-bottom: 8px; }
.plan li { position: relative; padding-left: 1.1em; margin-bottom: 6px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--blue-soft); box-shadow: 0 0 0 .5px var(--blue-soft); }
.plan-common { margin-top: 12px; padding: 16px 16px 6px; background: var(--blue-pale); border-radius: 8px; font-size: 1rem; line-height: 1.85; }
.plan-common p { margin: 0 0 10px; }
.plan-action { margin-top: auto; padding-top: 18px; }
.plan-action .btn { width: 100%; min-height: 46px; padding: 8px 16px; font-size: .95rem; }
.price-common { max-width: 860px; margin: 56px auto 0; }
.price-common h3 { font-size: 1.05rem; margin-bottom: 14px; }
.price-common ul { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.price-common li { position: relative; padding-left: 1.2em; }
.price-common li::before { content: "・"; position: absolute; left: 0; }
.pay-note { max-width: 860px; margin: 32px auto 0; padding: 22px 26px; background: var(--blue-pale, #f3f7fc); border: 1px solid var(--blue-line); border-radius: var(--radius); }
.pay-note h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pay-note ul { list-style: none; display: grid; gap: 8px; font-size: .94rem; line-height: 1.85; }
.pay-note li { position: relative; padding-left: 1.2em; }
.pay-note li::before { content: "・"; position: absolute; left: 0; }
.pay-note strong { font-weight: 500; color: var(--navy); }
.task-def { max-width: 860px; margin: 56px auto 0; background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 28px 30px; }
.task-def h3 { font-size: 1.05rem; margin-bottom: 10px; }
.task-def .def { background: var(--blue-pale); border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: .94rem; }
.task-def table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.task-def th, .task-def td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--gray-line); vertical-align: top; }
.task-def th { font-weight: 400; }
.task-def td { white-space: nowrap; color: var(--navy); font-weight: 500; text-align: right; }
.task-def .foot { margin: 14px 0 0; font-size: .88rem; color: var(--text-sub); }

/* ---------- Hours ---------- */
.hours { max-width: 760px; margin: 0 auto; display: grid; gap: 0; background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); }
.hours dl { margin: 0; }
.hours .row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 20px 26px; border-top: 1px solid var(--gray-line); }
.hours .row:first-child { border-top: 0; }
.hours dt { color: var(--navy); font-weight: 500; }
.hours dd { margin: 0; }

/* ---------- Profile ---------- */
.profile { max-width: 760px; margin: 0 auto; text-align: center; }
.profile-logo { display: block; margin: 0 auto 24px; height: 46px; width: auto; }
.profile-name { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 4px; }
.profile-role { color: var(--blue); font-size: .92rem; margin-bottom: 28px; }
.profile-text { text-align: left; background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 30px 32px; }
.profile-text p { margin: 0; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sec-box { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 30px 30px 24px; }
.sec-box h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--blue-line); }
.sec-box ul { list-style: none; }
.sec-box p { font-size: .94rem; line-height: 1.85; }
.sec-box-wide { grid-column: 1 / -1; }
.sec-box li { position: relative; padding-left: 1.2em; margin-bottom: 8px; font-size: .94rem; line-height: 1.85; }
.sec-box li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--blue-soft); box-shadow: 0 0 0 .5px var(--blue-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--gray-line); border-radius: 8px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 58px; position: relative; font-weight: 500; color: var(--navy); line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 20px; top: 17px; font-family: var(--serif); color: var(--blue); font-size: 1.15rem; line-height: 1.6; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { border-bottom: 1px solid var(--gray-line); }
.faq .answer { position: relative; padding: 18px 24px 20px 58px; font-size: .95rem; }
.faq .answer::before { content: "A"; position: absolute; left: 20px; top: 15px; font-family: var(--serif); color: var(--text-sub); font-size: 1.15rem; line-height: 1.6; }
.faq .answer p { margin: 0; }

/* ---------- Message (letter) ---------- */
.letter { max-width: 680px; margin: 0 auto; background: #fff; padding: 12px 0; font-family: var(--serif); text-align: left; }
.letter p { font-size: 1.04rem; line-height: 2.2; color: var(--navy); font-weight: 500; margin-bottom: 1.6em; }
.letter .sign { text-align: right; margin-top: 2.4em; margin-bottom: 0; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-lead { max-width: 760px; margin: 0 auto 28px; }
.contact-facts { max-width: 760px; margin: 0 auto 36px; list-style: none; display: grid; gap: 6px; font-size: .94rem; color: var(--text-sub); }
.contact-facts li { padding-left: 1.2em; position: relative; }
.contact-facts li::before { content: "・"; position: absolute; left: 0; }
.form-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 36px 34px; }
.field { margin-bottom: 24px; }
.field > label, .field > legend { display: block; font-weight: 500; color: var(--navy); margin-bottom: 8px; font-size: .95rem; padding: 0; }
.req { display: inline-block; margin-left: 8px; font-size: .72rem; color: #fff; background: #a14a4a; padding: 0 8px; border-radius: 3px; vertical-align: 1px; line-height: 1.7; font-weight: 400; }
.opt { display: inline-block; margin-left: 8px; font-size: .72rem; color: var(--text-sub); background: var(--gray-bg); padding: 0 8px; border-radius: 3px; vertical-align: 1px; line-height: 1.7; font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=url], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #b9c4d4; border-radius: 6px; background: #fff; color: var(--text); line-height: 1.6; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #f2b84b; outline-offset: 0; border-color: var(--navy); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b03a3a; background: #fff8f8; }
.field-hint { font-size: .82rem; color: var(--text-sub); margin: 6px 0 0; }
.field-error { display: none; color: #a12a2a; font-size: .86rem; margin: 6px 0 0; }
.field.has-error .field-error { display: block; }
fieldset.field { border: 0; margin-inline: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .95rem; line-height: 1.6; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-caution { background: var(--gray-bg); border-radius: 8px; padding: 14px 18px; font-size: .9rem; margin-bottom: 26px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 8px; }
.form-actions .btn { min-width: 280px; }
.form-status { display: none; margin-top: 22px; padding: 18px 20px; border-radius: 8px; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: var(--blue-pale); border: 1px solid var(--blue-line); color: var(--navy); }
.form-status.ng { background: #fff1f1; border: 1px solid #e3b4b4; color: #8a2020; }
.error-summary { display: none; background: #fff1f1; border: 1px solid #e3b4b4; color: #8a2020; padding: 14px 18px; border-radius: 8px; margin-bottom: 24px; font-size: .92rem; }
.error-summary.show { display: block; }
.line-block { max-width: 760px; margin: 48px auto 0; background: var(--blue-pale); border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: 1fr 160px; gap: 28px; align-items: center; }
.line-block h3 { font-size: 1.1rem; margin-bottom: 8px; }
.line-account { font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.line-block p { font-size: .93rem; margin-bottom: 8px; }
.line-qr { width: 160px; height: 160px; background: #fff; border: 1px dashed #9db4d3; border-radius: 8px; display: grid; place-items: center; text-align: center; font-size: .82rem; color: #55647c; }
.line-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.line-qr.has-img { border: 1px solid var(--gray-line); }
.turnstile-field { min-height: 65px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d8e2f2; padding: 56px 0 108px; }
.footer-inner { width: min(1080px, 100% - 40px); margin-inline: auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand img { height: 38px; width: auto; background: #fff; padding: 8px 12px; border-radius: 6px; box-sizing: content-box; }
.footer-brand p { margin: 14px 0 0; font-size: .86rem; line-height: 1.8; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { color: #d8e2f2; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.copyright { width: min(1080px, 100% - 40px); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .8rem; color: #b5c4dc; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta { display: none; }

/* ---------- Legal ---------- */
.page-legal main { background: #fff; }
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.15rem; margin: 44px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--blue-line); }
.legal p, .legal li { font-size: .95rem; line-height: 2; }
.legal ul, .legal ol { margin: 0 0 1em 1.4em; }
.legal-date { color: var(--text-sub); font-size: .88rem !important; margin-bottom: 28px; }
.legal dl { margin: 0; border-top: 1px solid var(--gray-line); }
.legal dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--gray-line); }
.legal dt { font-weight: 500; color: var(--navy); }
.legal dd { margin: 0; font-size: .95rem; }
.legal-back { margin-top: 56px; }
.draft-notice { background: #fff4d6; border: 1px solid #e7cf86; color: #5c4a10; border-radius: 8px; padding: 14px 18px; margin-bottom: 28px; display: grid; gap: 2px; font-size: .9rem; }
.draft-notice strong { font-size: 1rem; }
.legal .check-note { background: #fff8e1; border-radius: 4px; padding: 0 6px; font-size: .85em; color: #5c4a10; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .code { font-family: var(--serif); font-size: 4rem; color: var(--blue-line); line-height: 1; margin-bottom: 12px; }
.notfound h1 { font-size: 1.5rem; margin-bottom: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .global-nav a { padding: 8px 8px; font-size: .84rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .plans.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .plans.cols-3 .plan:last-child { grid-column: 1 / -1; }
  .steps4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps4 li, .steps4 li + li, .steps4 li:first-child, .steps4 li:last-child { border: 1px solid var(--blue-line); border-radius: 10px; }
  .steps4 li:not(:last-child)::after { display: none; }
  .flow-inq { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .flow-inq li, .flow-inq li + li, .flow-inq li:first-child, .flow-inq li:last-child { border: 1px solid var(--blue-line); border-radius: 10px; }
  .flow-inq li:not(:last-child)::after { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  :root { --header-h: 58px; }
  .nav-toggle { display: block; }
  .brand img { height: 32px; }
  .global-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-line); padding: 8px 16px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .global-nav.open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--gray-line); border-radius: 0; }
  .global-nav li:last-child a { margin-top: 14px; text-align: center; border-radius: 8px; border-bottom: 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 40px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero .cta-row { flex-direction: column; }
  .hero .cta-row .btn { width: 100%; }
  .mail-note { right: 0; position: relative; display: block; transform: none; margin: 14px 0 0 auto; max-width: none; }
  .mail-figure { padding-bottom: 0; }
  .card-grid, .service-grid, .sec-grid, .sample-cols { grid-template-columns: 1fr; }
  .service.wide { grid-column: auto; }
  .plans.cols-2, .plans.cols-3 { grid-template-columns: 1fr; }
  .plans.cols-3 .plan:last-child { grid-column: auto; }
  .plan-badge { left: 16px; }
  .steps4 { grid-template-columns: 1fr; }
  .flow-inq { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .checks { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .line-block { grid-template-columns: 1fr; padding: 26px 22px; }
  .line-qr { margin-inline: auto; }
  .hours .row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .legal dl > div { grid-template-columns: 1fr; gap: 4px; }
  .cta-row .btn { min-width: 0; width: 100%; max-width: 360px; }
  .sample { padding: 24px 20px; }
  .profile-text { padding: 24px 22px; }
  .task-def { padding: 22px 18px; }
  .task-def td { white-space: normal; }
  /* 比較表：スマホはカード形式 */
  .table-wrap, .table-hint { display: none; }
  .compare-cards { display: grid; gap: 16px; }
  .cc { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 20px; }
  .cc h3 { font-size: 1rem; margin-bottom: 12px; }
  .cc dl { margin: 0; }
  .cc dl > div { padding: 10px 0; border-top: 1px solid var(--gray-line); }
  .cc dt { font-size: .8rem; color: var(--text-sub); }
  .cc dd { margin: 0; font-size: .94rem; }
  .cc.desk { background: var(--blue-pale); border-color: var(--blue-soft); border-width: 2px; }
  .cc.desk dl > div { border-top-color: var(--blue-line); }
  /* 固定CTA */
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--gray-line); box-shadow: 0 -4px 14px rgba(20,40,75,.08); transition: transform .25s ease, opacity .25s ease; }
  .sticky-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .sticky-cta .btn { min-height: 46px; padding: 8px 10px; font-size: .9rem; width: 100%; }
  .sticky-cta .btn.is-disabled { min-height: 46px; }
  body { padding-bottom: 0; }
  /* 固定CTAバーの高さ分をページ末尾に確保。--sticky-h は main.js が実測（バー自身の下パディングに safe-area を含む） */
  .site-footer { padding-bottom: calc(var(--sticky-h, calc(68px + env(safe-area-inset-bottom))) + 24px); }
}
@media (max-width: 420px) {
  body { font-size: 15.5px; }
  .container, .container-narrow { width: calc(100% - 32px); }
}
@media print { .site-header, .sticky-cta { display: none; } main { padding-top: 0; } }
