/* graniteshares.jp overrides on top of the .com CSS (master / critical / page CSS). */

/* Japanese glyphs: the .com CSS names Inter / PP Formula / JetBrains Mono directly.
   These faces add Japanese system fonts under the same family names, limited to CJK
   code points, so Japanese text renders consistently while Latin text is unchanged. */
@font-face { font-family: "Inter"; unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF;
  src: local("Hiragino Sans"), local("Hiragino Kaku Gothic ProN"), local("Yu Gothic"), local("Meiryo"), local("Noto Sans JP"), local("Noto Sans CJK JP"); }
@font-face { font-family: "PP Formula"; font-weight: 400 900; unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF;
  src: local("Hiragino Sans W6"), local("HiraginoSans-W6"), local("Yu Gothic Bold"), local("Meiryo Bold"), local("Noto Sans JP Bold"), local("Noto Sans CJK JP Bold"); }
@font-face { font-family: "JetBrains Mono"; unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF;
  src: local("Hiragino Sans"), local("Yu Gothic"), local("Meiryo"), local("Noto Sans JP"), local("Noto Sans CJK JP"); }

/* Japanese text breaks between any characters; keep words together where possible. */
html[lang="ja"] body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }

.footer-disclaimer { margin-top: 2rem; color: rgb(var(--neutral-50)); font-size: 12px; line-height: 1.7; }
.footer-disclaimer p { margin: 0 0 .75rem; }

/* product.min.css (legacy product pages) labels its expand toggles in English via CSS content */
.etf-chart-details .etf-chart-details_cta span:first-of-type:before { content: "詳しく見る"; }
.etf-chart-details:open .etf-chart-details_cta span:first-of-type:before,
.etf-chart-details[open] .etf-chart-details_cta span:first-of-type:before { content: "閉じる"; }

/* "最終更新日" line above the footer on product pages (layouts/base.njk) */
.page-updated .inner-wrapper { padding: 1rem 1.5rem; color: rgb(var(--light-text-secondary, 90 90 90)); font-size: .8125rem; }
