:root {
  --bg: #F6F3EC;
  --bg-alt: #EFEAE0;
  --ink: #3A352C;
  --ink-sub: #7A7365;
  --line: #E0D9CB;
  --brand: #7C8A6B;
  --on-brand: #FFFFFF;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow-1: 0 8px 24px rgba(58,53,44,.08);
  --shadow-2: 0 12px 32px rgba(58,53,44,.10);
  --section-pad: 96px;
  --font-head: "Zen Maru Gothic","Quicksand",sans-serif;
  --font-body: "Noto Sans JP",sans-serif;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --space-7: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.8;
  overflow-x: clip; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0; text-wrap: balance; word-break: keep-all; line-break: strict; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.container { max-width: 1140px; margin-inline: auto; padding-inline: var(--space-3); }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: var(--space-6); }
.section__title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; }
.section__lead { color: var(--ink-sub); margin-top: var(--space-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-1); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
/* 統計値の和文接尾辞（例: 20「年以上」）。欧文数字と和文の見た目サイズ差を揃える */
.stat-suffix { font-size: .55em; margin-left: 2px; letter-spacing: .02em; }

/* ── nav:simple ── */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.nav__logo { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.nav__links .btn { min-height: 40px; padding: 8px 20px; }
.nav__link { text-decoration: none; font-size: 15px; color: var(--ink-sub); padding: 8px 0; }
.nav__link:hover { color: var(--ink); }
@media (max-width: 640px) { .nav__link { display: none; } }

/* ── hero:editorial-split ── */
.hero-split { padding-block: clamp(64px, 10vw, 128px); }
.hero-split__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-6); align-items: center; }
.hero-split__badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 999px; padding: 6px 14px; margin: 0 0 var(--space-3); }
.hero-split__title { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; letter-spacing: .01em; }
.hero-split__sub { color: var(--ink-sub); font-size: 17px; margin-top: var(--space-3); max-width: 34em; }
.hero-split__cta { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-5); }
.hero-split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.hero-split__panel { position: relative; overflow: clip; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--bg-alt)), var(--bg-alt) 60%); display: flex; align-items: flex-end; padding: var(--space-3); }
.hero-split__panel-mark { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 4vw, 44px); color: color-mix(in srgb, var(--brand) 55%, var(--ink-sub)); opacity: .5; user-select: none; }
@media (max-width: 820px) { .hero-split__grid { grid-template-columns: 1fr; gap: var(--space-5); } }

/* ── social-proof:stats ── */
.proof-stats { padding-block: var(--space-6); border-block: 1px solid var(--line); background: color-mix(in srgb, var(--brand) 5%, var(--bg)); }
.proof-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3); margin: 0; text-align: center; }
.proof-stats__stat { display: flex; flex-direction: column; gap: 4px; }
.proof-stats__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; }
.proof-stats__label { font-size: 13px; color: var(--ink-sub); }
.proof-stats__note { text-align: center; font-size: 12px; color: var(--ink-sub); margin-top: var(--space-3); }

/* ── features:alternating ── */
.feat-alt { display: flex; flex-direction: column; gap: var(--space-6); }
.feat-alt__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.feat-alt__row:nth-child(even) .feat-alt__text { order: 2; }
.feat-alt__row:nth-child(even) .feat-alt__visual { order: 1; }
.feat-alt__title { font-size: 24px; font-weight: 700; }
.feat-alt__body { color: var(--ink-sub); margin-top: var(--space-2); }
.feat-alt__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.feat-alt__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(64px, 9vw, 110px); line-height: 1; color: color-mix(in srgb, var(--brand) 26%, var(--bg-alt)); user-select: none; text-align: center; }
@media (max-width: 820px) { .feat-alt__row { grid-template-columns: 1fr; gap: var(--space-3); } .feat-alt__row:nth-child(even) .feat-alt__text { order: 0; } .feat-alt__row:nth-child(even) .feat-alt__visual { order: 0; } }

/* ── pricing:tiers ── */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); align-items: stretch; }
.pricing__tier { position: relative; display: flex; flex-direction: column; gap: var(--space-3); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-1); }
.section--alt .pricing__tier { background: var(--bg); }
.pricing__tier--featured { border-color: var(--brand); border-width: 2px; }
.pricing__badge { position: absolute; top: -12px; left: var(--space-4); background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.pricing__name { font-size: 18px; font-weight: 700; }
.pricing__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.pricing__unit { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-sub); margin-left: 6px; }
.pricing__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-sub); flex-grow: 1; }
.pricing__features li { padding-left: 24px; position: relative; }
.pricing__features li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ── social-proof:voices ── */
.proof-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-3); }
.proof-voices__card { margin: 0; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: var(--space-3); }
.section--alt .proof-voices__card { background: var(--bg); }
.proof-voices__quote { margin: 0; position: relative; }
.proof-voices__quote::before { content: "\201C"; font-family: var(--font-head); font-size: 44px; line-height: 1; color: var(--brand); display: block; margin-bottom: 4px; }
.proof-voices__quote p { font-size: 15px; }
.proof-voices__who { font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-top: auto; }
.proof-voices__role { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--ink-sub); margin-top: 2px; }

/* ── faq:accordion ── */
.faq { max-width: 780px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: var(--space-3) 40px var(--space-3) 0; cursor: pointer; list-style: none; position: relative; min-height: 44px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { color: var(--ink-sub); font-size: 15px; padding: 0 0 var(--space-3); max-width: 44em; }

/* ── contact:info ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.contact__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.contact__head .section__head { margin-bottom: 0; }
.contact__list { margin: 0; display: flex; flex-direction: column; }
.contact__row { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.contact__row:first-child { border-top: 1px solid var(--line); }
.contact__label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink-sub); margin: 0; }
.contact__value { margin: 0; font-size: 15px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; gap: var(--space-4); } .contact__row { grid-template-columns: 100px 1fr; } }

/* ── contact-form:form ── */
.cform { max-width: 640px; }
.cform__form { display: flex; flex-direction: column; gap: var(--space-3); }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__row { display: flex; flex-direction: column; gap: 6px; }
.cform__label { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink-sub); }
.cform__input { width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.section--alt .cform__input { background: var(--bg-alt); }
.cform__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.cform__actions { margin-top: var(--space-2); }
.cform__msg { font-size: 14px; margin: 0; }
.cform__msg.is-ok { color: var(--brand); }
.cform__msg.is-err { color: #c0392b; }
.cform__note { font-size: 12px; color: var(--ink-sub); margin: 0; }

/* ── footer:simple ── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: var(--space-6) var(--space-4); }
.footer__inner { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__logo { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.footer__links { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer__link { font-size: 14px; color: var(--ink-sub); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer__link:hover { color: var(--ink); }
.footer__note { font-size: 13px; color: var(--ink-sub); }
.footer__copy { font-size: 12px; color: var(--ink-sub); margin-top: var(--space-2); }

/* ── reveal ── */
html.sf-reveal :is(.section__head, .feat-bento__cell, .feat-cards__card, .feat-alt__row, .proof-stats__stat, .proof-voices__card, .pricing__tier, .gallery__item, .steps__item, .contact__row, .faq__item, .logos__item, .cta-band__inner) { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.sf-reveal :is(.section__head, .feat-bento__cell, .feat-cards__card, .feat-alt__row, .proof-stats__stat, .proof-voices__card, .pricing__tier, .gallery__item, .steps__item, .contact__row, .faq__item, .logos__item, .cta-band__inner).sf-in { opacity: 1; transform: none; }
