/* =============================================
  about ページ全体
============================================= */
.about-main {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}


/* =============================================
  ページタイトル
============================================= */
.about-title {
  font-size: var(--font-size--3xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 clamp(1.5rem, 4vw, 3rem);
  color: var(--color--text--2);
}


/* =============================================
  プロフィール文章
============================================= */
.about-profile {
  margin-bottom: var(--space--16);
}

.about-profile__text {
  font-size: var(--font-size--xs);
  line-height: 1.9;
  color: var(--color--text--2);
  margin: 0;
}

/* 経歴 */
.about-profile__career {
  margin-top: var(--space--12);
}

.about-profile__career-title {
  font-size: var(--font-size--sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
  color: var(--color--text--2);
}

.about-profile__career-text {
  font-size: var(--font-size--xs);
  line-height: 1.9;
  color: #555;
  margin: 0;
}


/* =============================================
  プロフィール詳細（画像 + テーブル）
============================================= */
.about-detail {
  display: grid;
  grid-template-columns: auto 1fr;   /* 左：画像幅に合わせる / 右：残り全部 */
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}


/* =============================================
  左カラム（画像 + 名前）
============================================= */
.about-detail__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* 円形トリミング */
.about-detail__img-wrap {
  width: clamp(120px, 20vw, 200px);
  aspect-ratio: 1 / 1;
  /* border-radius: 100%; */
  overflow: hidden;
  border: 2px solid #ddd;
}

.about-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-detail__name {
  font-size: var(--font-size--xs);
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: var(--color--text--2);
  white-space: nowrap;
}


/* =============================================
  右カラム（テーブル）
============================================= */
.about-detail__table-wrap {
  border: 1px solid #ddd;
  /* border-radius: var(--radius--md); */
  overflow: hidden;
}

.about-detail__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size--xs);
}

.about-detail__row {
  border-bottom: 1px solid #eee;
}

.about-detail__row:last-child {
  border-bottom: none;
}

.about-detail__label {
  width: 8em;
  padding: 0.85rem 1rem;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  color: var(--color--text--2);
  background-color: var(--color--bg--1);
  border-right: 1px solid #eee;
}

.about-detail__value {
  padding: 0.85rem 1rem;
  line-height: 1.7;
  color: #444;
  vertical-align: top;
}

.about-detail__value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-detail__value a:hover {
  opacity: 0.7;
}


/* =============================================
  レスポンシブ
============================================= */
@media (width <= 768px) {

  /* 縦積みに変更 */
  .about-detail {
    grid-template-columns: 1fr;
  }

  .about-detail__profile {
    flex-direction: row;    /* 画像と名前を横並びに */
    align-items: center;
    gap: 1rem;
  }

  .about-detail__img-wrap {
    width: clamp(80px, 20vw, 120px);
    flex-shrink: 0;
  }

  .about-detail__name {
    text-align: left;
    white-space: normal;
  }

  .about-detail__label {
    width: 7em;
    font-size: 0.82rem;
  }

}
