@charset "UTF-8";

/* =========================================================
   Interview detail
   /recruit/interview/01.html - 08.html

   下層共通：
   - .lower-page
   - .lower-page__hero*
   - .lower-page__breadcrumb*
   - .lower-related*
   を lower.css から流用。
========================================================= */

.interview-page {
  overflow-x: clip;
  background: var(--color-gray0);
}

/* Hero
--------------------------------------------------------- */

.interview-page__hero-copy {
  position: relative;
  z-index: 2;
  overflow: visible;
  background: var(--color-gray0);
}

.interview-page__hero-inner {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.55fr);
  min-height: 478px;
  background: var(--color-gray0);
  overflow: visible;
}

.interview-page__hero-copy-inner {
  width: 100%;
}

.interview-page__hero-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 22px;
  border-radius: 999px;
  background: #fceded;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.interview-page__hero-title {
  position: relative;
  z-index: 2;
  font-size: 48px;
  line-height: 1.55;
  white-space: nowrap;
}

.interview-page__hero-name {
  margin-top: 16px;
  color: var(--color-text-main);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.interview-page__hero-name small {
  margin-left: 4px;
  font-size: 24px;
}

.interview-page__hero-affiliation {
  margin-left: 0.2em;
  font-size: 0.6em;
}

.interview-page__hero-year {
  margin-top: 8px;
  color: var(--color-text-main);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.interview-page__hero-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 960 / 478;
}

.interview-page__hero-media img {
  object-position: center center;
}

.interview-page__toc-link {
  display: none;
}

/* Interview body
--------------------------------------------------------- */

.interview-content {
  padding: 72px 0 0;
  background: var(--color-gray0);
}

.interview-content__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 0 54px;
  width: min(var(--content-width), calc(100% - (var(--page-gutter-pc) * 2)));
  margin: 0 auto;
}

.interview-content__qa {
  min-width: 0;
}

.interview-question {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  margin-top: 80px;
  scroll-margin-top: 110px;
}

.interview-question:first-child {
  margin-top: 0;
}

.interview-question__media {
  margin: 0;
  overflow: hidden;
}

.interview-question__media img {
  display: block;
  width: 100%;
  height: auto;
}

.interview-question__body {
  min-width: 0;
}

.interview-question__heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.interview-question__number {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.interview-question__title {
  display: inline-block;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.interview-question__text {
  margin: 0;
  color: var(--color-text-main);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: justify;
}

/* Desktop TOC
--------------------------------------------------------- */

.interview-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.interview-toc__list li {
  border-top: 1px solid var(--color-accent);
}

.interview-toc__list li:last-child {
  border-bottom: 1px solid var(--color-accent);
}

.interview-toc__list a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 24px;
  padding: 10px 0;
  color: var(--color-text-main);
  text-decoration: none;
}

.interview-toc__list a:hover {
  opacity: 0.7;
}

.interview-toc__list span {
  color: var(--color-accent);
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.interview-toc__list strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

/* Schedule
--------------------------------------------------------- */

.interview-schedule__title {
  margin: 0;
  color: var(--color-accent);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.interview-schedule__decor {
  position: absolute;
  z-index: 0;
  top: 136px;
  right: -120px;
  display: block;
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.interview-schedule__list {
  position: relative;
  z-index: 1;
  margin: 0;
}

.interview-schedule__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 48px;
  margin-top: 6px;
}

.interview-schedule__row:first-child {
  margin-top: 0;
}

.interview-schedule__row dt,
.interview-schedule__row dd {
  display: flex;
  align-items: center;
  margin: 0;
}

.interview-schedule__row dt {
  width: 140px;
  box-sizing: border-box;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 6px 0 0 6px;
  font-weight: 700;
  text-align: center;
}

.interview-schedule__row dt time,
.interview-schedule__row dt span {
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
}

.interview-schedule__row dt br {
  display: none;
}

.interview-schedule__row dd {
  gap: 28px;
  padding: 16px;
  border-radius: 0 6px 6px 0;
  background: var(--color-gray0);
  color: var(--color-text-main);
}

.interview-schedule__row dd strong {
  flex: 0 0 190px;
  font-size: 16px;
  font-weight: 700;
}

.interview-schedule__row dd span {
  font-size: 14px;
  line-height: 1.6;
}

.interview-schedule__row.is-blue dt {
  width: 140px;
  background: #dff3fb;
}

.interview-schedule__row.is-yellow dt {
  background: #fff1c8;
}

.interview-schedule__row.is-orange dt {
  background: #ffe8cf;
}

/* Student message
--------------------------------------------------------- */

.interview-message__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Other interviews
--------------------------------------------------------- */

.interview-others {
  padding: 80px 0;
  background: var(--color-gray0);
}

.interview-others__inner {
  width: min(1000px, calc(100% - (var(--page-gutter-pc) * 2)));
  margin: 0 auto;
}

.interview-others__title {
  margin: 0 0 32px;
  color: var(--color-text-main);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.12em;
}

.interview-others__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.interview-person-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: var(--color-gray0);
  color: var(--color-text-main);
  text-decoration: none;
}

.interview-person-card figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.interview-person-card figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.interview-person-card:hover figure img {
  transform: scale(1.03);
}

.interview-person-card > div {
  position: relative;
  min-height: 138px;
  padding: 14px 16px 18px;
}

.interview-person-card__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 27px;
  min-height: 27px;
  padding: 8px 16px;
  box-sizing: border-box;
  border-radius: 100px;
  background: #3f6f86;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 11px;
  white-space: nowrap;
}

.interview-person-card__category.is-production {
  background: #3f6f86;
}

.interview-person-card__category.is-chemical {
  background: #47a386;
}

.interview-person-card__category.is-common {
  background: #3860be;
}

.interview-person-card__category.is-food {
  background: #bda684;
}

.interview-person-card__affiliation {
  margin-left: 0.2em;
  font-size: 0.75em;
}

.interview-person-card h3 {
  margin: 9px 28px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.interview-person-card p {
  margin: 8px 28px 0 0;
  color: #777;
  font-size: 9px;
  line-height: 1.5;
}

.interview-person-card b {
  position: absolute;
  right: 14px;
  bottom: 16px;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 400;
}

/* Tablet
--------------------------------------------------------- */

@media (max-width: 1399px) {
  .interview-content__inner {
    width: min(
      var(--content-width),
      calc(100% - (var(--page-gutter-tablet) * 2))
    );
  }

  .interview-others__inner {
    width: min(1000px, calc(100% - (var(--page-gutter-tablet) * 2)));
  }
}

@media (max-width: 1199px) {
  .interview-content__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .interview-toc {
    display: none;
  }

  .interview-question {
    gap: 28px;
  }

  .interview-schedule,
  .interview-message {
    grid-column: 1;
  }

  .interview-schedule {
    padding-inline: 42px;
  }
}

/* SP
--------------------------------------------------------- */

@media (max-width: 1024px) {
  .interview-page__hero-inner {
    min-height: 0;
  }

  .interview-page__hero-copy {
    min-height: 0;
    padding: 44px var(--page-gutter-sp) 38px;
  }


  .interview-page__hero-title {
    font-size: 28px;
    line-height: 1.5;
    white-space: normal;
  }


  .interview-page__hero-name small {
    font-size: 16px;
  }


  .interview-content {
    padding-top: 48px;
  }

  .interview-content__inner {
    display: block;
    width: 100%;
  }

  .interview-content__qa {
    width: 100%;
  }

  .interview-question {

    margin-top: 80px;


    scroll-margin-top: 76px;
  }

  .interview-question:first-child {
    margin-top: 0;
  }


  .interview-question__body {
    padding: 80px var(--page-gutter-sp) 0;
  }

  .interview-question__heading {
    gap: 14px;
    margin-bottom: 22px;
  }

  .interview-question__number {
    font-size: 48px;
  }

  .interview-question__title {
    padding: 9px 19px;
    font-size: 12px;
    line-height: 1.3;
  }

  .interview-question__text {
    font-size: 14px;
    line-height: 2;
  }

  .interview-schedule {
    margin-top: 56px;

    scroll-margin-top: 76px;
  }

  .interview-schedule__heading {
    display: block;
    margin-bottom: 28px;
  }

  .interview-schedule__heading .interview-question__number {
    display: block;
  }

  .interview-schedule__title {
    font-size: 36px;
    line-height: 1;
  }


  .interview-schedule__row dt {
    display: block;
    width: auto;
    padding: 8px 6px;
    font-size: 9px;
  }

  .interview-schedule__row dt time {
    display: block;
    min-width: 0;
    font-size: 9px;
  }

  .interview-schedule__row dt span {
    display: block;
    width: auto;
    margin-top: 2px;
    font-size: 8px;
  }


  .interview-schedule__row dd strong {
    display: block;

  }

  .interview-schedule__row dd span {
    display: block;


  }

  .interview-message {
    display: flex;
    flex-direction: column;
    scroll-margin-top: 76px;
  }

  .interview-message__media {
    order: 1;


  }

  .interview-message__body {
    order: 2;

  }


  .interview-others__title {
    margin-bottom: 32px;


  }


  .interview-person-card > div {
    min-height: 120px;
  }


  .interview-person-card p {

    color: #777;


  }
}

/* =========================================================
   PC layout refinements / 1440px design baseline
========================================================= */

@media (min-width: 1400px) {
  /* Hero copy starts at the same 100px line as breadcrumb.
     Image is allowed to overlap the visual area to the right. */
  .interview-page__hero-inner {
    grid-template-columns: 30.5556% minmax(0, 69.4444%);
  }

  .interview-page__hero-copy {
    padding-left: clamp(40px, 6.9444vw, 100px);
    padding-right: 24px;
  }

  .interview-page__hero-media {
    aspect-ratio: 960 / 478;
  }
}

/* Full-bleed schedule/message backgrounds while keeping the section
   content aligned to an inner working width. */

.interview-schedule {
  position: relative;
  grid-column: 1 / -1;
  margin-top: 80px;
  padding: 0;
  overflow: hidden;
  background: #fbf8f4;
  scroll-margin-top: 110px;
}

.interview-schedule__inner {
  position: relative;
  width: min(800px, calc(100% - 200px));
  margin: 0 auto;
  padding: 100px 0;
}

.interview-schedule__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  flex-direction: column;
}

.interview-message {
  display: block;
  grid-column: 1 / -1;
  grid-template-columns: 58.23% minmax(0, 1fr);
  background: var(--color-back-pink);
  scroll-margin-top: 110px;
}

.interview-message__inner {
  display: grid;
  grid-template-columns: 658px 505px;
  justify-content: start;
  width: 100%;
  margin: 0;
  background: var(--color-back-pink);
}

.interview-message__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: auto;
  width: 658px;
  height: 550px;
}

.interview-message__body {
  align-self: center;
  padding: 54px 0 54px 56px;
  width: 505px;
}

/* Sticky TOC must render above the full-bleed schedule/message layers. */
.interview-toc {
  align-self: start;
  position: sticky;
  top: 110px;
  padding-top: 4px;
  z-index: 20;
}

@media (min-width: 1400px) {
  /* 1440px design baseline:
     Q&A starts 100px from the left edge and the sticky TOC ends
     30px before the right edge. Keeping this in the grid avoids
     transform-based overflow / horizontal scrollbars. */
  .interview-content__inner {
    grid-template-columns: 1160px 191px;
    gap: 0 54px;
    width: calc(100% - 30px);
    margin: 0 30px 0 0;
  }

  .interview-content__qa {
    width: 1160px;
  }

  .interview-question {
    grid-template-columns: 556px 556px;
    gap: 48px;
    width: 1160px;
  }

  .interview-question__media {
    width: 556px;
    height: 400px;
  }

  .interview-question__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .interview-question__body {
    width: 556px;
  }

  .interview-toc {
    width: 191px;
    transform: none;
  }
}

.interview-schedule,
.interview-message {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: 1;
}

@media (max-width: 1399px) and (min-width: 1025px) {
  .interview-page__hero-inner {
    grid-template-columns: 30.5556% minmax(0, 69.4444%);
  }

  .interview-page__hero-copy {
    padding-left: var(--page-gutter-tablet);
    padding-right: 24px;
  }

  .interview-message__inner {
    grid-template-columns: 45.7% minmax(0, 1fr);
  }

  .interview-message__media {
    width: 100%;
    height: auto;
    aspect-ratio: 658 / 490;
  }

  .interview-schedule__inner {
    width: min(800px, calc(100% - (var(--page-gutter-tablet) * 2)));
    padding: 72px 0;
  }

  .interview-message__body {
    width: auto;
    padding-right: var(--page-gutter-tablet);
  }
}

@media (max-width: 1024px) {
  .interview-schedule,
  .interview-message {
    left: auto;
    width: 100%;
    margin-left: 0;
  }


  .interview-schedule__heading {
    gap: 8px;
  }


  .interview-message__body {

    padding: 80px var(--page-gutter-sp) 80px;
  }
}

/* =========================================================
   Wide desktop
   1440px以上も画像の左端・画像サイズは1440px時を維持。
   余剰幅は本文側で吸収し、TOCとの間隔54px／右端30pxも維持する。
========================================================= */
@media (min-width: 1441px) {
  /* Q1〜Q3 + TOC
     1440px時と同じくTOCは画面右端から30px、
     本文エリアとTOCの間は54pxを確保する。 */
  .interview-content__inner {
    width: calc(100% - 30px);
    max-width: none;
    margin: 0 30px 0 0;
    grid-template-columns: minmax(0, 1fr) 191px;
    gap: 0 54px;
  }

  .interview-content__qa,
  .interview-content__main {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .interview-question {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: 556px minmax(0, 1fr);
    gap: 48px;
    justify-content: stretch;
  }

  .interview-question__media {
    width: 556px;
    height: 400px;
    min-width: 556px;
  }

  .interview-question__body {
    width: auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
  }

  .interview-toc {
    width: 191px;
    transform: none;
  }

  /* Q5
     左画像658pxは固定し、右本文だけ余剰幅を使う。 */
  .interview-message__inner {
    /* Q1〜Q3と同様、右側に
       TOC 191px + 間隔54px + 右余白30px を確保する */
    width: calc(100% - 275px);
    max-width: none;
    margin: 0 275px 0 0;
    grid-template-columns: 658px minmax(0, 1fr);
    gap: 54px;
    justify-content: stretch;
  }

  .interview-message__media {
    width: 658px;
    height: 550px;
    min-width: 658px;
  }

  .interview-message__body {
    width: auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
  }
}

/* =========================================================
   Ultra wide desktop
   KV共通仕様と同様、2000pxを上限にページ主要領域を中央寄せする。
   2000px以下では従来どおりviewport幅を使用する。
========================================================= */
@media (min-width: 2001px) {
  /* Q1〜Q3 + TOC
     2000pxキャンバスを中央に置き、
     その中で左画像は左端、TOCは右端から30pxを維持する。 */
  .interview-content__inner {
    width: 1970px;
    max-width: none;
    margin-left: calc((100vw - 2000px) / 2);
    margin-right: auto;
  }

  /* 04 / 05 の背景自体も最大2000pxで中央寄せ */
  .interview-schedule,
  .interview-message {
    width: 2000px;
    margin-left: -1000px;
    margin-right: 0;
  }

  /* 05の中身は2000pxキャンバス基準。
     右側に TOC 191px + gap 54px + 右余白30px = 275px を確保。 */
  .interview-message__inner {
    width: 1725px;
    margin-left: 0;
    margin-right: 275px;
  }
}

/* Mobile TOC overlay / schedule scroll helpers
--------------------------------------------------------- */
.interview-toc-overlay {
  display: none;
}

.interview-schedule__scroll {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Interview detail SP implementation
   PC / tablet styles are intentionally untouched.
========================================================= */
@media (max-width: 1024px) {

  .interview-page__toc-link {
    position: fixed;
    z-index: 10003;

    bottom: 124px;
    display: flex;


    border: 0;
    border-radius: 0;


    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-decoration: none;

    cursor: pointer;

  }

  .interview-page__toc-link span {
    display: block;
  }


  /* ---------- TOC drawer + dimmed overlay ---------- */
  .interview-toc-overlay {
    position: fixed;
    z-index: 10001;
    inset: 0;
    display: block;
    visibility: hidden;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease;
  }

  .interview-toc {
    position: fixed;
    z-index: 10002;
    top: auto;
    right: 0;
    bottom: 124px;
    display: block;

    max-height: calc(100dvh - 148px);
    padding: 10px 12px 12px;
    overflow-y: auto;
    background: #fff;
    opacity: 1;
    transform: translateX(100%);

    overscroll-behavior: contain;
  }

  .interview-toc__list a {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }

  .interview-toc__list span {
    font-size: 18px;
  }

  .interview-toc__list strong {
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }

  body.interview-menu-open {
    overflow: hidden;
  }

  body.interview-menu-open .interview-toc {
    transform: translateX(0);
  }

  body.interview-menu-open .interview-toc-overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }


  .interview-schedule {
    overflow: hidden;
    padding: 0;
  }

  .interview-schedule__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 80px 0 80px var(--page-gutter-sp);
  }

  .interview-schedule__heading {
    padding-right: var(--page-gutter-sp);
  }

  .interview-schedule__decor {
    top: 17px;
    right: -16px;
    width: 183px;
    height: 183px;
  }

  .interview-schedule__scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 var(--page-gutter-sp) 8px 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .interview-schedule__list {
    width: 773px;
  }

  .interview-schedule__row {
    grid-template-columns: 114px 659px;
    min-height: 48px;
  }

  .interview-schedule__row dt,
  .interview-schedule__row.is-blue dt {
    width: 115px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
  }

  .interview-schedule__row dt time,
  .interview-schedule__row dt span {
    font-size: 13px;
    line-height: 1.3;
  }

  .interview-schedule__row dd {
    display: flex;
    gap: 20px;
    padding: 13px;
  }

  .interview-schedule__row dd strong {
    flex: 0 0 150px;
    font-size: 13px;
  }

  .interview-schedule__row dd span {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.5;
  }


  .interview-question,
  .interview-schedule,
  .interview-message {
    scroll-margin-top: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interview-page__toc-link,
  .interview-page__toc-arrow,
  .interview-toc,
  .interview-toc-overlay {
    transition: none !important;
  }
}


@media (max-width: 1024px) {
  /* Hero: copy + image in one vertical column */
  .lower-page__hero-inner.interview-page__hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .interview-page__hero-copy {
    padding-bottom: 0;
  }

  .interview-page__hero-label {
    margin-bottom: 20px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 14px;
  }

  .interview-page__hero-name {
    margin-top: 16px;
    font-size: 24px;
  }

  .interview-page__hero-year {
    font-size: 16px;
  }

  /* TOC trigger / drawer */
  .interview-page {
    --interview-toc-drawer-width: min(190px, calc(100vw - 52px));
  }

  .interview-page__toc-link {
    right: 0;
    width: 50px;
    height: 128px;
    padding: 16px 0 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e3494b;
    writing-mode: horizontal-tb;
    transform: translateX(0);
    transition: transform 0.32s ease;
  }

  body.interview-menu-open .interview-page__toc-link {
    right: 0;
    transform: translateX(calc(-1 * var(--interview-toc-drawer-width)));
  }

  .interview-toc {
    width: var(--interview-toc-drawer-width);
    transition: transform 0.32s ease;
  }

  /* 「目」「次」は縦書き組版を使わず1文字ずつ積む。
     字面を赤枠の見た目中央に合わせるため2pxだけ左へ補正。 */
  .interview-page__toc-link > .interview-page__toc-label {
    display: flex;
    width: 50px;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }

  .interview-page__toc-label > span {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
  }

  /* Figma書き出しSVGをそのまま使用 */
  .interview-page__toc-arrow {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0 auto;
    padding: 0;
    background: url("/recruit/common/img/interview/arrow-left.svg") no-repeat
      center / 18px 18px;
    font-size: 0;
    line-height: 0;
    transform: none;
    transition: none;
  }

  .interview-page__toc-arrow::before,
  .interview-page__toc-arrow::after {
    display: none;
    content: none;
  }

  body.interview-menu-open .interview-page__toc-arrow {
    background-image: url("/recruit/common/img/interview/arrow-right.svg");
    transform: none;
  }
}

/* SP global menu priority
--------------------------------------------------------- */
@media (max-width: 1024px) {
  body.is-menu-open .interview-page__toc-link,
  body.is-menu-open .interview-toc,
  body.is-menu-open .interview-toc-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}


.interview-page .is-reveal-target {
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: opacity;
}

.interview-page .is-reveal-target.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .interview-page .is-reveal-target,
  .interview-page .is-reveal-target.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


@media (min-width: 1025px) {
  .interview-page .lower-page__hero,
  .interview-page__hero-inner {
    width: 100%;
    max-width: none;
  }

  .interview-page__hero-inner {
    /* Figma: 480px copy area + 960px image at 1440px */
    grid-template-columns: 33.3333% minmax(0, 66.6667%);
    min-height: 478px;
    overflow: visible;
  }

  .interview-page__hero-copy {
    position: relative;
    z-index: 3;
    overflow: visible;
    min-width: 0;
    padding: 0 0 0 clamp(32px, 6.9444vw, 100px);
  }

  .interview-page__hero-copy-inner {
    position: relative;
    z-index: 3;
    width: clamp(300px, 29.0278vw, 418px);
    max-width: none;
  }

  .interview-page__hero-title {
    width: max-content;
    max-width: none;
    font-size: clamp(32px, 3.3333vw, 48px);
    line-height: 1.5;
    white-space: nowrap;
  }

  .interview-page__hero-name {
    width: max-content;
    max-width: none;
    font-size: clamp(24px, 2.2222vw, 32px);
    white-space: nowrap;
  }

  .interview-page__hero-media {
    position: relative;
    z-index: 1;
    min-height: 478px;
    height: 478px;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .interview-page__hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}


@media (min-width: 1440px) {
  .interview-page__hero-inner {
    min-height: 0;
    align-items: stretch;
  }

  .interview-page__hero-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 960 / 470;
  }

  .interview-page__hero-media picture,
  .interview-page__hero-media img {
    width: 100%;
    height: 100%;
  }

  .interview-page__hero-media img {
    object-fit: cover;
  }
}


@media (min-width: 1440px) {
  .interview-content__inner {
    --interview-shell: 1280px;
    --interview-toc-width: 191px;
    --interview-toc-gap: 54px;

    display: grid;


    width: var(--interview-shell);
    max-width: none;
    margin: 0 auto;
  }

  .interview-content__qa {

    min-width: 0;
  }

  .interview-question {

    display: grid;


    max-width: none;
    margin-right: 0;
    margin-left: calc(-1 * var(--interview-left-bleed));
  }

  .interview-question__media {
    width: 100%;
    min-width: 0;
    height: 400px;
  }

  .interview-question__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .interview-question__body {

    min-width: 0;

    padding-right: 0;
  }

  .interview-toc {
    width: var(--interview-toc-width);
    justify-self: end;

  }

  /* Q5: left photo bleeds to viewport edge; text ends at centered 1280px shell. */


}

@media (min-width: 1025px) and (max-width: 1439px) {
  .interview-content__inner {
    --interview-fluid-gutter: var(--page-gutter-tablet);
    width: calc(100% - (var(--interview-fluid-gutter) * 2));
    max-width: none;
    margin: 0 auto;
  }

  .interview-content__qa {
    width: 100%;
    min-width: 0;
  }

  .interview-question {
    display: grid;
    grid-template-columns:
      minmax(300px, 46%)
      minmax(0, 1fr);
    gap: clamp(28px, 3.3vw, 48px);
    width: calc(100% + var(--interview-fluid-gutter));
    max-width: none;
    margin-right: 0;
    margin-left: calc(-1 * var(--interview-fluid-gutter));
  }

  .interview-question__media {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 556 / 400;
  }

  .interview-question__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .interview-question__body {
    width: auto;
    min-width: 0;
    max-width: none;
    padding-right: 0;
  }

  .interview-message__inner {


    margin: 0 var(--page-gutter-tablet) 0 0;
  }

  .interview-message__media {


    height: auto;
    aspect-ratio: 658 / 550;
  }

  .interview-message__body {


    padding: 40px 0;
  }
}

/* Re-assert the established SP one-column layout after the tablet overrides. */
@media (max-width: 1024px) {
  .interview-content__inner,
  .interview-content__qa {
    width: 100%;
  }

  .interview-question {
    display: flex;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    gap: 0;
  }

  .interview-question__media {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border-radius: 0;
  }


  .interview-message__media {

    height: auto;
    aspect-ratio: 390 / 312;
  }
}


@media (min-width: 1025px) {
  .interview-question__media {
    height: auto !important;
    aspect-ratio: 700 / 500 !important;
  }

  .interview-question__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .interview-message__media img {
    width: 100%;
    height: 100%;

  }
}

/* =========================================================
   Hero entrance motion
   title slide/fade -> name fade
========================================================= */
@keyframes interviewHeroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes interviewHeroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.interview-page__hero-title {
  animation: interviewHeroSlideIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s
    both;
}

.interview-page__hero-name,
.interview-page__hero-year {
  animation: interviewHeroFadeIn 0.55s ease-out 0.74s both;
}

@media (prefers-reduced-motion: reduce) {
  .interview-page__hero-title,
  .interview-page__hero-name,
  .interview-page__hero-year {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Shift schedule (Interview 02 / 07)
--------------------------------------------------------- */
.interview-schedule--shift .interview-schedule__scroll {
  position: relative;
  z-index: 1;
}

.interview-shift-schedule {
  display: grid;
  grid-template-columns: 396px 396px 160px;
  gap: 24px;
  width: 1000px;
  min-width: 1000px;
}

.interview-shift-schedule__column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.interview-shift-schedule__column h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  margin: 0;
  border-radius: 8px;
  color: var(--color-text-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.interview-shift-schedule__column.is-day h3 {
  background: #fff4d1;
}
.interview-shift-schedule__column.is-night-column h3 {
  background: #e0e7fd;
}
.interview-shift-schedule__column.is-third-day h3 {
  background: #f5e3df;
}

.interview-shift-schedule__row {
  display: grid;
  grid-template-columns: 80px 100px minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  min-height: 50px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text-main);
}

.interview-shift-schedule__row time {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 8px;
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.interview-shift-schedule__row strong {
  padding: 10px 8px 10px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.interview-shift-schedule__row strong small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  font-feature-settings: "palt";
}

.interview-shift-schedule__row > span {
  padding: 10px 8px 10px 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.interview-shift-schedule__row.is-blue time {
  background: rgba(153, 225, 248, 0.3);
}
.interview-shift-schedule__row.is-yellow time {
  background: rgba(255, 218, 102, 0.3);
}
.interview-shift-schedule__row.is-night time {
  background: #e0e7fd;
}
.interview-shift-schedule__row.is-morning time {
  background: #e0f6fd;
}

.interview-shift-schedule__off {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 462px;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (min-width: 1025px) {

  .interview-schedule--shift .interview-schedule__scroll {
    overflow-x: auto;
    overflow-y: hidden;

  }
}

@media (max-width: 1024px) {
  .interview-schedule--shift .interview-schedule__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: var(--page-gutter-sp);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }
  .interview-shift-schedule {
    grid-template-columns: 396px 396px 160px;
    gap: 16px;
    width: 984px;
    min-width: 984px;
  }
}

/* Shift schedule: desktop fits within the page (no horizontal scroll) */
@media (min-width: 1025px) {
  .interview-schedule--shift .interview-schedule__inner {
    width: min(1000px, calc(100% - 200px));
    max-width: none;
  }

  .interview-schedule--shift .interview-schedule__scroll {
    overflow: visible;
    padding-bottom: 0;
  }

  .interview-schedule--shift .interview-shift-schedule {


    min-width: 0;
  }
}

/* Shift schedule: Figma spacing / sizing (desktop) */
@media (min-width: 1025px) {
  .interview-schedule--shift .interview-shift-schedule {
    grid-template-columns: 396px 396px 160px;
    gap: 24px;
    width: 1000px;
  }

  .interview-shift-schedule__column {
    gap: 8px;
    height: 518px;
  }

  .interview-shift-schedule__row {
    grid-template-columns: 80px 16px 100px minmax(0, 192px);
    min-height: 0;
  }

  .interview-shift-schedule__row time {
    grid-column: 1;
    box-sizing: border-box;
    padding: 8px 24px;
  }

  .interview-shift-schedule__row strong {
    grid-column: 3;
    box-sizing: border-box;
    padding: 8px 0;
  }

  .interview-shift-schedule__row > span {
    grid-column: 4;
    box-sizing: border-box;
    padding: 8px 8px 8px 0;
  }

  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(1) {
    height: 86px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(2) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(3) {
    height: 50px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(4) {
    height: 82px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(5) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(6) {
    height: 68px;
  }

  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(1) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(2) {
    height: 86px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(3) {
    height: 50px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(4) {
    height: 100px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(5) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(6) {
    height: 50px;
  }

  .interview-shift-schedule__off {
    min-height: 0;
    height: 462px;
  }
}

/* Q5 desktop: match Figma text frame width (505px at 1440px+) */


/* Interview person cards - Figma sizing */
@media (min-width: 1025px) {
  .interview-others__list {
    gap: 24px;
  }

  .interview-person-card > div,
  .interview-person-card__body {
    position: relative;
    min-height: 131px;
    padding: 10px 24px 16px;
    box-sizing: border-box;
  }

  .interview-person-card h3 {
    margin: 7px 32px 0 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .interview-person-card p {
    margin: 6px 32px 0 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .interview-person-card__arrow {
    position: absolute;
    right: 24px;
    bottom: 16px;
    color: var(--color-accent);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
  }
}

/* Interview person card arrow hover */
@media (hover: hover) and (pointer: fine) {
  .interview-person-card__arrow {
    transition: transform 0.3s ease;
  }

  .interview-person-card:hover .interview-person-card__arrow {
    transform: translateX(5px);
  }
}

/* Interview TOC position: keep +60px offset on 1440px and wider desktops */


/* =========================================================
   Interview TOC - keep the 1440px design position/size on desktop
   Do not fluidly pull the TOC inward below/above 1440px.
========================================================= */


/* Interview TOC - preserve the 1440px position, but pull inward on narrower desktops */
@media (min-width: 1025px) {
  .interview-toc {


    justify-self: end;
    transform: translateX(clamp(0px, calc(100vw - 1380px), 60px)) !important;
  }


}

/* =========================================================
   Desktop TOC position correction
   Keep page/content geometry untouched.
   Only the TOC itself is adjusted.
========================================================= */
@media (min-width: 1025px) {
  .interview-toc {
    width: 191px !important;
    min-width: 191px !important;
    max-width: 191px !important;
  }

  .interview-toc__list {
    width: 191px;
  }
}


@media (min-width: 1200px) {
  .interview-toc {


    padding: 0 !important;

  }


}

@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-page {
    --interview-toc-drawer-width: min(190px, calc(100vw - 52px));
  }

  .interview-page__toc-link {
    position: fixed !important;

    right: 0 !important;
    bottom: 124px !important;
    display: flex !important;
    width: 50px !important;
    height: 128px !important;
    padding: 16px 0 14px !important;
    border: 0;
    border-radius: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e3494b;
    color: #fff;
    writing-mode: horizontal-tb;
    cursor: pointer;
    transform: translateX(0);
    transition: transform 0.32s ease;
  }

  .interview-page__toc-link > .interview-page__toc-label {
    display: flex;
    width: 50px;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }

  .interview-page__toc-label > span {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
  }

  .interview-page__toc-arrow {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0 auto;
    background: url("/recruit/common/img/interview/arrow-left.svg") no-repeat
      center / 18px 18px;
    font-size: 0;
    line-height: 0;
  }

  .interview-toc-overlay {
    position: fixed;

    inset: 0;
    display: block;
    visibility: hidden;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease;
  }

  .interview-toc {
    position: fixed !important;

    top: auto !important;
    right: 0 !important;
    bottom: 124px !important;
    display: block !important;
    width: var(--interview-toc-drawer-width) !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100dvh - 148px);
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    overflow-y: auto;
    background: #fff;
    transform: translateX(100%) !important;
    transition: transform 0.32s ease;
  }

  .interview-toc__list {
    width: 100% !important;
  }
  .interview-toc__list a {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }
  .interview-toc__list span {
    font-size: 18px;
  }
  .interview-toc__list strong {
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }

  body.interview-menu-open {
    overflow: hidden;
  }
  body.interview-menu-open .interview-page__toc-link {
    transform: translateX(calc(-1 * var(--interview-toc-drawer-width)));
  }
  body.interview-menu-open .interview-toc {
    transform: translateX(0) !important;
  }
  body.interview-menu-open .interview-toc-overlay {
    visibility: visible;
    opacity: 1;

  }
  body.interview-menu-open .interview-page__toc-arrow {
    background-image: url("/recruit/common/img/interview/arrow-right.svg");
  }
}


@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-content,
  .interview-content__inner {
    overflow: visible !important;
  }

  .interview-page__toc-link {
    z-index: 2147483646 !important;
  }

  .interview-toc {
    z-index: 2147483645 !important;
  }

  .interview-toc-overlay {
    z-index: 2147483644 !important;
  }

  body.interview-menu-open .interview-page__toc-link,
  body.interview-menu-open .interview-toc,
  body.interview-menu-open .interview-toc-overlay {
    visibility: visible !important;
    opacity: 1;
  }

  body.interview-menu-open .interview-toc-overlay {
    pointer-events: auto !important;
  }
}

/* TOC viewport layer: <=1199px
   JS moves these three elements directly under body to escape parent stacking contexts. */
@media (max-width: 1199px) {
  body > .interview-toc-overlay {
    position: fixed !important;
    z-index: 999997 !important;
  }
  body > .interview-toc {
    position: fixed !important;
    z-index: 999998 !important;
  }
  body > .interview-page__toc-link {
    position: fixed !important;
    z-index: 999999 !important;
  }
}


@media (max-width: 1199px) {
  :root,
  body {
    --interview-toc-drawer-width: min(190px, calc(100vw - 52px));
  }

  body.interview-menu-open > .interview-page__toc-link {
    transform: translateX(
      calc(-1 * var(--interview-toc-drawer-width))
    ) !important;
  }

  body.interview-menu-open > .interview-toc {
    width: var(--interview-toc-drawer-width) !important;
    transform: translateX(0) !important;
  }
}


/* Desktop: TOC belongs to the interview-content grid.
   Sticky starts at Q1 (never overlaps the KV) and naturally stops
   at the end of the interview content / Q5 area. */
@media (min-width: 1200px) {
  .interview-toc {

    top: 110px !important;

    bottom: auto !important;
    align-self: start !important;


    margin: 0 !important;
    padding-top: 4px !important;
    z-index: 20;

  }


  /* Keep the Q5 text frame at the approved desktop width. */
  .interview-message__body {
    width: 505px !important;
    max-width: 505px !important;
  }
}

/* SP shift schedule: use the same inner padding / column spacing as PC. */
@media (max-width: 1024px) {
  .interview-shift-schedule__row {
    grid-template-columns: 80px 16px 100px minmax(0, 192px);
  }

  .interview-shift-schedule__row time {
    grid-column: 1;
    box-sizing: border-box;
    padding: 8px 24px;
  }

  .interview-shift-schedule__row strong {
    grid-column: 3;
    box-sizing: border-box;
    padding: 8px 0;
  }

  .interview-shift-schedule__row > span {
    grid-column: 4;
    box-sizing: border-box;
    padding: 8px 8px 8px 0;
  }
}


@media (max-width: 1024px) {
  .interview-shift-schedule__column {
    gap: 8px;
    height: 518px;
  }

  .interview-shift-schedule__row {
    min-height: 0;
  }

  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(1) {
    height: 86px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(2) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(3) {
    height: 50px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(4) {
    height: 82px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(5) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(6) {
    height: 68px;
  }

  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(1) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(2) {
    height: 86px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(3) {
    height: 50px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(4) {
    height: 100px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(5) {
    height: 68px;
  }
  .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(6) {
    height: 50px;
  }

  .interview-shift-schedule__off {
    min-height: 0;
    height: 462px;
  }
}


@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-content__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 191px !important;
    column-gap: clamp(20px, 2.2vw, 32px) !important;
    width: calc(100% - (var(--page-gutter-tablet) * 2)) !important;
    max-width: none !important;
    margin: 0 auto !important;
  }

  .interview-content__qa {
    width: 100% !important;
    min-width: 0 !important;
  }

  .interview-toc {
    width: 191px !important;
    min-width: 191px !important;
    max-width: 191px !important;
    justify-self: end !important;

  }

  .interview-toc__list {
    width: 191px !important;
  }
}

/* Interview others title: SP line break */
.interview-others__title-break {
  display: none;
}

@media (max-width: 1024px) {
  .interview-others__title-break {
    display: block;
  }
}


@media (max-width: 1024px) {
  .interview-others {
    padding: 58px var(--page-gutter-sp);
  }

  .interview-others__inner {
    width: 100%;
    max-width: none;
  }

  .interview-others__title {
    margin: 0 0 32px;
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
  }

  .interview-others__list {
    display: block;
    width: 100%;
  }

  .interview-person-card {
    width: 100%;
  }

  .interview-person-card + .interview-person-card {
    margin-top: 16px;
  }

  .interview-person-card > div,
  .interview-person-card__body {
    position: relative;
    min-height: 131px;
    padding: 10px 24px 16px;
    box-sizing: border-box;
  }

  .interview-person-card h3 {
    margin: 7px 32px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }

  .interview-person-card p {
    margin: 6px 32px 0 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .interview-person-card__arrow {
    position: absolute;
    right: 24px;
    bottom: 16px;
    color: var(--color-accent);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
  }
}

/* =========================================================
   Q5 desktop layout
   Match Q1-Q3 (.interview-question) media/body dimensions.
   ========================================================= */
@media (min-width: 1400px) {
  .interview-message__inner {
    display: grid;
    grid-template-columns: 556px 556px;
    gap: 48px;
    width: 1160px;
    margin: 0;
  }

  .interview-message__media {
    width: 556px;
    height: 400px;
    aspect-ratio: auto;
}

  .interview-message__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .interview-message__body {
    width: 556px !important;
    max-width: 556px !important;
    min-width: 0;
    padding: 0;
    align-self: center;
  }
}

/* Q5 desktop: use exactly the same horizontal geometry as Q1-Q3. */
@media (min-width: 1440px) {


  .interview-message__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


}


/* SP: Q5 media and text use the same full-width / gutter geometry as Q1-Q3. */
@media (max-width: 1024px) {
  .interview-message__inner {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .interview-message__media {
    width: 100% !important;
    min-width: 0 !important;
  }

  .interview-message__body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding-right: var(--page-gutter-sp) !important;
    padding-left: var(--page-gutter-sp) !important;
  }
}

/* Tablet / small desktop: copy .interview-question horizontal geometry exactly. */
@media (min-width: 1025px) and (max-width: 1439px) {
  .interview-message__inner {
    display: grid !important;
    grid-template-columns: minmax(300px, 46%) minmax(0, 1fr) !important;
    gap: clamp(28px, 3.3vw, 48px) !important;
    width: calc(100% + var(--interview-fluid-gutter)) !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: calc(-1 * var(--interview-fluid-gutter)) !important;
  }

  .interview-message__media {
    width: 100% !important;
    min-width: 0 !important;
  }

  .interview-message__body {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-right: 0 !important;
  }
}

/* Large desktop: copy .interview-question horizontal geometry exactly. */
@media (min-width: 1440px) {
  .interview-message__inner {


    margin-right: 0 !important;
    margin-left: calc(-1 * var(--interview-left-bleed)) !important;
  }


}


@media (min-width: 1025px) and (max-width: 1200px) {
  .interview-message__inner {
    display: grid !important;
    grid-template-columns: minmax(300px, 46%) minmax(0, 1fr) !important;
    gap: clamp(28px, 3.3vw, 48px) !important;
    width: calc(100vw - var(--page-gutter-tablet)) !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .interview-message__media {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 700 / 500 !important;
  }
  .interview-message__body {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    align-self: center !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-message__inner {
    --q5-toc-gap: clamp(20px, 2.2vw, 32px);


    /* Same used width as .interview-question:
       Q&A = viewport - 2 gutters - TOC - TOC gap;
       question adds one left gutter back for the bleed. */


  }
  .interview-message__media {


    height: auto !important;
    aspect-ratio: 700 / 500 !important;
  }

}

@media (min-width: 1440px) {

  .interview-message__media {


    height: auto !important;

}

}


@media (min-width: 1440px) {


  .interview-message__media {
    /* 1440px viewport => 578 + 80 bleed = 658px; height = 550px */

    aspect-ratio: 658 / 550 !important;
  }
}

/* =========================================================
   Interview hero media / SP Figma ratio
   390px viewport baseline: 390 x 280
========================================================= */
@media (max-width: 1024px) {
  .interview-page__hero-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 390 / 280;
    overflow: hidden;
  }

  .interview-page__hero-media picture,
  .interview-page__hero-media img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .interview-page__hero-media img {
    object-fit: cover;
    object-position: center center;
  }
}


@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-schedule--shift .interview-schedule__inner {
    width: calc(100% - 500px);
    max-width: 920px;
    min-width: 0;
  }

  .interview-schedule--shift .interview-shift-schedule {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(104px, 0.42fr);
    gap: clamp(8px, 0.85vw, 12px);
    width: 100%;
    min-width: 0;
  }

  .interview-schedule--shift .interview-shift-schedule__column {
    height: auto;
    min-width: 0;
  }

  .interview-schedule--shift .interview-shift-schedule__column h3 {
    min-height: 48px;
    height: auto;
    padding: 8px 6px;
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
  }

  .interview-schedule--shift .interview-shift-schedule__row {
    grid-template-columns: clamp(50px, 4.8vw, 64px) minmax(92px, 38%) minmax(
        0,
        1fr
      );
    min-height: 58px;
    height: auto !important;
    align-items: stretch;
    overflow: hidden;
  }

  .interview-schedule--shift .interview-shift-schedule__row time {
    grid-column: 1;
    padding: 9px 5px;
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.35;
  }

  .interview-schedule--shift .interview-shift-schedule__row strong {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 9px 5px;
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.3;
    letter-spacing: 0.01em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .interview-schedule--shift .interview-shift-schedule__row strong small {
    font-size: clamp(10.5px, 0.86vw, 12px);
    line-height: 1.3;
  }

  .interview-schedule--shift .interview-shift-schedule__row > span {
    grid-column: 3;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 9px 6px 9px 2px;
    font-size: clamp(10.5px, 0.86vw, 12px);
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .interview-schedule--shift .interview-shift-schedule__column.is-third-day h3,
  .interview-schedule--shift .interview-shift-schedule__off {
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-align: center;
  }

  .interview-schedule--shift .interview-shift-schedule__off {
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    height: auto;
    flex: 1 1 auto;
    padding: 12px 6px;
    overflow: hidden;
  }
}


@media (min-width: 1025px) {
  .interview-schedule--shift .interview-shift-schedule__column {
    height: auto;
  }

  .interview-schedule--shift .interview-shift-schedule__row,
  .interview-schedule--shift
    .interview-shift-schedule__column.is-day
    .interview-shift-schedule__row:nth-of-type(n),
  .interview-schedule--shift
    .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:nth-of-type(n) {
    height: auto;
    min-height: 50px;
  }

  .interview-schedule--shift .interview-shift-schedule__row time,
  .interview-schedule--shift .interview-shift-schedule__row strong,
  .interview-schedule--shift .interview-shift-schedule__row > span {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .interview-schedule--shift .interview-shift-schedule__off {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
  }
}

/* =========================================================
   Shift schedule: horizontal scroll only when needed at <=1200px
   - Keep the existing 1201-1439px responsive adjustments untouched.
   - Tablet / narrow PC: preserve the schedule's 1000px design width;
     scrolling appears only when its container is narrower than that.
========================================================= */


@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-schedule--shift .interview-schedule__inner {
    box-sizing: border-box;
    width: calc(100% - (var(--page-gutter-tablet) * 2));
    max-width: none;
    min-width: 0;
  }

  .interview-schedule--shift .interview-schedule__scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }

  .interview-schedule--shift .interview-shift-schedule {
    width: 1000px;
    min-width: 1000px;
    max-width: none;
    grid-template-columns: 396px 396px 160px;
    gap: 24px;
  }
}

/* =========================================================
   Short desktop viewport: switch TOC to compact drawer
   - Width remains PC (>=1200px)
   - Switch only when viewport height is 730px or less
========================================================= */
@media (min-width: 1200px) and (max-height: 730px) {
  .interview-content,
  .interview-content__inner {
    overflow: visible !important;
  }

  .interview-page {
    --interview-toc-drawer-width: min(190px, calc(100vw - 52px));
  }

  body > .interview-page__toc-link {
    position: fixed !important;
    z-index: 2147483646 !important;
    right: 0 !important;
    bottom: 124px !important;
    display: flex !important;
    width: 50px !important;
    height: 128px !important;
    padding: 16px 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e3494b !important;
    color: #fff !important;
    cursor: pointer;
    transform: translateX(0) !important;
    transition: transform 0.32s ease;
  }

  body > .interview-page__toc-link > .interview-page__toc-label {
    display: flex;
    width: 50px;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
  }

  body > .interview-page__toc-link .interview-page__toc-label > span {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
  }

  body > .interview-page__toc-link .interview-page__toc-arrow {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0 auto;
    background: url("/recruit/common/img/interview/arrow-left.svg") no-repeat
      center / 18px 18px;
    font-size: 0;
    line-height: 0;
  }

  body > .interview-toc-overlay {
    position: fixed !important;
    z-index: 2147483644 !important;
    inset: 0 !important;
    display: block !important;
    visibility: hidden !important;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0 !important;
    pointer-events: none !important;
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease;
  }

  body > .interview-toc {
    position: fixed !important;
    z-index: 2147483645 !important;
    top: auto !important;
    right: 0 !important;
    bottom: 124px !important;
    display: block !important;
    width: var(
      --interview-toc-drawer-width,
      min(190px, calc(100vw - 52px))
    ) !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100dvh - 148px) !important;
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    overflow-y: auto !important;
    background: #fff !important;
    transform: translateX(100%) !important;
    transition: transform 0.32s ease;
  }

  body > .interview-toc .interview-toc__list {
    width: 100% !important;
  }

  body > .interview-toc .interview-toc__list a {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }

  body > .interview-toc .interview-toc__list span {
    font-size: 18px;
  }
  body > .interview-toc .interview-toc__list strong {
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }

  body.interview-menu-open {
    overflow: hidden;
  }

  body.interview-menu-open > .interview-page__toc-link {
    transform: translateX(
      calc(
        -1 * var(--interview-toc-drawer-width, min(190px, calc(100vw - 52px)))
      )
    ) !important;
  }

  body.interview-menu-open > .interview-toc {
    transform: translateX(0) !important;
  }

  body.interview-menu-open > .interview-toc-overlay {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.interview-menu-open
    > .interview-page__toc-link
    .interview-page__toc-arrow {
    background-image: url("/recruit/common/img/interview/arrow-right.svg");
  }
}

/* Shift schedule: align the bottom edge of the night column with the other columns. */
@media (min-width: 1025px) {
  .interview-schedule--shift .interview-shift-schedule__column.is-night-column {
    align-self: stretch;
  }

  .interview-schedule--shift
    .interview-shift-schedule__column.is-night-column
    .interview-shift-schedule__row:last-child {
    flex: 1 1 auto;
  }
}

/* =========================================================
   1025-1199px: use the same content geometry as <=1024px.
   Center the shift schedule + heading only when the schedule
   actually fits without horizontal scrolling.
========================================================= */
@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-schedule--shift .interview-shift-schedule {
    margin-inline: 0;
  }

  .interview-schedule--shift.is-schedule-fit .interview-shift-schedule {
    margin-inline: auto;
  }

  .interview-schedule--shift.is-schedule-fit .interview-schedule__heading {
    width: 1000px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}


@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-schedule--shift .interview-schedule__decor {
    right: auto;
    left: calc(var(--page-gutter-sp) + 900px);
  }

  .interview-schedule--shift.is-schedule-fit .interview-schedule__decor {
    left: calc(50% + 400px);
  }
}

/* =========================================================
   <=1062px: schedule decoration uses the same placement as SP.
========================================================= */
@media (min-width: 1025px) and (max-width: 1062px) {
  .interview-schedule--shift .interview-schedule__decor,
  .interview-schedule--shift.is-schedule-fit .interview-schedule__decor {
    top: 17px;
    right: -16px;
    left: auto;
    width: 183px;
    height: 183px;
  }
}

/* =========================================================
   Desktop TOC: align 30px from the viewport right edge.
========================================================= */
@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-toc {
    transform: translateX(calc(var(--page-gutter-tablet) - 30px)) !important;
  }
}

@media (min-width: 1440px) {
  .interview-toc {
    transform: translateX(calc((100vw - 1280px) / 2 - 30px)) !important;
  }
}

/* =========================================================
   Desktop Q&A: reclaim the old TOC gap after moving the TOC
   to the viewport edge. Keep the media width/layout, and use
   the former grid gap for the text column.
========================================================= */


@media (min-width: 1440px) {
  .interview-content__inner {
    --interview-main-width: calc(
      var(--interview-shell) - var(--interview-toc-width)
    );
    grid-template-columns: var(--interview-main-width) var(
        --interview-toc-width
      );
    gap: 0;
  }

  .interview-content__qa {
    width: var(--interview-main-width);
  }

  .interview-question {
    width: calc(var(--interview-main-width) + var(--interview-left-bleed));
  }
}


@media (min-width: 1200px) {
  .interview-content__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 191px !important;
    column-gap: 30px !important;
    width: calc(100vw - 30px) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 30px !important;
  }

  .interview-content__qa {
    width: 100% !important;
    min-width: 0 !important;
  }

  .interview-question {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .interview-question__body {

    min-width: 0 !important;

    padding-right: 0 !important;
  }

  .interview-toc {
    position: sticky !important;
    right: auto !important;
    width: 191px !important;
    min-width: 191px !important;
    max-width: 191px !important;
    justify-self: end !important;
    transform: none !important;
  }

  .interview-toc__list {
    width: 191px !important;
  }
}


/* =========================================================
   Desktop Q&A width balance after TOC move
   - Text column caps at 700px.
   - Any additional horizontal space is assigned to the image.
========================================================= */
@media (min-width: 1200px) {
  .interview-question {
    grid-template-columns: minmax(0, 1fr) minmax(0, 700px) !important;
  }

  .interview-question__body {
    width: 100% !important;
    max-width: 700px !important;
  }
}


@media (min-width: 1440px) {
  .interview-question {
    --interview-left-bleed: calc((100vw - 1280px) / 2);
    grid-template-columns:
      minmax(calc(556px + var(--interview-left-bleed)), 1fr)
      minmax(
        0,
        min(700px, calc(100% - 604px - var(--interview-left-bleed)))
      ) !important;
    gap: 48px !important;
  }

  .interview-question__body {
    width: 100% !important;
    max-width: 700px !important;
  }
}


@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-question {
    grid-template-columns: minmax(300px, 46%) minmax(0, 1fr) !important;
    gap: clamp(28px, 3.3vw, 48px) !important;
  }

  .interview-question__media {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 556 / 400;
  }

  .interview-question__body {
    width: auto !important;
    min-width: 0 !important;
    max-width: 700px !important;
  }
}


@media (min-width: 1025px) {
  /* Keep text near the top of the media, with a small visual offset. */
  .interview-question__body,
  .interview-message__body {
    align-self: start !important;
    box-sizing: border-box !important;
    padding-top: 20px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  /* Q5 is outside .interview-content__inner, so reproduce the same
     usable main-column width and column proportions as Q1-Q3. */
  .interview-message__inner {
    display: grid !important;


     /* 30px edge + 191px TOC + 30px gap */
    max-width: none !important;

  }

  .interview-message__media {
    width: 100% !important;
    min-width: 0 !important;
  }

  .interview-message__body {


    padding-right: 0 !important;

    padding-left: 0 !important;
  }
}

@media (min-width: 1440px) {
  .interview-message__inner {

    display: grid !important;


    max-width: none !important;

  }

  .interview-message__media {
    width: 100% !important;
    min-width: 0 !important;
  }

  .interview-message__body {


    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
  }
}


@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-message__inner {
    width: calc(100vw - 251px) !important;

    gap: clamp(28px, 3.3vw, 48px) !important;
    margin: 0 !important;
  }

  .interview-message__body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 700px !important;
    padding: 20px 0 0 !important;
    align-self: start !important;
  }
}

@media (min-width: 1440px) {
  .interview-message__inner {
    width: calc(100vw - 251px) !important;

    gap: 48px !important;
    margin: 0 !important;
  }

  .interview-message__body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 700px !important;
    padding: 20px 0 0 !important;
    align-self: start !important;
  }
}


@media (min-width: 1025px) {
  .interview-message__media {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 556 / 400 !important;
    overflow: hidden !important;
  }

  .interview-message__media picture,
  .interview-message__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .interview-message__media img {
    object-fit: cover !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-message__inner {
    grid-template-columns: minmax(300px, 46%) minmax(0, 1fr) !important;
  }
}

@media (min-width: 1440px) {
  .interview-message__inner {
    --interview-left-bleed: calc((100vw - 1280px) / 2);
    grid-template-columns:
      calc(556px + var(--interview-left-bleed))
      minmax(0, 1fr) !important;
  }
}

/* =========================================================
   Q5 narrow desktop/tablet: crop media to match text height
   Keep the normal Q1-Q3 image ratio outside this range.
========================================================= */
@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-message__inner {
    align-items: stretch !important;
  }

  .interview-message__media {
    align-self: stretch !important;
    height: 100% !important;
    aspect-ratio: auto !important;
  }

  .interview-message__media picture {
    height: 100% !important;
  }

  .interview-message__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* Q5 narrow desktop/tablet: keep equal vertical breathing room in text column. */
@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-message__body {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* =========================================================
   Q1-Q3 narrow desktop/tablet: crop media to the text height
   Match the Q5 treatment when the text column becomes taller.
========================================================= */
@media (min-width: 1025px) and (max-width: 1199px) {
  .interview-question {
    align-items: stretch !important;
  }

  .interview-question__media {
    align-self: stretch !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }

  .interview-question__media picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .interview-question__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* =========================================================
   Tablet <= 1024px: use the same interview content layout as SP.
   Desktop layout starts at 1025px.
========================================================= */
@media (max-width: 1024px) {
  .interview-question,
  .interview-message__inner {
    grid-template-columns: 1fr !important;
  }

  .interview-question__media,
  .interview-message__media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .interview-question__media picture,
  .interview-message__media picture,
  .interview-question__media img,
  .interview-message__media img {
    width: 100% !important;
    height: auto !important;
  }

  .interview-question__media img,
  .interview-message__media img {
    object-fit: initial !important;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .interview-others {
    padding: 80px 0 !important;
  }

  .interview-others__inner {
    width: min(1000px, calc(100% - (var(--page-gutter-tablet) * 2))) !important;
    max-width: none !important;
    margin: 0 auto !important;
  }

  .interview-others__title {
    margin: 0 0 32px !important;
    font-size: 22px !important;
    line-height: normal !important;
    text-align: center !important;
  }

  .interview-others__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .interview-person-card {
    width: auto !important;
  }

  .interview-person-card + .interview-person-card {
    margin-top: 0 !important;
  }

  .interview-schedule__heading {
    width: 100% !important;
    text-align: center !important;
  }

  .interview-schedule__heading .interview-question__number {
    text-align: center !important;
  }

  .interview-schedule__title {
    width: 100% !important;
    text-align: center !important;
  }
}

/* =========================================================
   Tablet: center the standard (single-column) schedule only
   when the full 773px schedule fits without horizontal scroll.
   Shift schedules keep their existing left/scroll behavior.
========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  .interview-schedule:not(.interview-schedule--shift)
    .interview-schedule__list {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (min-width: 1200px) and (max-width: 1439px) {
  .interview-question,
  .interview-message__inner {
    align-items: stretch !important;
  }

  .interview-question__media,
  .interview-message__media {
    align-self: stretch !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }

  .interview-question__media picture,
  .interview-message__media picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .interview-question__media img,
  .interview-message__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .interview-message__body {
    box-sizing: border-box !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}
