
/* =========================================
   공통 섹션 헤더 스타일 (AI 페이지 통합)
   ========================================= */

/* 소제목: OUR SERVICE, AI Creative Solution 등 */
h4.subTitle {
    color: #F73C13 !important; /* 강제 오렌지색 적용 */
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px; /* 자간을 넓혀 전문적인 느낌 부여 */
    margin-bottom: 20px;
    text-transform: uppercase; /* 대문자 고정 */
}

/* 섹션 메인 타이틀 (h2) */
.service-header h2,
.aicontents strong:first-of-type,
.WhyUs strong:first-of-type {
    color: #FFF;
    text-align: center;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
}

/* 타이틀 내 강조색 (span) */
.service-header h2 span,
.aicontents strong span,
.WhyUs strong span {
    color: #F73C13;
}

/* --- 헤더 영역 반응형 --- */
@media screen and (max-width: 1024px) {
    .service-header h2 {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    h4.subTitle {
        font-size: 15px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    .service-header h2 {
        font-size: 30px;
        line-height: 1.4;
    }
}


/* ==================video-container======================================== */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 비율 */
}


.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* 마우스 이벤트(클릭, 호버) 비활성화 */
}
/* ==================video-container======================================== */



.IntroTitle{
	background:black;
	text-align: center;
}

.IntroTitle .Mainvisual{
	position: relative;
}

.absolbox{
  width: 100%;
  position: absolute;
  z-index: 50;
  top: 35%;
}

.IntroTitle .Mainvisual .subtitle{
  color:#E5E8EB;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; 
  margin-bottom: 12px;
}

.IntroTitle .Mainvisual h2{
	color: #FFF;
	text-align: center;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.50);
	font-family: Pretendard;
	font-size: 80px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -1px;
}

.IntroTitle .Mainvisual h2 b{
  font-weight: 600;
}

.IntroTitle .Mainvisual p{
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 1px #000, 0 0 10px #000;
  font-family: Pretendard;
  font-size: 24px;
  font-style: normal;
  line-height: 145%; /* 34.8px */
  letter-spacing: -1px;
  margin-top: 20px;
}

.IntroTitle div .detail_view{
  color: #FFF;
  font-family: Pretendard;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 100px;
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.30);
  padding: 12px 24px;
  margin-top: 60px;
} 

.IntroTitle div .detail_view i{
    color: #FFF;
	font-size: 18px;
}



/* =========================================
   IntroTitle 반응형 추가
   ========================================= */

/* 1. 전체 컨테이너 및 공통 inner 반응형 대응 */
@media screen and (max-width: 1550px) {
    .inner {
        width: 100%;
        padding: 0 5%;
    }
}

/* 2. 메인 비주얼 반응형 (태블릿 & 모바일) */
@media screen and (max-width: 1024px) {
    .IntroTitle .Mainvisual h2 {
        font-size: 50px; /* 기존 80px에서 축소 */
        line-height: 1.2;
    }
    .IntroTitle .Mainvisual p {
        font-size: 20px; /* 기존 24px에서 축소 */
        word-break: keep-all;
    }
}

@media screen and (max-width: 768px) {
    .absolbox {
        top: 50%;
        transform: translateY(-50%);
        padding: 0 20px;
    }
    .IntroTitle .Mainvisual h2 {
        font-size: 32px; /* 모바일 최적화 크기 */
        letter-spacing: -0.5px;
    }
    .IntroTitle .Mainvisual p {
        font-size: 16px;
        margin-top: 15px;
        line-height: 1.5;
    }
    
    /* 모바일에서 비디오가 너무 얇아 보이지 않게 높이 보정 */
    .video-container {
        padding-bottom: 100vh; /* 모바일에서 전체화면 느낌 유지 */
        overflow: hidden;
    }
    .video-container iframe {
        width: 300%; /* 세로형 화면 대응을 위해 가로를 늘리고 중앙 배치 */
        left: -100%;
        height: 100%;
    }
}

@media screen and (max-width: 480px) {
    .IntroTitle .Mainvisual h2 {
        font-size: 28px;
    }
    .IntroTitle .Mainvisual p {
        font-size: 15px;
    }
}





/* =========================AICreativeSolution============================================================ */
.aicontents{
  text-align: center;
  padding: 130px 200px;
  background: #000; /* ★ 이 코드를 추가하여 배경을 검은색으로 고정합니다 */
}

.aicontents strong{
  color: #FFF;
  text-align: center;
  font-size: 52px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 67.6px */
  letter-spacing: -2px;
  display: block;
}

.aicontents strong:nth-of-type(1){
	margin-bottom: 250px;
}

.aicontents strong span{
  color: #F73C13;
}

.aicontents p{
  color: #FFF;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 145%; /* 34.8px */
  letter-spacing: -1px;
  margin-top: 34px;
}


/* =========================================
   AICreativeSolution 반응형 추가
   ========================================= */

   @media screen and (max-width: 1400px) {
    .aicontents {
        padding: 100px 5%; /* 좌우 패딩을 퍼센트로 변경하여 유연하게 대응 */
    }
}

@media screen and (max-width: 1024px) {
    .aicontents strong {
        font-size: 40px; /* 기존 52px에서 축소 */
        letter-spacing: -1.5px;
    }
    .aicontents strong:nth-of-type(1) {
        margin-bottom: 150px; /* 중간 여백 축소 */
    }
}



/* =========================================
   AICreativeSolution - 768px 이하 아기자기 최적화
   ========================================= */
   @media screen and (max-width: 768px) {
    .aicontents {
        /* 상하 패딩은 슬림하게, 좌우는 밀착 */
        padding: 60px 20px !important; 
        background: #000;
    }

    .aicontents strong {
        font-size: 22px !important; /* 52px -> 22px 아주 오목조목하게 */
        font-weight: 700;
        letter-spacing: -0.8px;
        line-height: 1.3;
    }

    /* 첫 번째 문구와 두 번째 문구 사이의 광활한 여백 제거 */
    .aicontents strong:nth-of-type(1) {
        margin-bottom: 40px !important; /* 250px -> 40px로 극단적 다이어트 */
    }

    /* AI 강조 텍스트 */
    .aicontents strong span {
        color: #F73C13;
        position: relative;
        display: inline-block;
    }

    /* 설명 본문 - 아기자기한 폰트 사이즈 */
    .aicontents p {
        font-size: 13px !important; /* 24px -> 13px */
        margin-top: 15px !important;
        line-height: 1.5;
        color: #8B95A1; /* 너무 밝지 않은 그레이로 눈을 편안하게 */
        letter-spacing: -0.5px;
        word-break: keep-all;
    }
}

/* 초소형 모바일 (360px 이하) 정밀 튜닝 */
@media screen and (max-width: 360px) {
    .aicontents strong { font-size: 19px !important; }
    .aicontents p { font-size: 12px !important; }
}




/* =========================================
   02. AI 프로세스 단계 (aisteps) - 통합 가이드
   ========================================= */

/* [PC 기본 설정] */
.aisteps {
    width: 100%;
    max-width: 1690px; /* 고정폭 대신 max-width로 유연성 부여 */
    margin: 160px auto 120px;
    padding: 0 20px;
}

.aisteps .flexcontainer {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* 선을 살짝 투명하게 하여 세련미 추가 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.aisteps .flexcontainer .flex-item {
    flex: 1; /* 33% 대신 유연하게 삼등분 */
    text-align: left;
    padding: 60px 40px;
    transition: background 0.3s ease;
}

/* 중간 아이템 좌우 보더 처리 (PC 전용) */
.aisteps .flexcontainer .flex-item:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* 숫자/단계 표시 (STEP 01) */
.aisteps .flexcontainer .flex-item span {
    color: #F73C13;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 20px;
}

/* 메인 키워드 */
.aisteps .flexcontainer .flex-item h5 {
    color: #FFF;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Paperlogy-8ExtraBold', sans-serif;
    letter-spacing: -1px;
}

/* 상세 설명 */
.aisteps .flexcontainer .flex-item h6 {
    color: #D1D6DB;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 45px;
    word-break: keep-all;
}

/* 앙증맞은 해시태그/뱃지 */
.aisteps .flexcontainer .flex-item em {
    display: inline-block;
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 16px;
    border-radius: 50px;
    margin-right: 8px;
    margin-bottom: 8px; /* 줄바꿈 대비 */
}

/* =========================================
   [Mobile 최적화] - 초슬림 & 아기자기 톤앤매너
   ========================================= */
@media screen and (max-width: 1024px) {
    .aisteps { margin-top: 100px; padding: 0 20px; }
    .aisteps .flexcontainer .flex-item { padding: 40px 25px; }
    .aisteps .flexcontainer .flex-item h5 { font-size: 26px; }
}

@media screen and (max-width: 768px) {
    .aisteps {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    /* 세로 배치로 전환 */
    .aisteps .flexcontainer {
        flex-direction: column;
        border-bottom: none; /* 하단 선 중첩 방지 */
    }

    .aisteps .flexcontainer .flex-item {
        width: 100%;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 45px 15px; /* 아기자기한 밀착 패딩 */
    }

    .aisteps .flexcontainer .flex-item:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* 텍스트 아기자기 스케일링 */
    .aisteps .flexcontainer .flex-item span {
        font-size: 16px; /* 24px -> 16px */
        margin-bottom: 12px;
    }

    .aisteps .flexcontainer .flex-item h5 {
        font-size: 20px; /* 32px -> 20px */
        margin-bottom: 10px;
    }

    .aisteps .flexcontainer .flex-item h6 {
        font-size: 13px; /* 18px -> 13px */
        line-height: 1.5;
        margin-bottom: 25px;
    }

    /* 뱃지 다이어트 */
    .aisteps .flexcontainer .flex-item em {
        font-size: 11px; /* 14px -> 11px */
        padding: 4px 12px;
        border-radius: 4px; /* 좀 더 각진 아기자기함 */
    }
}

/* 초소형 모바일 (360px 이하) 정밀 튜닝 */
@media screen and (max-width: 360px) {
    .aisteps .flexcontainer .flex-item { padding: 35px 10px; }
    .aisteps .flexcontainer .flex-item h5 { font-size: 18px; }
    .aisteps .flexcontainer .flex-item h6 { font-size: 12px; }
}





/* =========================================
   03. 모어댄 솔루션 (morethan) - 통합 가이드
   ========================================= */

/* [PC 기본 설정] */
.morethan {
    background: url(../../images/morthanBg.png) no-repeat center center;
    background-size: cover;
    padding: 120px 20px;
    background-attachment: fixed; /* 배경 고정으로 고급스러움 추가 */
}

.morethan > div {
    max-width: 1320px; /* 고정폭 1320px 대신 max-width 사용 */
    margin: 0 auto;
}

/* 상단 텍스트 우측 정렬 (PC) */
.morethan > div div {
    text-align: right;
}

.morethan > div div p {
    color: #FFF;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -1px;
}

/* 메인 타이틀 */
.morethan > div h5 {
    color: #FFF;
    font-size: 32px;
    font-weight: 800; /* 조금 더 강조 */
    line-height: 1.2;
    letter-spacing: -0.42px;
    margin-top: 52px;
    font-family: 'Paperlogy-8ExtraBold', sans-serif;
}

/* 하단 설명 */
.morethan > div h6 {
    color: #D1D6DB;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -1px;
    margin-top: 34px;
}

/* =========================================
   [Mobile 최적화] - 초슬림 & 중앙 정렬 아기자기
   ========================================= */
@media screen and (max-width: 1024px) {
    .morethan { padding: 80px 40px; }
    .morethan > div div p { font-size: 22px; }
    .morethan > div h5 { font-size: 26px; }
}

@media screen and (max-width: 768px) {
    .morethan {
        padding: 60px 20px;
        background-attachment: scroll; /* 모바일 배터리/성능 최적화 */
    }

    /* 모바일은 옹기종기 중앙 정렬이 예쁩니다 */
    .morethan > div div {
        text-align: center !important;
    }

    .morethan > div div p {
        font-size: 14px; /* 28px -> 14px 반토막 다이어트 */
        line-height: 1.4;
        font-weight: 400;
        letter-spacing: -0.5px;
    }

    .morethan > div h5 {
        text-align: center;
        font-size: 20px; /* 32px -> 20px */
        margin-top: 30px;
        line-height: 1.3;
        word-break: keep-all;
    }

    .morethan > div h6 {
        text-align: center;
        font-size: 13px; /* 20px -> 13px */
        margin-top: 15px;
        line-height: 1.5;
        color: #ffffff;
    }
}

/* 초소형 모바일 (360px 이하) 정밀 튜닝 */
@media screen and (max-width: 360px) {
    .morethan { padding: 50px 15px; }
    .morethan > div div p { font-size: 13px; }
    .morethan > div h5 { font-size: 18px; }
    .morethan > div h6 { font-size: 12px; }
}



/* =========================morethan============================================================ */





/* =========================================
   AI Shorts Gallery (planningbg) 리파인
   ========================================= */
   .planningbg {
    background: #000 !important;
    padding: 120px 0;
    width: 100%;
}

.shorts-gallery {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.shorts-gallery .flex-item {
    /* PC: 한 줄에 5개 */
    width: calc(20% - 20px); 
    aspect-ratio: 9 / 16; 
    position: relative;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.shorts-gallery .flex-item:hover {
    transform: translateY(-10px);
    z-index: 10;
}


.shorts-gallery .flex-item iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    pointer-events: none;
    /* 유튜브 UI 가리기 위해 미세 확대 */
    transform: scale(1.15); 
}

/* --- 반응형 설정 --- */

/* 태블릿: 한 줄에 3개 */
@media (max-width: 1200px) {
    .shorts-gallery .flex-item {
        width: calc(33.33% - 20px);
    }
}

/* 모바일: 한 줄에 2개 */
@media (max-width: 768px) {
    .planningbg { padding: 80px 0; }
    .shorts-gallery {
        padding: 0 15px;
        gap: 12px; /* 간격 살짝 좁힘 */
    }
    .shorts-gallery .flex-item {
        width: calc(50% - 6px); /* 2열 배치 */
        border-radius: 10px;
    }
}

/* 초소형 모바일 */
@media (max-width: 400px) {
    .shorts-gallery { gap: 8px; }
    .shorts-gallery .flex-item {
        width: calc(50% - 4px);
    }
}







/* =========================================
   04. 타겟 미디어 솔루션 (targetmedia) - 통합 가이드
   ========================================= */
   
   
   
.targetmedia{
  background: #000;
  padding: 200px;
}

.targetmedia>div{
  width: 1520px;
  margin:0 auto
}

.targetTop .flexcontainer{
  justify-content: space-between;
}

.targetmedia .targetTop .flexcontainer .flex-item:nth-child(1){
  color: #FFF;
  font-size: 38px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

.targetTop .flexcontainer .flex-item:nth-child(2){
  color: #FFF;
  text-align: right;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 145%; /* 34.8px */
}

.targetmedia .aisteps .flexcontainer{
	border:none;
	margin-top: 64px;
}

.targetmedia .aisteps .flexcontainer .flex-item {
  height: 660px;
}

.targetmedia .aisteps .flexcontainer .flex-item:nth-child(2){
  border:none
}

.targetmedia .aisteps .flexcontainer .flex-item h6{
  color: #6F6F6F;
  font-size: 18px;
  font-style: normal;
  line-height: 145%; /* 29px */
  letter-spacing: -1px;
  margin-top: 24px;
}

.targetmedia .aisteps .flexcontainer .flex-item em{
  display: inline-block;
  margin-top: 24px;
  font-weight: normal;
}


/* =========================================
   Targetmedia 전용 자세히 보기 버튼 리파인
   ========================================= */

/* 부모 클래스인 .targetmedia를 명시하여 스타일 격리 */
.targetmedia .btn-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px;
    padding: 16px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #fff !important; 
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* 어두운 배경에서 잘 보이도록 배경과 테두리 추가 */
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(247, 60, 19, 0.5); /* 테두리를 조금 더 선명하게 상향 */
    border-radius: 12px;
}


.targetmedia .btn-more i {
    font-size: 20px;
    color: #F73C13;
    transition: transform 0.4s ease;
}

/* 마우스 오버 시 스타일 (이 섹션 안에서만 작동) */
.targetmedia .btn-more:hover {
    background: #F73C13 !important;
    border-color: #F73C13 !important;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(247, 60, 19, 0.4);
}

.targetmedia .btn-more:hover i {
    color: #fff !important;
    transform: rotate(90deg) scale(1.2);
}


/* =========================================
   1200px 이하: 태블릿 & 큰 모바일 최적화
   ========================================= */
   @media screen and (max-width: 1200px) {
    /* 전체 너비 및 패딩 초기화 */
    .targetmedia > div, .aisteps {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
        margin: 0 auto !important;
    }

    .targetmedia { 
        padding: 80px 0; /* 좌우는 위에서 20px씩 주었으므로 상하만 조절 */
    }

    /* 1. 상단 서비스 헤더 */
    .service-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .service-header h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        width: 100%;
        text-align: center;
    }

    /* 2. 타겟 탑 영역 중앙 정렬 강제 */
    .targetTop .flexcontainer { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 20px !important;
        width: 100%;
    }

    .targetmedia .targetTop .flexcontainer .flex-item:nth-child(1) {
        font-size: 24px !important;
        text-align: center !important;
        width: 100% !important;
        word-break: keep-all;
    }

    .targetTop .flexcontainer .flex-item:nth-child(2) { 
        text-align: center !important;
        font-size: 15px !important;
        line-height: 1.6;
        color: #8B95A1;
        width: 100% !important;
        max-width: 600px; /* 설명문이 너무 퍼지지 않게 */
        margin: 0 auto;
    }

    /* 3. 서비스 카드 리스트 (aisteps) */
    .targetmedia .aisteps .flexcontainer { 
        flex-direction: column !important; 
        gap: 50px; 
        margin-top: 40px;
        width: 100%;
    }

    .targetmedia .aisteps .flexcontainer .flex-item { 
        width: 100% !important; 
        height: auto !important; 
        padding: 0 0 40px 0 !important; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* 내부 요소들 중앙 정렬 */
        text-align: center !important;
    }

    .targetmedia .aisteps .flexcontainer .flex-item:last-child {
        border-bottom: none; /* 마지막 카드는 선 제거 */
    }

    /* 4. 이미지 박스 (아기자기 위젯화) */
    .service-img {
        width: 100% !important;
        max-width: 280px !important; /* 사이즈 고정 */
        border-radius: 15px;
        margin: 0 auto 20px !important; /* 이미지 박스 자체를 중앙으로 */
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    .service-img img {
        display: block;
        width: 100%;
    }

    /* 5. 카드 내부 텍스트 */
    .targetmedia .aisteps .flexcontainer .flex-item h5 {
        font-size: 20px !important;
        margin-top: 15px;
        width: 100%;
    }
    .targetmedia .aisteps .flexcontainer .flex-item h6 {
        font-size: 14px !important;
        margin-top: 10px;
        padding: 0 20px;
        color: #9CA3AF;
        word-break: keep-all;
    }
}

/* =========================================
   768px 이하: 모바일 최적화
   ========================================= */
@media screen and (max-width: 768px) {
    .targetmedia {
        padding: 60px 0;
    }

    .service-header h2 {
        font-size: 22px !important;
        letter-spacing: -0.8px;
    }

    .targetmedia .targetTop .flexcontainer .flex-item:nth-child(1) {
        font-size: 20px !important;
    }

    .targetTop .flexcontainer .flex-item:nth-child(2) {
        font-size: 13px !important;
    }

    .targetmedia .aisteps .flexcontainer .flex-item h5 {
        font-size: 19px !important;
    }

    .targetmedia .aisteps .flexcontainer .flex-item h6 {
        font-size: 13px !important;
    }

    /* 모바일 버튼 (풀 너비 & 슬림 패딩) */
    .targetmedia .btn-more {
        display: flex !important;
        width: 100% !important;
        max-width: 280px !important; /* 이미지 너비와 맞춰서 아기자기하게 */
        min-width: unset !important;
        margin: 25px auto 0 !important; /* 버튼 중앙 정렬 */
        padding: 12px 15px !important;
        font-size: 13px !important;
        justify-content: center !important; /* 텍스트+아이콘 중앙 */
        gap: 10px;
        box-sizing: border-box;
    }
}

/* 초소형 모바일 (360px 이하) 정밀 튜닝 */
@media screen and (max-width: 360px) {
    .service-header h2 { font-size: 20px !important; }
    .targetmedia .targetTop .flexcontainer .flex-item:nth-child(1) { font-size: 18px !important; }
    .service-img { max-width: 220px !important; }
    .targetmedia .btn-more { max-width: 220px !important; }
}

/* =========================targetmedia============================================================ */





/* =========================================
   WhyUs & PlanPerformance 
   ========================================= */

.WhyUs{
  text-align: center;
  padding: 130px 200px;
  background-color: #000;
}

.WhyUs strong{
  color: #FFF;
  text-align: center;
  font-size: 52px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 67.6px */
  letter-spacing: -2px;
  display: block;
}

.WhyUs strong span{
  color: #F73C13;
}

.WhyUs .subTitle{
  margin-top: 34px
}

.videoformula{
    text-align: center;
}

.WhyUs .box-shadow{
    box-shadow: inset 0 -30px  0 rgba(247,60,1,0.3);
  width: fit-content;
  margin: 0 auto;
}

.videoformula strong{
  text-align: center
}

.videoformula em{
  display: inline-block;
  margin: 100px auto 0 auto;
  color: #fff;
  width: 1.5px;
  height: 126px;
  border-right: 1.5px solid #fff;
}

.planperformance{
  background: url(../../images/videoformulaBg.png) center center no-repeat;
  background-size: contain;
  height: 1260px;
  padding-top: 30px;
}

.planperformance .aiskillsWrap{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 1400px;
	margin:0 auto;
	margin-top: 150px;
}

.planperformance .aiskillsWrap .aiskills{
	flex-wrap: wrap;
	display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center;     /* 세로 중앙 정렬 */
}

.planperformance .aiskillsWrap .aiskills span{
  color: #FFF;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  line-height: normal;
  display: block;
  line-height:2
}

.planperformance .aiskillsWrap .aiskills i{
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  line-height: normal;
  display: block;
}

.planperformance .aiskillsWrap .opaque{
	border: 1px solid #F73C13;
	background: rgba(0, 0, 0, 0.60);
	width: 500px;
	height: 500px;
	text-align: center;
	align-items: center;
	border-radius: 50%;
}

.planperformance .orangeGra{
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(180deg, #F73C13 0%, #EC7A5A 100%);
}


/* 2. 섹션 내 설명글 (흰색/회색 위주 가독성 스타일) */
.section-desc {
    color: #E5E8EB; /* 살짝 밝은 그레이로 가독성 확보 */
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 40px;
    text-align: center;
}

.section-desc b {
    color: #FFF;
    font-weight: 700;
}

.section-desc span {
    color: #F73C13; /* 본문 내 핵심 키워드만 오렌지색 */
    font-weight: 700;
}


/* =========================================
   WhyUs & PlanPerformance 반응형 최적화
   ========================================= */

/* 1. 태블릿 & 작은 모니터 (1024px) */
@media screen and (max-width: 1024px) {
    .WhyUs {
        padding: 100px 40px; /* 좌우 패딩 축소 */
    }

    .WhyUs strong {
        font-size: 38px; /* 폰트 축소 */
    }

    .planperformance {
        height: auto; /* 고정 높이 1260px 해제 */
        padding-bottom: 80px;
        background-size: cover; /* 배경 이미지 꽉 채우기 */
    }

    .planperformance .aiskillsWrap {
        width: 100%;
        flex-direction: column; /* 세로 나열 */
        gap: 40px;
        margin-top: 80px;
    }

    .planperformance .aiskillsWrap .opaque {
        width: 400px; /* 원형 크기 1차 축소 */
        height: 400px;
    }

    .planperformance .orangeGra {
        width: 260px;
        height: 260px;
    }
}

/* 2. 모바일 (768px 이하) - 초슬림 & 아기자기 */
@media screen and (max-width: 768px) {
    .WhyUs {
        padding: 60px 20px; /* 극강의 슬림 패딩 */
    }

    .WhyUs strong {
        font-size: 24px !important; /* 52px -> 24px 아주 오목조목하게 */
        letter-spacing: -1px;
    }

    .WhyUs .subTitle {
        margin-top: 20px;
    }

    .section-desc {
        font-size: 14px; /* 22px -> 14px */
        margin-top: 25px;
        padding: 0 10px;
    }

    /* 비디오 포뮬러 화살표/라인 다이어트 */
    .videoformula em {
        margin: 40px auto 0;
        height: 60px; /* 라인 길이 반토막 */
    }

    /* 플랜 퍼포먼스 (원형 디자인 영역) */
    .planperformance {
        padding-top: 40px;
        background-image: none; /* 모바일에서 복잡한 배경 제거 (가독성) */
        background-color: #000;
    }

    .planperformance .aiskillsWrap {
        margin-top: 40px;
        gap: 30px;
    }

    /* 핵심: 원형 위젯 아기자기하게 스케일링 */
    .planperformance .aiskillsWrap .opaque {
        width: 280px !important; /* 500px -> 280px */
        height: 280px !important;
        padding: 20px;
    }

    .planperformance .orangeGra {
        width: 200px !important; /* 320px -> 200px */
        height: 200px !important;
    }

    /* 원형 내부 텍스트 아기자기하게 */
    .planperformance .aiskillsWrap .aiskills span {
        font-size: 18px; /* 32px -> 18px */
        line-height: 1.4;
    }

    .planperformance .aiskillsWrap .aiskills i {
        font-size: 12px; /* 18px -> 12px */
        margin-top: 5px;
    }

    /* 하단 박스 쉐도우 포인트 */
    .WhyUs .box-shadow {
        box-shadow: inset 0 -15px 0 rgba(247,60,1,0.3); /* 형광펜 효과도 슬림하게 */
    }
}

/* 3. 초소형 모바일 (360px 이하) 정밀 튜닝 */
@media screen and (max-width: 360px) {
    .WhyUs strong { font-size: 20px !important; }
    .planperformance .aiskillsWrap .opaque {
        width: 240px !important;
        height: 240px !important;
    }
    .planperformance .orangeGra {
        width: 180px !important;
        height: 180px !important;
    }
}





/* 2. 섹션 내 설명글 (흰색/회색 위주 가독성 스타일) */
.section-desc {
    color: #E5E8EB; /* 살짝 밝은 그레이로 가독성 확보 */
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 40px;
    text-align: center;
}

.section-desc b {
    color: #FFF;
    font-weight: 700;
}

.section-desc span {
    color: #F73C13; /* 본문 내 핵심 키워드만 오렌지색 */
    font-weight: 700;
}

/* --- 반응형 대응 --- */
@media screen and (max-width: 1024px) {
    .section-desc {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .section-desc {
        font-size: 16px;
        margin-top: 30px;
        word-break: keep-all; /* 모바일 줄바꿈 방지 */
    }
    
    /* 포뮬러 섹션 내부의 설명글 간격 조정 */
    .planperformance .section-desc {
        margin-top: 20px;
        margin-bottom: 40px;
    }
}





/* =========================WhyUs============================================================ */



/* =========================================
   How We Work 
   ========================================= */
/* =========================================
   05. 작업 방식 (howweWork) - 통합 가이드
   ========================================= */

/* [PC 기본 설정] */
.howweWork {
    background: url(../../images/howweWorkBg.png) no-repeat center center;
    background-size: cover;
    padding: 120px 20px;
}

.howweWork > div {
    max-width: 1320px;
    margin: 0 auto;
}

.howweWork h5 {
    color: #FFF;
    font-size: 52px;
    font-weight: 500;
    letter-spacing: -2px;
    text-align: left;
    font-family: 'Paperlogy-8ExtraBold', sans-serif;
}

.howweWork .flexcontainer {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.5); /* 선을 살짝 투명하게 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 52px;
}

.howweWork .flexcontainer .flex-item {
    flex: 1;
    padding: 46px 20px;
    align-self: stretch;
}

/* 단계 표시 (Badge) */
.howweWork .flexcontainer .flex-item span {
    color: #FFF;
    font-size: 18px;
    font-weight: 300;
    border-radius: 50px;
    border: 1.5px solid #FFF;
    padding: 8px 20px;
    display: inline-block;
}

/* 단계별 제목/내용 */
.howweWork .flexcontainer .flex-item p {
    color: #FFF;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -1.459px;
    line-height: 1.4;
    margin-top: 28px;
}

/* =========================================
   [Mobile 최적화] - 초슬림 & 중앙 정렬 아기자기
   ========================================= */

   /* =========================================
   [반응형] 1024px 이하 (태블릿): 3열 2행 전환
   ========================================= */
@media screen and (max-width: 1200px) {
    .howweWork .flexcontainer {
        grid-template-columns: repeat(3, 1fr) !important; /* 3열로 변경 */
    }
    /* 3열일 때 중간 선들이 꼬이지 않도록 처리 */
    .howweWork .flexcontainer .flex-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* =========================================
   [반응형] 768px 이하 (모바일): 초슬림 3*2 또는 2*3
   ========================================= */
@media screen and (max-width: 768px) {
    .howweWork {
        padding: 60px 0;
    }

    .howweWork h5 {
        font-size: 24px !important;
        text-align: center;
        margin-bottom: 30px;
    }

    .howweWork .flexcontainer {
        grid-template-columns: repeat(3, 1fr) !important; /* 3열 유지 ($3 \times 2$) */
        border-bottom: none;
    }

    .howweWork .flexcontainer .flex-item {
        padding: 25px 5px !important; /* 내부 여백 축소 */
    }

    /* 텍스트 아기자기하게 줄이기 */
    .howweWork .flexcontainer .flex-item span {
        font-size: 10px !important;
        padding: 2px 8px !important;
        margin-bottom: 10px;
    }

    .howweWork .flexcontainer .flex-item p {
        font-size: 14px !important; /* 20px -> 14px */
        margin-top: 5px;
    }
}

/* 초소형 모바일 (360px 이하) - 3열이 좁으면 2열로 자동 대응 */
@media screen and (max-width: 380px) {
    .howweWork .flexcontainer {
        grid-template-columns: repeat(2, 1fr) !important; /* 2*3 배열 */
    }
}

/* =========================================FAQ====================== */



/* =========================================
   FAQ 리뉴얼 스타일
   ========================================= */
   .FAQ {
    padding: 120px 0;
    background: #000;
}

.FAQ .list-group {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.FAQ h5 {
    color: #FFF;
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.faq-container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* 질문 영역 */
.faq-question {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question p {
    font-size: 22px;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 0;
    transition: color 0.3s;
}

.faq-question i {
    font-size: 24px;
    color: #666;
    transition: transform 0.4s ease, color 0.3s;
}

/* 마우스 오버 효과 */
.faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
}
.faq-item:hover .faq-question p { color: #fff; }
.faq-item:hover .faq-question i { color: #F73C13; }

/* 답변 영역 (기본 닫힘) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer .descript {
    padding: 0 40px 35px 40px;
    font-size: 18px;
    color: #999;
    line-height: 1.6;
}

/* 활성화 상태 (JS로 제어) */
.faq-item.active .faq-answer {
    max-height: 1000px; /* 충분한 높이 */
    transition: max-height 0.8s ease-in;
}

.faq-item.active .faq-question p { color: #F73C13; }
.faq-item.active .faq-question i {
    transform: rotate(45deg); /* 플러스가 엑스표처럼 변함 */
    color: #F73C13;
}


/* 반응형 - 모바일 전용 아기자기 리파인 */
@media screen and (max-width: 768px) {
    .FAQ {
        padding: 60px 0; /* 상하 패딩 슬림화 */
    }

    .FAQ .list-group {
        padding: 0 15px; /* 좌우 여백 밀착 */
    }

    .FAQ h5 { 
        font-size: 24px !important; /* 폰트 사이즈 다이어트 */
        margin-bottom: 35px;
        letter-spacing: -1px;
    }

    /* 질문 영역 */
    .faq-question { 
        padding: 20px 10px; /* 내부 여백 축소 */
    }

    .faq-question p { 
        font-size: 15px !important; /* 질문 텍스트 최적화 */
        font-weight: 500;
        line-height: 1.4;
        padding-right: 10px; 
        color: #ccc;
    }

    .faq-question i { 
        font-size: 18px; /* 플러스 아이콘 크기 조정 */
    }

    /* 답변 영역 */
    .faq-answer .descript { 
        padding: 0 10px 20px 10px; /* 답변 내부 패딩 축소 */
        font-size: 13px !important; /* 답변 텍스트를 작고 야무지게 */
        line-height: 1.5;
        color: #888;
        word-break: keep-all; /* 단어 단위 줄바꿈으로 깔끔하게 */
    }

    /* 활성화 상태 디테일 */
    .faq-item.active .faq-question p {
        font-weight: 700; /* 활성화 시 폰트 두께로 강조 */
    }
}

/* 초소형 모바일 (360px 이하) 추가 튜닝 */
@media screen and (max-width: 360px) {
    .FAQ h5 { font-size: 21px !important; }
    .faq-question p { font-size: 14px !important; }
    .faq-answer .descript { font-size: 12px !important; }
}






/* ========================= AICreativeSolution (3x2 가로형 그리드) ========================= */
.gridimages {
    background: #000;
    padding: 80px 0; /* 상하 여백 */
}

.gridrow {
    max-width: 1400px; /* 너무 넓어지지 않게 고정 */
    margin: 0 auto;
    display: grid;
    
    /* ★ 3열 구조 */
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 25px; /* 간격을 조금 더 넓혀서 시원하게 배치 */
    padding: 0 20px;
}

/* 개별 컬럼(박스) 설정 */
.gridrow .col {
    position: relative;
    width: 100%;
    /* ★ 핵심: 가로형 롱폼 비율 16:9 고정 */
    aspect-ratio: 16 / 9; 
    
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* 내부 iframe 및 이미지 꽉 채우기 */
.gridrow .col iframe,
.gridrow .col img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover; /* 이미지가 박스에 꽉 차게 */
    border: none;
    pointer-events: none; /* 클릭 UI 방지 */
}

/* 유튜브 제목 부분 조금 더 가려지게 미세 조정 */
.gridrow .col iframe {
    transform: scale(1.1); /* 가로형은 상하 여백이 더 생길 수 있어 1.1배 확대 추천 */
}

/* ========================= 반응형 (모바일) ========================= */
@media (max-width: 1024px) {
    .gridrow {
        /* 태블릿: 2열로 변경 */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gridrow {
        /* 모바일: 가로형은 1열로 보여줘야 시원시원합니다 */
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
}


/* 서비스별 더보기 버튼 스타일 */
.btn-more {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #444; /* 기본은 차분한 색상 */
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #ddd; /* 밑줄로 버튼 느낌 강조 */
    width: 100%;
    justify-content: space-between;
}

.btn-more i {
    font-size: 18px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* 마우스 오버 시 효과 */
.btn-more:hover {
    color: #ff6b00; /* 브랜드 컬러로 변경 */
    border-bottom-color: #ff6b00;
}

.btn-more:hover i {
    transform: rotate(90deg); /* 플러스 아이콘 회전 효과 */
}

/* 기존 태그(em)와 간격 조절 */
.tags {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* 이미지 박스 하단 여백 */
.service-img {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
}

/* =========================planningbg & shorts-gallery ============================================================ */
/* 컨테이너 배경 및 여백 */
.planningbg {
    background: #000 !important;
    padding: 80px 0;
    width: 100%;
}

/* 갤러리 레이아웃: 영상들 사이의 간격과 정렬 */
.shorts-gallery {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px; /* 줄 간격 */
}

/* 개별 영상 박스: 배경 요소를 없애고 영상만 남김 */
.shorts-gallery .flex-item {
    /* 5개씩 배치할 때의 너비 (간격 포함) */
    width: calc(20% - 20px); 
    aspect-ratio: 9 / 16; /* 세로형 비율 고정 */
    
    position: relative;
    background: transparent !important; /* 뒷 배경 제거 */
    border: none !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* 영상이 떠 있는 느낌만 부여 */
}

/* iframe 설정: 꽉 채우고 상호작용 방지 */
.shorts-gallery .flex-item iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    pointer-events: none; /* 클릭 UI 방지 */
    transform: scale(1.05); /* 유튜브 테두리 숨김 */
}

/* --- 반응형 설정 --- */
/* 태블릿: 한 줄에 3개 */
@media (max-width: 1200px) {
    .shorts-gallery .flex-item {
        width: calc(33.33% - 20px);
    }
}

/* 모바일: 한 줄에 2개 (가장 깔끔함) */
@media (max-width: 768px) {
    .shorts-gallery .flex-item {
        width: calc(50% - 15px);
        border-radius: 10px;
    }
    .shorts-gallery {
        padding: 0 15px;
        gap: 10px;
    }
}






