/* =========================
   Profile
========================= */
.profile-page {
  padding-bottom: 160px;
}

/* =========================
   上部レイアウト
========================= */
.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;

  max-width: 1100px;
  margin: 0 auto;
}

/* 左 プロフィール */
.profile-text {
  flex: 1;
  min-width: 0;
}

/* 右 ポートレート */
.profile-image-wrap {
  width: 28%;
  max-width: 320px;
  min-width: 180px;
  margin-top: 100px;
}

.profile-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================
   名前
========================= */
.profile-heading {
  margin-bottom: 72px;
}

.profile-name {
  margin-bottom: 12px;

  font-size: 1rem;
  letter-spacing: 0.08em;
}

.profile-position {
  font-size: 0.82rem;
  letter-spacing: 0.08em;

  color: #666;
}

/* =========================
   略歴
========================= */
.profile-history {
  max-width: 600px;
}

.profile-history p {
  display: grid;
  grid-template-columns: 6rem 1fr;
  margin-bottom: 14px;

  font-size: 0.88rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* 年号 */
.profile-history span {
  color: #666;
}

/* インデント行 */
.profile-history .indent {
  padding-left: 6.25rem;
}

/* =========================
   スマホ
========================= */
@media (max-width: 768px) {

  .profile-top {
    display: block;
  }

  .profile-image-wrap {
    width: 60%;
    max-width: 320px;

    margin: 0 auto 56px;
  }

  .profile-page {
    padding: 0 20px 120px;
  }

  .profile-intro {
    padding-top: 32px;
    margin-bottom: 72px;
  }

  .profile-image-wrap {
    margin-bottom: 56px;
  }

  .profile-image {
    width: 100%;
  }

  .profile-heading {
    margin-bottom: 56px;
  }

  .profile-name {
    font-size: 0.95rem;
  }

  .profile-position {
    font-size: 0.75rem;
  }

  .profile-history p {
    font-size: 0.8rem;
    line-height: 1.8;
  }

  .profile-history span {
    width: 4.5rem;
  }

  .profile-history .indent {
    padding-left: 4.5rem;
  }

}