:root {
  --paper: #FBFBFC;
  --ink: #171A21;
  --violet: #6D5DF6;
  --link: #5141CB;
  --coral: #FF6A5C;
  --line: #E4E4EA;
  --wash: #EFEDFE;
  --muted: #555562;
  --measure: 700px;
  --wordmark-font: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.45; overflow-wrap: anywhere; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: #dcd5ff; color: var(--ink); }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .shell, .site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-header .shell { min-height: 66px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font: 700 1.28rem/1.2 var(--wordmark-font);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.site-header nav { display: flex; gap: clamp(14px, 4vw, 34px); }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .875rem;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--link); text-decoration: underline; }
.neiro-avatar {
  display: block;
  flex: none;
  border-radius: 50%;
  background: var(--wash) center / cover no-repeat;
  background-image: url("neiro-icon-main.png");
}
.neiro-avatar--komari {
  background-image: url("neiro-icon-komari.png");
}
.neiro-avatar--shinken {
  background-image: url("neiro-icon-shinken.png");
}
.neiro-avatar--nikkori {
  background-image: url("neiro-icon-nikkori.png");
}
.wordmark .neiro-avatar { width: 36px; height: 36px; }
.hero {
  margin-top: 32px;
  padding: clamp(32px, 6vw, 72px) 0;
  border-block: 1px solid var(--line);
  text-align: center;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 44px);
}
.masthead .neiro-avatar { width: 96px; height: 96px; }
.masthead-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}
.hero h1 {
  font: 800 clamp(2.4rem, 7.4vw, 5.25rem)/1 var(--wordmark-font);
  letter-spacing: -.035em;
}
.hero h1 span { color: var(--violet); }
.masthead-tagline {
  margin-top: 8px;
  color: var(--muted);
  font: 700 .75rem/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
  text-align: left;
}
.waveform {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  height: clamp(30px, 5.5vw, 56px);
}
.waveform span {
  width: clamp(4px, 1vw, 8px);
  height: var(--amplitude);
  border-radius: 999px;
  background: var(--bar-color, var(--violet));
}
.hero-lead { margin-top: 28px; font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 700; }
.hero-description { max-width: 32em; margin: 8px auto 0; color: var(--muted); font-size: .9375rem; }
.home-section { margin-top: clamp(42px, 6vw, 76px); }
.home-section h2 { font-size: clamp(1.3rem, 2.4vw, 1.72rem); letter-spacing: -.02em; }
.questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 0;
  border-block: 1px solid var(--line);
}
.questions > div { padding: 19px clamp(16px, 2.6vw, 32px) 22px; }
.questions > div:first-child { padding-inline-start: 0; }
.questions > div + div { border-inline-start: 1px solid var(--line); }
.questions dt { color: var(--link); font-weight: 700; }
.questions dd { margin: 5px 0 0; color: var(--muted); font-size: .9375rem; }
.feature {
  margin-top: 16px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.feature h3 { max-width: 26em; font-size: clamp(1.35rem, 3.4vw, 2rem); letter-spacing: -.02em; }
.feature p { max-width: 39em; margin-top: 13px; color: var(--muted); }
.article-dates {
  margin-block: 8px;
  color: var(--muted);
  font-size: max(14px, .875rem);
}
.article-dates span { display: inline-block; }
.read-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-inline: 16px;
  border-radius: 8px;
  background: var(--wash);
  font-weight: 700;
  text-decoration: none;
}
.read-link:hover { background: #e5e0ff; }
.arrow { width: 9px; height: 9px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.preparing { margin-top: 12px; color: var(--muted); font-size: .875rem; }
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 64px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.about p { margin-top: 9px; color: var(--muted); }
.site-footer { margin-top: clamp(38px, 5vw, 68px); border-top: 1px solid var(--line); }
.site-footer .shell { min-height: 70px; }
.site-footer small { color: var(--muted); }
.article { width: min(var(--measure), calc(100% - 64px)); margin: 28px auto 0; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; }
.back .arrow { transform: rotate(-135deg); }
.article h1 {
  margin-block: 18px 16px;
  font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.pr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 4px 12px;
  border-radius: 24px;
  background: #fff0ee;
  color: #63342e;
  font-size: .8125rem;
  font-weight: 700;
}
.pr::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.article p + p { margin-top: 1em; }
.toc {
  margin-top: 26px;
  padding: 20px clamp(16px, 4vw, 28px);
  border-radius: 12px;
  background: var(--wash);
}
.toc h2 { font-size: 1rem; }
.toc ol { padding-inline-start: 1.5em; margin-block: 7px 0; }
.toc a { display: block; padding-block: 6px; }
.article-body h2 {
  margin-block: 2.1em .65em;
  padding-top: .75em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.38rem, 3.7vw, 1.75rem);
}
.article-body h3 { margin-block: 1.7em .45em; font-size: 1.125rem; }
.article-body ul { padding-inline-start: 1.4em; }
.article-body li + li { margin-top: .6em; }
.neiro-comment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-block-start: 1.25rem;
  padding: clamp(12px, 3vw, 20px);
  border-radius: 12px;
  background: var(--wash);
  font-size: max(14px, .9375rem);
  overflow-wrap: anywhere;
}
.neiro-comment__icon { width: 80px; height: 80px; }
.neiro-comment__label {
  display: block;
  margin-block-end: 2px;
  color: var(--link);
}
[id] { scroll-margin-top: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; scrollbar-color: var(--violet) var(--wash); }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .875rem; line-height: 1.65; font-variant-numeric: tabular-nums; }
th, td { text-align: start; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
thead th { background: var(--wash); }
tbody tr:nth-child(even) { background: #f6f5fa; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { width: 18%; }
tbody td:nth-child(2) { width: 21%; }
tbody td:nth-child(3) { white-space: nowrap; width: 17%; }
.article-end { margin-top: 28px; }
@media (max-width: 760px) {
  .shell, .article { width: calc(100% - 40px); }
}
@media (max-width: 660px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .table-wrap table { display: block; min-width: 0; line-height: 1.7; }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .table-wrap tbody { display: grid; gap: 12px; }
  .table-wrap tbody tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }
  .table-wrap tbody tr > * {
    display: block;
    width: auto;
    padding: 10px 14px;
    border-bottom: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .table-wrap tbody th {
    background: var(--wash);
    font-size: 1rem;
  }
  .table-wrap tbody td + td { border-top: 1px solid var(--line); }
  .table-wrap td::before {
    content: attr(data-label) / "";
    display: block;
    color: var(--muted);
    font-weight: 700;
  }
}
@media (max-width: 560px) {
  .hero { margin-top: 20px; padding-block: 32px; }
  .masthead { flex-direction: column; gap: 16px; }
  .masthead-title { flex-direction: column; gap: 8px; }
  .masthead-tagline { text-align: center; }
  .site-header .shell { flex-wrap: wrap; gap: 0 12px; padding-block: 6px; }
  .site-header nav { gap: 12px; }
  .wordmark { font-size: 1.1rem; }
  .hero-lead { margin-top: 22px; }
  .questions, .about { grid-template-columns: minmax(0, 1fr); }
  .questions > div { padding: 12px 0; }
  .questions > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}

.about-illust { width: min(220px, 60%); height: auto; border-radius: 16px; margin-bottom: 14px; }
.author-card { display: flex; gap: 16px; align-items: flex-start; background: var(--wash); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 28px; }
.author-card__icon { width: 64px; height: 64px; }
.author-card h2 { font-size: 1.05rem; }
.author-card p { color: var(--muted); margin-top: 8px; }
