@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;
}

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

.swiper-container {
    width: 70%;
    height: auto;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.15) 0px 6px 12px -2px, rgba(0, 0, 0, 0.1) 0px 3px 7px -3px;
}

.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 6rem;
}

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

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

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

.swiper-slide h2 {
    font-size: 2rem;
    font-weight: 700;
}

.swiper-slide em {
    font-size: 1rem;
    font-weight: 600;
    color: #1972B5;
    margin-bottom: 2rem;
}

.swiper-slide>a {
    width: fit-content;
    display: flex;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #FFD102;
    border-radius: 0.5rem;
    padding: 8px 1rem;
}

.swiper-slide .img {
    position: absolute;
    right: 6rem;
    bottom: 3rem;
}

.swiper-slide .img img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background-size: 40px 40px;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: url('../img/left.png');
    left: 2rem;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    background-image: url('../img/right.png');
    right: 2rem;
}



/*  */
.link__area {
    width: 30%;
    height: auto;
}

.link__area .list {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.link__area .list>li {
    width: calc(50% - 8px);
    height: auto;
    border: 1px solid #ccc;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.15) 0px 6px 12px -2px, rgba(0, 0, 0, 0.1) 0px 3px 7px -3px;
}

.link__area .list>li>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.link__area .list>li img {
    width: 50px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.link__area .list>li:hover img {
    transform: rotate(15deg);
}

.link__area .list>li>a>strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #595959;
}

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

.cs>.inner {
    width: 100%;
    height: auto;
    border: 1px solid #000;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.15) 0px 6px 12px -2px, rgba(0, 0, 0, 0.1) 0px 3px 7px -3px;
    padding: 2rem;
}

.cs>.inner>h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cs>.inner>h4>b {
    color: #1972B5;
}

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

#csType {
    width: calc(100% - 70px);
    height: 100%;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    appearance: none;
    /* 기본 브라우저 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background: url('../img/caret-down-solid.svg') no-repeat right 1rem center;
    background-size: 12px;
    padding: 10px 1rem;
}

#csType option {
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    padding: 10px;
}

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

.cs__input.first {
    margin-right: 1rem;
}

.cs__input.last {
    width: 100%;
}

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

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

.cs .radio {
    width: calc(100% - 70px);
    height: 100%;
    display: flex;
    gap: 10px;
}

.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: #fff;
    background-color: #1972B5;
    border: none;
}

.cs__apply {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs__info {
    display: flex;
    gap: 5px;
    margin: 1rem 0;
}

.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: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.submit,
.submit.katalk {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
}

.submit {
    color: #fff;
    background-color: #1972B5;
}

.submit.katalk {
    color: #000;
    background-color: #f7e600;
}

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

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

.recom .list {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.recom .list > li {
    width: 100%;
    height: auto;
}

.recom .list > li > h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1972B5;
    margin-bottom: 10px;
}

.recom .list .box {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 2rem;
}

.recom .list > li:nth-of-type(1) .box {
    background-color: #e9f2ff;
}
.recom .list > li:nth-of-type(2) .box {
    background-color: #fee8f1;
}

.recom .list .box > h5 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.recom .list .box > p {
    font-size: 0.9rem;
}


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

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

    .visual>.inner {
        flex-wrap: wrap;
    }

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

    .swiper-slide {
        border-radius: 0;
        padding: 3rem 6rem;
    }

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

    /*  */
    .link__area {
        width: 100%;
        padding: 0 1rem;
    }

    .link__area .list>li {
        width: calc(25% - 12px);
    }

    .link__area .list>li img {
        width: 42px;
    }

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

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

}






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

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

    .visual>.inner {
        flex-wrap: wrap;
    }

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

    .swiper-slide {
        gap: 1rem;
        padding: 2rem;
    }

    .swiper-slide h2 {
        font-size: 1.2rem;
    }

    .swiper-slide em {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .swiper-slide .img {
        position: static;
        display: flex;
        justify-content: flex-end;
    }

    .swiper-slide .img img {
        width: 130px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: auto;
        bottom: 2rem;
        background-size: 30px 30px;
    }

    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next {
        left: 1rem;
    }

    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev {
        right: auto;
        left: 3.5rem;
    }

    /*  */
    .link__area {
        width: 100%;
        padding: 0 1rem;
    }

    .link__area .list {
        gap: 10px;
    }

    .link__area .list>li {
        width: calc(50% - 5px);
    }   

    .link__area .list>li>a {
        gap: 10px;
        padding: 1rem;
    }

    .link__area .list>li img {
        width: 35px;
    }

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

    .cs__input {
        width: 100%;
        margin-right: 0;
    }

    .cs__input.first {
        margin-right: 0;
    }

    .cs__input>span {
        text-align: left;
    }

    .cs__btn {
        flex-wrap: wrap;
        gap: 10px;
    }

    .submit,
    .submit.katalk {
        font-size: 0.9rem;
    }

    /*  */
    .recom {
        padding: 0 1rem 1rem;
    }

    .recom .list {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .recom .list .box > p {
        word-break: keep-all;
    }

    .recom .list .box > p > br {
        display: none;
    }

}