/* ========================================
   doctor.css — 医師紹介個別ページ用スタイル
   ※ style.css のCSS変数を継承して使用
   ======================================== */

/* --------------------------------------------------
   ページヘッダー
-------------------------------------------------- */
.drpage-page-hero {
  background: var(--c-ivory);
  border-bottom: 1px solid var(--c-border);
  padding: clamp(48px, 8vw, 80px) 0;
}

.drpage-page-title {
  font-family: var(--font-ja);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 300;
  color: var(--c-text);
  letter-spacing: 0.10em;
  margin-top: 10px;
}

/* --------------------------------------------------
   写真＋プロフィール＋メッセージ
-------------------------------------------------- */
.drpage-intro {
  background: var(--c-white);
}

.drpage-intro-inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 72px);
}

/* 写真エリア */
.drpage-photo-wrap {
  flex-shrink: 0;
  width: clamp(260px, 32vw, 360px);
  position: relative;
}

.drpage-photo-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 1px solid var(--c-border-em);
  border-radius: var(--r);
}

.drpage-photo-deco {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  border-radius: var(--r);
  pointer-events: none;
}

/* プロフィール＋メッセージ */
.drpage-intro-profile {
  flex: 1;
  padding-top: 8px;
}

.drpage-role {
  font-size: 0.82rem;
  color: var(--c-em-dark);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.drpage-name {
  font-family: var(--font-ja);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.10em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.drpage-name-en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--c-text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.drpage-sep {
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  margin-bottom: 32px;
}

.drpage-message {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drpage-message p {
  font-size: 0.90rem;
  color: var(--c-text-muted);
  line-height: 2.0;
}

/* --------------------------------------------------
   プロフィールセクション
-------------------------------------------------- */
.drpage-profile-section {
  background: var(--c-ivory);
}

/* 経歴（カードなし・全幅） */
.drpage-career-plain {
  margin-bottom: 60px;
}

/* 2カラムグリッド（診療領域・専門領域・資格） */
.drpage-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.drpage-scope-col + .drpage-scope-col {
  border-left: 1px solid var(--c-border);
  padding-left: 48px;
}

.drpage-col-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--c-em);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.drpage-col-title {
  font-family: var(--font-ja);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.drpage-col-rule {
  width: 24px;
  height: 1px;
  background: var(--c-em);
  margin: 10px 0 18px;
}

.drpage-inner-rule {
  width: 100%;
  height: 1px;
  background: var(--c-border);
  margin: 32px 0;
}

.drpage-plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drpage-plain-list li {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.drpage-plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 1px;
  background: var(--c-em);
}


/* --------------------------------------------------
   戻るリンク
-------------------------------------------------- */
.drpage-back-section {
  background: var(--c-white);
}

.drpage-back {
  text-align: center;
}

/* --------------------------------------------------
   スマホ対応
-------------------------------------------------- */
@media (max-width: 640px) {
  .drpage-intro-inner {
    flex-direction: column;
  }

  .drpage-photo-wrap {
    width: 100%;
  }

  .drpage-scope-grid {
    grid-template-columns: 1fr;
  }

  .drpage-scope-col + .drpage-scope-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--c-border);
    padding-top: 28px;
    margin-top: 28px;
  }
}
