/* ワンスリー企画 コーポレートサイト
   色：紺（信頼）＋ 安全の橙（建設・塗装）＋ 紙の白。図面の方眼をうっすら敷く */
:root {
  --ink: #1b2a3a;
  --ink-2: #33475b;
  --muted: #5f6f7f;
  --line: #dfe3e6;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #ffffff;
  --accent: #e2611b;
  --accent-dark: #b94a0e;
  --accent-soft: #fbe6d8;
  --blue: #2f6f9f;
  --ok: #1f7a4d;
  --ng: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 42, 58, .06), 0 8px 24px rgba(27, 42, 58, .08);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.4; margin: 0; letter-spacing: .03em; }
p { margin: 0; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- ヘッダ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.m-bg { fill: var(--ink); }
.m-one { fill: var(--accent); }
.m-bar { fill: #ffffff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .08em; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav .nav-cta { background: var(--accent); color: #fff; margin-left: 8px; padding: 9px 18px; }
.site-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 8px; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .06em;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(47, 111, 159, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 159, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-dark);
  background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.hl { background: linear-gradient(transparent 68%, rgba(226, 97, 27, .28) 68%); }
.lead { margin-top: 24px; font-size: 17px; color: var(--ink-2); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; }
.chat { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.chat-bubble {
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 18px; border-radius: 18px 18px 4px 18px; max-width: 90%;
  box-shadow: var(--shadow);
}
.sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px 18px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
.sheet-title { font-weight: 800; font-size: 15px; letter-spacing: .1em; }
.sheet-badge { font-size: 12px; font-weight: 700; color: var(--ok); background: #e3f3ea; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.gantt { display: grid; gap: 9px; }
.g-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
.g-label { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.g-track {
  position: relative; height: 14px; border-radius: 4px;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  background-color: #f6f7f8;
}
.g-bar { position: absolute; top: 2px; height: 10px; border-radius: 3px; background: var(--blue); transform-origin: left center; animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; }
.g-bar.b1 { left: 0; width: 18%; animation-delay: .3s; }
.g-bar.b2 { left: 14%; width: 22%; animation-delay: .5s; }
.g-bar.b3 { left: 33%; width: 38%; background: var(--accent); animation-delay: .7s; }
.g-bar.b4 { left: 52%; width: 28%; background: var(--accent); animation-delay: .9s; }
.g-bar.b5 { left: 82%; width: 18%; animation-delay: 1.1s; }
.g-weeks { display: grid; grid-template-columns: repeat(6, 1fr); margin-left: 74px; font-size: 10px; color: var(--muted); }
.g-weeks span { padding-left: 3px; }
.hero-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.sec-label::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.sec-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.sec-lead { margin-top: 18px; color: var(--ink-2); max-width: 760px; }
.note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- お悩み ---------- */
.worries { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.worries li {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 22px 54px; font-size: 15px; line-height: 1.8;
}
.worries li::before {
  content: ""; position: absolute; left: 20px; top: 26px; width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--accent); /* チェック欄の見た目（空の四角） */
}
.worries li strong { color: var(--ink); background: linear-gradient(transparent 70%, var(--accent-soft) 70%); }
.worries-answer { margin-top: 40px; text-align: center; font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; }
.worries-answer strong { color: var(--accent-dark); }

/* ---------- 地に足のついた AI 活用 ---------- */
.contrast { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contrast-col { border-radius: var(--radius); padding: 26px 26px 22px; }
.contrast-col h3 { font-size: 17px; margin: 0 0 12px; line-height: 1.5; }
.contrast-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contrast-col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.7; }
.contrast-col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.contrast-col.is-hype { background: var(--paper); border: 1px dashed var(--line); color: var(--muted); }
.contrast-col.is-hype h3 { color: var(--muted); }
.contrast-col.is-hype li::before { content: "？"; color: var(--muted); }
.contrast-col.is-real { background: var(--white); border: 2px solid var(--accent); box-shadow: var(--shadow); }
.contrast-col.is-real li::before { content: "✓"; color: var(--accent); }
.contrast-message { margin-top: 32px; text-align: center; font-size: clamp(16px, 2vw, 19px); font-weight: 700; line-height: 1.8; }

/* ---------- いっしょに進める ---------- */
.section-together { background: var(--accent-soft); }
.together-points { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.together-point { background: var(--white); border-radius: var(--radius); padding: 26px 24px; border-top: 4px solid var(--accent); }
.together-point h3 { font-size: 18px; margin: 0 0 10px; line-height: 1.5; }
.together-point p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.together-message { margin-top: 40px; text-align: center; }
.together-message p { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.8; }
.together-message .btn { margin-top: 22px; }

/* ---------- AI でできること（比較） ---------- */
.compare { margin-top: 44px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px 16px; }
.compare-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 16px 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
.compare-legend span:first-child { margin-right: auto; }
.compare-legend span:nth-child(2), .compare-legend span:nth-child(3) { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.dot-ai { background: var(--accent); }
.dot-hand { background: #b9c3cc; }
.c-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.c-row:last-child { border-bottom: 0; }
.c-task { font-size: 15px; line-height: 1.7; }
.c-task strong { color: var(--ink); }
.c-bars { display: grid; gap: 6px; }
.c-bar { position: relative; height: 24px; border-radius: 5px; min-width: 6px; }
.c-bar span { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; white-space: nowrap; }
.c-ai { background: var(--accent); }
.c-ai span { color: var(--accent-dark); }
.c-hand { background: #b9c3cc; }
.c-hand span { color: var(--muted); }
/* 手作業の上限（420分＝7時間）を 80% の幅にして、文字の入る余白を残す */
.w-3   { width: calc(80% * 3 / 420); }
.w-15  { width: calc(80% * 15 / 420); }
.w-30  { width: calc(80% * 30 / 420); }
.w-35  { width: calc(80% * 35 / 420); }
.w-105 { width: calc(80% * 105 / 420); }
.w-150 { width: calc(80% * 150 / 420); }
.w-210 { width: calc(80% * 210 / 420); }
.w-300 { width: calc(80% * 300 / 420); }
.w-420 { width: 80%; }

/* ---------- サービス ---------- */
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--accent); }
.card-no { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent-dark); letter-spacing: .1em; }
.card h3 { font-size: 20px; margin: 6px 0 12px; }
.card p:last-child { color: var(--ink-2); font-size: 15px; }

.hero-mission { margin-top: 18px; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 16px; font-size: 14.5px; font-weight: 700; line-height: 1.75; color: var(--ink); }
.hero-mission-tag { display: inline-block; margin-right: 10px; font-size: 12px; font-weight: 800; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 10px; vertical-align: 1px; }
.hero-mission a { margin-left: 8px; white-space: nowrap; font-size: 13px; color: var(--accent-dark); }
.nw { white-space: nowrap; }
#policy { scroll-margin-top: 24px; }

/* ---------- 理念（代行ではなく、育てる） ---------- */
.policy { margin-top: 48px; background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 40px 40px 34px; box-shadow: var(--shadow); }
.policy-label { display: inline-block; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--ink); border-radius: 999px; padding: 3px 14px; }
.policy-title { margin-top: 14px; font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; line-height: 1.5; }
.policy-lead { margin-top: 14px; color: var(--ink-2); }
.policy-cols { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; }
.policy-col { border-radius: var(--radius); padding: 20px 22px; }
.policy-col h4 { font-size: 16px; margin-bottom: 10px; }
.policy-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.policy-col li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.7; }
.policy-col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.policy-col.is-no { background: var(--paper); color: var(--ink-2); }
.policy-col.is-no li::before { content: "✕"; color: var(--ng); }
.policy-col.is-yes { background: var(--accent-soft); }
.policy-col.is-yes li::before { content: "✓"; color: var(--accent-dark); }
.policy-goal { margin-top: 24px; text-align: center; font-size: clamp(16px, 2vw, 19px); font-weight: 800; line-height: 1.8; }

/* ---------- 作成事例 ---------- */
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.work-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue); background: #e6f0f7; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.work-tech { margin: 18px 0 20px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.feature {
  margin-top: 44px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 40px;
}
.feature-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.feature-lead { margin-top: 12px; color: var(--ink-2); }
.feature-sub { margin: 26px 0 12px; font-size: 16px; font-weight: 800; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: step; }
.steps li {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 36px 14px 14px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; font-family: var(--mono);
  display: grid; place-items: center;
}
.steps li strong { color: var(--ink); }
.feature-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.feature-visual { display: grid; place-items: center; }
.phone {
  width: 220px; max-width: 100%; aspect-ratio: 9 / 17; background: var(--ink); border-radius: 30px; padding: 26px 16px;
  box-shadow: var(--shadow); border: 6px solid #2c3e50; display: flex; flex-direction: column; gap: 12px;
}
.phone-head { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 4px; }
.phone-item { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px; }
.pi-dot { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); flex: none; }
.pi-line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.pi-line.w55 { width: 55%; } .pi-line.w70 { width: 70%; } .pi-line.w80 { width: 80%; }
.phone-langs { margin-top: auto; color: #f3a774; font-size: 12px; font-weight: 700; text-align: center; }
.works-group + .feature { margin-top: 20px; }
.works-group { margin: 56px 0 0; font-size: 20px; font-weight: 800; padding-left: 14px; border-left: 4px solid var(--accent); }
.works { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; }
.work.is-wide .mock { margin: 0; }
.work-text { display: flex; flex-direction: column; }
.work-text > p:not(.work-tag) { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.work { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; display: flex; flex-direction: column; }
.work h4 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.work > p:not(.work-tag) { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.chips { list-style: none; padding: 0; margin: auto 0 0; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.chips li { position: relative; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.chips li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: var(--accent); }

/* 作成事例の画面の見本・図（画像を使わず CSS で描く） */
.work-foot { margin-top: 12px; font-size: 12.5px !important; color: var(--muted) !important; line-height: 1.7 !important; }
.mock { margin: 18px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mock figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.mock-cap { font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.mp-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.mp-phone { background: var(--ink); border-radius: 18px; padding: 10px 8px 12px; }
.mp-tabs { display: flex; gap: 3px; margin-bottom: 6px; }
.mp-tabs span { flex: 1; text-align: center; font-size: 9.5px; color: #c3cfda; background: rgba(255, 255, 255, .1); border-radius: 4px; padding: 2px 0; }
.mp-tabs .is-on { background: var(--accent); color: #fff; font-weight: 700; }
.mp-view { position: relative; height: 150px; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #9fb7c9 0%, #c9d6de 55%, #8a9aa6 55%, #7d8c97 100%); }
.mp-wall { position: absolute; left: 14%; right: 14%; top: 18%; bottom: 30%; background: repeating-linear-gradient(90deg, #e9e4da 0 14px, #ddd6c9 14px 16px); border-radius: 2px; }
.mp-board { position: absolute; left: 6px; bottom: 6px; width: 88%; background: #1f5e3b; border: 2px solid #c9b48a; border-radius: 3px; padding: 4px 5px; display: grid; gap: 1px; }
.mp-board span { color: #fff; font-size: 8.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; }
.mp-shutter { width: 26px; height: 26px; margin: 8px auto 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.mp-window { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.mp-bar { display: flex; gap: 4px; padding: 6px 8px; background: var(--paper-2); }
.mp-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9cfd4; }
.mp-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 56px; gap: 8px; align-items: center; padding: 6px 10px; border-top: 1px solid var(--line); font-size: 11.5px; background: var(--white); }
.mp-head { font-size: 10.5px; color: var(--muted); font-weight: 700; background: var(--paper); }
.mp-prog { display: block; height: 7px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.mp-prog i { display: block; height: 100%; background: var(--blue); }
.mp-prog .p100 { width: 100%; background: var(--ok); }
.mp-prog .p70 { width: 70%; }
.mp-prog .p40 { width: 40%; }
.mp-ok { color: var(--ok); font-weight: 700; }
.mp-dl { margin: 10px; text-align: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; border-radius: 8px; padding: 9px 6px; box-shadow: 0 0 0 4px var(--accent-soft); }
.mp-callout { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent-dark); }
.mp-callout::before { content: "▲ "; }
.mf-case { border-radius: 10px; padding: 10px 12px 12px; }
.mf-case + .mf-case { margin-top: 10px; }
.mf-case.is-before { background: var(--paper); }
.mf-case.is-after { background: #eef6f1; }
.mf-label { font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.is-before .mf-label { color: var(--muted); }
.is-after .mf-label { color: var(--ok); }
.mf-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); align-items: center; gap: 6px; }
.mf-node { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.mf-node b { font-size: 12px; line-height: 1.45; }
.mf-node.is-down { opacity: .8; }
.mf-node.is-up { border-color: var(--ok); }
.mf-arrow { position: relative; text-align: center; white-space: nowrap; font-size: 10.5px; font-weight: 700; color: var(--ok); padding-bottom: 14px; }
.mf-arrow::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 4px; height: 2px; background: currentColor; }
.mf-arrow::before { content: ""; position: absolute; right: 4px; bottom: 0; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.mf-arrow.is-ng { color: var(--ng); }
.mf-arrow.is-ng::after { background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px); }
.mf-arrow.is-ng span::after { content: " ✕"; }
.dev { display: block; position: relative; }
.dev-laptop { width: 34px; height: 22px; border: 3px solid var(--ink); border-radius: 3px 3px 0 0; margin-bottom: 5px; }
.dev-laptop::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: -8px; height: 4px; background: var(--ink); border-radius: 0 0 3px 3px; }
.dev-pc { width: 38px; height: 26px; border: 3px solid var(--ink); border-radius: 3px; margin-bottom: 7px; }
.dev-pc::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 5px; margin-left: -7px; background: var(--ink); border-radius: 2px; }
.st { font-style: normal; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.st-up { background: #e3f3ea; color: var(--ok); }
.st-down { background: #fde8e6; color: var(--ng); }
.st-done { background: #e6f0f7; color: var(--blue); }
.st-wait { background: #fff3d6; color: #8a5a00; }
.mf-btn { font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--accent); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.mf-board { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mf-task { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 12px; }
.mf-task span { flex: 1; min-width: 0; }

/* ---------- 考え方（濃い帯） ---------- */
.section-dark { background: var(--ink); color: #e9eef3; }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-label { color: #f3a774; }
.points { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point { border-top: 2px solid var(--accent); padding-top: 20px; }
.point h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.point p { color: #c3cfda; font-size: 15px; }

/* ---------- 流れ ---------- */
.flow { list-style: none; padding: 0; margin: 44px 0 0; max-width: 820px; display: grid; grid-template-columns: 1fr; gap: 22px; }
.flow li {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; display: grid; grid-template-columns: 34px 1fr; column-gap: 20px; align-items: start;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: 39px; bottom: -17px; width: 8px; height: 8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); z-index: 1;
}
.flow-no { grid-row: span 2; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-family: var(--mono); }
.flow h3 { font-size: 17px; margin: 4px 0 6px; }
.flow p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
#flow .sec-lead a { color: var(--accent-dark); font-weight: 700; }
.flow.flow-paid { margin-top: 0; }
.flow h3 { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 6px; }
.fee { display: inline-block; margin-left: auto; white-space: nowrap; font-size: 12.5px; font-weight: 800; line-height: 1.5; border-radius: 999px; padding: 2px 11px; }
.fee.is-free { color: var(--ok); background: #e3f3ea; border: 1px solid #b7dfc8; }
.fee.is-paid { color: var(--accent-dark); background: var(--accent-soft); border: 1px solid #f2c3a3; }
.flow-border { max-width: 820px; margin: 26px 0; display: flex; align-items: center; gap: 14px; color: var(--accent-dark); font-weight: 800; font-size: 14.5px; }
.flow-border::before, .flow-border::after { content: ""; flex: 1; border-top: 2px dashed var(--accent); }
.flow-border span { white-space: nowrap; }

/* ---------- 料金 ---------- */
.price-steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; }
.price-stage { align-self: flex-start; font-size: 12px; font-weight: 800; color: #fff; background: var(--ink); border-radius: 999px; padding: 2px 12px; }
.price-step h3 { font-size: 18px; margin: 12px 0 6px; line-height: 1.5; }
.price-amount { font-size: 40px; font-weight: 800; color: var(--accent-dark); line-height: 1.2; font-family: var(--mono); }
.price-amount span, .price-amount small { font-family: var(--font); font-size: 16px; margin-left: 4px; color: var(--ink); }
.price-amount small { margin: 0 4px 0 0; }
.price-sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.price-sub strong { color: var(--accent-dark); }
.price-step ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.price-step li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.price-step li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.price-note { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted); }
.price-total { margin-top: 28px; text-align: center; font-size: clamp(16px, 2vw, 19px); font-weight: 700; background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; }
.price-total strong { color: var(--accent-dark); }
.price-tables { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.price-table-title { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.price-table thead th { background: var(--paper-2); font-size: 13px; white-space: nowrap; }
.price-table tbody th, .price-table td { white-space: nowrap; }
.price-table td.is-wrap { white-space: normal; min-width: 12em; }
.price-table-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.price-terms { margin: 28px 0 0; padding-left: 1.2em; font-size: 13px; color: var(--muted); line-height: 1.8; display: grid; gap: 4px; }

/* ---------- 代表あいさつ ---------- */
.about { display: grid; grid-template-columns: .8fr 2fr; gap: 48px; }
.about-body p { margin-bottom: 18px; color: var(--ink-2); font-size: 16px; line-height: 2.05; }
.sign { margin-top: 28px; text-align: right; color: var(--ink) !important; font-weight: 600; }

/* ---------- 事業者情報 ---------- */
.profile { margin: 40px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.profile div:last-child { border-bottom: 0; }
.profile dt { background: var(--paper-2); font-weight: 700; padding: 18px 22px; font-size: 15px; }
.profile dd { margin: 0; padding: 18px 22px; font-size: 15px; }

/* ---------- お問い合わせ ---------- */
.section-contact { background: var(--white); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: .9fr 1.4fr; gap: 56px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.req { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 4px; padding: 0 6px; margin-left: 4px; vertical-align: 1px; line-height: 1.7; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid #c9d0d6; border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 111, 159, .2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--ng); }
.field-error { display: none; color: var(--ng); font-size: 13px; margin-top: 6px; }
.field.is-invalid .field-error { display: block; }
.field-check .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.field-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box:empty { display: none; }
.turnstile-box { margin-bottom: 18px; }
.btn-submit { width: 100%; }
.btn-submit[disabled] { opacity: .6; cursor: wait; }
.form-status { margin-top: 16px; font-weight: 700; font-size: 15px; }
.form-status.is-ok { color: var(--ok); background: #e3f3ea; padding: 14px 16px; border-radius: 10px; }
.form-status.is-ng { color: var(--ng); background: #fdecea; padding: 14px 16px; border-radius: 10px; }

/* ---------- フッタ ---------- */
.site-footer { background: var(--ink); color: #c3cfda; padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-brand { color: #fff; font-weight: 800; letter-spacing: .08em; }
.footer-brand span { font-weight: 400; font-size: 13px; color: #c3cfda; letter-spacing: .02em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { color: #c3cfda; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.copy { width: 100%; font-size: 12px; color: #8fa0b0; }

/* ---------- 下層ページ（個人情報・404） ---------- */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-bottom: 28px; }
.page h2 { font-size: 19px; margin: 36px 0 10px; padding-left: 12px; border-left: 4px solid var(--accent); }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-left: 1.4em; }
.page .updated { margin-top: 40px; font-size: 14px; color: var(--muted); }
.page-404 { text-align: center; }
.page-404 .code { font-family: var(--mono); font-size: 72px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.page-404 .btn { margin-top: 28px; }

/* ---------- 画面の幅ごと ---------- */
.br-pc { display: inline; }
/* メニューが1行に入らない幅からハンバーガーにする */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(27, 42, 58, .08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .nav-cta { margin: 12px 0 0; text-align: center; border-radius: 999px; border-bottom: 0; }
  .price-tables { grid-template-columns: minmax(0, 1fr); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work.is-wide { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 1000px) {
  .worries { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 72px 0; }
  .points { grid-template-columns: 1fr; gap: 24px; }
  .about { grid-template-columns: 1fr; gap: 8px; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .together-points { grid-template-columns: 1fr; }
  .contrast { grid-template-columns: 1fr; }
  .policy-cols { grid-template-columns: minmax(0, 1fr); }
  .price-steps { grid-template-columns: 1fr; }
  .price-tables { grid-template-columns: minmax(0, 1fr); }
  .c-row { grid-template-columns: 1fr; gap: 10px; }
  .feature { grid-template-columns: 1fr; padding: 32px 28px; }
  .feature-visual { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  body { font-size: 15px; }
  .brand-sub { display: none; }
  .br-pc { display: none; }
  .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .worries { grid-template-columns: 1fr; }
  .flow li { padding: 20px 18px; column-gap: 14px; }
  .flow li:not(:last-child)::after { left: 31px; }
  .compare { padding: 4px 16px 12px; }
  .compare-legend span:first-child { display: none; }
  .form { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .profile div { grid-template-columns: 1fr; }
  .profile dt { padding: 12px 16px 6px; }
  .profile dd { padding: 6px 16px 14px; }
  .card { padding: 26px 22px; }
  .policy { padding: 28px 18px 24px; border-radius: var(--radius); }
  .hero-mission a { display: block; margin: 4px 0 0; }
  .feature { padding: 26px 18px; border-radius: var(--radius); }
  .steps { grid-template-columns: 1fr; }
  .mp-grid { grid-template-columns: 1fr; }
  .mp-side:first-child { max-width: 170px; }
  .mf-row { grid-template-columns: 1fr; }
  .mf-arrow { padding: 0 0 0 26px; text-align: left; min-height: 30px; display: flex; align-items: center; }
  .mf-arrow::after { left: 12px; right: auto; top: 0; bottom: 6px; width: 2px; height: auto; }
  .mf-arrow.is-ng::after { background: repeating-linear-gradient(180deg, currentColor 0 5px, transparent 5px 9px); }
  .mf-arrow::before { left: 8px; right: auto; bottom: 2px; transform: rotate(135deg); }
  .work { padding: 22px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-bar { animation: none; }
  .btn, .nav-toggle-bar { transition: none; }
}
