@charset "utf-8";

/* Adobe Fonts 연결 */
@import url("https://use.typekit.net/loh2gbb.css");
/* 프리텐다드 폰트 연결 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
/* Noto serik Kr 폰트 연결 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200..900&display=swap");
/* Literata 폰트 연결 */
@import url("https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0..1,7..72,200..900&display=swap");

/* 레이아웃 기초 설계 */
html {
  font-size: 10px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "pretendard";
  font-style: normal;
  color: #191919;
  background-color: #fff;
  word-break: keep-all;
  overflow-x: hidden;
}

section {
  width: 100%;
  padding: 20rem 0;
  position: relative;
}

.wrap {
  position: relative;
  width: 80%;
  margin: 0 auto;
  max-width: 1464px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 디자인 시스템 */
:root {
  --main600: #189993;
  --main500: #1ebfb8;
  --main400: #4bccc6;
  --main300: #78d9d4;
}
.title {
  text-align: center;
}

.title.left {
  text-align: left;
}

.title h5 {
  margin-bottom: 2.4rem;
}

/* 텍스트 스타일 */

/* 타이틀 40px */
h2 {
  font-size: clamp(23px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3em;
}

.dark h2 {
  color: #fff;
}

/* 서브 타이틀 28px */
h3 {
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.24em;
  font-weight: 600;
  color: #222;
}

.dark h3 {
  color: #fff;
}

/* 서브 타이틀 24px */
h4 {
  font-size: clamp(18px, 2.75vw, 24px);
  font-weight: 600;
  line-height: 1.16em;
  color: #222;
}
.dark h4 {
  color: #fff;
}

/* 아이브로우 텍스트 20px */
h5 {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1em;
  color: var(--main400);
  font-family: "Noto serif kr", serif;
}

/* 본문 18px */
p {
  font-size: clamp(14px, 2vw, 17px);
  color: #333333;
  line-height: 1.48em;
  font-weight: 400;
}

.dark p {
  color: #d9d9d9;
}

/* 본문 16px */
.p16 {
  font-size: clamp(13px, 2vw, 16px);
  color: #333333;
  line-height: 1.48em;
  font-weight: 400;
}

.dark .p16 {
  color: #d9d9d9;
}

/* 본문 14px */
.p14 {
  font-size: clamp(12px, 2vw, 14px);
  color: #333333;
  font-weight: 600;
}

/* 본문 13px */
.p13 {
  font-size: clamp(12px, 2vw, 13px);
  color: #333333;
  line-height: 1.55em;
  font-weight: 400;
}

/* 본문 12px */
.p12 {
  font-size: 1.2rem;
  color: #333333;
  line-height: 1.55em;
  font-weight: 400;
}

.dark .p12 {
  color: #d9d9d9;
}

/* header */
header {
  display: flex;
  position: fixed;
  width: 100%;
  height: 70px;
  z-index: 999;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  animation: header_down 1.2s;
  align-items: center;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.4);
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .wrap {
  display: flex;
  justify-content: space-between;
}

header .logo img {
  max-width: 135px;
}

header .buttongroup {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

header .cta {
  display: flex;
  align-self: flex-end;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.4em;
  font-weight: 500;
  color: #fff !important;
  background-color: var(--main600);
  border-radius: 99px;
  padding: 1rem 2.6rem;
  align-items: center;
}

header .cta .trans {
  margin-right: 0.4rem;
}

header .cta .right {
  margin-left: 2rem;
}

header .cta img {
  max-width: 11rem;
}

header .translate {
  position: absolute;
  top: calc(100% + 1rem);
  right: 8.5px;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header .translate.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

header .btn {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 500;
  color: #e2e2e2;
  line-height: 1;
  background-color: #b1b2ac;
  padding: 1rem 2.6rem;
}

header .btn .label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

header .btn.active {
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 500;
  color: #05504e;
  line-height: 1;
  background-color: #dededd;
  padding: 1rem 2.6rem;
}

header .btn.active .check {
  visibility: visible;
}

header .btn:not(.active)::after {
  visibility: hidden;
}

header .btn .korea {
  margin-right: 0.4rem;
}

header .btn .uk {
  margin-right: 0.4rem;
}

header .check {
  visibility: hidden;
  max-width: 1.3rem;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.5rem;
}

header.scrolled {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

header.scrolled .cta:hover {
  background-color: var(--main600);

  transition: background 0.5s, color 0.25s;
}

header.scrolled .cta:hover .icon-white {
  display: inline;
  transition: background 0.3s, color 0.25s;
}
header.scrolled .cta:hover .icon-black {
  display: none;
}

@keyframes header_down {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

header .login {
  font-size: clamp(12px, 2vw, 14px);
  color: white;
  padding: 1rem 2.6rem;
  background-color: #189993;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 3.96rem;
  font-weight: 500;
}

header .mypage {
  font-size: clamp(12px, 2vw, 14px);
  color: white;
  padding: 1rem 2.6rem;
  background-color: #189993;
  border-radius: 99px;
  display: flex;
  align-items: center;
  height: 3.96rem;
  font-weight: 500;
}

header .login img {
  max-width: 1.2rem;
}

/* 하단 고정바 */
.downbar {
  position: fixed;
  display: flex;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: 999;
  justify-content: center;
  background-color: var(--main600);
  padding: 2.15rem 0;
  font-size: 18px;
  color: white;
  font-weight: 500;
}

.downbar .leftbox {
  display: flex;
  margin-right: 3rem;
}

.downbar .form {
  margin-right: 1.5rem;
}

.downbar .form:last-of-type {
  margin-right: 0;
}

.downbar input {
  font-size: 12px;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 2px;
  width: 100%;
}

.downbar input::placeholder {
  color: #767676;
}

.downbar .custom-checkbox {
  display: none;
}

.downbar .checkbox-label {
  display: flex;
  gap: 0.4rem;
  font-size: 12px;
  cursor: pointer;
  align-items: center;
  white-space: nowrap;
}

.downbar .unchecked {
  display: block;
}

.downbar .checked {
  display: none;
}

.downbar .custom-checkbox:checked + .checkbox-label .unchecked {
  display: none;
}

.downbar .custom-checkbox:checked + .checkbox-label .checked {
  display: block;
}

.downbar .more {
  font-size: 12px;
}

.downbar .privacy {
  display: flex;
  align-items: center;
  margin-right: 3rem;
}

.downbar .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.downbar .cta {
  display: flex;
  gap: 2rem;
  font-size: 14px;
  color: white;
  font-weight: 500;
  background-color: #127a76;
  border-radius: 99px;
  padding: 1rem 2.6rem;
  align-items: center;
  white-space: nowrap;
}

.downbar .cta:hover {
  background-color: #12736e;
}

/* 하단 고정바 약관 */

.downbar .rightbox {
  display: flex;
  gap: 0;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 어두운 반투명 배경 */
  z-index: 9998; /* 팝업보다 아래로 */
}

.popup-overlay.open {
  display: block;
}

.popup-privacy {
  display: none;
  max-width: 70rem;
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5rem;
  z-index: 9999;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  max-height: 90vh;
  overflow-y: auto;
}

.popup-privacy.open {
  display: block;
}

.popup-privacy .close {
  display: block;
}

.popup-privacy .close img {
  position: absolute;
  top: 3rem;
  right: 3rem;
  max-width: 2.3rem;
}

.popup-privacy .textbox {
  margin-bottom: 2rem;
}

.popup-privacy .p14 {
  margin-bottom: 0.5rem;
}

/* footer */

.site-footer.dark {
  position: relative;
  background-color: #12736e;
  color: #e2e2e2;
  font-size: 1.2rem;
  padding: 6rem 2rem 6rem;
}

.footer-inner {
  max-width: 120rem;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 5rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.footer-brand img {
  max-width: 20rem;
}

footer .cta {
  display: flex;
  gap: 2rem;
  font-size: clamp(12px, 2vw, 14px);
  color: white;
  font-weight: 500;
  background-color: var(--main600);
  border-radius: 99px;
  padding: 1rem 2.2rem;
  align-self: center;
}

footer .cta img {
  max-width: 1.4rem;
}

.footer-divider {
  border: none;
  border-top: 0.05rem solid rgba(255, 255, 255, 0.5); /* 0.5px */
  margin: 0 0 5rem; /* 선 ↔ 텍스트: 50px */
}

.footer-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem; /* 텍스트 ↔ 카피: 12px */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-details li {
  font-size: 12px;
}

.footer-details li + li::before {
  content: "I";
  margin: 0 1rem;
  color: inherit;
}

.footer-copy {
  margin: 0;
  font-size: 12px !important;
  opacity: 0.8;
  color: #e2e2e2;
}

footer .downbox {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
}

footer .downbox > * + *::before {
  content: "I";
  display: inline-block;
  margin: 0 1rem;
  color: inherit;
}

footer .privacy span {
  font-size: 12px;
  border-bottom: 1px solid #d9d9d9;
  opacity: 0.8;
  color: #e2e2e2;
}
