:root { --site-header-height: 88px; }
#navbar { background: rgba(255,255,255,.98); }
.site-header-container { width: min(1280px, 100%); margin: 0 auto; padding: 0 32px; }
.site-header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--site-header-height); padding: 16px 0; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: #1a1a1a; text-decoration: none; min-width: 0; }
.site-brand img { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.site-brand-name { font-size: 22px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.site-navigation { display: flex; align-items: center; gap: 24px; }
.site-navigation a { font-size: 14px; color: #313131; text-decoration: none; white-space: nowrap; padding: 10px 0; }
.site-navigation a:hover, .site-navigation a[aria-current="page"] { color: #8b6d30; }
.site-language-switch { display: inline-flex; gap: 2px; align-items: center; border: 1px solid #dededb; border-radius: 999px; padding: 3px; background: #f7f7f5; flex-shrink: 0; }
.site-language-switch a { display: block; padding: 6px 10px; color: #555; font-size: 12px; line-height: 18px; white-space: nowrap; text-decoration: none; border-radius: 999px; }
.site-language-switch a[aria-current="true"] { background: #202020; color: white; }
.site-language-switch a:hover { background: #e9e6df; color: #242424; }
.site-language-switch a[aria-current="true"]:hover { background: #202020; color: white; }
.site-header-main a:focus-visible, .site-menu-toggle:focus-visible { outline: 2px solid #9b7d42; outline-offset: 3px; }
.site-menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; font-size: 21px; color: #222; }
.site-mobile-menu { border-top: 1px solid #eee; background: white; }
.site-mobile-menu.hidden { display: none; }
.site-mobile-menu-inner { display: flex; flex-direction: column; padding: 10px 24px 18px; }
.site-mobile-menu a { color: #252525; padding: 11px 0; font-size: 15px; }
.site-mobile-menu a[aria-current="page"] { color: #8b6d30; font-weight: 600; }
body > main.pt-24 { padding-top: var(--site-header-height); }
main [id] { scroll-margin-top: calc(var(--site-header-height) + 24px); }
html[lang="ja"] body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
html[lang="en"] .uppercase, html[lang="ja"] .uppercase { text-transform: none; letter-spacing: .025em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] p { overflow-wrap: break-word; }
html[lang="ja"] p { line-height: 1.9; }
html[lang="ja"] h1.hero-title-ja { font-size: clamp(18px, 5.2vw, 56px); line-height: 1.4; }
.hero-title-ja > span { display: block; white-space: nowrap; }
footer .whitespace-nowrap { white-space: normal; min-width: 0; line-height: 1.45; }
footer img { flex-shrink: 0; }
.contact-person { display: flex; flex-direction: column; }
.contact-person__phone { margin-top: auto; }
.contact-scope-part { display: block; }
html[lang="en"] .contact-person__scope, html[lang="ja"] .contact-person__scope { line-height: 1.55; }
#join-us-modal > div, #success-modal > div { max-height: calc(100dvh - 32px); overflow-y: auto; }
@media (min-width: 1120px) { .site-mobile-menu { display: none !important; } }
@media (max-width: 1119px) { .site-navigation { display: none; } .site-menu-toggle { display: inline-flex; } .site-language-switch { margin-left: auto; } .site-header-main { gap: 18px; } }
@media (max-width: 639px) {
  :root { --site-header-height: 116px; }
  .site-header-container { padding: 0 16px; }
  .site-header-main { display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 8px 12px; padding: 12px 0; }
  .site-brand { gap: 8px; }
  .site-brand img { width: 34px; height: 34px; }
  .site-brand-name { font-size: 18px; }
  .site-menu-toggle { grid-column: 2; grid-row: 1; width: 36px; height: 36px; }
  .site-language-switch { grid-column: 1 / -1; grid-row: 2; justify-self: end; margin-left: 0; }
  .site-language-switch a { padding: 4px 12px; }
  html[lang="en"] .contact-person__phone { font-size: 18px; }
}
