
@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: 2rem 0;
}

.visual>.inner {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

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

.swiper-slide {
    width: 100%;
    height: auto;
    min-height: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E2EFFF;
    border-radius: 1rem;
    padding: 4rem;
}

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

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

.swiper-slide .txt {
    width: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    line-height: normal;
}

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

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

.swiper-slide .txt p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.swiper-slide .txt a {
    width: fit-content;
    display: inline-block;
    font-size: 0.9rem;
    border: 1px solid #333;
    background: transparent;
    border-radius: 2rem;
    transition: all 0.3s ease;
    padding: 10px 2rem;
}

.swiper-slide .txt a:hover {
    background: #333;
    color: #fff;
}

.swiper-slide .img img {
    width: 250px;
    height: auto;
}

.swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
    background: #444;
}

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

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

/*  */
.cs__box {
    height: auto;
    display: flex;
    flex-direction: column;
}

.cs__box1 {
    width: 60%;
}

.cs__box2 {
    width: 40%;
}

.cs__box>.txt {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.cs__box>.txt>h5 {
    font-size: 1.2rem;
}

.cs__box>.txt>p {
    font-size: 1rem;
    font-weight: 500;
}

/*  */
.insu__type {
    width: 100%;
    height: auto;
    min-height: 490px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 2rem;
}

.insu__type>li {
    width: calc(25% - 12px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 1rem;
    padding: 1rem;
    cursor: pointer;
}

.insu__type>li.active {
    box-shadow: 0 0 0 2px inset #385e8b;
}

.insu__type>li img {
    width: 50px;
    height: auto;
    object-fit: contain;
    filter: brightness(0);
}

.insu__type>li.active img {
    filter: brightness(1);
}

.insu__type>li span {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    text-align: center;
}

.insu__type>li.active span {
    color: #385e8b;
}

/*  */
.cs {
    width: 100%;
    height: auto;
}

.cs>.inner {
    min-height: 490px;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 2rem;
}

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

.cs__radio {
    width: calc(100% - 90px);
    height: 50px;
    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: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cs__radio input[type="radio"]:checked+label {
    color: #385e8b;
    border: 2px solid #385e8b;
}

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

.cs__input>span {
    width: 90px;
    height: auto;
    font-size: 1rem;
    font-weight: 600;
}

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

.cs__info {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 1rem 0;
}

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

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

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

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

.cs__submit {
    width: 100%;
    height: 55px;
    background-color: #385e8b;
    border-radius: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

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

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

.recom .title h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.recom>.inner>ul {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 2rem;
}

.recom>.inner>ul>li>a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.recom>.inner>ul>li>a img {
    width: 120px;
    height: auto;
}

.recom>.inner>ul>li>a>span {
    font-size: 1rem;
    font-weight: 500;
}



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

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

    .visual {
        padding: 1rem;
    }

    .swiper-slide {
        min-height: auto;
    }
    
    .swiper-slide .txt {
        width: 60%;
    }

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

    .swiper-slide .txt p {
        word-break: keep-all;
    }

    .swiper-slide .txt p > br {
        display: none;
    }

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

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

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

    .cs__box1 {
        width: 100%;
    }

    .insu__type {
        min-height: auto;
    }

    .insu__type>li {
        width: calc(20% - 13px);
    }

    /*  */
    .cs__box2 {
        width: 100%;
    }

    .cs>.inner {
        min-height: auto;
    }

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

    .recom>.inner>ul>li>a img {
        width: 100px;
    }
}






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

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

    .visual {
        padding: 0;
    }

    .swiper-slide {
        flex-wrap: wrap;
        gap: 1rem;
        border-radius: 0;
        padding: 2rem 2rem 3rem;
    }

    .swiper-slide .txt {
        width: 100%;
    }

    .swiper-slide .txt h3 {
        font-size: 1rem;
    }

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

    .swiper-slide .txt p {
        font-size: 0.9rem;
        word-break: keep-all;
    }

    .swiper-slide .txt p > br {
        display: none;
    }

    .swiper-slide .img  {
        width: 100%;
        display: flex;
        justify-content: center;
    }

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

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

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

    .cs__box>.txt>h5 {
        font-size: 1.1rem;
    }

    .cs__box1 {
        width: 100%;
    }

    .insu__type {
        min-height: auto;
        gap: 10px;
        padding: 1.5rem;
    }

    .insu__type>li {
        width: calc(33.33% - 7px);
    }

    .insu__type > li img {
        width: 40px;
    }

    .insu__type > li span {
        font-size: 0.9rem;
        word-break: keep-all;
    }

    /*  */
    .cs__box2 {
        width: 100%;
    }

    .cs>.inner {
        min-height: auto;
        padding: 1.5rem;
    }

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

    .recom .title h2 {
        font-size: 1.1rem;
    }

    .recom>.inner>ul {
        flex-wrap: wrap;
        gap: 10px;
        padding: 1.5rem;
    }

    .recom>.inner>ul>li {
        width: calc(33.33% - 7px);
    }

    .recom>.inner>ul>li>a img {
        width: 70px;
    }

    .recom>.inner>ul>li>a>span {
        font-size: 0.85rem;
    }
}