@charset "utf-8";
/* CSS Document */

/* ====== 옴니고딕 ====== */
@font-face {
  font-family: '210 OmniGothic 020';
  src: url('fonts/210_OmniGothic_020.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: '210 OmniGothic 030';
  src: url('fonts/210_OmniGothic_030.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: '210 OmniGothic 040';
  src: url('fonts/210_OmniGothic_040.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: '210 OmniGothic 050'; /* ← 영어로 바꿈 */
  src: url('fonts/210_OmniGothic_050.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

/* ====== 자막 폰트 (Jamak용) ====== */
@font-face {
  font-family: '210 Jamak R';
  src: url('fonts/210_Jamak_R.woff') format('woff');
  font-weight: 300;
  font-style: italic;
}

/* ====== Supersize ====== */
@font-face {
  font-family: '210 Supersize Black';
  src: url('fonts/210_Supersize_Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: '210 Supersize Black Italic';
  src: url('fonts/210_Supersize_Black_Italic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
}




/* 기본 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: '210 옴니고딕 030', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

/* 헤더 */
.site-header {
  width: 100%;
   background: transparent; /* 배경을 투명으로 변경 */
  padding: 0; /* ← 위 여백 제거! */
  text-align: center;
  position: relative;
  z-index: 100;
}

.logo-container img {
  width: 450px;
}

.sticky-logo {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  display: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sticky-logo img {
  height: 40px;
}




/* 인트로 */
.intro {
  text-align: center;
  padding: 230px 20px 30px;  /* ↑위 ↑좌우 ↓아래 */
  background: #0c3a88;
  font-size: 14px;
  margin-top: -100px; /* 로고와 가까워지도록 */
}

.quote-en {
 font-family: '210 Jamak', sans-serif;
  font-size: 30px;
  font-weight: 100;
  line-height: 32px;
  color: #ffffff;
  letter-spacing: -0.04em; /* 웹에선 너무 좁으면 글자 겹침 주의 */
  font-style: italic;
  text-align: center;
}

.quote-kr {
	margin-top: 30px;  /* 여기 숫자만 조절하면 돼! */
 font-family: '210 Jamak', sans-serif;
  font-size: 30px;
  font-weight: 100;
  line-height: 32px;
  color: #ffffff;
  letter-spacing: -0.05em; /* 웹에선 너무 좁으면 글자 겹침 주의 */
  font-style: italic;
  text-align: center;
}

/* WHY 타이틀 스타일 */
.why-title {
  font-family: '210 OmniGothic 050', sans-serif !important;
  font-size: 50px !important;
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: -0.05em;
    font-style: italic;
  text-align: center;
}

.welcome-text {
  font-family: '210 OmniGothic 050', sans-serif !important;
  font-size: 35px !important;           /* 약 36.87pt → px 환산 */
  color: #1a1a1a;
  font-weight: 500;           /* 050 → 500 */
  font-style: italic;
  letter-spacing: -0.05em;    /* 자간 -10em → 웹 기준 -0.05em 적당 */
  text-align: center;
  margin-top: -40px !important; /* ← 여기 줄이기! */
}



/* WHY 섹션 수정 추가 폰배경상단 */
.phonebox-top {
  background-image: url('images/main1_phonebox_top.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 999px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px 30px; /* top padding 충분히 줘야 폰 상단에 안붙어 */
  min-height: 520px;  /* ✅ 이 줄 추가해줘!! */
}

.phonebox-top__text h2,
.phonebox-top__text p {
  color: black;
  font-family: '210 Jamak', sans-serif;
}


/* 폰화면 파란박스 5가지 */
.phonebox-middle {
  background: url('images/main1_phonebox_middle.png') repeat-y center top;
  background-size: 100% auto;
  max-width: 999px;
  width: 100%;
  margin: 0 auto;
   padding: 1px 30px; /* 상단 여백 60 → 30 줄임 */
  box-sizing: border-box;
  position: relative;
}

.phonebox-footer {
  background-image: url('images/main1_phonebox_footer.png');
  background-size: 100% cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 999px;  /* 예: 999 / 130 (이미지 사이즈 기준) */
  height: 229px;  /* 이미지 높이에 맞게 조절해 */
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
}

.middle-card {
  background: rgba(255, 255, 255, 0.1); /* 반투명 카드 느낌 */
  margin: 20px auto;
  padding: 20px;
  border-radius: 16px;
  max-width: 800px;
  backdrop-filter: blur(6px);
  color: #ffffff;
}

.middle-card h3 {
  font-family: '210 OmniGothic 050', sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
}

.middle-card p {
  font-family: '210 OmniGothic 030', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
}







/* WHY 섹션 */
.why-section {
  padding: 60px 20px;
  background: #0c3a88;
  color: white;
  text-align: center;
}

.why-section h2 {
  margin-bottom: 30px;
  font-size: 20px;
}

.card-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}

/* 포트폴리오 */
.portfolio-section {
    background: #f5f5f5;  /* ← 요기 수정 */
  padding: 50px 20px;
  text-align: center;
}

.portfolio-slider {
  overflow: hidden;
  margin: 30px auto;
  max-width: 1000px; /* 중간 정렬을 위해 */
}

.portfolio-track {
  display: flex;
  width: max-content; /* flex 아이템 너비만큼 자동 설정 */
  gap: 30px;
  animation: scrollPortfolio 20s linear infinite;
}

.portfolio-slider,
.portfolio-track {
  justify-content: center; /* 중간 정렬 */
}

.portfolio-track img {
  height: 200px;
  object-fit: cover;
}


/* 가격은 낮추고! */
.portfolio-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px; /* 포트폴리오 슬라이더와 여백 */
}

.portfolio-text-images {
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin-bottom: 10px;
}

.portfolio-text-images img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.price-info {
  text-align: center;
  margin-top: 90px;
  margin-bottom: 40px;
  font-family: '210 Supersize Black', sans-serif;
  font-size: 45pt;
  line-height: 62pt;
  letter-spacing: -0.05em; /* -10em은 너무 과하니 웹 기준 -0.05em */
  font-style: italic;
  font-weight: 900; /* Black */
  background-color: #f5f5f5;
  color: #146de1;
}

.price-info .price-number {
  color: #559af5;
}

/* 믿고맡길수있는 */
.trust-text {
  font-family: '210 OmniGothic 050', sans-serif !important;
  font-size: 34.24pt !important;
  font-style: italic;
  font-weight: 500;
  line-height: 42.38pt;
  letter-spacing: -0.05em; /* -10em은 너무 과함, 웹 기준 -0.05em 정도가 적절 */
  color: #1a1a1a;
  text-align: center;
  padding: 40px 20px;
}

/* 오픈기간 */
.open-sale-title {
  font-family: '210 OmniGothic 020', sans-serif;
  font-size: 27pt;
  color: #dfecfc;
  font-weight: 100; /* 020 → 200 */
  font-style: italic;
  letter-spacing: 0.03em; /* 웹 기준 em 단위. 10em은 비현실적으로 넓어 0.1em 정도가 자연스럽다 */
  text-align: center;
  line-height: 1.2;
}

/* 상담 신청 */
.consult-title {
  font-family: '210 Supersize Black', sans-serif;
  font-size: 65pt;
  color: #dfecfc;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.13em; /* -10em → 웹 기준 자연스럽게 보이도록 */
  text-align: center;
  margin-top: 3px;
  margin-bottom: 0;
  line-height: 1.1;
}

/* 아래 선 */
.consult-underline {
  width: 90%;
  max-width: 400px;
  height: 0.1px;
  background-color: #fafafa;
  margin-bottom: 10px;
  margin: 10px auto 18px; 
   background-color: rgba(250, 250, 250, 0.7); /* ← 0.7 투명도 추가 */
}

@keyframes scrollPortfolio {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




/* 신청 폼 */
.form-section {
  padding: 60px 20px;
  background: #146de1;
  color: white;
  text-align: center;
}

.form-section form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-section label {
	 font-family: '210 OmniGothic 010', sans-serif !important;
	   font-size: 20pt;
  font-weight: bold;
  text-align: left;
}

.form-section input,
.form-section select,
.form-section textarea {
  padding: 10px;
  border: none;
  border-radius: 25px;
  font-family: '210 옴니고딕 020', sans-serif;
  font-size: 14px;
}

.form-section textarea {
  resize: none;
}

.form-section button {
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.form-section button:hover {
 
}






/* 푸터 */
.site-footer {
  padding: 40px 20px;
  background: #f0f0f0;
  color: #999;
  font-size: 13px;
  text-align: left;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 10px;
  margin: 0 8px;
}

/* 반응형 */
@media (min-width: 768px) {
  .card-box {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 45%;
  }

  .portfolio-track img {
    height: 240px;
  }
}



/* 애니메이션용 */
.card,
.intro,
.portfolio-section,
.form-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


form button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

form button img {
  width: 100%;
  max-width: 600px; /* 폼 너비에 맞게 */
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

form button:hover img {
  content: url('images/main3_button_over.png');
}


.footer-call-img {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-call-img img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-brand {
  font-weight: bold;
  color: #1a1a1a;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-info {
  color: #999;
  font-size: 10px;
  line-height: 1.6;
}
.footer-copy {
  font-weight: bold;      /* 진하게 */
  color: #333;            /* 약간 진한 회색 */
  font-size: 12px;
  margin-bottom: 5px;
}

.footer-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.phonebox-top__text .why-desc p {
  font-family: '210 OmniGothic 020', sans-serif !important;
  font-size: 32px !important;
  color: #1a1a1a !important;
  font-weight: 200 !important;
  font-style: italic !important;
  line-height: 44px !important;
  letter-spacing: -0.05em !important;
  text-align: center !important;
}


/* 210 옴니고딕 050 italic 웹폰트 연결 */
@font-face {
  font-family: '210 옴니고딕 050';
  src: url('fonts/210_OmniGothic_050.woff') format('woff');
  font-style: italic;
  font-weight: normal;
}

/* phonebox-middle 안의 타이틀만 스타일 적용 */
.phonebox-middle.feature-boxes h3 {
  font-family: '210 옴니고딕 050', sans-serif;
  font-size: 2.75rem;
  font-style: italic;
  letter-spacing: -0.05em;
  color: #cddef6;
  font-weight: normal;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 16px;
  position: relative;
  text-align: center;
}

/* 포인트 단어 색상 */
.phonebox-middle.feature-boxes h3 .point {
  color: #f0f5fb;
}

/* 하단 라인 */
.phonebox-middle.feature-boxes h3::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 900px;
  height: 1px;
  margin: 0px auto 32px; /* 첫번째가 제목과 선사이, 좌우정렬, 선과 다음요소간격 */
  background-color: #fafafa;
  opacity: 0.7;
}


/* 210 옴니고딕 030 italic 웹폰트 연결 */
@font-face {
  font-family: '210 옴니고딕 030';
  src: url('fonts/210_OmniGothic_030.woff') format('woff'); /* 정확한 파일명 확인 필요 */
  font-style: italic;
  font-weight: normal;
}

/* phonebox-middle 내 middle-card 안의 p 스타일 */
.phonebox-middle.feature-boxes .middle-card p {
  font-family: '210 옴니고딕 030', sans-serif;
  font-size: 1.7rem;            /* 27.32pt ≒ 약 36.5px, 반응형 고려 1.7~1.8rem */
  color: #cddef6;
  font-style: italic;
  letter-spacing: -0.05em;     /* -10em은 너무 크므로 적절히 조정 */
  line-height: 1.5;            /* 37.18pt 줄간격 ≒ 약 1.5~1.6 */
  font-weight: normal;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 900px;
}


.form-wrapper {
  background-color: rgba(255, 255, 255, 0.15); /* 배경만 흐리게 */
  border-radius: 20px;
   padding: 40px 8px;  /* ← 여기! 좌우 여백 10px로 줄임 */
  max-width: 500px;
  margin: 30px auto;
  backdrop-filter: blur(6px); /* 흐림 효과 추가 */
  -webkit-backdrop-filter: blur(6px); /* 사파리 대응 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}



/* ===== 반응형 미디어 쿼리 ===== */
img {
  max-width: 100%;
  height: auto;
}

.text-resize {
  font-size: clamp(12px, 4vw, 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  body {
    font-size: 1.8vw;
  }

  .quote-en, .quote-kr, .why-title, .welcome-text, .why-desc p,
  .middle-card h3, .middle-card p {
    font-size: clamp(12px, 3.8vw, 22px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .feature-boxes {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1.5vw;
  }

  .quote-en, .quote-kr, .why-title, .welcome-text, .why-desc p,
  .middle-card h3, .middle-card p {
    font-size: clamp(11px, 4.5vw, 20px);
  }
}
