/* Shared foundation for Recruit / About / Company / Contact pages. */
.subpage {
  --sub-bg: #f7faff;
  background: var(--sub-bg);
}
.subpage.about-page {
  --sub-bg: #fafcff;
}
.about-page .header__inner {
  background: rgba(250, 252, 255, .9);
}
.subpage .header__logo {
  opacity: 1;
  transform: none;
}
.subpage .header__inner {
  background: rgba(247, 250, 255, .88);
  backdrop-filter: blur(12px);
}
.company-page .sub-heading__en {
  font-family: var(--ff-aktiv);
}
.subpage-main {
  padding-top: 138px;
  overflow: hidden;
}
.sub-container {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}
.sub-hero {
  position: relative;
  min-height: 390px;
  padding: 132px 0 70px;
}
.sub-hero::before {
  content: attr(data-word);
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, 112vw);
  color: #edf4fc;
  font-family: var(--ff-roboto-condensed);
  font-size: clamp(150px, 20vw, 300px);
  font-style: italic;
  font-weight: 300;
  line-height: .9;
  white-space: nowrap;
  pointer-events: none;
}
.sub-hero__inner {
  position: relative;
  z-index: 1;
}
.sub-kicker {
  font-family: var(--ff-roboto-condensed);
  font-size: clamp(54px, 7vw, 92px);
  font-style: italic;
  font-weight: 350;
  letter-spacing: -.045em;
  line-height: .95;
}
.sub-kicker-ja {
  margin-top: 12px;
  font-family: var(--ff-zen);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 801px) {
  .sub-hero[data-word="About Us"] {
    min-height: min(calc(162px + 30vw), 738px);
  }
  .sub-hero[data-word="About Us"] .sub-container {
    width: min(1740px, calc(100% - 120px));
  }
  .sub-hero[data-word="About Us"]::before {
    content: "";
    top: -4px;
    left: -5.17vw;
    width: 133.23vw;
    max-width: none;
    aspect-ratio: 2558 / 936;
    background: url("../assets/images/about/title-background-pc.png") center / contain no-repeat;
    transform: none;
  }
  .sub-hero[data-word="About Us"] .sub-kicker {
    font-family: var(--ff-roboto-condensed);
    font-style: italic;
    font-weight: 350;
    letter-spacing: -.045em;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .sub-hero[data-word="About Us"] .sub-kicker-ja {
    font-family: var(--ff-zen);
  }
  .contact-page .sub-hero[data-word="Contact"] .sub-kicker {
    font-family: var(--ff-roboto-condensed);
    font-style: italic;
    font-weight: 350;
    letter-spacing: -.045em;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .contact-page .sub-hero[data-word="Contact"] .sub-kicker-ja {
    font-family: var(--ff-zen);
  }
  .contact-page .sub-hero[data-word="Contact"]::before {
    content: "";
    top: -4px;
    left: 0;
    width: 117.2vw;
    max-width: none;
    aspect-ratio: 2250 / 936;
    background: url("../assets/images/contact/title-background-pc.png") left center / contain no-repeat;
    transform: none;
  }
  .contact-page .sub-hero[data-word="Contact"] {
    min-height: clamp(300px, 24.5vw, 470px);
    padding-bottom: 0;
  }
  .contact-page .sub-hero[data-word="Contact"] + .sub-section {
    padding-top: 32px;
    padding-bottom: 96px;
  }
  .company-page .sub-hero[data-word="Company"] .sub-container {
    width: min(1740px, calc(100% - 120px));
  }
  .company-page .sub-hero[data-word="Company"] {
    min-height: min(calc(340px + 29.3vw), 902px);
  }
  .company-page .company-hero-grid > div:first-child {
    transform: translateY(15px);
  }
  .company-page .sub-hero[data-word="Company"] .sub-kicker {
    font-family: var(--ff-aktiv);
    font-style: italic;
    font-weight: 350;
    letter-spacing: -.045em;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .company-page .sub-hero[data-word="Company"] .sub-kicker-ja {
    font-family: var(--ff-zen);
  }
  .company-page .sub-hero[data-word="Company"]::before {
    content: "";
    top: -4px;
    left: 0;
    width: 140.16vw;
    max-width: none;
    aspect-ratio: 2691 / 936;
    background: url("../assets/images/company/title-background-pc.png") left center / contain no-repeat;
    transform: none;
  }
  .company-message-section .sub-heading,
  #company-faq .sub-heading,
  #company-news .sub-heading {
    transform: translate(
      calc((min(1080px, calc(100vw - 48px)) - min(1740px, calc(100vw - 120px))) / 2),
      72px
    );
  }
  .company-message {
    position: relative;
    left: 50%;
    width: min(1500px, calc(100vw - 120px));
    grid-template-columns: minmax(0, 550px) minmax(0, 1fr);
    gap: clamp(88px, 9.375vw, 180px);
    transform: translateX(-50%);
  }
  .about-hero-grid {
    display: grid;
    grid-template-columns: 46% minmax(0, 1fr);
    gap: 3.65vw;
    align-items: start;
  }
  .about-hero-photo,
  .about-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .about-values-section {
    padding: 0 16px;
  }
}
.sub-lead {
  max-width: 720px;
  width: min(720px, 82%);
  margin: 48px auto 0;
  font-family: var(--ff-zen);
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
}
.sub-section {
  position: relative;
  padding: 90px 0;
}
.sub-section--white { background: #fff; }
.sub-heading {
  margin-bottom: 48px;
}
.sub-heading__en {
  display: block;
  font-family: var(--ff-roboto-condensed);
  font-size: clamp(44px, 6vw, 76px);
  font-style: italic;
  font-weight: 350;
  letter-spacing: -.035em;
  line-height: 1;
}
.sub-heading__ja {
  display: block;
  margin-top: 9px;
  font-family: var(--ff-zen);
  font-size: 13px;
  font-weight: 700;
}
.sub-copy {
  font-family: var(--ff-zen);
  line-height: 2;
}
.sub-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-photo-frame {
  overflow: hidden;
  border-radius: 34px;
  background: #e7edf4;
}

/* About */
.about-values {
  position: relative;
  width: min(100%, 1080px);
  min-height: min(110vw, 1584px);
  padding: 0;
  overflow: hidden;
  border-radius: min(3.15vw, 60px);
  color: #fff;
  background: transparent;
  font-family: var(--ff-zen);
}
.about-values__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  background:
    linear-gradient(rgba(128, 132, 136, .58), rgba(128, 132, 136, .58)),
    url("../assets/images/about/story-photo-pc.webp") left center / cover no-repeat;
}
.about-values.is-background-fixed .about-values__background {
  position: fixed;
  top: 0;
  left: var(--about-background-left);
  width: var(--about-background-width);
}
.about-values.is-background-past .about-values__background {
  top: auto;
  bottom: 0;
}
.about-values__inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  margin-top: 0;
  padding: min(10.25vw, 197px) 7.05vw 7vw;
}
.about-value {
  display: grid;
  grid-template-columns: 15.63vw minmax(0, 1fr);
  align-items: first baseline;
  min-height: min(8.2vw, 158px);
}
.about-value h3 {
  position: relative;
  width: max-content;
  max-width: 100%;
  justify-self: end;
  margin-right: min(1.7vw, 33px);
  line-height: 0;
}
.about-value h3 img {
  width: auto;
  height: min(2.66vw, 51px);
}
.has-js .about-value h3[data-image-typing] img {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}
.has-js .about-value h3[data-image-typing]::after {
  content: "";
  position: absolute;
  top: -4%;
  bottom: -4%;
  left: 0;
  width: 2px;
  background: #fff;
  opacity: 0;
}
.has-js .about-value h3[data-image-typing].is-typing img {
  animation: about-image-typing 1.05s steps(10, end) forwards;
}
.has-js .about-value h3[data-image-typing].is-typing::after {
  animation: about-image-caret 1.05s steps(10, end) forwards;
}
@keyframes about-image-typing {
  0% { opacity: 1; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes about-image-caret {
  0% { left: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .has-js .about-value h3[data-image-typing] img {
    opacity: 1;
    clip-path: none;
    animation: none;
  }
  .has-js .about-value h3[data-image-typing]::after { display: none; }
}
.about-value > p {
  position: relative;
  top: -.12em;
  margin-top: 0;
  margin-left: 2.37vw;
  font-family: var(--ff-zen);
  font-size: min(2.083vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .015em;
}
.about-scroll-char {
  color: #cccccc;
  transition: color .12s linear;
}
.about-page .is-auto-revealing .about-scroll-char {
  animation: about-auto-color .3s ease var(--about-char-delay, 0ms) both;
}
@keyframes about-auto-color {
  from { color: #cccccc; }
  to { color: #ffffff; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page .is-auto-revealing .about-scroll-char { animation: none; color: #ffffff; }
}
.about-principles {
  width: min(52vw, 1000px);
  margin-top: min(1.8vw, 35px);
  margin-left: 18vw;
}
.about-principle { margin: 0 0 min(2.85vw, 55px); }
.about-principle__no {
  display: inline-block;
  color: var(--c-cyan);
  font-family: var(--ff-roboto-condensed);
  font-size: min(1.43vw, 27.5px);
  font-style: normal;
  font-weight: 500;
  transform: scaleX(1.25);
  transform-origin: left center;
}
.about-principle h4 {
  margin: .12em 0 .25em;
  font-family: var(--ff-zen);
  font-size: min(2.083vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}
@media (min-width: 801px) {
  .about-principle__no {
    display: block;
    width: fit-content;
    font-size: 16px;
    line-height: 1.2;
  }
  .about-principle h4 {
    margin-top: 0;
    font-weight: 500;
  }
}
.about-principle h4 em { font-style: italic; }
.about-principle__ja { color: #cccccc; }
.about-principle p {
  color: rgba(255,255,255,.9);
  font-family: var(--ff-zen);
  font-size: min(1.25vw, 24px);
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 1281px) {
  .about-values__inner {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 131px 90px 90px;
  }
  .about-value {
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 105px;
  }
  .about-value h3 { margin-right: 22px; }
  .about-value h3 img { height: 34px; }
  .about-value > p {
    top: -3.2px;
    margin-left: 30px;
    font-size: 26.7px;
  }
  .about-principles {
    width: min(670px, calc(100% - 230px));
    margin-top: 23px;
    margin-left: 230px;
  }
  .about-principle { margin-bottom: 36px; }
  .about-principle h4 { font-size: 26.7px; }
  .about-principle p { font-size: 16px; }
}

/* Company */
.company-sp-break,
.company-heading-photo { display: none; }
.company-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.company-hero-grid .sub-photo-frame {
  display: block;
  height: auto;
  margin-top: 120px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.company-hero-grid .sub-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.company-hero-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 58px;
  font-family: var(--ff-zen);
}
@media (min-width: 801px) {
  .company-hero-nav { gap: 0; }
  .company-hero-nav .mv__side-link { padding-block: 4px; }
  .company-page [id^="company-"] { scroll-margin-top: 0; }
  .company-page .faq-list p { font-weight: 500; }
}
.company-message-section {
  overflow: hidden;
  background: var(--sub-bg);
}
.company-message-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 130.63vw;
  max-width: none;
  aspect-ratio: 2508 / 940;
  background: url("../assets/images/company/message-title-background-pc.png") left top / contain no-repeat;
  pointer-events: none;
}
.company-message-section .sub-container {
  position: relative;
  z-index: 1;
}
.company-message-section .sub-heading__en {
  font-family: var(--ff-aktiv);
  font-style: italic;
  font-weight: 350;
  transform: scaleX(1.5);
  transform-origin: left center;
}
.company-message-section .sub-heading__ja { font-family: var(--ff-zen); }
#company-faq {
  overflow: hidden;
  background: var(--sub-bg);
}
#company-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 61.46vw;
  max-width: none;
  aspect-ratio: 1180 / 940;
  background: url("../assets/images/company/faq-title-background-pc.png") left top / contain no-repeat;
  pointer-events: none;
}
#company-faq .sub-container {
  position: relative;
  z-index: 1;
}
#company-faq .sub-heading__en {
  font-family: var(--ff-aktiv);
  font-style: italic;
  font-weight: 350;
  transform: scaleX(1.5);
  transform-origin: left center;
}
#company-faq .sub-heading__ja { font-family: var(--ff-zen); }
#company-faq .faq-list { margin-top: 210px; }
#company-news {
  overflow: hidden;
  background: var(--sub-bg);
}
#company-news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 81.3vw;
  max-width: none;
  aspect-ratio: 1561 / 940;
  background: url("../assets/images/company/news-title-background-pc.png") left top / contain no-repeat;
  pointer-events: none;
}
#company-news .sub-container {
  position: relative;
  z-index: 1;
}
#company-news .sub-heading__en {
  font-family: var(--ff-aktiv);
  font-style: italic;
  font-weight: 350;
  transform: scaleX(1.5);
  transform-origin: left center;
}
#company-news .sub-heading__ja { font-family: var(--ff-zen); }
#company-news .news-list { margin-top: 210px; }
.company-faq-bubbles {
  position: absolute;
  z-index: 0;
  top: 400px;
  right: max(24px, calc(50% - 540px));
  bottom: 110px;
  width: min(760px, calc(100% - 48px));
  overflow: hidden;
  pointer-events: none;
}
.company-faq-bubbles__track {
  display: flex;
  flex-direction: column;
  animation: company-faq-bubbles-flow 18s linear infinite;
  will-change: transform;
}
.company-faq-bubbles__group {
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 110px;
  padding-bottom: 110px;
}
.company-faq-bubbles__group img {
  display: block;
  width: min(520px, 68%);
  height: auto;
  opacity: .7;
}
.company-faq-bubbles__group img:nth-child(odd) { align-self: flex-start; }
.company-faq-bubbles__group img:nth-child(even) { align-self: flex-end; }
@keyframes company-faq-bubbles-flow {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}
.company-message {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 88px;
  align-items: center;
}
.company-message__photo {
  display: block;
  width: min(400px, 100%);
  height: auto;
  margin-top: 70px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  justify-self: center;
}
.company-message__photo .sub-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.company-message__body,
.company-message__body .sub-copy { font-family: var(--ff-zen); }
.company-message__body .sub-copy { font-weight: 500; }
.company-message__body .sub-copy + .sub-copy { margin-top: 20px; }
.company-message__signature {
  margin-top: 30px;
  font-family: var(--ff-zen);
}
.company-message__signature span {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.company-message__signature img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  margin-top: 10px;
}
@media (min-width: 801px) {
  .company-message {
    margin-top: 210px;
  }
  .company-message__photo {
    width: min(340px, 100%);
    margin-top: 0;
  }
  .company-message__body {
    width: min(
      100%,
      calc(
        min(540px, calc((100vw - 48px) / 2))
        + min(750px, calc((100vw - 120px) / 2))
        - 550px
        - clamp(88px, 9.375vw, 180px)
      )
    );
    justify-self: start;
  }
}
.faq-list { border-top: 1px solid #bcc6d0; }
.faq-list details { border-bottom: 1px solid #bcc6d0; }
.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 34px;
  cursor: pointer;
  font-family: var(--ff-zen);
  font-weight: 700;
  list-style: none;
}
.faq-list summary::before { content: "Q."; position: absolute; left: 0; color: var(--c-purple); }
.faq-list summary::after { content: "+"; position: absolute; right: 12px; font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 32px 24px; font-family: var(--ff-zen); line-height: 1.9; }
.company-contact-link {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(720px, 82%);
  margin: 48px auto 0;
  aspect-ratio: 1347 / 292;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: url("../assets/images/company/faq-contact-button-pc.png") center / 100% 100% no-repeat;
  color: #fff;
}
.company-contact-link::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, #00dbe5, #5365ff, #f100e8, #00dbe5);
  background-size: 300% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .8s ease;
  animation: company-contact-gradient-flow 9s linear infinite;
}
@media (hover: hover) {
  .company-contact-link:hover::before { opacity: 1; }
}
.company-contact-link:focus-visible::before,
.company-contact-link:active::before,
.company-contact-link.is-pressed::before { opacity: 1; }
@media (hover: none) {
  .company-contact-link::before { transition: none; }
}
.company-contact-link strong,
.company-contact-link span { opacity: 0; }
@keyframes company-contact-gradient-flow {
  from { background-position: 0 50%; }
  to { background-position: 300% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .company-faq-bubbles__track,
  .company-contact-link::before,
  .news-item:hover .news-item__thumbnail::after,
  .news-item:hover .news-item__arrow::after,
  .company-social-card:hover::before,
  .company-social-card:focus-visible::before { animation: none; }
}
.news-list { display: grid; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 76px;
  gap: 24px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #d6dde5;
}
.news-item__thumbnail {
  position: relative;
  overflow: hidden;
}
.news-item__thumbnail img {
  display: block;
  width: 180px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.news-item__thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--c-cyan) 0%, var(--c-blue) 42%, var(--c-magenta) 72%, var(--c-cyan) 100%);
  background-size: 300% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.news-item__copy {
  align-self: center;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.news-item__copy time,
.news-item__copy p {
  width: fit-content;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--c-cyan), var(--c-cyan));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 280ms ease;
}
.news-item__copy time {
  font-family: var(--ff-roboto-condensed);
  font-style: normal;
  font-weight: 500;
  transform: scaleX(1.1);
  transform-origin: left center;
}
.news-item__copy p {
  font-family: var(--ff-zen);
  font-weight: 500;
}
.news-item__arrow {
  position: relative;
  display: block;
  width: 46px;
  aspect-ratio: 151 / 109;
  justify-self: end;
}
.news-item__arrow img,
.news-item__arrow::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.news-item__arrow img {
  display: block;
  object-fit: contain;
}
.news-item__arrow::after {
  content: "";
  background: linear-gradient(90deg, var(--c-cyan) 0%, var(--c-blue) 42%, var(--c-magenta) 72%, var(--c-cyan) 100%);
  background-size: 300% 100%;
  -webkit-mask: url("../assets/images/company/news-arrow-pc.png") center / contain no-repeat;
  mask: url("../assets/images/company/news-arrow-pc.png") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
@media (hover: hover) {
  .news-item:hover .news-item__thumbnail::after,
  .news-item:hover .news-item__arrow::after {
    opacity: .78;
    animation: company-news-gradient-flow 3s linear infinite;
  }
  .news-item:hover .news-item__copy time,
  .news-item:hover .news-item__copy p { background-size: 100% 1px; }
}
.news-item:is(.is-pressed, :active, :focus-visible, :focus-within) .news-item__thumbnail::after,
.news-item:is(.is-pressed, :active, :focus-visible, :focus-within) .news-item__arrow::after {
  opacity: .78;
  animation: company-news-gradient-flow 3s linear infinite;
}
.news-item:is(.is-pressed, :active, :focus-visible, :focus-within) .news-item__copy time,
.news-item:is(.is-pressed, :active, :focus-visible, :focus-within) .news-item__copy p { background-size: 100% 1px; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .news-item .news-item__thumbnail::after,
  .news-item .news-item__arrow::after,
  .news-item .news-item__copy time,
  .news-item .news-item__copy p { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .news-item:is(:hover, .is-pressed, :active, :focus-visible, :focus-within) .news-item__thumbnail::after,
  .news-item:is(:hover, .is-pressed, :active, :focus-visible, :focus-within) .news-item__arrow::after { animation: none; }
}
@keyframes company-news-gradient-flow {
  from { background-position: 0 50%; }
  to { background-position: 300% 50%; }
}
#company-profile {
  padding: 90px 24px 0;
  background: var(--sub-bg);
}
.company-page .cta { background: var(--sub-bg); }
.company-profile {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(64px, 5.2vw, 100px) clamp(32px, 5.2vw, 100px) 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 32px;
  background: #e4e5e6 url("../assets/images/company/profile-background-pc.png") center / 100% 100% no-repeat;
  font-family: var(--ff-zen);
}
.profile-table {
  width: min(1080px, 100%);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .9);
  border-collapse: collapse;
  font-family: var(--ff-zen);
}
.profile-table th,
.profile-table td {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .9);
  text-align: left;
  vertical-align: middle;
}
.profile-table th {
  width: 240px;
  border-right: 1px solid rgba(255, 255, 255, .9);
  font-weight: 700;
  text-align: center;
}
.profile-table td { font-weight: 500; }
.company-map {
  width: 100%;
  margin-inline: auto;
  padding-block: 48px;
  border-right: 1px solid rgba(255, 255, 255, .9);
  border-left: 1px solid rgba(255, 255, 255, .9);
}
.company-map iframe {
  display: block;
  width: min(720px, 100%);
  height: auto;
  aspect-ratio: 720 / 420;
  margin-inline: auto;
  border: 0;
}
.company-socials {
  display: grid;
  width: min(1080px, 100%);
  grid-template-columns: 1fr;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .9);
}
.company-social-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--c-text);
  font-family: var(--ff-zen);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.company-social-card + .company-social-card { border-left: 1px solid rgba(255, 255, 255, .9); }
.company-social-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  padding: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-blue), var(--c-magenta), var(--c-cyan));
  background-size: 300% 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 220ms ease;
}
.company-social-card:hover::before,
.company-social-card:focus-visible::before {
  opacity: 1;
  animation: company-social-border-flow 4s linear infinite;
}
.company-social-card:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: -6px;
}
.company-social-card img {
  display: block;
  width: auto;
  max-width: 210px;
  height: 64px;
  object-fit: contain;
}
@keyframes company-social-border-flow {
  from { background-position: 0 50%; }
  to { background-position: 300% 50%; }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 84px;
  align-items: start;
}
.contact-guide { position: sticky; top: 160px; }
.contact-guide .sub-lead { margin-top: 0; }
.contact-page .cta {
  padding-top: 0;
  background: var(--sub-bg);
}
.contact-cta__robot {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: max(24px, calc(50% - 500px));
  width: min(430px, calc(100vw - 48px));
  height: auto;
  transform: translateY(calc(-100% + var(--contact-robot-offset, 0px)));
  pointer-events: none;
}
.contact-form-slot { min-width: 0; }
@media (min-width: 801px) {
  .contact-page .contact-form-slot {
    padding: 32px clamp(16px, 2vw, 32px) 16px;
    border: 1px solid rgba(72, 93, 118, .05);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(72, 93, 118, .08);
  }
}
.contact-google-form {
  display: block;
  width: 100%;
  height: var(--google-form-height, 1200px);
  border: 0;
  background: transparent;
}
.contact-form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; }
.form-row > label,
.form-row > span { padding-top: 12px; font-family: var(--ff-zen); font-weight: 700; text-align: right; }
.required { color: var(--c-magenta); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="file"],
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  background: #e9edf3;
  padding: 14px;
  outline: 0;
}
.contact-form textarea { min-height: 210px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--c-cyan); background: #fff; }
.contact-types { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 9px; }
.contact-types label { display: inline-flex; gap: 7px; align-items: center; }
.contact-consent { margin-left: 170px; }
.contact-submit {
  display: block;
  width: 150px;
  margin-left: 170px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease;
}
.contact-submit:hover { transform: scale(1.04); }
.contact-submit img { display: block; width: 100%; height: auto; }
.form-note { margin-left: 170px; color: #68717a; font-size: 12px; }

/* Recruit */
.recruit-page {
  --recruit-label-bg: #d6d8db;
  overflow-x: clip;
}
.recruit-page .sub-heading__en {
  font-family: var(--ff-aktiv);
}
.recruit-page .sub-heading__ja,
.recruit-detail h3,
.benefit-group > h3,
.job-listing h3,
.interview-section h2,
.interview-modal__profile strong {
  font-family: var(--ff-zen);
}
.recruit-page .subpage-main {
  overflow-x: clip;
  overflow-y: visible;
}
.recruit-hero {
  position: relative;
  height: 360vh;
  min-height: 2200px;
  background: var(--sub-bg);
}
.recruit-hero__sticky {
  --recruit-media-width: 0px;
  --recruit-media-height: 370px;
  --recruit-media-opacity: 0;
  --recruit-title-shift: 0px;
  position: sticky;
  top: 138px;
  height: calc(100vh - 138px);
  min-height: 620px;
  overflow: hidden;
}
.recruit-hero__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.recruit-hero__media {
  position: absolute;
  z-index: 1;
  top: 45%;
  left: 50%;
  width: var(--recruit-media-width);
  height: var(--recruit-media-height);
  overflow: hidden;
  opacity: var(--recruit-media-opacity);
  transform: translate(-50%, -50%);
  will-change: width, height, opacity;
}
.recruit-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recruit-hero__title {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 50%;
  display: grid;
  width: min(1320px, calc(100% - 160px));
  aspect-ratio: 1320.519 / 370.015;
  /* Split in the space after "with", not through the right edge of "h". */
  grid-template-columns: 51.5% 48.5%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.recruit-hero__title-half {
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}
.recruit-hero__title-half img {
  position: absolute;
  top: 0;
  width: 200%;
  max-width: none;
  height: 100%;
}
.recruit-hero__title-half--left { transform: translateX(calc(var(--recruit-title-shift) * -1)); }
.recruit-hero__title-half--left img { left: 0; width: calc(100% / .515); }
.recruit-hero__title-half--right { transform: translateX(var(--recruit-title-shift)); }
.recruit-hero__title-half--right img { right: 0; width: calc(100% / .485); }
.recruit-hero__nav {
  position: absolute;
  z-index: 3;
  bottom: clamp(72px, 8vh, 96px);
  left: max(60px, calc((100vw - 1720px) / 2));
  display: grid;
  justify-items: start;
  gap: 0;
  font-family: var(--ff-zen);
  transition: color .3s var(--ease-out);
}
.recruit-hero__nav .mv__side-link {
  font-family: var(--ff-zen);
  font-weight: 500;
  padding-block: 4px;
}
.recruit-hero__sticky.is-video-open .recruit-hero__nav .mv__side-link {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .42);
}
@media (prefers-reduced-motion: reduce) {
  .recruit-hero { height: calc(100vh - 138px); min-height: 620px; }
  .recruit-hero__sticky { position: relative; top: 0; }
  .recruit-hero__media { width: min(520px, 38vw); height: min(370px, 27vw); }
  .recruit-hero__title-half--left { transform: translateX(-170px); }
  .recruit-hero__title-half--right { transform: translateX(170px); }
}
.recruit-sticky-section {
  position: relative;
  padding: clamp(140px, 10vw, 192px) 0;
  background: var(--sub-bg);
}
.recruit-sticky-section .recruit-columns {
  width: min(1500px, calc(100% - 120px));
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(80px, 8vw, 154px);
}
.recruit-sticky-section .sub-heading {
  position: sticky;
  top: 190px;
  margin-bottom: 0;
}
.recruit-sticky-heading {
  position: sticky;
  top: 190px;
}
.recruit-sticky-heading .sub-heading {
  position: static;
  margin-bottom: 48px;
}
.recruit-sticky-heading > p {
  color: #707070;
  font-family: var(--ff-noto-cjk);
  font-size: 16px;
  line-height: 2;
}
.recruit-details {
  border-top: 1px solid #e1e7ee;
  font-family: var(--ff-zen);
}
.recruit-detail {
  min-height: 360px;
  padding: 64px 0 72px;
  border-bottom: 1px solid #e1e7ee;
}
.recruit-detail__number,
.benefit-group__number,
.job-listing__number {
  font-style: normal;
  transform: scaleX(1.5);
  transform-origin: left center;
}
.recruit-detail__number {
  display: table;
  width: fit-content;
  margin-bottom: 4px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--ff-aktiv);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}
.recruit-detail h3 {
  margin-bottom: 28px;
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}
.recruit-detail p {
  max-width: 900px;
  font-family: var(--ff-noto-cjk);
  font-size: 16px;
  line-height: 1.9;
}
.recruit-image-transition {
  position: relative;
  isolation: isolate;
  background: var(--sub-bg);
}
.recruit-image-transition__visual {
  position: sticky;
  z-index: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.recruit-image-transition__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recruit-image-transition__content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: rgba(247, 250, 255, .88);
  backdrop-filter: blur(30px);
}
.benefit-groups {
  font-family: var(--ff-zen);
}
.benefit-group {
  padding: 0 0 40px;
}
.benefit-group + .benefit-group {
  padding-top: 40px;
  border-top: 1px solid #e1e7ee;
}
.benefit-group__number {
  display: table;
  width: fit-content;
  margin-bottom: 4px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--ff-aktiv);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}
.benefit-group > h3 {
  margin-bottom: 20px;
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}
.benefit-items {
  display: grid;
  gap: 40px;
}
.benefit-items--two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 5vw, 88px);
}
.benefit-item {
  padding-top: 18px;
  border-top: 1px solid #e1e7ee;
}
.benefit-item h4 {
  display: table;
  width: fit-content;
  margin-bottom: 14px;
  padding: 2px 8px 3px;
  background: var(--recruit-label-bg);
  font-family: var(--ff-noto-cjk);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.benefit-item p {
  font-family: var(--ff-noto-cjk);
  font-size: 15px;
  line-height: 1.9;
}
.recruit-columns { display: grid; grid-template-columns: 300px 1fr; gap: 80px; }
.recruit-block { margin-bottom: 60px; }
.recruit-block h3 { margin-bottom: 18px; font-size: 22px; }
.recruit-block ul { display: grid; gap: 10px; }
.recruit-block li { position: relative; padding-left: 18px; }
.recruit-block li::before { content: ""; position: absolute; top: .75em; left: 0; width: 7px; height: 7px; background: var(--c-magenta); }
.recruit-wide-photo { height: 430px; border-radius: 0; }
.job-listings-layout { align-items: start; }
.job-listings {
  font-family: var(--ff-zen);
}
.job-listing {
  padding: 0 0 44px;
}
.job-listing + .job-listing {
  padding-top: 40px;
  border-top: 1px solid #e1e7ee;
}
.job-listing__number {
  display: table;
  width: fit-content;
  margin-bottom: 4px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--ff-aktiv);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}
.job-listing h3 {
  margin-bottom: 18px;
  font-size: clamp(25px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1.35;
}
.job-listing__roles {
  display: grid;
  gap: 8px;
  font-family: var(--ff-noto-cjk);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
}
.job-listing__roles--two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 6vw, 92px);
}
.job-listing__roles li {
  position: relative;
  padding-left: 22px;
}
.job-listing__roles li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-magenta);
}
.job-entry {
  width: min(1500px, calc(100% - 120px));
  margin-top: 52px;
  margin-right: auto;
  margin-left: auto;
  padding: 54px 24px 58px;
  background-color: #141414;
  background-image:
    radial-gradient(ellipse 32% 110% at 63% 70%, rgba(74, 21, 61, .9) 0%, rgba(34, 6, 47, .65) 45%, transparent 100%),
    radial-gradient(ellipse 30% 100% at 36% 0%, #003434 0%, transparent 100%),
    radial-gradient(ellipse 35% 110% at 43% 85%, #10132e 0%, transparent 100%);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}
.job-entry__inner {
  width: min(1080px, 100%);
  margin-inline: auto;
}
.job-entry p {
  margin-bottom: 34px;
  font-family: var(--ff-zen);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
}
.job-entry ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.job-entry a,
.job-entry img {
  display: block;
  width: 100%;
}
.job-entry a {
  min-height: 76px;
  padding: 14px;
  border-radius: 6px;
  background: #fff;
}
.job-entry img {
  height: 48px;
  object-fit: contain;
}
.recruit-section-photo,
.recruit-section-photo img {
  display: block;
  width: 100%;
}
.recruit-section-photo {
  position: relative;
  z-index: 1;
  height: clamp(420px, 38vw, 720px);
  overflow: hidden;
}
.recruit-section-photo img {
  height: 100%;
  object-fit: cover;
}
.salary-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.salary-placeholder { min-height: 390px; display: grid; place-items: center; background: #d8d8d8; color: #69717a; }
.interview-section {
  position: relative;
  width: min(1840px, calc(100% - 48px));
  margin: 0 auto 96px;
  padding: 96px clamp(72px, 10vw, 210px) 112px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(72, 93, 118, .08);
}
.interview-section__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.interview-section__inner {
  position: relative;
  z-index: 1;
}
.interview-section h2 {
  margin-bottom: 64px;
  font-family: var(--ff-zen);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}
.interview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 34px;
}
.interview-card {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.interview-card picture { display: block; }
.interview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  transition: transform .25s ease;
}
.interview-card:hover img { transform: scale(1.045); }
.interview-card:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: 6px; }
.interview-card > span {
  position: absolute;
  top: -28px;
  right: -20px;
  display: grid;
  place-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #303030;
  color: #fff;
  font-family: var(--ff-zen);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.interview-card strong {
  display: block;
  font-family: var(--ff-aktiv);
  font-size: 30px;
  font-style: italic;
  line-height: .9;
  transform: scaleX(1.2);
  transform-origin: center;
}
.interview-card__amount {
  display: inline-block;
}
.interview-card small {
  font-family: var(--ff-zen);
  font-size: 15px;
  font-style: normal;
}
.interview-modal {
  width: min(720px, calc(100% - 48px));
  max-width: none;
  max-height: min(88vh, 920px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #292d32;
  font-family: var(--ff-zen);
}
.interview-modal::backdrop { background: rgba(22, 25, 29, .62); }
@media (min-width: 1201px) and (prefers-reduced-motion: no-preference) {
  .interview-modal {
    --interview-fade-duration: 600;
    opacity: 0;
    transition: opacity .4s ease;
  }
  .interview-modal::backdrop {
    opacity: 0;
    transition: opacity .6s ease-in-out;
  }
  .interview-modal.is-visible,
  .interview-modal.is-visible::backdrop { opacity: 1; }
}
.interview-modal__scroll {
  position: relative;
  max-height: min(88vh, 920px);
  padding: 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.interview-modal__close {
  position: sticky;
  z-index: 2;
  top: -24px;
  display: block;
  width: 44px;
  height: 44px;
  margin: -24px -24px -20px auto;
  border: 0;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
}
.interview-modal__close span { position: absolute; top: 21px; left: 10px; width: 24px; height: 1px; background: #292d32; }
.interview-modal__close span:first-child { transform: rotate(45deg); }
.interview-modal__close span:last-child { transform: rotate(-45deg); }
.interview-modal__close:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: -3px; }
.interview-modal__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 448 / 228;
  overflow: hidden;
}
/* Reference crop: x317/y196, 448x228 within the 1072x717 preview. */
.interview-modal__photo img {
  position: absolute;
  width: 239.286%;
  max-width: none;
  height: auto;
  left: -70.759%;
  top: -85.965%;
}
.interview-modal blockquote { position: relative; margin: 24px 8px; padding-inline: 38px; font-size: 24px; font-weight: 500; line-height: 1.5; }
.interview-modal blockquote::before,
.interview-modal blockquote::after {
  position: absolute;
  top: .1em;
  background: linear-gradient(180deg, #22cfd8 0%, #63e0e5 52%, #e4fafb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  -webkit-text-fill-color: transparent;
}
.interview-modal blockquote::before { content: "❝"; left: 0; }
.interview-modal blockquote::after { content: "❞"; right: 0; }
.interview-modal blockquote,
.interview-modal__profile,
.interview-modal__qa p { font-family: var(--ff-zen); }
.interview-modal__profile { padding: 18px 22px; background: #f0f1f2; }
.interview-modal__profile strong { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.interview-modal__profile p { color: #747d86; }
.interview-modal__profile p,
.interview-modal__qa p { font-size: 15px; line-height: 1.8; }
.interview-modal__qa { display: grid; gap: 28px; margin-top: 32px; padding-left: 24px; }
.interview-modal__qa section { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px 8px; align-items: first baseline; }
.interview-modal__qa h3 {
  background: linear-gradient(180deg, #22cfd8 0%, #63e0e5 52%, #e4fafb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--ff-aktiv);
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  transform: scaleX(1.5);
  transform-origin: left center;
  -webkit-text-fill-color: transparent;
}
.interview-modal__qa h3 { position: relative; top: 1px; grid-column: 1; margin: 0; }
.interview-modal__qa p { grid-column: 2; margin: 0; }
body.is-interview-modal-open { overflow: hidden; }
/* Narrow, portrait-oriented dialog with room for the full face. */
@media (min-width: 801px) {
  .interview-modal { width: min(530px, calc(100% - 48px)); }
  .interview-modal__scroll { padding: 40px 24px 28px; }
  .interview-modal__close { top: -28px; margin: -28px -12px -16px auto; }
  .interview-modal blockquote { margin-block: 16px; }
  .interview-modal__profile { padding: 14px 18px; }
  .interview-modal__qa { margin-top: 24px; }
  .recruit-page .interview-modal blockquote { font-size: 18px; line-height: 1.6; }
  .recruit-page .interview-modal blockquote::before,
  .recruit-page .interview-modal blockquote::after { font-size: 32px; }
  .recruit-page .interview-modal__profile strong { font-size: 14px; }
  .recruit-page .interview-modal__profile p,
  .recruit-page .interview-modal__qa p { font-size: 13px; line-height: 1.75; }
  .recruit-page .interview-modal__qa h3 { font-size: 24px; }
}
.recruit-page > .cta { padding-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .interview-card img { transition: none; }
  .interview-card:hover img { transform: none; }
}

/* Desktop title alignment; padding moves the following content with the heading. */
@media (min-width: 801px) {
  .interview-section h2 {
    margin-bottom: 64px;
    font-size: 29px;
  }
  .recruit-page .recruit-detail p,
  .recruit-page .interview-modal__profile p,
  .recruit-page .interview-modal__qa p { font-weight: 500; }
  .recruit-page .job-listing__roles {
    font-size: 17px;
    font-weight: 500;
  }
  .recruit-page .job-listing__roles li::before {
    top: .95em;
    transform: translateY(-50%);
  }
  .salary-layout .sub-heading {
    position: relative;
    left: calc((min(1080px, calc(100vw - 48px)) - min(1500px, calc(100vw - 120px))) / 2);
  }
  .sub-kicker-ja,
  .sub-heading__ja {
    font-size: 17px;
  }
  .recruit-detail h3,
  .benefit-group > h3,
  .benefit-item h4 {
    font-weight: 500;
  }
  .recruit-page .sub-heading__en {
    width: fit-content;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .about-page .sub-hero { padding-top: calc(14.7658vw - 4px - clamp(54px, 7vw, 92px) * .475); }
  .contact-page .sub-hero { padding-top: calc(14.5068vw - 4px - clamp(54px, 7vw, 92px) * .475); }
  .company-page .sub-hero { padding-top: calc(17.1877vw - 4px - clamp(54px, 7vw, 92px) * .475); }
  .company-page .company-hero-grid > div:first-child {
    transform: translateX(calc((min(1740px, calc(100vw - 120px)) - min(1080px, calc(100vw - 48px))) / 2));
  }
  .company-message-section {
    margin-top: -24px;
    padding-top: calc(17.552vw - clamp(44px, 6vw, 76px) / 2);
  }
  #company-faq {
    padding-top: calc(15.6515vw - clamp(44px, 6vw, 76px) / 2);
    padding-bottom: 32px;
  }
  #company-news { padding-top: calc(14.8437vw - clamp(44px, 6vw, 76px) / 2); }
  .company-message-section .sub-heading,
  #company-faq .sub-heading,
  #company-news .sub-heading {
    transform: none;
  }
  #company-faq .faq-list,
  #company-news .news-list { margin-top: 138px; }
}

.company-page .news-item:is(:hover, .is-pressed, :active, :focus-visible, :focus-within) .news-item__thumbnail::after {
  opacity: .3;
}
@media (min-width: 1201px) {
  .company-page .sub-hero[data-word="Company"] {
    min-height: min(calc(162px + 30vw), 738px);
    padding-top: calc(14.7658vw - 4px - clamp(54px, 7vw, 92px) * .475);
  }
  .company-page .company-hero-grid {
    grid-template-columns: 46% minmax(0, 1fr);
    gap: 3.65vw;
  }
  .company-page .company-hero-grid > div:first-child { transform: none; }
  .company-page .company-hero-grid .sub-photo-frame { margin-top: 0; }
  .company-page .sub-hero[data-word="Company"] .sub-kicker {
    font-family: var(--ff-roboto-condensed);
  }
  .contact-page .sub-hero {
    padding-top: calc(14.7658vw - 4px - clamp(54px, 7vw, 92px) * .475);
  }
  .contact-page .sub-hero[data-word="Contact"] .sub-container {
    width: min(1740px, calc(100% - 120px));
  }
  .contact-page .contact-guide {
    transform: none;
    position: static;
  }
  .contact-page .contact-layout {
    width: min(1740px, calc(100% - 120px));
    grid-template-columns: minmax(388px, 32fr) minmax(0, 68fr);
    gap: clamp(48px, 5vw, 96px);
  }
  .contact-page .contact-form-slot {
    position: relative;
    isolation: isolate;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .contact-page .contact-form-slot::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 max(16px, calc((100% - 656px) / 2));
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(72, 93, 118, .08);
    pointer-events: none;
  }
  .contact-page .contact-google-form {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (min-width: 1201px) and (max-width: 1439px) {
  .company-page .company-hero-copy .company-sp-break { display: block; }
}

@media (max-width: 800px) {
  .subpage .header.is-menu-open .header__inner {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .sub-kicker,
  .sub-heading__en,
  .company-message-section .sub-heading__en,
  #company-faq .sub-heading__en,
  #company-news .sub-heading__en {
    font-weight: 400;
  }
  .subpage-main { padding-top: var(--mobile-header-height, 118px); }
  .subpage .header__inner { min-height: 58px; padding: 8px 18px; }
  .subpage .header__nav-link { display: none; }
  .subpage .header__nav { gap: 0; }
  .subpage .header__entry { width: 104px; }
  .subpage .header__marquee { padding-block: 6px; }
  .subpage .header__marquee-tile { height: 32px; }
  .sub-container { width: min(100% - 36px, 680px); }
  .sub-hero { min-height: 265px; padding: 92px 0 48px; }
  .sub-hero::before { top: 68px; left: 18px; width: auto; transform: none; font-size: 31vw; }
  .sub-kicker { font-size: clamp(48px, 15vw, 68px); }
  .sub-kicker-ja { margin-top: 8px; font-size: 12px; }
  .sub-lead { margin-top: 34px; font-size: 16px; }
  .sub-section { padding: 64px 0; }
  .sub-heading { margin-bottom: 32px; }
  .sub-heading__en { font-size: clamp(42px, 14vw, 62px); }
  .sub-copy { line-height: 1.9; }
  .company-hero-grid,
  .company-message,
  .contact-layout,
  .recruit-columns,
  .salary-layout,
  .company-profile { grid-template-columns: 1fr; gap: 38px; }
  .company-hero-grid .sub-photo-frame,
  .company-message__photo,
  .recruit-wide-photo { height: 62vw; max-height: 420px; }
  .company-hero-grid .sub-photo-frame { margin-top: 0; overflow: hidden; }
  .about-hero-photo { display: none; }
  .about-page .sub-hero { min-height: 0; padding: 64px 0 32px; }
  .about-page .sub-hero .sub-container { width: calc(100% - 48px); }
  .about-page .sub-hero::before {
    content: "";
    top: 24px;
    left: 0;
    width: 150vw;
    aspect-ratio: 2558 / 936;
    background: url("../assets/images/about/title-background-pc.png") left top / contain no-repeat;
  }
  .about-page .sub-kicker-ja { margin-top: 4px; }
  .about-values-section { padding: 16px 12px 48px; }
  body.about-page { overflow-x: clip; }
  .about-page .subpage-main { overflow: clip; }
  .about-values {
    display: grid;
    width: min(100%, 680px);
    min-height: 0;
    padding: 0;
    overflow: clip;
    border-radius: 12px;
  }
  .about-values__background {
    position: sticky;
    grid-area: 1 / 1;
    align-self: start;
    top: calc(var(--mobile-header-height, 118px) + 4px);
    left: auto;
    width: 100%;
    height: calc(100svh - var(--mobile-header-height, 118px) - 20px);
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: none;
  }
  .about-values__background::before {
    content: "";
    position: absolute;
    inset: -16px;
    /* Hide the white frame baked into the photograph. */
    background-image: linear-gradient(rgba(128, 132, 136, .58), rgba(128, 132, 136, .58)), url("../assets/images/about/story-photo-sp.webp");
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .about-values__inner { grid-area: 1 / 1; min-width: 0; min-height: 0; margin-top: 0; padding: 40px 16px; text-align: center; }
  .about-value { grid-template-columns: 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
  .about-value h3 { justify-self: center; margin-right: 0; }
  .about-value h3 img { height: 30px; }
  .about-value > p { top: 0; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
  .about-value > p::before {
    content: "";
    position: absolute;
    top: -18px;
    left: calc(50% - 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
  }
  .about-principles { width: 100%; margin: 16px 0 0; }
  .about-principle { margin: 0 0 40px; }
  .about-principle:last-child { margin-bottom: 0; }
  .about-principle h4 { margin: 4px 0 12px; font-size: 18px; font-weight: 700; line-height: 1.4; }
  .about-principle__ja { font-size: 20px; }
  .about-principle__no { font-size: 16px; font-weight: 500; }
  .about-principle p { font-size: 16px; font-weight: 500; line-height: 1.7; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
  .about-principle p br { display: none; }
  .about-page > .cta { padding-top: 0; background: var(--sub-bg); }
  .company-message__photo { order: 2; }
  .company-message .sub-copy + .sub-copy { margin-top: 16px; }
  .company-message__signature { font-size: 20px; }
  .faq-list summary { padding: 18px 38px 18px 28px; font-size: 13px; }
  .faq-list p { padding: 0 20px 18px 28px; font-size: 13px; }
  #company-faq .faq-list { margin-top: 85px; }
  #company-news .news-list { margin-top: 80px; }
  .company-faq-bubbles { top: 220px; right: 18px; bottom: 80px; width: calc(100% - 36px); }
  .company-faq-bubbles__group { gap: 70px; padding-bottom: 70px; }
  .company-contact-link { width: 88%; margin: 34px auto 0; padding: 0; }
  .company-contact-link strong { font-size: 36px; }
  .company-contact-link span { max-width: 130px; font-size: 11px; text-align: right; }
  .news-item { grid-template-columns: 110px minmax(0, 1fr) 36px; gap: 14px; }
  .news-item__thumbnail img { width: 110px; }
  .news-item__copy { gap: 4px; }
  .news-item__arrow { width: 36px; }
  .news-item time { font-size: 12px; }
  .news-item p { font-size: 13px; line-height: 1.55; }
  #company-profile { padding: 64px 24px 0; }
  .company-profile { padding: 36px 18px 28px; border-radius: 20px; }
  .profile-table th,
  .profile-table td { padding: 12px 4px; font-size: 12px; }
  .profile-table th { width: 88px; }
  .company-map { width: 100%; min-height: 0; padding-block: 32px; }
  .company-socials { grid-template-columns: 1fr; margin-top: 0; }
  .company-social-card { min-height: 150px; gap: 14px; }
  .company-social-card + .company-social-card { border-top: 1px solid rgba(255, 255, 255, .9); border-left: 0; }
  .company-social-card img { max-width: 160px; height: 48px; }
  /* Company: SP composition from the supplied design. */
  .company-page { --sub-bg: #fafcff; }
  .company-page .sub-container { width: min(100% - 48px, 680px); }
  .company-page [id^="company-"] { scroll-margin-top: 0; }
  .company-page .sub-hero { min-height: 0; padding: 48px 0 24px; }
  .company-page .sub-hero::before {
    content: "";
    top: 24px;
    left: 0;
    width: 170vw;
    aspect-ratio: 2691 / 936;
    background: url("../assets/images/company/title-background-pc.png") left top / contain no-repeat;
    transform: none;
  }
  .company-page .sub-kicker {
    width: fit-content;
    font-size: clamp(44px, 15vw, 64px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: .95;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .company-sp-break { display: inline; }
  .company-hero-nav { display: none; }
  .company-hero-grid { gap: 28px; }
  .company-hero-grid .sub-photo-frame {
    width: calc(100% + 24px);
    height: auto;
    max-height: none;
    margin: 0 -12px;
    overflow: visible;
  }
  .company-page .sub-section { padding-block: 48px; }
  .company-page .sub-heading__en,
  #company-faq .sub-heading__en,
  #company-news .sub-heading__en {
    width: fit-content;
    font-size: clamp(44px, 15vw, 64px);
    font-weight: 400;
    letter-spacing: -.03em;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .company-message-section .sub-heading { margin-bottom: 40px; }
  .company-message { gap: 28px; }
  .company-message__photo {
    position: relative;
    order: 0;
    width: min(44vw, 240px);
    height: auto;
    max-height: none;
    margin: 0;
  }
  .company-heading-photo::before {
    content: "";
    position: absolute;
    inset: 2px -2px -2px 2px;
    background: var(--grad-primary);
    -webkit-mask: var(--company-photo-mask) center / contain no-repeat;
    mask: var(--company-photo-mask) center / contain no-repeat;
  }
  .company-message__photo img,
  .company-heading-photo img { position: relative; display: block; width: 100%; height: auto; }
  .company-message__body { margin-inline: 12px; min-width: 0; }
  .company-message__body .sub-copy { font-size: 16px; font-weight: 500; line-height: 1.9; }
  .company-message__signature { margin-top: 24px; }
  .company-message__signature span { font-size: 16px; }
  .company-message__signature img { width: 144px; max-width: 100%; }
  #company-faq .sub-container,
  #company-news .sub-container { position: relative; }
  #company-faq,
  #company-news { padding-top: 64px; }
  #company-faq::before { top: 24px; width: 104vw; }
  #company-news::before { top: 24px; width: 130vw; }
  .company-heading-photo {
    --company-photo-mask: url("../assets/images/home/message-photo-main-sp.webp");
    position: absolute;
    display: block;
    width: min(34vw, 180px);
    top: -48px;
    right: 0;
    pointer-events: none;
  }
  #company-faq .faq-list { margin-top: 64px; }
  .company-page .faq-list summary { padding: 20px 32px 20px 26px; font-size: 16px; line-height: 1.6; }
  .company-page .faq-list summary::before { color: var(--c-text); }
  .company-page .faq-list summary::after { right: 4px; top: 18px; font-size: 26px; }
  .company-page .faq-list summary::-webkit-details-marker { display: none; }
  .company-page .faq-list summary:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: -2px; }
  .company-page .faq-list p { padding: 0 12px 20px 26px; font-size: 16px; line-height: 1.8; }
  .company-page .faq-list p,
  .company-page .news-item__copy p,
  .company-page .profile-table td { font-weight: 500; }
  .company-contact-link {
    width: min(76%, 320px);
    min-height: 44px;
    aspect-ratio: 470.346 / 176.996;
    margin-top: 36px;
    padding: 0;
    background: url("../assets/images/company/faq-contact-button-sp.svg") center / 100% 100% no-repeat;
    border-radius: 6px;
  }
  .company-contact-link strong,
  .company-contact-link span { position: absolute; opacity: 0; }
  #company-news .news-list { margin-top: 64px; gap: 36px; }
  .company-page .news-item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; border: 0; }
  .company-page .news-item__thumbnail { border-radius: 6px; }
  .company-page .news-item__thumbnail img { width: 100%; }
  .company-page .news-item__copy { padding-inline: 12px; gap: 4px; }
  .company-page .news-item time { font-size: 16px; }
  .company-page .news-item p { font-size: 18px; }
  .company-page .news-item__arrow { display: none; }
  .company-page #company-profile { padding: 48px 12px 0; }
  .company-page .company-profile { display: block; padding: 24px 12px 12px; border-radius: 14px; }
  .company-page .profile-table { table-layout: fixed; }
  .company-page .profile-table th { width: 30%; }
  .company-page .profile-table th,
  .company-page .profile-table td { padding: 16px 10px; font-size: 14px; overflow-wrap: anywhere; }
  .company-page .profile-table td { font-size: 15px; }
  .company-page .company-map { padding: 16px 12px; }
  .company-page .company-map iframe { aspect-ratio: 3 / 2; }
  .company-page .company-socials { grid-template-columns: 1fr; }
  .company-page .company-social-card { min-height: 136px; gap: 16px; font-size: 12px; }
  .company-page .company-social-card + .company-social-card { border-top: 0; border-left: 1px solid rgba(255,255,255,.9); }
  .company-page .company-social-card img { max-width: 74%; height: 36px; }
  .contact-guide { position: static; }
  .contact-page { --sub-bg: #fafcff; --contact-field-bg: #ebebed; }
  .contact-page .sub-container { width: min(100% - 48px, 680px); }
  .contact-page .sub-hero {
    min-height: 0;
    padding: 64px 0 36px;
  }
  .contact-page .sub-hero::before {
    content: "";
    top: 24px;
    left: 0;
    width: 150vw;
    aspect-ratio: 2250 / 936;
    background: url("../assets/images/contact/title-background-pc.png") left top / contain no-repeat;
    transform: none;
  }
  .about-page .sub-kicker,
  .contact-page .sub-kicker {
    width: fit-content;
    font-size: clamp(44px, 15vw, 64px);
    letter-spacing: -.03em;
    transform: scaleX(1.5);
    transform-origin: left center;
  }
  .contact-page .sub-kicker-ja { margin-top: 4px; }
  .contact-page .sub-hero + .sub-section { padding: 24px 0 0; }
  .contact-page .contact-layout { gap: 44px; }
  .contact-page .contact-guide .sub-lead {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
  }
  .contact-guide .sub-lead { margin: 0; text-align: center; }
  .contact-page .contact-form-slot {
    padding: 20px 8px 16px;
    border: 1px solid rgba(72, 93, 118, .05);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(72, 93, 118, .08);
  }
  .contact-google-form { height: var(--google-form-height-mobile, 1400px); }
  .contact-cta__robot { display: none; }
  .contact-page .cta { padding-top: 50px; }
  .contact-form { gap: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row > label,
  .form-row > span { padding-top: 0; text-align: left; }
  .contact-consent,
  .contact-submit,
  .form-note { margin-left: 0; }
  .contact-types { gap: 10px 16px; padding-top: 2px; }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="file"],
  .contact-form textarea { min-height: 46px; padding: 11px; }
  .contact-form textarea { min-height: 150px; }
  .contact-submit { width: 142px; margin: 8px auto 0; }
  .form-note { text-align: center; }
  .contact-page .contact-form { gap: 20px; font-family: var(--ff-zen); }
  .contact-page .form-row { gap: 6px; }
  .contact-page .form-row > label,
  .contact-page .form-row > span { font-size: 16px; line-height: 1.5; }
  .contact-page .contact-types { gap: 0 12px; padding: 0; }
  .contact-page .contact-types label { min-height: 44px; font-size: 14px; font-weight: 700; gap: 6px; }
  .contact-page .contact-form input[type="text"],
  .contact-page .contact-form input[type="email"],
  .contact-page .contact-form input[type="tel"],
  .contact-page .contact-form input[type="file"],
  .contact-page .contact-form textarea {
    min-width: 0;
    min-height: 44px;
    border-radius: 0;
    background: var(--contact-field-bg);
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.5;
  }
  .contact-page .contact-form textarea { min-height: 152px; }
  .contact-page .contact-form input[type="file"] { font-size: 13px; }
  .contact-page .contact-form input:focus-visible,
  .contact-page .contact-form textarea:focus-visible,
  .contact-page .contact-submit:focus-visible {
    outline: 2px solid var(--c-cyan);
    outline-offset: 3px;
  }
  .contact-page .contact-types input,
  .contact-page .contact-consent input {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    accent-color: var(--c-purple);
  }
  .contact-page .contact-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
  }
  .contact-page .contact-submit { width: 120px; min-height: 44px; margin-top: -8px; }
  .contact-page .form-note { margin: 0; font-size: 12px; line-height: 1.6; }
  @media (prefers-reduced-motion: reduce) {
    .contact-page .contact-submit { transition: none; }
  }
  .recruit-hero { height: 280vh; min-height: 1500px; }
  .recruit-hero__sticky { top: var(--mobile-header-height, 118px); height: calc(100vh - var(--mobile-header-height, 118px)); min-height: 520px; }
  .recruit-hero__title { width: calc(100% - 48px); height: clamp(100px, 28vw, 170px); aspect-ratio: auto; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .recruit-hero__title-half { width: 76.22%; }
  .recruit-hero__title-half--right { justify-self: end; width: 70%; }
  .recruit-hero__title-half--right img { width: 211.429%; }
  .recruit-hero__title-half img { top: 50%; height: auto; transform: translateY(-50%); }
  .recruit-hero__nav { display: none; }
  .recruit-page { --sub-bg: #fafcff; }
  .recruit-page .sub-container { width: min(100% - 48px, 680px); }
  .recruit-page .sub-heading__en { width: fit-content; font-size: clamp(44px, 15vw, 64px); font-weight: 400; letter-spacing: -.03em; line-height: .98; transform: scaleX(1.5); transform-origin: left center; }
  .recruit-page .sub-heading__ja { margin-top: 8px; }
  .recruit-sticky-section { padding: 64px 0; }
  .recruit-sticky-section .recruit-columns {
    width: min(100% - 48px, 680px);
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .recruit-sticky-section .sub-heading { position: static; margin-bottom: 0; }
  .recruit-sticky-heading { position: static; }
  .recruit-sticky-heading .sub-heading { margin-bottom: 32px; }
  .recruit-details { border: 0; display: grid; gap: 32px; }
  .recruit-detail,
  .benefit-group,
  .job-listing {
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 12px;
    align-items: first baseline;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .recruit-detail { min-height: 0; }
  .recruit-detail__number,
  .benefit-group__number,
  .job-listing__number { position: static; grid-column: 1; grid-row: 1; margin: 0 1.5em 0 0; font-size: 16px; line-height: 1.5; }
  .recruit-detail__number,
  .benefit-group__number,
  .job-listing__number {
    display: block;
    align-self: start;
    font-size: 15px;
    line-height: 31.5px;
  }
  .recruit-detail h3,
  .benefit-group > h3,
  .job-listing h3 { grid-column: 2; grid-row: 1; margin-bottom: 12px; font-size: 20px; line-height: 1.5; }
  .recruit-detail h3,
  .benefit-group > h3,
  .job-listing h3 { font-size: 21px; font-weight: 500; }
  .recruit-detail > p,
  .benefit-group > .benefit-items,
  .job-listing > .job-listing__roles { grid-column: 2; }
  .recruit-detail p,
  .recruit-sticky-heading > p,
  .benefit-item p,
  .job-listing__roles { font-family: var(--ff-zen); font-size: 16px; line-height: 1.8; }
  .recruit-image-transition__visual { position: relative; height: auto; max-height: none; aspect-ratio: 1153 / 477; }
  .recruit-image-transition__content { min-height: 0; backdrop-filter: none; }
  .benefit-items--two-columns { grid-template-columns: 1fr; }
  .benefit-groups { display: grid; gap: 40px; }
  .benefit-group + .benefit-group { padding-top: 0; border: 0; }
  .benefit-items { gap: 20px; }
  .benefit-item { padding-top: 0; border: 0; }
  .benefit-item h4 { padding: 0 4px; margin-bottom: 4px; font-family: var(--ff-zen); font-size: 18px; }
  .benefit-items--two-columns .benefit-item:nth-child(1) { order: 1; }
  .benefit-items--two-columns .benefit-item:nth-child(3) { order: 2; }
  .benefit-items--two-columns .benefit-item:nth-child(5) { order: 3; }
  .benefit-items--two-columns .benefit-item:nth-child(7) { order: 4; }
  .benefit-items--two-columns .benefit-item:nth-child(2) { order: 5; }
  .benefit-items--two-columns .benefit-item:nth-child(4) { order: 6; }
  .benefit-items--two-columns .benefit-item:nth-child(6) { order: 7; }
  .recruit-block { margin-bottom: 42px; }
  .recruit-block h3 { font-size: 18px; line-height: 1.55; }
  .job-listing__roles--two-columns { grid-template-columns: 1fr; }
  .job-listings { display: grid; gap: 32px; }
  .job-listing + .job-listing { padding-top: 0; border: 0; }
  .job-listing__roles { gap: 4px; font-size: 17px; }
  .job-listing__roles--two-columns li:nth-child(1) { order: 1; }
  .job-listing__roles--two-columns li:nth-child(3) { order: 2; }
  .job-listing__roles--two-columns li:nth-child(5) { order: 3; }
  .job-listing__roles--two-columns li:nth-child(2) { order: 4; }
  .job-listing__roles--two-columns li:nth-child(4) { order: 5; }
  .job-listing__roles--two-columns li:nth-child(6) { order: 6; }
  .job-listing__roles li { padding-left: 16px; }
  .job-listing__roles li::before { width: 5px; height: 5px; top: .75em; }
  .job-entry { width: min(100% - 48px, 680px); margin-top: 40px; padding: 24px; border-radius: 4px; }
  .job-entry p { margin-bottom: 16px; font-size: 14px; letter-spacing: .05em; }
  .job-entry ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .job-entry a { min-height: 48px; padding: 8px; }
  .job-entry img { height: 32px; }
  .recruit-section-photo { height: auto; max-height: none; aspect-ratio: 1153 / 477; }
  .salary-layout { gap: 32px; }
  .salary-layout .sub-heading { margin-bottom: 0; }
  .salary-placeholder { min-height: 0; aspect-ratio: 1 / .8; padding: 24px; text-align: center; }
  .interview-section { width: min(100% - 48px, 680px); margin-bottom: 32px; padding: 40px 40px 32px; border-radius: 12px; }
  .interview-section__background { left: 0; width: 140%; max-width: none; }
  .interview-section h2 {
    position: relative;
    top: calc(min(100vw - 48px, 680px) / 2569.155 * 281.82 - 40px);
    margin-bottom: 48px;
    font-size: 20px;
    transform: translateY(-50%);
  }
  .interview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .interview-card > span { top: -16px; right: -10px; width: 58px; height: 58px; font-size: 12px; }
  .interview-card strong { font-size: 23px; }
  .interview-card small { font-size: 12px; }
  .interview-modal { width: calc(100% - 24px); }
  .interview-modal__scroll { padding: 24px; }
  .interview-modal__close { top: -12px; margin: -12px -12px -8px auto; }
  .interview-modal blockquote { padding-inline: 30px; font-size: 20px; }
  .interview-modal blockquote::before,
  .interview-modal blockquote::after { font-size: 34px; }
  .interview-modal__profile strong { font-size: 17px; }
  .interview-modal__qa { padding-left: 12px; }
  .interview-modal__qa h3 { font-weight: 400; }
  .interview-modal__profile p,
  .interview-modal__qa p { font-size: 16px; }
  .recruit-page .recruit-detail p,
  .recruit-page .recruit-sticky-heading > p,
  .recruit-page .benefit-item p,
  .recruit-page .job-listing__roles,
  .recruit-page .interview-modal__profile p,
  .recruit-page .interview-modal__qa p,
  .recruit-page .footer__company,
  .recruit-page .footer__address { font-weight: 500; }
  .recruit-page > .cta { background: var(--sub-bg); }
  @media (prefers-reduced-motion: reduce) {
    .recruit-hero { height: calc(100svh - var(--mobile-header-height, 118px)); min-height: 440px; }
    .recruit-hero__sticky { top: 0; min-height: 440px; }
    .recruit-hero__title-half { transform: none; opacity: 1; }
  }
}

.company-message__name {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-zen);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .08em;
}
@media (max-width: 800px) {
  .company-message__name { font-size: 24px; }
}
/* Keep the original (01) mobile column-reading order; later groups keep source order. */
@media (max-width: 1200px) {
  .benefit-group:not(:first-child) .benefit-item { order: 0; }
}
a.news-item { color: inherit; text-decoration: none; }
.news-note-link { display: inline-block; margin-top: 24px; text-decoration: underline; text-underline-offset: 4px; }
.news-status { margin-top: 16px; font-size: 14px; }

/* Native PSD layers: background photo -> gradient frame -> cutout person. */
.company-message__photo--layered { overflow: visible; }
.company-message__photo--layered svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Representative photo: larger, with the frame just above the body copy. */
@media (min-width: 801px) {
  .company-message { align-items: start; }
  .company-message__photo {
    width: min(400px, 100%);
    margin-top: -60px;
  }
}

.interview-modal__headline { margin: 24px 0; font-size: clamp(24px, 4vw, 36px); font-weight: 700; }

/* Interview questions contain full sentences: give them the full row. */
.recruit-page .interview-modal__qa section {
  display: block;
  min-width: 0;
}
.recruit-page .interview-modal__qa h3 {
  position: static;
  width: auto;
  margin: 0 0 12px;
  writing-mode: horizontal-tb;
  transform: none;
  background: none;
  color: #168c96;
  -webkit-text-fill-color: currentColor;
  font-family: var(--ff-zen);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.recruit-page .interview-modal__qa p {
  margin: 0;
  writing-mode: horizontal-tb;
}
@media (max-width: 800px) {
  .recruit-page .interview-modal__qa h3 { font-size: 17px; }
}

/* Interview detail: photograph, catch copy, profile, then horizontal Q/A rows. */
.recruit-page .interview-modal__qa section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.recruit-page .interview-modal__qa-row {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.recruit-page .interview-modal__qa-label {
  display: block;
  background: linear-gradient(160deg, #08bca6 0%, #39d4cf 48%, #b8f2e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, serif;
  font-size: 36px;
  font-style: italic;
  line-height: 1.25;
}
.recruit-page .interview-modal__qa h3,
.recruit-page .interview-modal__qa p {
  position: static;
  grid-column: auto;
  min-width: 0;
  margin: 0;
  background: none;
  color: #292e32;
  -webkit-text-fill-color: currentColor;
  transform: none;
  font-family: var(--ff-zen);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.9;
  writing-mode: horizontal-tb;
}
.interview-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 800px) {
  .recruit-page .interview-modal__qa-row { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .recruit-page .interview-modal__qa-label { font-size: 29px; }
  .recruit-page .interview-modal__qa h3,
  .recruit-page .interview-modal__qa p { font-size: 15px; }
}

/* Interview reference layout: broad photo, compact profile, evenly spaced Q/A. */
.recruit-page .interview-modal {
  width: min(990px, calc(100% - 48px));
  max-height: calc(100dvh - 32px);
  border-radius: 24px;
}
.recruit-page .interview-modal__scroll {
  max-height: calc(100dvh - 32px);
  padding: 76px 46px 84px;
}
.recruit-page .interview-modal__close {
  top: -60px;
  width: 44px;
  height: 44px;
  margin: -60px 0 16px auto;
}
.recruit-page .interview-modal__close span { left: 2px; width: 40px; }
.recruit-page .interview-modal__photo { aspect-ratio: 895 / 414; }
.recruit-page .interview-modal blockquote {
  margin: 30px 8px 18px;
  padding-inline: 104px 50px;
  color: #111;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
}
.recruit-page .interview-modal blockquote::before,
.recruit-page .interview-modal blockquote::after { font-size: 38px; color: #79d9da; background: none; -webkit-text-fill-color: currentColor; }
.recruit-page .interview-modal__profile { padding: 20px 38px; background: #f2f2f2; }
.recruit-page .interview-modal__profile strong { margin: 0; color: #666; font-size: 19px; line-height: 1.6; }
.recruit-page .interview-modal__qa { margin-top: 40px; padding: 0 26px 0 42px; gap: 44px; }
.recruit-page .interview-modal__qa section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.recruit-page .interview-modal__qa-row { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.recruit-page .interview-modal__qa-label { font-size: 42px; line-height: 1.1; }
.recruit-page .interview-modal__qa h3,
.recruit-page .interview-modal__qa p { padding-top: 4px; font-size: 20px; line-height: 1.45; font-weight: 500; color: #111; }
@media (max-width: 800px) {
  .recruit-page .interview-modal { width: calc(100% - 24px); border-radius: 18px; }
  .recruit-page .interview-modal__scroll { padding: 54px 20px 36px; }
  .recruit-page .interview-modal__close { top: -44px; margin-top: -44px; margin-bottom: 0; }
  .recruit-page .interview-modal__close span { left: 10px; width: 26px; }
  .recruit-page .interview-modal blockquote { margin: 22px 0 18px; padding-inline: 32px; font-size: 20px; line-height: 1.5; }
  .recruit-page .interview-modal blockquote::before,
  .recruit-page .interview-modal blockquote::after { font-size: 28px; }
  .recruit-page .interview-modal__profile { padding: 16px 18px; }
  .recruit-page .interview-modal__profile strong { font-size: 14px; }
  .recruit-page .interview-modal__qa { margin-top: 28px; padding: 0; gap: 30px; }
  .recruit-page .interview-modal__qa section { gap: 14px; }
  .recruit-page .interview-modal__qa-row { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .recruit-page .interview-modal__qa-label { font-size: 30px; }
  .recruit-page .interview-modal__qa h3,
  .recruit-page .interview-modal__qa p { padding-top: 2px; font-size: 15px; line-height: 1.7; }
}

/* Desktop interview modal: two-thirds of the reference layout. */
@media (min-width: 801px) {
  .recruit-page .interview-modal { width: min(660px, calc(100% - 48px)); border-radius: 16px; }
  .recruit-page .interview-modal__scroll { padding: 51px 31px 56px; }
  .recruit-page .interview-modal__close { top: -40px; width: 30px; height: 30px; margin: -40px 0 10px auto; }
  .recruit-page .interview-modal__close span { top: 14px; left: 1px; width: 27px; }
  .recruit-page .interview-modal blockquote { margin: 20px 5px 12px; padding-inline: 69px 33px; font-size: 20px; }
  .recruit-page .interview-modal blockquote::before,
  .recruit-page .interview-modal blockquote::after { font-size: 25px; }
  .recruit-page .interview-modal__profile { padding: 13px 25px; }
  .recruit-page .interview-modal__profile strong { font-size: 13px; }
  .recruit-page .interview-modal__qa { margin-top: 27px; padding: 0 17px 0 28px; gap: 29px; }
  .recruit-page .interview-modal__qa section { gap: 11px; }
  .recruit-page .interview-modal__qa-row { grid-template-columns: 29px minmax(0, 1fr); gap: 11px; }
  .recruit-page .interview-modal__qa-label { font-size: 28px; }
  .recruit-page .interview-modal__qa h3,
  .recruit-page .interview-modal__qa p { padding-top: 3px; font-size: 14px; }
}

/* Replacement interview photo uses its own full-width crop. */
.recruit-page .interview-modal__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Third recruit separator: display the supplied complete composition. */
.recruit-page .recruit-section-photo { height: auto; max-height: none; aspect-ratio: auto; }
.recruit-page .recruit-section-photo img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
