/* Japanese text uses locally served, licensed fonts for consistent glyphs. */
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/zen-kaku-gothic-new-400.woff?v=9') format('woff');
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/zen-kaku-gothic-new-500.woff?v=9') format('woff');
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/zen-kaku-gothic-new-700.woff?v=9') format('woff');
}

html[lang='ja'] {
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}

html[lang='ja'] body {
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.9;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang='ja'] :where(body:not(.account-page)) h2:not(.display-heading):not(#closing-title) {
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.55;
}

html[lang='ja'] h3,
html[lang='ja'] .button,
html[lang='ja'] .desktop-nav a,
html[lang='ja'] .mobile-menu a,
html[lang='ja'] .market-tabs button,
html[lang='ja'] .market-strip strong,
html[lang='ja'] .faq-list summary {
  font-weight: 500;
  letter-spacing: .015em;
}

html[lang='ja'] .hero-japanese {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .025em;
  line-height: 1.7;
}

html[lang='ja'] .hero-description {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .01em;
}

html[lang='ja'] .section-intro,
html[lang='ja'] .advantage-intro > p,
html[lang='ja'] .advantage-grid article > p:last-of-type,
html[lang='ja'] .trust-heading > p:not(.eyebrow),
html[lang='ja'] .trust-items p,
html[lang='ja'] .steps p,
html[lang='ja'] .faq-intro,
html[lang='ja'] .faq-answer p {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .015em;
  text-wrap: pretty;
}

@media (min-width: 1051px) {
  html[lang='ja'] .section-intro { max-width: 440px; }
}

html[lang='ja'] .button { font-size: 14px; }
html[lang='ja'] .header-cta { font-size: 12px; }
html[lang='ja'] .desktop-nav a { font-size: 13px; }
html[lang='ja'] .login-link { font-size: 12px; }
html[lang='ja'] .market-strip strong { font-size: 14px; }
html[lang='ja'] .market-tabs button { font-size: 14px; }
html[lang='ja'] .market-list-label { font-size: 11px; letter-spacing: .03em; }
html[lang='ja'] .instrument-name small { font-size: 12px; line-height: 1.6; }
html[lang='ja'] .instrument-detail h3 { font-size: 14px; }
html[lang='ja'] .instrument-detail p { font-size: 13px; line-height: 1.9; }
html[lang='ja'] .market-note,
html[lang='ja'] .hero-risk { font-size: 11px; line-height: 1.8; letter-spacing: .01em; }
html[lang='ja'] .advantage-grid h3 { font-size: 18px; line-height: 1.65; }
html[lang='ja'] .advantage-grid article > p:last-of-type { min-height: 106px; }
html[lang='ja'] .advantage-grid article > a,
html[lang='ja'] .faq-answer .text-link,
html[lang='ja'] .steps-action > span,
html[lang='ja'] .steps-action .text-link { font-size: 12px; }
html[lang='ja'] .trust-items h3,
html[lang='ja'] .steps h3 { font-size: 17px; }
html[lang='ja'] .faq-list summary { font-size: 15px; line-height: 1.75; }
html[lang='ja'] .closing-content > p:not(.eyebrow) { font-size: 15px; letter-spacing: .02em; }
html[lang='ja'] .footer-top nav { font-size: 12px; }
html[lang='ja'] .risk-disclosure h3,
html[lang='ja'] .risk-disclosure p { font-size: 11px; line-height: 1.9; letter-spacing: .015em; }

@media (max-width: 1250px) {
  html[lang='ja'] .desktop-nav { gap: 18px; }
  html[lang='ja'] .desktop-nav a { font-size: 12px; }
  html[lang='ja'] .advantage-grid h3 { font-size: 16px; }
  html[lang='ja'] .market-strip strong { font-size: 13px; }
}

@media (max-width: 1050px) {
  html[lang='ja'] .market-tabs { gap: 6px; }
  html[lang='ja'] .market-tabs button { font-size: 13px; padding-inline: 4px; }
  html[lang='ja'] .advantage-grid article > p:last-of-type { min-height: 160px; }
  html[lang='ja'] .steps h3 { font-size: 15px; }
}

@media (max-width: 760px) {
  html[lang='ja'] .hero-japanese { font-size: 19px; letter-spacing: .02em; }
  html[lang='ja'] .hero-description { font-size: 14px; line-height: 1.9; }
  html[lang='ja'] .hero-buttons .button { font-size: 13px; gap: 14px; padding-inline: 15px; }
  html[lang='ja'] .hero-risk { font-size: 10px; }
  html[lang='ja'] .mobile-menu a { font-size: 16px; }
  html[lang='ja'] .market-strip strong { font-size: 13px; }
  html[lang='ja'] .instrument-name small { font-size: 11px; }
  html[lang='ja'] .market-note { font-size: 11px; }
  html[lang='ja'] .advantage-grid h3 { font-size: 18px; }
  html[lang='ja'] .advantage-grid article > p:last-of-type { min-height: 0; }
  html[lang='ja'] .trust-items h3 { font-size: 16px; }
  html[lang='ja'] .steps h3 { font-size: 15px; }
  html[lang='ja'] .steps p { font-size: 13px; }
  html[lang='ja'] .steps-action > span,
  html[lang='ja'] .steps-action .text-link { font-size: 11px; }
  html[lang='ja'] .faq-list summary { font-size: 14px; }
  html[lang='ja'] .closing-content > p:not(.eyebrow) { font-size: 13px; }
  html[lang='ja'] .footer-top nav { font-size: 12px; }
  html[lang='ja'] .risk-disclosure h3,
  html[lang='ja'] .risk-disclosure p { font-size: 10px; }
}

@media (max-width: 360px) {
  html[lang='ja'] .hero-japanese { font-size: 17px; }
  html[lang='ja'] .hero-description { font-size: 12px; }
  html[lang='ja'] .hero-buttons .button { font-size: 12px; gap: 9px; padding-inline: 12px; }
  html[lang='ja'] .market-strip-grid > a { gap: 10px; }
}

/* Stronger heading hierarchy; body text keeps the regular weight. */
.section-heading > div > .eyebrow,
.trust-heading > .eyebrow,
.faq-layout > div > .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #dfbd84;
  margin-bottom: 21px;
}

.section-heading > div > .eyebrow::before,
.trust-heading > .eyebrow::before,
.faq-layout > div > .eyebrow::before {
  content: '';
  flex: 0 0 26px;
  height: 2px;
  background: #cba368;
}

.mini-label {
  font-size: 10px;
  font-weight: 600;
  color: #ddbd89;
  letter-spacing: .14em;
  margin-bottom: 13px;
}

html[lang='ja'] :where(body:not(.account-page)) h2:not(.display-heading):not(#closing-title) {
  font-size: clamp(34px, 3.3vw, 46px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .015em;
  color: #f9f5eb;
}

html[lang='ja'] #markets-title > span:last-child,
html[lang='ja'] #trust-title > span:last-child {
  color: #e5c68f;
}

html[lang='ja'] .advantage-intro h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  color: #f9f5eb;
  margin-bottom: 20px;
  text-wrap: balance;
}

html[lang='ja'] .advantage-grid h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .005em;
  color: #f9f5eb;
  text-wrap: balance;
  min-height: 0;
  margin-bottom: 18px;
}

html[lang='ja'] .trust-items h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .015em;
  color: #f9f5eb;
  margin-bottom: 12px;
  text-wrap: balance;
}

html[lang='ja'] .steps h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #f9f5eb;
  margin-bottom: 14px;
}

html[lang='ja'] .faq-list summary {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1250px) {
  html[lang='ja'] .advantage-grid h3 { font-size: 21px; }
}

@media (max-width: 1050px) {
  html[lang='ja'] .advantage-grid h3 { font-size: 20px; min-height: 3.1em; }
  html[lang='ja'] .advantage-intro h3 { font-size: 22px; }
  html[lang='ja'] .trust-items h3 { font-size: 19px; }
  html[lang='ja'] .steps h3 { font-size: 17px; }
}

@media (max-width: 760px) {
  .section-heading > div > .eyebrow,
  .trust-heading > .eyebrow,
  .faq-layout > div > .eyebrow {
    font-size: 10px;
    letter-spacing: .14em;
    gap: 10px;
    margin-bottom: 19px;
  }
  .section-heading > div > .eyebrow::before,
  .trust-heading > .eyebrow::before,
  .faq-layout > div > .eyebrow::before { flex-basis: 20px; }
  html[lang='ja'] :where(body:not(.account-page)) h2:not(.display-heading):not(#closing-title) { font-size: 32px; line-height: 1.5; }
  html[lang='ja'] .advantage-grid h3 { font-size: 22px; min-height: 0; margin-bottom: 16px; }
  html[lang='ja'] .advantage-intro h3 { font-size: 22px; }
  html[lang='ja'] .trust-items h3 { font-size: 19px; }
  html[lang='ja'] .steps h3 { font-size: 17px; }
  html[lang='ja'] .faq-list summary { font-size: 15px; }
}

@media (max-width: 360px) {
  .section-heading > div > .eyebrow,
  .trust-heading > .eyebrow,
  .faq-layout > div > .eyebrow { font-size: 9px; letter-spacing: .1em; }
  html[lang='ja'] :where(body:not(.account-page)) h2:not(.display-heading):not(#closing-title) { font-size: 30px; }
  html[lang='ja'] .advantage-grid h3,
  html[lang='ja'] .advantage-intro h3 { font-size: 20px; }
  html[lang='ja'] .trust-items h3 { font-size: 18px; }
  html[lang='ja'] .steps h3 { font-size: 16px; }
}
