:root {
  --page: #fff;
  --ink: #000;
  --muted: #666;
  --line: #bdbdbd;
  --accent: #1a1a1a;
  --accent-hover: #333333;
  --focus: #e3a008;
  --market-up: #d1142b;
  --market-down: #005bd1;
  --content-width: 1024px;
  --base-size: 12.8px;
  --nav-size: 18.7px;
  --nav-height: 38px;
  --utility-height: 38px;
  --hero-size: 22px;
  --font-sans: Roboto, "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", Meiryo, "Apple SD Gothic Neo", "Malgun Gothic",
    Verdana, Arial, sans-serif;
  --wordmark-width: 138px;
  --wordmark-height: 24px;
  --brand-symbol-width: 23.25px;
  --brand-gap: 8px;
  --quote-row-height: 22px;
  --quote-columns: 92px 72px 112px 58px 36px minmax(70px, 1fr);
}

:root:lang(en) {
  --market-up: #008547;
  --market-down: #d1142b;
}

:root[data-font-size="large"] {
  --base-size: 15px;
  --nav-size: 20px;
  --hero-size: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
}

body {
  font-family: var(--font-sans);
  font-size: var(--base-size);
  line-height: 1.45;
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

a:not(.brand):not([data-locale]):is(:hover, :focus-visible) {
  background: var(--accent);
  color: var(--page);
  text-decoration: none;
}

a:not(.brand):not([data-locale]):is(:hover, :focus-visible) * { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 20;
  padding: 5px 8px;
  border: 2px solid var(--accent);
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  width: min(100%, var(--content-width));
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-rows: var(--utility-height) auto auto auto;
}

.site-shell > main::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: -1;
  width: 148px;
  height: 148px;
  background: url("assets/taro-mark-small.webp") center / contain no-repeat;
  opacity: .045;
  pointer-events: none;
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: relative;
  height: var(--utility-height);
  padding: 6px 17px 5px;
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--brand-gap);
  height: var(--nav-height);
  padding: 0 8px;
  margin-right: 16px;
  color: #fff;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: #fff;
  text-decoration: none;
}

.brand:focus-visible { outline-offset: -3px; }

.brand img { display: block; }
/* Screen blending removes the inverted white paper without changing the image pixels. */
.brand-symbol { width: var(--brand-symbol-width); height: auto; filter: invert(1); mix-blend-mode: screen; }
.brand-wordmark { width: var(--wordmark-width); height: var(--wordmark-height); filter: brightness(0) invert(1); }

.utilities,
.languages,
.font-sizes {
  display: flex;
  align-items: center;
}

.utilities {
  position: absolute;
  right: 13px;
  bottom: 6px;
  gap: 7px;
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
}

.menu-utilities { display: none; }

.languages a,
.font-sizes button {
  min-width: 0;
  padding: 1px 4px;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  line-height: 1.2;
}

.languages a {
  text-decoration: none;
  min-height: 24px;
  padding: 4px;
  font-size: 12px;
}

.languages a + a {
  position: relative;
  margin-left: 4px;
  padding-left: 12px;
}

.languages a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--accent);
  transform: translateY(-50%);
}

.languages a[aria-current="page"],
.font-sizes button[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.font-sizes {
  gap: 2px;
}

.font-sizes button {
  font-size: 14px;
  font-weight: 700;
}

.font-sizes .font-large {
  font-size: 19px;
}

.utility-separator {
  width: 1px;
  height: 17px;
  background: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  padding-inline: 8px;
  background: var(--accent);
  color: #fff;
  isolation: isolate;
}

.primary-nav ul {
  flex: 1;
  min-width: 0;
  height: var(--nav-height);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.primary-nav li::before,
.primary-nav li:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: #fff;
  pointer-events: none;
}

.primary-nav li:last-child::after {
  left: auto;
  right: 0;
}

.primary-nav a:not(.brand):not([data-locale]) {
  min-width: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid transparent;
  color: #fff;
  font-size: var(--nav-size);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:not(.brand):not([data-locale]):hover,
.primary-nav a:not(.brand):not([data-locale]):focus-visible,
.primary-nav a:not(.brand):not([data-locale])[aria-current="page"] {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.primary-nav a:not(.brand):not([data-locale]):focus-visible {
  outline-color: var(--accent);
  outline-offset: -4px;
}

/* Paint over both separators, including the next item's 1px left edge. */
.primary-nav li > a:is(:hover, :focus-visible, [aria-current="page"]) {
  position: relative;
  z-index: 1;
  border-color: #fff;
  box-shadow: 1px 0 #fff;
}

.mobile-actions {
  display: none;
}

.mobile-page-nav {
  display: none;
}

.home-main {
  min-width: 0;
  min-height: 0;
  display: block;
  min-height: 466px;
  padding-bottom: 24px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 146px 24px 0;
  text-align: center;
}

.hero-slogan {
  position: relative;
  margin: 0;
  font-size: var(--hero-size);
  font-weight: 700;
  line-height: 26px;
  letter-spacing: -.6px;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-slogan > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.slogan-ja,
.slogan-latin { display: none; }
html[lang="ja"] .hero-slogan { font-family: "Hiragino Sans", Meiryo, sans-serif; font-weight: 900; }
@media (min-width: 721px) {
  html[lang="ja"] .hero-slogan { width: 594px; height: 31px; }
  html[lang="ja"] .slogan-ja.slogan-desktop { display: block; width: 594px; height: 31px; margin-top: 2px; }
  html[lang="ja"][data-font-size="large"] .hero-slogan,
  html[lang="ja"][data-font-size="large"] .slogan-ja.slogan-desktop { width: 648px; height: 34px; }
  html[lang="en"] .hero-slogan,
  html[lang="ko"] .hero-slogan { width: 727px; max-width: 100%; }
  html[lang="en"] .slogan-latin.slogan-desktop,
  html[lang="ko"] .slogan-latin.slogan-desktop { display: block; width: 100%; height: auto; }
  html[lang="en"][data-font-size="large"] .hero-slogan,
  html[lang="ko"][data-font-size="large"] .hero-slogan { width: 793px; }
}

.nav-search { display: flex; align-items: center; gap: 6px; width: 128px; height: var(--nav-height); margin: 0; flex: none; }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: 10px; flex: none; }
.primary-nav .glossary-link { font-size: 12px; font-weight: 400; padding: 0 8px; }
.nav-search input[type="search"] { width: 96px; flex: 0 0 96px; height: 24px; border: 0; border-radius: 0; padding: 2px 4px; font: inherit; color: var(--ink); background: #fff; }
.nav-search button { display: grid; place-items: center; width: 26px; flex: 0 0 26px; height: 26px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.search-icon { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ''; position: absolute; width: 9px; height: 2px; background: currentColor; right: -8px; bottom: -2px; transform: rotate(30deg); }
.nav-search button:hover { background: #fff; color: var(--accent); }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.search-form { margin: 28px 0; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 700; }
.search-form > div { display: flex; gap: 8px; }
.search-form input[type="search"] { min-width: 0; flex: 1; padding: 8px; font: inherit; border: 1px solid var(--line); border-radius: 0; }
.search-form button { border: 1px solid var(--accent); padding: 7px 18px; background: var(--accent); color: #fff; cursor: pointer; }
.search-form button:hover { background: #fff; color: var(--accent); }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.search-results a { color: var(--accent); font-weight: 700; }
.search-results p { margin: 6px 0 0; }
.glossary-list dt a { color: var(--accent); }

.hero-description {
  margin: 44px 0 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.7;
  text-wrap: balance;
}

.information {
  width: 570px;
  max-width: calc(100% - 32px);
  margin: 39px auto 0;
}

.news-ticker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 3px;
  background: #fff;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .846em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.ticker-viewport {
  position: relative;
  height: 19px;
  width: 90%;
  overflow: hidden;
  container-type: inline-size;
}

.ticker-runner {
  position: absolute;
  left: 0;
  display: block;
  width: max-content;
  max-width: none;
  color: var(--ink);
  line-height: 19px;
  text-decoration: none;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-right-to-left 18s linear infinite;
  animation-direction: normal;
  animation-delay: -8s;
}

.ticker-runner:focus-visible {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  .news-ticker:not(.is-restored):hover .ticker-runner {
    animation-play-state: paused;
  }
}

@keyframes ticker-right-to-left {
  from {
    transform: translateX(100cqw);
  }

  to {
    transform: translateX(-100%);
  }
}

.ticker-date {
  margin-right: 12px;
  color: var(--muted);
}

.arrow-link {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.arrow-link::before {
  content: "▶";
  margin-right: 6px;
  font-size: 9px;
}

.news-category {
  grid-column: 2;
  justify-self: end;
  margin-top: 0;
}

.quote-block {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  column-gap: 14px;
  width: 600px;
  margin-left: -15px;
  margin-top: 15px;
  font-variant-numeric: tabular-nums lining-nums;
}

.quote-block h2 {
  margin: 2px 0 0;
  color: var(--accent);
  font-size: 1em;
  line-height: 1.35;
}

.quote-heading small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .06em;
  white-space: nowrap;
}

.quote-viewport {
  height: calc(var(--quote-row-height) * 2);
  overflow: hidden;
}

.quote-table {
  font-size: .923em;
  font-weight: 700;
  will-change: transform;
}

.quote-table.is-moving {
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.quote-frame { height: calc(var(--quote-row-height) * 2); }

.quote-row {
  display: grid;
  grid-template-columns: var(--quote-columns);
  gap: 8px;
  align-items: baseline;
  height: var(--quote-row-height);
  line-height: var(--quote-row-height);
  border-bottom: 1px dotted var(--line);
}

.quote-row > * { min-width: 0; }
.quote-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-contract { overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .75em; font-weight: 400; letter-spacing: .03em; white-space: nowrap; }
.quote-price, .quote-change {
  font-family: Consolas, Menlo, "Liberation Mono", monospace;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}
.quote-price { font-size: 1.083em; }
.quote-unit { color: var(--muted); font-size: .72em; font-weight: 400; }
.quote-change.is-up { color: var(--market-up); }
.quote-change.is-down { color: var(--market-down); }
.quote-change.is-flat { color: var(--muted); }
.quote-time { color: var(--accent); font-size: .85em; font-weight: 400; letter-spacing: .02em; text-align: right; white-space: nowrap; }
.quote-chart { justify-self: end; white-space: nowrap; }
.quote-chart::before { margin-right: 4px; font-size: 8px; }
.quote-chart:focus-visible { outline-offset: 1px; }

.market-status {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px 20px;
  margin-top: 0;
  min-height: 43px;
  align-items: baseline;
  padding: 10px 0 14px;
  border-top: 3px solid var(--accent);
  font-size: .846em;
}

.site-footer p {
  margin: 0;
}

.footer-address { color: var(--ink); line-height: 1.6; }
.footer-address a { color: inherit; text-decoration: none; }
.footer-address [data-i18n="addressLabel"] { font-weight: 700; }

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

.footer-links > * { white-space: nowrap; }

.footer-links > * {
  color: var(--ink);
  text-decoration: none;
}

.footer-links > * + * {
  position: relative;
  margin-left: 13px;
}

.footer-links > * + *::before {
  content: "|";
  position: absolute;
  right: 100%;
  width: 13px;
  color: var(--ink);
  text-align: center;
}

.page-main {
  min-height: 0;
  padding: 58px 154px 55px;
  text-wrap: pretty;
}

html[lang="ja"] :is(.hero-description, .page-main) {
  line-break: strict;
  word-break: auto-phrase;
}

html[lang="ko"] :is(.hero-description, .page-main) {
  overflow-wrap: break-word;
  word-break: keep-all;
}

.page-title {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  font-size: 1.846em;
  line-height: 1.25;
}

.page-lead {
  margin: 28px 0 0;
  font-size: 1.385em;
  font-weight: 700;
  line-height: 1.6;
  text-wrap: balance;
}

.sitemap-intro { margin: 28px 0 0; font-size: 1.154em; }

.sitemap-sections {
  margin-top: 34px;
}

.sitemap-group {
  margin-top: 28px;
}

.sitemap-group h2 { margin: 0; padding: 12px 16px; border: 1px solid var(--line); font-size: 1.154em; }
.sitemap-group ul { margin: 18px 0 0; padding-left: 1.5em; list-style: disc; }
.sitemap-group li + li { margin-top: 10px; }
.sitemap-group a { color: var(--ink); text-decoration: none; }

.facts,
.business-list {
  margin: 35px 0 0;
  border-top: 1px solid var(--line);
}

.facts > div,
.business-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 26px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}

.facts dt,
.facts dd,
.business-list h2,
.business-list p {
  margin: 0;
}

.facts dt,
.business-list h2 {
  font-size: 1em;
  font-weight: 700;
}

.development-note {
  margin: 26px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  background: #f3f3f3;
  font-weight: 700;
}

.news-detail {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.news-detail header {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}

.news-detail time,
.news-detail h2 {
  margin: 0;
  font-size: 1em;
}

.news-detail-body {
  padding: 25px 178px 0 178px;
}

.news-detail-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
}

.news-detail-body p:last-child {
  margin: 0;
  line-height: 1.8;
}

.contact-panel {
  margin-top: 22px;
  padding: 14px 30px 0;
}

.contact-panel > p {
  margin: 0 auto;
  max-width: 620px;
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
}

html[lang="ko"] .contact-panel > p { word-break: keep-all; }

.contact-stage {
  display: grid;
  max-width: 540px;
  margin: 18px auto 0;
}

.contact-stage > * { grid-area: 1 / 1; }

.contact-form {
  position: relative;
  display: grid;
  gap: 6px;
}

.contact-form.is-leaving { pointer-events: none; animation: contact-form-out .18s ease-out both; }
.contact-form.is-complete { visibility: hidden; }

.contact-form label { margin-top: 6px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.contact-form :is(input, textarea):user-invalid { border-color: #9b2c2c; }
.contact-form textarea { resize: vertical; line-height: 1.6; }
.contact-form button { justify-self: start; margin-top: 6px; padding: 9px 24px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.contact-form button:is(:hover, :focus-visible) { background: #fff; color: var(--accent); }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.contact-result {
  min-height: 1.8em;
  margin: 4px 0 0;
  color: var(--accent);
  font-weight: 700;
}

.contact-stage > .contact-confirmation:not([hidden]) {
  align-self: center;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  animation: contact-confirmation-in .18s ease-out both;
}

.contact-confirmation:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

@keyframes contact-form-out {
  to { opacity: 0; }
}

@keyframes contact-confirmation-in {
  from { opacity: 0; }
}

.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { width: 100%; max-width: 300px; }

@media (min-width: 721px) and (max-height: 820px) {
  body[data-page="contact"] .page-main { padding-block: 34px; }
  .contact-panel { margin-top: 10px; padding-top: 4px; }
  .contact-stage { margin-top: 10px; }
  .contact-form textarea { height: 120px; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .primary-nav { display: grid; grid-template-columns: auto 1fr; }
  .primary-nav .brand { grid-column: 1; grid-row: 1; }
  .primary-nav .nav-tools { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .primary-nav ul { grid-column: 1 / -1; grid-row: 2; height: calc(var(--nav-height) + 1px); justify-content: center; border-top: 1px solid rgba(255,255,255,.8); }
}

@media (max-width: 720px) {
  html,
  body {
    min-width: 0;
  }

  html.mobile-navigation.menu-open,
  html.mobile-navigation.menu-open body {
    overflow: hidden;
  }

  .site-shell {
    min-height: 0;
    display: block;
  }

  html.mobile-navigation .site-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  html.mobile-navigation .site-header { display: none; }

  .site-header {
    height: var(--utility-height);
    padding: 7px 12px;
  }

  html.mobile-navigation .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 41;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    background: var(--page);
  }

  .brand {
    width: fit-content;
    height: 52px;
    margin-right: 0;
    padding-inline: 12px 8px;
  }

  html.mobile-navigation .brand { color: var(--accent); }
  html.mobile-navigation .brand-symbol { width: 20px; filter: none; mix-blend-mode: normal; }
  html.mobile-navigation .brand-wordmark { width: 116px; height: auto; filter: none; }

  .utilities {
    right: 8px;
    bottom: auto;
    top: 8px;
    gap: 3px;
    font-size: 10px;
  }

  html.mobile-navigation .utilities {
    position: static;
    width: 100%;
    gap: 8px;
  }

  html.mobile-navigation .languages {
    margin-right: auto;
  }

  html.mobile-navigation .languages a[aria-current="page"] {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
  }

  .languages a {
    padding-inline: 2px;
  }

  .languages a + a {
    margin-left: 2px;
    padding-left: 8px;
  }

  .font-sizes button {
    font-size: 12px;
    padding: 1px 2px;
  }

  .font-sizes .font-large {
    font-size: 16px;
  }

  .utility-separator {
    height: 14px;
  }

  .primary-nav ul {
    height: 89px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 44px);
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.8);
    background: var(--accent);
  }

  html.mobile-navigation .primary-nav ul { display: none; grid-column: 1 / -1; grid-row: 2; }
  html.mobile-navigation .primary-nav.is-open ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 58px);
    height: auto;
    padding: 18px 20px 0;
    border-top: 0;
    background: var(--page);
  }

  .primary-nav li,
  .primary-nav li + li {
    border: 0;
  }

  .primary-nav li:nth-child(odd)::before,
  .primary-nav li:last-child::after {
    display: none;
  }

  .primary-nav li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .8);
  }

  html.mobile-navigation .primary-nav.is-open li {
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  html.mobile-navigation .primary-nav.is-open li:first-child {
    border-top: 1px solid var(--line);
  }

  .primary-nav a:not(.brand):not([data-locale]) {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .primary-nav li > a { height: 100%; }

  html.mobile-navigation .primary-nav.is-open li > a {
    justify-content: flex-start;
    height: 58px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    font-size: 16px;
    letter-spacing: .01em;
  }

  html.mobile-navigation .primary-nav.is-open li > a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    margin-right: 5px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }

  html.mobile-navigation .primary-nav.is-open li > a:is(:hover, :focus-visible, [aria-current="page"]) {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: var(--accent);
  }

  .primary-nav { display: block; position: relative; padding-inline: 0; }
  html.mobile-navigation .primary-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border-bottom: 2px solid var(--accent);
    background: var(--page);
    color: var(--accent);
  }

  html.mobile-navigation .primary-nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 40;
    align-content: start;
    grid-template-rows: 52px auto auto;
    min-height: 100dvh;
    padding-bottom: 54px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 0;
    background: var(--page);
  }

  .mobile-actions {
    display: flex;
    width: 96px;
    height: 52px;
    flex: 0 0 96px;
  }

  html.mobile-navigation .primary-nav .mobile-search,
  html.mobile-navigation .primary-nav .menu-toggle {
    display: grid;
    width: 48px;
    height: 52px;
    flex: 0 0 48px;
    place-items: center;
    padding: 0;
    border: 0;
    border-left: 1px solid #dbdbdb;
    background: var(--page);
    color: var(--accent);
    cursor: pointer;
  }

  html.mobile-navigation .primary-nav .mobile-search:is(:hover, :focus-visible),
  html.mobile-navigation .primary-nav .menu-toggle:is(:hover, :focus-visible) {
    background: #f6f6f6;
    color: var(--accent);
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, top .2s ease, background-color .2s ease;
  }

  .menu-icon { position: relative; }
  .menu-icon::before,
  .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }

  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

  html.mobile-navigation .primary-nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 30;
    grid-template-rows: 72px minmax(0, 1fr) auto;
    align-items: start;
    min-height: 100dvh;
    overflow-y: auto;
    border: 0;
    background: var(--page);
  }

  html.mobile-navigation .primary-nav.is-open .brand,
  html.mobile-navigation .primary-nav.is-open .mobile-actions,
  html.mobile-navigation .primary-nav.is-open .mobile-search,
  html.mobile-navigation .primary-nav.is-open .menu-toggle {
    height: 72px;
  }

  html.mobile-navigation .primary-nav.is-open .brand,
  html.mobile-navigation .primary-nav.is-open .mobile-actions {
    grid-row: 1;
  }

  html.mobile-navigation .primary-nav.is-open ul {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: auto;
    padding: 38px 24px;
    border: 0;
    background: var(--page);
  }

  html.mobile-navigation .primary-nav.is-open li:nth-child(n) { border: 0; }
  html.mobile-navigation .primary-nav.is-open li > a:not(.brand) {
    width: fit-content;
    height: auto;
    padding: 4px 7px;
    border: 2px solid transparent;
    background: var(--page);
    color: var(--ink);
    font-size: 21px;
    font-weight: 400;
  }

  html.mobile-navigation .primary-nav.is-open li > a:is(:hover, :focus-visible, [aria-current="page"]) {
    border-color: var(--accent);
    box-shadow: none;
  }

  .nav-tools { justify-content: flex-end; height: 44px; margin-left: 0; padding-inline: 8px; border-top: 1px solid rgba(255,255,255,.8); }
  html.mobile-navigation .nav-tools { display: none; grid-column: 1 / -1; grid-row: 3; background: var(--accent); }
  html.mobile-navigation .primary-nav.is-open .nav-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    height: auto;
    padding: 20px;
    border-top: 0;
    background: var(--page);
  }
  .primary-nav .glossary-link { width: auto; height: 40px; }
  .nav-search { width: min(100%, 220px); height: 40px; }
  .nav-search input[type="search"] { width: auto; min-width: 0; flex: 1; }

  html.mobile-navigation .primary-nav.is-open .menu-toggle[aria-expanded="true"] {
    background: var(--page);
    color: var(--accent);
  }

  html.mobile-navigation .primary-nav.is-open .nav-tools {
    display: flex;
    grid-row: 3;
    flex-direction: column;
    align-items: center;
    height: auto;
    justify-content: center;
    padding: 24px;
    border-top: 2px solid var(--accent);
    background: var(--page);
    color: var(--ink);
  }

  html.mobile-navigation .primary-nav.is-open .menu-utilities { display: flex; }

  html.mobile-navigation .primary-nav.is-open .nav-search { display: none; }
  html.mobile-navigation .primary-nav.is-open .glossary-link {
    width: fit-content;
    height: auto;
    color: var(--ink);
    font-size: 16px;
    font-weight: 400;
  }

  .mobile-page-nav {
    display: block;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
  }

  .mobile-page-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-page-nav li {
    border-bottom: 1px solid var(--accent);
  }

  .mobile-page-nav li:nth-child(odd) { border-right: 1px solid var(--accent); }
  .mobile-page-nav li:nth-last-child(-n + 2) { border-bottom: 0; }

  .mobile-page-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .mobile-page-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
  .home-main {
    display: block;
    min-height: 0;
    padding-bottom: 0;
  }

  .hero {
    min-height: 0;
    padding: clamp(96px, 27vw, 120px) 20px 0;
  }

  .hero-slogan {
    max-width: 350px;
    font-size: calc(var(--hero-size) + 4px);
    line-height: 1.22;
    letter-spacing: -.55px;
  }

  html[lang="ja"] .hero-slogan { width: 275px; height: 64px; }
  html[lang="ja"] .slogan-ja.slogan-mobile { display: block; width: 275px; height: 64px; }
  html[lang="ja"][data-font-size="large"] .hero-slogan,
  html[lang="ja"][data-font-size="large"] .slogan-ja.slogan-mobile { width: 300px; height: 70px; max-width: 100%; object-fit: contain; }
  html[lang="en"] .hero-slogan,
  html[lang="ko"] .hero-slogan { width: 289px; max-width: 100%; }
  html[lang="en"] .slogan-latin.slogan-mobile,
  html[lang="ko"] .slogan-latin.slogan-mobile { display: block; width: 100%; height: auto; }
  html[lang="en"][data-font-size="large"] .hero-slogan,
  html[lang="ko"][data-font-size="large"] .hero-slogan { width: 315px; }

  .hero-description {
    max-width: 35ch;
    margin-top: 38px;
    font-size: 1em;
    line-height: 1.75;
  }

  .information {
    width: auto;
    max-width: none;
    padding: 0 16px 35px;
    margin-top: 52px;
  }

  .site-shell > main::after {
    display: none;
  }

  .news-ticker {
    gap: 9px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .ticker-viewport { width: 100%; }

  .ticker-date {
    margin-right: 8px;
    font-size: 10px;
  }

  .quote-block {
    display: block;
    --quote-row-height: 28px;
    width: auto;
    margin-left: 0;
    margin-top: 28px;
  }

  .quote-heading { margin-bottom: 9px; }
  .quote-heading h2 { display: inline; }

  .quote-heading small { display: inline; margin-left: 7px; }

  .quote-row {
    grid-template-columns: 64px 50px minmax(84px, 1fr) 44px 32px 55px;
    grid-template-rows: 28px;
    column-gap: 4px;
    padding: 0;
    font-size: 11px;
    line-height: 28px;
  }

  .quote-name,
  .quote-contract,
  .quote-price,
  .quote-change,
  .quote-time,
  .quote-chart { grid-area: auto; }

  .quote-name { font-size: 11px; }
  .quote-chart { min-width: 0; text-align: right; }

  .site-footer {
    min-height: 0;
    padding: 18px 16px 22px;
    display: block;
    font-size: 10px;
  }

  .site-footer p + p {
    margin-top: 12px;
  }

  .footer-links { row-gap: 7px; }

  .page-main {
    padding: 38px 20px 55px;
  }

  .page-title {
    font-size: 1.7em;
  }

  .page-lead {
    font-size: 1.23em;
  }

  .facts > div,
  .business-list article,
  .news-detail header {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .news-detail-body {
    padding: 24px 8px 0;
  }

  .contact-panel {
    padding: 14px 14px 0;
  }
}

@media (max-width: 380px) {
  .quote-block { --quote-row-height: 52px; }
  .quote-row {
    grid-template-columns: minmax(0, 1fr) 104px 52px;
    grid-template-rows: repeat(2, 21px);
    grid-template-areas:
      "name price change"
      "contract time chart";
    column-gap: 6px;
    padding: 3px 0;
    line-height: 21px;
  }
  .quote-name { grid-area: name; align-self: end; }
  .quote-contract { grid-area: contract; align-self: start; }
  .quote-price { grid-area: price; }
  .quote-change { grid-area: change; }
  .quote-time { grid-area: time; }
  .quote-chart { grid-area: chart; }

  body[data-page="contact"] .page-main { padding-inline: 0; }
  body[data-page="contact"] .page-title { margin-inline: 20px; }
  body[data-page="contact"] .contact-panel { padding-inline: 2px; }
  body[data-page="contact"] .contact-form { max-width: 300px; }

  .utilities {
    top: 8px;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    transition: none;
  }

  .contact-form.is-leaving,
  .contact-stage > .contact-confirmation:not([hidden]) {
    animation: none;
  }

  .ticker-runner {
    position: static;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: none;
    animation: none;
  }

  .quote-table.is-moving {
    transition: none;
  }
}

@media print {
  .slogan-ja,
  .slogan-latin { display: none !important; }
  .hero-slogan > span { position: static !important; width: auto !important; height: auto !important; clip-path: none !important; }
  .skip-link,
  .utilities,
  .primary-nav ul,
  .primary-nav .nav-tools {
    display: none;
  }

  .site-shell {
    display: block;
    width: 100%;
    min-height: auto;
  }

  .site-header {
    display: none;
  }

  .primary-nav { display: block; padding: 0; background: none; }
  .brand { padding: 0; margin: 0; color: var(--ink); }
  .brand img { filter: none; mix-blend-mode: normal; }

  .home-main {
    display: block;
  }

  .hero {
    min-height: 330px;
  }

  .information {
    min-height: 250px;
  }

  .site-footer {
    min-height: 42px;
  }

  a {
    text-decoration: none;
  }
}
