:root {
  color-scheme: light;
  --canvas: #fff;
  --paper: #fff;
  --muted-surface: #f5f6f8;
  --ink: #030712;
  --muted: #4b5563;
  --line: #d8dbe1;
  --button: #030712;
  --button-ink: #fff;
  --section-space: clamp(52px, 7vw, 104px);
  --sans: "Inter", "Noto Sans JP", sans-serif;
  --mono: "IBM Plex Mono", "Noto Sans JP", monospace;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.85 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(25px, 3vw, 43px); line-height: 1.32; letter-spacing: -.032em; }
h3 { font-size: clamp(18px, 2vw, 26px); line-height: 1.48; letter-spacing: -.01em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(100%, var(--page-width, 1280px)); margin-inline: auto; padding-inline: clamp(20px, 3.5vw, 48px); }
.skip { position: absolute; z-index: 2; top: 8px; left: 8px; transform: translateY(-180%); padding: 8px 16px; background: var(--paper); }
.skip:focus { transform: none; }

.header-inner, .footer-inner { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.header-inner { justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 24px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: clamp(8px, 2.8vw, 34px); }
.site-header nav a, .footer-inner > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.site-header .header-consult { border: 1px solid currentColor; border-radius: var(--button-radius, 99px); text-decoration: none; padding-inline: 15px; }
.hero { padding-block: clamp(32px, 4.5vw, 68px) var(--hero-bottom, clamp(35px, 5.2vw, 74px)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 68px); align-items: center; }
.service-name { color: var(--ink); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.5vw, 69px); line-height: 1.18; font-weight: 900; letter-spacing: -.055em; }
.hero h1 span { display: block; }
.hero-questions { max-width: 36em; margin-top: 24px; font-size: clamp(14px, 1.4vw, 17px); font-weight: 700; }
.hero-lead { max-width: 35em; margin-top: 12px; color: var(--muted); }
.hero-actions { display: grid; grid-template-columns: max-content minmax(0, 1fr); justify-items: start; align-items: center; gap: 10px 20px; margin-top: 18px; }
.hero-actions .text-link { grid-area: 1 / 2; }
.consult-note { grid-column: 1 / -1; max-width: 36em; font-size: 14px; color: var(--muted); line-height: 1.75; }
.consult-note strong { color: var(--ink); }
.button, .text-link { display: inline-flex; align-items: center; min-height: 46px; font-size: 14px; font-weight: 700; }
.button { justify-content: center; gap: 8px; padding: 8px 19px; border-radius: var(--button-radius, 99px); color: var(--button-ink); background: var(--button); text-decoration: none; }
.button:hover { filter: brightness(.87); }
.text-link:hover { text-decoration-thickness: 2px; }

.evidence { border-block: 1px solid var(--line); }
.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: start;
  gap: clamp(26px, 5vw, 66px);
  padding-block: clamp(30px, 5.2vw, 64px);
}
.proof h2 { font-size: 20px; letter-spacing: 0; }
.proof dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(8px, 2.3vw, 35px); margin: 14px 0; }
.proof dl > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: 2px; }
.proof dt { font-weight: 700; line-height: 1.45; }
.proof dd { margin: 0; line-height: 1; white-space: nowrap; }
.proof dd strong { font: 700 clamp(35px, 5.1vw, 68px)/1.14 var(--mono); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.proof dd span { margin-left: .27em; font-size: clamp(14px, 2.6vw, 25px); font-weight: 700; }
.proof p { font-size: 13px; line-height: 1.65; }

.situations, .section, .contact { padding-block: var(--section-space); }
.situations-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 22px clamp(24px, 5vw, 72px); }
.situations-lead { max-width: 25em; margin-top: 14px; color: var(--muted); }
.uses { margin: 0; }
.uses div { border-top: 1px solid var(--line); padding-block: 13px; }
.uses dt { font-weight: 700; }
.uses dd { margin: 4px 0 0; color: var(--muted); }
.section { background: var(--paper); }
.support-grid, .approach-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(22px, 3.5vw, 42px); }
.support-grid article { background: var(--card-bg, var(--paper)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(17px, 2.5vw, 34px); }
.support-grid p, .approach-steps p { color: var(--muted); margin-top: 10px; }
.example { border: 1px solid var(--line); border-radius: var(--radius); background: var(--muted-surface); }
.example-grid { padding: clamp(18px, 2.6vw, 34px); }
.example-label { margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.example h2 { font-size: clamp(21px, 2.55vw, 33px); }
.example-lead { margin-top: 10px; color: var(--muted); }
.example-duration { margin-top: 15px; color: var(--ink); font-size: 14px; font-weight: 700; }
.approach-steps { list-style: none; padding: 0; counter-reset: step; }
.approach-steps li { counter-increment: step; padding: 15px 0 0; border-top: 1px solid var(--line); }
.approach-steps li::before { content: counter(step, decimal-leading-zero); font: 500 14px/1.55 var(--mono); }
.approach-steps h3 { margin-top: 7px; }
.approach-note { margin-top: 20px; color: var(--muted); }
.contact { background: var(--muted-surface); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-inner > div > p { max-width: 36em; margin-top: 12px; }
.contact-action { flex: none; text-align: center; }
.contact-action p { color: var(--muted); font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner small { margin-left: auto; color: var(--muted); }

.type-spec { --card-bg: #f9fafb; --hero-bottom: clamp(38px, 5.4vw, 78px); }
.type-spec .hero-grid { grid-template-columns: minmax(0,1.28fr) minmax(0,1fr); }
.type-spec .service-name { display: inline-block; border: 1px solid #d8dbe1; border-radius: 99px; padding: 3px 11px; }
.hub { min-width: 0; }
.hub-panel {
  --connector: #798492;
  display: grid;
  justify-items: center;
  padding: clamp(22px, 4vw, 49px) clamp(14px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.hub-records { font-size: 14px; font-weight: 600; }
.hub-records::after, .hub-node::after {
  display: block;
  width: 1px;
  height: 20px;
  margin-inline: auto;
  background: var(--connector);
  content: "";
}
.hub-records::after { margin-top: 9px; }
.hub-node {
  position: relative;
  min-width: min(100%, 198px);
  padding: 12px 16px;
  border: 1px solid #d8dbe1;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.hub-node::after { position: absolute; top: 100%; left: 50%; }
.hub-node strong { display: block; font-size: clamp(24px, 3.3vw, 40px); line-height: 1.25; letter-spacing: -.05em; }
.hub-node span { display: block; margin-top: 3px; font-size: 13px; }
.hub-tools {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 14px);
  width: min(100%, 340px);
  margin: 20px 0 0;
  padding: 18px 0 0;
  list-style: none;
}
.hub-tools::before {
  position: absolute;
  top: 0;
  inset-inline: calc(16.6667% - clamp(2px, .6667vw, 4.6667px));
  height: 1px;
  background: var(--connector);
  content: "";
}
.hub-tools li {
  position: relative;
  padding: 6px 4px;
  border: 1px solid #798492;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}
.hub-tools li::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 19px;
  background: var(--connector);
  content: "";
}
.hub figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.type-spec .situations { background: var(--muted-surface); }
.type-spec .support-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.type-spec .support-grid article {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}
.type-spec .support-grid h3 br { display: none; }
.type-spec .support-grid p { margin-top: 0; }
.type-spec .support-grid .training-history { margin-top: 10px; }
.training-history strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(32px, 4.75vw, 55px); }
  .hero-grid { gap: 25px; }
  .hero-questions { margin-top: 18px; }
}
@media (max-width: 675px) {
  .header-inner, .footer-inner { min-height: 62px; }
  .brand { font-size: 22px; }
  .site-header nav { gap: 10px; }
  .site-header nav a { font-size: 13px; }
  .site-header .header-consult { padding-inline: 10px; }
  .type-spec .hero-grid, .evidence-grid, .situations-grid, .support-grid, .approach-steps { grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: clamp(28px, 8.2vw, 49px); }
  .hub { width: min(100%, 480px); }
  .service-name { margin-bottom: 12px; }
  .proof dt { font-size: 13px; }
  .proof dl { gap: 10px; }
  .support-grid h3 br { display: none; }
  .type-spec .support-grid article { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 350px) {
  .wrap { padding-inline: 16px; }
  .hero h1 { font-size: 28px; }
  .proof dd strong { font-size: 37px; }
}
@media (max-width: 370px) {
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .text-link { grid-area: 3 / 1; }
}
