@charset "utf-8";

/*
 * File       : sub.css
 * Author     : YONG
 *
 * 최종수정일 : 25/00/00
 *
 * SUMMARY:
 * 서브페이지.CSS
 */

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

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

.visual.sub {
    margin-bottom: 0;
}

.visual>.inner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 1rem;
}

.visual .title {
    width: 60%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 4rem;
}

.visual .title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #70ad47;
}

.visual .title p {
    font-size: 1rem;
    word-break: keep-all;
}

.visual .title span {
    width: fit-content;
    font-size: 0.9rem;
    background-color: #FDF1F7;
    padding: 5px 10px;
}

.visual .img {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.visual .img>img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.visual.sub .img {
    align-items: center;
}


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

.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: 60px;
    height: 55px;
    object-fit: contain;
}

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

.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%;
    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 #70ad47;
}

.cs__top>ul>li img {
    width: 45px;
    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;
    cursor: pointer;
    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%);
}

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

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

.content .title {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.content .title>h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

/*  */
.content__wrap {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 2rem 0;
}

/*  */
.content1 .des {
    background-color: #f3f3f3;
    border-radius: 1rem;
    padding: 2rem;
}

.content1 .des>p {
    font-size: 1rem;
}

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

.content table {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #000;
}

.content table th,
.content table td {
    font-size: 0.9rem;
    padding: 1rem;
}

.content table tr {
    border-bottom: 1px solid #ccc;
}

.content table tr:nth-last-of-type(1) {
    border-bottom: none;
}

.content table th {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #000;
}

.content table td:nth-of-type(1) {
    width: 30%;
}

.content .des2 {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.content .des2 img {
    width: 45px;
    height: auto;
    object-fit: contain;
}

.content .des2>p {
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #f3f3f3;
    border-radius: 1rem;
    padding: 1.5rem;
}


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

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

.insu__banner .title>h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

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

.insu__banner .fire>h4,
.insu__banner .life>h4 {
    font-size: 1.2rem;
    border-bottom: 2px solid #70ad47;
    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: auto;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    .visual .title {
        padding: 3rem;
    }

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

    .visual .img>img {
        width: 160px;
    }

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

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

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

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

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

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

    .cs__top>ul>li {
        width: calc(33.33% - 7px);
        max-width: 100%;
        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%;
    }


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

    /*  */
    .content .box {
        flex-wrap: wrap;
    }

    .content .table__wrap {
        width: 100%;
    }

    .content .img {
        width: 100%;
        justify-content: flex-end;
        padding-right: 2rem;
    }

    .content .img>img {
        width: 170px;
    }

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






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

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

    .visual {
        height: auto;
        margin-bottom: 1rem;
    }

    .visual>.inner {
        flex-direction: column;
        gap: 1rem;
        border-radius: 0;
    }

    .visual .title {
        width: 100%;
        padding: 2rem 1rem 1rem;
    }

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

    .visual .title p {
        font-size: 0.9rem;
        word-break: keep-all;
    }

    .visual .img {
        width: 100%;
    }

    .visual .img>img {
        width: 136px;
    }

    .visual.sub .img {
        padding-bottom: 2rem;
    }

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

    .insu__list ul {
        flex-wrap: wrap;
        gap: 10px;
    }

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

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

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

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

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

    .cs>.inner {
        gap: 1rem;
        border: none;
        border-top: 1px solid #ccc;
        border-bottom: 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;
    }

    /*  */
    .content__wrap {
        gap: 3rem;
        padding: 2rem 1rem;
    }

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

    /*  */
    .content1 .des {
        margin-top: 1rem;
    }

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

    /*  */
    .content .box {
        flex-wrap: wrap;
    }

    .content .table__wrap {
        width: 100%;
        overflow-x: auto;
    }

    .content table {
        width: 600px;
    }

    .content table th,
    .content table td {
        font-size: 0.85rem;
    }

    .content .des2 img {
        width: 30px;
    }

    .content .des2>p {
        font-size: 0.85rem;
    }

    /*  */
    .insu__banner .title>h2 {
        font-size: 1.1rem;
    }

    .insu__banner .fire>h4,
    .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;
    }
}