/* 確定案：figma-latest の等倍PNG（PC 1920 / SP 375）。共通部品は変更しない。 */
.interview-hero {
  --interview-pad: clamp(calc(64 * var(--pc-unit, 1px)), calc(13.541667 * var(--vw, 1vw)), calc(260 * var(--pc-unit, 1px)));
  padding-bottom: calc(56 * var(--pc-unit, 1px));
}
.interview-hero .l-wrap {
  width: min(calc(1400 * var(--pc-unit, 1px)), calc(100% - 2 * var(--interview-pad)));
}
@media (max-width: 767.98px) {
  .interview-hero {
    --interview-pad: 32px;
  }
}
@media (max-width: 767px) {
  .interview-hero {
    --interview-pad: 20px;
    padding: 20px 0 29px;
  }
  .interview-hero .l-crumbs ol {
    line-height: 20px;
  }
  .interview-hero .l-hero-en {
    gap: 8px;
    margin-top: 12px;
    font-size: 20px;
    line-height: 24px;
  }
  .interview-hero .l-hero-en img {
    width: 24px;
  }
  .interview-hero h1 {
    margin-top: 12px;
    font-size: 36px;
    line-height: 48px;
  }
}
.interview-page .iv-section {
  padding: calc(120 * var(--pc-unit, 1px)) 0 calc(160 * var(--pc-unit, 1px));
}
.interview-page .iv-head-art {
  text-align: center;
}
.interview-page .iv-head-art .iv-art-title {
  margin: 0;
}
.interview-page .iv-title-line {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(8 * var(--pc-unit, 1px)) calc(24 * var(--pc-unit, 1px));
}
.interview-page .iv-title-line img {
  width: calc(700 * var(--pc-unit, 1px));
  height: auto;
}
.interview-page .iv-title-line span {
  padding-bottom: calc(6 * var(--pc-unit, 1px));
  font-size: calc(40 * var(--pc-unit, 1px));
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.interview-page .iv-filters {
  display: flex;
  justify-content: center;
  gap: calc(12 * var(--pc-unit, 1px));
  margin-top: calc(64 * var(--pc-unit, 1px));
}
.interview-page .iv-filter {
  height: calc(48 * var(--pc-unit, 1px));
  min-width: calc(124 * var(--pc-unit, 1px));
  padding: 0 calc(32 * var(--pc-unit, 1px));
  border: 0;
  border-radius: calc(999 * var(--pc-unit, 1px));
  box-shadow: inset 0 0 0 calc(2 * var(--pc-unit, 1px)) var(--orange);
  background: #fff;
  color: var(--orange);
  font: 700 max(14px, calc(18 * var(--pc-unit, 1px)))/1 var(--site-font-family);
}
.interview-page .iv-filter[aria-pressed='true'] {
  color: #fff;
  background: var(--orange);
}
.interview-page .iv-count {
  margin: calc(16 * var(--pc-unit, 1px)) 0 calc(48 * var(--pc-unit, 1px));
  color: var(--muted);
  font-size: max(14px, calc(14 * var(--pc-unit, 1px)));
  font-weight: 500;
  line-height: max(24px, calc(24 * var(--pc-unit, 1px)));
  text-align: center;
}
.interview-page .iv-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(24 * var(--pc-unit, 1px));
  margin: 0;
  padding: 0;
  list-style: none;
}
.interview-page .iv-card {
  display: grid;
  grid-template-columns: calc(184 * var(--pc-unit, 1px)) minmax(0, 1fr);
  align-items: start;
  gap: calc(32 * var(--pc-unit, 1px));
  padding: calc(40 * var(--pc-unit, 1px));
  border-radius: calc(40 * var(--pc-unit, 1px));
  background: var(--band);
  color: var(--ink);
}
.interview-page .iv-photo {
  width: calc(184 * var(--pc-unit, 1px));
  height: calc(184 * var(--pc-unit, 1px));
  margin: 0;
  padding: calc(8 * var(--pc-unit, 1px));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}
.interview-page .iv-photo-crop {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
}
.interview-page .iv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-position);
  transform: scale(var(--portrait-scale));
  transform-origin: var(--portrait-position);
}
.interview-page .iv-body {
  min-width: 0;
}
.interview-page .iv-head {
  padding-bottom: calc(12 * var(--pc-unit, 1px));
  border-bottom: calc(1 * var(--pc-unit, 1px)) solid var(--ds-line);
}
.interview-page .iv-role {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--pc-unit, 1px));
  margin: 0 0 calc(8 * var(--pc-unit, 1px));
  line-height: calc(24 * var(--pc-unit, 1px));
}
.interview-page .iv-tag {
  display: inline-block;
  padding: calc(4 * var(--pc-unit, 1px)) calc(12 * var(--pc-unit, 1px));
  border-radius: calc(999 * var(--pc-unit, 1px));
  background: var(--ds-yellow-pale);
  color: var(--ink);
  font-size: max(13px, calc(13 * var(--pc-unit, 1px)));
  font-weight: 700;
  line-height: max(16px, calc(16 * var(--pc-unit, 1px)));
  letter-spacing: 0.05em;
  vertical-align: top;
}
.interview-page .iv-head h3 {
  margin: 0;
  font-size: calc(32 * var(--pc-unit, 1px));
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: calc(48 * var(--pc-unit, 1px));
}
.interview-page .iv-school {
  margin: 0;
  color: var(--muted);
  font-size: max(14px, calc(15 * var(--pc-unit, 1px)));
  font-weight: 500;
  line-height: max(22.4px, calc(24 * var(--pc-unit, 1px)));
}
.interview-page .iv-text {
  margin: calc(12 * var(--pc-unit, 1px)) 0 0;
  font-size: max(14px, calc(17 * var(--pc-unit, 1px)));
  font-weight: 500;
  line-height: max(26.35294118px, calc(32 * var(--pc-unit, 1px)));
  line-break: strict;
  word-break: normal;
}
.interview-page .iv-empty {
  display: grid;
  place-items: center;
  width: min(calc(680 * var(--pc-unit, 1px)), 100%);
  min-height: calc(120 * var(--pc-unit, 1px));
  margin: 0 auto;
  padding: calc(24 * var(--pc-unit, 1px));
  border-radius: calc(24 * var(--pc-unit, 1px));
  background: var(--band);
  color: var(--ink);
  font-size: max(14px, calc(18 * var(--pc-unit, 1px)));
  font-weight: 700;
  line-height: max(24.88888889px, calc(32 * var(--pc-unit, 1px)));
  text-align: center;
}
.interview-page .iv-card--no-photo {
  grid-template-columns: minmax(0, 1fr);
}
/* 正本のない中間幅は、文字幅を確保してカード内のプロフィールを横に並べる。 */
@media (max-width: 767.98px) {
  .interview-page .iv-section {
    padding: 56px 0 72px;
  }
  .interview-page .iv-title-line {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .interview-page .iv-title-line img {
    width: 300px;
  }
  .interview-page .iv-title-line span {
    padding: 0;
    font-size: 24px;
    line-height: 36px;
  }
  .interview-page .iv-filters {
    gap: 8px;
  }
  .interview-page .iv-filter {
    height: 41px;
    min-width: 0;
    flex: 1;
    max-width: 140px;
    padding: 0 12px;
    font-size: 15px;
  }
  .interview-page .iv-count {
    margin: 12px 0 24px;
    font-size: 12px;
    line-height: 20px;
  }
  .interview-page .iv-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .interview-page .iv-card {
    grid-template-areas: 'photo head' 'text text';
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
  }
  .interview-page .iv-photo {
    grid-area: photo;
    align-self: center;
  }
  .interview-page .iv-body {
    display: contents;
  }
  .interview-page .iv-head {
    grid-area: head;
    padding: 0;
    border: 0;
  }
  .interview-page .iv-role {
    margin-bottom: 6px;
  }
  .interview-page .iv-tag {
    font-size: 12px;
  }
  .interview-page .iv-head h3 {
    font-size: 22px;
    line-height: 30px;
  }
  .interview-page .iv-school {
    font-size: 12px;
    line-height: 20px;
  }
  .interview-page .iv-text {
    grid-area: text;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--ds-line);
    font-size: 15px;
    line-height: 28px;
  }
  .interview-page .iv-empty {
    font-size: 15px;
    line-height: 28px;
  }
  .interview-page .iv-card--no-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'text';
  }
}
@media (min-width: 720px) and (max-width: 767.98px) {
  .interview-page .iv-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .interview-page .iv-card {
    align-content: start;
  }
}
@media (max-width: 599px) {
  .interview-page [data-person='interview-hojo'] .iv-school .nb {
    display: block;
  }
}

/* P08 古根FIX 1141:8176。SPは既存の帯・円形写真を保持する。 */
.iv-pc-hero {
  display: none;
}
@media (min-width: 768px) {
  .interview-hero {
    display: none;
  }
  .iv-pc-hero {
    display: grid;
    place-items: center;
    height: calc(293 * var(--pc-unit, 1px));
    background: #ffc602;
  }
  .iv-pc-hero :is(h1, .iv-title-line) {
    margin: 0;
  }
  .iv-pc-hero .iv-title-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: center;
    gap: calc(16 * var(--pc-unit, 1px));
    width: min(calc(977.4 * var(--pc-unit, 1px)), calc(100% - calc(64 * var(--pc-unit, 1px))));
  }
  .iv-pc-hero .iv-title-line img {
    width: 70.2261%;
    height: auto;
  }
  .iv-pc-hero .iv-title-line > span[aria-hidden] {
    color: #222020;
    font-size: clamp(calc(32 * var(--pc-unit, 1px)), calc((calc(100 * var(--vw, 1vw)) - calc(64 * var(--pc-unit, 1px))) * 44 / 977.4), calc(44 * var(--pc-unit, 1px)));
    font-weight: 700;
    line-height: calc(53 * var(--pc-unit, 1px));
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .interview-page .iv-head-art,
  .interview-page .iv-count {
    display: none;
  }
  .interview-page .iv-filters {
    margin-top: 0;
    margin-bottom: calc(48 * var(--pc-unit, 1px));
  }
  .interview-page .iv-filter {
    min-width: 0;
    padding-inline: calc(34 * var(--pc-unit, 1px));
  }
  .interview-page .iv-card {
    grid-template-columns: calc(168 * var(--pc-unit, 1px)) minmax(0, 1fr);
    grid-template-areas: 'photo head' 'text text';
    align-items: start;
    align-content: start;
    gap: calc(24 * var(--pc-unit, 1px)) calc(32 * var(--pc-unit, 1px));
    padding: calc(40 * var(--pc-unit, 1px));
    background: #fff8df;
  }
  .interview-page .iv-body {
    display: contents;
  }
  .interview-page .iv-photo {
    grid-area: photo;
    width: calc(168 * var(--pc-unit, 1px));
    height: calc(224 * var(--pc-unit, 1px));
    padding: 0;
    aspect-ratio: 3 / 4;
    border-radius: calc(24 * var(--pc-unit, 1px));
    background: none;
  }
  .interview-page .iv-photo-crop {
    border-radius: calc(24 * var(--pc-unit, 1px));
  }
  .interview-page .iv-photo img {
    object-position: center;
    transform: none;
  }
  .interview-page .iv-head {
    grid-area: head;
    align-self: center;
    border: 0;
    padding: 0;
  }
  .interview-page .iv-role {
    margin-bottom: calc(10 * var(--pc-unit, 1px));
  }
  .interview-page .iv-head h3 {
    margin-bottom: calc(10 * var(--pc-unit, 1px));
    font-size: calc(30 * var(--pc-unit, 1px));
    line-height: calc(36 * var(--pc-unit, 1px));
    letter-spacing: 0.08em;
  }
  .interview-page .iv-text {
    grid-area: text;
    margin: 0;
    padding-top: calc(24 * var(--pc-unit, 1px));
    border-top: calc(1 * var(--pc-unit, 1px)) solid #f0e6c6;
  }
  .interview-page .iv-card--no-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'text';
  }
}

/* パンくずなしの帯（2026-10-15）。上の余白を下と揃える。 */
@media (max-width: 767px) {
  .l-hero.interview-hero.l-hero--no-crumbs {
    padding-top: 29px;
  }
}
@media (max-width: 767px) {
  .interview-hero { padding-block: 28px; }
  .interview-hero :is(.l-hero-en,h1) { justify-content: center; text-align: center; }
}

/* SP 1141:9540 uses rectangular portraits; desktop retains its own artwork. */
@media (max-width: 767.98px) {
  .interview-page .iv-head-art, .interview-page .iv-count { display: none; }
  .interview-page .iv-filters { margin-top: 0; margin-bottom: 28px; }
  .interview-page .iv-card { grid-template-columns: 96px minmax(0,1fr); }
  .interview-page .iv-photo { width: 96px; height: 128px; padding: 0; border-radius: 16px; background: #fff0d9; }
  .interview-page .iv-photo-crop { position: relative; border-radius: 16px; }
  .interview-page .iv-photo img { position: absolute; width: var(--sp-photo-width,100%); max-width: none; height: auto; left: var(--sp-photo-left,0px); top: var(--sp-photo-top,0px); transform: none; }
  .interview-page .iv-text { font-weight: 500; }
  .interview-page [data-person='interview-harigane'] { --sp-photo-width: 272.62px; --sp-photo-left: -88.31px; --sp-photo-top: -7.51px; }
  .interview-page [data-person='interview-ishihara'] { --sp-photo-width: 301.92px; --sp-photo-left: -102.81px; --sp-photo-top: -10.33px; }
  .interview-page [data-person='interview-tsuchida'] { --sp-photo-width: 204.16px; --sp-photo-left: -52.04px; --sp-photo-top: -.03px; }
  .interview-page [data-person='interview-nagata'] { --sp-photo-width: 252.56px; --sp-photo-left: -76.89px; --sp-photo-top: -3.12px; }
  .interview-page [data-person='interview-saito'] { --sp-photo-width: 226.36px; --sp-photo-left: -62.92px; }
  .interview-page [data-person='interview-ikeda'] { --sp-photo-width: 280.88px; --sp-photo-left: -97.22px; }
  .interview-page [data-person='interview-shiono'] { --sp-photo-width: 325.23px; --sp-photo-left: -116.73px; --sp-photo-top: -11.23px; }
  .interview-page [data-person='interview-hojo'] { --sp-photo-width: 225.52px; --sp-photo-left: -62.39px; --sp-photo-top: -.08px; }
}

/* SPの見出しもPCと同じ「ヒノデメディカル（ロゴ文字）＋の先輩達の声」にする（2026-10-15）。
   SPでは2行に組む。帯の色と下の弧はPCと同じ。 */
@media (max-width: 767.98px) {
  .interview-hero {
    display: none;
  }
  .iv-pc-hero {
    display: grid;
    place-items: center;
    padding: 100px 20px 28px;
    background: #ffc602;
  }
  .iv-pc-hero :is(h1, .iv-title-line) {
    margin: 0;
  }
  .iv-pc-hero .iv-title-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .iv-pc-hero .iv-title-line img {
    width: min(300px, 100%);
    height: auto;
  }
  .iv-pc-hero .iv-title-line > span[aria-hidden] {
    color: #222020;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}
