@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;
    gap: 2rem;
}

/*  */
.swiper1 {
    width: 65%;
    height: auto;
    border-radius: 1rem;

}

.swiper1 .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: normal;
    background-color: #ffedcc;
    padding: 4rem 3rem;
    position: relative;
}

.swiper1 .swiper-slide .title>h2 {
    font-size: 1.2rem;
    color: #fb6a19;
    margin-bottom: 2rem;
}

.swiper1 .swiper-slide .title>p {
    font-size: 1.8rem;
    font-weight: 700;
}

.swiper1 .swiper-slide>a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #9b8968;
}

.swiper1 .swiper-slide .img {
    position: absolute;
    right: 3rem;
    bottom: 4rem;
}

.swiper1 .swiper-slide .img img {
    width: fit-content;
    max-width: 170px;
    height: 150px;
    object-fit: contain;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    width: fit-content;
    height: auto;
    top: 2rem;
    right: 2rem;
    left: auto;
    bottom: auto;
    text-align: right;
}

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

/*  */
.cs {
    width: 35%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 2rem;
}

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

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

/* select */
#csSelect {
    width: 65%;
    height: 50px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    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;
}

#csSelect option {
    font-size: 1rem;
    padding: 1rem;
}

.cs__input.box {
    gap: 1rem;
}

.cs__input>span {
    width: 70px;
    height: auto;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

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

.cs__input input:focus {
    border: 2px solid #000;
    outline: none;
}

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

.cs__radio {
    width: 35%;
    height: 50px;
    display: flex;
}

.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;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.cs__radio input[type=radio]:checked+label {
    color: #ffc337;
    border: 1px solid #ffc337;
}


.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: #ffc337;
    border-radius: 0.5rem;
    cursor: pointer;
}

.submit.katalk {
    color: #000;
    background-color: #f7e600;
}

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

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

.content .title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1rem;
}

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

.content .title>p {
    font-size: 1rem;
    font-weight: 500;
    color: #595959;
}

.content .list {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.content .list>li {
    width: 33.33%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    line-height: normal;
    transition: background-color 0.2s ease;
    margin-left: -1px;
    margin-bottom: -1px;
    padding: 2rem;
}

.content .list>li:hover {
    background-color: #fff1ea;
}

.content .list>li:nth-of-type(1) {
    border-radius: 1rem 0 0 0;
}

.content .list>li:nth-of-type(3) {
    border-radius: 0 1rem 0 0;
}

.content .list>li:nth-of-type(4) {
    border-radius: 0 0 0 1rem;
}

.content .list>li:nth-of-type(6) {
    border-radius: 0 0 1rem 0;
}

.content .list .img {
    margin-bottom: 1.5rem;
}

.content .list .img img {
    width: 60px;
    height: 55px;
    object-fit: contain;
}

.content .list>li>h4 {
    font-size: 0.95rem;
    color: #595959;
    margin-bottom: 10px;
}

.content .list>li>h5 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.content .list>li>a {
    display: flex;
    font-size: 0.95rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2rem;
    padding: 10px 3rem;
}

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

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

.direct .title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1rem;
    padding: 0 28px;
}

.direct .title>h3 {
    font-size: 1.4rem;
}

.direct .title>p {
    font-size: 1rem;
    font-weight: 500;
    color: #595959;
}

.direct__menu {
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    padding: 0 28px;
}

.direct__menu>li {
    font-size: 1rem;
    font-weight: 500;
    color: #7f7f7f;
    background-color: #f3f3f3;
    border-radius: 2rem;
    padding: 8px 2rem;
    cursor: pointer;
}

.direct__menu>li.active {
    color: #fff;
    background-color: #000;
}

/* 슬라이드 */
.swiper2 {
    width: 100%;
    height: auto;
    padding: 1rem 28px;
}

.swiper2 .swiper-slide {
    width: 100%;
    height: auto;
    min-height: 235px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 3px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 0.5rem;
    line-height: normal;
    transition: background-color 0.2s ease;
    padding: 1.5rem 2rem;
}

.swiper2 .swiper-slide:hover {
    background-color: #fff1ea;
}

.swiper2 .swiper-slide .tag {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: normal;
}

.swiper2 .swiper-slide .tag img {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.swiper2 .swiper-slide .tag>h4 {
    font-size: 0.9rem;
    color: #595959;
}

.swiper2 .swiper-slide>h5 {
    font-size: 1.1rem;
    display: inline-block;
    position: relative;
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a73e8;
    background: #e5efff;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 6px;
    padding: 2px 6px;
}

.swiper2 .swiper-slide>p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #404040;
}

.swiper2 .swiper-slide>a {
    display: flex;
    align-items: center;
    gap: 5px;
    border-top: 1px solid #ccc;
    padding: 1rem 0 0;
}

.swiper2 .swiper-slide>a>img {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.swiper2 .swiper-slide>a>span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #595959;
}


/* 공통 버튼 스타일 */
.swiper2 .swiper-button-prev,
.swiper2 .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.swiper2 .swiper-button-prev.tablet,
.swiper2 .swiper-button-next.tablet {
    display: none;
}

.swiper2 .swiper-button-prev.mobile,
.swiper2 .swiper-button-next.mobile {
    display: none;
}

/* 기본 Swiper 화살표 제거 */
.swiper2 .swiper-button-prev::after,
.swiper2 .swiper-button-next::after {
    display: none;
}

/* 커스텀 화살표 */
.swiper2 .swiper-button-prev::before,
.swiper2 .swiper-button-next::before {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid #444;
    border-bottom: 2px solid #444;
    display: block;
    transform-origin: center;
}

/* 방향 회전 */
.swiper2 .swiper-button-prev::before {
    transform: rotate(45deg) translate(1px, 0);
}

.swiper2 .swiper-button-next::before {
    transform: rotate(-135deg) translate(1px, 0);
}

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

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

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

.ft__call>.inner>ul>li {
    width: 100%;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 3px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 0.5rem;
}

.ft__call>.inner>ul>li:nth-of-type(1) {
    background-color: #e7f8f1;
}

.ft__call>.inner>ul>li:nth-of-type(2) {
    background-color: #fff1ea;
}

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

.ft__call>.inner>ul>li>a>h5 {
    font-size: 1.1rem;
}

.ft__call .txt {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ft__call .txt>p {
    font-size: 1rem;
    font-weight: 500;
}

.ft__call .txt>span {
    font-size: 0.9rem;
    color: #404040;
}





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

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

    .visual {
        padding: 1rem 1rem 2rem;
    }

    .visual>.inner {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .swiper1 {
        width: 100%;
    }

    .swiper1 .swiper-slide {
        gap: 2rem;
    }

    .swiper1 .swiper-slide .title>p {
        font-size: 1.4rem;
    }

    .swiper1 .swiper-slide .img img {
        max-width: 150px;
        height: 130px;
    }

    /*  */
    .cs {
        width: 100%;
    }

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

    .content .list>li {
        width: 50%;
        border-radius: 0 !important;
    }

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

    .direct__menu {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .direct__menu>li {
        width: calc(25% - 8px);
        text-align: center;
        padding: 8px 2rem;
    }

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

    .swiper2 .swiper-button-prev.tablet,
    .swiper2 .swiper-button-next.tablet {
        display: flex;
    }

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

}






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

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

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

    .visual > .inner {
        flex-wrap: wrap;
        gap: 0;
    }

    /*  */
    .swiper1 {
        width: 100%;
        border-radius: 0;
    }

    .swiper1 .swiper-slide {
        gap: 1rem;
        padding: 2rem;
    }

    .swiper1 .swiper-slide .title>h2 {
        font-size: 1rem;
    }

    .swiper1 .swiper-slide .title>p {
        font-size: 1.4rem;
    }

    .swiper1 .swiper-slide .title>p>br {
        display: none;
    }

    .swiper1 .swiper-slide>a {
        font-size: 1rem;
    }

    .swiper1 .swiper-slide .img {
        position: static;
        display: flex;
        justify-content: flex-end;
    }

    .swiper1 .swiper-slide .img img {
        max-width: 120px;
        height: 100px;
    }

    /*  */
    .cs {
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #ccc;
        box-shadow: none;
    }

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

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

    .content .list>li {
        width: 100%;
        border-radius: 0 !important;
        padding: 1.5rem;
    }

    .content .list>li>h5 {
        margin-bottom: 1rem;
    }

    .content .list .img {
        margin-bottom: 1rem;
    }

    .content .list .img img {
        width: 50px;
        height: 40px;
    }


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

    .direct .title>h3 {
        font-size: 1.2rem;
    }

    .direct__menu {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .direct__menu>li {
        width: calc(50% - 5px);
        text-align: center;
        padding: 8px 1rem;
    }

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

    .swiper2 .swiper-button-prev {
        left: 0;
    }

    .swiper2 .swiper-button-next {
        right: 0;
    }

    .swiper2 .swiper-button-prev.tablet,
    .swiper2 .swiper-button-next.tablet {
        display: flex;
    }

    .swiper2 .swiper-button-prev.mobile,
    .swiper2 .swiper-button-next.mobile {
        display: flex;
    }


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

    .ft__call>.inner>ul {
        flex-wrap: wrap;
    }
}