/* JUNKBRANDING Careers — 05-recruitment
   Palette (5): ink / paper / mute / signal blue / note yellow
   Type (2): Archivo (Latin display + UI, variable width) / Noto Sans JP (Japanese) */

:root {
  --ink: #111216;
  --paper: #f1f2ee;
  --mute: #5b5f67;
  --blue: #1f33f5;
  --yellow: #ffd027;

  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 70%, transparent);
  --paper-line: color-mix(in srgb, var(--paper) 22%, transparent);

  --font: "Archivo", "Noto Sans JP", system-ui, sans-serif;
  --font-ja: "Noto Sans JP", "Archivo", system-ui, sans-serif;

  --pad: clamp(1rem, 4vw, 3rem);
  --max: 90rem;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --header-h: 4rem;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 0.375rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-ink :focus-visible,
.on-blue :focus-visible { outline-color: var(--yellow); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(4rem, 10vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section--ink + .section,
.section + .section--ink,
.section--blue + .section,
.section + .section--blue { border-top: 0; }

.section--ink { background: var(--ink); color: var(--paper); }
.section--blue { background: var(--blue); color: var(--paper); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.stack { display: flex; flex-direction: column; gap: var(--stack, 1rem); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row, 0.75rem); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 0.6rem; height: 0.6rem;
  background: var(--blue);
  flex: none;
}
.on-blue .eyebrow::before,
.section--blue .eyebrow::before { background: var(--yellow); }

.display {
  font-family: var(--font);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.h1-ja,
.h2-ja,
.h3-ja {
  font-family: var(--font-ja);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-wrap: balance;
  font-feature-settings: "palt" 1;
}
.h1-ja { font-size: clamp(2rem, 6.4vw, 5.25rem); line-height: 1.18; }
.h2-ja { font-size: clamp(1.625rem, 4vw, 3rem); line-height: 1.3; }
.h3-ja { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; font-weight: 700; }

.lead {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.9;
  max-width: 40em;
  text-wrap: pretty;
}
.prose { max-width: 38em; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.muted { color: var(--mute); }
.on-ink .muted,
.section--ink .muted { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.small { font-size: 0.875rem; line-height: 1.7; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Disclaimer bar ---------- */
.notice {
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 500;
}
.notice .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.5rem;
}
.notice strong {
  font-family: var(--font);
  font-stretch: 115%;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.6875rem;
  padding: 0.15rem 0.45rem;
  border: 1.5px solid var(--ink);
  flex: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  flex: none;
}
.brand__mark {
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav { display: none; }
.nav__list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.25rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--blue); }

.header-cta { display: none; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.menu-btn__bars { position: relative; width: 1.1rem; height: 0.7rem; }
.menu-btn__bars::before,
.menu-btn__bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 280ms var(--ease-out), top 280ms var(--ease-out);
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: calc(100% - 2px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: calc(50% - 1px); transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 420ms var(--ease-out), visibility 0s linear 420ms;
}
.mobile-nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 420ms var(--ease-out), visibility 0s;
}
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 1.5rem var(--pad) 2rem;
}
.mobile-nav__list li {
  border-bottom: 1px solid var(--paper-line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms + 80ms);
}
.mobile-nav.is-open .mobile-nav__list li { opacity: 1; transform: none; }
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  text-decoration: none;
}
.mobile-nav__list .en {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1;
}
.mobile-nav__list a { gap: 1rem; }
.mobile-nav__list .en { min-width: 0; font-size: clamp(1.5rem, 7.2vw, 2.5rem); }
.mobile-nav__list .ja { flex: none; white-space: nowrap; font-size: 0.8125rem; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.mobile-nav__list a[aria-current="page"] .en { color: var(--yellow); }
.mobile-nav__foot { padding: 0 var(--pad) 2.5rem; }

body.nav-locked { overflow: hidden; }

@media (min-width: 64em) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.35rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms, color 180ms, border-color 180ms, transform 180ms var(--ease-out);
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn:active { transform: translateY(1px); }
.btn--blue { background: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--sm { min-height: 2.5rem; padding: 0 1rem; font-size: 0.8125rem; }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.on-ink .btn--ghost,
.section--ink .btn--ghost,
.section--blue .btn--ghost { color: var(--paper); border-color: var(--paper); }
.on-ink .btn--ghost:hover,
.section--ink .btn--ghost:hover,
.section--blue .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn .arrow { transition: transform 220ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.1rem;
}
.text-link:hover { color: var(--blue); }
.section--ink .text-link:hover,
.section--blue .text-link:hover { color: var(--yellow); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.tag--blue { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.tag--fiction {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  font-stretch: 112%;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 2px;
}

/* ---------- Photo reveal ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption,
.caption {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--mute);
  margin-top: 0.6rem;
}
figure.photo-fig figcaption { margin-top: 0.6rem; }

.js .reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.08);
  transition:
    clip-path 1000ms var(--ease-out) var(--d, 0ms),
    transform 1400ms var(--ease-out) var(--d, 0ms);
}
.js .reveal.is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.hero__title { margin-block: clamp(1.5rem, 4vw, 2.5rem); }
.hero__title span { display: block; }
.hero__title .hl { color: var(--blue); }
.hero__body { display: grid; gap: 2rem; }
.hero__photo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

@media (min-width: 64em) {
  .hero__body { grid-template-columns: 5fr 7fr; align-items: end; }
  .hero__photo { aspect-ratio: 3 / 2; }
}

/* ---------- Products strip ---------- */
.products {
  display: grid;
  border-top: 2px solid var(--ink);
}
.product {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.product__name { font-weight: 900; font-stretch: 125%; font-size: 1.5rem; line-height: 1; }
.product__fact { font-weight: 700; color: var(--blue); font-size: 0.875rem; }
@media (min-width: 48em) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .product { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 0; }
  .product + .product { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* ---------- Role switcher (signature) ---------- */
.roles__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.roles__layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }

.roles__tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  padding-bottom: 0.25rem;
}
.roles__tabs::-webkit-scrollbar { display: none; }

.role-tab {
  position: relative;
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 2px solid var(--paper-line);
  border-radius: 999px;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  cursor: pointer;
  text-align: left;
  transition: color 240ms var(--ease-out), border-color 240ms, background-color 240ms;
}
.role-tab__en {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: 0.9375rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.role-tab__count {
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.role-tab:hover { color: var(--paper); }
.role-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

@media (min-width: 64em) {
  .roles__head { grid-template-columns: 5fr 7fr; align-items: end; }
  .roles__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .roles__tabs {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--paper-line);
  }
  .role-tab {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0;
    border: 0;
    border-bottom: 1px solid var(--paper-line);
    border-radius: 0;
    color: color-mix(in srgb, var(--paper) 34%, transparent);
  }
  .role-tab__en { font-size: clamp(2rem, 3.6vw, 4.25rem); line-height: 0.95; min-width: 0; }
  .role-tab__count { font-size: 0.875rem; }
  .role-tab::before {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 100%; height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 420ms var(--ease-out);
  }
  .role-tab[aria-selected="true"] { background: transparent; color: var(--paper); }
  .role-tab[aria-selected="true"]::before { transform: scaleX(1); }
  .role-tab[aria-selected="true"] .role-tab__count { color: var(--yellow); }
}

.role-panel { display: grid; gap: 1.5rem; }
.role-panel__photo { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.role-panel__photo img {
  transition: opacity 260ms var(--ease-io), transform 700ms var(--ease-out);
}
.role-panel__body > * { transition: opacity 220ms var(--ease-io), transform 360ms var(--ease-out); }
.role-panel.is-switching .role-panel__photo img { opacity: 0; transform: scale(1.04); }
.role-panel.is-switching .role-panel__body > * { opacity: 0; transform: translateY(10px); }
.role-panel__builds { font-family: var(--font-ja); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.8; font-weight: 500; }
.role-panel__owns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.role-panel__owns li {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  font-size: 0.8125rem;
}
.role-panel dl { display: grid; gap: 0.75rem; }
.role-panel dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.role-panel dd { font-size: 0.9375rem; }

/* ---------- Section heads ---------- */
.sec-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.sec-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
}

/* ---------- People ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) var(--gap);
}
.people-grid--scroll {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(15rem, 72vw);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--pad) * -1);
  padding: 0 var(--pad) 1rem;
  scrollbar-width: thin;
}
.people-grid--scroll > * { scroll-snap-align: start; }
@media (min-width: 48em) {
  .people-grid--scroll { grid-auto-columns: minmax(16rem, 32vw); }
}
@media (min-width: 64em) {
  .people-grid--scroll {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
  }
}

.person {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 560ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.no-js .person { opacity: 1; transform: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

.person__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.person__photo img { transition: transform 600ms var(--ease-out); }
.person:hover .person__photo img,
.person:focus-within .person__photo img { transform: scale(1.04); }
.person__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; }
.person__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: 0.8125rem; color: var(--mute); }
.person__name { font-family: var(--font-ja); font-weight: 700; font-size: 1.0625rem; }
.person__name a { text-decoration: none; }
.person__name a::after { content: ""; position: absolute; inset: 0; }
.person__headline {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.person:hover .person__headline { color: var(--blue); }

/* ---------- Filters ---------- */
.filter-bar {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-group legend,
.field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip__count { font-size: 0.75rem; font-variant-numeric: tabular-nums; opacity: 0.7; }

@media (min-width: 64em) {
  .filter-bar--jobs { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); align-items: end; }
}

/* ---------- Form controls ---------- */
.input,
.select,
.textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 160ms, box-shadow 160ms;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent);
}
.textarea { min-height: 9rem; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
.search { position: relative; }
.search .input { padding-left: 2.75rem; }
.search__icon {
  position: absolute;
  left: 0.9rem; top: 50%;
  width: 1.1rem; height: 1.1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ---------- Jobs list ---------- */
.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-block: 2rem 1rem;
}
.results-count { font-weight: 700; }
.results-count .num { font-size: 1.5rem; font-stretch: 115%; font-weight: 900; color: var(--blue); }

.job-list { border-top: 2px solid var(--ink); transition: opacity 160ms var(--ease-io); }
.job-list.is-updating { opacity: 0.35; }
.job-row {
  position: relative;
  display: grid;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  animation: rowIn 360ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.job-row__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  line-height: 1.45;
}
.job-row__title a { text-decoration: none; }
.job-row__title a::after { content: ""; position: absolute; inset: 0; }
.job-row__focus { display: block; font-size: 0.875rem; font-weight: 500; color: var(--mute); margin-top: 0.15rem; }
.job-row__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.job-row__arrow {
  display: none;
  width: 2.75rem; height: 2.75rem;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 200ms, color 200ms, border-color 200ms, transform 300ms var(--ease-out);
}
.job-row:hover .job-row__title,
.job-row:focus-within .job-row__title { color: var(--blue); }
.job-row:hover .job-row__arrow { background: var(--blue); border-color: var(--blue); color: var(--paper); transform: translateX(4px); }
mark { background: var(--yellow); color: var(--ink); padding: 0 0.1em; }

@media (min-width: 48em) {
  .job-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .job-row__meta { grid-column: 1; }
  .job-row__arrow { display: grid; grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 64em) {
  .job-row { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) auto; padding: 1.5rem 0; }
  .job-row__meta { grid-column: auto; }
  .job-row__arrow { grid-column: auto; grid-row: auto; }
}

.empty {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  margin-top: 1rem;
}
.empty__title { font-family: var(--font-ja); font-weight: 900; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; }

/* ---------- Stage bar (which process the role owns) ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.stage {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.6rem;
  border-radius: 3px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 4.5rem;
  align-content: space-between;
}
.stage__state { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; }
.stage--lead { background: var(--blue); color: var(--paper); }
.stage--join {
  background: repeating-linear-gradient(-45deg, transparent 0 6px, color-mix(in srgb, var(--blue) 14%, transparent) 6px 8px);
  border: 1.5px solid var(--blue);
  color: var(--ink);
}
.stage--none { background: transparent; border: 1.5px dashed var(--line-strong); color: var(--mute); }
.stage-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.75rem; color: var(--mute); margin-top: 0.75rem; }
.stage-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.stage-legend i { width: 0.9rem; height: 0.9rem; border-radius: 2px; display: inline-block; }
.stage-legend .l { background: var(--blue); }
.stage-legend .j { border: 1.5px solid var(--blue); }
.stage-legend .n { border: 1.5px dashed var(--line-strong); }

/* ---------- Detail pages ---------- */
.breadcrumb {
  padding-block: 1.25rem 0;
  font-size: 0.8125rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; color: var(--mute); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--ink); }

.page-head { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 2px solid var(--ink); }
.page-head__display,
.page-head__en { font-size: clamp(2rem, 9vw, 9.5rem); line-height: 0.9; color: var(--blue); overflow-wrap: anywhere; }
.page-head .lead { max-width: 46rem; }
.crumb-bar { padding-block: 1.25rem 0; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
}

.principles,
.offices { list-style: none; margin: 0; padding: 0; }

.menu-btn__label { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; }
@media (max-width: 29.99em) {
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand__sub, .header-cta { display: none !important; }
  .menu-btn { flex: none; margin-left: auto; }
}

.card--yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.filter-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.filter-search { flex: 1 1 18rem; }
.filter-loc { flex: 0 1 14rem; }
.filter-label {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.entry { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.entry__aside { align-content: start; }
@media (min-width: 64em) {
  .entry { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
  .entry__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); order: 2; }
}
.form__row { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 48em) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__submit { padding-top: 0.5rem; }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.field__count { flex: none; font-size: 0.8125rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.field__count.is-over { color: var(--blue); font-weight: 700; }
.error-summary__title { font-weight: 800; font-family: var(--font-ja); }
.page-head__grid { display: grid; gap: 1.25rem; }
@media (min-width: 64em) {
  .page-head__grid { grid-template-columns: 5fr 7fr; align-items: end; }
}

.detail { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.detail__aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 64em) {
  .detail { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.spec {
  display: grid;
  border-top: 2px solid var(--ink);
}
.spec > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.spec dt { font-weight: 700; font-size: 0.8125rem; color: var(--mute); }

.block + .block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.block__title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 0.7rem; height: 2px;
  background: var(--blue);
}
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: t; }
.timeline li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline .t { font-weight: 800; font-stretch: 115%; font-variant-numeric: tabular-nums; color: var(--blue); }

.card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
}
.card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Interview ---------- */
.iv-hero { display: grid; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4rem); }
.iv-hero__portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); max-width: 34rem; }
.iv-hero__quote {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(1.75rem, 4.6vw, 3.75rem);
  line-height: 1.3;
  text-wrap: balance;
  font-feature-settings: "palt" 1;
}
.iv-hero__quote::before { content: "“"; color: var(--blue); }
.iv-hero__quote::after { content: "”"; color: var(--blue); }
@media (min-width: 64em) {
  .iv-hero { grid-template-columns: 5fr 7fr; align-items: end; }
}

.qa { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.qa__item { display: grid; gap: 0.9rem; }
.qa__q {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  line-height: 1.5;
  display: flex;
  gap: 0.75rem;
}
.qa__q::before { content: "Q"; font-family: var(--font); font-stretch: 125%; color: var(--blue); flex: none; }
.qa__a { font-family: var(--font-ja); line-height: 2; text-wrap: pretty; }
.iv-photo { aspect-ratio: 3 / 2; border-radius: var(--radius); }

.pager { display: grid; gap: var(--gap); border-top: 2px solid var(--ink); }
.pager a {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.pager a:hover .pager__name { color: var(--blue); }
.pager__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.pager__name { font-family: var(--font-ja); font-weight: 700; font-size: 1.125rem; }
@media (min-width: 48em) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager a:last-child { text-align: right; }
}

/* ---------- Culture ---------- */
.principle {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.principle:first-child { border-top: 2px solid var(--ink); }
.principle__en { font-size: clamp(1.75rem, 5vw, 3.75rem); color: var(--blue); }
.principle__photo { aspect-ratio: 3 / 2; border-radius: var(--radius); }
@media (min-width: 64em) {
  .principle { grid-template-columns: 7fr 5fr; align-items: center; }
  .principle:nth-child(even) .principle__photo { order: -1; }
}

.not-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); }
.not-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--paper-line);
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.4vw, 1.75rem);
  line-height: 1.4;
}
.not-list li::before { content: "×"; color: var(--yellow); font-family: var(--font); font-weight: 900; }

.rituals { display: grid; gap: var(--gap); }
.ritual { display: grid; gap: 0.5rem; padding: 1.25rem 0; border-top: 2px solid var(--ink); }
.ritual__when { font-weight: 800; font-stretch: 115%; color: var(--blue); font-size: 0.875rem; }
@media (min-width: 48em) { .rituals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .rituals { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Mosaic (dynamic grid) ---------- */
.mosaic {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mosaic > * { border-radius: var(--radius); }
.mosaic .m-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic .m-b, .mosaic .m-c { aspect-ratio: 1 / 1; }
@media (min-width: 48em) {
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(6rem, 11vw, 10rem); }
  .mosaic .m-a { grid-column: 1 / span 7; grid-row: span 3; aspect-ratio: auto; }
  .mosaic .m-b { grid-column: 8 / span 5; grid-row: span 2; aspect-ratio: auto; }
  .mosaic .m-c { grid-column: 8 / span 3; grid-row: span 1; aspect-ratio: auto; }
  .mosaic .m-note {
    grid-column: 11 / span 2;
    grid-row: span 1;
  }
}
.m-note {
  display: grid;
  place-content: center;
  padding: 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

/* ---------- Environment ---------- */
.office {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid var(--ink);
}
.office__city { font-size: clamp(2.5rem, 8vw, 6rem); }
.office__photo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
@media (min-width: 64em) {
  .office { grid-template-columns: 5fr 7fr; }
}
.benefits { display: grid; gap: var(--gap); }
@media (min-width: 48em) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80em) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { padding-top: 1.25rem; border-top: 2px solid var(--paper); }
.benefit h3 { margin-bottom: 1rem; }
.benefit .ticks li::before { background: var(--yellow); }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.25rem 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.process li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.875rem;
}
.process__step { font-family: var(--font-ja); font-weight: 700; display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: baseline; }
.process__dur { font-size: 0.75rem; font-weight: 700; color: var(--blue); }
@media (min-width: 64em) {
  .process { grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
  .process li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); align-content: start; }
  .process li::before { grid-row: auto; margin-bottom: 0.5rem; }
}

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-ja);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font); font-weight: 900; font-size: 1.25rem; line-height: 1; color: var(--blue); transition: transform 240ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; max-width: 44em; }

/* ---------- Entry form ---------- */
.form { display: grid; gap: 1.5rem; }
.form__grid { display: grid; gap: 1.5rem; }
@media (min-width: 48em) { .form__grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field__label { margin-bottom: 0; text-transform: none; letter-spacing: 0.02em; font-size: 0.875rem; display: flex; gap: 0.5rem; align-items: center; }
.req {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.05rem 0.4rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.opt { font-size: 0.6875rem; font-weight: 700; color: var(--mute); }
.field__hint { font-size: 0.8125rem; color: var(--mute); line-height: 1.6; }
.field__error {
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 3px;
}
.field__error::before { content: "!"; display: grid; place-items: center; flex: none; width: 1.1rem; height: 1.1rem; background: var(--ink); color: var(--yellow); border-radius: 50%; font-size: 0.75rem; }
.field.has-error .field__error { display: flex; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--ink); border-width: 2.5px; }

.choice-group { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.choice-group legend { padding: 0; margin-bottom: 0.5rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--blue); flex: none; }

.error-summary {
  padding: 1.25rem;
  border: 2.5px solid var(--ink);
  border-left-width: 0.75rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius);
}
.error-summary:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.error-summary ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.error-summary a { font-weight: 700; }

.success {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--blue);
  color: var(--paper);
  border-radius: var(--radius);
}
.success:focus { outline: 3px solid var(--yellow); outline-offset: 3px; }

.counter { font-size: 0.75rem; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--ink); font-weight: 800; background: var(--yellow); justify-self: end; padding: 0 0.35rem; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 1.5rem; }
.cta-band__title { font-size: clamp(2.5rem, 9vw, 8rem); }
@media (min-width: 64em) {
  .cta-band { grid-template-columns: 8fr 4fr; align-items: end; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.footer__mark {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(1.75rem, 8.2vw, 7.5rem);
  line-height: 0.85;
  white-space: nowrap;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow-wrap: anywhere;
}
.footer__grid { display: grid; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--paper-line); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.5rem; }
.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a:hover { color: var(--yellow); }
.footer__note { font-size: 0.8125rem; line-height: 1.7; color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 40em; }
@media (min-width: 64em) {
  .footer__grid { grid-template-columns: 4fr 4fr 4fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Status ---------- */
.loading { color: var(--mute); padding-block: 2rem; }
.load-error { padding: 1.5rem; border: 2px solid var(--ink); background: var(--yellow); border-radius: var(--radius); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal img { clip-path: none; transform: none; }
  .person { opacity: 1; transform: none; }
}

/* Keep the closing invitation inside narrow mobile layouts. */
.cta-band .stack { min-width: 0; }
.cta-band__title { overflow-wrap: anywhere; }

/* Responsive typography: preserve words, allow grid children to shrink. */
:where(main, section, article, figure, .grid) > * { min-width: 0; }
:where(h1, h2, h3) { line-break: strict; }
:where(p, li, dd, figcaption) { line-break: strict; }
:where(h1, h2, h3):lang(ja) { word-break: auto-phrase; overflow-wrap: anywhere; }
:where(p, figcaption):lang(ja) { text-wrap: pretty; }

.page-head__en { font-size: clamp(1.5rem, 6.5vw, 7rem); overflow-wrap: normal; word-break: normal; line-height: 1.05; }
.cta-band__title { font-size: clamp(2rem, 7.2vw, 6rem); overflow-wrap: normal; line-height: 1.05; }
.person__photo img, .iv-hero__portrait img { object-position: center 25%; }
@media (max-width: 47.99rem) {
  .h2-ja { font-size: clamp(1.5rem, 6.2vw, 2rem); line-height: 1.45; }
  .iv-hero__quote { font-size: clamp(1.5rem, 6.2vw, 2rem); line-height: 1.5; }
  .hero__photo, .office__photo { aspect-ratio: 4 / 3; }
  .iv-hero__portrait { width: min(100%, 26rem); margin-inline: auto; }
}

:where(p, li, dd, figcaption):lang(ja) { word-break: auto-phrase; overflow-wrap: anywhere; }
