@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;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.visual .item1 {
    width: calc(50% - 8px);
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3053c1;
    border-radius: 1rem;
    padding: 3rem;
}

.visual .item1 .txt {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
}

.visual .item1 .txt>h2 {
    font-size: 1.4rem;
}

.visual .item1 .txt>p {
    font-size: 1rem;
}

.visual .item1 .img img {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.visual .item2,
.visual .item3 {
    width: calc(25% - 12px);
    height: auto;
    border-radius: 1rem;
}

.visual .item2 {
    background-color: #000;
}

.visual .item3 {
    background-color: #ffb617;
}

.visual .item2>a,
.visual .item3>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.visual .item2 .img img,
.visual .item3 .img img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.visual .item2 .txt {
    color: #fff;
    text-align: center;
}

.visual .item3 .txt {
    text-align: center;
}

.visual .item2 .txt>span,
.visual .item3 .txt>span {
    font-size: 1rem;
    font-weight: 500;
}

.visual .item2 .txt>p,
.visual .item3 .txt>p {
    font-size: 1.4rem;
    font-weight: 700;
}



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

.visual .list>li {
    width: calc(50% - 8px);
    height: auto;
    background-color: #f2f2f2;
    border-radius: 1rem;
    position: relative;
}

.visual .list>li>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.visual .list>li>a {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: normal;
}

.visual .list>li>a>h3 {
    font-size: 1rem;
    color: #150f96;
}

.visual .list>li>a>em {
    font-size: 1.1rem;
    font-weight: 700;
}

.visual .list>li>a>small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
}

.visual .list>li>a>p {
    font-size: 0.95rem;
    font-weight: 500;
}

.visual .list>li>a>img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    order: 3;
}

/*  */
.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__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #ccc;
    padding: 0 0 1rem;
}

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

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

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

}

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

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

.banner>.inner {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background-color: #218fe5;
    border-radius: 1rem;
    padding: 2rem 3rem;
}

.banner .box {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.banner .box .img img {
    width: 70px;
    height: auto;
    object-fit: contain;
}

.banner .box>p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.banner button {
    width: 200px;
    min-width: 180px;
    height: auto;
    font-size: 1rem;
    font-weight: 700;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
}

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

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

    .visual {
        padding: 1rem;
    }

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

    .visual .item1 {
        width: 100%;
    }

    .visual .item2,
    .visual .item3 {
        width: calc(50% - 8px);
    }

    /*  */
    .visual .list {
        flex-wrap: wrap;
    }

    .visual .list>li {
        width: 100%;
        min-height: 180px;
    }

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

    .input__box {
        width: 100%;
    }

    .cs__input {
        width: 100%;
    }

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

    .cs__input span>br {
        display: none;
    }

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

    .banner>.inner {
        padding: 2rem;
    }

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

}






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

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

    .visual {
        padding: 1rem;
    }

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

    .visual .item1 {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .visual .item1 .txt>h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    .visual .item1 .txt>p {
        text-align: center;
        word-break: keep-all;
    }

    .visual .item1 .txt>p>br {
        display: none;
    }

    .visual .item1 .img img {
        width: 90px;
    }

    .visual .item2,
    .visual .item3 {
        width: 100%;
    }

    .visual .item2>a,
    .visual .item3>a {
        padding: 1.5rem;
    }

    .visual .item2 .img img,
    .visual .item3 .img img {
        width: 70px;
        height: 70px;
    }

    /*  */
    .visual .list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .visual .list>li {
        width: 100%;
        min-height: 120px;
    }

    .visual .list>li>a {
        justify-content: space-between;
        gap: 10px;
        padding: 1.5rem;
    }

    .visual .list>li>a>h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .visual .list>li>a>em {
        font-size: 1rem;
    }

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

    .visual .list>li>a>p br {
        display: none;
    }

    .visual .list>li>a>img {
        width: 50px;
        height: 50px;
        position: static;
        transform: none;
        align-self: flex-end;
        margin-top: 10px;
    }

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

    .cs__top {
        gap: 10px;
    }

    .cs__top>img {
        width: 25px;
    }

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

    .input__box {
        width: 100%;
    }

    .cs__input {
        width: 100%;
    }

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

    .cs__input span>br {
        display: none;
    }

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

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

    .banner>.inner {
        flex-direction: column;
        padding: 2rem;
    }

    .banner .box {
        flex-direction: column;
    }

    .banner .box>p {
        text-align: center;
        word-break: keep-all;
    }

    .banner button {
        width: 100%;
    }

}