/* Language controls and English typography. The Japanese design remains in studio.css. */
.header-inner{gap:clamp(12px,2vw,28px)}
.header-inner>.brand{order:0;flex-shrink:0}
.header-inner>.nav-links{order:1;margin-left:auto;gap:clamp(14px,1.6vw,24px)}
.language-switch{order:2;display:flex;align-items:center;gap:9px;flex-shrink:0;font-family:var(--sans);font-size:11px;line-height:1.4;letter-spacing:.02em;white-space:nowrap}
.language-switch a{display:inline-flex;align-items:center;min-height:44px;padding:4px 1px;color:var(--white)}
.language-switch a[aria-current]{color:var(--gold);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.language-switch a:hover{color:var(--gold)}
.language-switch>span{color:#849489}
.header-inner>.menu-toggle{order:3;flex-shrink:0}
html[lang="en"]{--serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
html[lang="en"] body{letter-spacing:0;line-height:1.8}
html[lang="en"] h2{letter-spacing:0;line-height:1.2}
html[lang="en"] .hero{max-height:none}
html[lang="en"] .hero h1{max-width:900px;font-size:clamp(42px,5.4vw,76px);line-height:1.1;letter-spacing:-.015em}
html[lang="en"] .hero-lead{letter-spacing:.015em;line-height:1.55;font-size:clamp(19px,1.7vw,24px)}
html[lang="en"] .hero-description{max-width:540px;line-height:1.85}
html[lang="en"] .hero-motto{writing-mode:horizontal-tb;top:auto;bottom:84px;max-width:254px;gap:12px;right:var(--gutter)}
html[lang="en"] .hero-motto blockquote{line-height:1.5;letter-spacing:0;font-size:18px}
html[lang="en"] .hero-motto blockquote::before{display:block;width:36px;height:1px;margin-bottom:14px}
html[lang="en"] .hero-motto figcaption{margin:0;line-height:1.5;letter-spacing:.08em}
html[lang="en"] .hero-inner{padding-bottom:220px}
html[lang="en"] .creed-kanji{writing-mode:horizontal-tb;height:auto;font-size:clamp(42px,4.7vw,64px);line-height:1.15;letter-spacing:-.015em}
html[lang="en"] .creed-reading{letter-spacing:0;line-height:1.7;font-size:18px}
html[lang="en"] .intro-lead{letter-spacing:0;line-height:1.5;font-size:25px}
html[lang="en"] .intro-copy p.body{line-height:1.85}
html[lang="en"] .service-feature h3{letter-spacing:0;line-height:1.2;font-size:clamp(32px,3vw,42px)}
html[lang="en"] .service-subtitle{letter-spacing:.01em;line-height:1.7}
html[lang="en"] .service-description,html[lang="en"] .support-service>p,html[lang="en"] .profile-description{line-height:1.85}
html[lang="en"] .service-feature details dl div{grid-template-columns:100px minmax(0,1fr)}
html[lang="en"] .service-feature details dt{letter-spacing:0}
html[lang="en"] .support-service h3{font-size:25px;line-height:1.25;letter-spacing:0}
html[lang="en"] .principle-grid h3{letter-spacing:0;line-height:1.3;font-size:28px}
html[lang="en"] .principle-grid p{line-height:1.85}
html[lang="en"] .profile h3{letter-spacing:0;line-height:1.3;font-size:40px}
html[lang="en"] .profile-role{letter-spacing:.06em}
html[lang="en"] .company dt{letter-spacing:0;font-size:12px}
html[lang="en"] .company dd{overflow-wrap:anywhere}
html[lang="en"] .contact-copy{line-height:1.85}
html[lang="en"] .document-page h1{letter-spacing:0;line-height:1.2}
html[lang="en"] .disclosure-status h2{letter-spacing:0;font-size:28px;line-height:1.3}
@media(max-width:1439px){.header .brand-caption{display:none}}
@media(max-width:1080px){
  :root{--header-h:76px}
  .header-inner>.language-switch{margin-left:auto}
  .menu-toggle{display:inline-flex}
  .header-inner>.nav-links{display:none;position:absolute;top:var(--header-h);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;margin-left:0;padding:14px var(--gutter) 28px;background:rgba(7,22,15,.97);border-bottom:1px solid rgba(227,192,84,.25)}
  .header-inner>.nav-links[data-open="true"]{display:flex}
  .nav-links a{padding:14px 0;font-size:14px;letter-spacing:.06em;border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-links a:not(.nav-contact)::after{display:none}
  .nav-links .nav-contact{margin-top:18px;padding:14px 18px;justify-content:space-between;border:1px solid rgba(227,192,84,.55)}
}
@media(max-width:820px){
  html[lang="en"] .hero-inner{padding-bottom:44px}
  html[lang="en"] .hero h1{font-size:clamp(40px,7vw,60px)}
  html[lang="en"] .hero-motto{position:static;max-width:420px;margin:34px 0 0;padding-left:16px}
  html[lang="en"] .hero-motto blockquote{font-size:17px}
  html[lang="en"] .hero-motto blockquote::before{display:none}
  html[lang="en"] .hero-motto figcaption{margin-top:8px}
  html[lang="en"] .creed-kanji{font-size:clamp(40px,8vw,58px)}
}
@media(max-width:620px){
  html[lang="en"] .hero h1{font-size:clamp(36px,9vw,50px)}
  html[lang="en"] .hero-lead{font-size:20px;line-height:1.5}
  html[lang="en"] .hero-lead br{display:none}
  html[lang="en"] .hero-description{font-size:13px;max-width:none}
  html[lang="en"] .hero .eyebrow{font-size:8px;letter-spacing:.16em;gap:8px}
  html[lang="en"] .hero .eyebrow::before{width:16px}
  html[lang="en"] .service-feature h3{font-size:34px}
  html[lang="en"] .service-feature details dl div{grid-template-columns:1fr;gap:4px}
  html[lang="en"] .profile h3{font-size:34px}
  html[lang="en"] .company dl div{grid-template-columns:92px minmax(0,1fr)}
  html[lang="en"] .company dt{font-size:11px}
  html[lang="en"] .disclosure-status h2{font-size:24px}
  html[lang="en"] .footer a.footer-disclosure{font-size:10px}
}
@media(max-width:380px){
  .header-inner{gap:10px}
  .header .brand{font-size:22px;gap:8px}
  .header .brand img{width:28px;height:28px}
  .language-switch{gap:7px;font-size:10.5px}
  .header .menu-toggle{padding:8px 12px;min-width:44px}
  .menu-toggle>span:first-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  html[lang="en"] .hero-actions{align-items:flex-start}
}

/* タイポグラフィの仕上げ（2026-11-06 第2弾）：英語版は studio.css の本文変数を差し替える。本文 14.5 / 13.5px、行間 1.8、1行 68ch。 */
html[lang="en"]{--fs-body-l:15px;--fs-body:14.5px;--fs-body-s:13.5px;--fs-caption:12px;--lh-body-l:1.85;--lh-body:1.8;--lh-body-s:1.75;--lh-caption:1.6;--measure:68ch}
html[lang="en"] .service-description,html[lang="en"] .core-services.is-three .service-description,html[lang="en"] .support-service>p,html[lang="en"] .profile-description,html[lang="en"] .company-note,html[lang="en"] .contact-copy,html[lang="en"] .section-intro,html[lang="en"] .principle-grid p,html[lang="en"] .profile-section p,html[lang="en"] .guide-section p,html[lang="en"] .guide-section .threat-list p,html[lang="en"] .guide-section .guide-steps p,html[lang="en"] .guide-section .faq-item p,html[lang="en"] .guide-head .intro,html[lang="en"] .guide-cta p,html[lang="en"] .disclosure-status p,html[lang="en"] .guide-aside{line-height:var(--lh-body)}
html[lang="en"] .intro-copy p.body,html[lang="en"] .document-page .intro{line-height:var(--lh-body-l)}
html[lang="en"] .intro-points li,html[lang="en"] .service-feature details dd,html[lang="en"] .company dl div,html[lang="en"] .profile-facts div,html[lang="en"] .research .work-title,html[lang="en"] .record-list .work-title,html[lang="en"] .guide-deliverables dd,html[lang="en"] .record-list small{line-height:1.75}
html[lang="en"] .hero .eyebrow{font-size:var(--fs-micro);letter-spacing:.2em;gap:12px}
html[lang="en"] .hero .eyebrow::before{width:24px}
@media(max-width:620px){
  html[lang="en"]{--fs-body-l:14.5px;--fs-body:14px;--fs-body-s:13px;--fs-caption:11.5px}
}

/* 細部（2026-11-06 第3弾）：英語版は引用をイタリックの Cormorant で（英語ページの書体読込に italic 500 を追加。読み込めない環境では立体のまま）、狭い段組の本文は分綴。 */
html[lang="en"] .hero-motto blockquote p,html[lang="en"] .creed-reading{font-style:italic;hanging-punctuation:first}
html[lang="en"] .service-description,html[lang="en"] .service-feature details dd,html[lang="en"] .principle-grid p,html[lang="en"] .support-service>p,html[lang="en"] .guide-section .threat-list p,html[lang="en"] .guide-section .guide-steps p{-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:8 4 4}
html[lang="en"] .not-found-en{font-size:var(--fs-body)}
