@charset "UTF-8";

.kaigai-hero {
  position: relative;
  overflow: visible;
  width: 100%;
  height: 100vh; /* 첫 화면 전체 */
  overflow: visible; 
}

/* 메인 배경 이미지 */
.kaigai-hero-image {
  width: 100%;
  height: 100%;
}

.kaigai-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 이미지 위 텍스트 */
.kaigai-hero-text {
  position: absolute;
  top: 10%;        /* ← 위아래 조절 */
  left: 35%;
  transform: translateX(-50%);
  text-align: left;
  z-index: 3;
}

.kaigai-hero-text h1 {
  font-size: 36px;
  margin-bottom: 50px;
}

.kaigai-hero-text p {
  font-size: 20px;
  line-height: 1.5;
}

/* 좌우 비대칭 이미지 그룹 */
.kaigai-hero-float-images {
  position: absolute;
  bottom: -120px;    /* ← 배경 아래로 걸침 */
  left: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
}

.float-image {
  position: absolute;
  margin-bottom: 60px;
}

.float-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-left {
  position: absolute;
  left: 10%;
  width: 420px;     /* 크기 조절 */
  top: -450px;
}

.float-left img {
  width: 100%;
  display: block;
}


.float-right {
  position: absolute;
  right: 14%;
  top: -600px;       /* 좌우 비대칭 느낌 */
  width: 400px;
}

.float-right img {
  width: 100%;
  display: block;
}

.image-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.text-inside-image {
  position: absolute;
  inset: 10%;
  font-size: clamp(14px, 2.5vw, 32px);
  line-height: 1.3;
}

/* ========== 반응형 ========== */

/* 1280px 이하 */
@media (max-width: 1280px) {
  .kaigai-hero-text {
    left: 35%;
    top: 10%;
    transform: translateX(-50%);
  }

  .float-left {
    width: 330px;
    top: -380px;
  
  }

  .float-right {
    width: 330px;
    top: -550px;
  }

  
}

/* 1024px 이하 */
@media (max-width: 1024px) {
  .kaigai-hero-text {
    left: 32%;
  }

  .float-left {
    width: 280px;
    top: -300px;
  }

  .float-right {
    width: 280px;
    top: -425px;
  }
   .kaigai-hero {
    height: 75vh;
  }
}

/* 768px 이하 (태블릿) */
@media (max-width: 768px) {
  .kaigai-hero-text {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;          /* ← 이게 핵심 */
    max-width: 720px; 
  }

  .kaigai-hero-text h1 {
    font-size: 28px; /* 기존보다 조금 작게 */
  }

  .kaigai-hero-text p {
    font-size: 16px; /* 기존보다 조금 작게 */
  }

  .float-left {
    width: 220px;
    top: -170px;
    left: 5%;
  }

  .float-right {
    width: 220px;
    top: -290px;
    right: 5%;
  }
   .kaigai-hero {
    height: 60vh;
  }
}

/* 480px 이하 (모바일)
400までに対応可能
*/
@media (max-width: 480px) {
  .kaigai-hero-text h1 {
    font-size: 23px; /* 기존보다 조금 작게 */
  }

  .kaigai-hero-text p {
    font-size: 14px; /* 기존보다 조금 작게 */
  }

    .float-left {
    width: 170px;
    top: -120px;
    left: 5%;
  }

  .float-right {
    width: 170px;
    top: -220px;
    right: 5%;
  }
   .kaigai-hero {
    height: 60vh;
  }
}




/* Section 02*/

   .kaigai-bg-section {
    position: relative;
    min-height: 1000px;     /* 충분한 높이 */
    margin-top: -30px;      /* ← 세션 1과 거리 */
    background: #ffffff;
    overflow: hidden;
  }
  
  /* 왼쪽 배경 이미지 영역 */
  .kaigai-bg-image {
    position: absolute;
    left: 0;
    bottom: 0;
    width:70vw;            /* 화면 3분의 2 */
    height: 80%;
    background-image: url("../images/kaigai/kaigai-bg2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    z-index: 1;
  }
  
  /* 텍스트 영역 */
  .kaigai-bg-text {
    position: relative;
    margin-left: 48vw;      /* 이미지 영역에서 벗어나 하얀 쪽으로 */
    padding-top: 320px;
    padding-right: 100px;
    z-index: 2;
  }
  
  .kaigai-bg-text h2 {
    font-size: 40px;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  
  .kaigai-bg-text p {
    font-size: 25px;
    line-height: 1.6;
  }
  
  /* 섹션 1 이미지가 겹쳐 올라오는 영역 */
  .kaigai-overlap-image {
    position: absolute;
    top: -180px;            /* 위에서 살짝 내려오게 */
    left: 8vw;
    z-index: 3;
  }
  
  .kaigai-overlap-image img {
    width: 36vw;
    height: auto;
    display: block;
  }
  

  /* ======================
   Section 02 (Desktop / Default)
   ====================== */

.kaigai-bg-section {
  position: relative;
  min-height: 1000px;
  margin-top: -30px;
  background: #ffffff;
  overflow: hidden;
}

/* 왼쪽 배경 이미지 영역 */
.kaigai-bg-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70vw;
  height: 80%;
  background-image: url("../images/kaigai/kaigai-bg2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left bottom;
  z-index: 1;
}

/* 텍스트 영역 */
.kaigai-bg-text {
  position: relative;
  margin-left: 48vw;
  padding-top: 320px;
  padding-right: 100px;
  z-index: 2;
}

.kaigai-bg-text h2 {
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.kaigai-bg-text p {
  font-size: 25px;
  line-height: 1.6;
}

/* 겹쳐 올라오는 이미지 */
.kaigai-overlap-image {
  position: absolute;
  top: -180px;
  left: 8vw;
  z-index: 3;
}

.kaigai-overlap-image img {
  width: 36vw;
  height: auto;
  display: block;
}

/* ======================
   Mobile Responsive
   ====================== */

@media screen and (max-width: 768px) {

  .kaigai-bg-section {
    margin-top: 220px; /* 섹션 1 침범 방지 */
    padding-bottom: 60px;
    min-height: auto;
  }

  /* 이미지: 잘리지 않게 전체 노출 */
  .kaigai-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* 이미지 비율 유지 */
    background-size: contain;
    background-position: center top;
  }

  /* 겹침 이미지: 흐름 유지 */
  .kaigai-overlap-image {
    position: relative;
    top: -40px;
    left: 0;
    text-align: center;
    margin-bottom: 0;
  }

  .kaigai-overlap-image img {
    width: 85%;
    margin: 0 auto;
  }

  /* 텍스트: 아까 좋았던 구조 유지 */
  .kaigai-bg-text {
    margin-left: 0;
    padding-top: 40px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .kaigai-bg-text h2 {
    font-size: 22px;
  }

  .kaigai-bg-text p {
    font-size: 12px;
  }
}


  
/* ======================
   Section 03
   ====================== */

/* 이미지 기준 컨테이너 */
.section03-bg-image {
  position: relative;
  width: 100%;
  margin: 0 auto 30px;
}

/* 이미지 */
.section03-bg-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 텍스트 박스 – 기준 고정 */
.section03-image-text {
  position: absolute;
  top: 22%;
  left: 16%;
  transform: translate(0, 0); /* 이동 기준 제거 */
  max-width: 42%;
  color: #000000;
}

/* 제목 */
.section03-image-text h4 {
  font-size: clamp(20px, 2.3vw, 26px);
  margin-bottom: 14px;
}

/* 본문 */
.section03-image-text p {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
}

/* span만 미세 이동 */
.section03-image-text p span {
  display: inline-block;
  padding-left: 0.6em;
}

/* ======================
   1024 이하
   ====================== */
@media (max-width: 1024px) {
  .section03-image-text {
    top: 24%;
    left: 12%;
    max-width: 55%;
  }

  .section03-image-text h4 {
    font-size: 20px;
  }

  .section03-image-text p {
    font-size: 14px;
  }
}

/* ======================
   768 이하
   ====================== */
@media (max-width: 768px) {
  .section03-image-text {

    left: 10%;
    max-width: 70%;
    transform: translateY(-10%);
  }

  .section03-image-text h4 {
    font-size: 14px;
  }

  .section03-image-text p {
    font-size: 10px;
  }
}

/* ======================
   420 이하
   ====================== */
@media (max-width: 420px) {
  .section03-image-text {
    top: 24%;
    left: 8%;
    max-width: 90%;
    transform: translateY(-10%);
  }

  .section03-image-text h4 {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .section03-image-text p {
    font-size: 7px;
    line-height: 1.6;
  }
}




  /* ======================
   Section 04
   ====================== */

.kaigai-section04 {
  width: 100%;
  padding: 10px 0 40px;
  background: #fff;
}

/* 내부 정렬 */
.section04-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 80vh;
}

/* 왼쪽 이미지 영역 */
.section04-image {
  width: 40%;
  height: auto;
}

.section04-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 오른쪽 텍스트 영역 */
.section04-text {
  width: 50%;
  padding: 50px 60px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  margin-left: 60px;
}

/* 메인 타이틀 */
.section04-title {
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 24px;
}


/* 서브 타이틀 */
.section04-subtitle {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* 설명 텍스트 */
.section04-description {
  max-width: 420px;
  width: 100%;
  font-size: 20px;
  line-height: 1.8;
  text-align: left;
  margin: 0;
  margin-left: 180px;
  margin-right: 180px;

}


/* 하단 서브 타이틀 */
.section04-bottom-subtitle {
  margin-top: 60px;
  padding-left: 15%;
}

.section04-bottom-subtitle p {
  font-size: 22px;
  line-height: 1.5;
  text-align: left;
  padding-left: 80px;
}

.section04-arrow {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section04-arrow img {
  width: 75px;    /* ← 이걸 기준으로 조절 */
  height: auto;
  display: block;
}

@media (max-width: 1024px) and (min-width: 769px) {

  .section04-text {
    margin-left: 0;
    padding: 40px 40px;
  }

  .section04-description {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .section04-arrow {
    width: 100%;
    display: flex;
    justify-content: center;   /* 좌우 정확히 중앙 */
    margin: 24px 0;            /* 위아래 텍스트 사이 균형 */
  }

  .section04-arrow img {
    margin: 0 auto;
    display: block;
    height: 100px;
  }

  .section04-bottom-subtitle {
    padding-left: 0;
  }

  .section04-bottom-subtitle p {
    padding-left: 0;
  }
}

@media (max-width: 768px) {

  .section04-inner {
    flex-direction: column;
  }

  .section04-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center center;
  }

  .section04-image img {
    height: 100%;
  }

  .section04-text {
    width: 100%;
    margin-left: 0;
    padding: 32px 24px;
  }

  .section04-description {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    font-size: 16px;
  }

  .section04-title {
    font-size: 24px;
  }

  .section04-subtitle {
    font-size: 13px;
  }

  .section04-bottom-subtitle {
    margin-top: 40px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .section04-bottom-subtitle p {
    padding-left: 0;
    font-size: 11px;
  }
}





/* ======================
   Section 05
   ====================== */
.kaigai-section05 {
  width: 100%;
  padding: 40px 0 20px;
}

/* 이미지 영역 */
.section05-image {
  width: 100%;
  height: 450px; /* 500~600 중간값 */
  overflow: hidden;
}

.section05-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 이미지 전체 꽉 차게 */
  object-position: center;
  display: block;
}

/* 텍스트 영역 */
.section05-text {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 0 40px;
}

/* 메인 메시지 */
.section05-message {
  font-size: 30px;
  line-height: 1.6;
  color: #111;
  text-align: left;
}

/* 강조 문장 */
.section05-message span {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  text-align: right;
  color: #444;
}


@media (max-width: 768px) {

  .section05-message {
    font-size: 20px;
  }
  .section05-message span {
    font-size: 15px;
  }
  .section05-image{
    height: 300px;
  }

  
}

@media (max-width: 480px) {

  .section05-message {
    font-size: 11px;
  }
  .section05-message span {
    font-size: 11px;
  }
  .section05-image{
    height: 200px;
  }

}