@charset "UTF-8";

/* 院長プロフィール */
.dr_profile {
  margin: 40px 15px 0;
  box-sizing: border-box;
}

/* 上段：写真と名前を横並び */
.dr_top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.dr_photo {
  width: 80px;
  flex-shrink: 0;
}

.dr_photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
}

.dr_name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  margin: 0;
}

/* 下段：経歴リスト */
.dr_history {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 0;
}

.dr_history dt {
  width: 80px;
  color: #888;
  margin-bottom: 15px;
  flex-shrink: 0;
  font-weight: 500;
}

.dr_history dd {
  width: calc(100% - 80px);
  margin: 0 0 15px 0;
  padding-left: 15px;
  border-left: 1px solid #eee;
  box-sizing: border-box;
  color: #444;
  line-height: 1.6;
}

/* PC版：最寄り駅セクションを行ごとに高さ揃え */
@media screen and (min-width: 768px) {
  /* 最寄り駅ブロック（access_height_row_*）のみ flex 化して、他の clinic_data は既存の table レイアウトを維持する */
  .clinic_list .clinic_card .clinic_data[class*="access_height_row_"] {
    display: flex !important;
    align-items: flex-start;
  }

  /* 各行ごとの高さ固定 */
  .clinic_list .clinic_card .clinic_data.access_height_row_1 {
    min-height: 140px;
  }
  .clinic_list .clinic_card .clinic_data.access_height_row_2 {
    min-height: 170px;
  }
  .clinic_list .clinic_card .clinic_data.access_height_row_3 {
    min-height: 170px;
  }
}

/* モバイル版：元の table 構造に戻す */
@media screen and (max-width: 767px) {
  .clinic_list .clinic_card .clinic_data {
  display: table; /* 元の table 構造に戻す */
}
