/*=== quality ===*/

/* ===== Section 01: Hero ===== */
.quality-hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* 뒤쪽 배경 이미지 */
.quality-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.quality-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.6;
}

/* 전체 내용 */
.quality-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 40px 60px;
}

/* 텍스트 */
.quality-hero-text {
    margin-bottom: 30px;
}

.quality-hero-text h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #111;
}

.quality-hero-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #222;
}

/* 사진 2장 겹침 레이아웃 */
.quality-hero-photos {
    position: relative;
    height: 340px;
}

.quality-hero-photo--large {
    position: absolute;
    left: 0;
    top: 0;
    width: 65%;
    z-index: 1;
}

.quality-hero-photo--large img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.quality-hero-photo--small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    z-index: 2;
}

.quality-hero-photo--small img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ===== Section 02 ===== */
.quality-section02 {
    padding: 60px 40px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quality-section02 h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.quality-section02 p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    text-align: left;
    margin-bottom: 30px;
}

.quality-section02-images {
    display: flex;
    gap: 10px;
}

.quality-section02-img {
    flex: 1;
}

.quality-section02-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ===== Section 03 ===== */
.quality-section03 {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quality-section03 h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.quality-section03 > p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: left;
    margin-bottom: 30px;
}

.quality-table {
    width: 100%;
}

.quality-table img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Section 04 ===== */
.quality-section04 {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.quality-section04-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

/* 오버레이 별도 div로 분리 */
.quality-section04-overlay {
    background: rgba(255, 255, 255, 0.45); /* 어두운 → 밝은 오버레이 */
}

.quality-section04-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px 70px;
    text-align: center;
    align-self: flex-start; /* 위쪽 정렬 */
    margin-top: 0; /* 필요시 조절 */
}

.quality-section04-inner h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111; /* 흰색 → 검은색 */
    margin-bottom: 24px;
}

.quality-section04-inner p {
    font-size: 15px;
    line-height: 1.9;
    color: #111; /* 흰색 → 검은색 */
    text-align: left;
    margin: 0;
}

/* ===== Section 05 ===== */
.quality-section05 {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quality-section05 h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
}

.quality-section05 p {
    font-size: 14px;
    line-height: 1.9;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
}

.quality-section05-closing {
    text-align: right !important;
    font-weight: 700;
    font-size: 15px !important;
}

/* ===== 모바일 대응 ===== */
@media (max-width: 768px) {
    .quality-hero,
    .quality-section02,
    .quality-section03,
    .quality-section04,
    .quality-section05 {
        padding: 40px 20px;
    }

    .quality-hero-images,
    .quality-section02-images {
        flex-direction: column;
    }

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

    .quality-table-label {
        width: 100px;
        min-width: 100px;
        font-size: 12px;
    }

    .quality-table-tag {
        display: none;
    }
}