.calender {
  width: 100%;
  max-width: 980px;
  border-radius: 10px;
  border: solid 1px #9E9E9E;
  overflow: hidden;
}

.calender_inner {
  width: 100%;
  overflow-x: auto;
}

.calender_block {
  display: flex;
  justify-content: left;
  align-items: center;
  height: 84px;
  min-width: 670px;
}
.calender_block.top {
  height: 53px;
  background-color: #F5F5F5;
}
.calender_block.bottom {
  border-top: dotted 1px #9E9E9E;
}

.cal_title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 195px;
  height: 100%;
  flex-shrink: 0;
  border-right: dotted 1px #9E9E9E;
}
.cal_title p {
  display: block;
  width: fit-content;
}

.cal_main {
  width: calc(100% - 195px);
  height: 100%;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cal_element {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  width: 16.6666666667%;
}
.cal_element p {
  display: block;
  width: fit-content;
}
.cal_element p .red {
  color: #FF0000;
  font-weight: bold;
}

.red {
  color: #FF0000;
}

.tel_icon {
  display: inline-block;
  width: 18px;
  aspect-ratio: 18/16;
  height: auto;
  background-image: url(../images/patients_tel_icon.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 2px;
  transform: translateY(2px);
}

.flow_block {
  width: 100%;
  max-width: 700px;
  padding: 34px 56px;
  display: flex;
  justify-content: left;
  align-items: flex-start;
  gap: 26px;
  position: relative;
}
.flow_block::before, .flow_block::after {
  position: absolute;
  content: "";
}
.flow_block::before {
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #4AA739;
}
.flow_block::after {
  top: 100%;
  left: calc(50% - 30px);
  width: 60px;
  aspect-ratio: 60/17.5;
  height: auto;
  background-image: url(../images/patients_flow_arrow.svg);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}
.flow_block.last::after, .flow_block.last::before {
  content: none;
}

.flow_num {
  display: block;
  width: fit-content;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: bold;
  position: relative;
}
.flow_num::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #4AA739;
}

.flow_title {
  font-size: 20px;
  font-weight: bold;
  padding-top: 2px;
}

@media (max-width: 1200px) {
  .flow_block {
    padding: 30px 42px;
  }
}

@media (max-width: 960px) {
  .cal_title {
    width: 120px;
    font-size: 14px;
  }
  .cal_main {
    padding: 0 18px;
    width: calc(100% - 120px);
  }
  .cal_element {
    font-size: 14px;
  }
  .flow_num::after {
    height: 2px;
  }
}

@media (max-width: 767px) {
  .flow_block {
    padding: 30px 20px;
    gap: 18px;
  }
  .flow_block::after {
    width: 48px;
  }
  .flow_num {
    font-size: 16px;
  }
  .flow_title {
    font-size: 16px;
  }
}