@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;
}

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

/*  */
.swiper-container {
    width: 100%;
    height: auto;
    padding-bottom: 2rem;
}

.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    padding: 4rem;
}

.swiper-slide .txt {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.swiper-slide .txt a {
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 8px 2rem;
}

/*  */
.swiper-slide .img img {
    width: 250px;
    height: 160px;
    object-fit: contain;
}

/*  */
.swiper-slide.slide1 {
    background-color: #F08080;
}

.swiper-slide.slide1 .txt h2,
.swiper-slide.slide1 .txt h3 {
    color: #fff;
}

.swiper-slide.slide1 .txt a {
    background-color: #FFEBDC;
}

/*  */
.swiper-slide.slide2 {
    background-color: #EBF5FF;
}

.swiper-slide.slide2 .txt h2,
.swiper-slide.slide2 .txt h3 {
    color: #000;
}

.swiper-slide.slide2 .txt a {
    color: #fff;
    background-color: #F08080;
}

/*  */
.swiper-slide.slide3 {
    background-color: #FFF0EB;
}

.swiper-slide.slide3 .txt h2,
.swiper-slide.slide3 .txt h3 {
    color: #000;
}

.swiper-slide.slide3 .txt a {
    background-color: #F5F0FF;
}

/*  */
.swiper-slide.slide4 {
    background-color: #FFEBDC;
}

.swiper-slide.slide4 .txt h2,
.swiper-slide.slide4 .txt h3 {
    color: #000;
}

.swiper-slide.slide4 .txt a {
    color: #fff;
    background-color: #F08080;
}

/*  */
.swiper-slide.slide5 {
    background-color: #F5F0FF;
}

.swiper-slide.slide5 .txt h2,
.swiper-slide.slide5 .txt h3 {
    color: #000;
}

.swiper-slide.slide5 .txt a {
    background-color: #FFEBDC;
}

/*  */
.swiper-slide.slide6 {
    background-color: #8180E6;
}

.swiper-slide.slide6 .txt h2,
.swiper-slide.slide6 .txt h3 {
    color: #fff;
}

.swiper-slide.slide6 .txt a {
    background-color: #EBF5FF;
}


.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 8px;
}

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

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

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

.direct .list>li {
    width: 100%;
    height: auto;
}

.direct .list>li>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.direct .list > li h5 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    padding: 1rem;
}

.direct .list > li img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.direct .list>li span {
    font-size: 1rem;
    font-weight: 600;
}

.direct .list>li:nth-of-type(1) h5 {
    background-color: #FFFAD7;
}
.direct .list>li:nth-of-type(2) h5 {
    background-color: #FFDAB9;
}
.direct .list>li:nth-of-type(3) h5 {
    background-color: #8180E6;
}
.direct .list>li:nth-of-type(4) h5 {
    background-color: #F5F0FF;
}
.direct .list>li:nth-of-type(5) h5 {
    background-color: #EBF5FF;
}

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

.cs>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 2px solid #FFE4E1;
    border-radius: 1rem;
    padding: 2rem;
}

.cs__top {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
}

.cs__top>h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cs__top>p {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

.top__select {
    width: calc(100% - 90px);
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 0 0.2rem 0.2rem 0;
    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;
}

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

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

.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: 90px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.cs__input input {
    width: calc(100% - 90px);
    height: 100%;
    border-style: none;
    border: 1px solid #ccc;
    border-radius: 0 0.2rem 0.2rem 0;
    padding-left: 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;
}

.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.2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cs__radio input[type=radio]:checked+label {
    background-color: #EB230F;
    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: 0.2rem;
    padding: 0 0 10px 0;
}

.cs__info label {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.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: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #EB230F;
    border-radius: 0.5rem;
    cursor: pointer;
}

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

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

.content .item1 {
    width: 100%;
    height: auto;
}

.content .item1 > ul {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.content .item1 > ul > li {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 2rem;
}

.content .item1 > ul > li > em {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.content .item1 > ul > li > strong {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.content .item1 > ul > li > p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.content .item1 > ul > li > a {
    width: fit-content;
    display: flex;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    padding: 8px 2rem;
}

.content .item1 > ul > li:nth-of-type(1) {
    background-color: #FFFAD7;
}
.content .item1 > ul > li:nth-of-type(2) {
    background-color: #FFF0EB;
}
.content .item1 > ul > li:nth-of-type(3) {
    background-color: #FFEBDC;
}

.content .item1 > ul > li:nth-of-type(1) > a {
    background-color: #FFEBDC;
}
.content .item1 > ul > li:nth-of-type(2) > a {
    background-color: #E1E6FF;
}
.content .item1 > ul > li:nth-of-type(3) > a {
    background-color: #F4F8F8;
}

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

.content .item2 > ul {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.content .item2 > ul > li {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 2rem;
}

.content .item2 > ul > li > em {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.content .item2 > ul > li > strong {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.content .item2 > ul > li > .bot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.content .item2 > ul > li > .bot > p {
    font-size: 0.9rem;
    font-weight: 500;
}

.content .item2 > ul > li > .bot > a {
    width: fit-content;
    height: fit-content;
    display: flex;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    padding: 8px 2rem;
}

.content .item2 > ul > li:nth-of-type(1) {
    background-color: #EBF5FF;
}
.content .item2 > ul > li:nth-of-type(2) {
    background-color: #8180E6;
}

.content .item2 > ul > li:nth-of-type(1) > .bot > a {
    background-color: #FFFAD7;
}
.content .item2 > ul > li:nth-of-type(2) {
    color: #fff;
}
.content .item2 > ul > li:nth-of-type(2) > .bot > a {
    background-color: #F08080;
}

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

.content .item3 > ul {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.content .item3 > ul > li {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F2F2F2;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
}

.content .item3 > ul > li > em {
    font-size: 1rem;
    font-weight: 700;
}
.content .item3 > ul > li > p {
    font-size: 0.9rem;
}
.content .item3 > ul > li > span {
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 1rem;
}
.content .item3 > ul > li > a {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
}
.content .item3 > ul > li > a > img {
    width: 50px;
    height: auto;
}

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

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

    .swiper-slide {
        border-radius: 0;
    }

    .swiper-slide .img img {
        width: 170px;
        height: 130px;
    }

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

    .direct .list {
        gap: 1rem;
    }

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

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

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

    .content .item1 > ul {
        flex-wrap: wrap;
    }

    .content .item2 > ul > li > .bot {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}






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

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

    .swiper-slide {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        border-radius: 0;
        padding: 1.5rem;
    }
    
    .swiper-slide .txt {
        width: 100%;
    }

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

    .swiper-slide .txt h3 {
        margin: 0;
    }

    .swiper-slide .img {
        align-self: flex-end;
    }

    .swiper-slide .img img {
        width: 130px;
        height: 80px;
    }

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

    .direct .list {
        flex-wrap: wrap;
        gap: 1rem;
    }

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

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

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

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

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

    .cs__input {
        width: 100%;
    }

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

    .input__box {
        width: 100%;
    }

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

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

    .content .item1 > ul {
        flex-wrap: wrap;
    }

    .content .item2 > ul {
        flex-wrap: wrap;
    }

    .content .item2 > ul > li > .bot {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .content .item3 > ul {
        flex-wrap: wrap;
    }

    .content .item3 > ul > li > a > img {
        width: 40px;
    }
}