/* 給与ナビ — 税理士事務所レベルの給与計算クラウド / SEISEI lead-gen site
   Design: SEISEI brand. Navy + champagne gold on warm paper.
   Restrained, premium, editorial — serif display over sans body. */

:root {
  --navy: #0e1d31;
  --navy-2: #16294a;
  --ink: #0a1422;
  --gold: #9c7e52;
  --gold-light: #c9ac78;
  --paper: #fdfcfa;
  --paper-2: #f4f1eb;
  --text: #2b2f36;
  --text-soft: #5a606b;
  --hair: #e4e0d7;
  --radius: 12px;
  --wrap: 1080px;
  --shadow: 0 14px 44px rgba(14, 29, 49, 0.10);
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", -apple-system, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.9;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: var(--navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 700; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-weight: 700; letter-spacing: .04em; color: var(--navy); font-size: 21px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-soft); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--navy); }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--navy); color: #fff !important;
  padding: 12px 26px; border-radius: 4px; font-weight: 700; font-size: 14.5px;
  letter-spacing: .04em; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff !important; }
.btn-gold:hover { background: linear-gradient(135deg, #8a6f47, var(--gold)); }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 1px solid var(--hair); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; box-shadow: none; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---- hero ---- */
.hero {
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(156, 126, 82, .16), transparent 60%),
    linear-gradient(168deg, var(--ink) 0%, var(--navy) 46%, var(--navy-2) 100%);
  color: #e8ecf3; padding: 96px 0 106px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 172, 120, .5), transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(201, 172, 120, .45); color: var(--gold-light);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .1em; margin-bottom: 28px; background: rgba(201, 172, 120, .07);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px); line-height: 1.35; letter-spacing: .02em;
  color: #fff; max-width: 780px;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.lead {
  margin-top: 24px; font-size: clamp(15.5px, 2.1vw, 18px); color: #b7c2d2;
  max-width: 660px; line-height: 2;
}
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #e8ecf3 !important; border-color: rgba(232, 236, 243, .3); }
.hero .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light) !important; }
.trust-row { margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  padding: 10px 18px; border-radius: 6px; color: #dbe2ec; font-weight: 600; font-size: 13.5px;
}
.badge::before { content: "◆"; color: var(--gold-light); font-size: 9px; }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section.alt { background: var(--paper-2); }
.section-dark {
  background: linear-gradient(150deg, var(--ink), var(--navy) 60%, var(--navy-2));
  color: #dbe2ec; padding: 76px 0;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #b7c2d2; }
.kicker {
  color: var(--gold); font-weight: 700; font-size: 12.5px;
  letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 12px;
}
.section-dark .kicker { color: var(--gold-light); }
.section h2, .section-dark h2 {
  font-size: clamp(24px, 3.4vw, 34px); line-height: 1.5; color: var(--navy); margin-bottom: 10px;
}
.section-dark h2 { color: #fff; }
.sub { color: var(--text-soft); max-width: 660px; margin-bottom: 46px; }

/* ---- cards ---- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card .ic {
  width: 44px; height: 44px; border-radius: 8px; background: var(--paper-2);
  border: 1px solid var(--hair); display: grid; place-items: center;
  font-size: 20px; margin-bottom: 18px; color: var(--gold);
}
.card h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 9px; font-weight: 700; }
.card p { color: var(--text-soft); font-size: 14.5px; }

/* problem list rows */
.plist { display: grid; gap: 14px; max-width: 820px; }
.plist .row {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--hair); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 20px 24px;
}
.plist .row b { color: var(--navy); }
.plist .row p { color: var(--text-soft); font-size: 14.5px; margin-top: 3px; }
.plist .num {
  font-family: var(--serif); color: var(--gold); font-size: 20px;
  font-weight: 700; flex: none; line-height: 1.5;
}

/* ---- blog cards ---- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform .18s, box-shadow .18s; display: block;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post .top { height: 6px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.post .body { padding: 24px; }
.tag {
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.post h3 { font-size: 16.5px; color: var(--navy); margin: 9px 0 10px; line-height: 1.6; font-weight: 700; }
.post p { color: var(--text-soft); font-size: 13.5px; }

/* ---- inline CTA / waitlist ---- */
.inline-cta {
  background: linear-gradient(150deg, var(--ink), var(--navy-2));
  color: #fff; border-radius: 18px; padding: 56px 32px; text-align: center;
}
.inline-cta h2, .inline-cta h3 { color: #fff; }
.inline-cta p { color: #b7c2d2; margin: 16px auto 28px; max-width: 560px; }
.inline-cta .note { font-size: 13.5px; color: #8fa0b5; margin-top: 20px; }

/* ---- article ---- */
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; }
.crumbs { color: var(--text-soft); font-size: 13px; margin-bottom: 20px; }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--gold); }
.article h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.5; color: var(--navy); margin-bottom: 14px; }
.meta { color: var(--text-soft); font-size: 13.5px; margin-bottom: 8px; }
.article h2 {
  font-size: 23px; color: var(--navy); margin: 46px 0 14px;
  padding-top: 16px; border-top: 2px solid var(--hair);
}
.article h3 { font-size: 18px; color: var(--navy-2); margin: 30px 0 10px; font-weight: 700; }
.article p { margin: 14px 0; color: var(--text); }
.article ul, .article ol { margin: 14px 0 14px 4px; padding-left: 24px; }
.article li { margin: 8px 0; }
.article strong { color: var(--navy); }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.article th, .article td { border: 1px solid var(--hair); padding: 10px 14px; text-align: left; }
.article th { background: var(--paper-2); color: var(--navy); font-weight: 700; }
.toc {
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 10px;
  padding: 24px 28px; margin: 28px 0 36px;
}
.toc b { color: var(--navy); font-size: 14px; }
.toc ol { margin: 10px 0 0 20px; }
.toc a { color: var(--text-soft); font-size: 14.5px; }
.faq { margin-top: 20px; }
.faq details {
  border: 1px solid var(--hair); border-radius: 8px; padding: 4px 20px;
  margin: 12px 0; background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; }
.faq p { margin: 0 0 16px; color: var(--text-soft); font-size: 14.5px; }
.related { border-top: 2px solid var(--hair); margin-top: 50px; padding-top: 30px; }
.related b { color: var(--navy); }
.related a {
  display: block; padding: 11px 0; color: var(--navy);
  border-bottom: 1px solid var(--hair); font-weight: 600; font-size: 15px;
}
.related a:hover { color: var(--gold); }

/* ---- footer ---- */
.footer { background: var(--ink); color: #8fa0b5; padding: 60px 0 40px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; font-size: 19px; }
.footer .brand span { color: var(--gold-light); }
.footer b { color: #fff; display: block; margin-bottom: 6px; }
.footer a { color: #8fa0b5; display: block; padding: 5px 0; }
.footer a:hover { color: var(--gold-light); }
.footer .fine {
  border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 44px;
  padding-top: 24px; color: #66788d; font-size: 12.5px; line-height: 1.9;
}

/* ---- responsive ---- */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--hair); border-radius: 6px;
  padding: 7px 12px; font-size: 18px; color: var(--navy); cursor: pointer;
}
@media (max-width: 900px) {
  .cards, .cards.two, .posts, .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .cards.two, .posts, .footer .cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--hair); padding: 10px 24px 20px;
  }
  .nav-links.open a { padding: 11px 0; font-size: 16px; }
  .nav-toggle { display: block; }
  .hero { padding: 66px 0 74px; }
  .section { padding: 62px 0; }
  .section-dark { padding: 56px 0; }
  .trust-row { gap: 10px; }
}

/* ── Pricing ─────────────────────────────────────────── */
.lead-sub { color: var(--text-soft); margin: -6px 0 26px; font-size: 15.5px; }
.price-card { display: flex; flex-direction: column; }
.price-figure {
  font-family: "Noto Serif JP", serif; font-size: 40px; font-weight: 700;
  color: var(--navy); margin: 6px 0 14px; line-height: 1.1;
}
.price-figure span { font-size: 14px; font-weight: 500; color: var(--text-soft); font-family: "Noto Sans JP", sans-serif; }
.price-list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.price-list li { padding: 8px 0 8px 24px; position: relative; font-size: 14.5px; color: var(--text); border-bottom: 1px solid var(--hair); }
.price-list li:last-child { border-bottom: 0; }
.price-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }
.price-list b { color: var(--navy); }
