.calendar {
    width: 100%;
    border-top: 1px solid #000;
    padding: 32px 0;
    border-bottom: 1px solid #000;
    font-family: Pretendard;
  }
  
  .calendar_header {
    display: block;
  }
  
  .calendar_nav {
    padding: 0 20px;
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
  }
  
  .calendar_nav button.nav-btn {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff;
  }
  
  .calendar_nav button.nav-btn.go-prev {
    transform: rotate(180deg);
  }
  
  .calendar .ym-wrapper {
    font-size: 24px;
    font-family: 'Spoqa Han Sans Neo';
    color: #262626;
    font-weight: 400;
    line-height: 130%; /* 31.2px */
    letter-spacing: -0.48px;
  }
  
  .calendar .ym-wrapper span {
    font-size: 24px;
    font-weight: 400;
    line-height: 130%; /* 31.2px */
    letter-spacing: -0.48px;
  }
  
  .calendar_main {
    border-collapse: collapse;
    width: 100%;
    padding: 32px 0;
  }
  
  .calendar .days {
    display: flex;
    border-bottom: 0px;
  }
  
  .calendar .day {
    width: calc(100% / 7);
    text-align: center;
    padding: 31px 0;
    font-size: 16px;
    font-weight: 500;
    color: #737373;
  }
  
  .calendar .dates {
    display: flex;
    flex-flow: row wrap;
  }
  
  .calendar .date {
    cursor: pointer;
    position: relative;
    width: calc(100% / 7);
    padding: 3% 2%;
    box-sizing: border-box;
    font-family: 'SpoqaHanSansNeo';
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: #262626;
  }
  
  .calendar .day:nth-child(7n + 1) {
    color: #f00;
  }
  
  .calendar .otherMonth {
    pointer-events: none;
    color: transparent !important;
  }
  .calendar .date.selected {
    color: #fff;
  }
  .calendar .date.selected::after {
    content: '';
    display: block;
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    z-index: -1;
    background: var(--color-primary);
  }
  
  .calendar .date.selected.otherMonth::after {
    content: none;
  }
  
  .calendar .rs_ok {
    background: var(--focus, #dfbdf4);
  }
  
  /* 공휴일 */
  .calendar .holiday {
    color: #f00;
    background: #fff;
  }
  /* 오늘 */
  .calendar .today {
    color: #fff;
    position: relative;
  }
  .calendar .today::after {
    content: '';
    display: block;
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 666px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-color: #e5e5e5;
  }
  
  .calendar_caution {
    padding-top: 10px;
    position: relative;
  }
  
  .calendar_caution .info {
    display: flex;
    gap: 16px;
  }
  
  .calendar_caution .info p {
    color: var(--000000-, #000);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.045px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .calendar_caution .info p:before {
    position: relative;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: #cde4ff;
  }
  
  .calendar_caution .info p:nth-child(2):before {
    background: #ff4747;
  }
  
  .calendar_caution > p {
    color: var(--666666-, #666);
    text-align: center;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.04px;
    position: absolute;
    right: 0;
    top: 12px;
  }
  
  .calendar_time {
    display: flex;
    padding-top: 30px;
    padding-bottom: 24px;
    box-sizing: border-box;
    gap: 10px;
    align-items: stretch;
  }
  
  .calendar_time .input_time {
    border-radius: 6px;
    border: 1px solid #a3a3a3;
    background: #fff;
    font-family: 'SpoqaHanSansNeo';
    width: calc(50% - 10px);
    font-weight: 500;
    padding: 10px 23px;
    box-sizing: border-box;
    line-height: 1.3;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.32px;
  }
  
  .form .input_group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: #fff url(/img/sub/form_arrow.svg) no-repeat 95% 50% !important;
    color: #404040;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.32px;
  }
  
  .calendar_time select {
    position: relative;
    width: 50%;
    border-radius: 6px;
    border: 1px solid #a3a3a3;
    color: #a3a3a3;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    padding: 10px 23px;
    letter-spacing: -0.045px;
    background: #fff url(/img/sub/form_arrow.svg) no-repeat 95% 50%;
  }
  
  .calendar_time select option {
    line-height: 1.3;
    padding: 10px 23px;
  }
  
  @media screen and (max-width: 1024px) {
    .calendar .date {
      padding: 3% 2%;
    }
  }
  @media screen and (max-width: 768px) {
    .calendar {
      padding: 18px 0;
    }
    .calendar .ym-wrapper span {
      font-size: 18px;
    }
    .calendar_nav {
      padding: 0 10px;
    }
    .calendar_nav button.nav-btn {
      width: 20px;
    }
    .calendar .day {
      padding: 18px 0;
      font-size: 13px;
    }
    .calendar .date {
      font-size: 13px;
      padding: 4% 2%;
    }
    .calendar .today::after {
      width: 30px;
      height: 30px;
    }
    .calendar .date.selected::after {
      width: 30px;
      height: 30px;
    }
    .calendar_time {
      flex-direction: column;
      padding-top: 1.6rem;
      padding-bottom: 0;
    }
  
    .calendar_time .input_time,
    .calendar_time select {
      width: 100%;
      padding: 15px 23px;
    }
  
    .calendar_time select {
      font-size: 16px;
    }
  
    .calendar_clinic {
      display: block;
      padding: 14px 20px;
    }
  
    .calendar_clinic .time_info {
      border: none;
    }
  
    .calendar_clinic > p {
      min-width: unset;
      font-size: 16px;
      line-height: 160%;
      letter-spacing: -0.32px;
      padding-bottom: 6px;
    }
  
    .calendar_clinic .time_info {
      padding: 0;
      gap: 6px;
    }
  
    .calendar_clinic .time_info .sunday {
      padding: 0;
    }
    .form .input_group select {
      line-height: 1.2;
      letter-spacing: -0.28px;
    }
  }
  
  .ableResDate {
    cursor: pointer;
    color: #262626;
  }
  
  .unableResDate {
    color: #a3a3a3 !important;
  }
  