
/* 全体 */
.schedule-title {
  font-size: 1.8rem;
  color: #234d6b;
  border-bottom: 3px solid #8bbbd2;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.department {
  margin-bottom: 36px;
}

.department-title {
  font-size: 1.4rem;
  color: #234d6b;
  background: #edf5fa;
  border-left: 6px solid #568eaf;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.doctor-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  line-height: 1.8;
}

.doctor-table th,
.doctor-table td {
  border: 1px solid #cbd8e0;
  padding: 12px 8px;
  text-align: center;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.doctor-table thead th {
  background: #e6f0f6;
  color: #234d6b;
}

.doctor-table tbody th {
  background: #f3f7f9;
  width: 80px;
}

.week {
  display: inline-block;
  font-size: 0.78em;
  color: #536b7a;
}

.closed,
.closed-text {
  color: #777;
  background: #f2f2f2;
}

.schedule-note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 16px;
}

/* パソコンでは表を表示 */
.desktop-schedule {
  display: block;
}

.mobile-schedule {
  display: none;
}

/* スマートフォンでは曜日別カードに切り替え */
@media screen and (max-width: 767px) {
  .schedule-title {
    font-size: 1.5rem;
  }

  .department-title {
    font-size: 1.25rem;
  }

  .desktop-schedule {
    display: none;
  }

  .mobile-schedule {
    display: block;
  }

  .day-card {
    border: 1px solid #cbd8e0;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
  }

  .day-card h4 {
    background: #e6f0f6;
    color: #234d6b;
    font-size: 1.1rem;
    margin: 0;
    padding: 12px 14px;
  }

  .time-row {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    border-top: 1px solid #e0e7eb;
    line-height: 1.8;
  }

  .time-row strong {
    color: #234d6b;
  }

  .time-row span {
    overflow-wrap: anywhere;
  }
}

.eno-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  color: #344854;
  font-size: 17px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.eno-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 36px;
}

.eno-nav a {
  flex: 1 1 200px;
  padding: 12px 14px;
  border: 1px solid #cbdde8;
  border-radius: 8px;
  color: #285c7e;
  text-decoration: none;
  text-align: center;
  background: #fff;
}

.eno-nav a:hover {
  background: #edf5fa;
}


/* 医師紹介 */
.doctor-introduction {
  margin-top: 50px;
  padding: 30px 24px;
  background: #f7fafd;
  border-radius: 14px;
}

.doctor-introduction h2 {
  margin: 0 0 12px;
  padding-bottom: 12px;
  color: #245c91;
  font-size: 26px;
  border-bottom: 2px solid #c8dced;
}

.doctor-intro-lead {
  margin-bottom: 24px;
  color: #526a80;
  font-size: 16px;
}

.doctor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doctor-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce8f1;
  border-radius: 10px;
}

.doctor-name {
  color: #245c91;
  font-size: 19px;
  font-weight: bold;
}

.doctor-position {
  min-height: 22px;
  margin-top: 5px;
  color: #526a80;
  font-size: 14px;
  font-weight: bold;
}

.doctor-specialty {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5edf3;
  color: #333333;
  font-size: 14px;
  line-height: 1.8;
}

/* スマートフォン */
@media (max-width: 700px) {
  .doctor-introduction {
    padding: 22px 14px;
    margin-top: 35px;
  }

  .doctor-introduction h2 {
    font-size: 23px;
  }

  .doctor-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doctor-card {
    padding: 16px;
  }

  .doctor-name {
    font-size: 18px;
  }

  .doctor-specialty {
    font-size: 14px;
  }
}


/* PDF版担当表リンク */
.schedule-pdf {
  margin: 24px 0 35px;
}

.schedule-pdf a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: #245c91;
  background: #f0f6fc;
  border: 1px solid #c8dced;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.6;
}

.pdf-icon {
  flex-shrink: 0;
  padding: 6px 9px;
  color: #fff;
  background: #c65353;
  border-radius: 5px;
  font-size: 13px;
}

.pdf-arrow {
  margin-left: auto;
  font-size: 26px;
}

/* 診療案内共通 */
.clinic-info {
  margin: 30px 0;
  padding: 24px;
  background: #f7fafd;
  border-radius: 12px;
}

.clinic-info h2,
.clinic-contact h2 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #245c91;
  font-size: 23px;
  border-bottom: 2px solid #c8dced;
}

/* 診療時間 */
.clinic-time {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.clinic-time > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 9px;
}

.time-label {
  color: #526a80;
  font-size: 15px;
}

.clinic-time strong {
  color: #245c91;
  font-size: 22px;
}

.info-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
}

/* 持ち物・お知らせ */
.clinic-check-list,
.clinic-notice-list {
  padding-left: 1.5em;
  margin: 0;
  line-height: 2;
}

.clinic-check-list li,
.clinic-notice-list li {
  padding: 4px 0;
}

.clinic-check-list li::marker {
  color: #3985b8;
}

.clinic-notice-list li {
  margin-bottom: 10px;
}

/* お問い合わせ */
.clinic-contact {
  margin: 35px 0;
  padding: 25px;
  text-align: center;
  background: #edf5fb;
  border: 1px solid #c8dced;
  border-radius: 12px;
}

.clinic-contact p {
  font-size: 17px;
  font-weight: bold;
}

.clinic-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #245c91;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
}

/* スマートフォン */
@media (max-width: 600px) {
  .clinic-info {
    padding: 20px 16px;
  }

  .clinic-info h2,
  .clinic-contact h2 {
    font-size: 21px;
  }

  .clinic-time {
    grid-template-columns: 1fr;
  }

  .clinic-time strong {
    font-size: 21px;
  }

  .schedule-pdf a {
    padding: 15px;
    font-size: 14px;
  }

  .clinic-phone {
    font-size: 25px;
  }
}
