﻿
html{
    scroll-behavior: smooth;
}
.mobile{
    display:none;
}
.banner{
    background:#fffbd2;
    width: 1200px;
    margin: auto;
    margin-top: 120px;
    border-radius: 40px;
}
.banner_wrap{
    max-width: 1200px;
    margin: 4% auto 5% auto;
    height: 100%;
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.wrap{
    margin-top: 0;
}
.wrap section{
    position:relative;
    margin-bottom: 60px;
}
.wrap h3{
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 0px;
    background: white;
    box-shadow: 0 4px 4px 0px rgb(179 179 179 / 50%);
    border-radius: 37px;
    display: inline-block;
    padding: 14px 27px;
    z-index: 1;
    position: relative;
    pointer-events:none;
}
hr{
    display: inline-block;
    width: 100%;
    position: absolute;
    top: 27px;
    left: 0;
    border: 0px;
    border-top: 1px solid #e3e3e3;
}

.chip_explain h4{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.chip_explain{
    font-weight: 500;
}
.chip_explain>section>ul, .chip_explain>section>div{
    width: 96%;
    margin: 30px 2%;
}
.deliver_step li{
    color: #5b5b5b;
}

/* 전체 콘텐츠 너비 */
.wrap {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width:768px) {
    .wrap{
        width: calc(100% - 30px);
    }
    .wrap h3{
        padding: 11px 20px;
        font-size: 17px;
        border-radius: 30px;
    }
    .wrap section > hr{
        top: 23px;
    }
}


/*#region 배너*/
.banner_wrap>*{
    margin-top: 20px;
}
.banner_img{
    max-width: 480px;
    width: 70%;
}
.banner_img img{
    width: 480px;
}

.banner_text{
    width: auto;
    margin-top: 100px;
}
.banner_text h2{
    font-size: 28px;
    font-weight: 800;
    color: #454242;
    margin-bottom: 2.5%;
}

.banner_t2{
    font-size: 16px;
}
.banner_text>p{
    font-size: 16px;
    font-weight: 500;
    color:#4e4e4e;
    margin-bottom: 5px;
}
.banner_text button{
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: var(--normal-red);
    border-radius: 15px;
    cursor: pointer;
    max-width: 300px;
    height: 70px;
    margin-right:10px;
    margin-top: 3rem;
}

/* 배너 추가 스타일 */
.banner{
    box-sizing: border-box;
}
.banner_wrap{
    align-items: center;
    padding: 20px 35px 0;
    box-sizing: border-box;
}
.banner_wrap>*{
    margin-top: 0;
}
.banner_img{
    flex: 0 1 480px;
    min-width: 0;
}
.banner_img img{
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
}
.banner_text{
    flex: 1;
    min-width: 0;
    margin-top: 0 !important;
}
.banner_text h2{
    word-break: keep-all;
}
.banner_text .banner_t1{
    word-break: keep-all;
    color: #454242 !important;
}
.banner_text button{
    width: 300px;
    padding: 0 15px;
    transition: opacity .3s ease;
}
.banner_text button:hover{
    opacity: .85;
}

/* 배너 반응형 */
@media (max-width:1200px) {
    .banner {
        width: calc(100% - 60px);
    }
    .step_box{
        height: 125px;
    }
    .banner_box{
        display:flex;
        flex-wrap:nowrap;
    }
    .banner_wrap > div {
        margin-right: 10px;
        margin-left: 10px;
    }
    .banner_img {
        width: 50%;
    }
    .banner_box.onechip_banner button{
        width: 100% !important;
    }
}

@media (max-width:984px) {
    .banner{
        margin-top: 80px;
        border-radius: 30px;
    }
    .banner_wrap{
        gap: 25px;
        padding: 35px 25px 0;
    }
    .banner_wrap > div{
        margin-left: 0;
        margin-right: 0;
    }
    .banner_img{
        width: 45%;
        flex: 0 0 45%;
    }
    .banner_img img{
    width: 330px !important;
}
    .banner_text h2{
        font-size: 24px;
    }
    .banner_text > p{
        font-size: 15px;
    }
    .banner_text button{
        width: 100%;
        max-width: 280px;
        height: 55px;
        margin-top: 25px;
        font-size: 16px;
    }

}

@media (max-width:768px) {
    .mobile{
        display: block;
    }
    .banner{
        width: calc(100% - 30px);
        margin-top: 40px;
        border-radius: 24px;
    }
    .banner_wrap{
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 35px 20px 0;
    }
    .banner_wrap > div{
        width: 100%;
        margin: 0;
    }
    .banner_img{
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    .banner_img img{
        max-width: 100%;
        margin: 0 auto;
        margin-left: 0 !important;
    }
    .banner_text{
        flex: none;
        text-align: center;
    }
    .banner_text h2{
        font-size: 24px !important;
        line-height: 32px !important;
        margin-bottom: 15px !important;
    }
    .banner_text > p{
        display: block;
        font-size: 14px;
    }
    .banner_box{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .banner_text button{
        width: 100%;
        max-width: 300px;
        height: 54px;
        margin: 25px 0 0;
        border-radius: 12px;
        font-size: 15px;
    }
}
/*#endregion*/


/*#region 지금배송 절차*/

/* 원칩 소개 */
.chip{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    background: #F5F5F5;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 5%;
}

.chip_explain section.chip>div{
    width: auto;
}

.wrap .chip h3{
    display: flex;
    align-items: center;
    box-shadow: none;
    font-size: 28px;
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
    font-weight: 800;
}

.chip p{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.chip span{
    color: var(--normal-red);
    margin-left: 0.2rem;
}

/* 원칩 소개 반응형 */
@media (max-width: 984px) {
    .chip {
        gap: 2rem;
        padding: 30px;
    }

    .wrap .chip h3 {
        font-size: 24px;
    }

    .chip p {
        font-size: 16px;
    }

    .chip > img {
        width: 38%;
        min-width: 180px;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .chip {
        flex-direction: column;
        gap: 0;
        padding: 30px 20px 0;
        border-radius: 20px;
        text-align: center;
        margin-bottom: 30px !important;
    }

    .chip_explain section.chip > div {
        width: 100%;
        margin: 0;
    }

    .wrap .chip h3 {
        justify-content: center;
        font-size: 22px;
        margin-bottom: 15px;
        padding: 0;
        border-bottom: 0;
    }

    .wrap .chip h3:after{
        display: none;
    }

    .chip h3 span {
        display: inline;
    }

    .chip p {
        justify-content: center;
        font-size: 16px;
        word-break: keep-all;
    }

    .chip p span {
        display: inline;
    }

    .chip > img {
        width: 70%;
        max-width: 250px;
        height: auto;
    }
}


/* 지금배송 절차 */
.deliver_step div{
    border-radius: 20px;
    color: #5b5b5b;
}

.deliver_step_mini{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    overflow: hidden;
}

.deliver_step_mini div{
    padding:0;
}

.deliver_step p{
    font-size: 16px;
    color:#4a4a4a;
    font-weight: 600;
}

.deliver_step p span{
    color:#ff7a00;
    font-weight:bold;
    margin: 0 4px;
    font-size: 16px;
    vertical-align: bottom;
}

.wrap .deliver_step ul{
    font-size: 16px;
    margin-bottom: 20px;
}
.deliver_step li{
    font-weight: bold;
}
.deliver_step img{
    margin-right: 8px;
}

.cursorbox:hover {
    cursor: pointer;
}

.deliver_step > div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: #5B5B5B;
}
.deliver_step > div > div {
    display: flex;
    justify-content: space-between;
}

/* 상단 안내 문구 */
.deliver_step .open_note > ul {
    padding: 0;
    margin-bottom: 30px;
    list-style: none;
}

.deliver_step .open_note > ul li {
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 600;
    word-break: keep-all;
}

.deliver_step .open_note > ul li:first-child{
    margin-bottom: 5px;
}

.deliver_step .step_swiper {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.deliver_step .step_swiper .swiper-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 0;
}

.deliver_step .step_swiper .swiper-slide {
    flex: 0 0 auto;
    width: auto;
}

.deliver_step .step_swiper .swiper-slide img {
    display: block;
    max-width: none;
    margin: 0;
    object-fit: contain;
    width: 100%;
}
/* 페이지네이션 */
.deliver_step .step_pagination {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: 0 0 30px;
}

.deliver_step .step_pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #ccc;
    opacity: 1;
    transition: all .3s;
}

.deliver_step .step_pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 10px;
    background: var(--normal-red);
}

/* 배송 정보 안내 */
.deliver_step .deliver_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 30px;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    box-sizing: border-box;
}

.deliver_step .deliver_info > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
}

.deliver_step .deliver_info p {
    width: 120px;
    flex-shrink: 0;
    margin: 0;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.deliver_step .deliver_info span {
    color: #666;
    font-size: 15px;
}

/* 지금배송 절차 반응형 */
@media (min-width:985px) {
    .deliver_step .step_pagination{
        display: none;
    }
}

@media (max-width:984px) {
    .deliver_step .open_note > ul li{
        font-size: 15px;
    }
    .deliver_step .deliver_info{
        padding: 25px;
        gap: 18px;
    }
}

@media (max-width:768px) {
    .deliver_step h3 {
        cursor: pointer;
        pointer-events: auto;
    }

    /* 기본 닫힘 */
    .deliver_step .open_note {
        display: none;
        max-height: 0;
        overflow: hidden;
    }

    /* 열렸을 때 */
    .deliver_step.open .open_note {
        display: block;
        max-height: none;
        overflow: visible;
    }

    .chip_explain > section > div{
        width: 100%;
        margin: 25px 0;
    }

    .deliver_step .open_note > ul{
        margin: 15px 0;
    }

    .deliver_step .open_note > ul li{
        font-size: 14px;
        word-break: keep-all;
    }

    .deliver_step .step_swiper .swiper-slide{
        width: 60%;
    }

    .deliver_step .step_pagination{
        margin-bottom: 25px;
    }

    .deliver_step .deliver_info{
        padding: 20px 15px;
        gap: 15px;
        border-radius: 15px;
    }

    .deliver_step .deliver_info > div{
        gap: 10px;
        align-items: flex-start;
    }

    .deliver_step .deliver_info p{
        width: 90px;
        flex: 0 0 90px;
        font-size: 14px;
    }

    .deliver_step .deliver_info span{
        font-size: 14px;
        flex: 1;
        min-width: 0;
    }
}
/*#endregion*/


/*#region 지금배송 유의사항*/
.deliver_notice .notice_content {
    width: 96%;
    margin: 30px 2%;
}

.deliver_notice .notice_content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.deliver_notice .notice_content li {
    position: relative;
    padding-left: 12px;
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 600;
    word-break: keep-all;
}

.deliver_notice .notice_content li:not(:last-child){
    margin-bottom: 5px;
}

.deliver_notice .notice_content li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
}

/* 중요 안내 */
.deliver_notice .notice_content li.important {
    color: #FF7047;
}

/* 교환 및 반품 문의 */
.deliver_notice .notice_contact {
    margin-top: 12px;
    color: #555;
    font-size: 16px;
    font-weight: 600;
}

/* 유의사항 반응형 */
@media (max-width:984px) {
    .deliver_notice .notice_content li{
        font-size: 14px;
    }
    .deliver_notice .notice_contact {
        font-size: 14px;
    }
}

@media (max-width:768px) {
    .deliver_notice h3{
        cursor: pointer;
        pointer-events: auto;
    }

    .deliver_notice .notice_content{
        display: none;
        width: 100%;
        margin: 25px 0;
    }

    .deliver_notice.open .notice_content{
        display: block;
        margin: 15px 0;
    }

    .deliver_notice .notice_content li{
        padding-left: 10px;
        margin-bottom: 7px;
    }
}
/*#endregion*/


/*#region 지금배송 구매 버튼*/
.deliver_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 70px 0 100px;
}

.deliver_btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 65px;
    background: var(--normal-red);
    border-radius: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .3s;
}

.deliver_btn a:hover {
    opacity: .85;
}

/* 구매 버튼 반응형 */
@media (max-width:984px) {
    .deliver_btn{
        margin: 55px 0 80px;
    }
}

@media (max-width:768px) {
    .deliver_btn{
        margin: 45px 0 70px;
    }
    .deliver_btn a{
        width: 100%;
        max-width: 350px;
        height: 55px;
        border-radius: 12px;
        font-size: 15px;
    }
}
/*#endregion*/
