/* Mergeble — 経営DX・磨き上げの 1 ページサイト（Cloudflare Pages 用・自己完結版）。
   出典: marrible-chat リポジトリの app/mergeble/mergeble.module.css を素の CSS へ移植。
   トーン: 白基調×墨×深藍1色。明朝の見出し（Zen Old Mincho）。
   絵文字・グラデ・グローは使わない（確立済みの大人トーン規律）。
   日本語本文に text-wrap: pretty は使わない（確立済みの組版教訓）。 */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #1b2330;
  --ink-2: #4a5568;
  --ink-3: #8a94a3;
  --line: #e5e8ee;
  --accent: #24435f;
  --bg-soft: #f6f7f9;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 700; }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.headerCta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 9px 16px;
  transition: opacity 150ms;
}
.headerCta:hover { opacity: 0.88; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; }
.hero h1 {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.sub {
  margin: 24px 0 0;
  max-width: 36em;
  color: var(--ink-2);
}
.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btnDark,
.btnLine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 150ms, box-shadow 150ms, border-color 150ms, opacity 150ms;
}
.btnDark { background: var(--accent); color: #fff; }
.btnDark:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(36, 67, 95, 0.22); }
.btnLine { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btnLine:hover { border-color: var(--ink); }
.heroNote {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- sections ---------- */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.section.soft { background: var(--bg-soft); }
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.section h2 {
  margin: 10px 0 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.5;
}
.lead {
  margin: 18px 0 0;
  max-width: 40em;
  color: var(--ink-2);
}
.note {
  margin: 18px 0 0;
  max-width: 40em;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  background: #fff;
}
.card .num {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #9aa7b5;
}
.cardPrice {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}
.card h3 {
  margin: 8px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}
.card p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ---------- subsidy ---------- */
.subsidy { background: var(--bg-soft); }
.subsidyList {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.subsidyList li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 18px;
}
.subsidyList strong { font-size: 14px; }
.subsidyList span { font-size: 13px; color: var(--ink-2); }

/* ---------- example ---------- */
.more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-underline-offset: 4px;
}
.more:hover { text-decoration: underline; }

/* ---------- faq（ネイティブ details アコーディオン・JS不要） ---------- */
.faq {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.faqItem {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 18px;
}
.faqItem > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.faqItem > summary::-webkit-details-marker { display: none; }
.faqItem > summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.faqItem[open] > summary::after { content: "−"; }
.faqItem > p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- philosophy（静かに） ---------- */
.philosophy { background: var(--ink); color: #fff; }
.philoQuote {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 26px);
  letter-spacing: 0.04em;
}
.philoBody {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- contact ---------- */
.contactBody {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.tel { margin: 0; font-size: 15px; }
.tel a { font-weight: 700; color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}
.footNote {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footNote a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .hero { padding: 52px 0 48px; }
  .section { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
}
