/* ======================================= 診療医一覧（/doctors） ======================================= */
/* Figma 7309:5381 (PC), 7309:5422 (SP) 準拠 */
/* CLEAR MOSS: #B2A581, MOSS BLACK: #42220F, BACKGROUND WHITE: #FEFDFB, SUBTLE MOSS: #E9E9E2, CARD BG: #FFFBF3 */

.doctors-page {
  background-color: #fefdfb;
  padding-top: 80px;
}

/* ヒーロー */
.doctors-page__hero {
  position: relative;
  height: 576px;
  overflow: hidden;
}

.doctors-page__hero-bg {
  position: absolute;
  inset: 0;
}

.doctors-page__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.doctors-page__hero-inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 438px;
  background: #fefdfb;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: calc(100% - 320px);
  min-width: 320px;
}

.doctors-page__hero-label {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #b2a581;
  margin: 0;
}

.doctors-page__hero-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.08em;
  color: #42220f;
  margin: 0;
  text-align: center;
}

/* カードセクション */
.doctors-page__section {
  padding: 100px 160px;
  background: #fefdfb;
}

.doctors-page__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
  justify-content: center;
}

.doctors-page__card {
  background: #fffbf3;
  padding: 20px;
  width: 352px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.doctors-page__card-image {
  width: 100%;
  aspect-ratio: 320 / 400;
  overflow: hidden;
}

.doctors-page__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctors-page__card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctors-page__card-name-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.doctors-page__card-name-ja {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: #42220f;
  margin: 0;
}

.doctors-page__card-name-en {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #42220f;
  margin: 0;
}

.doctors-page__card-info-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctors-page__card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b2a581;
  color: #fefdfb;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 8px;
  border-radius: 4px;
  width: fit-content;
}

.doctors-page__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.doctors-page__card-tag {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #42220f;
}

.doctors-page__card-message {
  background: #fefdfb;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctors-page__card-message-label {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #42220f;
  margin: 0;
}

.doctors-page__card-message-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #42220f;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctors-page__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid #b2a581;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #42220f;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.25s ease;
}

.doctors-page__card-link:hover {
  opacity: 0.8;
}

.doctors-page__card-link-icon {
  flex-shrink: 0;
}

/* パンくず */
.doctors-page__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 160px 40px;
  background: #fefdfb;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.doctors-page__breadcrumb a {
  color: #42220f;
  text-decoration: none;
}

.doctors-page__breadcrumb a:hover {
  text-decoration: underline;
}

.doctors-page__breadcrumb-sep {
  flex-shrink: 0;
}

.doctors-page__breadcrumb-current {
  color: #b2a581;
}

/* SP */
@media (max-width: 1024px) {
  .doctors-page__section {
    padding: 80px 40px;
  }

  .doctors-page__grid {
    gap: 40px;
  }

  .doctors-page__card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .doctors-page__breadcrumb {
    padding: 0 24px 40px;
  }
}

@media (max-width: 1024px) {
  .doctors-page {
    padding-top: 56px;
  }

  .doctors-page__hero {
    height: 276px;
  }

  .doctors-page__hero-inner {
    width: calc(100% - 48px);
    top: auto;
    bottom: 0;
    padding: 24px 20px;
    min-width: 280px;
  }

  .doctors-page__hero-label {
    font-size: 13px;
  }

  .doctors-page__hero-title {
    font-size: 24px;
  }

  .doctors-page__section {
    padding: 56px 24px;
  }

  .doctors-page__card {
    width: 100%;
    max-width: 342px;
  }

  .doctors-page__card-image {
    max-width: 302px;
    margin: 0 auto;
  }

  .doctors-page__breadcrumb {
    font-size: 12px;
    padding: 0 24px 40px;
  }
}

/* ======================================= 医師詳細（/doctor/{slug}） ======================================= */
/* Figma 7401:9468 (PC), 7401:9608 (SP) 準拠 */
/* CLEAR MOSS: #B2A581, MOSS BLACK: #42220F, BACKGROUND WHITE: #FEFDFB, NAME: #56302A, Q&A BG: #FFFBF3 */

.single-doctor {
  background: #fefdfb;
  padding-top: 80px;
}

/* ヒーロー */
.single-doctor__hero {
  position: relative;
  height: 576px;
  overflow: hidden;
}

.single-doctor__hero-bg {
  position: absolute;
  inset: 0;
}

.single-doctor__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-doctor__hero-inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 438px;
  background: #fefdfb;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: calc(100% - 320px);
  min-width: 320px;
}

.single-doctor__hero-label {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #b2a581;
  margin: 0;
}

.single-doctor__hero-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.08em;
  color: #42220f;
  margin: 0;
  text-align: center;
}

/* メインセクション */
.single-doctor__section {
  padding: 100px 160px;
  background: #fefdfb;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.single-doctor__profile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.single-doctor__image {
  flex-shrink: 0;
  width: 290px;
  height: 362px;
  overflow: hidden;
}

.single-doctor__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-doctor__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.single-doctor__basic {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-doctor__name-group {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.single-doctor__name-ja {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.06em;
  color: #56302a;
  margin: 0;
}

.single-doctor__name-en {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.06em;
  color: #56302a;
  margin: 0;
}

.single-doctor__info-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.single-doctor__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b2a581;
  color: #fefdfb;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 20px;
  padding: 8px;
  border-radius: 4px;
  width: fit-content;
}

.single-doctor__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
}

.single-doctor__tag {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #42220f;
}

/* 情報セクション（資格・経歴） */
.single-doctor__info-list-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.single-doctor__info-list {
  border-left: 4px solid #b2a581;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.single-doctor__info-list-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #42220f;
  margin: 0;
}

.single-doctor__info-list-content {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: #42220f;
  margin: 0;
}

/* Q&A セクション */
.single-doctor__qa-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.single-doctor__qa-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.single-doctor__qa-question {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  padding: 16px 0;
}

.single-doctor__qa-q {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #b2a581;
  flex-shrink: 0;
  line-height: 1;
}

.single-doctor__qa-question-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: #42220f;
  margin: 0;
}

.single-doctor__qa-answer {
  background: #fffbf3;
  padding: 24px 40px;
  border-radius: 4px;
}

.single-doctor__qa-answer p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: #42220f;
  margin: 0;
}

/* 戻るボタン */
.single-doctor__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #42220f;
  border-radius: 50%;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.single-doctor__back:hover {
  opacity: 0.8;
}

.single-doctor__back-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-left: 2px solid #42220f;
  border-bottom: 2px solid #42220f;
  transform: rotate(-45deg);
  margin-left: 2px;
}

/* パンくず */
.single-doctor__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 160px 40px;
  background: #fefdfb;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.single-doctor__breadcrumb a {
  color: #42220f;
  text-decoration: none;
}

.single-doctor__breadcrumb a:hover {
  text-decoration: underline;
}

.single-doctor__breadcrumb-sep {
  flex-shrink: 0;
}

.single-doctor__breadcrumb-current {
  color: #b2a581;
}

/* 医師詳細 SP */
@media (max-width: 1024px) {
  .single-doctor__section {
    padding: 80px 40px;
  }

  .single-doctor__breadcrumb {
    padding: 0 40px 40px;
  }
}

@media (max-width: 1024px) {
  .single-doctor {
    padding-top: 56px;
  }

  .single-doctor__hero-inner {
    width: calc(100% - 48px);
    top: auto;
    bottom: 0;
    padding: 24px;
    min-width: 280px;
  }

  .single-doctor__hero-label {
    font-size: 13px;
  }

  .single-doctor__hero-title {
    font-size: 24px;
  }

  .single-doctor__section {
    padding: 56px 24px;
    gap: 56px;
  }

  .single-doctor__profile {
    flex-direction: column;
    gap: 32px;
  }

  .single-doctor__image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 290 / 362;
    height: auto;
  }

  .single-doctor__body {
    gap: 16px;
  }

  .single-doctor__name-group {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .single-doctor__name-ja {
    font-size: 20px;
  }

  .single-doctor__name-en {
    font-size: 12px;
  }

  .single-doctor__info-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .single-doctor__badge {
    font-size: 12px;
  }

  .single-doctor__tag {
    font-size: 12px;
  }

  .single-doctor__info-list-title {
    font-size: 16px;
  }

  .single-doctor__qa-group {
    gap: 20px;
  }

  .single-doctor__qa-q {
    font-size: 24px;
  }

  .single-doctor__qa-question-text {
    font-size: 20px;
  }

  .single-doctor__qa-answer {
    padding: 24px 40px;
  }

  .single-doctor__qa-answer p {
    font-size: 16px;
  }

  .single-doctor__breadcrumb {
    padding: 0 24px 40px;
    font-size: 12px;
  }
}
