/* September 2026 refinement: shared navigation, home narrative, recruitment guide.
   Loaded after legacy styles. New layouts use dedicated classes to isolate the cascade. */
:root { --header-offset: 100px; }
:target { scroll-margin-top: var(--header-offset); }
.site-header { background: rgba(255,255,255,.96); }
.site-header__inner { gap: 24px; }
.site-nav { gap: clamp(16px, 1.7vw, 28px); }
.site-nav > a span { font-size: 13px; letter-spacing: .04em; }
.site-nav > a em { font-size: 10px; letter-spacing: .13em; }
.site-nav a[aria-current="page"]::after { width: 100%; left: 0; background: var(--yellow-dim); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #946b00; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10001; padding: 12px 20px; background: white; color: var(--ink); transform: translateY(-200%); border: 2px solid var(--ink); }
.skip-link:focus { transform: none; }
.recruit-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 26px; padding: 15px 22px; background: var(--ink); color: white; border: 1px solid #626262; border-radius: 40px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 18px #0002; }
.recruit-fab span { color: var(--yellow); }
.recruit-fab:hover { background: #292929; }
.scroll-dot { right: 28px; bottom: 102px; background: white; border: 1px solid var(--ink-10); border-radius: 50%; visibility: hidden; }
.scroll-dot.is-visible { visibility: visible; }
.footer { padding-bottom: 112px; }
.home-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font: 800 12px/1.8 var(--ff-display); letter-spacing: .14em; margin-bottom: 26px; }
.home-kicker::before { content: ''; height: 8px; width: 8px; background: var(--yellow); flex-shrink: 0; }
.home-kicker span { font: 400 13px/1.8 var(--ff-sans); letter-spacing: .04em; }
.home-page .hero__inner--portal { min-height: max(760px, 100svh); padding-top: 150px; padding-bottom: 72px; }
.home-page .hero__foot { padding: 38px 0 50px; }
.home-page .hero--portal h1.hero__sub-jp { font: 900 clamp(38px, 4.25vw, 64px)/1.5 var(--ff-serif); letter-spacing: .03em; margin: 0 0 24px; text-shadow: 0 2px 12px #0004; }
.home-page .hero__sub-jp span { display: block; }
.home-hero-label { color: white; font: 800 12px/1.8 var(--ff-display); letter-spacing: .18em; margin-bottom: 22px; }
.home-hero-lead { color: #fff; font-size: 16px; line-height: 2; margin-bottom: 28px; text-shadow: 0 1px 6px #0008; }
.home-page .hero--portal .hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 0; }
.home-page .hero__cta .btn { background: white; color: var(--ink); font-size: 14px; padding: 17px 26px; gap: 30px; }
.home-hero-vision { color: white; font-size: 14px; padding: 10px 0; border-bottom: 1px solid #fff8; }
.home-hero-vision span { margin-left: 18px; }
.home-page .hero--portal .hero-bg__overlay { background: linear-gradient(90deg,rgba(0,0,0,.66),rgba(0,0,0,.16)),linear-gradient(0deg,rgba(0,0,0,.65),transparent 60%); }
.home-page .hero-links { gap: 0; border-top: 1px solid #ffffff6b; }
.home-page .hero-links a { align-items: stretch; text-align: left; justify-content: center; background: #1117; color: white; border: 0; border-radius: 0; box-shadow: none; padding: 22px 25px; min-height: 92px; transition: background .2s; }
.home-page .hero-links a + a { border-left: 1px solid #fff4; }
.home-page .hero-links a:hover { background: #ffffff25; transform: none; }
.home-page .hero-links a em { color: #eee; opacity: 1; font-size: 11px; letter-spacing: .12em; }
.home-page .hero-links a span { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.home-page .hero-links a b { color: var(--yellow); font-weight: 400; }
.hero-video-toggle { position: absolute; bottom: 18px; left: max(32px, calc((100% - 1216px) / 2)); z-index: 3; display: flex; gap: 18px; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid #fff8; border-radius: 24px; color: white; background: #0006; font-size: 12px; }
.hero-video-toggle[hidden] { display: none; }
.home-about, .home-business, .home-recruit { padding: 104px 32px; }
.home-about__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.home-about h2, .home-business h2 { font: 900 clamp(32px, 3.2vw, 46px)/1.6 var(--ff-serif); letter-spacing: .025em; }
.home-about__copy p { font-size: 16px; line-height: 2.15; margin: 0 0 20px; color: var(--ink-60); }
.home-text-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; border-bottom: 1px solid var(--ink-20); padding: 12px 0; font-size: 14px; font-weight: 700; }
.home-text-link:hover { border-color: var(--ink); }
.home-text-link span, .home-text-link b { font-size: 22px; font-weight: 400; }
.home-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 64px; border-top: 1px solid var(--ink-10); border-bottom: 1px solid var(--ink-10); }
.home-facts > a { display: flex; flex-direction: column; padding: 28px; gap: 12px; transition: background .2s; }
.home-facts > a:first-child { padding-left: 0; }
.home-facts > a + a { border-left: 1px solid var(--ink-10); }
.home-facts > a:hover { background: var(--cream); }
.home-facts__label { font-size: 14px; font-weight: 700; }
.home-facts strong { font: 800 68px/1.35 var(--ff-display); letter-spacing: -.045em; }
.home-facts strong small { font: 700 16px/1.5 var(--ff-sans); letter-spacing: 0; margin-left: 12px; }
.home-facts strong.home-facts__place { font: 900 clamp(23px,2.4vw,34px)/1.35 var(--ff-serif); min-height: 92px; display: flex; align-items: center; letter-spacing: .02em; }
.home-facts__note { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-60); }
.home-facts__note b { font-size: 20px; font-weight: 400; }
.home-business { background: var(--cream); }
.home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.home-business__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.home-story { background: white; border: 1px solid var(--ink-10); display: flex; flex-direction: column; }
.home-story__image { position: relative; overflow: hidden; aspect-ratio: 1.5; }
.home-story__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-story:hover img { transform: scale(1.035); }
.home-story__image > span { position: absolute; bottom: 0; left: 0; padding: 12px 24px; background: white; font: 800 12px/1.5 var(--ff-display); letter-spacing: .14em; }
.home-story__body { padding: 28px 32px 32px; flex: 1; }
.home-story__label { font-size: 13px; color: var(--ink-40); margin-bottom: 12px; }
.home-story h3 { font: 900 clamp(21px,2vw,28px)/1.6 var(--ff-serif); margin-bottom: 14px; }
.home-story__body > p:not(.home-story__label) { font-size: 16px; color: var(--ink-60); line-height: 1.95; }
.home-story .home-text-link { width: 100%; margin-top: 22px; }
.home-group-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; margin-top: 28px; border-top: 1px solid #cdd1d1; border-bottom: 1px solid #cdd1d1; }
.home-group-link > span:first-child { font-size: 18px; font-weight: 700; }
.home-group-link small { display: block; font: 800 11px/2 var(--ff-display); letter-spacing: .14em; color: var(--ink-40); }
.home-group-link > span:last-child { font-size: 14px; flex-shrink: 0; }
.home-group-link b { font-size: 22px; margin-left: 24px; font-weight: 400; }
.home-recruit__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.home-recruit__image { min-width: 0; }
.home-recruit__image img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 2px 64px 2px 2px; }
.home-recruit h2 { font: 900 clamp(29px,2.8vw,42px)/1.65 var(--ff-serif); letter-spacing: .02em; margin-bottom: 24px; }
.home-recruit h2 em { background: linear-gradient(transparent 76%,var(--yellow) 76%); }
.home-recruit__copy > p:not(.home-kicker) { font-size: 16px; line-height: 2; color: var(--ink-60); }
.home-recruit__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.home-recruit__tags span { padding: 5px 12px; border: 1px solid var(--ink-10); border-radius: 3px; font-size: 12px; }
.home-recruit .btn { gap: 36px; font-size: 14px; }
.home-page .news { background: var(--cream); padding: 88px 32px; }
.home-page .news__head { display: flex; align-items: baseline; justify-content: flex-start; gap: 24px; }
.home-heading-ja { font-size: 14px; }
.home-page .sitemap .home-heading-ja { margin: -12px 0 36px; }
.home-page .news-item__title { font-size: 16px; line-height: 1.8; }
.home-page .news-item__date { font-size: 13px; }
.recruit-guide { padding: 48px 32px; background: var(--cream); border-bottom: 1px solid var(--ink-10); }
.recruit-guide__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.recruit-guide .home-kicker { margin-bottom: 8px; }
.recruit-guide h2 { font: 900 clamp(24px,2.5vw,32px)/1.6 var(--ff-serif); }
.recruit-guide__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.recruit-guide__links a { display: flex; align-items: center; padding: 18px 22px; gap: 14px; background: white; border: 1px solid #d6dada; font-size: 15px; font-weight: 700; }
.recruit-guide__links a:hover { border-color: var(--ink); }
.recruit-guide__links span { color: var(--ink-40); font: 800 12px var(--ff-display); }
.recruit-guide__links b { margin-left: auto; font-weight: 400; }
.recruit-schools { margin-top: 30px; border: 1px solid #d6dada; background: white; }
.recruit-schools > summary { cursor: pointer; padding: 22px 24px; font-size: 16px; font-weight: 700; }
.recruit-schools > summary span { font-size: 13px; font-weight: 400; margin-left: 20px; color: var(--ink-60); }
.recruit-schools .schools { padding: 0 24px 24px; margin: 0; }
.entry-intro { color: #eee; font-size: 16px; line-height: 2; margin: 26px 0; }
.cta__actions { flex-wrap: wrap; }
.cta__info a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .site-header .site-nav { display: none; }
  .site-header__burger { display: flex; }
  .site-header.site-header--nav-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: white !important; }
  .site-header .site-nav.site-nav--open { display: flex !important; position: fixed; inset: 0 !important; height: auto !important; width: auto !important; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0 !important; padding: 88px 24px 32px !important; background: white !important; overflow-y: auto; z-index: 99; }
  .site-header .site-nav.site-nav--open > a { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 4px !important; border-bottom: 1px solid var(--ink-10) !important; }
  .site-header .site-nav.site-nav--open > a span { font-size: 16px !important; }
  .site-header .site-nav.site-nav--open > a em { font-size: 11px; }
  .site-header .site-nav.site-nav--open > a.site-nav__cta { justify-content: center; min-height: 54px; margin-top: 20px; padding: 16px 20px !important; background: var(--ink) !important; color: white !important; box-shadow: none; }
  .site-header .site-nav.site-nav--open > a.site-nav__cta span { color: white !important; }
  .site-header--nav-open .brand, .site-header--nav-open .site-header__burger { position: relative; z-index: 101; }
  .site-header__burger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header__burger--active span:nth-child(2) { opacity: 0; }
  .site-header__burger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .home-about__intro, .home-recruit__grid { gap: 40px; }
  .home-facts > a { padding: 24px 16px; }
  .home-facts strong { font-size: 56px; }
  .home-facts strong.home-facts__place { min-height: 76px; }
  .home-facts strong small { font-size: 14px; margin-left: 8px; }
}
@media (max-width: 768px) {
  :root { --header-offset: 80px; }
  .home-page .hero__inner--portal { min-height: max(760px, 100svh); padding: 130px 24px 72px; }
  .home-page .hero--portal h1.hero__sub-jp { font-size: clamp(29px,5.2vw,40px) !important; line-height: 1.6; margin-bottom: 20px; }
  .home-page .hero__foot { padding: 28px 0 40px; }
  .home-hero-label { font-size: 11px; margin-bottom: 16px; }
  .home-hero-lead { font-size: 14px; line-height: 2; }
  .home-page .hero--portal .hero__cta { gap: 16px; }
  .home-page .hero--portal .hero__cta .btn { font-size: 13px; padding: 15px 20px; }
  .home-hero-vision { font-size: 13px; }
  .home-hero-vision span { margin-left: 10px; }
  .home-page .hero-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-page .hero-links a { min-height: 78px; padding: 16px; }
  .home-page .hero-links a:nth-child(3) { border-left: none; }
  .home-page .hero-links a:nth-child(n+3) { border-top: 1px solid #fff4; }
  .home-page .hero-links a span { font-size: 14px; }
  .home-page .hero-links a em { font-size: 10px; }
  .hero-video-toggle { left: 24px; }
  .home-about, .home-business, .home-recruit { padding: 64px 24px; }
  .home-kicker { margin-bottom: 20px; gap: 12px; font-size: 11px; }
  .home-about__intro, .home-business__grid, .home-recruit__grid { grid-template-columns: 1fr; gap: 28px; }
  .home-about h2, .home-business h2 { font-size: 32px; }
  .home-about__copy p { line-height: 2; }
  .home-facts { grid-template-columns: 1fr; margin-top: 36px; }
  .home-facts > a, .home-facts > a:first-child { padding: 22px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 18px; }
  .home-facts > a + a { border-left: none; border-top: 1px solid var(--ink-10); }
  .home-facts strong { grid-column: 2; grid-row: 1 / 3; font-size: 48px; }
  .home-facts strong.home-facts__place { font-size: 25px; min-height: 0; }
  .home-facts strong small { display: block; text-align: right; font-size: 12px; }
  .home-facts__label { font-size: 13px; }
  .home-facts__note { font-size: 12px; }
  .home-section-head { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .home-story__body { padding: 24px; }
  .home-story h3 { font-size: 22px; }
  .home-group-link { align-items: flex-start; flex-direction: column; gap: 16px; }
  .home-group-link > span:first-child { font-size: 16px; }
  .home-recruit__image img { aspect-ratio: 1.3; border-radius: 2px 44px 2px 2px; }
  .home-recruit h2 { font-size: 32px; }
  .home-page .news { padding: 64px 24px; }
  .recruit-guide { padding: 32px 24px; }
  .recruit-guide__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .recruit-guide__head > .btn { font-size: 14px; }
  .recruit-guide__links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .recruit-guide__links a { padding: 16px 12px; gap: 8px; font-size: 13px; }
  .recruit-guide__links span { font-size: 10px; }
  .recruit-schools > summary span { display: block; margin: 6px 0 0; }
  .recruit-fab { right: 16px; bottom: 16px; font-size: 13px; gap: 18px; padding: 12px 18px; }
}
@media (max-width: 380px) {
  .home-page .hero__inner--portal { padding-left: 16px; padding-right: 16px; }
  .home-page .hero--portal h1.hero__sub-jp { font-size: 27px !important; }
  .home-page .hero-links a { padding: 14px 10px; }
  .home-page .hero-links a span { font-size: 13px; }
  .home-facts strong.home-facts__place { font-size: 21px; }
  .home-facts__note { font-size: 11px; }
  .hero-video-toggle { left: 16px; }
}
/* Recruitment: keep conditions open, reduce the long-page reading burden. */
.recruit-page main > .section { padding-top: 80px; padding-bottom: 80px; }
.recruit-page .section__title { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.6; }
.recruit-page .benefits__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.recruit-page .benefit { padding: 32px; background: white; }
.recruit-page .benefit p { font-size: 15px; line-height: 1.9; }
.recruit-page .sub-hero__title em { display: inline-block; }
@media (max-width: 900px) {
  .recruit-page .benefits__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .recruit-page main > .section { padding-top: 52px; padding-bottom: 52px; }
  .recruit-page .benefits__grid { grid-template-columns: 1fr; }
  .recruit-page .benefit { padding: 24px; }
  .recruit-page .sub-hero__title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-line { opacity: 1 !important; transform: none !important; }
}
