/* Approved logo-replacement PDF P1-7, 1440px PC / 375px SP.
 * Shared shell only: page bodies, HERO artwork and carousel engines are untouched. */
:root { --site-header-space: 105px; }
.site-header { z-index: 50; }
.site-header .site-header__inner {
  display: grid;
  grid-template-columns: 256.719px minmax(0, 1fr) 125.971px;
  align-items: start;
  width: min(1155px, calc(100% - 64px));
  height: auto;
  padding: 49.027px 0 38px;
}
.page-top .site-header .site-header__inner { min-height: 300px; }
.site-header .site-header__logo { display: block; position: relative; grid-area: 1 / 1; top: auto; left: 40.682px; width: 73.144px; }
.page-top .site-header .site-header__logo { display: block; position: absolute; grid-area: auto; top: 163.626px; left: 2.334px; width: 300.775px; }
.site-header .site-header__logo-artwork { display: block; }
.site-header .site-header__logo img { display: block; width: 100%; height: auto; }
/* Show only the symbol from the approved full SVG; preserve the source paths. */
.subpage .site-header .site-header__logo-artwork,
.site-header .mobile-menu__brand .site-header__logo-artwork { aspect-ratio: 157.925 / 125.11; overflow: hidden; }
.subpage .site-header .site-header__logo img,
.site-header .mobile-menu__brand img { display: block; width: 196.4579%; max-width: none; height: auto; }
.subpage .site-header { height: auto; }
.site-header .site-header__nav { position: static; grid-area: 1 / 2; margin-top: 11.611px; }
.site-header .site-header__nav ul { flex-wrap: wrap; gap: 6px 0; }
.site-header .site-header__nav li { font-size: .875rem; line-height: 1.8; letter-spacing: var(--tracking-body); }
.site-header .site-header__nav li:not(:last-child) { padding-right: 14.36px; }
.site-header .site-header__nav li::before { width: .56px; height: 1em; margin-right: 19.52px; flex-shrink: 0; background: var(--ink); }
.site-header .site-header__nav li:last-child::after { width: .56px; height: 1em; margin-left: 14.36px; flex-shrink: 0; background: var(--ink); }
.site-header .menu-toggle,
.site-header .menu-close { position: absolute; z-index: 3; top: 51.385px; right: 69.5px; display: grid; align-content: space-between; width: 56.471px; height: 46.171px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.site-header .menu-toggle__line { width: 100%; height: 1px; background: #a19f93; }
.site-header .menu-toggle.is-open .menu-toggle__line:first-child,
.site-header .menu-close .menu-toggle__line:first-child { transform: translateY(14.5855px) rotate(45deg); }
.site-header .menu-toggle.is-open .menu-toggle__line:nth-child(3),
.site-header .menu-close .menu-toggle__line:nth-child(3) { transform: translateY(-14.5855px) rotate(-45deg); }
.site-header .menu-close .menu-toggle__line:nth-child(2) { opacity: 0; }
.site-header .menu-toggle[aria-expanded="true"] { visibility: hidden; }
.site-header .mobile-menu[hidden] { display: none; }
.site-header .mobile-menu { position: fixed; inset: 0; z-index: 2; display: block; padding: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 80px 16px; background: var(--paper); opacity: 1; transition: none; }
.site-header .mobile-menu__brand { position: absolute; top: 49.027px; left: max(32px, calc((100% - 1155px) / 2 + 40.682px)); width: 73.144px; }
.site-header .mobile-menu .menu-close { position: fixed; top: 50.991px; right: max(24px, calc((100vw - 1155px) / 2 + 69.5px)); }
.site-header .mobile-menu__groups { display: grid; grid-template-columns: 170px 182px 176px minmax(0, 1fr); gap: 28.7px; width: min(760px, calc(100% - 80px)); margin: 222px auto 80px; }
.site-header .mobile-menu__group { min-width: 0; }
.site-header .mobile-menu__title { margin: 0 0 12px; font-size: 1rem; line-height: 2; font-weight: 500; letter-spacing: var(--tracking-body); }
.site-header .mobile-menu ul { width: auto; }
.site-header .mobile-menu li { margin: 0; }
.site-header .mobile-menu a { padding: 12px 0; border: 0; font-size: 1rem; line-height: 2; letter-spacing: var(--tracking-body); text-align: left; overflow-wrap: anywhere; }
.site-header .mobile-menu .mobile-menu__brand { padding: 0; }
.site-header .mobile-menu__group:not(:has(h2)) li:first-child a { padding-top: 0; }
.site-header .mobile-menu a[aria-current] { text-decoration: underline; text-underline-offset: .25em; }
.site-footer.site-footer { height: auto; min-height: 0; padding-bottom: 0; overflow: visible; }
/* /P0 is the native vector repeat extracted from P1/P5, not a page image. */
.site-footer .site-footer__linebar { position: relative; inset: auto; width: 100%; height: 80.841px; max-width: none; transform: none; clip-path: none; overflow: hidden; background: url('../images/site-shell/footer-pattern-1102.svg') repeat 159.702px 85.164px / 211.219px 211.219px; }
.site-footer .site-footer__inner { display: grid; grid-template-columns: 408.768px 236.405px 322.396px; grid-template-rows: auto auto auto; gap: 0 22.5px; width: min(1012.569px, calc(100% - 64px)); left: 6.2845px; margin-inline: auto; padding: 85.093px 0 100px; }
.site-footer .site-footer__identity { grid-column: 1; grid-row: 1; min-width: 0; padding: 0; }
.site-footer .site-footer__brand { position: relative; left: -3.094px; display: block; width: 182.037px; max-width: 100%; }
.site-footer .site-footer__logo { width: 100%; max-width: 100%; height: auto; margin: 0; }
.site-footer address { margin-top: 32px; font-size: 1rem; line-height: 1.6875; letter-spacing: .04em; }
.site-footer address strong { font-size: 1rem; }
.site-footer address a { text-decoration: none; }
.site-footer .site-footer__contact { display: flex; grid-column: 2; grid-row: 1; min-width: 0; padding: 113.118px 0 0; align-items: flex-start; flex-direction: column; }
.site-footer .site-footer__contact-button { justify-content: center; min-width: 0; width: 183.645px; max-width: 100%; min-height: 44px; max-height: none; height: auto; padding: 6px 16px; margin: 0; font-size: 1rem; line-height: 1.7; text-align: center; white-space: normal; }
.site-footer .site-footer__instagram { max-width: 100%; margin-top: 31.546px; font-size: 1rem; line-height: 1.8; }
.site-footer .site-footer__instagram img { width: 27.93px; height: 27.93px; margin-right: 12px; }
.site-footer .site-footer__access { position: relative; grid-column: 3; grid-row: 1 / 4; align-self: start; min-width: 0; margin: 0; padding-top: 3.62px; }
.site-footer .site-footer__map { display: block; width: 100%; height: auto; margin: 0; transform: none; }
.site-footer .site-footer__map-link { display: block; font-size: .75rem; line-height: 1.6; text-align: right; text-decoration: none; }
.site-footer .site-footer__map-caption { display: block; margin-top: 7px; }
.site-footer .footer-nav--desktop { grid-column: 1 / 3; grid-row: 2; align-self: start; margin: 20px 0 0; }
.site-footer .footer-nav ul { flex-wrap: wrap; gap: 8px 14px; }
.site-footer .footer-nav li { font-size: .875rem; letter-spacing: .07em; }
.site-footer .footer-nav li::before { margin-right: 14px; }
.site-footer .footer-nav li:last-child::after { margin-left: 14px; }
.site-footer .footer-nav--mobile { display: none; }
.site-footer .site-footer__copyright { position: relative; left: -6.2845px; grid-column: 1 / -1; grid-row: 3; margin: 44px 0 0; font-family: inherit; font-size: .75rem; line-height: 1.5; letter-spacing: .05em; text-align: center; }
@media (min-width: 1200px) {
  .site-header .mobile-menu__groups { margin-left: calc(50% - 344.62px); margin-right: auto; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .site-header .site-header__inner { grid-template-columns: minmax(0, 1fr) 56.471px; }
  .site-header .site-header__nav { display: none; }
  .site-header .menu-toggle { right: 0; }
  .subpage .site-header .site-header__logo { left: 0; }
  .site-footer .site-footer__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); column-gap: 24px; left: 0; }
  .site-footer .site-footer__copyright { left: 0; }
}
@media (max-width: 767px) {
  .site-header .site-header__inner { display: block; width: 100%; min-height: 0; padding: 26.454px 0 20.6px; }
  .page-top .site-header .site-header__inner { min-height: var(--site-header-space); }
  .site-header .site-header__logo { top: auto; left: 21.836px; width: 73.144px; }
  .page-top .site-header .site-header__logo { top: 26.746px; left: 23.834px; width: 149.679px; }
  .site-header .site-header__nav { display: none; }
  .site-header .menu-toggle,
  .site-header .menu-close { top: 15.112px; right: 16.6865px; width: 44px; height: 44px; padding: 11.635px 8.3135px; }
  .site-header .menu-toggle.is-open .menu-toggle__line:first-child,
  .site-header .menu-close .menu-toggle__line:first-child { transform: translateY(9.865px) rotate(45deg); }
  .site-header .menu-toggle.is-open .menu-toggle__line:nth-child(3),
  .site-header .menu-close .menu-toggle__line:nth-child(3) { transform: translateY(-9.865px) rotate(-45deg); }
  .site-header .mobile-menu .menu-close { top: 17.481px; right: 18.901px; }
  .site-header .mobile-menu__brand { display: none; }
  .site-header .mobile-menu__groups { position: relative; left: 3.578px; display: block; width: min(220.306px, calc(100% - 64px)); margin: 70px auto 40px; }
  .site-header .mobile-menu__group { padding: 0 0 22.477px 51.575px; margin-bottom: 17px; border-bottom: 1px solid #dad9d0; }
  .site-header .mobile-menu__group:last-child { margin: 0; padding-bottom: 0; border: 0; }
  .site-header .mobile-menu__title { margin: 0 0 4px; font-size: 1rem; line-height: 2; }
  .site-header .mobile-menu a { min-height: 2rem; padding: .125rem 0; font-size: 1rem; line-height: 2; letter-spacing: var(--tracking-body); }
  .site-header .mobile-menu__group:not(:has(h2)) li:first-child a { padding-top: .125rem; }
  .site-footer .site-footer__linebar { height: 101.576px; border-top: 29.704px solid transparent; background-position: 41.47905px 75.72403px; background-size: 187.78425px 187.78425px; background-clip: padding-box; }
  .site-footer .site-footer__inner { display: flex; width: 100%; left: 0; padding: 31.096px 0 0; flex-direction: column; }
  .site-footer .site-footer__identity { padding: 0 31px; }
  .site-footer .site-footer__brand { left: -10.99px; width: 145.815px; margin-inline: auto; }
  .site-footer address { margin-top: 46px; font-size: .875rem; line-height: 1.714286; letter-spacing: .04em; }
  .site-footer address strong { font-size: .875rem; }
  .site-footer .site-footer__contact { padding: 33px 24px 0; align-items: center; }
  .site-footer .site-footer__contact-button { position: relative; left: -6.276px; }
  .site-footer .site-footer__instagram { position: relative; left: -4.5px; margin-top: 32.205px; }
  .site-footer .site-footer__instagram img { margin-right: 8.325px; }
  .site-footer .site-footer__copyright { left: 0; order: 2; margin: 31.796px 24px 0; font-size: .75rem; line-height: 1.5; letter-spacing: var(--tracking-body); }
  .site-footer .site-footer__access { order: 3; width: 100%; margin: 12px 0 0; padding: 0; }
  .site-footer .site-footer__map-caption { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .menu-toggle__line { transition: none; }
}

@media (min-width: 768px) and (max-height: 500px) {
  .site-header .mobile-menu__groups { margin-top: 140px; }
}

/* Keep footer actions right-aligned and navigation left-aligned. */
@media (min-width: 768px) {
  .site-footer .site-footer__contact { align-items: flex-end; }
  .site-footer .footer-nav ul { justify-content: flex-start; }
}

/* Align actions to the right edge of the information area beside the map. */
.site-footer__information { display: contents; }
@media (min-width: 768px) {
  .site-footer .site-footer__information { display: grid; grid-column: 1 / 3; grid-row: 1 / 3; grid-template-columns: minmax(0, 1fr) auto; column-gap: 22.5px; width: 100%; max-width: 100%; }
  .site-footer .site-footer__information .site-footer__contact { padding-right: 0; margin-right: 50px; }
  .site-footer .site-footer__information .footer-nav { grid-column: 1 / -1; }
}

/* Mobile review 01: keep the menu reachable and the shared footer centered. */
@media (max-width: 767px) {
  .site-header .menu-toggle { position: fixed; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px rgb(35 30 27 / 8%); }
  .site-footer .site-footer__identity { text-align: center; padding-inline: 20px; }
  .site-footer .site-footer__brand,
  .site-footer .site-footer__contact-button,
  .site-footer .site-footer__instagram { left: 0; }
}

/* Mobile review 04: only these final-card pages share the shorter footer gap. */
@media (max-width:767px) {
  :is(.page-work-contract,.page-work-cafe,.page-work-daily) footer.site-footer { margin-top:72px; }
}

/* Mobile review 06: complete side graphics, scoped to the three article headers. */
@media (max-width: 767px) {
  body.page-recruit-schedule main .schedule-heading::before {
    height: 220px; margin-top: -65px;
    background-image: url('../images/mobile-1106/sp_recruit_top_left.png'), url('../images/mobile-1106/sp_recruit_top_right.png');
    /* Keep the wider right graphic clear of the schedule subtitle at narrow widths. */
    background-position: left top, right clamp(40px, calc(244.55px - 54.55vw), 70px);
    background-size: clamp(85px, calc(45.45vw - 60.45px), 110px) auto, clamp(100px, calc(72.73vw - 132.73px), 140px) auto;
  }
  body:is(.page-recruit-crosstalk-01, .page-recruit-crosstalk-02) main :is(.crosstalk-one-title, .crosstalk-two-intro)::before {
    width: clamp(85px, calc(45.45vw - 60.45px), 110px); height: 220px; left: 0; top: 8px;
    background: url('../images/mobile-1106/sp_recruit_top_left.png') left top / 100% auto no-repeat;
  }
  body:is(.page-recruit-crosstalk-01, .page-recruit-crosstalk-02) main :is(.crosstalk-one-title, .crosstalk-two-intro)::after {
    width: clamp(100px, calc(72.73vw - 132.73px), 140px); height: 220px; right: 0; top: 8px;
    background: url('../images/mobile-1106/sp_recruit_top_right.png') right top / 100% auto no-repeat;
  }
  body.page-recruit-crosstalk-01 main .crosstalk-one-members > span:not(.crosstalk-one-times),
  body.page-recruit-crosstalk-02 main .crosstalk-two-people > span:not([aria-hidden]) { display: block; }
  body.page-recruit-crosstalk-01 main .crosstalk-one-times,
  body.page-recruit-crosstalk-02 main .crosstalk-two-people > span[aria-hidden="true"] { display: none; }
}
