/* =========================
   DOCTOR PAGE
   ========================= */

:root {
  --doctor-green: #79b98d;
  --doctor-green-soft: #eef6ea;
  --doctor-green-deep: #4f8f6a;
  --doctor-blue-soft: #eaf6fb;
  --doctor-blue-line: #d8ebf3;
  --doctor-cream: #fbf8f1;
  --doctor-bg: #f9f6ef;
  --doctor-panel: #fffdf8;
  --doctor-line: #e7e0d2;
  --doctor-text: #5a4b3d;
  --doctor-muted: #7a6d61;
  --doctor-shadow: rgba(79, 143, 106, 0.08);
  --doctor-shadow-strong: rgba(79, 143, 106, 0.14);
}

.doctor-page {
  background: linear-gradient(180deg, #fbfaf5 0%, #f7f4ee 100%);
  color: var(--doctor-text);
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

/* =========================
   HERO / SECTION BOX
   ========================= */

.section-box {
  padding: 28px 20px 12px;
}

.section-box-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, #fafcf2 100%);
  border: 1px solid var(--doctor-line);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px var(--doctor-shadow);
}

.section-en {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--doctor-green-deep);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--doctor-text);
  margin: 0;
  font-weight: 700;
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.doctor-hero-text {
  margin-top: 14px;
  color: var(--doctor-muted);
  line-height: 1.9;
  font-size: 15px;
  max-width: 760px;
}

/* =========================
   MAIN SECTION
   ========================= */

.doctor-section {
  padding: 18px 20px 80px;
}

.doctor-container {
  max-width: 1100px;
  margin: 0 auto;
}

.doctor-block {
  margin-top: 26px;
}

.doctor-block-title {
  font-size: 22px;
  line-height: 1.4;
  color: var(--doctor-text);
  margin: 0 0 16px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--doctor-green-soft), #fff);
  border-left: 6px solid var(--doctor-green);
  border-radius: 12px;
  font-weight: 700;
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* =========================
   GREETING
   ========================= */

.doctor-message-block {
  margin-top: 26px;
}

.doctor-message {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 24px;
  align-items: start;
}

.doctor-photo {
  background: var(--doctor-panel);
  border: 1px solid var(--doctor-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--doctor-shadow);
}

.doctor-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.doctor-message-text {
  background: var(--doctor-panel);
  border: 1px solid var(--doctor-line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 6px 18px var(--doctor-shadow);
}

.doctor-lead {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--doctor-green-deep);
  font-weight: 700;
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.doctor-message-text p {
  margin: 0 0 14px;
  line-height: 1.9;
  color: var(--doctor-text);
  font-size: 15px;
}

.doctor-signature {
  margin-top: 18px !important;
  color: var(--doctor-muted) !important;
  font-weight: 700;
}

/* =========================
   PROFILE / QUALIFICATIONS
   ========================= */

.doctor-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.doctor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.doctor-list li {
  position: relative;
  padding: 13px 14px 13px 34px;
  background: var(--doctor-panel);
  border: 1px solid var(--doctor-line);
  border-radius: 14px;
  box-shadow: 0 4px 12px var(--doctor-shadow);
  line-height: 1.7;
  color: var(--doctor-text);
}

.doctor-list li::before {
  content: "●";
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--doctor-green);
  font-size: 12px;
}

/* =========================
   PHILOSOPHY
   ========================= */

.doctor-philosophy {
  background: var(--doctor-panel);
  border: 1px solid var(--doctor-line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 6px 18px var(--doctor-shadow);
}

.doctor-philosophy p {
  margin: 0 0 14px;
  line-height: 1.9;
  color: var(--doctor-text);
  font-size: 15px;
  letter-spacing: 0.05rem;

}

.doctor-philosophy p:last-child {
  margin-bottom: 0;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1080px) {
  .section-box,
  .doctor-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .doctor-message {
    grid-template-columns: 1fr;
  }

  .doctor-photo {
    width: 100%;
    max-width: 100%;
  }

  .doctor-photo img {
    aspect-ratio: 4 / 3;
  }

  .doctor-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-box-inner {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .section-title {
    font-size: 24px;
  }

  .doctor-block-title {
    font-size: 18px;
    padding: 10px 14px;
  }

  .doctor-message-text,
  .doctor-philosophy {
    padding: 16px;
    border-radius: 14px;
  }

  .doctor-lead {
    font-size: 16px;
  }

  .doctor-message-text p,
  .doctor-philosophy p {
    font-size: 14px;
  }

  .doctor-list li {
    border-radius: 14px;
  }

  .doctor-photo {
    border-radius: 14px;
  }

  .doctor-photo img {
    aspect-ratio: 16 / 10;
  }
}
