@charset "utf-8";

/*
 * File       : common.css
 * Author     : YONG
 *
 * 최종수정일 : 25/00/00
 *
 * SUMMARY:
 * 서브페이지.CSS
 */

/* 
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■ PC ■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
*/

.main {
    width: 100%;
    height: auto;
}

.bg__wrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.bg {
    width: 100%;
    height: 100%;
    background-image: url(../img/bg02.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.bg .title {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 5rem 0 0;
}

.bg .title > h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 5px;
}

.bg .title > p {
    font-size: 1.1rem;
    color: #fff;
}

/*  */
.content {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.content > .inner {
    width: 100%;
    height: auto;
}



.content .items {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.content .item {
    width: calc(50% - 1rem);
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
}

.content .item:nth-of-type(1) {
    background-color: #115bbe;
}
.content .item:nth-of-type(2) {
    background-color: #66ac47;
}
.content .item:nth-of-type(3) {
    background-color: #fcaf17;
}
.content .item:nth-of-type(4) {
    background-color: #ba68c8;
}

.content .item::before {
    content: '';
    width: 102px;
    height: 70px;
    position: absolute;
    top: 2rem;
    right: 7rem;
    background-image: url(../img/preed_label.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    z-index: 1;
}

.content .item .top {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content .item .img img {
    width: 136px;
    height: auto;
    object-fit: contain;
}

.content .item .txt {
    text-align: right;
    text-shadow: 0 3px 1px rgba(0,0,0,0.2);
}

.content .item .txt > span {
    font-size: 1rem;
    color: #f3f3f3;
}

.content .item .txt > h3 {
    font-size: 2rem;
    color: #fff;
}

.content .item > a {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    z-index: 9;
}

.content .item > a:hover {
    box-shadow: 0 6px 5px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}


@media screen and (min-width: 768px) and (max-width: 1200px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 태블릿 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    body {
        padding-top: 140px;
    }

    /*  */
    .bg__wrap {
        height: 200px;
    }

    .bg .title {
        padding: 0;
    }

    /*  */
    .content {
        min-height: 700px;
        padding: 2rem 1rem;
    }

    .content .items {
        gap: 1rem;
    }

    .content .item {
        width: calc(50% - 8px);
        justify-content: space-between;
    }


}






@media screen and (max-width: 767px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 모바일 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    body {
        padding-top: 70px;
    }

    /*  */
    .bg__wrap {
        height: 200px;
    }

    .bg {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem;
    }

    .bg .title {
        position: static;
        transform: none;
        padding: 0;
    }

    .bg .title > h2 {
        font-size: 1.2rem;
    }

    .bg .title > p {
        font-size: 0.95rem;
    }

    /*  */
    .content {
        padding: 1rem;
    }

    .content .items {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .content .item {
        width: 100%;
    }

    .content .item .txt > h3 {
        font-size: 1.6rem;
    }

}