/* プロフィールセクション */
.profile-section {
  position: relative;
  padding: 64px 0;
  background-color: var(--color-700);
  font-family: 'Noto Sans JP', sans-serif;
}

.profile-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/profile_bg.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.profile-section__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 970px;
  margin: 0 auto;
  padding: 0 16px;
}

/* カード共通 */
.profile-section__card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 2px rgba(62, 56, 57, 0.08);
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

/* テキストカラム */
.profile-section__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

/* カード1: 名前ラベル */
.profile-section__name-label {
  display: flex;
  flex-direction: column;
}

.profile-section__name {
  font-size: 32px;
  font-weight: 500;
  color: var(--color-gray-700);
  line-height: 1.2;
  white-space: nowrap;
  word-break: break-word;
}

/* カード2: タイトルコンテナ */
.profile-section__title-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-section__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-50);
  padding: 6px 12px;
  align-self: flex-start;
}

.profile-section__role p {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-700);
  line-height: 1.2;
  white-space: nowrap;
  word-break: break-word;
}

.profile-section__name-container {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  white-space: nowrap;
  color: var(--color-gray-700);
}

.profile-section__furigana {
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

/* 区切り線 */
.profile-section__divider {
  width: 100%;
  border-top: 1px solid var(--color-slate-200);
  flex-shrink: 0;
}

/* 本文テキスト */
.profile-section__body {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-slate-700);
  line-height: 1.8;
  word-break: break-word;
  width: 100%;
}

/* プロフィール画像 */
.profile-section__image {
  width: 256px;
  flex-shrink: 0;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.profile-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* SP: 700px以下 */
@media (max-width: 700px) {
  .profile-section {
    padding: 40px 0;
  }

  .profile-section__card {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .profile-section__image {
    width: 100%;
  }

  .profile-section__image img {
    position: static;
    height: auto;
  }

  .profile-section__name {
    font-size: 24px;
  }
}
