@charset "UTF-8";
.schedule h2 {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  border-bottom: 2px solid #2c3e69;
  font-size: 40px;
  color: #222f3e;
  margin-bottom: 40px;
}
.schedule__outpatient {
  width: 1080px;
  margin-bottom: 72px;
}
.schedule__surgery {
  width: 1080px;
}

.table-sp {
  display: none;
}

.table-pc table {
  background-color: #fff;
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #127ac0;
}
.table-pc table th:not(:first-child),
.table-pc table td:not(:first-child) {
  width: 11.4286%;
}
.table-pc table thead > tr > th {
  padding: 12px 0;
  text-align: center;
  color: #2c3e69;
  background-color: #f8fbfd;
  border-right: 1px solid #127ac0;
  border-bottom: 1px solid #127ac0;
  vertical-align: middle;
}
.table-pc table tbody > tr > td {
  padding: 8px 0;
  text-align: center;
  color: #222f3e;
  vertical-align: middle;
  border-right: 1px solid #127ac0;
  border-bottom: 1px solid #127ac0;
  font-weight: bold;
  margin: 0 auto;
  height: 210px;
  position: relative;
}
.table-pc table tbody > tr > td > p:not(:last-child) {
  margin: 0 0 16px 0;
}
.table-pc table tbody > tr > td:first-child {
  color: #2c3e69;
  background-color: #f8fbfd;
  line-height: 24px;
}
.table-pc table tbody > tr > td:first-child span {
  display: inline-block;
  font-weight: 100;
  font-size: 14px;
}

.diagonal {
  background: none;
}

.diagonal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, transparent calc(50% - 0.5px), #127ac0 50%, transparent calc(50% + 0.5px));
}

.week-batch {
  background-color: #ecf3fa;
  color: #127ac0;
  font-size: 12px;
  line-height: 12px;
  padding: 2px 6px;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 24px;
  display: block;
  margin: 0 auto;
}
.week-batch span {
  font-weight: normal;
  padding: 0 4px;
}

.outpatient {
  font-weight: normal;
  font-size: 12px;
  line-height: 12px;
  width: -moz-fit-content;
  width: fit-content;
  display: block;
  margin: 0 auto;
}

/* --------------------------------
Responsive styles for screens between 1024px and 1279px 
----------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .schedule h2 {
    font-size: 36px;
    margin-bottom: 32px;
  }
  .schedule__outpatient {
    width: 960px;
    margin-bottom: 64px;
  }
  .schedule__surgery {
    width: 960px;
  }
}
/* --------------------------------
Responsive styles for screens between 768px and 1023px
----------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .schedule h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .schedule__outpatient {
    width: 100%;
    margin-bottom: 56px;
  }
  .schedule__surgery {
    width: 100%;
  }
  .week-batch {
    font-size: 10px;
  }
}
@media screen and (max-width: 767px) {
  .schedule {
    margin-bottom: 0;
  }
  .schedule h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .schedule__outpatient {
    font-size: 16px;
    width: 100%;
    margin-bottom: 40px;
  }
  .schedule__surgery {
    width: 100%;
  }
  .table-pc {
    display: none;
  }
  .week-batch {
    padding: 2px 4px;
    font-size: 10px;
  }
  .table-sp {
    display: block;
  }
  .table-sp__ttl {
    position: sticky;
    top: 72px;
    z-index: 2;
    background-color: #ecf3fa;
    padding: 0 0 16px 0;
  }
  .table-sp__ttl h2 {
    font-size: 24px;
  }
  .table-sp .table {
    margin: 12px 0;
    border: 1px solid #127ac0;
  }
  .table-sp .table > li {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: 1fr 1fr;
    background-color: #fff;
  }
  .table-sp .table > li:not(:last-child) {
    border-bottom: 1px solid #127ac0;
  }
  .table-sp .table > li > div {
    display: flex;
    align-items: center;
  }
  .table-sp .table > li > div p {
    text-align: center;
  }
  .table-sp .table > li .week {
    padding: 0 8px;
    grid-row: 1/3;
    background-color: #f8fbfd;
    color: #2c3e69;
    border-right: 1px solid #127ac0;
  }
  .table-sp .table > li .am,
  .table-sp .table > li .pm {
    padding: 0 16px;
    background-color: #f8fbfd;
    color: #2c3e69;
    border-right: 1px solid #127ac0;
    position: relative;
    font-weight: bold;
  }
  .table-sp .table > li .doctor {
    position: relative;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    height: 96px;
  }
  .table-sp .table > li .doctor p {
    font-weight: 700;
  }
  .table-sp .table > li .am::after,
  .table-sp .table > li .doctor:not(:last-child):after {
    content: "";
    position: absolute;
    display: block;
    height: 1px;
    width: 100%;
    background-image: linear-gradient(to right, #127ac0 80%, #fff 80%);
    background-size: 10px 4px; /* 横　縦 */
    background-repeat: repeat-x;
    bottom: 0;
    left: 0;
  }
  .table-sp__time {
    background-color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    border-radius: 24px;
    padding: 4px 0;
    color: #2c3e69;
    line-height: 24px;
  }
  .table-sp__time span {
    font-weight: bold;
    padding-right: 4px;
  }
  .table-sp__time .thursday {
    font-weight: 100;
    font-size: 14px;
    grid-column: 2/2;
  }
}/*# sourceMappingURL=schedule.css.map */