<meta charset="utf-8">
.main_visual { height: 100vh; }
.swiper { margin: 0; width: 100%; height: 900px; }
.main_visual .swiper-slide:nth-child(1) { background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../img/main_banner_img01.jpg); background-position: center; background-size: cover; }
.main_visual .swiper-slide:nth-child(2) { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/main_banner_img02.jpg); background-position: center; background-size: cover; }
.main_visual .swiper-slide:nth-child(3) { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/main_banner_img03.jpg); background-position: center; background-size: cover; }
.main_visual .swiper-slide:nth-child(4) { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/main_banner_img04.jpg); background-position: center; background-size: cover; }
.main_visual .swiper-slide.video-slide,
.main_visual .swiper-slide.youtube-slide { background-image: none; }
.main_visual .swiper-slide .visual-tit { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #fff; text-align: center; position: relative; z-index: 2; opacity: 0.8 }
.main_visual .swiper-slide .title { display: block; font-weight: 500; transition: opacity 0.75s ease 0.75s; line-height: 1; font-size: 70px; margin-bottom: 20px; letter-spacing: -2px }
.main_visual .swiper-slide .description { font-size: 18px; color: #fff; transition: opacity 0.75s ease 0.75s; }
.main_visual .swiper-pagination { position: absolute; bottom: 80px; right: 80px; font-size: 16px; color: #fff; display: flex; align-items: center; }
.main_visual .swiper-pagination .current { font-size: 20px; margin: 0 10px; }
.main_visual .swiper-pagination .total { font-size: 20px; opacity: 0.8; margin: 0 10px; }
.main_visual .swiper-pagination .prev, .swiper-pagination .next { cursor: pointer; font-size: 28px; }

.video-background,
#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slide::before,
.youtube-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/* 반응형 미디어 쿼리 */
@media screen and (max-width: 1200px) {
    .main_visual .swiper-slide .title {
        font-size: 60px;
        margin-bottom: 18px;
    }

    .main_visual .swiper-slide .description {
        font-size: 16px;
    }

    .main_visual .swiper-pagination {
        bottom: 60px;
        right: 60px;
    }
}



@media screen and (max-width: 992px) {
    .main_visual .swiper-slide .title {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .main_visual .swiper-slide .description {
    }

    .main_visual .swiper-pagination {
        bottom: 50px;
        right: 50px;
    }

    .main_visual .swiper-pagination .current,
    .main_visual .swiper-pagination .total {
        font-size: 18px;
    }

    .main_visual .swiper-pagination .prev,
    .swiper-pagination .next {
        font-size: 24px;
    }
}
.mgo_btn{display:inline-block;border:1px solid #fff;border-radius:3px;}
.mgo_btn a {display:inline-block;color:#FFF;padding:5px 10px;}

@media screen and (max-width: 768px) {
    .main_visual {
        height: 80vh;
    }

    .swiper {
        height: 80vh;
    }

    .main_visual .swiper-slide .title {
        font-size: 36px;
    }
    
    .main_visual .swiper-slide .description {
    }

    .main_visual .swiper-pagination {
        bottom: 40px;
        right: 40px;
    }

    .main_visual .swiper-pagination .current,
    .main_visual .swiper-pagination .total {
        font-size: 16px;
    }

    .main_visual .swiper-pagination .prev,
    .swiper-pagination .next {
        font-size: 20px;
    }
}

@media screen and (max-width: 576px) {
    .main_visual {
        height: 60vh;
    }

    .swiper {
        height: 60vh;
    }

    .main_visual .swiper-slide .title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .main_visual .swiper-slide .description {
        font-size: 12px;
    }

    .main_visual .swiper-pagination {
        bottom: 30px;
        right: 30px;
    }

    .main_visual .swiper-pagination .current,
    .main_visual .swiper-pagination .total {
        font-size: 14px;
    }

    .main_visual .swiper-pagination .prev,
    .swiper-pagination .next {
        font-size: 18px;
    }
}



.container { max-width: 1200px; padding: 0 20px; margin: 0 auto;}


.section00,.section01 { width: 1200px; padding: 0 20px;margin:5% auto; }
.section00 p {color:#555;}
.section-title { font-size: 36px; font-weight: bold;position: relative; padding-bottom: 20px; }
.section-title span { font-size: 50%; font-weight:200;display:block}
.section01 .section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: #e0e0e0; }
.section01 .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; min-height: 600px; }
.section01 .main-news { grid-column: 1; grid-row: 1; position: sticky; top: 20px; }
.section01 .main-news .news-image { width: 100%; height: 450px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; transition: all 0.3s ease; }
.section01 .news-list { grid-column: 2; display: flex; flex-direction: column; gap: 30px; height: 100%; }
.section01 .news-item { display: grid; grid-template-columns: auto 120px; gap: 20px; align-items: center; cursor: pointer; }
.section01 .news-item:hover { opacity: 0.8; }
.section01 .news-item img { width: 120px; height: 80px; object-fit: cover; border-radius: 4px; }
.section01 .news-category { color: #ff4b4b; font-size: 14px; text-transform: uppercase; margin-bottom: 8px; display: inline-block; }
.section01 .news-title { font-size: 32px; font-weight: 600; color: #000; text-decoration: none; margin-bottom: 12px; display: block; line-height: 1.3; }
.section01 .news-item .news-title { font-size: 18px; margin-bottom: 8px; font-weight: 500; color: #555; }
.section01 .news-meta { font-size: 14px; color: #666; display: flex; gap: 15px; align-items: center; }
.section01 .news-meta span::before { content: '|'; margin-right: 15px; color: #ddd; }
.section01 .news-meta span:first-child::before { display: none; }


    @media (max-width:1200px) {
        .section01 .container {
            padding: 30px 15px;
        }

        .section01 .news-grid {
            gap: 30px;
        }
    }
        @media (max-width:1000px) {        
        .section00 { width: 100%}
    }

    @media (max-width:768px) {
        .section01 .news-grid {
            grid-template-columns: 1fr;
            min-height: auto;
        }

        .section01 .main-news {
            grid-column: auto;
            grid-row: auto;
            position: relative;
        }

        .section01 .news-list {
            grid-column: auto;
        }

        .section01 .section-title {
            font-size: 28px;
            margin-bottom: 30px;
        }

        .section01 .news-title {
            font-size: 20px;
        }
    }

    @media (max-width:576px) {
        .section01 .news-item {
            grid-template-columns: 1fr;
        }

        .section01 .news-item img {
            width: 100%;
            height: 200px;
            order: -1;
        }
    }


.section02 {max-width: 1200px;margin:5% auto 0 auto;}
.section02 .company-info { text-align: center; display: block; margin: auto; }
.section02 .title-group { font-size: 36px; font-weight: bold; margin-bottom: 20px; }
.section02 .sub-copy {
  color: #666; font-weight: 500; max-width: 600px; line-height: 1.65;
  word-break: keep-all; margin: 0 auto 20px auto; display: block;
}

/* ========================== 슬라이드 (PC 기본) ========================== */
.slid_wrap { width: 1200px; padding: 0 20px; margin: 0 auto; overflow: hidden; padding-bottom: 130px; }
.slid_wrap .swiper-container { width: 100%; height: 400px; margin: 0 auto; position: relative; overflow: visible; }
.slid_wrap .swiper-slide { text-align: center; background: #fff; display: flex; justify-content: center; align-items: center; position: relative; }

.slid_wrap .slide-image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slid_wrap .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.slid_wrap .slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.3); }

.slid_wrap .slide-content { position: absolute; bottom: -85px; z-index: 1; color: #444; text-align: center; padding: 0 5px; }
.slid_wrap .slide-content h2 { font-size: 110%; line-height: 1.5; }
.slid_wrap .slide-content p { font-size: 85%; color: #777; opacity: 0.8; font-weight: 400; }

.slid_wrap .swiper-button-next, .slid_wrap .swiper-button-prev { color: white; z-index: 10; }
.slid_wrap .swiper-pagination { position: absolute; bottom: -120px; left: 0; right: 0; text-align: center; z-index: 10; }
.slid_wrap .swiper-pagination-bullet { width: 12px; height: 12px; background: rgb(170,170,170); opacity: 0.5; }
.slid_wrap .swiper-pagination-bullet-active { opacity: 1; background: #707070; }

/* ========================== 모바일: 1장 썸네일 온전하게 ========================== */
@media (max-width: 768px) {

  /* 래퍼는 100% */
  .slid_wrap{
    width: 100%;
    padding: 0 16px;
    overflow: visible;
    padding-bottom: 24px;
  }

  /* 컨테이너 높이 자동 */
  .slid_wrap .swiper-container{
    height: auto;
    overflow: hidden;
  }

  /* ✅ 슬라이드 구조를 "세로 컬럼"으로 고정 */
  .slid_wrap .swiper-slide{
    display: flex;
    flex-direction: column;   /* 핵심 */
    justify-content: flex-start;
    align-items: stretch;     /* 핵심 */
    background: #fff;
  }

  /* ✅ 이미지 영역은 고정 비율로 높이 통일 */
  .slid_wrap .slide-image-wrapper{
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;      /* 통일하고 싶은 비율로 변경 가능 (16/9, 1/1 등) */
    overflow: hidden;
  }

  /* 이미지 자체는 꽉 채우되 비율 유지 */
  .slid_wrap .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 오버레이 정상 유지 */
  .slid_wrap .slide-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
  }

  /* ✅ 텍스트는 반드시 이미지 아래 */
  .slid_wrap .slide-content{
    position: static;
    width: 100%;
    margin: 12px 0 0 0;
    padding: 0 6px;
    text-align: left;
  }

  .slid_wrap .slide-content h2{
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 6px 0;
    color: #111;
  }

  .slid_wrap .slide-content p{
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    color: #666;
    opacity: 1;
  }

  /* 페이지네이션도 아래로 */
  .slid_wrap .swiper-pagination{
    position: static;
    margin-top: 10px;
    text-align: center;
  }

  .slid_wrap .swiper-button-next,
  .slid_wrap .swiper-button-prev{
    color: #fff;
  }
}


.section03 { width: 100%; padding: 200px 0; }
.section03 .date { color: #22c55e; font-size: 14px; margin-bottom: 16px; }
.section03 .content { display: flex; gap: 24px; flex-wrap: wrap; }
.section03 .title { flex: 1 1 400px; font-size: 32px; font-weight: bold; line-height: 1.4; }
.section03 .description { flex: 1 1 400px; color: #666; line-height: 1.6; }

    @media (max-width: 768px) {
        .section03 .content {
            gap: 16px;
        }

        .section03 .title,
        .section03 .description {
            flex: 1 1 100%;
        }
    }



 :root{
      --card-radius: 18px;
      --border: #e7e7e7;
      --text: #222;
      --muted: #666;
      --bg: #fafafa;
      --btn: #6f6f6f;
      --btn-hover: #4f4f4f;
    }

  .section05 .grid{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    @media (max-width: 1024px){
      .section05 .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 640px){
      .section05 .grid{ grid-template-columns: 1fr; }
    }

:root{
  --card-radius: 18px;
  --border: #e7e7e7;
  --text: #222;
  --muted: #666;
  --btn: #6f6f6f;
  --btn-hover: #4f4f4f;
}

.section05 {max-width: 1200px; padding: 0 20px; margin: 5% auto;}
/* ===== 슬라이더 컨테이너 ===== */
.section05 .brand-slider{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
  padding: 10px 4px;
}

/* 스크롤바(선택) */
.section05 .brand-slider::-webkit-scrollbar{ height: 8px; }
.section05 .brand-slider::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius: 999px; }
.section05 .brand-slider::-webkit-scrollbar-track{ background: transparent; }

/* ===== 트랙(.grid)을 가로 슬라이드로 ===== */
.section05 .grid{
  display: flex;
  gap: 21px;
  align-items: stretch;
  width: max-content;
}

/* 카드 한 장이 “슬라이드” */
.section05 .card{
  flex: 0 0 auto;
  width: clamp(280px, 80vw, 420px);   /* 모바일~PC 공통 슬라이드 폭 */
  scroll-snap-align: start;

  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;

  display:flex;
  flex-direction:column;
}

/* PC에서 3개가 한 화면에 더 보이게(원하면 조절) */
@media (min-width: 1024px){
  .section05 .card{
    width: 370px;  /* 한 화면에 2~3개 보이는 느낌 */
  }
}

.section05 .hero{width:100%; aspect-ratio: 16 / 9; background:#ddd; overflow:hidden;}
.section05 .hero img{width:100%; height:100%; object-fit:cover; display:block;}

.section05 .body{padding: 18px 22px 0;}
.section05 .brand{font-weight:800; letter-spacing:-0.02em; font-size:28px; margin:0 0 10px;}
.section05 .desc{margin:0 0 18px; color:var(--muted); line-height:1.5; font-size:90%;}
.section05 .desc strong{ color:var(--text); font-weight:700;}

.section05 .list{display:grid; gap:14px; margin:0; padding:0; list-style:none;}
.section05 .item{display:grid; grid-template-columns:56px 1fr; gap:12px; align-items:center;text-align: left;}
.section05 .thumb{width:56px; height:56px; border-radius:10px; overflow:hidden; background:#eee; border:1px solid #efefef;}
.section05 .thumb img{width:100%; height:100%; object-fit:cover; display:block;}

.section05 .item-title{font-size:90%; font-weight:700; margin:0 0 4px; letter-spacing:-0.02em;}
.section05 .item-sub{font-size:80%; color:var(--muted); margin:0; line-height:1.35;}

.section05 .footer{margin-top:auto; padding: 18px 22px 22px; display:flex; justify-content:center;}
.section05 .btn{
  appearance:none;
  border:0;
  background: #a6a6a6;
  color:#fff;
  padding:10px 18px;
  border-radius:2px;
  font-size:80%;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:92px;
  transition: background .15s ease;
}
.section05 .btn:hover{ background: var(--btn-hover); }
.section05 .btn:focus{ outline:3px solid rgba(0,0,0,.12); outline-offset:2px; }

 :root{
  --border:#e7e7e7;
  --text:#111;
  --muted:#666;
  --bg:#fff;
  --input:#f3f3f3;

  --btn:#e1e1e1;
  --btn-text:#444;

  --btn-pink:#f1e0e0;
  --btn-pink-text:#5d4b4b;

  --chip-border:#d6d6d6;
  --chip-active:#b63a3a;

  --radius:18px;
}

/* ====== layout ====== */
.tools{ background:var(--bg); }

.tools__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* PC 2열 */
  gap: 18px;
}

/* ====== card ====== */
.toolCard{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 22px;

  display: flex;
  flex-direction: column; /* 버튼 하단 정렬용 */
  min-height: 320px;
  margin-bottom:15px;
}

.toolCard__head{ margin-bottom: 10px; }

.toolCard__title{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}

.toolCard__desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.toolCard__note{
  margin: 5px 0 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ====== form ====== */
.toolForm{
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.toolForm__label{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
}

/* ====== select (CSS로 가능한 범위) ====== */
.toolSelect select{
  width: 100%;
  height: 46px;
  padding: 0 44px 0 14px; /* 화살표 공간 */
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input);
  color: #222;
  font-size: 14px;
  font-weight: 600;
  outline: none;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #444 50%),
    linear-gradient(135deg, #444 50%, transparent 50%),
    linear-gradient(to right, var(--input), var(--input));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 42px) 0;
  background-size: 6px 6px, 6px 6px, 42px 100%;
  background-repeat: no-repeat;
}

.toolSelect select:focus{
  background: #fff;
  border-color: #cfcfcf;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}

.toolSelect select:hover{
  border-color: #d8d8d8;
}

.toolSelect select:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

/* option 스타일은 브라우저/OS에 따라 미반영될 수 있음 */
.toolSelect select option{
  font-size: 14px;
  padding: 10px;
}

/* ====== buttons ====== */
.toolBtn{
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;

  margin-top: auto; /* ✅ 버튼 항상 하단 */
}

.toolBtn strong{ font-weight: 900; }
.toolBtn:active{ transform: translateY(1px); }

.toolBtn--pink{
  background: var(--btn-pink);
  color: var(--btn-pink-text);
}

/* ====== mbti chips ====== */
.mbti{
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.mbti__chip{
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #333;
  cursor: pointer;
}

.mbti__chip.is-active{
  border-color: var(--chip-active);
  color: #9b1c1c;
  box-shadow: 0 0 0 2px rgba(182,58,58,.08) inset;
}

/* ====== products (MBTI 결과형) ====== */
.productRow{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.productItem{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: center;
}

.productThumb{
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 16;
}

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

.productText{ line-height: 1.35; }

.productBrand{
  margin: 0 0 6px;
  font-size: 80%;
  color: #575757;
  font-weight: 700;
}

.productName{
  margin: 0;
  font-size: 85%;
  color: #8f8f8f;
  font-weight: 700;
  word-break: keep-all;
}

/* ====== bullets (설명형 카드) ====== */
.toolBullets{
  margin:14px 0 24px;
  padding-left:18px;
  list-style:disc;
  color:#444;
  font-size:13px;
  line-height:1.7;
}

.toolBullets li::before{
content: '-';
}
/* ====== responsive ====== */
@media (max-width: 1024px){
  .tools__inner{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .toolCard{ padding: 20px 18px; }
  .toolForm{ grid-template-columns: 1fr; }
  .mbti{ grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .productRow{ grid-template-columns: 1fr; }
  .productItem{ grid-template-columns: 120px 1fr; }
}


/* ===== layout ===== */
.brandContent{
  max-width:1200px;
  margin:0 auto;
  padding:80px 20px;
}
.brandHead{
  text-align:center;
  margin-bottom:50px;
}
.brandSub{
  font-size:14px;
  color:#888;
  margin-bottom:8px;
}
.brandTitle{
  font-size:36px;
  font-weight:800;
  margin-bottom:15px;
}
.brandDesc{
  font-size:15px;
  line-height:1.6;
  color:#666;
}
.bannerWrap{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.bannerWrap span {display: inline-block;margin-top:10px;}
.bannerItem{
  text-align:center;
}
.bannerItem img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.bannerText{
  margin-top:14px;
  font-size:14px;
  font-weight:600;
  color:#444;
}

/* ===== mobile ===== */
@media (max-width:768px){

  .brandContent{
    padding:50px 16px;
  }

  .brandTitle{
    font-size:26px;
  }

  .brandDesc{
    font-size:13px;
  }

  .bannerWrap{
    grid-template-columns:repeat(3,1fr); /* 모바일도 3개 유지 */
    gap:10px;
  }

  .bannerText{
    font-size:12px;
  }

}


    /* 커서 스타일 */
    .swiper-slide[data-link] {
        cursor: pointer;
    }
