@charset "utf-8";

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

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

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

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

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

/*  */
.swiper {
    width: 60%;
    height: auto;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 0px 10px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #F0F7FC;
    padding: 3rem;
}

.swiper-slide.slide2 {
    background-color: #faeee3;
}
.swiper-slide.slide3 {
    background-color: #e8ebf6;
}
.swiper-slide.slide4 {
    background-color: #e8f6ef;
}

.swiper-slide > h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7f7f7f;
    margin-bottom: 1rem;
}

.swiper-slide > h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: normal;
}

.swiper-slide > h3 > b {
    font-weight: inherit;
    color: #158346;
}

.swiper-slide > span {
    font-size: 1rem;
    font-weight: 500;
    color: #7f7f7f;
}

.swiper-slide > a {
    width: fit-content;
    height: auto;
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #158346;
    border: 2px solid #fff;
    border-radius: 2rem;
    margin-top: 3rem;
    padding: 8px 2rem;
}

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

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

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

/*  */
.insu__box {
    width: 40%;
    height: auto;
}

.insu__box > ul {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.insu__box > ul > li {
    width: calc(33.33% - 11px);
    height: auto;
    min-height: 130px;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 0px 10px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.insu__box > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 1rem;
}

.insu__box > ul > li > a:hover img {
    transform: translateY(-5px);
}

.insu__box > ul > li > a img {
    width: 50px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.insu__box > ul > li > a > strong {
    font-size: 1rem;
    color: #7f7f7f;
}

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

.cs>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 0px 10px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    padding: 2rem;
}

/*  */
.cs__top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cs__top img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

.cs__top>p {
    font-size: 1.2rem;
    font-weight: 700;
}

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

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

.cs__input.last {
    width: 100%;
}

.cs__input span {
    width: 80px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.cs__input input {
    width: calc(100% - 80px);
    height: 100%;
    border-style: none;
    border: 1px solid #ccc;
    padding-left: 1rem;
}

.cs__select {
    width: calc(100% - 80px);
    height: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #595959;
    border: 1px solid #ccc;
    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;
}

.cs__select option {
    font-size: 1rem;
    padding: 1rem;
}

.input__box {
    width: calc(50% - 8px);
    height: 50px;
    display: flex;
    gap: 10px;
}

.input__box>.cs__input {
    width: 70%;
}

.cs__radio {
    width: 30%;
    height: 100%;
    display: flex;
    gap: 10px;
}

.cs__radio input {
    margin-right: 5px;
}

.cs__radio:nth-child(2) input {
    margin-left: 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;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cs__radio input[type=radio]:checked+label {
    color: #e46c0a;
    background-color: #faeee3;
    border: 1px solid #e46c0a;
}


.cs__apply {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

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

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

.cs__submit>a {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    background-color: #e46c0a;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.cs__submit>a:nth-of-type(1) {
    color: #fff;
}

.cs__submit>a:nth-of-type(1) img {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
}

.cs__submit>a:nth-of-type(2) {
    color: #000;
    background-color: #ffc000;

}

.cs__submit>a:nth-of-type(2) img {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
}

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

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

.content > .inner > h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.content__menu {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.content__menu > li {
    font-size: 1rem;
    font-weight: 500;
    color: #7f7f7f;
    background-color: #d9d9d9;
    border-radius: 2rem;
    padding: 10px 2rem;
    cursor: pointer;
}

.content__menu > li.active {
    color: #fff;
    background-color: #595959;
}

.content .items {
    width: 100%;
    height: auto;
    display: none;
    gap: 1rem;
}

.content .items.active {
    display: flex;
}

.content .item {
    width: calc(33.33% - 11px);
    height: auto;
    min-height: 205px;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content .items1 .item:nth-of-type(1){
    background-image: url(../img/item01.png);
}
.content .items1 .item:nth-of-type(2){
    background-image: url(../img/item02.png);
}
.content .items2 .item:nth-of-type(1){
    background-image: url(../img/item03.png);
}
.content .items2 .item:nth-of-type(2){
    background-image: url(../img/item04.png);
}
.content .items3 .item:nth-of-type(1){
    background-image: url(../img/item05.png);
}
.content .items4 .item:nth-of-type(1){
    background-image: url(../img/item06.png);
}
.content .items4 .item:nth-of-type(2){
    background-image: url(../img/item07.png);
}
.content .items4 .item:nth-of-type(3){
    background-image: url(../img/item08.png);
}


.content .item > a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
    padding: 1.5rem;
}

.content .item > a > h3 {
    font-size: 1rem;
    border: 1px solid #fff;
    border-radius: 2rem;
    padding: 5px 1rem;
}

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

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

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

    .container {
        padding: 1rem;
    }

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

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

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

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

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


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

    .insu__box > ul > li {
        min-height: auto;
    }

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

    .cs__input {
        width: 100%;
    }

    .input__box {
        width: 100%;
    }

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

    .content .items {
        flex-wrap: wrap;
    }

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

}






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

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

    .container {
        padding: 1rem;
    }

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

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

    .swiper-slide {
        min-height: 400px;
        justify-content: flex-start;
        padding: 2rem;
    }

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

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

    .swiper-slide > a {
        font-size: 0.9rem;
        gap: 10px;
        margin-top: 2rem;
    }

    .swiper-slide .img {
        right: 2rem;
        bottom: 3rem;
    }

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

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

    .insu__box > ul {
        gap: 10px;
    }

    .insu__box > ul > li {
        width: calc(33.33% - 7px);
        min-height: auto;
    }

    .insu__box > ul > li > a img {
        width: 35px;
    }

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

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

    .cs>.inner {
        padding: 1.5rem;
    }

    .cs__top {
        justify-content: center;
    }

    .cs__top>p {
        font-size: 1.1rem;
    }

    .cs__input {
        width: 100%;
        height: 45px;
    }

    .input__box {
        width: 100%;
        height: 45px;
    }

    .cs__input span {
        width: 70px;
        justify-content: flex-start;
    }

    .cs__select {
        width: calc(100% - 70px);
        height: 45px;
        font-size: 0.85rem;
    }

    .cs__input input {
        width: calc(100% - 70px);
    }

    .cs__radio {
        width: 40%;
        gap: 5px;
    }

    .cs__radio input[type=radio]+label {
        font-size: 0.9rem;
    }

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

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

    .content > .inner > h2 {
        font-size: 1.1rem;
    }

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

    .content__menu > li {
        font-size: 0.8rem;
        padding: 10px 1rem;
    }

    .content .items {
        flex-wrap: wrap;
    }

    .content .item {
        width: 100%;
        min-height: auto;
    }

    .content .item > a > h3 {
        font-size: 0.9rem;
        text-align: center;
    }

}