@charset "utf-8";
/* CSS Document */

.clinic-calendar {
  margin: 4em auto 0;
  width: 100%;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}

.cal-title {
  font-weight: 600;
  font-size: 150%;
}

.cal-nav {
  text-decoration: none;
   font-weight: 600;
}


.calendar-wrap {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  width: 100%;
}


.cal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
   min-width: 768px;
   background-color: #fff;
   font-size: 90%;
}
.cal-table th {
	background-color: #F3ADB4;
  border: 1px solid #C4C4C4;
  vertical-align: middle;
  text-align: center;
  padding: 8px;
  height: auto;
  color: #fff;
}
.cal-table td {
  border: 1px solid #C4C4C4;
  vertical-align: top;
  text-align: left;
  padding: 8px;
}

.cal-table td.empty {
  background: #fafafa;
}

.date-num {
  font-weight: 700;
}

.label {
  line-height: 1.4;
  white-space: normal;
}

.cal-table td.today {
/*  outline: 2px solid #333;
  outline-offset: -2px;*/
  background: #fff8d6;
}


/* 土日祝の色（要望どおりclassで制御） */
.sat { color: #0b66c3; }
.sun { color: #d10000; }
.holiday { color: #d10000; }

/* 祝日名（表示する場合） */
.holiday-name {
  font-weight: 700;
  margin-bottom: 6px;
}

.schedules {
	color: #4b4b4b!important;
}
.schedule {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 8px;
}

.time {
  display: block;
  min-width: 88px;
  font-weight: 600;
}
.doctor {
	display: block;
	border-radius: 9999px;
	line-height: 1;
	font-size: 90%;
	padding: 0.2em 0.5em;
	color: #fff;
	word-break: keep-all;
}
.doctor.honda {
  background-color: #f3adb4;
}
.doctor.noguchi {
  background-color: #d0bfd9;
}

@media screen and (max-width: 768px) {


.calendar-wrap::after {
  content: "← 横にスクロールできます →";
  display: block;
  color: var(--font2);
  text-align: center;
  margin-top: 1em;
  font-weight: 600;
}
.cal-table {
   font-size: 80%;
   min-width: 640px;
}
.schedule {
	display: block;
}
.time {
  min-width: auto;
}
.doctor {
	display: inline-block;
}


}



