/* ============================================================
   労務ニュース — トップページ
   ------------------------------------------------------------
   Design system
   - Primary navy  #19448e
   - Ink (nearly black)  #0c1a30
   - Paper (off-white, washi tone)  #f7f5f0
   - Accent orange (CTA)  #e67e22
   - Serif (headings) Noto Serif JP / Sans Noto Sans JP
   ============================================================ */

:root {
  --navy-900: #0b2456;
  --navy-800: #123974;
  --navy-700: #19448e;    /* brand */
  --navy-600: #24589f;
  --navy-100: #e7edf7;
  --navy-050: #f3f6fc;

  --ink-900: #0a1527;
  --ink-700: #202c47;
  --ink-500: #4a5673;
  --ink-300: #8690a5;

  --paper: #f7f5f0;
  --paper-2: #efece3;
  --paper-line: #e3dfd3;

  --white: #ffffff;
  --accent: #e67e22;
  --accent-d: #cf6a12;
  --accent-l: #fdf2e6;

  --success: #1f7a53;
  --danger:  #b23a3a;

  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-1: 0 1px 2px rgba(12,26,48,.04), 0 4px 12px rgba(12,26,48,.06);
  --shadow-2: 0 2px 4px rgba(12,26,48,.06), 0 20px 40px rgba(12,26,48,.10);

  --container: 1240px;
}

/* Accent variants controlled by Tweaks */
:root[data-accent="green"] { --accent: #2f8c5f; --accent-d: #226c49; --accent-l: #e6f3ec; }
:root[data-accent="red"]   { --accent: #c1392b; --accent-d: #972d22; --accent-l: #fbe9e6; }

/* Dark mode kept subtle — reserved for future Tweak */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Placeholder imagery ------------------------------------------ */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      var(--paper-line) 0 2px,
      transparent 2px 14px),
    var(--paper-2);
  border: 1px solid var(--paper-line);
  color: var(--ink-500);
  overflow: hidden;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.06) 0 2px,
      transparent 2px 14px),
    var(--navy-900);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
}
.ph__tag {
  position: absolute; inset: auto 10px 10px auto;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em;
  background: rgba(12,26,48,.76); color: #fff;
  padding: 4px 8px; border-radius: 3px;
  max-width: calc(100% - 24px);
}
.ph.dark .ph__tag { background: rgba(255,255,255,.85); color: var(--navy-900); }

/* ---------- Top bar ------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247,245,240,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-line);
}
.topbar__inner {
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none;
}
.brand__mark {
  width: 34px; height: 34px; border-radius: 6px;
  background: var(--navy-700);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 18px;
  align-self: center;
}
.brand__text { font-family: var(--font-serif); font-weight: 700; font-size: 18px; letter-spacing: .08em; color: var(--ink-900); line-height: 1.1; display: block; }
.brand__sub  { font-family: var(--font-mono); font-size: 10px; color: var(--ink-500); letter-spacing: .14em; display: block; margin-bottom: 4px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-700);
  padding: 6px 0; position: relative;
}
.nav a:hover { color: var(--navy-700); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.nav a:hover::after { transform: scaleX(1); }

.topbar__cta { display: flex; gap: 10px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; letter-spacing: .02em;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .08s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-d); }
.btn--primary:hover { background: var(--accent-d); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-d); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn--ghost:hover { background: var(--navy-700); color: #fff; }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }
.btn--white { background: #fff; color: var(--navy-700); }
.btn--white:hover { background: var(--navy-050); }
.btn--link { padding: 0; background: transparent; color: var(--navy-700); border: 0; font-weight: 600; }
.btn--sm { padding: 10px 14px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 17px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Section primitives ------------------------------------------ */
section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em;
  color: var(--navy-700); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--navy-700); }
h1, h2, h3, h4 {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink-900);
  line-height: 1.35; letter-spacing: .02em; margin: 0;
  text-wrap: pretty;
}
h2 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: .04em; }
h3 { font-size: 24px; }
p  { margin: 0; }
.lead { font-size: 19px; color: var(--ink-700); max-width: 62ch; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-800);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,36,86,.86) 0%, rgba(11,36,86,.55) 42%, rgba(11,36,86,.18) 72%, rgba(11,36,86,.04) 100%),
    linear-gradient(180deg, rgba(11,36,86,.25) 0%, rgba(11,36,86,.55) 100%);
}
.hero h1, .hero__sub, .hero__legal {
  text-shadow: 0 2px 18px rgba(8,18,38,.45);
}
.hero__inner {
  position: relative; z-index: 2;
  min-height: 85vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 96px;
}
.hero__kicker {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .3em; color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.hero__kicker::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,.7); }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.32;
  letter-spacing: .03em;
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, rgba(230,126,34,.55) 62% 92%, transparent 92%);
  padding: 0 4px;
}
.hero__sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,.95);
  max-width: 38ch;
  line-height: 1.95;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero__legal {
  margin-top: 28px;
  font-size: 13px; letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  max-width: 38ch;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 40px;
}
.hero__cta .phone {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  text-decoration: none;
}
.hero__cta .phone .num {
  font-family: var(--font-serif); font-weight: 700; font-size: 22px; letter-spacing: .04em;
}
.hero__cta .phone .lbl { font-size: 11px; letter-spacing: .18em; color: rgba(255,255,255,.7); display: block; }

.hero__badges {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.badge {
  color: #fff;
}
.badge .num {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 32px; letter-spacing: .02em; color: #fff;
  display: flex; align-items: baseline; gap: 4px;
}
.badge .num .unit { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 500; letter-spacing: .08em; }
.badge .lbl { font-size: 13px; color: rgba(255,255,255,.88); letter-spacing: .12em; }

/* Hero layout B: split */
.hero[data-layout="B"] .hero__photo { inset: 0 0 0 50%; }
.hero[data-layout="B"] .hero__photo::after {
  background: linear-gradient(90deg, var(--navy-800) 0%, rgba(11,36,86,.6) 40%, rgba(11,36,86,.1) 100%);
}
.hero[data-layout="B"] .hero__inner { max-width: 640px; }

/* ---------- Pain (section 2) -------------------------------------------- */
.pain { background: var(--paper); }
.pain__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
.pain__card {
  background: var(--paper);
  padding: 44px 40px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 220px;
  position: relative;
}
.pain__n {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  letter-spacing: .15em; font-weight: 500;
}
.pain__q {
  font-family: var(--font-serif); font-weight: 600; font-size: 24px; line-height: 1.6;
  color: var(--ink-900);
}
.pain__note { font-size: 15px; color: var(--ink-500); }
.pain__handoff {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 28px;
  border: 1px solid var(--navy-700);
  background: var(--navy-050);
  border-radius: var(--radius);
}
.pain__handoff strong { font-family: var(--font-serif); font-size: 18px; color: var(--navy-700); }

/* ---------- Promises ----------------------------------------------------- */
.promises { background: var(--navy-900); color: #fff; }
.promises h2 { color: #fff; }
.promises .eyebrow { color: rgba(255,255,255,.75); }
.promises .eyebrow::before { background: rgba(255,255,255,.7); }
.promises__intro {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(20px, 2vw, 28px);
  line-height: 1.8; color: #fff;
  max-width: 30ch;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin-bottom: 64px;
}
.promises__intro b { color: #fff; font-weight: 700; }
.promises__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.promise {
  position: relative;
  padding: 32px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.promise__num {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 64px; line-height: 1; color: var(--accent);
  letter-spacing: -.02em; margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 4px;
}
.promise__num .small { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .2em; font-weight: 500;}
.promise__ttl { font-family: var(--font-serif); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 16px; line-height: 1.55; }
.promise__body { font-size: 16px; line-height: 1.95; color: rgba(255,255,255,.92); word-break: normal; }

/* ---------- Services (2 pillars) ---------------------------------------- */
.services { background: var(--paper); }
.pillar {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--paper-line);
}
.pillar:first-of-type { border-top: 0; }
.pillar--flip { grid-template-columns: 1fr 1.1fr; }
.pillar--flip .pillar__content { order: 2; }
.pillar--flip .pillar__visual  { order: 1; }

.pillar__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  color: var(--accent); font-weight: 500;
  margin-bottom: 18px;
}
.pillar__tag .pill { background: var(--accent-l); color: var(--accent-d); padding: 3px 9px; border-radius: 3px; }
.pillar__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px); color: var(--ink-900);
  line-height: 1.45; letter-spacing: .03em; margin-bottom: 8px;
}
.pillar__title .accent { color: var(--navy-700); }
.pillar__tagline { font-size: 18px; color: var(--ink-700); margin-bottom: 22px; }
.pillar__features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.pillar__features li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; color: var(--ink-700); line-height: 1.8;
}
.pillar__features li::before {
  content: '✓';
  flex: 0 0 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--navy-700); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  margin-top: 4px;
}
.pillar__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar__sticker {
  position: absolute; inset: auto auto 24px 24px;
  background: var(--navy-700); color: #fff;
  padding: 18px 22px; border-radius: var(--radius-sm);
  max-width: 72%;
  font-family: var(--font-serif); font-size: 16px; line-height: 1.7;
  box-shadow: var(--shadow-2);
}
.pillar__sticker em { color: var(--accent); font-style: normal; font-weight: 700; font-size: 19px; }

/* ---------- Numbers ------------------------------------------------------ */
.numbers { background: var(--navy-700); color: #fff; padding: 72px 0; }
.numbers__inner {
  display: grid; grid-template-columns: 1.1fr 3fr; gap: 56px; align-items: center;
}
.numbers h2 { color: #fff; font-size: clamp(22px, 2vw, 30px); }
.numbers .eyebrow { color: rgba(255,255,255,.7); }
.numbers .eyebrow::before { background: rgba(255,255,255,.7); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.numbers__stat { border-left: 1px solid rgba(255,255,255,.2); padding-left: 22px; }
.numbers__stat .v {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(32px, 3.6vw, 54px); line-height: 1; color: #fff;
  display: flex; align-items: baseline; gap: 6px;
  letter-spacing: -.01em;
}
.numbers__stat .v .unit { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 500; letter-spacing: .12em; }
.numbers__stat .v .pre  { font-size: 15px; color: rgba(255,255,255,.8); font-weight: 500; letter-spacing: .08em; margin-right: 2px; }
.numbers__stat .lbl { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.92); letter-spacing: .1em; }

/* ---------- Voice -------------------------------------------------------- */
.voice { background: var(--paper); }
.voice__carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px; overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.voice__carousel::-webkit-scrollbar { height: 6px; }
.voice__carousel::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 10px; }
.voice__card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 100%;
}
.voice__meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--navy-700);
}
.voice__meta span { background: var(--navy-050); padding: 3px 9px; border-radius: 3px; }
.voice__quote {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 20px; line-height: 1.8; color: var(--ink-900);
  position: relative; padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.voice__body { font-size: 15px; color: var(--ink-700); line-height: 1.95; }
.voice__person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--paper-line); }
.voice__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  flex: 0 0 52px;
  overflow: hidden;
}
.voice__person .who { font-size: 14px; color: var(--ink-700); font-weight: 600; }
.voice__person .co  { font-size: 12px; color: var(--ink-500); }
.voice__controls { display: flex; gap: 8px; margin-top: 28px; }
.voice__controls button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--navy-700); background: transparent; color: var(--navy-700);
  display: grid; place-items: center;
}
.voice__controls button:hover { background: var(--navy-700); color: #fff; }

/* ---------- Representative ---------------------------------------------- */
.representative { background: var(--paper-2); }
.rep {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center;
}
.rep__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.rep__quote {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 2; color: var(--ink-900);
  margin: 28px 0 32px;
}
.rep__sig { display: flex; align-items: baseline; gap: 18px; }
.rep__sig .title { font-size: 13px; color: var(--ink-500); letter-spacing: .1em; }
.rep__sig .name  { font-family: var(--font-serif); font-weight: 700; font-size: 24px; letter-spacing: .1em; }

/* ---------- Shindan (diagnostic form) ----------------------------------- */
.shindan { background: var(--paper); }
.shindan__card {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  box-shadow: var(--shadow-2);
}
.shindan h2 { color: #fff; font-size: clamp(24px, 2.4vw, 34px); }
.shindan__lead { color: rgba(255,255,255,.82); margin-top: 14px; font-size: 15px; line-height: 1.9; }
.shindan__trust { display: flex; gap: 22px; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.8); }
.shindan__trust span { display: flex; align-items: center; gap: 8px; }
.shindan__trust span::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}

.wizard {
  background: #fff; color: var(--ink-900);
  border-radius: var(--radius); padding: 28px 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.wizard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.wizard__step { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); letter-spacing: .12em; }
.wizard__progress { display: flex; gap: 4px; }
.wizard__progress i { width: 24px; height: 3px; background: var(--paper-line); border-radius: 2px; }
.wizard__progress i.on { background: var(--accent); }

.wizard__q {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 20px; line-height: 1.6; color: var(--ink-900);
  margin-bottom: 18px;
}
.wizard__opts { display: grid; gap: 10px; }
.wizard__opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 15px; font-weight: 500; color: var(--ink-900);
  text-align: left;
  transition: all .15s;
}
.wizard__opt:hover { border-color: var(--navy-700); background: var(--navy-050); }
.wizard__opt.selected { border-color: var(--accent); background: var(--accent-l); color: var(--accent-d); }
.wizard__opt .dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--ink-300);
  flex: 0 0 18px;
  position: relative;
}
.wizard__opt.selected .dot { border-color: var(--accent); }
.wizard__opt.selected .dot::after { content: ''; position: absolute; inset: 2px; background: var(--accent); border-radius: 50%; }

.wizard__nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 10px; }

.wizard__input {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: 15px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-900);
  margin-bottom: 12px;
}
.wizard__input:focus { outline: 2px solid var(--accent); border-color: var(--accent); background: #fff; }

.wizard__result {
  padding: 10px 0;
}
.wizard__result h4 { color: var(--navy-700); font-size: 18px; margin-bottom: 14px; }
.wizard__result .match {
  background: var(--accent-l); border-left: 3px solid var(--accent);
  padding: 12px 16px; border-radius: 3px;
  font-size: 14px; color: var(--ink-900); margin-bottom: 10px;
}
.wizard__result .match strong { color: var(--accent-d); display: block; font-size: 15px; margin-bottom: 4px; }

/* ---------- Blog --------------------------------------------------------- */
.blog { background: var(--paper); }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog__card {
  background: #fff; border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.blog__thumb { aspect-ratio: 16 / 10; }
.blog__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog__cat { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); font-weight: 600; }
.blog__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 18px; line-height: 1.7; color: var(--ink-900);
}
.blog__date { font-size: 13px; color: var(--ink-500); font-family: var(--font-mono); margin-top: auto; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { background: var(--paper); }
.faq__list { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--paper-line); }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__q {
  width: 100%; background: transparent; border: 0;
  padding: 26px 12px; text-align: left;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--ink-900); line-height: 1.6;
}
.faq__q .qmark {
  font-family: var(--font-serif); color: var(--accent); font-size: 22px;
  flex: 0 0 28px; line-height: 1;
}
.faq__q .chev {
  margin-left: auto;
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--paper-line); border-radius: 50%;
  transition: transform .25s, background .2s;
  color: var(--ink-700);
}
.faq__item.open .faq__q .chev { transform: rotate(180deg); background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 12px 0 58px;
  color: var(--ink-700); font-size: 16px; line-height: 2;
}
.faq__item.open .faq__a { max-height: 600px; padding-bottom: 26px; }

/* ---------- Final CTA ---------------------------------------------------- */
.final-cta { background: var(--navy-700); color: #fff; padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 30px);
}
.final-cta > .container { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 48px); margin-bottom: 18px; letter-spacing: .06em; }
.final-cta p { color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.9; max-width: 52ch; margin: 0 auto; }
.final-cta__ctas { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.final-cta__phone {
  margin-top: 34px;
  font-family: var(--font-serif); font-weight: 700; font-size: 28px; letter-spacing: .06em;
  color: #fff;
}
.final-cta__phone small { display: block; font-family: var(--font-sans); font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.7); margin-top: 6px; font-weight: 500; }

/* ---------- Footer ------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.82); padding: 72px 0 32px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer .brand__text { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,.6); }
.footer h5 { font-family: var(--font-serif); font-weight: 600; color: #fff; font-size: 15px; letter-spacing: .08em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.55);
}

/* ---------- 4 Pillars price block ---------- */
.pillar__price {
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--navy-050);
  border-left: 3px solid var(--navy-700);
  border-radius: 3px;
}
.pillar__price-v {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 22px; color: var(--navy-700); letter-spacing: .03em;
}
.pillar__price-n {
  font-size: 12px; color: var(--ink-500);
  margin-top: 4px; letter-spacing: .06em;
}

/* ---------- Leaders grid ---------- */
.leaders {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 40px;
}
.leader {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}
.leader__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.leader__role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--navy-700); margin-bottom: 10px;
}
.leader__name {
  display: flex; align-items: baseline; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.leader__name .jp {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 26px; letter-spacing: .1em; color: var(--ink-900);
}
.leader__name .en {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .18em; color: var(--ink-500);
}
.leader__quote {
  font-size: 14px; line-height: 2; color: var(--ink-700);
}

@media (max-width: 960px) {
  .leaders { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 120px 1fr; padding: 20px; gap: 18px; }
  .leader__name .jp { font-size: 22px; }
}

/* ---------- Sticky mobile CTA ------------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; inset: auto 0 0 0; z-index: 40;
    background: var(--navy-800);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .sticky-cta a {
    padding: 14px 8px; text-align: center; text-decoration: none;
    color: #fff; font-weight: 700; font-size: 14px;
  }
  .sticky-cta a:first-child { background: rgba(255,255,255,.06); }
  .sticky-cta a:last-child { background: var(--accent); }
  .sticky-cta a small { display: block; font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-top: 2px; font-weight: 500; }
}

/* ---------- Tweaks panel ------------------------------------------------- */
.tweaks {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 320px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  font-size: 13px;
  overflow: hidden;
}
.tweaks__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--ink-900); color: #fff;
  cursor: pointer; user-select: none;
}
.tweaks__head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tweaks__head strong { font-family: var(--font-serif); font-weight: 700; letter-spacing: .08em; }
.tweaks__head .chev { margin-left: auto; transition: transform .2s; }
.tweaks.closed .tweaks__head .chev { transform: rotate(180deg); }
.tweaks__body { padding: 18px; display: grid; gap: 18px; }
.tweaks.closed .tweaks__body { display: none; }
.tweaks__row label { display: block; font-size: 11px; letter-spacing: .12em; color: var(--ink-500); margin-bottom: 8px; text-transform: uppercase; font-family: var(--font-mono); }
.tweaks__seg { display: flex; gap: 4px; background: var(--paper); padding: 3px; border-radius: 6px; border: 1px solid var(--paper-line); }
.tweaks__seg button {
  flex: 1; padding: 8px 10px; background: transparent; border: 0; border-radius: 4px;
  font-size: 12px; font-weight: 600; color: var(--ink-700);
}
.tweaks__seg button.on { background: var(--navy-700); color: #fff; }
.tweaks__swatches { display: flex; gap: 8px; }
.tweaks__swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer; padding: 0;
}
.tweaks__swatch.on { border-color: var(--ink-900); }
.tweaks__toggle { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-900); font-weight: 500; }
.tweaks__toggle input { width: 36px; height: 20px; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar__cta .btn--ghost { display: none; }
  section { padding: 72px 0; }
  .pain__grid { grid-template-columns: 1fr; }
  .promises__grid { grid-template-columns: 1fr; }
  .pillar, .pillar--flip { grid-template-columns: 1fr; gap: 32px; }
  .pillar--flip .pillar__content { order: 1; }
  .pillar--flip .pillar__visual { order: 0; }
  .numbers__inner { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .voice__carousel { grid-auto-columns: 85%; }
  .rep, .shindan__card { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .blog__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__inner { padding: 100px 0 72px; min-height: 70vh; }
  .tweaks { right: 12px; bottom: 76px; width: calc(100vw - 24px); max-width: 320px; }
}

/* ============================================================
   Corporate page additions (service / service-*/about/contact/blog)
   ============================================================ */

/* ---------- Service pillars (hi-fi 2-col service blocks) ---------- */
.pillar {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--paper-line);
}
.pillar:first-of-type { border-top: 0; }
.pillar--flip { grid-template-columns: 1fr 1.1fr; }
.pillar--flip .pillar__content { order: 2; }
.pillar--flip .pillar__visual  { order: 1; }

.pillar__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  color: var(--accent); font-weight: 600;
  margin-bottom: 18px; text-transform: uppercase;
}
.pillar__tag .pill {
  background: var(--accent-l); color: var(--accent-d);
  padding: 3px 10px; border-radius: 3px; letter-spacing: .1em;
}
.pillar__num {
  font-family: var(--font-serif); font-weight: 700;
  color: var(--accent); font-size: 56px; line-height: 1;
  letter-spacing: -.02em; margin-bottom: 12px;
}
.pillar__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 40px); color: var(--ink-900);
  line-height: 1.45; letter-spacing: .04em; margin: 0 0 12px;
}
.pillar__title .accent { color: var(--navy-700); }
.pillar__title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, rgba(230,126,34,.4) 62% 92%, transparent 92%);
  padding: 0 4px;
}
.pillar__tagline {
  font-size: 18px; color: var(--ink-700);
  line-height: 1.85; margin-bottom: 24px;
  max-width: 42ch;
}
.pillar__features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 12px;
}
.pillar__features li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; color: var(--ink-700); line-height: 1.8;
}
.pillar__features li::before {
  content: '✓';
  flex: 0 0 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--navy-700); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  margin-top: 4px;
}
.pillar__price {
  margin-top: 8px; margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--navy-050);
  border-left: 3px solid var(--navy-700);
  border-radius: 3px;
}
.pillar__price-v {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 22px; color: var(--navy-700); letter-spacing: .03em;
}
.pillar__price-n {
  font-size: 13px; color: var(--ink-500);
  margin-top: 4px; letter-spacing: .04em; line-height: 1.7;
}
.pillar__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.pillar__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar__sticker {
  position: absolute; inset: auto auto 24px 24px;
  background: var(--navy-700); color: #fff;
  padding: 20px 24px; border-radius: var(--radius-sm);
  max-width: 78%;
  font-family: var(--font-serif); font-size: 16px; line-height: 1.7;
  box-shadow: var(--shadow-2);
}
.pillar__sticker em { color: var(--accent); font-style: normal; font-weight: 700; font-size: 19px; }

@media (max-width: 960px) {
  .pillar, .pillar--flip {
    grid-template-columns: 1fr; gap: 32px; padding: 56px 0;
  }
  .pillar--flip .pillar__content { order: 1; }
  .pillar--flip .pillar__visual { order: 0; }
}

/* ---------- Topbar — current state & sub labels ---------- */
.nav a.is-current { color: var(--navy-700); }
.nav a.is-current::after { transform: scaleX(1); }

/* ---------- Page Hero (non-LP pages) ---------- */
.pagehero {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  color: #fff;
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.pagehero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 30px);
}
.pagehero > .container { position: relative; z-index: 1; }
.pagehero__kicker {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .24em; color: rgba(255,255,255,.8);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.pagehero__kicker::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.pagehero__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.35; letter-spacing: .04em; color: #fff;
  max-width: 22ch;
}
.pagehero__title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, rgba(230,126,34,.55) 62% 92%, transparent 92%);
  padding: 0 4px;
}
.pagehero__lead {
  margin-top: 22px;
  font-size: 17px; line-height: 1.95; color: rgba(255,255,255,.88);
  max-width: 56ch;
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  background: var(--paper-2);
  border-bottom: 1px solid var(--paper-line);
  padding: 14px 0;
  font-size: 13px; color: var(--ink-500);
  font-family: var(--font-mono); letter-spacing: .04em;
}
.crumbs a { color: var(--navy-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 10px; color: var(--ink-300); }
.crumbs .cur { color: var(--ink-900); }

/* ---------- Generic section typography helpers ---------- */
.prose {
  font-size: 17px; line-height: 2; color: var(--ink-700);
  max-width: 68ch;
}
.prose > * + * { margin-top: 1em; }
.prose h3 { font-size: 22px; color: var(--ink-900); margin-top: 1.6em; }
.prose h4 { font-size: 18px; color: var(--navy-700); margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose li { margin: .4em 0; }
.prose strong { color: var(--ink-900); }

/* ---------- Service matrix card grid (service.html) ---------- */
.smap {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.smap__card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative;
}
.smap__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--navy-700);
}
.smap__card .num {
  font-family: var(--font-serif); font-weight: 700;
  color: var(--accent); font-size: 32px; line-height: 1;
}
.smap__card .role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--ink-500);
}
.smap__card .nm {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 17px; line-height: 1.55; color: var(--ink-900);
}
.smap__card .one {
  font-size: 14px; color: var(--ink-700); line-height: 1.85;
  min-height: 3.6em;
}
.smap__card .pr {
  padding-top: 14px;
  border-top: 1px dashed var(--paper-line);
  font-family: var(--font-mono); font-size: 12px; color: var(--navy-700);
  letter-spacing: .04em;
}
.smap__card .pr strong {
  font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: var(--navy-700);
  display: block; letter-spacing: .02em;
}

/* ---------- Comparison table ---------- */
.cmptbl {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--paper-line);
  border-radius: var(--radius); overflow: hidden;
  font-size: 15px;
}
.cmptbl th, .cmptbl td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--paper-line);
  border-right: 1px solid var(--paper-line);
  vertical-align: top;
}
.cmptbl th:last-child, .cmptbl td:last-child { border-right: 0; }
.cmptbl tr:last-child th, .cmptbl tr:last-child td { border-bottom: 0; }
.cmptbl thead th {
  background: var(--navy-700); color: #fff;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 13px; letter-spacing: .06em;
  text-align: left;
  border-right-color: rgba(255,255,255,.15);
}
.cmptbl thead th .tag {
  display: block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.7); margin-bottom: 4px;
}
.cmptbl tbody th {
  background: var(--navy-050); color: var(--ink-900);
  font-weight: 600; font-size: 13px;
  width: 180px;
  letter-spacing: .03em;
}
.cmptbl { font-size: 15px; }
.cmptbl td { color: var(--ink-700); line-height: 1.8; }
.cmptbl td.yes { color: var(--success); font-weight: 700; }
.cmptbl td.no  { color: var(--ink-300); }
.cmptbl td strong { color: var(--ink-900); }

.cmptbl--sticky-head th:first-child { position: sticky; left: 0; z-index: 1; }

/* ---------- Flowchart (freee 選び方) ---------- */
.flowchart {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.flowchart h3 {
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
  color: var(--ink-900); margin-bottom: 28px; text-align: center;
  letter-spacing: .04em;
}
.flowchart__step { display: flex; justify-content: center; margin: 0 auto; }
.flowchart__q {
  background: #fff;
  border: 2px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 20px 28px;
  font-family: var(--font-serif); font-weight: 700; font-size: 17px;
  color: var(--ink-900); text-align: center;
  max-width: 560px;
  box-shadow: var(--shadow-1);
}
.flowchart__q .qmark {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .2em; color: var(--navy-700); margin-bottom: 6px;
}
.flowchart__branches {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 22px;
}
.flowchart__branch { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; }
.flowchart__branch::before {
  content: '';
  width: 1px; height: 22px;
  background: var(--navy-700);
  margin-bottom: -8px;
}
.flowchart__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--ink-500);
}
.flowchart__answer {
  width: 100%;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  text-align: center;
  text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.flowchart__answer:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.flowchart__answer .rec { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--accent); margin-bottom: 6px; }
.flowchart__answer .nm { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--ink-900); line-height: 1.55; margin-bottom: 8px; }
.flowchart__answer .pr { font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--navy-700); letter-spacing: .03em; }
.flowchart__arrow {
  display: flex; justify-content: center;
  margin: 20px 0;
  color: var(--navy-700);
}

/* ---------- Pricing table (全公開版) ---------- */
.pricetbl-wrap { overflow-x: auto; margin-top: 16px; }
.pricetbl {
  width: 100%; min-width: 640px;
  border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--paper-line);
  border-radius: var(--radius); overflow: hidden;
  font-size: 15px;
}
.pricetbl th, .pricetbl td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--paper-line);
  border-right: 1px solid var(--paper-line);
  text-align: right;
}
.pricetbl th:first-child, .pricetbl td:first-child { text-align: left; }
.pricetbl th:last-child, .pricetbl td:last-child { border-right: 0; }
.pricetbl tr:last-child th, .pricetbl tr:last-child td { border-bottom: 0; }
.pricetbl thead th {
  background: var(--navy-700); color: #fff;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 14px; letter-spacing: .04em;
  border-right-color: rgba(255,255,255,.15);
  padding: 14px 18px;
}
.pricetbl thead th small { display: block; font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .08em; font-weight: 500; margin-top: 2px; }
.pricetbl tbody th {
  background: var(--navy-050); font-family: var(--font-mono);
  font-weight: 600; color: var(--ink-900); font-size: 13px;
  width: 130px;
}
.pricetbl tbody td {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 17px; color: var(--ink-900);
  letter-spacing: .02em;
}
.pricetbl tbody td small {
  display: block; font-family: var(--font-sans); font-size: 11px;
  color: var(--ink-500); font-weight: 500; margin-top: 2px;
  letter-spacing: .06em;
}
.price-note {
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--navy-050);
  border-left: 3px solid var(--navy-700);
  border-radius: 3px;
  font-size: 13px; color: var(--ink-700); line-height: 2;
}
.price-note b { color: var(--navy-700); }

/* ---------- Callout (「やらないこと」 boxed section) ---------- */
.callout {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px 32px;
  background: #fff;
}
.callout--warn {
  border: 1px solid var(--danger);
  border-left: 4px solid var(--danger);
  background: #fcf5f5;
}
.callout--info {
  border: 1px solid var(--navy-700);
  border-left: 4px solid var(--navy-700);
  background: var(--navy-050);
}
.callout h4 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 18px; color: var(--ink-900); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: .04em;
}
.callout--warn h4::before { content: '!'; display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--danger); color: #fff; border-radius: 50%; font-family: var(--font-serif); font-weight: 700; font-size: 14px; }
.callout--info h4::before { content: 'i'; display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--navy-700); color: #fff; border-radius: 50%; font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 14px; }
.callout ul { padding-left: 20px; margin: 12px 0 0; }
.callout li { font-size: 14px; color: var(--ink-700); line-height: 1.95; }
.callout--warn li::marker { color: var(--danger); }
.callout p { font-size: 14px; color: var(--ink-700); line-height: 1.95; margin-bottom: 8px; }

/* ---------- Timeline (4ヶ月伴走 etc) ---------- */
.timeline { display: grid; gap: 14px; }
.timeline__row {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px;
  padding: 24px 28px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  position: relative;
}
.timeline__row::before {
  content: ''; position: absolute; top: 28px; left: 120px; width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; transform: translateX(-16px);
}
.timeline__step {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--navy-700); font-weight: 600;
}
.timeline__step strong {
  display: block; font-family: var(--font-serif);
  font-size: 26px; color: var(--ink-900); letter-spacing: .02em;
  margin-top: 4px; font-weight: 700;
}
.timeline__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 18px; color: var(--ink-900); margin-bottom: 8px;
}
.timeline__body { font-size: 14px; color: var(--ink-700); line-height: 1.9; }
.timeline__body ul { padding-left: 18px; margin-top: 6px; }

/* ---------- Step list (1,2,3...) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 24px 22px;
}
.step__n {
  display: inline-block;
  width: 32px; height: 32px;
  background: var(--navy-700); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 16px;
  margin-bottom: 14px;
}
.step__t { font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: var(--ink-900); margin-bottom: 8px; line-height: 1.55; }
.step__b { font-size: 13px; color: var(--ink-700); line-height: 1.9; }

/* ---------- About / Leader profile ---------- */
.profile {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 48px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
}
.profile + .profile { margin-top: 32px; }
.profile__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
}
.profile__role {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.profile__role::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.profile__name {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 34px; letter-spacing: .1em; margin: 16px 0 4px;
  color: var(--ink-900);
}
.profile__en { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); letter-spacing: .2em; }
.profile__cert {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px;
}
.profile__cert span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  background: var(--navy-050); color: var(--navy-700);
  padding: 4px 10px; border-radius: 3px;
}
.profile__msg {
  margin-top: 22px;
  font-size: 15px; line-height: 2.05;
  color: var(--ink-700);
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 18px;
  font-family: var(--font-serif); font-weight: 500;
}
.profile__career {
  margin-top: 28px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile__career table { width: 100%; border-collapse: collapse; font-size: 14px; }
.profile__career th, .profile__career td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--paper-line); }
.profile__career tr:last-child th, .profile__career tr:last-child td { border-bottom: 0; }
.profile__career th {
  width: 140px;
  color: var(--navy-700); font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
}
.profile__career td { color: var(--ink-700); line-height: 1.8; }

@media (max-width: 840px) {
  .profile { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
  .profile__photo { max-width: 240px; }
}

/* ---------- Company info table ---------- */
.corptbl {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  overflow: hidden;
}
.corptbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.corptbl th, .corptbl td {
  padding: 18px 22px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--paper-line);
}
.corptbl tr:last-child th, .corptbl tr:last-child td { border-bottom: 0; }
.corptbl th {
  width: 220px; background: var(--navy-050);
  color: var(--navy-700); font-family: var(--font-serif);
  font-weight: 700; font-size: 14px; letter-spacing: .06em;
}
.corptbl td { color: var(--ink-900); line-height: 1.85; }
.corptbl td small { display: block; font-size: 12px; color: var(--ink-500); margin-top: 4px; }

/* ---------- Contact form ---------- */
.form {
  display: grid; gap: 22px;
  max-width: 640px;
}
.form__row label {
  display: block;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 14px; color: var(--ink-900); margin-bottom: 8px;
  letter-spacing: .04em;
}
.form__row label .req {
  font-family: var(--font-sans); font-size: 11px;
  color: #fff; background: var(--accent); padding: 2px 7px;
  border-radius: 3px; letter-spacing: .08em; margin-left: 8px;
  font-weight: 600;
}
.form__row label .opt {
  font-family: var(--font-sans); font-size: 11px;
  color: var(--ink-500); background: var(--paper-line); padding: 2px 7px;
  border-radius: 3px; letter-spacing: .08em; margin-left: 8px;
  font-weight: 500;
}
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 15px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-l);
}
.form__row textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.form__row .hint { display: block; font-size: 12px; color: var(--ink-500); margin-top: 6px; line-height: 1.6; }
.form__submit { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.form__submit small { font-size: 12px; color: var(--ink-500); }

.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px;
  align-items: start;
}
.contact-methods {
  display: grid; gap: 14px;
}
.cmethod {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 22px 24px;
  display: flex; gap: 18px; align-items: center;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cmethod:hover { border-color: var(--navy-700); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.cmethod--primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%);
  color: #fff;
}
.cmethod--primary:hover { border-color: var(--accent-d); box-shadow: 0 12px 28px -10px rgba(230,126,34,.45); }
.cmethod--primary .cmethod__icon { background: rgba(255,255,255,.18); color: #fff; }
.cmethod--primary .cmethod__label { color: rgba(255,255,255,.85); }
.cmethod--primary .cmethod__value { color: #fff; }
.cmethod--primary .cmethod__value small { color: rgba(255,255,255,.85); }
.cmethod--primary .cmethod__arrow { color: #fff; }

/* LINE 公式アカウントカード */
.cmethod--line {
  border-color: #06c755;
  background: linear-gradient(135deg, #06c755 0%, #04a644 100%);
  color: #fff;
}
.cmethod--line:hover { border-color: #04a644; box-shadow: 0 12px 28px -10px rgba(6,199,85,.45); }
.cmethod--line .cmethod__icon { background: rgba(255,255,255,.18); color: #fff; }
.cmethod--line .cmethod__label { color: rgba(255,255,255,.85); }
.cmethod--line .cmethod__value { color: #fff; }
.cmethod--line .cmethod__value small { color: rgba(255,255,255,.85); }
.cmethod--line .cmethod__arrow { color: #fff; }

/* LINE QR ブロック */
.line-qr {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-left: 4px solid #06c755;
  border-radius: var(--radius);
}
.line-qr img { width: 100%; height: auto; display: block; border-radius: 6px; }
.line-qr__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  color: #06c755; font-weight: 700; margin-bottom: 8px;
}
.line-qr__txt p { font-size: 14px; line-height: 1.95; color: var(--ink-700); margin: 0; }

@media (max-width: 960px) {
  .contact-methods[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  .line-qr { grid-template-columns: 1fr; gap: 16px; padding: 20px; text-align: center; }
  .line-qr img { max-width: 180px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .contact-methods[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}
.cmethod__icon {
  width: 48px; height: 48px; flex: 0 0 48px;
  background: var(--navy-050); color: var(--navy-700);
  border-radius: 50%; display: grid; place-items: center;
}
.cmethod__icon svg { width: 22px; height: 22px; }
.cmethod__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--ink-500); margin-bottom: 4px;
}
.cmethod__value {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 17px; color: var(--ink-900); letter-spacing: .04em;
}
.cmethod__value small { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--ink-500); font-weight: 500; letter-spacing: .04em; margin-top: 2px; }
.cmethod__arrow { margin-left: auto; color: var(--navy-700); }

/* ---------- Blog window page ---------- */
.blog-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.blog-cat {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none; color: inherit;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  display: flex; flex-direction: column; gap: 6px;
}
.blog-cat:hover { transform: translateY(-2px); border-color: var(--navy-700); box-shadow: var(--shadow-1); }
.blog-cat .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--accent); }
.blog-cat .ttl { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--ink-900); line-height: 1.55; }
.blog-cat .dsc { font-size: 13px; color: var(--ink-500); line-height: 1.8; margin-top: 4px; }

/* ---------- Responsive corporate adjustments ---------- */
@media (max-width: 960px) {
  .smap { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .flowchart { padding: 28px 20px; }
  .cmptbl { font-size: 12px; }
  .cmptbl th, .cmptbl td { padding: 10px 8px; }
}
@media (max-width: 640px) {
  .pagehero { padding: 64px 0 48px; }
  .smap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .blog-cats { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .timeline__row::before { display: none; }
}

/* ---------- 改行コントロール（モバイルでは見出しの強制改行を解除）------ */
@media (max-width: 720px) {
  h1 br, h2 br { display: none; }
  .hero h1 br, .pagehero__title br { display: none; }
  .voice__quote br { display: none; }
}

/* ---------- 日本語の語中改行を防ぐ（助/成金・千/葉 等を解消）------ */
body {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1, h2, h3 {
  text-wrap: pretty;
}
/* hero legal は max-width を緩める */
.hero__legal { max-width: none; }

/* ---------- Brand logo (image) ----------------------------------------- */
.brand__logo { height: 36px; width: auto; display: block; align-self: center; }
.brand__logo--dark { filter: brightness(0) invert(1); opacity: .92; }
.brand__text, .brand__sub { white-space: nowrap; }

/* ---------- Voice avatar (icon) ---------------------------------------- */
.voice__avatar--icon {
  background: rgba(230,126,34,.1);
  color: var(--accent);
  display: grid; place-items: center;
}
.voice__avatar--icon svg { width: 26px; height: 26px; }

/* ---------- Voice movie (YouTube iframe) ------------------------------- */
.voice__movie { max-width: 920px; margin: 8px auto 36px; }
.voice__movie-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.voice__movie-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.voice__movie-caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-500);
  margin-top: 12px;
}

/* ---------- Services intro (YouTube iframe + text) --------------------- */
.services__intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}
.services__intro-h {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  color: var(--ink-900);
  margin: 12px 0 16px;
  letter-spacing: .03em;
}
.services__intro-h em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, rgba(230,126,34,.4) 62% 92%, transparent 92%);
  padding: 0 4px;
}
.services__intro-p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-700);
  margin: 0;
}
.services__intro-video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.services__intro-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .services__intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .services__intro-h { font-size: 22px; }
}

@media (max-width: 720px) {
  .brand__logo { height: 30px; }
}

/* ---------- Profile grid: allow 1fr column to ignore min-content ----- */
.profile > div { min-width: 0; }
.profile__career table { table-layout: fixed; }
.profile__career td { overflow-wrap: anywhere; }
.profile__msg { overflow-wrap: anywhere; }

/* ---------- Hero brand block (corporate name prominence) -------------- */
.hero__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  margin-bottom: 32px;
}
.hero__brand-co {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .28em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 12px rgba(8,18,38,.5);
}
.hero__brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: .14em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(8,18,38,.55);
}

.nobr { display: inline-block; white-space: nowrap; }

/* ---------- Representative spread (editorial) ------------------------- */
.rep-spread {
  display: grid;
  gap: 96px;
  margin-top: 24px;
}

.rep-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 72px;
  align-items: center;
}
.rep-row--r {
  grid-template-columns: 1.1fr minmax(280px, 0.9fr);
}
.rep-row--r .rep-row__media { order: 2; }
.rep-row--r .rep-row__body  { order: 1; }

.rep-row__media {
  position: relative;
  padding: 22px 22px 0 0;
  max-width: 440px;
}
.rep-row--r .rep-row__media {
  padding: 22px 0 0 22px;
  margin-left: auto;
}

.rep-row__photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 28px 60px -28px rgba(10,21,39,.4), 0 4px 16px -10px rgba(10,21,39,.2);
}
.rep-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.rep-row__plate {
  position: absolute;
  inset: 28px -18px -18px 28px;
  background: var(--accent);
  z-index: 0;
  border-radius: 4px;
  opacity: .92;
}
.rep-row--r .rep-row__plate {
  inset: 28px 28px -18px -18px;
}

.rep-row__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--navy-700);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.rep-row__role::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.rep-row__name {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.rep-row__name .jp {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: .12em;
  color: var(--ink-900);
  line-height: 1.2;
}
.rep-row__name .en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-500);
}

.rep-row__quote {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 2.1;
  color: var(--ink-700);
  margin: 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--paper-line);
}
.rep-row__quote::before {
  content: '\201C';
  position: absolute;
  left: 6px;
  top: -34px;
  font-size: 72px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  pointer-events: none;
}

.rep-row__sign {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-500);
}

@media (max-width: 880px) {
  .rep-spread { gap: 64px; }
  .rep-row,
  .rep-row--r {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rep-row--r .rep-row__media { order: 0; }
  .rep-row--r .rep-row__body  { order: 0; }
  .rep-row__media,
  .rep-row--r .rep-row__media {
    padding: 18px 18px 0 0;
    margin-left: 0;
    max-width: 380px;
  }
  .rep-row__plate,
  .rep-row--r .rep-row__plate { inset: 22px -12px -12px 22px; }
  .rep-row__quote { font-size: 15px; line-height: 2; }
  .rep-row__quote::before { font-size: 56px; top: -26px; }
}


