


@font-face {
  font-family: 'Archivo XC';
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-xc-black.woff2') format('woff2');
}

:root {
  --sun: #1f2fd6;                 
  --moon: #7b87f2;                
  --sun-soft: rgba(31, 47, 214, .09);
  --moon-soft: rgba(31, 47, 214, .09);
  --link: #1f2fd6;                
  --ink: #111111;
  --ink-body: #262626;
  --ink-soft: #5a5a58;            /* 5.8:1 */
  --bg: #edece8;                  
  --card: #f5f4f0;
  --line: #cfcdc6;                
  --rule: #111111;                
  --radius: 0px;                  
  --display: 'Archivo XC', 'Arial Narrow', Impact, sans-serif;
  --wrap: 1120px;
}
body { background: var(--bg); }
::selection { background: var(--sun); color: #fff; }


header {
  max-width: none;
  padding: 0 max(20px, calc((100vw - var(--wrap)) / 2));
  height: 64px;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--rule);
}
.logo {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em;
}
.logo::before { content: ''; width: 14px; height: 14px; margin-right: 10px; background: var(--sun); flex-shrink: 0; }
.logo .sun-dot { visibility: hidden; font-size: .5em; }
.logo .moon-dot { display: none; }
header nav { display: flex; align-items: center; gap: 26px; margin-right: auto; margin-left: 44px; }
nav a { margin-left: 0; color: var(--ink); font-size: 0.9rem; font-weight: 500; }
nav a:hover { color: var(--sun); }
.hd-cta {
  flex-shrink: 0;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 0.9rem; font-weight: 700; padding: 11px 18px;
}
.hd-cta:hover { background: var(--sun); }


.sw-strip {
  max-width: var(--wrap); margin: 0 auto; padding: 22px 20px;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.sw-strip-wrap { border-bottom: 1px solid var(--line); }
.sw-strip-r { display: flex; gap: 22px; }
.sw-strip b { color: var(--ink); }


.sw-hero {
  max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px;
  align-items: start;
}
.sw-hero .hero { max-width: none; margin: 0; padding: 0; text-align: left; }
.sw-hero .vr-app { width: 100%; margin: 26px 0 0; }


.hero h1, article.page h1 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: initial;
}
.sw-hero .hero h1 {
  font-size: clamp(4.2rem, 1.6rem + 7.2vw, 8.6rem);
  line-height: 0.86;
  max-width: none;
  margin: 0 0 22px;
}
.hero h1 .h1-accent { display: block; color: var(--sun); }
.hero h1 .h1-tail {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  text-transform: none;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  color: var(--ink); margin-top: 20px;
}
.sw-hero .hero p { margin: 0; max-width: 40ch; font-size: 1.125rem; color: var(--ink-body); }


.vr-app {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.vr-stage {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas: "btn wave" "prog prog" "status status";
  gap: 0;
  align-items: stretch;
}
.vr-btn {
  grid-area: btn;
  width: 132px; height: 132px;
  border-radius: 0;
  background: var(--sun);
  box-shadow: none;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  border-right: 1px solid var(--rule);
}
.vr-btn:hover { transform: none; box-shadow: none; background: #1826b8; }
.vr-btn svg { width: 30px; height: 30px; margin-bottom: 6px; }
.vr-app.is-recording .vr-btn { background: #e2574c; box-shadow: none; }
.vr-app.is-recording .vr-btn::after { border-radius: 0; inset: 6px; border-color: rgba(255,255,255,.7); }
.vr-wave {
  grid-area: wave; height: 132px; width: 100%;
  
  background-image: radial-gradient(rgba(31,47,214,.22) 1px, transparent 1.3px);
  background-size: 9px 9px;
}
.vr-progress { grid-area: prog; height: 4px; border-radius: 0; background: var(--line); border-top: 1px solid var(--rule); }
.vr-progress-fill { background: var(--sun); border-radius: 0; }
.vr-status {
  grid-area: status;
  max-width: none; text-align: left; margin: 0;
  padding: 14px 16px; min-height: 0;
  font-size: 0.9rem; color: var(--ink-body);
}
.vr-privacy {
  justify-content: flex-start;
  margin: 0; padding: 11px 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem; font-weight: 600; color: var(--ink);
}
.vr-privacy svg { color: var(--sun); }
.vr-results { margin: 0; padding: 22px 18px; border-top: 1px solid var(--rule); }


.vr-ring { background: conic-gradient(var(--sun) 0 var(--pct), var(--line) var(--pct) 100%); }
.vr-ring::before { background: var(--bg); }
.vr-ring-num strong, .vr-card-value { font-family: var(--display); font-weight: 900; font-stretch: 62%; letter-spacing: 0; }
.vr-ring-num strong { font-size: 2.6rem; }
.vr-card-value { font-size: 1.7rem; line-height: 1.05; }
.vr-card { background: transparent; border-color: var(--rule); }
.vr-bar-track { border-radius: 0; height: 6px; }
.vr-bar-fill { border-radius: 0; background: var(--sun); }
.vr-share-btn, .vr-share-action, .vr-range-btn, .vr-accuracy-btn { border-radius: 0; }
.vr-share-btn { background: var(--sun); }
.vr-share-native { background: var(--ink); }
.vr-share-action, .vr-accuracy-btn, .vr-range-btn { border-color: var(--rule); }
.vr-scale-track, .vr-scale-band { border-radius: 0; }
.vr-scale-male, .vr-scale-key-male::before { background: rgba(31, 47, 214, .45); }
.vr-scale-fem, .vr-scale-key-fem::before { background: rgba(17, 17, 17, .28); }
.vr-ev-track { border-radius: 0; background: linear-gradient(90deg, rgba(31,47,214,.5), #e2e0da 50%, rgba(17,17,17,.35)); }
.vr-strip-cell, .vr-note, .vr-accuracy, .vr-more-card { border-radius: 0; }
.vr-more-card { border-color: var(--rule); background: transparent; }
.vr-more-card:hover { border-color: var(--sun); transform: none; }


.sw-hero:has(.vr-results:not([hidden])) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.sw-hero:has(.vr-results:not([hidden])) .sw-art { display: none; }


.sw-art { margin: 0; border: 1px solid var(--rule); background: var(--bg); position: sticky; top: 20px; }
.sw-art-stage { position: relative; }
.sw-art-stage svg { display: block; width: 100%; height: auto; }
.sw-tag {
  position: absolute; top: 14px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 9px;
}
.sw-tag-l { left: 14px; background: var(--bg); border: 1.5px solid var(--ink); color: var(--ink); }
.sw-tag-r { right: 14px; background: var(--sun); color: #fff; }
.sw-bar {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: stretch;
  border-top: 1px solid var(--rule); height: 46px;
}

button.sw-bar {
  width: 100%; padding: 0; margin: 0; border: 0; border-top: 1px solid var(--rule);
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
button.sw-bar:hover .sw-bar-play, button.sw-bar:focus-visible .sw-bar-play { background: var(--sun); }
button.sw-bar:focus-visible { outline: 2px solid var(--sun); outline-offset: -2px; }
.sw-art-stage { cursor: pointer; }
.sw-bar-play { background: var(--ink); display: grid; place-items: center; transition: background .15s; }

.sw-bar-play i { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.sw-bar.is-playing .sw-bar-play i { width: 12px; height: 14px; border-width: 0 4px; border-color: #fff; margin-left: 0; }
.sw-bar-ticks {
  margin: 0 14px; align-self: center; height: 18px; position: relative;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 9px);
  -webkit-mask: linear-gradient(#000 0 0) center / 100% 60% no-repeat;
          mask: linear-gradient(#000 0 0) center / 100% 60% no-repeat;
}
.sw-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(31,47,214,.35); }
.sw-bar-time {
  border-left: 1px solid var(--rule); padding: 0 14px; display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.sw-art figcaption {
  border-top: 1px solid var(--rule); padding: 11px 14px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--ink-soft);
}
.sw-art figcaption b { color: var(--ink); }


main.content { max-width: var(--wrap); padding-top: 72px; }
main.content > * { max-width: 780px; }
main.content > section#related, main.content > section#score-meaning { max-width: none; }
section { border-top: 1px solid var(--rule); padding-top: 28px; }
section h2, article.page h2, .vr-glance h2 {
  font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.7rem); line-height: 0.95;
  letter-spacing: 0; max-width: none; margin-bottom: 22px;
}
section h3 { font-weight: 800; }


.vr-glance {
  width: auto; max-width: none !important;
  margin: 0 0 64px; padding: 28px 0 0;
  background: none; border: 0; border-top: 1px solid var(--rule);
}
.vr-glance ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.vr-glance li {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  margin: 0; padding: 16px 0; border-top: 1px solid var(--rule);
  font-size: 0.95rem; line-height: 1.5;
}
.vr-glance li strong {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); padding-top: 3px;
}


.rule-cards { gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }

.rule-cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule-card { background: transparent; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rule-card strong { font-weight: 800; }
.next-up { gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.next-up a { background: transparent; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.next-up a:hover { background: var(--sun); border-color: var(--rule); }
.next-up a:hover strong, .next-up a:hover span { color: #fff; text-decoration: none; }
.next-up strong { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 1.55rem; line-height: 1; margin-bottom: 8px; }


details { background: none; border: 0; border-top: 1px solid var(--rule); padding: 16px 0; margin: 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
details summary { font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--sun); font-weight: 800; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '\2212'; }

.cta { border: 1px solid var(--rule); border-left: 6px solid var(--sun); background: transparent; }
.cta a.btn { background: var(--sun); }
footer { border-top: 1px solid var(--rule); }


.breadcrumb, article.page { max-width: var(--wrap); }
.breadcrumb { padding-top: 22px; }
body > .hero { max-width: var(--wrap); text-align: left; padding-top: 20px; }
body > .hero h1 { font-size: clamp(3rem, 1.4rem + 5vw, 6rem); line-height: 0.88; max-width: none; margin: 0 0 18px; }
body > .hero p { margin: 0; max-width: 60ch; font-size: 1.1rem; }
body > .vr-app { width: min(calc(100% - 40px), 760px); margin: 28px 0 0 max(20px, calc((100vw - var(--wrap)) / 2)); }
article.page h1 { font-size: clamp(2.8rem, 1.4rem + 4.4vw, 5.2rem); line-height: 0.9; max-width: none; }
.guide-fig img { border-color: var(--rule); }
.guide-fig.is-example { border: 1.5px dashed var(--sun); background: var(--sun-soft); }
.guide-fig .fig-tag { border-radius: 0; }


@media (max-width: 860px) {
  header nav { display: none; }                 
  .sw-hero { grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
  .sw-art { position: static; }
  .sw-strip-r { display: none; }
  .vr-glance ul { grid-template-columns: 1fr; }
  .next-up { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  header { height: 56px; }
  .hd-cta { padding: 9px 13px; font-size: 0.82rem; }
  .sw-hero .hero h1 { font-size: 4.1rem; }
  .hero h1 .h1-tail { font-size: 1.1rem; margin-top: 14px; }
  .sw-hero .hero p { font-size: 1rem; }
  .vr-stage { grid-template-columns: 104px minmax(0, 1fr); }
  .vr-btn { width: 104px; height: 104px; }
  .vr-wave { height: 104px; }
  .vr-glance li { grid-template-columns: 1fr; gap: 4px; }
  .vr-privacy { text-align: left; }
  .sw-tag { font-size: .58rem; padding: 4px 6px; top: 10px; }
  .sw-tag-l { left: 10px; } .sw-tag-r { right: 10px; }
  .rule-cards:has(> :nth-child(4)) { grid-template-columns: 1fr; }
  .next-up { grid-template-columns: 1fr; }
  body > .hero h1 { font-size: 3.2rem; }
}


details, .vr-raw { border-radius: 0; }
.vr-status.is-ok { color: var(--sun); font-weight: 700; }
.vr-privacy, .vr-status { max-width: none; }
body > .vr-app { margin-left: calc(max(20px, calc((100vw - var(--wrap)) / 2)) + 20px); width: min(calc(100% - 40px), 760px); }
@media (max-width: 1160px) { body > .vr-app { margin-left: 20px; } }


.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--rule); background: var(--bg); cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  header { position: relative; }
  .hd-cta { margin-left: auto; }
  .nav-toggle { display: flex; order: 3; margin-left: 10px; }
  header nav#nav-menu.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    margin: 0; padding: 4px 20px 12px;
    background: var(--bg); border-bottom: 1px solid var(--rule);
  }
  header nav#nav-menu.is-open { align-items: stretch; text-align: left; }
  header nav#nav-menu.is-open a { display: block; width: 100%; margin: 0; padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  header nav#nav-menu.is-open a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }


.byline { color: var(--ink-soft); font-size: 0.9rem; margin: -4px 0 28px; }
.byline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }


.vr-reload {
  display: inline-block; margin-top: 8px; padding: 8px 12px;
  border: 1.5px solid var(--ink); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.vr-reload:hover, .vr-reload:focus-visible { background: var(--ink); color: #fff; }


html[lang="ja"] {
  --display: 'Archivo XC', 'Hiragino Kaku Gothic StdN', 'Hiragino Sans', 'Yu Gothic', 'YuGothic', 'Meiryo', 'Noto Sans JP', sans-serif;
}
html[lang="ja"] body {
  font-family: 'Plus Jakarta Sans', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', 'YuGothic', 'Meiryo', 'Noto Sans JP', sans-serif;
  line-break: strict;
  overflow-wrap: anywhere;
}
html[lang="ja"] .hero h1, html[lang="ja"] article.page h1 {
  text-transform: none; letter-spacing: 0; line-height: 1.05; font-weight: 900;
}
html[lang="ja"] main p, html[lang="ja"] main li { line-height: 1.9; }
html[lang="ja"] h2, html[lang="ja"] h3 { text-transform: none; letter-spacing: 0; line-height: 1.3; }
html[lang="ja"] .vr-btn-label { letter-spacing: 0.04em; }

html[lang="ja"] section h2, html[lang="ja"] article.page h2, html[lang="ja"] .vr-glance h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.25;
}
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] .h1-tail { word-break: auto-phrase; }


header nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1000px) {
  header nav { gap: 16px; margin-left: 28px; }
}


.lang-switch { position: relative; margin-right: 14px; flex-shrink: 0; }
.lang-switch summary {
  list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 8px 10px; border: 1px solid var(--rule); background: var(--bg);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--ink); }
.lang-globe { width: 17px; height: 17px; flex-shrink: 0; }
.lang-caret { width: 13px; height: 13px; transition: transform .15s; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 168px;
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--ink);
}
.lang-menu a, .nav-lang a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  color: var(--ink); font-size: 0.92rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.lang-menu a + a { border-top: 1px solid var(--rule); }
.lang-menu a b, .nav-lang a b { font-size: 0.72rem; letter-spacing: 0.08em; min-width: 20px; color: var(--ink-soft, #666); }
.lang-menu a:hover { background: rgba(31,47,214,.06); }
.lang-menu a[aria-current], .nav-lang a[aria-current] { color: var(--sun); font-weight: 700; }
.lang-menu a[aria-current] b, .nav-lang a[aria-current] b { color: var(--sun); }
.nav-lang { display: none; }
@media (max-width: 860px) {
  .lang-switch { display: none; }
  header nav#nav-menu.is-open .nav-lang {
    display: flex; align-items: center; gap: 4px; padding: 12px 0 4px; border-top: 1px solid var(--ink); margin-top: 4px;
  }
  header nav#nav-menu.is-open .nav-lang .lang-globe { margin-right: 4px; }
  header nav#nav-menu.is-open .nav-lang a { width: auto; border: 1px solid var(--rule); padding: 9px 12px; font-size: 0.95rem; }
  header nav#nav-menu.is-open .nav-lang a[aria-current] { border-color: var(--sun); }
}

details.lang-switch, details.lang-switch[open], details.lang-switch:last-of-type {
  border: 0; padding: 0; margin: 0 14px 0 0; background: none; box-shadow: none;
}
details.lang-switch summary { justify-content: flex-start; }
details.lang-switch summary::after, details.lang-switch[open] summary::after { content: none; display: none; }
@media (max-width: 860px) {
  header nav#nav-menu.is-open .nav-lang a { display: inline-flex; align-items: center; gap: 8px; }
}

.lang-menu { min-width: 92px; }
.lang-menu a, .nav-lang a { font-weight: 700; letter-spacing: 0.06em; justify-content: center; }


.vr-range-kb-wrap { margin: 18px 0 8px; overflow-x: auto; }
.vr-range-kb { display: block; width: 100%; min-width: 520px; height: auto; }
.vr-range-kb .kb-w { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.vr-range-kb .kb-w.is-in { fill: rgba(31,47,214,.28); }
.vr-range-kb .kb-b { fill: var(--ink); }
.vr-range-kb .kb-b.is-in { fill: var(--sun); }
.vr-range-kb .kb-label { font-size: 9px; font-weight: 700; fill: var(--ink-soft, #555); }
.vr-range-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 0.92rem; }
.vr-range-table th, .vr-range-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
.vr-range-table th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft, #555); }
.vr-range-table tr.is-best td { color: var(--sun); font-weight: 700; }
.vr-range-table tr.is-next td { font-weight: 600; }
.vr-share-btn-alt { background: var(--bg); color: var(--ink); border: 1px solid var(--ink); }
