@charset "utf-8";

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

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

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

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

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

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

.swiper1 .swiper-slide {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1rem;
    padding: 2rem 3rem;
}

.swiper1 .swiper-slide.slide1 {
    background-color: #fff5cd;
}

.swiper1 .swiper-slide.slide2 {
    background-color: #ffe1b9;
}

.swiper1 .swiper-slide.slide3 {
    background-color: #ffe1b9;
}

.swiper1 .swiper-slide.slide4 {
    background-color: #fffac8;
}

.swiper1 .swiper-slide.slide5 {
    background-color: #ffffa5;
}

.swiper1 .swiper-slide>h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.swiper1 .swiper-slide>p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #595959;
    margin-bottom: 2rem;
}

.swiper1 .swiper-slide>a {
    width: fit-content;
    display: flex;
    font-size: 1rem;
    color: #fff;
    background-color: #6e6a5a;
    border-radius: 2rem;
    padding: 10px 2rem;
}

.swiper1 .swiper-slide .img {
    position: absolute;
    top: 50%;
    right: 3rem;
    transform: translateY(-50%);
}

.swiper1 .swiper-slide .img img {
    width: 200px;
    height: 150px;
    object-fit: contain;
}

/*  */
.swiper1 .swiper-control {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #6e6a5a;
    border-radius: 2rem;
    padding: 5px 1.5rem;
    z-index: 99;
}

.swiper1 .swiper-control .swiper-button-prev {
    margin-right: 20px;
    background: url(../img/angle-left-solid.svg) 50% 50% / cover no-repeat;
}

.swiper1 .swiper-control .swiper-button-next {
    margin-left: 20px;
    background: url(../img/angle-right-solid.svg) 50% 50% / cover no-repeat;
}

.swiper1 .swiper-control .swiper-pagination {
    width: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    position: static;
    transform: none;
}

.swiper1 .swiper-control .swiper-autoplay {
    position: static;
    display: flex;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
}

.swiper1 .swiper-control .swiper-autoplay>img {
    width: 9px;
    height: 14px;
    object-fit: contain;
}

.swiper1 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #6e6a5a;
    border: 1px solid #fff;
    opacity: 1;
}

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

/*  */
.cs {
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 2rem;
}

.cs__wrap {
    width: 100%;
    height: auto;
    display: flex;
    gap: 2rem;
}

.cs__inputs {
    width: 85%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cs__input {
    width: calc(50% - 8px);
    height: 50px;
    display: flex;
    align-items: center;
}

.cs__input.w-100 {
    width: 100%;
}


.cs__input>span {
    width: 70px;
    height: auto;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

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

.cs__input.box>input {
    width: calc(100% - 70px - 30% - 1rem);
}

.cs__radio {
    width: 30%;
    height: 100%;
    display: flex;
    gap: 10px;
    margin-left: 1rem;
}

.cs__radio input[type=radio] {
    display: none;
}

.cs__radio input[type=radio]+label {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.cs__radio input[type=radio]:checked+label {
    color: #000;
    border: none;
    border: 2px solid #e0cfbf;
}

/* select */
#csSelect {
    width: calc(100% - 70px);
    height: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background-color: #fff;
    appearance: none;
    background-image: url(../img/sort-down-solid.svg);
    background-size: 14px;
    background-position: bottom 18px right 18px;
    background-repeat: no-repeat;
    padding: 0 18px;
}

#csSelect option {
    font-size: 1rem;
    padding: 1rem;
}

.cs__info {
    width: 100%;
    display: flex;
    gap: 5px;
    padding: 0 0 0 70px;
}

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

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

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

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

.cs__btn {
    width: 15%;
    height: auto;
}

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

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

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

.direct .title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
}

.direct .title img {
    width: 34px;
    height: auto;
    object-fit: contain;
}

.direct .title>h3 {
    font-size: 1.1rem;
}

.swiper2 {
    width: 100%;
    height: auto;
    padding: 1rem 28px;
}

.swiper2 .swiper-wrapper {
    width: 100%;
    height: auto;
}

.swiper2 .swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.swiper2 .swiper-slide article {
    width: calc(33.33% - 16px);
    height: auto;
    min-height: 300px;
}

.swiper2 .swiper-slide article>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.swiper2 .swiper-slide article>a:hover {
    background-color: #ffd65f;
}

.swiper2 .swiper-slide article>a:hover .img img {
    transform: scale(1.1);
}

.swiper2 .swiper-slide article .txt {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swiper2 .swiper-slide article .txt>h4 {
    font-size: 0.95rem;
}

.swiper2 .swiper-slide article .txt>h5 {
    font-size: 1.2rem;
}

.swiper2 .swiper-slide article .txt>p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #595959;
}

.swiper2 .swiper-slide article>a>button {
    font-size: 1rem;
    font-weight: 500;
}

.swiper2 .swiper-slide article .img {
    position: absolute;
    right: 3rem;
    bottom: -2rem;
}

.swiper2 .swiper-slide article .img img {
    width: 100px;
    height: auto;
    object-fit: contain;
    transition: all 0.2s ease;
}

.swiper2 .swiper-button-prev {
    left: 5px;
    background-image: url(../img/angle-left-solid-full.svg);
}

.swiper2 .swiper-button-next {
    right: 5px;
    background-image: url(../img/angle-right-solid-full.svg);
}

.swiper2 .swiper-button-next,
.swiper2 .swiper-button-prev {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-top: -30px;
}


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

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

.product .title {
    margin-bottom: 1rem;
}

.product .title>h3 {
    font-size: 1.1rem;
}

.product__menu {
    width: 100%;
    height: auto;
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2rem;
}

.product__menu>li {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.product__menu>li.active {
    font-weight: 600;
    color: #254061;
    border-bottom: 4px solid #254061;
}

.product .item {
    width: 100%;
    height: auto;
    display: none;
}

.product .item.active {
    display: block;
}

.product .item .list {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.product .item .list>li {
    width: calc(25% - 24px);
    height: auto;
    display: flex;
}

.product .item .list>li>a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.product .item .list>li.active>a {
    background-color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.product .item .list>li .badge {
    width: fit-content;
    height: auto;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: #fff;
    border-radius: 2rem;
    padding: 5px 1rem;
}

.product .item .list>li.active .badge {
    color: #444;
    background-color: #f8f8f8;
}

.product .item .list .txt {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.product .item .list .txt img {
    width: 60px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product .item .list .txt h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.product .item .list .txt p {
    font-size: 0.9rem;
    color: #595959;
    word-break: keep-all;
}

.product .item .list>li>a>button {
    width: 100%;
    height: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    border-top: 1px solid #ccc;
    padding: 0 2rem;
    cursor: pointer;
}

.product__navi {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.product__navi > li {
    cursor: pointer;
}

.product__navi > li:nth-of-type(2){
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #000;
}

.product__navi > li img {
    width: 30px;
    height: 30px;
}


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

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

    /*  */
    .visual>.inner {
        gap: 0;
    }

    /*  */
    .swiper1 .swiper-slide {
        border-radius: 0;
        min-height: auto;
    }

    .swiper1 .swiper-slide>h2 {
        font-size: 1.6rem;
    }

    .swiper1 .swiper-slide .img img {
        width: 150px;
        height: 100px;
    }

    /*  */
    .cs {
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #ccc;
    }

    .cs__wrap {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cs__inputs {
        width: 100%;
    }

    .cs__input {
        width: 100%;
    }

    .cs__info {
        justify-content: center;
        padding: 0;
    }

    .cs__btn {
        width: 100%;
    }

    .submit {
        height: 50px;
    }

    /*  */
    .direct {
        padding: 0 0 2rem;
    }

    .swiper2 {
        padding: 1rem 2rem;
    }

    .swiper2 .swiper-slide {
        align-content: flex-start;
        gap: 1rem;
    }

    .swiper2 .swiper-slide article {
        width: calc(50% - 8px);
        height: 240px;
        min-height: auto;
    }

    .swiper2 .swiper-slide article>a {
        padding: 2rem 3rem;
    }

    .swiper2 .swiper-slide article .txt>h5 {
        font-size: 1.1rem;
    }

    .swiper2 .swiper-slide article .img {
        right: 2rem;
    }

    .swiper2 .swiper-slide article .img img {
        width: 80px;
    }

    /*  */
    .product {
        padding: 0 2rem 2rem;
    }

    .product .item .list {
        gap: 1rem;
    }

    .product .item .list>li {
        width: calc(50% - 8px);
    }

    .product .item .list .txt img {
        width: 50px;
        height: 40px;
    }

}






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

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

    /*  */
    .visual>.inner {
        gap: 0;
    }

    /*  */
    .swiper1 .swiper-slide {
        border-radius: 0;
        min-height: auto;
        padding: 2rem;
    }

    .swiper1 .swiper-slide>h2 {
        font-size: 1.4rem;
    }

    .swiper1 .swiper-slide>p {
        font-size: 1rem;
    }

    .swiper1 .swiper-slide>a {
        font-size: 0.9rem;
    }

    .swiper1 .swiper-slide .img {
        position: static;
        transform: none;
        display: flex;
        justify-content: flex-end;
        padding: 1rem 0 2rem;
    }

    .swiper1 .swiper-slide .img img {
        width: 150px;
        height: 100px;
    }

    /*  */
    .cs {
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #ccc;
        padding: 1.5rem;
    }

    .cs__wrap {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cs__inputs {
        width: 100%;
    }

    .cs__input {
        width: 100%;
    }

    .cs__info {
        justify-content: center;
        padding: 0;
    }

    .cs__btn {
        width: 100%;
    }

    .submit {
        height: 50px;
    }

    /*  */
    .direct {
        padding: 0 0 2rem;
    }

    .direct .title {
        padding: 0 1rem;
    }

    .swiper2 {
        padding: 1rem;
    }

    .swiper2 .swiper-slide {
        align-content: flex-start;
        gap: 1rem;
    }

    .swiper2 .swiper-slide article {
        width: 100%;
        height: 240px;
        min-height: auto;
    }

    .swiper2 .swiper-slide article>a {
        padding: 2rem;
    }

    .swiper2 .swiper-slide article .txt>h5 {
        font-size: 1rem;
    }

    .swiper2 .swiper-slide article .img {
        right: 2rem;
    }

    .swiper2 .swiper-slide article .img img {
        width: 70px;
    }

    .swiper2 .swiper-button-next, 
    .swiper2 .swiper-button-prev {
        top: 260px;
        width: 50px;
        height: 50px;
    }

    /*  */
    .product {
        padding: 0 1rem 2rem;
    }

    .product__menu {
        flex-wrap: wrap;
        border-bottom: none;
    }

    .product__menu>li {
        width: 50%;
        font-size: 0.9rem;
        box-shadow: 0 0 1px inset #000;
        transition: all 0.1s ease;
    }

    .product .item .list {
        gap: 1rem;
    }

    .product .item .list>li {
        width: 100%;
    }

    .product .item .list .txt img {
        width: 40px;
        height: 30px;
    }

}