:root {
  --navy: #16304f;
  --text: #2c3e55;
  --muted: #6b7a8c;
  --gold: #9c7a2e;
  --gold-dark: #7a5c1e;
  --beige: #f0e7d2;
  --soft: #faf6ec;
  --line: #e4ddcc;
  --white: #fff;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, summary, .lead, .worry-answer { word-break: auto-phrase; }
h1, h2, h3 { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; color: var(--navy); line-height: 1.45; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--gold); }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.bg-soft { background: var(--soft); }
section { padding: 88px 0; }
.sp { display: none; }
.nb { display: inline-block; }

/* ボタン */
.btn {
  display: inline-block; padding: 16px 34px; border-radius: 999px;
  background: var(--gold); color: var(--white); font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(156, 122, 46, .28); transition: transform .15s, background .15s;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--gold-dark); border: 2px solid var(--gold); box-shadow: none; }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { padding: 8px 20px; font-size: 14px; white-space: nowrap; }
.btn-wide { width: 100%; border: 0; font-size: 17px; cursor: pointer; font-family: inherit; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 20px; color: var(--navy); text-decoration: none; }
.logo span { font-size: 11px; color: var(--muted); margin-left: 8px; font-weight: 500; }

/* 見出し */
.eyebrow { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-bottom: 14px; }
.sec-title { text-align: center; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 48px; }
.sec-title small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 13px; letter-spacing: .2em; color: var(--gold); margin-bottom: 10px; }

/* ファーストビュー */
.fv-eyebrow { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; font-weight: 700; color: var(--navy); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.5; margin-bottom: 4px; grid-column: 1 / -1; padding-left: 16px; border-left: 6px solid var(--gold); }
.fv-eyebrow mark { background: linear-gradient(transparent 58%, rgba(156,122,46,.32) 58%); color: var(--gold-dark); padding: 0 2px; }
.fv { padding: 72px 0 80px; background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%); }
.fv-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px 40px; align-items: center; }
.fv h1 { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 22px; }
.fv .lead { font-size: clamp(16px, 1.6vw, 18px); margin-bottom: 34px; }
.fv-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.venn { margin: 0; }
.venn svg { width: 100%; height: auto; }
.c-left, .c-right { fill: var(--white); stroke: var(--line); stroke-width: 2; }
.c-mid { fill: var(--gold); opacity: .92; }
.v-title { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 24px; fill: var(--navy); }
.v-sub { font-size: 14px; fill: var(--muted); }
.v-mid { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 20px; fill: var(--white); }
.v-mid-sub { font-size: 13px; fill: var(--white); }
.venn-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.venn-notes p { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.6; }
.venn-notes span { display: block; font-weight: 700; color: var(--navy); font-size: 12px; }

.fv-price { margin: -10px 0 30px; font-size: 17px; color: var(--navy); font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fv-price b { font-size: 30px; color: var(--gold-dark); margin: 0 2px; font-family: "Zen Maru Gothic", sans-serif; }
.fv-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.tag { display: inline-block; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 6px; letter-spacing: .05em; }

/* 料金 */
.price-card { max-width: 560px; margin: 0 auto; text-align: center; border: 2px solid var(--gold); border-radius: 24px; padding: 40px 32px; background: var(--soft); }
.price-label { font-weight: 700; color: var(--gold-dark); }
.price-main { font-size: 20px; font-weight: 700; color: var(--navy); margin: 10px 0 22px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-main b { font-size: 52px; color: var(--gold-dark); font-family: "Zen Maru Gothic", sans-serif; line-height: 1.1; }
.price-main small { font-size: 14px; color: var(--muted); }
.price-list { display: inline-block; text-align: left; margin-bottom: 14px; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

/* 支援実績 */
.works { padding-top: 64px; }
.work-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: var(--white); }
.badge { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; color: var(--gold-dark); background: var(--beige); border-radius: 999px; padding: 2px 12px; }
.pref { color: var(--gold-dark); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.pin { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--gold); transform: rotate(-45deg); display: inline-block; }
.work h3 { font-size: 19px; margin: 6px 0 10px; }
.work p:last-child { font-size: 14.5px; }

/* お悩み */
.worry-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.worry-list li { background: var(--white); border-radius: 14px; padding: 18px 20px 18px 54px; position: relative; box-shadow: 0 2px 10px rgba(22,48,79,.05); }
.worry-list li::before { content: "?"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.worry-list b { color: var(--navy); }
.worry-answer { text-align: center; margin-top: 42px; font-size: clamp(18px, 2.2vw, 22px); font-family: "Zen Maru Gothic", sans-serif; }
.worry-answer b { color: var(--gold-dark); }

/* うまくいかない理由 */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card { background: #f5f6f8; border-radius: var(--radius); padding: 30px; }
.why-card h3 { font-size: 20px; margin-bottom: 14px; }
.why-card li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.why-card li::before { content: "×"; position: absolute; left: 0; color: #b0503a; font-weight: 700; }
.why-answer { margin-top: 30px; background: var(--soft); border: 2px solid var(--gold); border-radius: var(--radius); padding: 26px; text-align: center; font-size: 17px; }
.why-answer b { color: var(--gold-dark); }

/* 3つの柱 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 32px 26px; text-align: center; }
.pillar .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.pillar h3 { font-size: 26px; margin-bottom: 10px; color: var(--gold-dark); }

/* 支援の流れ */
.flow-steps { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 16px; align-items: stretch; }
.flow-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.flow-step:first-child { background: var(--soft); border-color: var(--gold); }
.step-label { display: inline-block; background: var(--gold); color: var(--white); font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; }
.flow-step h3 { font-size: 24px; margin: 12px 0 14px; }
.flow-arrow { align-self: center; width: 0; height: 0; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 22px solid var(--beige); justify-self: center; }
.check li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* 実務メニュー */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.menu-grid li { background: var(--white); border-radius: 14px; padding: 20px 22px; font-size: 14px; color: var(--muted); }
.menu-grid b { display: block; color: var(--navy); font-size: 17px; font-family: "Zen Maru Gothic", sans-serif; }

/* こんな会社に */
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fit-card { border-left: 5px solid var(--gold); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; }
.fit-card h3 { font-size: 19px; margin-bottom: 6px; }

/* 伴走体制 */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.support-grid > div { background: var(--white); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.support-grid h3 { font-size: 17px; color: var(--gold-dark); margin-bottom: 8px; }
.support-grid p { font-size: 14px; }

/* 比較表 */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
th, td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: center; }
thead th { background: var(--beige); color: var(--gold-dark); }
tbody th { text-align: left; color: var(--navy); width: 22%; }
.hl { background: var(--soft); font-weight: 700; color: var(--navy); }
thead .hl { background: var(--gold); color: var(--white); }

/* 代表者 */
.profile-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.profile-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; background: var(--beige); border: 6px solid var(--white); box-shadow: 0 6px 20px rgba(22,48,79,.12); }
.profile-name { font-size: 28px; margin-bottom: 16px; }
.profile-name span { display: block; font-size: 14px; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-weight: 500; }
.dot li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.dot li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* 導入の流れ */
.step-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step-list li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; text-align: center; font-size: 13.5px; color: var(--muted); }
.step-list li::before { content: "STEP " counter(s); display: block; color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: .1em; }
.step-list b { display: block; color: var(--navy); font-size: 17px; margin: 4px 0; font-family: "Zen Maru Gothic", sans-serif; }

/* FAQ */
.faq .wrap { max-width: 820px; }
details { background: var(--white); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q."; color: var(--gold); margin-right: 8px; }
summary::after { content: "+"; position: absolute; right: 0; color: var(--gold); font-size: 22px; line-height: 1; top: 18px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 20px; }

/* フォーム */
.contact { background: linear-gradient(180deg, var(--white), var(--soft)); }
.form { max-width: 680px; margin: 0 auto; background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: 0 8px 30px rgba(22,48,79,.07); display: grid; gap: 18px; }
.form label { display: block; font-weight: 700; color: var(--navy); font-size: 15px; }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcf9; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 15px; }
.form .chk { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--text); }
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; margin-left: 8px; }
.req { background: var(--gold); color: var(--white); }
.opt { background: #eef0f3; color: var(--muted); }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 送信完了ページ */
.thanks { padding: 80px 0 100px; text-align: center; }
.thanks-text { margin-bottom: 36px; }
.booking { max-width: 760px; margin: 0 auto 40px; background: var(--soft); border-radius: var(--radius); padding: 32px 24px; }
.booking-title { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 10px; }
.booking-lead { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.booking .jicoo-widget { background: var(--white); border-radius: 12px; overflow: hidden; }

/* フッター */
.site-footer { background: var(--navy); color: #c9d2de; padding: 40px 0 90px; font-size: 13px; }
.site-footer .logo { color: var(--white); margin-bottom: 6px; }
.copy { margin-top: 10px; opacity: .7; }

/* スマホの追従ボタン */
.float-cta { display: none; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .sp { display: inline; }
  .pc { display: none; }
  .fv { padding: 40px 0 56px; }
  .fv h1 { font-size: 24px; }
  .fv-eyebrow { font-size: 18px; border-left-width: 5px; padding-left: 12px; }
  .eyebrow { font-size: 12px; letter-spacing: .02em; }
  .sec-title { font-size: 22px; }
  .fv-inner { grid-template-columns: 1fr; gap: 28px; }
  .work-cards, .why-grid, .pillars, .menu-grid, .fit-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .step-list { grid-template-columns: 1fr; }
  .profile-inner { grid-template-columns: 1fr; text-align: left; }
  .profile-photo { width: 160px; height: 160px; margin: 0 auto; }
  .form { padding: 24px 18px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .float-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20;
    text-align: center; background: var(--gold); color: var(--white); font-weight: 700;
    padding: 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.18);
  }
}
@media (max-width: 420px) {
  .logo span { display: none; }
  .logo { font-size: 18px; }
  .venn-notes { grid-template-columns: 1fr; }
  .support-grid, .menu-grid { grid-template-columns: 1fr; }
}
