@charset "utf-8";

/*
 * File       : style.css
 * Author     : YONG
 *
 * 최종수정일 : 24/00/00
 *
 * SUMMARY:
 * 메인페이지.CSS
 */

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


/*  */
.main {
    width: 100%;
    height: auto;
    padding: 2rem 0 0;
}

.visual {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.visual>.inner {
    width: 100%;
    height: auto;
    display: flex;
    gap: 2rem;
}

/*  */
.swiper-container {
    width: 60%;
    height: auto;
    border-radius: 0.5rem;
}

.swiper-slide {
    line-height: normal;
}

.slide1 {
    background-color: #9A66CC;
}

.slide2 {
    background-color: #39D66D;
}

.slide3 {
    background-color: #01BBC8;
}

.slide4 {
    background-color: #F6B10E;
}

.slide5 {
    background-color: #F86860;
}

.swiper-slide>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5rem 3rem;
}

.swiper-slide>a>h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2rem;
}

.swiper-slide>a>h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.swiper-slide>a>h3>small {
    font-size: 70%;
    font-weight: 500;
}

.swiper-slide>a>span {
    font-size: 1rem;
    display: inline-block;
    margin-top: 10px;
}

.swiper-slide>a>h4 {
    position: absolute;
    right: 3rem;
    bottom: 3rem;
}

.swiper-slide>a>h4>img {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/*  */
.cs__wrap {
    width: 40%;
    height: auto;
    padding: 2rem;
}

.cs {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fff;
    border-radius: 1rem;
}

.cs>p {
    font-size: 1rem;
    font-weight: 600;
    border-left: 4px solid #604A7B;
    padding-left: 10px;
}

.cs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cs__list li {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ED008C;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 1rem;
}

.cs__list li.active {
    border: none;
    color: #fff;
    border: 1px solid #ED008C;
    background-color: #ED008C;
}

.cs__list li.blink {
    border: none;
    color: #fff;
    border: 1px solid #ED008C;
    background-color: #ED008C;
}


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

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

.cs__input {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
}

.cs__input>span {
    width: 70px;
    font-size: 0.9rem;
}

.cs__input>input {
    width: calc(100% - 70px);
    height: 100%;
    border-bottom: 1px solid #ccc;
    padding-left: 10px;
}

.input__box {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
}

.input__box>span {
    width: 70px;
    font-size: 0.9rem;
}

.input__box>input {
    width: calc(100% - 70px);
    height: 100%;
    border-bottom: 1px solid #ccc;
}

.input__box .radio {
    display: flex;
    gap: 5px;
}

.input__box .radio input[type=radio] {
    width: 20px;
    height: 20px;
    accent-color: #ED008C;
}

.input__box .radio input[type=radio]+label {
    font-size: 0.9rem;
    margin-right: 10px;
}


.cs__info {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.cs__info span {
    font-size: 0.9rem;
}

.cs__info>span {
    color: cornflowerblue;
    text-decoration: underline;
    cursor: pointer;
}

.cs__info label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cs__info >label> input {
    width: 17px;
    height: 17px;
}

.submit__btn {
    width: 100%;
    height: 50px;
    display: flex;
    gap: 10px;
}

.submit1 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #ED008C;
    border-radius: 0.5rem;
    cursor: pointer;
}

.submit2 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #ffdb40;
    border-radius: 0.5rem;
    cursor: pointer;
}

.submit2>img {
    width: 30px;
}

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

.content>.inner {
    width: 100%;
    height: auto;
    display: flex;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

/*  */
.aside {
    width: 200px;
    height: 100%;
    border-right: 1px solid #ccc;
    padding: 2rem 1rem;
}

.aside>ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aside>ul>li>a {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    color: #444;
    border-radius: 0.5rem;
    padding: 10px 1rem;
}

.aside>ul>li>a.active {
    color: #111;
    background-color: #eceef3;
}

/*  */
.product__area {
    width: calc(100% - 200px);
    height: auto;
    padding: 2rem;
}

.product__area>h3 {
    font-size: 1.2rem;
}

.product__area>p {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 2rem;
}

.product__wrap {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    padding-right: 1rem;
}

/* 웹킷 기반 브라우저 */
.product__wrap::-webkit-scrollbar {
    width: 6px;
}

.product__wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.product__wrap::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.product__wrap::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.product__wrap>.product>h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.product_list>li {
    width: 33.33%;
    max-width: 292px;
    height: auto;
    min-height: 260px;
}

.product_list>li>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    overflow: hidden;
    /* padding: 2rem 2rem 6rem; */
    padding: 2rem;
}

.product_list>li>a>strong {
    font-size: 1.1rem;
}

.product_list>li>a>p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
}

.product_list>li>a>span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #948A54;
    background-color: #F8F9FD;
    border-radius: 5px;
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    padding: 3px 1rem;
}

.product_list>li>a.first>strong,
.product_list>li>a.first>p {
    color: #fff;
}

.product_list>li>a.sec>strong,
.product_list>li>a.sec>p {
    color: #fff;
}

.product_list>li>a.first>span,
.product_list>li>a.sec>span {
    color: #fff;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #fff;
}

.product_list>li>a.first {
    border: none;
}

#product1 .product_list>li>a.first {
    background-color: #01BBC8;
}
#product1 .product_list>li>a.sec {
    background-color: #D7C3EB;
}

#product2 .product_list>li>a.first {
    background-color: #F86860;
}

#product3 .product_list>li>a.first {
    background-color: #95B3D7;
}

#product4 .product_list>li>a.first {
    background-color: #F6B10E;
}

#product5 .product_list>li>a.first {
    background-color: #39D66D;
}




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

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

    .main {
        padding: 0;
    }

    .visual {
        margin-bottom: 0;
    }

    .visual>.inner {
        flex-direction: column;
        gap: 0;
    }

    /*  */
    .swiper-container {
        width: 100%;
        border-radius: 0;
    }

    .swiper-slide>a>h3 {
        font-size: 1.4rem;
    }

    .swiper-slide>a>h4 {
        bottom: 3rem;
    }

    /*  */
    .cs__wrap {
        width: 100%;
        box-shadow: none;
    }

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

    .content>.inner {
        flex-direction: column;
    }

    .aside {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 1rem;
    }

    .aside>ul {
        flex-direction: row;
        justify-content: flex-start;
    }

    .product__area {
        width: 100%;
    }

    .product_list {
        flex-wrap: wrap;
    }

    .product_list>li {
        width: calc(50% - 8px);
        max-width: 100%;
    }

}






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

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

    .main {
        padding: 0;
    }

    .visual {
        margin-bottom: 0;
    }

    .visual>.inner {
        flex-direction: column;
        gap: 0;
    }

    .swiper-container {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .swiper-slide>a {
        justify-content: center;
        padding: 2rem;
    }

    .swiper-slide>a>h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .swiper-slide>a>h3 {
        font-size: 1.2rem;
    }

    .swiper-slide>a>span {
        font-size: 0.85rem;
    }

    .swiper-slide>a>h4 {
        position: static;
        align-self: flex-end;
        margin-top: 2rem;
    }

    .swiper-slide>a>h4>img {
        width: 90px;
    }


    /*  */
    .cs__wrap {
        width: 100%;
        box-shadow: none;
        padding: 1.5rem;
    }

    .cs__list li {
        padding: 5px 10px;
    }

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

    /*  */
    .content>.inner {
        flex-direction: column;
    }

    .aside {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 1rem;
    }

    .aside>ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .aside>ul>li>a {
        font-size: 0.9rem;
    }

    .product__area {
        width: 100%;
        padding: 1rem 0 1rem 1rem;
    }

    .product__area>h3 {
        font-size: 1rem;
        text-align: center;
    }

    .product__area>p {
        font-size: 0.9rem;
        text-align: center;
    }

    .product__wrap>.product>h3 {
        font-size: 1rem;
    }

    .product_list {
        flex-wrap: wrap;
    }

    .product_list>li {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .product_list>li>a {
        padding: 2rem 2rem 6rem;
    }

}