.doc1 {
    position: relative;
}

.doc1-sb {
    position: absolute;
    top: -100px; right: -2%;
    width: 30%;
    opacity: .05;
    animation: rotate infinite 50s linear;
}

.doc-title {
    width: 100%;
}

.doc-title h5 {
    color: #222;
    font-size: 45px;
    margin-bottom: 3rem;
}

.doc-title p {
    color: #555;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 1rem;
}

.doc-letter {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.doc-letter-title h5 {
    color: #888;
    font-size: 65px;
    font-weight: 400;
    line-height: 1.2;
}

.doc-letter-title h5 span {
    color: var(--main-color);
    font-size: 150px;
    font-weight: 700;
}

.doc-letter-title p {
    color: #555;
    font-size: 24px;
    line-height: 1.5;
    text-align: right;
    margin-top: 2rem;
}

.doc-letter-info {
    width: 670px;
    display: flex;
    flex-direction: column;
}

.doc-letter-box {
    width: 100%;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.doc-l-b-left {
    color: #aaa;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 45px;
    font-weight: 200;
}

.doc-l-b-left span {
    color: var(--main-color);
    font-size: 55px;
    font-weight: 700;
}

.doc-l-b-right p {
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.doc-script {
    color: #888;
    font-size: 17px;
    text-align: right;
    margin-top: 10px;
}


.doc2 {
    position: relative;
    padding: 0;
    background: linear-gradient(to top, #eee 0%, transparent 100%);
    overflow: hidden;
}
.doc2::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 300px;
    background-color: #ddd;
    z-index: 1;
}

.doc2-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5rem;
    z-index: 10;
}

.doc2-image {
    width: 600px;
}

.doc2-text {
    height: fit-content;
    padding: 80px;
    background-color: #fff;
    box-shadow: 0 8px 30px rgba(45,52,61,.07);
    margin: 5rem 0;
}

.doc2-text h5 {
    color: #222;
    font-size: 22px;
    font-weight: unset;
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.doc2-text h5 span {
    font-size: 60px;
    font-weight: unset;
    font-family: 'JSArirang-Regular';
}

@font-face {
    font-family: 'JSArirang-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/JSArirang-RegularA1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.doc2-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc2-list li {
    color: #444;
    font-size: 19px;
    letter-spacing: 0;
    white-space: nowrap;
}


.doc3 {
    padding-top: 120px;
    background: #eee;
}

.doc3-wrapper {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8rem;
}



/*==================================================*/
@media (max-width: 1919px) {
    .doc1-sb {
        width: 700px;
    }
}


@media (max-width: 1350px) {
    .doc-letter {
        flex-direction: column;
        gap: 5rem;
    }

    .doc-letter-info {
        width: 100%;
    }

    .doc-letter-title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
    }
}


@media (max-width: 1150px) {
    .doc2 {
        background: #fff;
    }
    .doc2::after {
        background-color: #eee;
    }
    
    .doc2-sb {
        top: 5%;
        width: 85%;
    }

    .doc2-wrapper {
        flex-direction: column;
        justify-content: unset;
    }
    
    .doc2-image {
        width: 100%;
        margin-top: -50%;
        margin-left: 20%;
    }

    .doc2-text {
        background-color: transparent;
        box-shadow: none;
        margin-top: 0;
    }
}


@media (max-width: 950px) {
    .doc1-sb {
        top: 0; left: 50%;
        min-width: 500px;
    }
}


@media (max-width: 768px) {
    .doc-title h5 {
        font-size: 35px;
    }
    
    .doc-title p {
        font-size: 16px;
        font-weight: 400;
    }

    .doc-letter {
        margin-top: 0;
    }

    .doc-l-b-left {
        font-size: 40px;
    }

    .doc-l-b-right p {
        font-size: 20px;
        font-weight: unset;
    }

    .doc2 {
        padding-top: 60px;
    }
    
    .doc2-text {
        padding: 0;
    }
}


@media (max-width: 650px) {
    .doc-letter-title {
        align-items: unset;
        text-align: center;
    }

    .doc-letter-title h5 {
        font-size: 35px;
    }

    .doc-letter-title h5 span {
        font-size: 65px;
    }

    .doc-letter-title p {
        font-size: 18px;
        text-align: center;
    }
}


@media (max-width: 550px) {
    .doc-l-b-left {
        font-size: 30px;
    }

    .doc-l-b-right p {
        font-size: 17px;
    }

    .doc-script {
        font-size: 14px;
    }
    
    .doc2-image {
        margin-top: -60%;
        margin-bottom: -20%;
        z-index: 1;
    }

    .doc3-image {
        width: 90%;
        margin-top: -60%;
        margin-bottom: -15%;
        margin-left: 30%;
    }

    .doc2-text {
        z-index: 10;
    }

    .doc2-text h5 {
        margin-bottom: 1.5rem;
    }

    .doc2-text h5 span {
        font-size: 45px;
    }

    .doc2-list {
        gap: 10px;
    }
    
    .doc2-list li {
        font-size: 14px;
    }
}


@media (max-width: 450px) {
    .doc-title h5 {
        font-size: 28px;
    }
    
    .doc-title p {
        font-size: 14px;
        margin-top: .7rem;
    }

    .doc-l-b-left {
        gap: 3px;
    }
    
    .doc-l-b-left span {
        font-size: 36px;
    }

    .doc-letter-title h5 {
        font-size: 25px;
    }

    .doc-letter-title h5 span {
        font-size: 55px;
    }

    .doc-letter-title p {
        font-size: 16px;
        text-align: center;
        margin-top: 1rem;
    }

    .doc-script {
        font-size: 12px;
    }

    .doc2 {
        padding-top: 30px;
    }
}


@media (max-width: 380px) {
    .doc-l-b-left {
        font-size: 24px;
    }

    .doc-l-b-right p {
        font-size: 15px;
    }
}