.schedule-availability-slot,
.schedule-alert {
  --schedule-local-font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", Arial, Helvetica, sans-serif;
}

html[lang="ja"] .schedule-availability-slot,
html[lang="ja"] .schedule-alert {
  --schedule-local-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
}

html[lang="zh-CN"] .schedule-availability-slot,
html[lang="zh-CN"] .schedule-alert {
  --schedule-local-font: "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

.schedule-availability-slot,
.schedule-alert {
  width: min(100%, 460px);
}

.schedule-availability-slot {
  margin: 0 0 clamp(46px, 6.5vh, 64px);
}

.schedule-availability-slot[data-schedule-availability="work"] {
  display: none;
}

.schedule-availability {
  margin: 0;
  color: #707070;
  font-family: var(--schedule-local-font);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

html[lang="en"] .schedule-availability,
.schedule-availability__heading,
.schedule-availability__link,
.schedule-alert__label,
.schedule-alert__toggle,
.schedule-alert__submit {
  font-family: "Eternal", Arial, Helvetica, sans-serif;
}

.schedule-availability__heading {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 8px;
  color: #111;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[lang="ko"] .schedule-availability__heading {
  font-size: 11.5px;
}

.schedule-availability__status {
  display: none;
  flex: 0 0 14px;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background-color: #dfff00;
}

.schedule-availability__date {
  color: #000;
  letter-spacing: 0.02em;
}

.schedule-availability--contact .schedule-availability__date {
  display: inline-block;
  padding: 1px 3px;
  background-color: #dfff00;
}

.schedule-availability__copy {
  margin: 0;
}

.schedule-availability__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  color: #111;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.schedule-availability--contact {
  margin-bottom: clamp(34px, 5vh, 48px);
}

@media (min-width: 768px) {
  main.contact .schedule-availability-slot[data-schedule-availability="contact"] {
    margin-bottom: calc(clamp(110px, 18vh, 190px) - 21.12px);
  }

  main.contact .schedule-availability--contact {
    margin-bottom: 0;
  }
}

.schedule-alert {
  scroll-margin-top: 96px;
  margin: 0 0 clamp(58px, 8vh, 86px);
  border-top: 1px solid #e3e3e3;
  padding-top: 18px;
}

.schedule-alert__toggle {
  min-height: 44px;
  margin: -10px 0 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.schedule-alert__toggle:focus-visible,
.schedule-alert__details summary:focus-visible,
.schedule-alert__submit:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.schedule-alert__panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: height 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 0s linear 300ms;
}

.schedule-alert__panel.is-open {
  opacity: 1;
  visibility: visible;
  transition: height 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 0s;
}

.schedule-alert__panel-inner {
  padding: 32px 0 4px;
}

.schedule-alert__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #707070;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.schedule-alert__label::before {
  content: "";
  width: 16px;
  height: 2px;
  background: #dfff00;
}

.schedule-alert__question {
  margin: 0 0 12px;
  color: #111;
  font-family: var(--schedule-local-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

html[lang="en"] .schedule-alert__question {
  font-family: "Eternal", Arial, Helvetica, sans-serif;
}

.schedule-alert__description,
.schedule-alert__notice,
.schedule-alert__withdrawal,
.schedule-alert__details,
.schedule-alert__result,
.schedule-alert__error {
  font-family: var(--schedule-local-font);
  word-break: keep-all;
}

.schedule-alert__description {
  margin: 0 0 30px;
  color: #707070;
  font-size: 12px;
  line-height: 1.75;
}

.schedule-alert__field-label {
  display: block;
  margin-bottom: 6px;
  color: #111;
  font-size: 10.5px;
  font-weight: 500;
}

.schedule-alert__phone {
  box-sizing: border-box;
  width: min(100%, 440px);
  min-height: 48px;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid #a8a8a8;
  border-radius: 0;
  background: transparent;
  color: #111;
  font: 400 16px/1.4 "Eternal", Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  outline: none;
}

.schedule-alert__phone::placeholder {
  color: #888;
  opacity: 1;
}

.schedule-alert__phone:focus-visible {
  border-bottom-color: #111;
  box-shadow: 0 1px 0 #111;
}

.schedule-alert__phone[aria-invalid="true"] {
  border-bottom-style: double;
}

.schedule-alert__error {
  min-height: 18px;
  margin: 7px 0 0;
  color: #5f3e37;
  font-size: 10.5px;
  line-height: 1.55;
}

.schedule-alert__consent-wrap {
  margin-top: 18px;
}

.schedule-alert__consent-label {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 10px;
  color: #555;
  cursor: pointer;
  font-family: var(--schedule-local-font);
  font-size: 10.5px;
  line-height: 1.6;
}

.schedule-alert__consent {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #111;
}

.schedule-alert__details {
  margin: 4px 0 0 26px;
  color: #666;
  font-size: 10px;
  line-height: 1.65;
}

.schedule-alert__details summary {
  width: max-content;
  min-height: 44px;
  cursor: pointer;
  line-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schedule-alert__details-copy {
  margin: 0 0 10px;
}

.schedule-alert__actions {
  margin-top: 22px;
}

.schedule-alert__submit {
  min-height: 44px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.schedule-alert__submit:disabled {
  color: #777;
  cursor: not-allowed;
  opacity: 0.72;
}

.schedule-alert__notice,
.schedule-alert__withdrawal {
  color: #707070;
  font-size: 10.5px;
  line-height: 1.7;
}

.schedule-alert__notice {
  margin: 24px 0 0;
}

.schedule-alert__withdrawal {
  margin: 12px 0 0;
}

.schedule-alert__withdrawal a {
  color: inherit;
  text-underline-offset: 3px;
}

.schedule-alert__result {
  margin: 24px 0 0;
  color: #111;
  font-size: 12px;
  line-height: 1.7;
}

.schedule-alert__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .schedule-availability-slot,
  .schedule-alert {
    width: 100%;
    max-width: 420px;
  }

  .schedule-availability {
    font-size: 11px;
  }

  html[lang="ko"] .schedule-availability__heading {
    font-size: 11px;
  }

  .schedule-alert {
    scroll-margin-top: 72px;
    margin-bottom: 64px;
  }

  .schedule-alert__panel-inner {
    padding-top: 28px;
  }

  .schedule-alert__question {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-alert__panel,
  .schedule-alert__panel.is-open {
    transition: none;
  }
}
