/* PEOPLE */
:root {
  --people-band: #edf0ff;
  --people-tab: #461a8b;
  --people-dot: #151a8b;
}

.people-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 10px 20px 48px;
}

.people-tabs button,
.people-tabs a {
  width: 350px;
  max-width: calc(50% - 0px);
  min-width: 0;
  padding: 18px 28px;
  border: 1px solid var(--people-tab);
  background: #fff;
  color: var(--people-tab);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.2;
  transition: background 0.3s, color 0.3s;
}

.people-tabs button.is-active,
.people-tabs a.is-active,
.people-tabs button:hover,
.people-tabs a:hover {
  opacity: 1;
  background: var(--people-tab);
  color: #fff;
}

.people-panel {
  display: none;
}

.people-panel.is-active {
  display: block;
}

.people-profile {
  display: grid;
  grid-template-columns: 640px 1fr;
  align-items: center;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
  min-height: 450px;
  overflow: visible;
}

.people-profile::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - 24px));
  width: 100vw;
  height: 190px;
  background: var(--people-band);
  z-index: 0;
  pointer-events: none;
}

.people-profile__photo {
  position: relative;
  z-index: 1;
  margin-left: 0;
}

.people-profile__photo img {
  width: 100%;
  display: block;
}

.people-profile__info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 40px 0;
  position: relative;
  z-index: 1;
  background: transparent;
  /* 帯と同じだけ上げる */
  transform: translateY(-24px);
}

.people-profile__label {
  background: #fff;
  padding: 12px 36px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.5;
  box-shadow: none;
  min-width: 450px;
}

.people-profile__label-year::before {
  content: "　";
}

.people-interview {
  position: relative;
  z-index: 0;
  max-width: var(--site-width);
  margin: -20px auto 0;
  padding: 100px var(--side-gutter) 40px;
}

/* 写真下端に合わせて配置（写真・ラベルより背面） */
.people-interview__watermark {
  position: absolute;
  left: 538px;
  right: auto;
  bottom: 0;
  top: auto;
  font-family: var(--font-en);
  font-size: 131px;
  font-weight: 400;
  color: var(--people-band);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.people-qa {
  position: relative;
  z-index: 1;
  margin-bottom: 120px;
}

.people-qa__q {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  color: var(--color-black);
}

.people-qa .dotted-line {
  margin: 10px 0 24px;
  height: 3px;
  background-color: transparent;
  background-image: radial-gradient(circle at 1.5px 50%, var(--people-dot) 1.4px, transparent 1.5px);
  background-size: 10px 3px;
  background-repeat: repeat-x;
  background-position: left center;
}

.people-qa__a {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-black);
}

.people-qa__a p + p {
  margin-top: 1em;
}

.people-qa--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.people-qa--split .people-qa__q,
.people-qa--split .dotted-line {
  grid-column: 1 / -1;
}

.people-qa--split img {
  width: 100%;
  display: block;
}

.people-schedule {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 40px var(--side-gutter) 110px;
  overflow-x: clip;
  overflow-y: visible;
}

.people-schedule__head {
  position: relative;
  margin: 0 calc(-1 * var(--side-gutter)) 48px;
  padding: 0;
  text-align: center;
}

.people-schedule__head::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100vw;
  /* PDF title sits in a slim bar; 120px felt too tall once SCHEDULE merges in */
  height: 72px;
  background: var(--people-band);
  z-index: 0;
  pointer-events: none;
}

.people-schedule__head .en {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-size: 131px;
  font-weight: 400;
  color: var(--people-band);
  letter-spacing: 0;
  line-height: 1;
  /* Slight overlap with the bar */
  margin: 0 0 -28px;
}

.people-schedule__head h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 500;
  margin: 0;
  padding: 18px 0;
  letter-spacing: 0.08em;
  color: var(--color-black);
  line-height: 1;
}

.people-schedule__grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.schedule-list {
  position: relative;
  padding-left: 36px;
  margin: 0;
}

.schedule-list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 0;
  border-left: 3px dotted var(--people-dot);
}

.schedule-list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 48px;
  margin-bottom: 0;
  min-height: 100px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  font-family: var(--font-sans);
  color: var(--color-black);
}

.schedule-list li:last-child {
  min-height: 0;
  margin-bottom: 0;
}

.schedule-list li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--people-tab);
}

.schedule-list .time {
  font-weight: 700;
  font-size: 25px;
  color: var(--color-black);
  font-family: var(--font-sans);
  line-height: 1.2;
}

.schedule-list li > span:last-child {
  padding-top: 2px;
}

.people-schedule__photo {
  width: calc(100% + var(--side-gutter));
  margin-right: calc(-1 * var(--side-gutter));
  margin-top: 20px;
}

.people-schedule__photo img {
  width: 100%;
  height: auto;
  display: block;
}

br.u-br-sp {
  display: none;
}

@media (max-width: 960px) {
  .people-tabs button,
  .people-tabs a {
    width: 220px;
    padding: 14px 16px;
    font-size: 16px;
  }

  .people-profile {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 0;
    padding: 0 var(--side-gutter);
  }

  .people-profile::before {
    height: 120px;
    transform: translate(-50%, calc(-50% - 16px));
  }

  .people-profile__info {
    padding: 20px 0;
    transform: translateY(-16px);
  }

  .people-profile__label {
    min-width: 0;
    padding: 10px 16px;
    font-size: 13px;
  }

  .people-interview,
  .people-schedule {
    padding-left: var(--side-gutter);
    padding-right: var(--side-gutter);
  }

  .people-interview__watermark {
    font-size: 64px;
    left: auto;
    right: var(--side-gutter);
    bottom: 0;
  }

  .people-qa--split,
  .people-schedule__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .people-schedule__photo {
    width: auto;
    margin-right: 0;
    margin-top: 0;
  }

  .people-schedule__photo img {
    width: 100%;
    height: auto;
  }

  .people-schedule__head {
    margin-left: calc(-1 * var(--side-gutter));
    margin-right: calc(-1 * var(--side-gutter));
  }

  .people-schedule__head .en {
    font-size: 90px;
    margin-bottom: -19px;
  }

  .people-schedule__head h3 {
    font-size: 24px;
    padding: 16px 0;
  }

  .people-schedule__head::before {
    height: 56px;
  }

  .schedule-list li {
    font-size: 14px;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    min-height: 80px;
  }

  .schedule-list .time {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .people-tabs {
    padding: 8px 20px 40px;
    gap: 0;
  }

  .people-tabs button,
  .people-tabs a {
    width: 180px;
    flex: 1;
    padding: 12px 8px;
    font-size: 18px;
  }

  .people-profile {
    /* PDF寄りの写真幅を確保しつつ、ラベル1行を維持 */
    grid-template-columns: 0.9fr 1.1fr;
    padding: 0;
    min-height: 150px;
  }

  .people-profile::before {
    height: 100px;
    transform: translate(-50%, calc(-50% - 10px));
  }

  /* 写真列を狭めた分、左側を軽くトリミングして被写体を保つ */
  .people-profile__photo {
    overflow: hidden;
    align-self: stretch;
  }

  .people-profile__photo img {
    width: 104%;
    max-width: none;
    height: 100%;
    margin-left: -4%;
    object-fit: cover;
    object-position: right center;
  }

  .people-profile__info {
    padding: 12px 16px 12px 4px;
    justify-content: center;
    transform: translateY(-10px);
  }

  .people-profile__label {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    line-height: 1.65;
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  .people-profile__label-main {
    white-space: nowrap;
  }

  .people-profile__label-year {
    display: block;
  }

  .people-profile__label-year::before {
    content: none;
  }

  .people-interview {
    margin-top: -8px;
    padding-top: 28px;
    padding-bottom: 8px;
  }

  .people-interview__watermark {
    left: auto;
    right: 0;
    bottom: -6px;
    font-size: 44px;
  }

  .people-qa {
    margin-bottom: 40px;
  }

  .people-qa:last-child {
    margin-bottom: 0;
  }

  .people-qa__q {
    font-size: 18px;
  }

  .people-qa .dotted-line {
    margin: 8px 0 16px;
  }

  .people-qa__a {
    font-size: 14px;
    line-height: 1.75;
  }

  .people-qa--split {
    gap: 16px;
  }

  .people-schedule {
    padding-top: 40px;
    padding-bottom: 92px;
  }

  .people-schedule__head {
    margin-bottom: 28px;
    padding: 0;
  }

  .people-schedule__head::before {
    height: 56px;
  }

  .people-schedule__head .en {
    font-size: 60px;
    margin-bottom: -15px;
  }

  .people-schedule__head h3 {
    font-size: 24.5px;
    padding: 15px 0;
  }

  .schedule-list {
    padding-left: 32px;
  }

  .schedule-list::before {
    left: 8px;
    border-left-width: 2px;
  }

  .schedule-list li {
    margin-bottom: 0;
    min-height: 100px;
    font-size: 16px;
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .schedule-list li::before {
    left: -32px;
    width: 18px;
    height: 18px;
    top: 2px;
  }

  .schedule-list .time {
    font-size: 20px;
  }

  .people-schedule__photo {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 8px;
  }

  .people-schedule__photo img {
    width: 100%;
    height: auto;
    display: block;
  }

  br.u-br-sp {
    display: inline;
  }
}
