@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: 0 0 1rem;
}

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

.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

.swiper-slide .txt {
    width: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    color: #766C61;
}

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

.swiper-slide .txt>strong {
    font-size: 1.2rem;
    font-weight: 500;
}

.swiper-slide .txt>a {
    width: fit-content;
    display: flex;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid #f7b400;
    border-radius: 2rem;
    transition: all 0.2s ease;
    padding: 6px 2rem;
}

.swiper-slide .txt>a:hover {
    color: #fff;
    background-color: #f7b400;
}

.swiper-slide .img {
    display: flex;
    align-items: center;
    padding-right: 2rem;
}

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

/*  */
.swiper-control {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    left: 10px;
    bottom: 10px;
    z-index: 99;
}

.swiper-control .swiper-button-prev {
    margin-right: 20px;
    background: url(../img/angle-left-solid.svg) 50% 50% / cover no-repeat;
}

.swiper-control .swiper-button-next {
    margin-left: 20px;
    background: url(../img/angle-right-solid.svg) 50% 50% / cover no-repeat;
}

.swiper-control .swiper-pagination {
    width: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    position: static;
    transform: none;
}

.swiper-control .swiper-autoplay {
    position: static;
    display: flex;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}

.swiper-control .swiper-autoplay>img {
    width: 9px;
    height: 14px;
    object-fit: contain;
}

.swiper-pagination-bullet {
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #000;
}


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

.direct>.inner {
    width: 100%;
    height: auto;
    background-color: #ffd21c;
    padding: 2rem 4rem;
}

.tab__wrap > hr {
    margin: 0;
    border: none;
    border-bottom: 1px solid #766C61;
    margin-bottom: 2px;
}

.tab__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -1px;
}

.tab__menu > li {
    width: 120px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #766C61;
    cursor: pointer;
    padding-bottom: 1rem;
}

.tab__menu > li.active {
    color: #000;
    border-bottom: 2px solid #fff;
}

/*  */
.tab__box {
    padding-top: 2rem;
}

.tab__box .tab__item {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
}

.tab__box .tab__item.active {
    display: flex;
}

.tab__box .tab__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.tab__box .tab__item img {
    width: 32px;
    height: auto;
    object-fit: contain;
}

.tab__box .tab__item a > h2 {
    font-size: 1rem;
    font-weight: 500;
}

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

.cs > .inner {
    width: 100%;
    height: auto;
    background-color: #fff2ae;
    padding: 2rem;
}

.cs .title {
    text-align: center;
    margin-bottom: 2rem;
}

.cs .title > strong {
    font-size: 1.2rem;
    color: #766C61;
}

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

.cs__select {
    width: calc(100% - 70px);
    height: 50px;
    font-size: 0.9rem;
    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;
}

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

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

.cs__input.last {
    width: 100%;
}

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

.input__box .cs__input {
    width: 70%;
}

.cs__input>span {
    width: 70px;
    height: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #766C61;
    text-align: center;
}

.cs__input>input {
    width: calc(100% - 70px);
    height: 100%;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    padding-left: 10px;
}

.cs__radio {
    width: 30%;
    height: 100%;
    display: flex;
    gap: 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-radius: 0.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

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

.cs__apply {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs__info {
    display: flex;
    gap: 5px;
    margin: 1rem 0;
}

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

.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__btn {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.submit {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #766c61;
    border-radius: 0.2rem;
    cursor: pointer;
}

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

.plan > .inner {
    width: 100%;
    height: auto;
    display: flex;
}

/*  */
.plan .title {
    width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.plan .title > strong {
    font-size: 1.2rem;
}

.plan .title > p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #766C61;
}

/*  */
.plan .list {
    width: 75%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.plan .list > li {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

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

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

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

.plan .list > li > a > p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #766C61;
}

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

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

    .swiper-slide {
        padding: 2rem;
    }

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

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

    .swiper-slide .img {
        padding-right: 0;
    }

    .swiper-slide .img img {
        width: 200px;
        max-height: 180px;
    }

    .swiper-control {
        left: 2rem;
    }

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

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

    .tab__menu > li {
        width: 100%;
    }

    .tab__box .tab__item {
        justify-content: space-around;
        gap: 0;
    }

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

    .plan > .inner {
        flex-direction: column;
        gap: 1rem;
    }

    .plan .title {
        width: 100%;
        padding: 0;
    }

    .plan .title > p > br {
        display: none;
    }

    .plan .list {
        width: 100%;
    }

    .plan .list > li > a {
        padding: 1.5rem;
    }
}






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

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

    .hide-m {
        font-size: 0;
    }

    .visual {
        padding: 0;
    }

    /*  */
    .swiper-slide {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem;
    }

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

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

    .swiper-slide .txt>strong>br {
        display: none;
    }

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

    .swiper-slide .img {
        display: flex;
        justify-content: center;
        padding: 0;
    }

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

    .swiper-control {
        justify-content: center;
        left: 0;
        bottom: 20px;
    }

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

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

    .tab__box .tab__item {
        justify-content: space-around;
        gap: 0;
    }

    .tab__box .tab__item a {
        flex-direction: column;
    }

    .tab__box .tab__item a > h2 {
        font-size: 0.95rem;
    }

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

    .cs .title {
        margin-bottom: 1rem;
    }

    .cs .title > strong {
        font-size: 1rem;
    }

    .cs__input {
        width: 100%;
    }

    .input__box {
        width: 100%;
    }

    .input__box .cs__input {
        width: 65%;
    }

    .cs__radio {
        width: 35%;
    }

    .cs__input>span {
        text-align: left;
    }

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

    .plan > .inner {
        flex-direction: column;
    }

    .plan .title {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0;
    }

    .plan .title > strong {
        font-size: 1.1rem;
    }

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

    .plan .title > p > br {
        display: none;
    }

    .plan .list {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

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

    .plan .list > li > a {
        padding: 1rem;
    }

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