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

:root {
  --green: #1D9E75;
  --green-dark: #16805f;
  --green-soft: rgba(29,158,117,0.08);
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --ink: #1a2330;
  --ink-soft: #4a5568;
  --ink-faint: #8a96a5;
  --paper: #ffffff;
  --paper-warm: #f7f9f8;
  --line: rgba(26,35,48,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--paper-warm);
  color: var(--ink);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: baseline; gap: 0.3rem; text-decoration: none; }
.nav-logo .logo-text { font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: var(--ink); letter-spacing: 0.01em; }
.nav-logo .logo-sub { font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-link { font-size: 0.85rem; color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.nav-link:hover { color: var(--green-dark); }

/* ── ARTICLE SHELL ── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

.breadcrumb { font-size: 0.78rem; color: var(--ink-faint); padding: 1.5rem 0 0; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-dark); }

/* ── ARTICLE HEADER ── */
.article-head { padding: 1.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.article-cat {
  display: inline-block;
  background: var(--green-soft); color: var(--green-dark);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem; border-radius: 99px; margin-bottom: 1.2rem;
}
.article-title {
  font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  font-weight: 800; line-height: 1.5; letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}
.article-meta { display: flex; gap: 1.2rem; font-size: 0.8rem; color: var(--ink-faint); }

/* ── ARTICLE BODY ── */
.article-body { padding: 2.5rem 0 1rem; }
.article-body p { margin-bottom: 1.5rem; font-size: 1.02rem; color: var(--ink); }
.article-body .lead { font-size: 1.08rem; color: var(--ink-soft); }
.article-body h2 {
  font-size: 1.4rem; font-weight: 800; line-height: 1.5;
  margin: 3rem 0 1.2rem; padding-left: 0.9rem;
  border-left: 5px solid var(--green);
}
.article-body h3 { font-size: 1.12rem; font-weight: 700; margin: 2rem 0 0.8rem; }
.article-body ul { margin: 0 0 1.5rem; padding-left: 0; list-style: none; }
.article-body ul li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.7rem;
  font-size: 1rem; color: var(--ink);
}
.article-body ul li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.article-body strong { font-weight: 700; color: var(--green-dark); }

/* ── CTA（2導線・中立）── */
.cta-box {
  margin: 3rem 0 1rem; padding: 2.2rem 2rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; text-align: center;
  box-shadow: 0 2px 20px rgba(26,35,48,0.05);
}
.cta-box .cta-head { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.6rem; }
.cta-box .cta-lead { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.8rem; line-height: 1.8; }
.cta-choices { display: flex; gap: 1rem; }
.cta-choice { flex: 1; display: block; text-decoration: none; border-radius: 12px; padding: 1.3rem 1rem; transition: transform .2s; border: 1px solid var(--line); }
.cta-choice:hover { transform: translateY(-3px); }
.cta-choice .cc-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.cta-choice .cc-title { font-size: 1rem; font-weight: 800; margin-bottom: 0.3rem; color: var(--ink); }
.cta-choice .cc-desc { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 0.9rem; line-height: 1.6; }
.cta-choice .cc-btn { display: inline-block; font-size: 0.85rem; font-weight: 700; padding: 0.5rem 1.3rem; border-radius: 8px; color: #fff; }
.cta-choice.solo { background: var(--green-soft); border-color: rgba(29,158,117,0.3); }
.cta-choice.solo .cc-tag { color: var(--green-dark); }
.cta-choice.solo .cc-btn { background: var(--green); }
.cta-choice.company { background: rgba(37,99,235,0.06); border-color: rgba(37,99,235,0.3); }
.cta-choice.company .cc-tag { color: var(--blue-dark); }
.cta-choice.company .cc-btn { background: var(--blue); }
@media (max-width: 560px) { .cta-choices { flex-direction: column; } }

/* ── BLOG INDEX ── */
.blog-hero {
  max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem 2rem;
}
.blog-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  letter-spacing: 0.01em; margin-bottom: 0.6rem;
}
.blog-hero p { font-size: 0.95rem; color: var(--ink-soft); }

.post-grid {
  max-width: 720px; margin: 0 auto; padding: 0 1.5rem 4rem;
  display: grid; gap: 1.5rem;
}
.post-card {
  background: var(--paper); border-radius: 14px;
  border: 1px solid var(--line);
  padding: 1.8rem 2rem;
  text-decoration: none; color: inherit;
  display: block;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 12px rgba(26,35,48,0.04);
}
.post-card:hover {
  box-shadow: 0 6px 24px rgba(26,35,48,0.1);
  transform: translateY(-2px);
}
.post-card .article-cat { margin-bottom: 0.8rem; }
.post-card-title {
  font-size: 1.15rem; font-weight: 800; line-height: 1.5;
  margin-bottom: 0.6rem; color: var(--ink);
}
.post-card-desc {
  font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7;
  margin-bottom: 1rem;
}
.post-card-date { font-size: 0.78rem; color: var(--ink-faint); }

/* ── FOOTER ── */
footer {
  margin-top: 4rem; padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); background: #fff;
}
footer .logo-text { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--ink); }
footer .logo-sub-foot { font-size: 0.7rem; color: var(--ink-faint); }
footer p { font-size: 0.78rem; color: var(--ink-faint); }
.footer-legal {
  text-align: center; padding: 0.6rem 2rem 2rem; background: #fff;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.1rem;
}
.footer-legal a { font-size: 0.72rem; color: rgba(0,0,0,0.3); text-decoration: none; }
.footer-legal a:hover { color: var(--green-dark); }
.footer-legal-sep { font-size: 0.72rem; color: rgba(0,0,0,0.15); }

@media (max-width: 640px) {
  nav { padding: 0.85rem 1rem; }
  .nav-right { gap: 0.9rem; }
  .nav-link.hide-sp { display: none; }
  footer { flex-direction: column; gap: 0.8rem; text-align: center; }
}
