:root {
  --il-red: #e60012;
  --il-black: #111111;
  --il-text: #202020;
  --il-muted: #747474;
  --il-gray: #f3f4f5;
  --il-line: #dedede;
}

.interview-list-page {
  color: var(--il-text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.interview-list-page main {
  overflow: hidden;
}

.interview-list-page .il-container {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

.interview-list-page .il-kicker {
  margin: 0 0 22px;
  color: var(--il-red);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

/* Hero */
.il-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 42%) 1fr;
  height: 560px;
  min-height: 0;
  background: var(--il-black);
  isolation: isolate;
}

.il-hero::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: var(--il-red);
  content: "";
}

.il-hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px 56px max(7vw, 70px);
  color: #fff;
}

.il-hero__copy::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -95px;
  width: 190px;
  height: 100%;
  background: var(--il-black);
  clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
  content: "";
}

.il-hero__copy h1 {
  margin: 0;
  /* 下限48pxを置くと1101〜1143pxでパネルより文字が長くなり、
     nowrapのtitle-lineが右の写真に重なる。下限は持たせない。
     傾きも4.2vwだと文字の右端がパネルの端にちょうど接する
     （実測で余裕0〜1px）ので、4.05vwにして余白を作る。 */
  font-size: min(4.05vw, 72px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .03em;
}

.il-hero__title-line,
.il-hero__title-accent {
  display: block;
}

.il-hero__title-line {
  color: #fff;
  white-space: nowrap;
}

.il-hero__title-accent {
  color: var(--il-red);
}

.il-hero__copy > p:not(.il-kicker) {
  max-width: 480px;
  margin: 32px 0 0;
  color: #c9c9c9;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

.il-hero__line {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid #484848;
}

.il-hero__line b {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.il-hero__line span {
  color: #8f8f8f;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}

.il-hero__portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.il-hero__portraits a {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #292929;
}

.il-hero__portraits a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .58));
  content: "";
  transition: opacity .35s ease;
}

.il-hero__portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.04);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.il-hero__portraits a:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.02);
}

.il-hero__portraits a:hover::after {
  opacity: .55;
}

.il-hero__portraits span {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 18px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.il-hero__portraits span::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  margin: 0 10px 9px 0;
  background: var(--il-red);
  content: "";
}

.il-hero__word {
  position: absolute;
  z-index: 4;
  bottom: -12px;
  left: max(7vw, 70px);
  color: rgba(255, 255, 255, .07);
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, 11vw, 180px);
  font-weight: 900;
  font-style: italic;
  line-height: .8;
  letter-spacing: -.06em;
  pointer-events: none;
}

/* Breadcrumb */
.il-breadcrumb {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  width: min(1180px, calc(100% - 80px));
  min-height: 54px;
  margin: 16px auto 0;
  color: #888;
  font: 700 10px "Inter", sans-serif;
  letter-spacing: .12em;
}

.il-breadcrumb a {
  color: #555;
  text-decoration: none;
  transition: color .2s;
}

.il-breadcrumb a:hover {
  color: var(--il-red);
}

.il-breadcrumb > span {
  display: block;
  width: 1px;
  height: 16px;
  background: #d8d8d8;
  transform: skewX(-24deg);
}

.il-breadcrumb strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 50px;
  background: #111;
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
}

/* Intro */
.il-intro {
  padding: 112px 0 96px;
  background: #fff;
}

.il-intro .il-container {
  position: relative;
  padding-left: 102px;
}

.il-intro .il-container::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--il-red);
  content: "";
}

.il-intro h2 {
  margin: 0;
  font-size: clamp(36px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
}

.il-intro .il-container > p:last-child {
  margin: 30px 0 0;
  color: #626262;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

/* Interview cards */
.il-list {
  position: relative;
  padding: 110px 0 140px;
  background: var(--il-gray);
}

.il-list::before,
.il-list::after {
  position: absolute;
  color: rgba(0, 0, 0, .028);
  font-family: "Inter", sans-serif;
  font-size: 230px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.il-list::before {
  top: 35px;
  right: -30px;
  content: "04";
}

.il-list::after {
  bottom: 5px;
  left: -25px;
  content: "TEAM";
}

.il-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px 54px;
}

.il-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .075);
  transition: transform .35s ease, box-shadow .35s ease;
}

.il-card:nth-child(even) {
  transform: translateY(72px);
}

.il-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .12);
}

.il-card:nth-child(even):hover {
  transform: translateY(66px);
}

.il-card__image {
  position: relative;
  display: block;
  height: 350px;
  overflow: hidden;
  background: #ddd;
}

.il-card__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .48));
  content: "";
}

.il-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.il-card:hover .il-card__image img {
  transform: scale(1.035);
}

.il-card__image > span {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 15px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.04em;
}

.il-card__body {
  padding: 32px 36px 30px;
}

.il-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.il-card__meta b {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--il-black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.il-card__meta span {
  color: #858585;
  font-size: 11px;
  font-weight: 700;
}

.il-card h2 {
  min-height: 96px;
  margin: 0;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: .025em;
}

.il-card h2 em {
  color: var(--il-red);
  font-style: normal;
}

.il-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--il-line);
}

.il-card__footer strong {
  font-size: 18px;
  font-weight: 700;
}

.il-card__footer a {
  display: grid;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--il-red);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  place-items: center;
  transition: transform .25s ease, background .25s ease;
}

.il-card__footer a:hover {
  transform: translateX(4px);
  background: var(--il-black);
}

/* Entry */
.il-entry {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: 118px 40px 100px;
  overflow: hidden;
  background: var(--il-black);
  color: #fff;
  text-align: center;
  place-items: center;
}

.il-entry::before {
  position: absolute;
  top: -170px;
  left: 50%;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.il-entry::after {
  position: absolute;
  right: 20px;
  bottom: 72px;
  color: rgba(255, 255, 255, .025);
  font-family: "Inter", sans-serif;
  font-size: 200px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  content: "ENTRY";
}

.il-entry > div {
  position: relative;
  z-index: 1;
}

.il-entry h2 {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 52px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .04em;
}

.il-entry > div > p:not(.il-kicker) {
  margin: 28px 0 36px;
  color: #c3c3c3;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.il-entry > div > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 280px;
  padding: 19px 28px;
  border-radius: 999px;
  background: var(--il-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.il-entry > div > a span {
  text-decoration: none !important;
}

.il-entry > div > a:hover {
  color: var(--il-black);
  background: #fff;
  transform: translateY(-2px);
}

.il-entry__back {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 28px;
  color: #8d8d8d;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.interview-list-page .global-footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .il-hero {
    grid-template-columns: minmax(390px, 45%) 1fr;
  }

  .il-hero__copy {
    padding-left: 60px;
  }

  /* パネルは45%で縮み続けるのに文字が48px固定だったため、
     901〜1010pxで「一緒に働く人を、」が右の写真に重なっていた
     （901pxで約50px）。title-lineは nowrap で折り返せないので、
     パネルの内寸に合わせて文字のほうを縮める。
     内寸 = 45vw - パディング108px。1100pxで47.6px、901pxで34px。 */
  .il-hero__copy h1 {
    font-size: clamp(34px, calc(5.6vw - 14px), 44px);
  }

  .il-card__image {
    height: 300px;
  }

  .il-card h2 {
    min-height: 88px;
    font-size: 23px;
  }
}

@media (max-width: 900px) {
  .interview-list-page .il-container,
  .il-breadcrumb {
    width: min(100% - 40px, 680px);
  }

  /* PCでは height:560px を固定して左右2カラムに組んでいる。
     縦積みにする以上その高さは不要で、残すと写真が560pxのまま伸びる。 */
  .il-hero {
    display: block;
    height: auto;
    min-height: 0;
  }

  .il-hero__copy {
    min-height: 530px;
    padding: 90px 40px 95px;
  }

  .il-hero__copy h1 {
    font-size: clamp(46px, 8vw, 64px);
  }

  .il-hero__copy::after {
    display: none;
  }

  .il-hero__portraits a {
    min-height: 330px;
  }

  .il-hero__word {
    top: 450px;
    bottom: auto;
    left: 30px;
  }

  .il-intro .il-container {
    padding-left: 75px;
  }

  .il-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .il-card:nth-child(even),
  .il-card:nth-child(even):hover {
    transform: none;
  }

  .il-card:hover {
    transform: translateY(-4px);
  }

  .il-card__image {
    height: 420px;
  }

  .il-card h2 {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .interview-list-page .il-container,
  .il-breadcrumb {
    width: calc(100% - 30px);
  }

  /* FVを1画面に収める。
     中村様よりトップページで「スマホだと写真がスクロールしないと見えない」
     との指摘があったため、このページでも同じ状態にしない。
     2026-08-29に基準を「iPhoneの812px」から「360x640」に引き下げた。
     Androidの実機はブラウザのバーを引くと640px前後しか残らず、
     812px前提の余白では写真の2段目が画面外に出ていた。
     この構成でFVは565px（ヘッダー68pxを引いた572pxに収まる）。
     iPhone SE（375x553）だけはどう詰めても入らないので対象外とする。 */
  .il-hero__copy {
    min-height: 0;
    padding: 26px 28px 20px 36px;
  }

  .il-hero .il-kicker {
    margin-bottom: 12px;
  }

  .il-hero__copy > p:not(.il-kicker) {
    margin-top: 14px;
    line-height: 1.8;
  }

  .il-hero__line {
    margin-top: 14px;
  }

  .il-hero__title-line {
    white-space: normal;
  }

  /* 元画像は 1376x768（16:9）の横長で、人物が中央・左右は壁。
     高さを固定すると縦長に切り取られて顔が細く潰れ、
     逆に元の比率のまま出すと壁が広く写って顔が小さくなる。
     4:3にして左右の壁だけを落とす。
     2026-08-29、FVを360x640に収めるため3:2に変更。1段120px、2段で240px。
     4:3のままだと見出し2行と合わせて595pxになり、572pxに収まらない。
     顔は約1割小さくなるが、見出しの「知る。」を赤で独立させる2行構成を
     優先した（PC・詳細ページと同じ構成に揃うため）。 */
  .il-hero__portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .il-hero__portraits a {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .il-hero__portraits span::before {
    width: 20px;
    margin: 0 8px 6px 0;
  }

  .il-hero__portraits span {
    right: 12px;
    bottom: 8px;
    font-size: 20px;
  }

  /* 背景の「PEOPLE」が「04 MEMBERS」と重なって双方読みにくいため、
     幅に逃げ場のないモバイルでは出さない */
  .il-hero__word {
    display: none;
  }

  /* 行間は詳細ページの .iv-hero h1 と同じ1.45に揃える。
     ベースの1.28は25.5pxでは32.6pxしかなく、2行の見出しが詰まって見えた。 */
  .il-hero__copy h1 {
    /* 詳細ページのFVと同じ理由で900→700。25.5pxでは画数の多い字が潰れる。 */
    font-weight: 700;
    font-size: 25.5px;
    line-height: 1.45;
  }

  .il-breadcrumb {
    margin-top: 12px;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .il-intro {
    padding: 80px 0 70px;
  }

  .il-intro .il-container {
    padding-left: 0;
  }

  .il-intro .il-container::before {
    position: static;
    display: block;
    margin-bottom: 28px;
  }

  .il-intro h2 {
    font-size: 32px;
  }

  .il-intro .il-container > p:last-child br {
    display: none;
  }

  .il-list {
    padding: 70px 0 85px;
  }

  .il-card {
    border-radius: 12px;
  }

  .il-card__image {
    height: 255px;
  }

  .il-card__image > span {
    font-size: 44px;
  }

  .il-card__body {
    padding: 26px 23px 24px;
  }

  .il-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .il-card h2 {
    font-size: 21px;
  }

  .il-entry {
    min-height: 500px;
    padding-inline: 24px;
  }

  .il-entry h2 {
    font-size: 31px;
  }

  .il-entry__back {
    right: 24px;
  }
}

/* ===== 代表インタビュー（社員4名のあと・ENTRYの前）=====
   代表は社員ではないため、グリッドに混ぜず独立したブロックで見せる。
   .il-card のスタイルを継承し、横並びレイアウトだけ上書きする。 */
.il-ceo {
  position: relative;
  padding: 100px 0 120px;
  background: #fff;
}

.il-ceo__head {
  margin-bottom: 42px;
}

.il-ceo__head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .02em;
}

.il-ceo__card {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: stretch;
}

.il-ceo__card .il-card__image {
  height: auto;
  min-height: 420px;
}

.il-ceo__card .il-card__image::after {
  display: none;
}

.il-ceo__card .il-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 3.5vw, 56px);
}

.il-ceo__card h2 {
  min-height: 0;
}

.il-ceo__lead {
  margin: 20px 0 0;
  color: var(--il-muted);
  font-size: 15px;
  line-height: 2;
}

@media (max-width: 900px) {
  .il-ceo { padding: 70px 0 80px; }
  .il-ceo__head { margin-bottom: 32px; }
  .il-ceo__card { grid-template-columns: 1fr; }
  .il-ceo__card .il-card__image { min-height: 0; height: 300px; }
}

@media (max-width: 600px) {
  .il-ceo { padding: 55px 0 65px; }
  .il-ceo__card .il-card__image { height: 240px; }
  .il-ceo__lead { font-size: 14px; }
}

/* ===== 文字サイズをサイトの基準に合わせる（2026-08-29）=====
   基準: FV見出し25.5px / セクション見出し21.6px / カード見出し17.6px
         本文15px / 補足12px
   career.html・recruit-coordinator.html と実測して揃えた。

   このファイルの600pxブロック内には後方に個別の font-size 指定があり、
   同じ詳細度では後勝ちで上書きできないため、末尾にまとめて置いている。 */
@media (max-width: 600px) {
  .il-intro h2,
  .il-ceo__head h2 {
    font-size: 21.6px;
    line-height: 1.6;
  }

  /* 20px未満に900は使わない（画面上で字が潰れるため） */
  .il-card h2 {
    min-height: 0;
    font-size: 17.6px;
    font-weight: 700;
    line-height: 1.7;
  }

  .il-entry h2 {
    font-size: 25.5px;
    line-height: 1.55;
  }

  .il-ceo__lead,
  .il-entry > div > p:not(.il-kicker) {
    font-size: 15px;
  }
}

/* ===== セクション間の余白を他ページに揃える（2026-08-29）=====
   career.html は全セクション 40px + 40px。
   一覧は 55〜118px のままで、PCの値がモバイルに出ていた。 */
@media (max-width: 600px) {
  .il-intro,
  .il-list,
  .il-ceo,
  .il-entry {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
