@charset "UTF-8";
@keyframes bounceUpDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px); /* 아래로 10px */
  }
}
/* Button */
.btn {
  display: inline-block;
  border-radius: 8px;
  text-align: center;
}
.btn-mini {
  height: 32px;
  line-height: 32px;
  font-size: 16px;
  text-align: center;
  border-radius: 4px;
}
.btn-sm {
  height: 46px;
  line-height: 46px;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
}
.btn-md {
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  text-align: center;
}
.btn-lg {
  height: 52px;
  line-height: 52px;
  font-size: 18px;
  text-align: center;
}
.btn-big {
  height: 56px;
  line-height: 56px;
  font-size: 18px;
  text-align: center;
}
.btn-w100p {
  width: 100%;
}
.btn-textType {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-main);
}
.btn_p16 {
  padding: 0 16px;
}
.btn.disabled {
  background-color: var(--bg_light);
  color: var(--disabled);
  border: 1px solid var(--line_color);
}
.btn:disabled {
  background-color: var(--bg_light) !important;
  color: var(--disabled) !important;
  border: 1px solid var(--line_color) !important;
}
.btn_brand_color {
  background: #2393af;
  color: #fff;
}
.btn_blue_color {
  background: #2f81bb;
  color: #fff;
}
.btn_gray_border {
  border: 1px solid #e5e5ec;
}
.btn_gray {
  background: #999;
  color: #fff;
}
.btn-brown {
  border-radius: 8px;
  background: #505050;
  color: #fff;
}
.btn-reser-color {
  color: #fff;
  border-radius: 8px;
  background: #176275;
}
/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
  opacity: 0;
}

.modal.open {
  z-index: 1000;
  opacity: 1;
}

.modal__inner {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  max-height: calc(100% - 176px);
  overflow-y: auto;
  border-radius: 24px;
  background-color: var(--white);
  transition: 0.45s;
  opacity: 0;
}

.modal.open .modal__inner {
  top: 50%;
  opacity: 1;
}

.modal__inner::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.modal__inner::-webkit-scrollbar-thumb {
  height: 30%;
  background: #dddddd;
  border-radius: 10px;
}

.modal__inner::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}
.modal__close {
  width: 24px;
  height: 24px;
}
.btn_modal-close {
  background: url(../_img/common/icon_ham_x.svg) no-repeat center center / contain;
  width: 100%;
  height: 100%;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__header h1 {
  color: #111;
  font-size: 28px;
  font-weight: 600;
  line-height: 135%; /* 37.8px */
  letter-spacing: -0.7px;
  border-bottom: 4px solid #2393af;
  padding-bottom: 2px;
}
/* modal_hospital */

.modal_hospital .modal__inner {
  max-width: calc(100% - 40px);
  width: 1200px;
  background: url(../_img/common/modal_back.jpeg) no-repeat center center / cover;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.modal_hospital .modal__close {
  position: fixed;
  top: 42px;
  right: 40px;
  width: 24px;
  height: 24px;
  z-index: 201;
}
.modal_scroll {
  overflow: auto;
  padding: 32px 40px;
  height: 100%;
}

.modal_hospital .modal__content {
  display: flex;
  margin-top: 26px;
  gap: 40px;
}
.modal_hospital .item {
  flex: 1 0 0;
}

.modal_tbl {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ddd;
  width: 100%;
  overflow-x: auto;
}
.modal_tbl table {
  width: 100%;
  table-layout: fixed;
  min-width: 337px;
}
.modal_tbl thead {
  background: #f2f9fa;
  border-bottom: 2px solid #ddd;
}
.modal_tbl thead tr th {
  border: 1px solid #ddd;
  border-left: 0;
  color: #333;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 160%; /* 19.2px */
}
.modal_tbl thead tr:first-child th {
  border-top: none !important;
}
.modal_tbl thead tr th:last-child {
  border-right: none !important;
}
.modal_tbl tbody tr td:last-child {
  border-right: none !important;
}
.modal_tbl tbody tr:last-child td {
  border-bottom: none !important;
}
.modal_tbl thead tr th,
.modal_tbl tbody tr td {
  border: 1px solid #ddd;
  border-left: 0;
  color: #333;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  padding: 0 6px;
  vertical-align: middle;
  height: 24px;
  line-height: 24px;
}

.modal_tbl tbody tr td:nth-child(2) {
  text-align: left;
}
.modal_tbl tbody tr td p {
  font-size: 11px;
  font-weight: 400;
  line-height: 160%; /* 17.6px */
  padding: 3px 0;
}
p.ok {
  background: url(../_img/common/icon_ok.svg) no-repeat center center / contain;
  width: 14px;
  height: 14px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.modal_hospital .item.column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal_hospital .item .box {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}
.modal_hospital .item .box h2 {
  color: #2f81bb;
  font-size: 16px;
  font-weight: 600;
  line-height: 135%; /* 21.6px */
  letter-spacing: -0.4px;
}
.modal_hospital .item .box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal_hospital .item .box ul span,
.modal_hospital .item .box ul li {
  color: #505050;
  font-size: 14px;
  font-weight: 400;
  line-height: 135%; /* 18.9px */
  letter-spacing: -0.35px;
}
.modal_hospital .item .box ul li::before {
  content: "·";
  padding-right: 4px;
}
/* Form */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="tel"] {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 16px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
  font-size: 16px;
  font-weight: 400;
  color: #999999;
}
/* input-A */
.input-A {
  height: 48px;
  line-height: 48px;
  width: 100%;
}

/* Select */
.select-primary {
  height: 48px;
  line-height: 48px;
  float: none;
  width: 100%;
  display: inline-block;
  border-radius: 8px;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.4px;
}

.select-primary .list {
  width: inherit;
  max-height: 190px;
  overflow-y: auto;
  z-index: 1000;
}

.select-primary:active,
.select-primary.open,
.select-primary:focus {
  border-color: #ddd;
}

.select-primary .option {
  border-bottom: 1px solid #ddd;
  height: 40px;
  line-height: 40px;
}

.select-primary .option:last-child {
  border-bottom: none;
}

.select-primary .option.selected {
  font-weight: normal;
}

.select-primary:after {
  border-bottom: none;
  border-right: none;
  display: inline-block;
  width: 14px;
  height: 8px;
  background: url(/_img/common/icon_arrow_bottom.svg) no-repeat center center / contain;
  transform: translateY(-50%) rotate(0deg);
  margin-top: 0;
  right: 15px;
}

.select-primary.open:after {
  transform: translateY(-50%) rotate(-180deg);
  transform-origin: center !important;
}
/* Select */
.reser-select {
  height: 56px;
  line-height: 56px;
  float: none;
  width: 160px;
  min-width: 160px;
  display: inline-block;
  border-radius: 8px;
  border: none;
  background: rgba(241, 241, 245, 0.8);
  backdrop-filter: blur(10px);
  color: #111;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.4px;
}

.select-primary:after {
  border-bottom: none;
  border-right: none;
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(/_img/common/icon_arrow_down.svg) no-repeat center center / contain;
  transform: translateY(-50%) rotate(0deg);
  margin-top: 0;
  right: 15px;
}

.sb_txt {
  margin-top: 20px;
  color: #767676;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.4px;
}

/* radio-A */
.radio-A input[type="radio"] {
  display: none;
}
.radio-A input[type="radio"] + em {
  border-radius: 800px;
  border: 1px solid #f1f1f5;
  background: #fff;
  padding: 0 20px;
  height: 45px;
  line-height: 45px;
  display: inline-block;
  font-style: normal;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.45px;
}

.radio-A input[type="radio"]:checked + em {
  background: #2393af;
  color: #fff;
}
/* radio-reservation */
.radio-reservation input[type="radio"] {
  display: none;
}
.radio-reservation input[type="radio"] + em {
  border-radius: 4px;
  background: #f1f1f5;
  padding: 0 8px;
  height: 34px;
  line-height: 34px;
  display: inline-block;
  font-style: normal;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.4px;
  cursor: pointer;
}

.radio-reservation input[type="radio"]:checked + em {
  background: #111;
  color: #fff;
}

/* checkbox-A */
.checkbox-A input[type="checkbox"] {
  display: none;
}
.checkbox-A {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-A span {
  color: #111;
  font-size: 16px;
  font-weight: 400;
}
.checkbox-A input[type="checkbox"] + em {
  background: url(../_img/common/icon_check_em.svg) no-repeat center center / contain;
  width: 22px;
  height: 22px;
  display: inline-block;
}

.checkbox-A input[type="checkbox"]:checked + em {
  background: url(../_img/common/icon_check_em_on.svg) no-repeat center center / contain;
}
@media screen and (max-width: 768px) {
  .sb_txt {
    margin-bottom: 0;
    font-size: 13px;
  }
  .select-primary,
  .input-A {
    height: 44px;
    line-height: 44px;
  }
  .input-A {
    padding: 0 12px !important;
  }
  .radio-reservation input[type="radio"] + em {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
  .modal__inner {
    max-height: calc(100% - 80px);
  }
  .modal_hospital .modal__content {
    flex-direction: column;
  }
  .modal__header h1 {
    font-size: 14px;
  }
  .modal_hospital .modal__inner {
  }
  .modal_hospital .modal__close {
    top: 16px;
    right: 16px;
  }
  .modal_scroll {
    padding: 16px;
  }
  .modal_hospital .modal__content {
    gap: 12px;
  }
  .modal_hospital .item .box {
    gap: 4px;
    padding: 12px;
  }
  .modal_hospital .item .box h2 {
    font-size: 12px;
  }
  .modal_hospital .item .box ul span,
  .modal_hospital .item .box ul li {
    font-size: 11px;
  }
  .modal_tbl thead tr th,
  .modal_tbl tbody tr td,
  .modal_tbl tbody tr td p {
    font-size: 10px;
  }
  p.ok {
    width: 10px;
    height: 10px;
  }
  .modal__close {
    width: 16px;
    height: 16px;
  }
  .modal_hospital .item .box ul {
    gap: 2px;
  }
  .checkbox-A {
    gap: 6px;
  }
  .checkbox-A input[type="checkbox"] + em {
    width: 20px;
    height: 20px;
  }
  .checkbox-A span {
    font-size: 14px;
  }
}
