/* プロフィール詳細のスタイル */

.profile-detail-heading {
  text-align: center;
  padding: 72px 0 24px;
}

.profile-detail-heading p {
  font-weight: 900;
  color: var(--red);
  margin: 8px 0 0;
}

.profile-detail-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 45px 0 90px;
}

.profile-detail-art {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-detail-circle {
  position: absolute;
  width: min(90%,380px);
  aspect-ratio: 1;
  background: #FFCB26;
  border-radius: 50%;
}

.profile-detail-art img {
  position: relative;
  max-height: 370px;
  object-fit: contain;
}

.profile-detail-text h2 {
  font-size: clamp(38px,5vw,64px);
  color: var(--red);
  margin: 14px 0 26px;
}

.profile-detail-text p {
  font-weight: 800;
  line-height: 2.2;
}

.profile-detail-text .eyebrow {
  color: var(--red);
}

.profile-detail-more {
  text-align: center;
  padding: 80px 0 100px;
}

.profile-more-links {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin: 35px 0;
}

.profile-more-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eaf3fc;
  color: var(--navy);
  border-radius: 18px;
  padding: 18px;
  font-weight: 900;
}

.profile-more-links img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.profile-more-links span {
  margin-left: auto;
}

@media (max-width:760px) {
  .profile-detail-heading {
    padding: 45px 0 10px;
  }
}

@media (max-width:760px) {
  .profile-detail-intro {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px 0 65px;
  }
}

@media (max-width:760px) {
  .profile-detail-art {
    min-height: 290px;
  }
}

@media (max-width:760px) {
  .profile-detail-art img {
    max-height: 290px;
  }
}

@media (max-width:760px) {
  .profile-detail-text {
    text-align: center;
  }
}

@media (max-width:760px) {
  .profile-detail-text h2 {
    margin: 8px 0 18px;
  }
}

@media (max-width:760px) {
  .profile-detail-more {
    padding: 55px 0 70px;
  }
}

@media (max-width:760px) {
  .profile-more-links {
    grid-template-columns: 1fr;
  }
}

/* プロフィールの大きな画像を切り替える5つのサムネイル */
.profile-pose-switcher {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  padding:0 0 4px;
}
.profile-pose-button {
  appearance:none;
  width:100px;
  height:116px;
  padding:10px;
  border:3px solid #e7e7e7;
  border-radius:17px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:border-color .2s, background-color .2s, transform .2s;
}
.profile-pose-button img { width:100%; height:100%; object-fit:contain; }
.profile-pose-button:hover { transform:translateY(-3px); }
.profile-pose-button.is-active { border-color:var(--red); background:#fff8ea; }
.profile-pose-button:focus-visible { outline:3px solid #2456a7; outline-offset:3px; }
.profile-detail-art img.pose-fade-in { animation:poseFade .35s ease both; }
@keyframes poseFade { from {opacity:.15;transform:scale(.96)} to {opacity:1;transform:scale(1)} }
@media(max-width:760px) {
 .profile-pose-switcher {gap:7px;flex-wrap:nowrap;}
 .profile-pose-button {width:calc((100% - 28px)/5);height:clamp(67px,18vw,105px);padding:5px;border-width:2px;border-radius:11px;min-width:0;}
 .profile-detail-intro {padding-bottom:26px;}
}
@media(prefers-reduced-motion:reduce) {
 .profile-detail-art img.pose-fade-in {animation:none;}
 .profile-pose-button {transition:none;}
}

/* プロフィール項目：参考画像に合わせた左ラベル・右本文 */
.profile-detail-intro {
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.profile-facts {
  margin: 0;
  display: grid;
  gap: 22px;
}
.profile-fact {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  font-size: 16px;
  line-height: 1.95;
}
.profile-fact dt {
  margin: 0;
  color: var(--red);
  font-weight: 900;
  line-height: 1.85;
}
.profile-fact dd {
  min-width: 0;
  margin: 0;
  color: #333;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .profile-detail-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .profile-detail-text { text-align: left; }
  .profile-detail-text h2 { text-align: center; }
  .profile-facts { gap: 17px; }
  .profile-fact {
    grid-template-columns: 75px minmax(0, 1fr);
    column-gap: 11px;
    font-size: 14px;
    line-height: 1.85;
  }
}

/* 見出しは全体中央、その下はイラスト左・プロフィール右 */
.profile-detail-intro {
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  column-gap: clamp(24px, 4vw, 60px);
  row-gap: 30px;
  align-items: center;
  padding-top: 48px;
}
.profile-detail-title {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.3;
  color: var(--red);
  font-weight: 900;
}
.profile-detail-art {
  align-self: center;
}
.profile-detail-text {
  align-self: center;
  min-width: 0;
}
@media (max-width: 760px) {
  .profile-detail-intro {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    padding-top: 28px;
  }
  .profile-detail-title {
    grid-column: 1;
    font-size: clamp(34px, 9vw, 48px);
  }
}

/* 画像切り替えを紹介文より前へ（スマホのみ表示順を変更） */
@media (min-width: 761px) {
  .profile-detail-title { grid-column: 1 / -1; grid-row: 1; }
  .profile-detail-art { grid-column: 1; grid-row: 2; }
  .profile-detail-text { grid-column: 2; grid-row: 2; }
  .profile-pose-switcher {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .profile-detail-title { grid-row: 1; }
  .profile-detail-art { grid-row: 2; }
  .profile-pose-switcher {
    grid-row: 3;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .profile-detail-text {
    grid-row: 4;
    margin-top: 12px;
  }
  .profile-detail-intro { padding-bottom: 26px; }
}
