/* ==========================================================================
   TOP: hero
   ========================================================================== */
.p-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

.p-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

/* The tiles of the image fade in one by one: white covers fade out */
.p-hero__tiles {
  pointer-events: none;
}

.p-hero__tiles rect {
  fill: var(--color-white);
  stroke: var(--color-white);
  stroke-width: 1px;
  animation: hero-tile-in 1.4s var(--ease) both;
}

.p-hero__tiles rect:nth-child(1) { animation-delay: 0.30s; }
.p-hero__tiles rect:nth-child(2) { animation-delay: 0.42s; }
.p-hero__tiles rect:nth-child(3) { animation-delay: 0.54s; }
.p-hero__tiles rect:nth-child(4) { animation-delay: 0.66s; }
.p-hero__tiles rect:nth-child(5) { animation-delay: 0.78s; }
.p-hero__tiles rect:nth-child(6) { animation-delay: 0.90s; }
.p-hero__tiles rect:nth-child(7) { animation-delay: 1.02s; }
.p-hero__tiles rect:nth-child(8) { animation-delay: 1.14s; }
.p-hero__tiles rect:nth-child(9) { animation-delay: 1.26s; }
.p-hero__tiles rect:nth-child(10) { animation-delay: 1.38s; }
.p-hero__tiles rect:nth-child(11) { animation-delay: 1.50s; }
.p-hero__tiles rect:nth-child(12) { animation-delay: 1.62s; }
.p-hero__tiles rect:nth-child(13) { animation-delay: 1.74s; }
.p-hero__tiles rect:nth-child(14) { animation-delay: 1.86s; }
.p-hero__tiles rect:nth-child(15) { animation-delay: 1.98s; }
.p-hero__tiles rect:nth-child(16) { animation-delay: 2.10s; }
.p-hero__tiles rect:nth-child(17) { animation-delay: 2.22s; }
.p-hero__tiles rect:nth-child(18) { animation-delay: 2.34s; }
.p-hero__tiles rect:nth-child(19) { animation-delay: 2.46s; }
.p-hero__tiles rect:nth-child(20) { animation-delay: 2.58s; }
.p-hero__tiles rect:nth-child(21) { animation-delay: 2.70s; }

.p-hero__tiles--sp {
  display: none;
}

@keyframes hero-tile-in {
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-hero__tiles {
    display: none;
  }
}

.p-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-bottom: 40px;
}

.p-hero__catch {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-hero__title {
  font-family: var(--font-mincho);
  font-size: 72px;
  font-weight: var(--fw-medium);
  line-height: 96px;
  letter-spacing: var(--ls-sm);
}

/* The catch copy appears one line at a time */
.p-hero__line {
  display: block;
  animation: hero-line-in 2s var(--ease) 0.3s both;
}

.p-hero__line:nth-child(2) { animation-delay: 1.2s; }
.p-hero__line:nth-child(3) { animation-delay: 2.1s; }

.p-hero__eyebrow {
  animation: hero-line-in 2s var(--ease) 3s both;
}

@keyframes hero-line-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-hero__line,
  .p-hero__eyebrow {
    animation: none;
  }
}

.p-hero__eyebrow {
  padding-left: 5px;
  font-family: var(--font-sans-en);
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-sm);
}

.p-hero__buttons {
  display: flex;
  gap: 8px;
}

.p-hero__buttons .c-button--recruit {
  backdrop-filter: blur(4px);
}

/* Narrow PC: scale the image by width rather than by the hero height, so the
   tiles stay clear of the copy; it grows back to the cover size by 1440px */
@media (min-width: 769px) and (max-width: 1439px) {
  .p-hero__img {
    inset: 0 0 auto auto;
    width: max(100%, min(max(100svh, 640px) * 1.8, 100% + (100vw - 1280px) * 3));
    max-width: none;
    height: auto;
    aspect-ratio: 1440 / 800;
  }
}

@media (max-width: 1079px) {
  .p-hero__title {
    font-size: 56px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .p-hero {
    height: min(100svh, 700px);
    min-height: 600px;
  }


  .p-hero__inner {
    gap: 40px;
    padding-bottom: 16px;
  }

  .p-hero__catch {
    gap: 16px;
  }

  .p-hero__title {
    font-size: 36px;
    line-height: 52px;
    letter-spacing: var(--ls-xs);
  }

  .p-hero__eyebrow {
    padding-left: 3px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .p-hero__buttons {
    flex-direction: column;
  }
}

/* Tablet: the upper-right part of the PC tile image */
@media (min-width: 481px) and (max-width: 768px) {
  .p-hero__img {
    inset: 0 0 auto auto;
    width: min(200%, 780px);
    max-width: none;
    height: auto;
    aspect-ratio: 1440 / 800;
  }
}

/* Phone: the SP tile image fills the hero */
@media (max-width: 480px) {
  .p-hero__tiles--pc {
    display: none;
  }

  .p-hero__tiles--sp {
    display: block;
  }
}

/* ==========================================================================
   TOP: about
   ========================================================================== */
.p-about {
  padding-block: 160px;
  background:
    url("/assets/img/top/about-bg.webp") center 112px / 100% auto no-repeat,
    var(--gradient-about);
}

@media (max-width: 768px) {
  .p-about {
    background-image: url("/assets/img/top/about-bg-1440.webp"), var(--gradient-about);
  }
}

.p-about__inner {
  display: flex;
  justify-content: space-between;
  gap: 120px;
}

.p-about__img {
  flex-shrink: 0;
  width: 50%;
  max-width: 600px;
}

.p-about__img img {
  width: 100%;
  aspect-ratio: 1;
}

.p-about__container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 64px;
  max-width: 480px;
}

.p-about__description {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-about__title {
  font-family: var(--font-mincho);
  font-size: 56px;
  font-weight: var(--fw-medium);
  line-height: 80px;
  letter-spacing: var(--ls-xs);
}

.p-about__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  line-height: 28px;
}

@media (max-width: 1279px) {
  .p-about__inner {
    gap: 64px;
  }

  /* Keep at least 400px for the text column on narrow PC widths */
  .p-about__img {
    width: min(50%, 100% - 464px);
  }

  .p-about__container {
    flex: 1;
    min-width: 0;
  }

  .p-about__title {
    font-size: 44px;
    line-height: 1.45;
  }
}

@media (max-width: 768px) {
  .p-about {
    padding-block: 80px;
    background-position: center 40px, 0 0;
    background-size: 200% auto, auto;
  }

  .p-about__inner {
    flex-direction: column;
    gap: 40px;
  }

  .p-about__img {
    width: 100%;
    max-width: 344px;
  }

  .p-about__container {
    align-items: stretch;
    gap: 40px;
    max-width: none;
  }

  .p-about__description {
    gap: 24px;
  }

  .p-about__body {
    margin-right: calc(var(--ls-lg) * -1);
  }

  .p-about__title {
    font-size: 32px;
    line-height: 1.5;
  }
}

/* ==========================================================================
   TOP: shared column layout (beliefs / data)
   ========================================================================== */
.p-section {
  padding-block: var(--section-pt) var(--section-pb);
}

.p-section__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.p-section__button {
  align-self: flex-end;
}

@media (max-width: 768px) {
  .p-section__inner {
    gap: 48px;
  }

  .p-section__button {
    align-self: stretch;
  }

  .p-beliefs .c-beliefs__item {
    padding-bottom: 40px;
  }

  .p-beliefs .c-beliefs__title {
    letter-spacing: 0;
  }

  .p-beliefs .c-beliefs__text {
    margin-right: calc(var(--ls-lg) * -1);
  }
}

/* ==========================================================================
   TOP: business
   ========================================================================== */
/* A phrase that wraps as one unit, so long headings break between phrases */
@media (max-width: 1439px) {
  .p-phrase {
    display: inline-block;
  }
}

.p-business {
  position: relative;
  padding-block: var(--section-pt) 64px;
}

/* Navy panel: from the left edge to 240px before the right edge (at 1440px) */
.p-business::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: max(0px, calc(50% - 480px));
  height: 570px;
  background: url("/assets/img/top/business-deco.svg") left top / 570px 570px no-repeat, var(--color-navy);
}

.p-business__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.p-business__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.p-business__item {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-business__img img {
  width: 100%;
  aspect-ratio: 580 / 387;
  border-radius: var(--radius);
  object-fit: cover;
}

.p-business__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-business__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-navy);
}

.p-business__label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-xs);
}

.p-business__title {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: var(--fw-medium);
  line-height: 40px;
  letter-spacing: var(--ls-xs);
}

.p-business__text {
  line-height: 28px;
}

.p-business__note {
  font-size: 12px;
  line-height: 20px;
}

.p-business__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.p-business__tag {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-pale);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: var(--ls-md);
}

@media (max-width: 768px) {
  .p-business {
    padding-bottom: 40px;
  }

  .p-business::before {
    right: 0;
    height: 390px;
    background-size: 390px 390px, auto;
  }

  .p-business__inner {
    gap: 48px;
  }

  .p-business__items {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .p-business__item {
    gap: 24px;
  }
}

/* ==========================================================================
   TOP: data
   ========================================================================== */
.p-data__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-data__row {
  display: grid;
  grid-template-columns: 380fr 440fr 380fr;
}

.p-data__row:not(:last-child) {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-line);
}

.p-data__row--2col {
  grid-template-columns: repeat(2, 1fr);
}

.p-data__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 8px;
  text-align: center;
}

.p-data__row--3col .p-data__item:nth-child(1) {
  padding-right: 60px;
}

.p-data__row--3col .p-data__item:nth-child(2) {
  padding-inline: 60px;
  border-inline: 1px solid var(--color-line);
}

.p-data__row--3col .p-data__item:nth-child(3) {
  padding-left: 60px;
}

.p-data__row--2col .p-data__item:nth-child(1) {
  padding-right: 60px;
  border-right: 1px solid var(--color-line);
}

.p-data__row--2col .p-data__item:nth-child(2) {
  padding-left: 60px;
}

.p-data__row--first .p-data__item {
  gap: 32px;
}

.p-data__label {
  font-size: 18px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-lg);
}

.p-data__label small {
  font-size: 12px;
}

.p-data__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.p-data__body--wide {
  gap: 24px;
}

.p-data__icon ~ .p-data__value + .p-data__note {
  margin-top: -4px;
}

.p-data__value {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-lg);
}

.p-data__num {
  font-family: var(--font-serif-en);
  font-size: 72px;
  font-weight: var(--fw-regular);
  line-height: 48px;
  letter-spacing: 0;
}

.p-data__num-sm {
  font-family: var(--font-serif-en);
  font-size: 22px;
  font-weight: var(--fw-semibold);
  line-height: 23px;
  letter-spacing: 0;
}

.p-data__note {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: var(--ls-lg);
}

.p-data__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.p-data__figure--ai {
  gap: 0;
}

.p-data__figure-img {
  display: grid;
  place-items: center;
  width: 160px;
  height: 120px;
}

.p-data__figure .p-data__value {
  font-size: 28px;
}

.p-data__figure .p-data__num {
  font-size: 120px;
  line-height: 80px;
}

.p-data__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
}

@media (max-width: 1079px) {
  .p-data__row--3col .p-data__item:nth-child(1),
  .p-data__row--2col .p-data__item:nth-child(1) {
    padding-right: 24px;
  }

  .p-data__row--3col .p-data__item:nth-child(2) {
    padding-inline: 24px;
  }

  .p-data__row--3col .p-data__item:nth-child(3),
  .p-data__row--2col .p-data__item:nth-child(2) {
    padding-left: 24px;
  }

  .p-data__figure {
    flex-direction: column;
  }

  .p-data__figure .p-data__num {
    font-size: 96px;
    line-height: 64px;
  }
}

@media (max-width: 768px) {
  /* SP: one 2-column grid; rows are flattened */
  .p-data__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-inline: calc(var(--gutter) * -1);
    border-top: 1px solid var(--color-line);
  }

  .p-data__row,
  .p-data__row--2col {
    display: contents;
  }

  .p-data__item,
  .p-data__row .p-data__item:nth-child(n) {
    grid-column: 1 / -1;
    gap: 24px;
    padding: 40px 8px;
    border: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .p-data__row .p-data__item--sp-half:nth-child(n) {
    grid-column: span 1;
  }

  .p-data__row .p-data__item--sp-left:nth-child(n) {
    border-right: 1px solid var(--color-line);
  }

  .p-data__label {
    font-size: 15px;
    line-height: 1.5;
  }

  .p-data__item:not(.p-data__item--sp-half) .p-data__label {
    font-size: 18px;
    line-height: 1.2;
  }

  .p-data__body {
    gap: 8px;
  }

  .p-data__body--wide {
    gap: 24px;
  }

  .p-data__value {
    font-size: 16px;
  }

  .p-data__num {
    font-size: 48px;
    line-height: 32px;
  }

  .p-data__num--lg {
    font-size: 72px;
    line-height: 48px;
  }

  .p-data__icon ~ .p-data__value + .p-data__note {
    margin-top: 0;
  }

  .p-data__row--first .p-data__item:first-child .p-data__value,
  .p-data__row--first .p-data__item:first-child .p-data__num-sm {
    font-size: 22px;
  }

  .p-data__num-sm {
    font-size: 18px;
    line-height: 20px;
  }

  .p-data__note {
    font-size: 12px;
    line-height: 1.6;
  }

  .p-data__figure + .p-data__note {
    font-size: 14px;
    line-height: 2;
  }

  .p-data__figure {
    flex-direction: column;
    gap: 8px;
  }

  .p-data__figure-img {
    width: auto;
    height: 120px;
  }

  .p-data__item--sp-half .p-data__icon {
    width: 60px;
    height: 60px;
  }

  .p-data__item--sp-half .p-data__icon img {
    width: auto;
    height: 42px;
  }

  .p-data__figure .p-data__value {
    font-size: 24px;
  }

  .p-data__figure .p-data__num {
    font-size: 72px;
    line-height: 48px;
  }
}

/* ==========================================================================
   TOP: interview
   ========================================================================== */
.p-interview {
  position: relative;
}

.p-interview::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: max(0px, calc(50% - 480px));
  height: 640px;
  background: var(--color-pale);
}

.p-interview .p-section__inner {
  position: relative;
}

.p-interview__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.p-interview__items {
  display: grid;
  grid-template-columns: repeat(3, 340fr);
  column-gap: 90px;
  row-gap: 64px;
}

.p-interview__item {
  display: flex;
}

.p-interview__item .c-interview-card {
  flex: 1;
}

.p-interview__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* 4 cards or more: PC also becomes a slideshow (3 visible) */
@media (min-width: 769px) {
  .p-interview__items:not(.p-interview__items--slideshow) ~ .p-interview__controls {
    display: none;
  }

  .p-interview__items--slideshow {
    display: flex;
    column-gap: 90px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .p-interview__items--slideshow::-webkit-scrollbar {
    display: none;
  }

  .p-interview__items--slideshow > .p-interview__item {
    flex: 0 0 calc((100% - 180px) / 3);
    scroll-snap-align: start;
  }

  .p-interview__items--slideshow ~ .p-interview__controls .c-carousel-dots {
    display: flex;
    gap: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1079px) {
  .p-interview__items--slideshow {
    column-gap: 40px;
  }

  .p-interview__items--slideshow > .p-interview__item {
    flex-basis: calc((100% - 80px) / 3);
  }
}

@media (max-width: 1079px) {
  .p-interview__items {
    column-gap: 40px;
  }
}

@media (max-width: 768px) {
  .p-interview::before {
    left: 0;
    height: 560px;
  }

  .p-interview__container {
    gap: 40px;
  }

  .p-interview__items {
    display: flex;
    gap: 20px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: 45px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 45px;
    scrollbar-width: none;
  }

  .p-interview__items::-webkit-scrollbar {
    display: none;
  }

  .p-interview__item {
    flex: 0 0 300px;
    scroll-snap-align: center;
  }

  .p-interview__item.c-interview-card {
    gap: 16px;
  }

  .p-interview__item .c-interview-card__description {
    min-height: 138px;
  }

  .p-interview__item .c-interview-card__quote {
    line-height: 32px;
  }
}

/* ==========================================================================
   TOP: environment
   ========================================================================== */
.p-environment {
  background: var(--color-pale);
}

.p-environment__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-environment__lead {
  line-height: 28px;
}

.p-environment__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding-block: 16px;
}

.p-environment__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 40px 40px;
  border-radius: var(--radius);
  background: var(--color-white);
}

.p-environment__icon {
  width: 60px;
  height: 60px;
}

.p-environment__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-environment__title {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: var(--fw-medium);
  line-height: 40px;
  letter-spacing: var(--ls-xs);
}

.p-environment__text {
  line-height: 28px;
}

.p-environment__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  align-self: flex-end;
}

.p-environment__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 40px;
}

@media (max-width: 768px) {
  .p-environment__container {
    gap: 32px;
  }

  .p-environment__items {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .p-environment__item {
    align-items: center;
    gap: 24px;
    padding: 32px 24px 40px;
  }

  .p-environment__title {
    font-size: 22px;
    line-height: 34px;
    text-align: center;
  }

  .p-environment .p-section__inner {
    gap: 40px;
  }

  .p-environment__buttons {
    align-items: stretch;
    align-self: stretch;
    gap: 40px;
  }

  .p-environment__links {
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }
}

/* ==========================================================================
   TOP: culture
   ========================================================================== */
.p-culture {
  display: grid;
  /* Image narrows gradually below 1080px to leave room for the text */
  grid-template-columns: min(50%, 50% - (1080px - 100%) / 5) minmax(0, 1fr);
  align-items: center;
  padding-block: 120px 144px;
}

.p-culture__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-culture__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 80px;
  width: min(480px, 100% - var(--gutter) * 2);
  margin-right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  justify-self: end;
}

.p-culture__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.p-culture__description {
  display: flex;
  flex-direction: column;
  gap: 24px;
  line-height: 28px;
}

@media (max-width: 1079px) {
  .p-culture__inner {
    margin-left: 40px;
  }
}

@media (max-width: 768px) {
  .p-culture {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 80px;
  }

  .p-culture__img {
    width: calc(100% - var(--gutter) * 2);
    margin-inline: auto;
  }

  .p-culture__inner {
    align-items: stretch;
    gap: 48px;
    width: calc(100% - var(--gutter) * 2);
    margin-inline: auto;
  }

  .p-culture__container {
    gap: 48px;
  }
}

/* ==========================================================================
   TOP: banner
   ========================================================================== */
.p-banner {
  padding-bottom: 160px;
}

.p-banner__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(1024px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: 64px 40px 64px 64px;
  border: 1px solid var(--color-navy);
  border-radius: var(--radius);
}

.p-banner__contain {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.p-banner__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.p-banner__eyebrow {
  padding: 10px 20px;
  background: var(--color-pale);
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-lg);
}

.p-banner__title {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: var(--ls-xs);
}

.p-banner__amount {
  display: flex;
  align-items: flex-end;
  color: var(--color-navy);
}

.p-banner__num {
  font-family: var(--font-serif-en);
  font-size: 112px;
  font-weight: var(--fw-regular);
  line-height: 72px;
  letter-spacing: 0;
}

.p-banner__unit {
  font-family: var(--font-mincho);
  font-size: 40px;
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: var(--ls-xs);
}

@media (max-width: 1079px) {
  .p-banner__box {
    flex-direction: column;
    padding: 48px 40px;
  }
}

@media (max-width: 768px) {
  .p-banner {
    padding-bottom: 120px;
  }

  .p-banner__box {
    gap: 32px;
    padding: 32px 24px 24px;
  }

  .p-banner__contain {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .p-banner__heading {
    align-items: center;
    gap: 16px;
  }

  .p-banner__eyebrow {
    padding: 5px 20px;
    border: 1px solid var(--color-text);
    background: var(--color-white);
  }

  .p-banner__title {
    font-size: 20px;
  }

  .p-banner__num {
    font-size: 68px;
    line-height: 48px;
  }

  .p-banner__unit {
    font-size: 28px;
  }

  .p-banner__box .c-button {
    width: 100%;
  }
}

/* ==========================================================================
   TOP: scroll-in animations ([data-anim] + .is-inview from main.js)
   Without JS or with reduced motion everything is shown as is.
   ========================================================================== */

/* Light sweeping across the collage: once on scroll-in, then every few seconds */
.p-about__img {
  position: relative;
}

.p-about__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(50deg, transparent 40%, rgb(255 255 255 / 0.6) 50%, transparent 60%) 100% 0 / 300% 100% no-repeat;
  pointer-events: none;
}

/* The collage has transparent gaps: light only on the photos */
.p-about__img::after {
  mask: url("/assets/img/top/about.webp") center / 100% 100% no-repeat;
}

@keyframes top-shine {
  from {
    background-position-x: 100%;
  }

  12%,
  to {
    background-position-x: 0%;
  }
}

/* Business photos rise from below; Culture members fade in one by one */
.p-culture__img {
  position: relative;
}

.p-culture__cover {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .is-anim-ready .p-about__img.is-inview::after {
    animation: top-shine 5s linear 0.3s infinite;
  }

  .is-anim-ready .p-business__img {
    opacity: 0;
    translate: 0 64px;
    transition: opacity 1s var(--ease), translate 1.2s var(--ease);
  }

  .is-anim-ready .p-business__item:nth-child(2) .p-business__img {
    transition-delay: 0.2s;
  }

  .is-anim-ready .p-business__img.is-inview {
    opacity: 1;
    translate: 0 0;
  }

  .is-anim-ready .p-culture__cover {
    display: block;
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--color-white);
    transition: opacity 1.2s var(--ease);
  }

  .is-anim-ready .p-culture__cover:nth-of-type(1) {
    top: 0;
    left: 0;
  }

  .is-anim-ready .p-culture__cover:nth-of-type(2) {
    top: 0;
    right: 0;
    transition-delay: 0.4s;
  }

  .is-anim-ready .p-culture__cover:nth-of-type(3) {
    bottom: 0;
    left: 0;
    transition-delay: 0.8s;
  }

  .is-anim-ready .p-culture__cover:nth-of-type(4) {
    right: 0;
    bottom: 0;
    transition-delay: 1.2s;
  }

  .is-anim-ready .p-culture__img.is-inview .p-culture__cover {
    opacity: 0;
  }
}
