.shared-site-header { display: block; padding: 0; max-width: none; margin: 0; position: sticky; top: 0; z-index: 100; width: 100%; background: #fff; border-bottom: 1px solid #e1e6ed; color: #101f4c; font-family: "Noto Sans JP", sans-serif; }
.shared-site-header * { box-sizing: border-box; }
.shared-site-header-inner { width: min(1280px, calc(100% - 48px)); margin: 0 auto; min-height: 84px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 24px; padding: 12px 0; }
.shared-site-header a { text-decoration: none; color: inherit; }
.shared-site-brand { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 800; white-space: nowrap; line-height: 1.3; }
.shared-site-brand img { width: 32px; height: 32px; object-fit: contain; }
.shared-site-header nav { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 14px; font-weight: 700; }
.shared-site-header nav a { white-space: nowrap; padding: 8px 0; }
.shared-site-header nav a[aria-current="page"] { color: #215ee6; text-decoration: underline; text-underline-offset: 7px; }
.shared-site-languages { display: flex; gap: 6px; font-size: 12px; white-space: nowrap; }
.shared-site-languages a { font-size: inherit; }
.shared-site-languages a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.shared-site-header .shared-site-action { background: #101f4c; color: #fff; border-radius: 8px; padding: 13px 16px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.5; }
.shared-site-toggle { width: auto; min-height: 0; font: inherit; font-size: 13px; font-weight: 700; color: #101f4c; background: #fff; border: 1px solid #dce4ef; border-radius: 6px; padding: 10px; cursor: pointer; }
.shared-site-header [hidden] { display: none; }
.shared-site-header a:focus-visible, .shared-site-toggle:focus-visible { outline: 3px solid #3678e8; outline-offset: 4px; }
@media (max-width: 1200px) {
  .shared-site-header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  .shared-site-brand { grid-column: 1; grid-row: 1; }
  .shared-site-languages { grid-column: 2; grid-row: 1; }
  .shared-site-toggle { grid-column: 3; grid-row: 1; }
  .shared-site-header .shared-site-action { grid-column: 1 / -1; grid-row: 2; padding: 10px 14px; }
  .shared-site-header nav { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; justify-content: flex-start; gap: 12px 24px; padding: 8px 0; }
}
@media (max-width: 480px) {
  .shared-site-header-inner { width: calc(100% - 32px); gap: 10px; }
  .shared-site-brand { font-size: 23px; gap: 5px; }
  .shared-site-brand img { width: 24px; height: 24px; }
  .shared-site-languages { font-size: 11px; gap: 4px; }
  .shared-site-toggle { padding: 9px 7px; }
  .shared-site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shared-site-header nav[hidden] { display: none; }
}

@media (max-width: 360px) {
  .shared-site-header-inner { gap: 6px; }
  .shared-site-brand { font-size: 20px; }
  .shared-site-languages { font-size: 10px; }
  .shared-site-toggle { font-size: 12px; padding-inline: 6px; }
}
