:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #63706b;
  --line: #d9e2de;
  --paper: #fffaf1;
  --soft: #fff1d6;
  --mint: #15a05f;
  --mint-dark: #087842;
  --coral: #f08300;
  --gold: #ffbf2f;
  --orange-dark: #d76800;
  --blue: #365f91;
  --shadow: 0 8px 22px rgba(120, 74, 0, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.utility-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 7px clamp(18px, 4vw, 56px);
  color: #7a4d05;
  background: #fff7e7;
  border-bottom: 1px solid #f1d5a3;
  font-size: 12px;
  font-weight: 800;
}

.utility-bar a {
  color: var(--mint-dark);
}

.site-header {
  position: relative;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 4vw, 56px);
  background: #fff;
  border-bottom: 1px solid #efd8ae;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  color: #fff;
  background: var(--coral);
  font-weight: 800;
}

.brand strong {
  color: var(--orange-dark);
  font-size: 20px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #5c5142;
  font-size: 13px;
  white-space: nowrap;
}

.top-nav a:hover,
.article-card:hover h3,
.text-link:hover {
  color: var(--coral);
}

.list-link {
  min-height: 34px;
  padding: 5px 10px;
  color: #fff !important;
  background: var(--mint);
  border-radius: 999px;
  font-weight: 800;
}

.header-support {
  display: grid;
  gap: 1px;
  margin-left: auto;
  padding: 8px 14px;
  color: var(--mint-dark);
  background: #effaf4;
  border: 1px solid #bce7cf;
  border-radius: 6px;
  line-height: 1.2;
}

.header-support span {
  font-size: 11px;
  font-weight: 800;
}

.header-support strong {
  font-size: 18px;
}

.benchmark-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--coral);
  border-bottom: 3px solid var(--orange-dark);
}

.benchmark-nav a {
  min-width: 148px;
  padding: 12px 14px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, .28);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.benchmark-nav a:last-child {
  border-right: 1px solid rgba(255, 255, 255, .28);
}

.benchmark-nav a:hover {
  background: rgba(255, 255, 255, .13);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: center;
  min-height: 500px;
  padding: 42px clamp(18px, 5vw, 72px) 38px;
  background:
    linear-gradient(115deg, rgba(238, 245, 241, .96), rgba(251, 252, 250, .78)),
    radial-gradient(circle at 82% 20%, rgba(217, 95, 69, .18), transparent 34%),
    linear-gradient(135deg, #f7faf7 0%, #e9f2ef 50%, #f9f4eb 100%);
  border-bottom: 1px solid var(--line);
}

.benchmark-hero {
  background:
    linear-gradient(90deg, rgba(255, 252, 244, .94), rgba(255, 244, 221, .92)),
    linear-gradient(135deg, #fff7e7 0%, #fff1d6 60%, #fff 100%);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 10px;
  margin-top: 22px;
}

.hero-stats div {
  padding: 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
  line-height: 1.2;
}

.hero-stats strong {
  color: var(--coral);
  font-size: 22px;
  font-weight: 900;
}

.hero-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--mint);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--mint);
}

.button.secondary {
  color: var(--mint-dark);
  background: #fff;
}

.button.light {
  color: var(--mint-dark);
  background: #fff;
  border-color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--mint-dark);
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.quick-finder,
.hero-panel,
.search-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  gap: 14px;
  align-self: stretch;
  border: 3px solid var(--coral);
  box-shadow: 0 10px 0 rgba(240, 131, 0, .14), var(--shadow);
}

.search-panel-head strong {
  display: block;
  margin-top: 3px;
  color: var(--orange-dark);
  font-size: 26px;
  line-height: 1.25;
}

.search-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: #fff;
  border: 2px solid var(--coral);
  border-radius: 7px;
  overflow: hidden;
}

.search-tab {
  min-height: 46px;
  color: var(--orange-dark);
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid #f3c07e;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.search-tab:last-child {
  border-right: 0;
}

.search-tab.active {
  color: #fff;
  background: var(--coral);
  box-shadow: none;
}

.search-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 11px 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #f3c07e;
  border-radius: 8px;
  font: inherit;
}

.search-box input:focus {
  outline: 3px solid rgba(240, 131, 0, .16);
  border-color: var(--coral);
}

.popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popular-chips button {
  min-height: 34px;
  padding: 5px 10px;
  color: var(--orange-dark);
  background: #fff8ed;
  border: 1px solid #f3c07e;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.search-results {
  display: grid;
  gap: 8px;
  min-height: 120px;
}

.search-result {
  display: block;
  padding: 12px;
  background: #fffaf1;
  border: 1px solid #f0d8aa;
  border-radius: 8px;
}

.search-result span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.search-result strong {
  display: block;
  margin-top: 3px;
  line-height: 1.35;
}

.search-empty {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 14px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

.compare-list-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  color: #fff;
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.quick-finder {
  display: grid;
  gap: 10px;
}

.quick-finder a {
  display: block;
  padding: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-finder a:hover {
  border-color: rgba(23, 107, 91, .45);
  box-shadow: 0 8px 18px rgba(23, 33, 31, .07);
}

.quick-finder span,
.path-kicker {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.quick-finder strong {
  display: block;
  margin-top: 4px;
  line-height: 1.45;
}

.hero-panel ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.hero-panel li + li {
  margin-top: 10px;
}

.mini-label {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.band,
.content-wrap,
.cta-band,
.article-layout,
.decision-band,
.compare-strip,
.persona-band,
.rule-band,
.transparency-note,
.category-showcase {
  padding: 58px clamp(18px, 5vw, 72px);
}

.category-showcase {
  background: #fff;
  border-bottom: 1px solid #ead8b7;
}

.section-head.centered {
  text-align: center;
}

.center-note {
  max-width: 680px;
  margin-inline: auto;
}

.big-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 24px auto 0;
}

.big-category-grid .category-card {
  position: relative;
  min-height: 138px;
  padding: 18px 18px 18px 54px;
  background: #fff;
  border: 2px solid #f2dfbb;
  border-radius: 8px;
  box-shadow: 0 4px 0 #fff2d8;
}

.big-category-grid .category-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 22px;
  height: 22px;
  background: var(--coral);
  border-radius: 6px;
  box-shadow: 0 0 0 5px #fff1d6;
}

.big-category-grid .category-card:hover {
  border-color: var(--coral);
  box-shadow: 0 6px 0 #ffe0ad;
}

.big-category-grid .category-card span {
  color: var(--muted);
}

.big-category-grid .category-card strong {
  color: var(--orange-dark);
}

.more-link-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.more-link-row a {
  min-width: 260px;
  padding: 12px 18px;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
}

.decision-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.persona-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.persona-grid,
.rule-grid {
  display: grid;
  gap: 14px;
}

.persona-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.persona-card {
  display: block;
  min-height: 158px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.persona-card:hover,
.rule-card:hover {
  border-color: rgba(23, 107, 91, .45);
  box-shadow: 0 12px 26px rgba(23, 33, 31, .08);
}

.persona-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.persona-card strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.38;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.15fr .925fr .925fr;
  gap: 14px;
}

.path-card {
  display: block;
  min-height: 230px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.path-card:hover {
  border-color: rgba(23, 107, 91, .45);
  box-shadow: 0 12px 26px rgba(23, 33, 31, .08);
}

.path-card.recommended {
  color: #fff;
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.path-card.recommended .path-kicker,
.path-card.recommended p {
  color: rgba(255, 255, 255, .78);
}

.path-card h3 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.28;
}

.path-card p {
  margin: 0;
  color: var(--muted);
}

.compare-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.compare-strip h2 {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.2;
}

.compare-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.compare-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--mint-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.rule-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.rule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rule-card {
  min-height: 210px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rule-card span {
  color: var(--gold);
  font-weight: 900;
}

.rule-card h3 {
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.28;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
}

.transparency-note {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff8ed;
  border-bottom: 1px solid #ead8b7;
}

.transparency-note strong {
  flex: 0 0 auto;
  color: #7a4d05;
}

.transparency-note p {
  margin: 0;
  color: #5f513d;
}

.band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.content-wrap {
  max-width: 1220px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.goal-grid,
.category-grid,
.article-grid,
.related-grid {
  display: grid;
  gap: 14px;
}

.goal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goal-card,
.category-card,
.article-card,
.info-box,
.comparison,
.toc,
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.goal-card,
.category-card,
.article-card {
  display: block;
  min-height: 150px;
  padding: 20px;
  transition: transform .16s ease, box-shadow .16s ease;
}

.goal-card:hover,
.category-card:hover,
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 33, 31, .09);
}

.goal-card span,
.category-card span,
.article-card .tag {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.goal-card strong,
.category-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.category-card p,
.article-card p {
  color: var(--muted);
  font-size: 14px;
}

.article-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.4;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: var(--mint-dark);
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band p {
  opacity: .82;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0 0 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--mint-dark);
  font-weight: 800;
}

.static-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 58px clamp(18px, 5vw, 72px);
}

.static-page h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.18;
}

.static-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.static-page p,
.static-page li {
  color: #2e3936;
}

.static-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(260px, 340px);
  gap: 34px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.article-main {
  min-width: 0;
}

.article-main h1 {
  margin: 10px 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--mint-dark);
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.article-main h2 {
  margin-top: 44px;
  font-size: 28px;
  line-height: 1.3;
}

.article-main h3 {
  margin-top: 28px;
  font-size: 21px;
}

.article-main p,
.article-main li {
  color: #2e3936;
}

.info-box,
.toc,
.comparison,
.course-card {
  padding: 18px;
}

.info-box {
  background: var(--soft);
}

.comparison {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--mint-dark);
  background: var(--soft);
}

.article-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.toc ul {
  margin: 0;
  padding-left: 20px;
}

.ad-disclosure {
  color: var(--muted);
  font-size: 13px;
}

.course-card {
  background: #fff;
}

.course-card h3 {
  margin: 0 0 8px;
}

.course-card .button {
  width: 100%;
  margin-top: 12px;
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.text-link {
  color: var(--mint-dark);
  font-weight: 800;
}

.not-found {
  grid-column: 1 / -1;
  min-height: 50vh;
}

@media (max-width: 900px) {
  .site-header,
  .section-head.split,
  .cta-band,
  .site-footer,
  .compare-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .header-support {
    display: none;
  }

  .benchmark-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .benchmark-nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 0;
  }

  .goal-grid,
  .category-grid,
  .article-grid,
  .related-grid,
    .path-grid,
    .persona-grid,
    .rule-grid,
    .big-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card.recommended {
    grid-column: 1 / -1;
  }

  .compare-links {
    justify-content: flex-start;
  }

  .transparency-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .utility-bar {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
  }

  .goal-grid,
  .category-grid,
  .article-grid,
  .related-grid,
    .path-grid,
    .persona-grid,
    .rule-grid,
    .big-category-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero {
    gap: 18px;
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
    padding-inline: 12px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
  }

  .hero-stats div {
    padding: 10px 8px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .search-panel {
    padding: 16px;
  }

  .search-panel-head strong {
    font-size: 20px;
  }

  .search-tab {
    min-height: 42px;
    font-size: 13px;
  }

  .big-category-grid .category-card {
    min-height: 120px;
  }

  .search-results {
    min-height: 0;
  }

  .search-result:nth-child(n+3) {
    display: none;
  }

  .search-result {
    padding: 10px;
  }

  .trust-row {
    display: none;
  }

  .quick-finder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .quick-finder .mini-label {
    grid-column: 1 / -1;
  }

  .quick-finder a {
    padding: 12px;
  }

  .quick-finder strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .path-card {
    min-height: 0;
  }
}

/* ---- 記事サムネイル ---- */
.card-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.article-hero-thumb {
  margin: 18px 0 6px;
}

.article-hero-thumb .card-thumb {
  border-radius: 16px;
  margin-bottom: 0;
}

/* ---- トップのヒーロー画像 ---- */
.hero-visual {
  max-width: 1180px;
  margin: 8px auto 0;
  padding: 0 20px;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 24px;
}
