/* seikoyamaguchi.com
   色は深紅・金・黒2段階だけ。本文に色を使わない。 */
:root {
  --red: #b01226;
  --red-deep: #8a0e1e;
  --gold: #856325;
  --ink: #1c1917;
  --ink-muted: #44403c;
  --paper: #fbfaf7;
  --paper-2: #f3f0ea;
  --line: #e4dfd6;
  --dark: #1a1416;
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-meta: rgba(255, 255, 255, 0.78);
  --font-sans: 'IBM Plex Sans', 'Noto Sans JP', 'Hiragino Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'palt';
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; text-underline-offset: 0.2em; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 600; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.06em; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--red); }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { font-size: 0.9rem; color: var(--ink-muted); }
.nav a:hover { color: var(--red); text-decoration: none; }
.nav .lang { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
@media (max-width: 720px) { .nav a:not(.lang) { display: none; } }

/* ---------- ヒーロー ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.15; letter-spacing: 0.02em; font-weight: 700;
}
.hero h1 .en { display: block; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 400; letter-spacing: 0.18em; color: var(--ink-muted); margin-top: 0.75rem; text-transform: uppercase; }
.hero .role { margin: 1.25rem 0 1.5rem; font-size: 1.05rem; font-weight: 600; color: var(--red); }
.hero .lead { font-size: 1.1rem; max-width: 34em; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.5rem 0 2rem; font-size: 0.9rem; color: var(--ink-muted); }
.hero .meta li::before { content: '・'; color: var(--gold); margin-right: 0.15em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-follow {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.hero-follow a {
  font-weight: 600;
  color: var(--ink);
}
.hero-follow a:hover { color: var(--red); }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--red); color: var(--red); background: transparent;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; background: var(--red); color: #fff; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 4px; }
.portrait::after {
  content: ''; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1.5px solid var(--gold); border-radius: 4px;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; max-width: 320px; }
}

/* ---------- セクション共通 ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.section-head .lead { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-muted); }
.section.dark { background: var(--dark); color: var(--on-dark); border-top: 0; }
.section.dark .eyebrow { color: #d1b36a; }
.section.dark .section-head .lead { color: var(--on-dark-meta); }
.section.dark a { color: #fff; text-decoration: underline; text-decoration-color: #d1b36a; }
.section.alt { background: var(--paper-2); }

/* ---------- 専門領域 ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.area {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column;
}
.area .num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.12em; }
.area h3 { font-size: 1.3rem; margin: 0.5rem 0 0.25rem; }
.area .sub { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-muted); margin-bottom: 1rem; }
.area p { font-size: 0.97rem; }
.area .more { margin-top: auto; padding-top: 1rem; font-size: 0.9rem; }
.area .more::before { content: '→ '; }
@media (max-width: 720px) { .areas { grid-template-columns: 1fr; } }

/* ---------- 進め方 ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.principle .num { font-family: var(--font-mono); font-size: 2rem; color: #d1b36a; line-height: 1; }
.principle h3 { font-size: 1.2rem; margin: 0.75rem 0 0.6rem; color: #fff; }
.principle p { font-size: 0.97rem; color: var(--on-dark-meta); }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

/* ---------- 実績 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(32px, 5vw, 56px); }
.stat { border-top: 2px solid var(--red); padding-top: 0.9rem; }
.stat .n { font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.stat .n small { font-size: 1rem; font-weight: 600; margin-left: 0.2rem; }
.stat .l { display: block; margin-top: 0.5rem; font-size: 0.88rem; color: var(--ink-muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.result { border-left: 2px solid var(--gold); padding-left: 1rem; }
.result .t { font-weight: 600; }
.result .d { font-size: 0.93rem; color: var(--ink-muted); }
@media (max-width: 720px) { .results { grid-template-columns: 1fr; } }
.clients { margin-top: clamp(32px, 5vw, 56px); }
.clients h3 { font-size: 1rem; color: var(--ink-muted); font-weight: 600; margin-bottom: 0.75rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { font-size: 0.85rem; padding: 0.3rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.75rem; }

/* ---------- 経歴 ---------- */
.timeline { border-top: 1px solid var(--line); }
.tl { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.tl .when { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold); letter-spacing: 0.04em; padding-top: 0.25rem; }
.tl .what { font-weight: 600; }
.tl .desc { font-size: 0.93rem; color: var(--ink-muted); margin-top: 0.2rem; }
@media (max-width: 640px) { .tl { grid-template-columns: 1fr; gap: 0.25rem; } }
.aside { margin-top: 2rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem; max-width: 46em; }

/* ---------- 発信 ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.two-col h3 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--red); display: inline-block; }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.signal-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 188px;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
}
.signal-card:hover {
  text-decoration: none;
  border-top-color: var(--red);
}
.signal-card--primary { border-top-color: var(--red); }
.signal-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.signal-card strong {
  font-size: 1.05rem;
  line-height: 1.45;
}
.signal-card span:last-child {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-muted);
}
.list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .t { display: block; font-weight: 600; font-size: 0.97rem; }
.list .m { display: block; font-size: 0.82rem; color: var(--ink-muted); font-family: var(--font-mono); }
.list a .t { color: var(--ink); }
.list a:hover { text-decoration: none; }
.list a:hover .t { color: var(--red); }
@media (max-width: 820px) { .signal-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- 資格 ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cert { font-size: 0.88rem; padding: 0.45rem 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.cert::before { content: '✓ '; color: var(--red); font-weight: 700; }

/* ---------- 連絡 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; }
.contact .lead { color: var(--on-dark-meta); margin-top: 1rem; }
.section.dark .btn { border-color: #fff; color: #fff; }
.section.dark .btn:hover { background: #fff; color: var(--dark); }
.section.dark .btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.section.dark .btn.primary:hover { background: var(--red-deep); }
.links li { padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; gap: 1rem; }
.links li span { color: var(--on-dark-meta); font-size: 0.9rem; }
.section.dark .links a { text-decoration: none; font-weight: 600; }
.section.dark .links a:hover { text-decoration: underline; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- フッター ---------- */
.site-footer { padding: 2rem 0; font-size: 0.82rem; color: var(--ink-muted); border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--ink-muted); }

/* ---------- 6つの境目 ---------- */
.seams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: seam; }
.seam { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem 1.4rem; }
.seam::before { counter-increment: seam; content: counter(seam, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.12em; }
.seam h3 { font-size: 1.05rem; margin: 0.35rem 0 0.4rem; }
.seam p { font-size: 0.92rem; color: var(--ink-muted); }
@media (max-width: 820px) { .seams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .seams { grid-template-columns: 1fr; } }
.bowtie { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 32px); border-left: 3px solid var(--red); background: var(--paper-2); border-radius: 0 8px 8px 0; }
.bowtie h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.bowtie p { font-size: 0.97rem; }
.bowtie .src { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.75rem; }
.cr { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.cr span { font-family: var(--font-mono); font-size: 0.8rem; padding: 0.3rem 0.7rem; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.cr span b { color: var(--red); font-weight: 600; }
.cr span.jp { border-color: var(--red); }

/* ---------- 人となり ---------- */
.persona { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.persona .prose p { font-size: 1.02rem; }
.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.facts dt { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--gold); padding-top: 0.2rem; margin: 0; }
.facts dd { margin: 0; }
.quote { margin-top: 1.75rem; padding-left: 1rem; border-left: 3px solid var(--red); font-size: 1.15rem; font-weight: 600; line-height: 1.6; }
@media (max-width: 820px) { .persona { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faqs { max-width: 46em; }
.faq { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 0.6rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-family: var(--font-mono); font-size: 1.1rem; flex: none; }
.faq[open] summary::after { content: '−'; }
.faq p { padding: 0 0 0.9rem; font-size: 0.97rem; color: var(--ink-muted); }

/* ---------- 推薦の声 ---------- */
.voices { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.voice { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem 1.5rem; margin: 0; }
.voice p { font-size: 0.97rem; }
.voice p::before { content: '“'; color: var(--red); font-weight: 700; }
.voice p::after { content: '”'; color: var(--red); font-weight: 700; }
.voice footer { margin-top: 0.75rem; font-size: 0.82rem; color: var(--ink-muted); }
.voice footer b { color: var(--ink); font-weight: 600; }
.voices-head { margin-top: clamp(32px, 5vw, 56px); font-size: 1rem; color: var(--ink-muted); font-weight: 600; }
.voices-note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.75rem; }
@media (max-width: 720px) { .voices { grid-template-columns: 1fr; } }
