.phyjix-site-header { position: relative; z-index: 8; color: #141414; background: #f0f0f0; font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
.phyjix-site-header [hidden] { display: none !important; }
.phyjix-site-header a { color: inherit; text-decoration: none; }
.phyjix-site-header a:hover { text-decoration: underline; text-underline-offset: .2em; }
.phyjix-site-header button { font: inherit; cursor: pointer; }
.phyjix-site-notice { display: flex; align-items: center; gap: 11px; min-height: 45px; padding: 0 clamp(14px, 2vw, 34px); color: #fff; background: #080808; font-size: clamp(.72rem,1.15vw,.95rem); letter-spacing: .04em; }
.phyjix-site-info { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #edff00; border-radius: 50%; color: #edff00; font: 700 14px/1 system-ui,sans-serif; }
.phyjix-site-notice-label { flex: none; }
.phyjix-site-notice-links { min-width: 0; margin-left: 5px; font-weight: 700; }
.phyjix-site-notice-links a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phyjix-site-notice-controls { display: flex; align-items: center; gap: 1px; margin-left: auto; white-space: nowrap; }
.phyjix-site-notice-controls button { min-width: 30px; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 26px; line-height: 1; }
.phyjix-site-notice-controls span { margin-left: 5px; font-variant-numeric: tabular-nums; }
.phyjix-site-header-main { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 17px clamp(14px,2vw,34px) 15px; }
.phyjix-site-identity { flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 47px; color: #ed392f !important; }
.phyjix-site-mark { width: 38px; height: 38px; background: url("https://phyjix.jp/wp-content/themes/phyjix-corporate/assets/phyjix-header-mark.png") center / contain no-repeat; }
.phyjix-site-wordmark { font: 800 35px/1 "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", sans-serif; letter-spacing: -.045em; }
.phyjix-site-wordmark::after { content: "phyjix"; }
.phyjix-site-identity img { display: none; }
@media (max-width: 880px) {
  .phyjix-site-identity { gap: 6px; }
  .phyjix-site-mark { width: 32px; height: 32px; }
  .phyjix-site-wordmark { font-size: 29px; }
}
.phyjix-site-menu { display: grid; justify-items: end; gap: 6px; font-size: clamp(.86rem,1.25vw,1.05rem); font-weight: 800; }
.phyjix-site-menu ul { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px,2.3vw,37px); list-style: none; margin: 0; padding: 0; }
.phyjix-site-menu a { min-height: 44px; display: flex; align-items: center; }
.phyjix-site-menu .phyjix-site-recruit { gap: 8px; min-height: 49px; padding: 0 17px; color: #fff; background: #111; }
.phyjix-site-recruit small { font-size: .82em; }
.phyjix-site-menu-toggle { display: none; min-height: 44px; padding: 0 12px; border: 1px solid #181818; color: #181818; background: transparent; font-weight: 700 !important; }
@media (max-width: 920px) {
  .phyjix-site-header-main { align-items: center; padding-block: 8px; }
  .phyjix-site-menu-toggle { display: inline-block; }
  .phyjix-site-menu { display: none; position: absolute; inset: 100% 0 auto; padding: 15px; background: #f0f0f0; border-bottom: 1px solid #ccc; box-shadow: 0 12px 24px #0001; }
  .phyjix-site-menu-toggle[aria-expanded="true"] + .phyjix-site-menu { display: grid; justify-items: stretch; }
  .phyjix-site-menu ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; }
  .phyjix-site-menu li { border-bottom: 1px solid #d9d9d9; }
  .phyjix-site-notice { gap: 6px; }
  .phyjix-site-notice-links { margin-left: 2px; }
}

.phyjix-shared-rails { display: none; }
@media (min-width: 1024px) {
  .phyjix-shared-rails {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) var(--side-main-width, 600px) minmax(0,1fr);
    align-items: center;
    pointer-events: none;
  }
  .phyjix-shared-left, .phyjix-shared-right { display: grid; justify-content: center; gap: 12px; }
  .phyjix-shared-left { width: min(calc(100% - 34px), 264px); margin-top: 68px; justify-self: center; justify-content: stretch; }
  .phyjix-shared-right { grid-column: 3; margin-top: 112px; }
  .phyjix-shared-rails a { color: #111; pointer-events: auto; text-decoration: none; }
  .phyjix-shared-rail-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 9px; border-bottom: 2px solid #141414; font: 850 16px/1.2 system-ui,sans-serif; letter-spacing: .075em; }
  .phyjix-shared-rail-heading span:first-child { display: inline-flex; align-items: center; gap: 8px; }
  .phyjix-shared-rail-heading span:first-child::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #ed392f; }
  .phyjix-shared-rail-list, .phyjix-shared-page-menu ul { padding: 0; margin: 0; list-style: none; }
  .phyjix-shared-rail-list { display: grid; gap: 5px; }
  .phyjix-shared-rail-list a { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 47px; padding: 5px 8px; border: 1px solid #e3dfda; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 700; line-height: 1.35; }
  .phyjix-shared-rail-list img { flex: none; width: 33px; height: 33px; object-fit: contain; }
  .phyjix-shared-rail-list a:hover { border-color: #a9a198; }
  .phyjix-shared-rail-list a > span:first-of-type { flex: 1; }
  .phyjix-shared-rail-banners { display: grid; gap: 8px; }
  .phyjix-shared-rail-banners a { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid; border-radius: 9px; font-weight: 750; line-height: 1.25; }
  .phyjix-shared-rail-banners a:hover { filter: brightness(1.04); }
  .phyjix-shared-rail-banners small { display: block; margin-bottom: 4px; font-size: 10px; }
  .phyjix-shared-rail-banners strong { display: block; }
  .phyjix-shared-rail-banners .phyjix-shared-rail-feature { min-height: 110px; padding: 13px 11px 13px 14px; border-color: #a0b82b; background: linear-gradient(125deg,#f4fa98,#d8ee58); color: #242b0c; box-shadow: 0 6px 14px #4c621631; }
  .phyjix-shared-rail-feature strong { font-size: clamp(17px,2vw,25px); }
  .phyjix-shared-rail-detail { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; }
  .phyjix-shared-rail-arrow { display: grid; flex: 0 0 27px; place-items: center; height: 27px; border-radius: 50%; background: #293311; color: #f2fb95; font-size: 16px; }
  .phyjix-shared-rail-banners .phyjix-shared-rail-line { min-height: 66px; padding: 9px 11px; border-color: #06c755; background: #06c755; color: #062511; font-size: 15px; }
  .phyjix-shared-rail-line img { flex: none; width: 40px; height: 40px; }
  .phyjix-shared-page-menu { width: clamp(154px,15vw,220px); max-height: calc(100dvh - 190px); padding: 6px; overflow-y: auto; pointer-events: auto; }
  .phyjix-shared-page-menu p { margin: 0 0 16px; color: #56504d; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
  .phyjix-shared-page-menu ul { border-inline-start: 1px solid #c7c2bf; }
  .phyjix-shared-page-menu a { position: relative; display: flex; align-items: center; min-height: 34px; padding-left: 16px; color: #514b48; font-size: clamp(13px,1.12vw,15px); font-weight: 600; letter-spacing: .04em; }
  .phyjix-shared-page-menu a::before { position: absolute; left: -5px; content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ed392f; opacity: 0; }
  .phyjix-shared-page-menu a:is(:hover,:focus-visible) { color: #111; text-decoration: underline; text-underline-offset: .25em; }
  .phyjix-shared-page-menu a[aria-current="location"] { color: #111; font-weight: 800; }
  .phyjix-shared-page-menu a[aria-current="location"]::before { opacity: 1; }
}
