@charset 'utf-8'; /* ----------------------- common ----------------------- */
/* @import url("//news.chosun.com/dhtm/css/css_reset_2018.css"); */
@import url("/membership/common/common.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
/* styles.css */

body {
  box-sizing: border-box;
  background-color: var(--Color-White) !important;
}

body,
input,
button,
textarea,
select {
  font: 16px/1.56 "Noto Sans KR", AppleSDGothicNeo-Regular, "맑은 고딕",
    "Malgun Gothic", 나눔고딕, 돋움, Dotum, 굴림, Gulim, "Apple SD Gothic Neo",
    sans-serif;
  font-weight: 400;
  letter-spacing: -0.05px;
  font-style: normal;
  color: var(--Color-Black);
  word-break: break-all;
}

.font-primary {
  font-weight: 400;
}

.font-secondary {
  font-weight: 500;
}

.font-tertiary {
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

input::-webkit-calendar-picker-indicator {
  display: none !important;
}

.mobile-hidden {
  display: inline-block;
}

.pc-hidden {
  display: none !important;
}

button {
  border: none;
}

.svg-fill-black {
  fill: var(--Color-Black);
}

.svg-fill-white {
  fill: var(--Color-White);
}

.svg-fill-static-white {
  fill: var(--ETC-White-Static);
}

.svg-fill-grey40 {
  fill: var(--Color-Grey-40);
}

.svg-fill-grey60 {
  fill: var(--Color-Grey-60);
}

.svg-fill-grey60-hover {
  fill: var(--Color-Grey-60);
}

.svg-fill-grey60-hover:hover {
  fill: var(--Color-Black);
}

.svg-fill-grey80 {
  fill: var(--Color-Grey-80);
}

.svg-fill-grey80-hover {
  fill: var(--Color-Grey-80);
}

.svg-fill-grey80-hover:hover {
  fill: var(--Color-Black);
}

.svg-fill-red {
  fill: var(--Color-Red);
}

.svg-storke-black {
  stroke: var(--Color-Black);
}

.svg-storke-grey80 {
  stroke: var(--Color-Grey-80);
}

.svg-stroke-fg60 {
  stroke: var(--Membership-FG-60);
}

.svg-stroke-blue {
  stroke: var(--Color-Blue);
}

.highlight-color {
  color: var(--Membership-FG-60) !important;
}

.result-text-color {
  color: var(--Color-Blue);
}

.text-color-black {
  color: var(--Color-Black);
}

.highlight-underline {
  color: var(--Color-Black);
  text-decoration: underline;
  text-decoration-color: var(--Color-Black);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.show {
  display: flex !important;
}

.toast-message-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 956px;
  padding: 8px 12px 8px 16px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  z-index: 1001;
}

.toast-message-box.success {
  background-color: var(--Color-Blue);
}

.toast-message-box.error {
  background-color: var(--Color-Red);
}

.toast-message-box .left-box {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.toast-message-box .left-box .title {
  color: var(--Color-White);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.08px;
  margin-left: 4px;
}

.toast-message-box .right-box {
  cursor: pointer;
}

/* 모달창 css */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
}

.modal-bg .modal-wrapper {
  position: relative;
  width: 480px;
  z-index: 101;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  background: var(--Surface-Surface-10);
  overflow: hidden;
  padding-bottom: 40px;
}

.modal-bg .modal-wrapper .btn-box {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0 0;
}

.modal-bg .modal-wrapper .btn-box .close-btn {
  border: none;
}

.modal-bg .modal-wrapper .modal-contents {
  width: 100%;
  max-width: 400px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-bg .modal-wrapper .modal-contents .title {
  color: var(--Color-Black);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.12px;
  margin-bottom: 32px;
  display: inline-block;
  word-break: keep-all;
}

.modal-bg .modal-wrapper .modal-contents .title.pc-hidden {
  display: none !important;
}

.modal-bg .modal-wrapper .modal-contents .title.mobile-hidden {
  display: inline-block;
}

.modal-bg .modal-wrapper .modal-contents .modal-sub-btn-box {
  margin-top: 4px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.modal-bg .modal-wrapper .modal-contents .left-btn,
.modal-bg .modal-wrapper .modal-contents .right-btn {
  width: 132px;
  border-radius: 100px;
  padding: 10px 20px;
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.modal-bg .modal-wrapper .modal-contents .left-btn {
  color: var(--Color-Grey-80);
  border: 1px solid var(--Color-Grey-40);
  background: var(--Surface-Surface-30);
  margin-right: 10px;
}

.modal-bg .modal-wrapper .modal-contents .right-btn {
  color: var(--Color-Grey-60);
  background: var(--Color-Grey-40);
}

.modal-bg .modal-wrapper .modal-contents .right-btn.valid {
  background-color: var(--Color-Black);
  color: var(--Color-White);
}

.hidden {
  display: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0 1000px #fff inset !important;
  color: var(--Color-Black) !important;
  -webkit-text-fill-color: var(--Color-Black) !important;
}

.modal-video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  max-width: 960px;
  width: 100%;
  max-height: 620px;
  height: 100%;
  padding: 0 32px 32px 32px;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  background: var(--Surface-Surface-10);
}

.modal-video-wrapper .title-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.modal-video-wrapper .title-box button {
  width: 24px;
  height: 24px;
}

.modal-video-wrapper .title-box .title {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 24px;
  text-align: left;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.12px;
}

.video-iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 1023px) {
  .modal-video-wrapper {
    width: calc(100% - 32px);
    height: auto;
    aspect-ratio: 16 /9;
    padding: 0 20px 20px 20px;
  }

  .modal-video-wrapper .title-box .title {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.09px;
  }

  .modal-video-wrapper .title-box {
    padding: 16px 0;
  }
}

@media only screen and (min-width: 690px) and (max-width: 1023px) {
  .customer-nav .nav_inner {
    width: 100%;
    max-width: inherit;
    padding: 0 16px;
  }
}

@media screen and (max-width: 689px) {
  .mobile-hidden {
    display: none;
  }

  .pc-hidden {
    display: flex !important;
  }

  .toast-message-box {
    width: calc(100% - 32px);
    z-index: 100000;
  }

  .modal-bg .modal-wrapper {
    width: calc(100% - 32px);
  }

  .modal-bg .modal-wrapper .modal-contents .title {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.1px;
    margin-bottom: 12px;
  }

  .modal-bg .modal-wrapper .modal-contents .sub-title {
    color: var(--Color-Black);
    text-align: center;
    font-family: "Noto Sans KR";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.08px;
    margin-bottom: 24px;
  }

  .modal-bg .modal-wrapper .modal-contents .title.pc-hidden {
    display: inline-block !important;
  }

  .modal-bg .modal-wrapper .modal-contents .title.mobile-hidden {
    display: none !important;
  }

  #nav2020-head .nav2020-links {
    z-index: 10 !important;
  }

  #zipSearchCancel svg path {
    fill: var(--Color-Black) !important;
  }
}

/* 화살표 회전 애니메이션 */
#more-btn svg {
  transition: transform 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill:active {
    box-shadow: 0 0 0 1000px #363636 inset !important;
    background-color: #fff !important;
  }
}

body.scroll-lock {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  touch-action: none;
}
