@charset "utf-8";

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

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

.visual {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    background-image: url(../img/main-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.visual>.inner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.visual .title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
    padding-left: 4rem;
}

.visual .title h2 {
    font-size: 3rem;
    font-weight: 800;
}

.visual .title p {
    font-size: 1rem;
}

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

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

.insu__list ul {
    display: flex;
    gap: 1rem;
}

.insu__list ul>li {
    width: 100%;
    height: auto;
    background-color: #f3f3f3;
    border-radius: 1rem;
}

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

.insu__list ul>li h3 {
    font-size: 1.1rem;
    text-align: center;
}

.insu__list ul>li img {
    width: 45px;
    height: auto;
    object-fit: contain;
}

/*  */
.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: 2rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 2rem;
}

.cs>.inner>hr {
    width: 100%;
    height: 1px;
    margin: 0;
    border: none;
    background-color: #ccc;
}

.cs__top {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.cs__top>span {
    width: 80px;
    min-width: 80px;
    height: auto;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: normal;
}

.cs__top>ul {
    width: calc(100% - 80px);
    display: flex;
    gap: 1rem;
}

.cs__top>ul>li {
    width: 100%;
    max-width: 140px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px inset #ccc;
    padding: 1rem;
    cursor: pointer;
}

.cs__top>ul>li.active {
    box-shadow: 0 0 0 2px inset #000;
}

.cs__top>ul>li img {
    width: 35px;
    height: auto;
    object-fit: contain;
}

.cs__top>ul>li span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

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

.cs__input {
    width: calc(33.33% - 11px);
    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;
    background-color: #f2f2f2;
    border-radius: 0.5rem;
    padding-left: 1rem;
}

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

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

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

.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: #f3f3f3;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cs__radio input[type=radio]:checked+label {
    background-color: #000;
    color: #fff;
}


.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: #000;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
}

.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: #f7e600;

}

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

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

.content1>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.content1 .title h2 {
    font-size: 1.6rem;
    font-weight: 800;
}

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

.content1 .list>li {
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(13, 14, 15, 0.03);
    padding: 2rem;
}

.content1 .list>li>h3 {
    width: fit-content;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    background-color: #1F4E79;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 8px 1rem;
}

.content1 .list>li>p {
    font-size: 1rem;
    font-weight: 500;
}

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

.content2>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.content2 .title h2 {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
}

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

.content2 .list>li {
    width: calc(50% - 1rem);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 2rem;
}

.content2 .list>li img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.content2 .list>li>h3 {
    font-size: 1.1rem;
    text-align: center;
}

.content2 .list>li>h3>b {
    color: #1F4E79;
    font-weight: inherit;
}

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

.content3>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.content3 .title h2 {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
}

.insu__banner {
    width: 100%;
    height: auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(13, 14, 15, 0.03);
    border-radius: 1rem;
    padding: 2rem;
}

.insu__banner .life {
    width: 100%;
    height: auto;
}

.insu__banner .life>h4 {
    font-size: 1.2rem;
    border-bottom: 2px solid #000;
    margin-bottom: 1rem;
    padding-bottom: 5px;
}

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

.insu__banner .items>li {
    width: calc(20% - 13px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.insu__banner .items .img {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
}

.insu__banner .items .img>img {
    max-width: 120px;
    max-height: 30px;
}

.insu__banner .items>li>span {
    font-size: 0.9rem;
    font-weight: 500;
}


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

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

    .visual {
        height: 300px;
    }

    .visual .title h2 {
        font-size: 2.4rem;
    }

    .insu__list {
        padding: 1rem;
    }

    .insu__list ul>li img {
        width: 40px;
    }

    .insu__list ul>li h3 {
        font-size: 1rem;
        line-height: normal;
    }

    .cs__top>ul>li {
        width: calc(25% - 12px);
        max-width: 100%;
    }

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

    .cs__top>ul {
        flex-wrap: wrap;
    }

    .cs__top>ul>li {
        justify-content: center;
    }

    .cs__top>ul>li img {
        width: 30px;
    }

    .cs__top>ul>li span {
        line-height: normal;
    }

    .input__box {
        width: 100%;
    }

    .cs__input {
        width: 100%;
    }

    /*  */
    .content1,
    .content2,
    .content3 {
        padding: 2rem 1rem;
    }

    /*  */
    .content1 .list>li>p {
        font-size: 0.9rem;
    }

    /*  */
    .content2 .list {
        gap: 1rem;
    }

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

    .content2 .list>li img {
        width: 50px;
    }

    .content2 .list>li>h3 {
        font-size: 1rem;
    }

    .content2 .list>li>h3>br {
        display: none;
    }

    /*  */
    .insu__banner .items>li {
        width: calc(33.33% - 11px);
    }
}






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

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

    .visual {
        height: auto;
        padding: 3rem 2rem;
        position: relative;
    }

    .visual::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #000;
        width: 100%;
        height: 100%;
        opacity: 0.4;
        z-index: 1;
    }

    .visual .title {
        padding: 0;
        z-index: 9;
    }

    .visual .title h2 {
        font-size: 1.4rem;
        text-shadow: 0 0 0 rgba(0, 0, 0, 1);
    }

    .visual .title p {
        font-size: 0.9rem;
        text-shadow: 0 0 0 rgba(0, 0, 0, 1);
        word-break: keep-all;
    }

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

    .insu__list ul {
        flex-wrap: wrap;
    }

    .insu__list ul>li {
        width: calc(50% - 8px);
    }

    .insu__list ul>li>a {
        padding: 1.5rem;
    }

    .insu__list ul>li img {
        width: 28px;
    }

    .insu__list ul>li h3 {
        font-size: 0.9rem;
        line-height: normal;
    }

    /*  */
    .cs {
        padding: 0;
    }

    .cs>.inner {
        gap: 1rem;
        border: none;
        border-top: 1px solid #ccc;
        border-radius: 0;
        padding: 1.5rem;
    }

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

    .cs__top>span>br {
        display: none;
    }

    .cs__top>ul {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cs__top>ul>li {
        width: calc(50% - 5px);
        max-width: 100%;
        justify-content: center;
    }

    .cs__top>ul>li img {
        width: 28px;
    }

    .cs__top>ul>li span {
        line-height: normal;
    }

    .input__box {
        width: 100%;
    }

    .cs__input {
        width: 100%;
    }

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

    .cs__input span>br {
        display: none;
    }

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

    .cs__submit {
        flex-direction: column;
        gap: 10px;
    }

    .cs__submit>a {
        font-size: 0.9rem;
    }

    /*  */
    .content1,
    .content2,
    .content3 {
        padding: 2rem 1rem;
    }

    .content1>.inner,
    .content2>.inner,
    .content3>.inner {
        gap: 1rem;
    }

    .content1 .title h2,
    .content2 .title h2,
    .content3 .title h2 {
        font-size: 1.2rem;
    }

    /*  */
    .content1 .list {
        gap: 1rem;
    }

    .content1 .list>li>p {
        font-size: 0.9rem;
    }

    /*  */
    .content2 .list {
        gap: 10px;
    }

    .content2 .list>li {
        width: 100%;
        gap: 1rem;
    }

    .content2 .list>li img {
        width: 50px;
    }

    .content2 .list>li>h3 {
        font-size: 0.9rem;
    }

    .content2 .list>li>h3>br {
        display: none;
    }

    /*  */
    .insu__banner {
        padding: 1.5rem;
    }

    .insu__banner .life>h4 {
        font-size: 1rem;
    }

    .insu__banner .items {
        gap: 10px;
    }

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

    .insu__banner .items .img>img {
        max-width: 90px;
        max-height: 25px;
    }
}