/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', 'Pretendard JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

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

/* 페이지 공통 스타일 */
.page {
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
}

.background {
    background-image: url('../assets/image/bg.png');
    background-size: cover;
}

/* ========== 표지 스타일 ========== */
.cover-page {
    background-color: #fff;
    position: relative;
}

.cover-header {
    width: 100%;
    height: 26px;
    background-color: #3347FF;
}

.cover-footer-bar {
    width: 100%;
    height: 48px;
    background-color: #3347FF;
    margin-top: auto;
}

.cover-page .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.cover-logo-wrapper {
    margin-bottom: 30px;
}

.cover-logo-image {
    height: 60px;
    width: auto;
}

.cover-content {
    text-align: center;
}

.cover-title {
    font-size: 36px;
    font-weight: 600;
    color: #768AFF;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cover-subtitle {
    font-size: 36px;
    color: #3347FF;
    margin-bottom: 25px;
    font-weight: 600;
}

.cover-description {
    font-size: 24px;
    color: #393a3a;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 600;
}

.cover-description p {
    /* margin-bottom: 8px; */
}

.cover-images {
    margin: 30px 0;
    width: 100%;
    max-width: 800px;
}

.cover-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.cover-footer {
    text-align: center;
    margin-top: 20px;
}

.logo-text {
    color: #3347FF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.image-logo {
    width: 130px;
    height: 15px;
}

.logo-url {
    font-size: 12px;
    color: #040000;
}

/* ========== 속지 스타일 ========== */
.content-page {
    background-color: #fff;
}

.content-header {
    width: 100%;
    background-color: #fff;
}

.header-bar {
    width: 100%;
    height: 26px;
    background-color: #3347FF;
}

.header-content {
    padding: 15px 20px;
    background-color: #fff;
}

.page-title {
    font-size: 18px;
    color: #3347FF;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-line {
    width: 100%;
    height: 1px;
    background-color: #5A97C3;
}

.content-page .container {
    padding: 40px 20px;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* min-height: 400px; */
}

.section-content {
    flex: 1;
}

.section-number {
    font-size: 28px;
    color: #3347FF;
    font-weight: 500;
}

.section-title {
    font-size: 22px;
    color: #3347FF;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.4;
}

.section-description {
    font-size: 15px;
    color: #000;
    line-height: 1.6;
    white-space: pre-line;
}

.section-list-description {
    font-size: 15px;
    color: #000;
    line-height: 1.6;
    padding-left: 20px;
    
}

.section-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 15px;
    color: #000;
    line-height: 1.8;
}

.section-list li {
    margin-bottom: 8px;
}

.highlight-green {
    color: #00a651;
}

.section-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.section-image-bg {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-left: auto;
}

.section-image {
    max-width: 100%;
    max-height: calc(100% - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
    flex-shrink: 1;
}

.section-highlight {
    font-size: 16px;
    color: #555656;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
    margin: 0;
    flex-shrink: 0;
    width: 100%;
}

.highlight-blue {
    color: #3347FF;
    font-size: 16px;
}

.section-divider {
    width: 100%;
    height: 1px;
    background-color: #5A97C3;
    margin: 30px 0;
}

.content-footer {
    width: 100%;
    background-color: #3347FF;
    padding: 15px 20px;
    margin-top: auto;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.footer-logo-divider {
    color: #fff;
}

/* ========== 뒷표지 스타일 ========== */
.back-page {
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.back-header {
    width: 100%;
    height: 18px;
    background-color: #3347FF;
    flex-shrink: 0;
}

.back-page .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 70px 20px 50px;
    text-align: center;
    position: relative;
    min-height: calc(100vh - 18px - 185px);
}

.back-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: auto;
}

.back-logo-top {
    margin-top: 120px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.back-callboto-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
}

.back-description {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
    text-align: center;
    margin-bottom: 0;
}

.back-description p {
    margin: 0;
}

.back-description p:first-child {
    margin-bottom: 4px;
}

.back-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 40px;
}

.back-furence-logo {
    height: 25px;
    width: auto;
    display: block;
}

.back-logo-text {
    font-size: 16px;
    font-weight: 400;
    color: #3347FF;
    margin: 0;
    line-height: 1.4;
}

.back-logo-url {
    font-size: 14px;
    font-weight: 500;
    color: #393a3a;
    text-decoration: none;
    line-height: 1.4;
}

.back-logo-url:hover {
    text-decoration: underline;
}

.back-footer {
    width: 100%;
    background-color: #3347FF;
    padding: 50px 20px;
    flex-shrink: 0;
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-info {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.company-name {
    font-size: 26px;
    font-weight: 500;
    margin: 0;
    color: #fff;
    line-height: 1.4;
}

.company-address {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    line-height: 1.4;
}

.company-contacts {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    color: #fff;
    margin: 0;
}

.company-contacts span {
    display: inline-block;
}

.company-email {
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    color: #fff;
    line-height: 1.4;
}

/* ========== 반응형 디자인 - 태블릿 ========== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .cover-title {
        font-size: 48px;
    }

    .cover-subtitle {
        font-size: 48px;
    }

    .cover-description {
        font-size: 24px;
    }

    .page-title {
        font-size: 20px;
    }

    .header-content {
        padding: 18px 40px;
    }

    .content-page .container {
        padding: 60px 40px;
    }

    .content-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 50px;
        min-height: 250px;
    }

    .section-content {
        max-width: 50%;
        flex-shrink: 0;
    }

    .section-image-wrapper {
        max-width: 55%;
        flex-shrink: 0;
        justify-content: flex-end;
    }

    /* 모든 섹션: 텍스트 왼쪽, 이미지 오른쪽 */
    .content-section .section-content {
        order: 1;
    }

    .content-section .section-image-wrapper {
        order: 2;
    }

    .section-image-bg {
        height: 250px;
        margin-left: auto;
        margin-right: 0;
    }
    
    .section-image {
        max-height: calc(100% - 70px);
    }

    .section-divider {
        margin: 40px 0;
    }

    .back-page .container {
        padding: 50px 40px 70px;
    }

    .back-callboto-logo {
        height: 100px;
    }

    .back-description {
        font-size: 19px;
    }

    .back-footer {
        padding: 50px 40px;
    }

    .company-name {
        font-size: 26px;
    }

    .company-address {
        font-size: 14px;
    }

    .company-contacts {
        font-size: 12px;
        gap: 26px;
    }

    .company-email {
        font-size: 12px;
    }
}

/* ========== 반응형 디자인 - PC ========== */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 60px;
    }

    .cover-page .container {
        padding: 60px 60px;
    }

    .cover-title {
        font-size: 64px;
    }

    .cover-subtitle {
        font-size: 64px;
    }

    .cover-description {
        font-size: 24px;
    }

    .page-title {
        font-size: 22px;
    }

    .header-content {
        padding: 20px 60px;
    }

    .content-page .container {
        padding: 60px 60px;
    }

    .content-section {
        gap: 80px;
        /* margin-bottom: 80px; */
        /* min-height: 350px; */
    }

    .section-number {
        font-size: 32px;
    }

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

    .section-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .section-list {
        font-size: 16px;
    }

    .section-highlight {
        font-size: 18px;
    }

    .highlight-blue {
        font-size: 21px;
    }

    .section-image-wrapper {
        justify-content: flex-end;
    }

    .section-image-bg {
        padding: 30px;
        max-width: 500px;
        height: 300px;
        margin-left: auto;
        margin-right: 0;
    }
    
    .section-image {
        max-height: calc(100% - 80px);
    }

    .section-divider {
        margin: 50px 0;
    }

    .back-title-top,
    .back-subtitle {
        font-size: 42px;
    }

    .back-description {
        font-size: 22px;
    }

    .company-name {
        font-size: 26px;
    }

    .company-address {
        font-size: 16px;
    }

    .company-contacts {
        font-size: 12px;
    }
}

/* ========== 반응형 디자인 - 모바일 ========== */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .cover-page .container {
        padding: 30px 15px;
    }

    .cover-title {
        font-size: 34px;
    }

    .cover-subtitle {
        font-size: 34px;
    }

    .cover-description {
        font-size: 16px;
    }

    .page-title {
        font-size: 16px;
    }

    .header-content {
        padding: 12px 15px;
    }

    .content-page .container {
        padding: 30px 15px;
    }

    .content-section {
        gap: 20px;
        min-height: 450px;
    }

    .section-number {
        font-size: 24px;
    }

    .section-title {
        font-size: 19px;
    }

    .section-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .section-list {
        font-size: 14px;
        padding-left: 18px;
    }

    .section-image-bg {
        padding: 15px;
        height: calc(100% - 60px);
        max-width: 100%;
    }
    
    .section-image {
        max-height: calc(100% - 60px);
        height: 200px;
    }

    .section-highlight {
        font-size: 14px;
    }

    .highlight-blue {
        font-size: 17px;
    }

    .section-divider {
        margin: 20px 0;
    }

    .back-title-top,
    .back-subtitle {
        font-size: 24px;
    }

    .back-description {
        font-size: 16px;
    }

    .company-name {
        font-size: 18px;
    }

    .company-address {
        font-size: 11px;
    }

    .company-contacts {
        font-size: 9px;
        /* flex-direction: column; */
        gap: 8px;
    }
}
