/*~~~~~~~about.html~~~~~~~~*/

/* 공통 여백 */
.section-padding { padding: 120px 0; background-color:rgba(255, 255, 255, 1); }
.purple-text { color: #6C3BFF; }
.section-title { text-align: center; font-size: 36px; font-weight: 800; margin-bottom: 80px; }




.inner {
    width: 100%;
    max-width: 1400px; /* 시안의 콘텐츠 가로폭 기준 */
    margin: 0 auto;    /* 중앙 정렬 */
    padding: 0 160px;   /* 좌우 패딩: 화면이 작아질 때 여백 확보 */
    box-sizing: border-box;
}

/* 텍스트와 이미지 배치 */
.intro-wrap {
    display: flex;
    gap: 40px;         /* 텍스트와 이미지 사이의 간격 */
    align-items: center;
    
}

/* 2. Intro 그리드 */

.text-area { flex: 1; }
.text-area h2 { font-size: 30px; line-height: 1.4; margin-bottom: 200px; color: rgba(0, 0, 0, 1); }
.text-area p { font-size: 17px; line-height: 1.8; color: #555; word-break: keep-all; }

.image-grid { flex: 1.2; 
			  display: flex;
			   gap: 15px;}
.grid-main { flex: 1; }
.grid-sub { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.image-grid img { width: 100%; height: 100%; object-fit: cover; }

/* 3. 경영 철학 (원형) */
.business-philosophy-title{color: rgba(0, 0, 0, 1);  text-align: center; font-weight: 700 ; margin-bottom: 100px;}
.philosophy-wrap { display: flex; justify-content: center; align-items: flex-start; margin-top: 50px; }
.philosophy-item { flex: 0 0 300px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    
    /* [핵심] 좌우 마진을 마이너스로 주어 원들이 서로 붙게 만듭니다 */
   margin: 0 -30px;
    position: relative; /* z-index 조절이 필요할 경우 대비 */}
.circle-box { 
    width: 240px; height: 240px; border: 2px solid rgba(93, 19, 234, 1); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 24px; color: #000;
}
.line { width: 1px; height: 50px; background:rgba(73, 15, 183, 1); margin: 20px 0; }
.philosophy-item p { font-size: 16px; line-height: 1.6; color: #444; }

/* 4. 사업 개요 */
.overview-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.overview-visual {
 flex: 1;
    /* 컨테이너의 왼쪽 패딩만큼 마진을 마이너스로 주어 화면 끝으로 보냄 */
    margin-left: calc(-50vw + 50%); 
    width: 50vw;
}

.main-building-img {
    width: 100%;
    height: auto;
    display: block;
}

.overview-content {
    flex: 1.2;
}

.overview-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: rgba(0, 0, 0, 1);
    margin-left: 42px;
    
}

/* 스텝 리스트 전체 라인 */
.overview-steps {
    list-style: none;
    padding: 0;
    padding-left : 40px;
    
    position: relative;
}

/* 숫자 사이를 잇는 세로선 */
.overview-steps::before {
    content: '';
    
    position: absolute;
    /* left: 57px; */
    left: 64px;
    top: 44px;
    bottom: 50px;
    width: 1px;
    background: #6C3BFF;
    z-index: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 30px;
    
    
    
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.step-num {
    /* width: 35px;
    height: 35px; */
    width: 50px;
    height: 50px;
    background: #6C3BFF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-info {
    flex: 0.8;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 13px;
    color: rgba(51, 51, 51, 1);
    margin-bottom: 5px;
    position: relative;
    padding-left: 12px;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6C3BFF;
}

/* 오른쪽 로고 카드 박스 */
.card-logo {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    
    border: 1px solid rgba(217, 217, 217, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* 부드러운 그림자 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.card-logo img {
    max-width: 100%;
    height: auto;
}

/* 하단 총괄 섹션 */
.total-manager {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding-right: 20px;
}

.total-manager span {
	
	color:rgba(0, 0, 0, 1);
    font-weight: 600;
    font-size: 22px;
}

.total-manager img {
    height: 35px;
}

.philosophy-content {
    display: block;
}

.toggle-icon {
    display: none;
}

/* 반응형 */
@media (max-width: 1100px) {
    .overview-container { flex-direction: column; }
    .step-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    
    .card-logo { width: 100%; }
}
/* 반응형 */
@media (max-width: 1024px) {
    .intro-wrap, .overflow-wrap, .philosophy-wrap { flex-direction: column; text-align: center; }
    .philosophy-item { margin-bottom: 60px; }
    .image-grid { margin-top: 40px; }
}

/* 
   ABOUT MOBILE
*/
@media (max-width: 768px) {

    /*  공통 패딩 */
    .inner {
        padding: 0 20px;
    }

    .section-padding {
        padding: 80px 0;
    }

    /*
       1️.HERO */
    .about-hero {
        height: 320px;
    }

    .hero-text h1 {
        font-size: 28px;
        left: 20px;
    }

    /*
       2️. INTRO
  */
     /* 
       1️. 레이아웃 */
    .intro-wrap {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* 
       2️. 순서만 변경 */
    .image-grid { order: 1; }
    .text-area { order: 2; }

    /* 
       3️  : grid로 구조 고정
 */
    .image-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    /* 큰 이미지 */
    .grid-main {
        grid-row: 1 / 3;   /* 🔥 2줄 차지 */
        grid-column: 1 / 2;
    }

    /* 오른쪽 2개 */
    .grid-sub {
        display: contents; /* 🔥 중요 */
    }

    .grid-sub img:nth-child(1){
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .grid-sub img:nth-child(2){
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    /* 이미지 */
    .image-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       4️. 텍스트
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    .text-area{
    	margin-top:40px;
    }
    
    .text-area h2 {
        font-size: 22px;
        margin-bottom: 12px;
        line-height: 1.4;
    	text-align: left;
    }

    .text-area p {
    	margin-top:30px;
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }

    .text-area p br {
        display: none;
    }
    /* =========================================
       3️. BUSINESS PHILOSOPHY
    ========================================= */
  
     /* 
       1️ 전체 타이틀*/
    .business-philosophy-title {
        text-align: left;
        margin-bottom: 40px;
        font-size: 24px;
    }

    /*
       2️ WRAP*/
    .philosophy-wrap {
        width: 100%;
        display: block; /* 🔥 flex 제거 */
        margin-top: 0;
    }

    /* 
       3️ ITEM (핵심 구조 리셋)*/
    .philosophy-item {
        display: block;                 /* 🔥 flex 제거 */
        width: 100%;
        margin: 0;                      /* 🔥 PC 마이너스 마진 제거 */
        padding: 16px 0;

        border-bottom: 1px solid rgba(0, 0, 0, 1);

        height: auto !important;        /* 🔥 강제 height 제거 */
        text-align: left;
    }

    .philosophy-item:last-child {
        border-bottom: none;
    }

    /*
       4️ HEADER
    */
    .philosophy-header {
        display: flex;
        align-items: center;
        justify-content: space-between; /*  좌측 텍스트 + 우측 아이콘 */
        cursor: pointer;

        margin-bottom: 0;
    }

    /* 
       5️ 제목 ( ex Mission 등)
	*/
    .circle-box {
        border: none;          /*  원형 제거 */
        width: auto;
        height: auto;

        font-size: 18px;
        font-weight: 500;
        color: rgba(93, 19, 234, 1);
    }

    /* 
       6️ 아이콘
   */
    .toggle-icon {
        display: block;
        font-size: 18px;
        color: #666;
        transition: transform 0.3s ease;
    }

    .philosophy-item.active .toggle-icon {
        transform: rotate(180deg);
    }

    /* 
       7️ 연결 라인 제거
    */
    .line {
        display: none;
        height: 0;
        margin: 0;
    }

    /* 
       8️ .CONTENT (아코디언)
    */
    .philosophy-content {
        max-height: 0;
        overflow: hidden;

        opacity: 0;
        margin-top: 0;

        transition: all 0.35s ease;
    }

    .philosophy-item.active .philosophy-content {
        max-height: 200px;
        opacity: 1;
        margin-top: 10px;
    }

    /* 텍스트 */
    .philosophy-content p {
        font-size: 14px;
        line-height: 1.6;
        color: #555;
    }

    /* =========================================
       4️ OVERVIEW
    ========================================= */
    .overview-container {
        display: block;   /*  flex 제거 */
    }

    /* ===============================
       2️ 왼쪽 이미지 제거
    =============================== */
    .overview-visual {
        display: none;
    }

    /* ===============================
       3️ 타이틀
    =============================== */
    .overview-title {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 40px;
        text-align: left;
        margin-left:0px;
    }

    /* ===============================
       4️ 타임라인 유지
    =============================== */
    .overview-steps {
        padding-left: 30px;
        position: relative;
    }

    .overview-steps::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 10px;
        bottom: 10px;
        width: 2px;
        background: #6C3BFF;
    }

    /* ===============================
       5️ step item
    =============================== */
    .step-item {
        display: flex;
        flex-direction: row;  /* 🔥 핵심 */
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 50px;
        position: relative;
    }

    /* ===============================
       6️ 숫자
    =============================== */
    .step-num {
        position: absolute;
        left: -38px;
        top: 33%;

        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* ===============================
       7️ 텍스트 영역
    =============================== */
    .step-info {
    	 flex: 1;
        margin-left: 15px;
        margin-top:10px;
    }

    .info-list li {
        font-size: 9px;
        line-height: 1.6;
    
    }

    /* ===============================
       8️ 로고 카드
    =============================== */
    .card-logo {
     	flex: 1;
        width: 100%;
        margin-left: 6px;
		
		padding-bottom:10px;
		
        padding: 16px;
        border:none;
        border-radius: 12px;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .card-logo img {
        
        height: auto;
    }
    /*타임라인 위치 보정*/
 .overview-steps {
        padding-left: 40px;
    }

    .overview-steps::before {
        left: 16px;
    }
    /* ===============================
       9️ 총괄 영역
    =============================== */
    .total-manager {
        margin-top: 40px;
        justify-content: flex-end;
        padding-right: 0;
        gap: 10px;
    }

    .total-manager span {
        font-size: 18px;
    }
}
