@charset "utf-8";

/*-------------------------------------------------------------------
  파일정의 : style (공통 스타일 정의 button, input)
  작성날짜 : 2025-04-15 강지연
-------------------------------------------------------------------*/

/* icon */
.ic {
    display: inline-block;
}
.ic.go-arrow {
    background: url("../asset/images/icon/ic_arrow_r_wh.svg");
    width: 40px;
    height: 40px;
    background-size: cover;
}
.ic.blog {
    background: url("../asset/images/icon/ic_blog.svg");
    width: 30px;
    height: 30px;
    background-size: cover;
}
.ic.kakao {
    background: url("../asset/images/icon/ic_kakao.svg");
    width: 30px;
    height: 30px;
    background-size: cover;
}
/* common - button style */
.btn-area{
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn.go-btn{
    padding: 24px 0;
    width: 449px;
    max-width: 100%;
    border-radius: 14px;
    background-color: #5182FE;
    color: #FFF;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.btn.inline{
    display: inline-block;
}
.btn.inline-flex{
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn.prev,
.btn.next{
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #5182FE;
}
.btn.prev::after{
    content: "";
    display: block;
    background: url("../asset/images/icon/ic_arrow_left_wh.svg") no-repeat;
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.btn.next::after{
    content: "";
    display: block;
    background: url("../asset/images/icon/ic_arrow_wh.svg") no-repeat;
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.round{
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    border-radius: 27px;
    padding: 0 24px 0 34px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.round img{
    display: block;
}
.round.blue{
    background: #5182FE;
    color: #FFF;
}
.round.line{
    border: 2px solid #5182FE;
    color: #5182FE;
}
.round.small{
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.square{
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #4C4E55;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #FFF;
}
.square.line.gray{
    border: 2px solid #8A8C92;
    background-color: transparent;
    color: #4C4E55;
}
.square.line{
    padding: 12px 30px;
    border-radius: 12px;
    background-color: transparent;
    border: 2px solid #EBF1FF;
    color: #FFF;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
}
.square.line:has(.ic) {
    padding: 10px 30px 10px 20px;
    font-size: 18px;
    min-width: 337px;
}
.confirm{
    border-radius: 8px;
    background: #1E1F23;
    color: #FFF;
    padding: 0 16px;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* common - input style */
label .title{
    font-size: 18px;
    font-weight: 500;
    line-height: 1.36;
}
label input[type=text],
label input[type=tel]{
    padding: 0 16px;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}
label:has(input[type="checkbox"]),
label:has(input[type="radio"]){
    position: relative;
    font-size: 0;
}
input[type="checkbox"],
input[type="radio"]{
    display: none;
}

input[type="checkbox"] + span,
input[type="radio"] + span{
    display: inline-block;
    font-size: clamp(16px, 0.833vw, 28px);
    font-weight: 500;
    line-height: 20px;
    color: #4C4E55;
    position: relative;
}
input[type="checkbox"] + span::before,
input[type="radio"] + span::before{
     display: inline-block;
     content: '';
    width: clamp(18px, 0.938vw, 40px);
    height: clamp(18px, 0.938vw, 40px);
     border-radius: 4px;
     background: #E9EAEE;
     margin-right: 10px;
    vertical-align: text-bottom;
 }
input[type="checkbox"]:checked + span::before,
input[type="radio"]:checked + span::before{
    background-color: #4C4E55;
}

input[type="checkbox"] + span::after,
input[type="radio"] + span::after{
    content: '';
    display: block;
    width: clamp(12px, 0.6vw, 24px);
    height: clamp(9px, 0.45vw, 20px);
    background: url("../asset/images/icon/ic_check_wh.svg") center no-repeat;
    background-size: cover;
    position: absolute;
    top: 6px;
    left: 3px;
    z-index: 10;
}
input[type="checkbox"] + span::after {
    top: 5px;
}
.box-input{
    display: block;
}
.box-input input[type="checkbox"]{
    display: none;
}
.box-input input[type="checkbox"] + span{
    display: block;
    padding: 8px 20px;
    border: 2px solid #8A8C92;
    border-radius: 10px;
    font-size: clamp(16px, 0.833vw, 28px);
    font-weight: 600;
    line-height: 1.5;
    color: #4C4E55;
    -webkit-user-select: none; /* Safari, Chrome */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;
}
.box-input  input[type="checkbox"] + span::before,
.box-input  input[type="checkbox"] + span::after {
    display: none;
    }
.box-input input[type="checkbox"]:checked + span{
    border-color: #4C4E55;
    background-color: #4C4E55;
    color: #FFF;
}
/*tab-btn-list style*/
.tab-btn-wrap{
    overflow-x: auto;
    margin: 0 -8px 30px;
    padding: 0 8px;
}
.tab-btn-wrap::-webkit-scrollbar{
    display: none;
}
.tab-btn-list{
    min-width: max-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/*common style*/
section{
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}


.tab-btn-list li{
    padding: 16px 23px;
    font-size: 22px;
    font-weight: 600;
    line-height: 150%;
    color: #DADBDE;
}
.tab-btn-list li.active{
    color: #5182FE;
    border-bottom: 3px solid #5182FE;
}

/*dropdown-list style*/
.dropdown-list li + li{
    border-top: 1px solid #E9EAEE;
}
.dropdown-list li .question{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 32px 24px;
    position: relative;
}
.dropdown-list li .question .img-area{
    display: block;
    width: 24px;
    height: 26px;
}
.dropdown-list li .question .img-area img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dropdown-list li .question::after{
    content: '';
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: url(../asset/images/icon/ic_dropdown_gy.svg) no-repeat center;
    background-size: 18px 18px;
    position: absolute;
    right: 24px;
}
.dropdown-list li .question.active::after{
    transform: rotate(180deg);
}
.dropdown-list li .question-icon{
    flex-shrink: 0;
}
.dropdown-list li .title{
    font-size: clamp(22px, 1.1458vw, 40px);
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    padding: 0 20px;
    flex: 1;
}
.dropdown-list li .dropdown-btn{
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}
.dropdown-list li .answer{
    height: 0;
    overflow: hidden;
    transition: .3s;
}
.dropdown-list li .answer p{
    background-color: #F6F7F9;
    padding: 30px 68px;
    font-size: clamp(16px, 0.833vw, 28px);
    line-height: 1.5;
}

/* modal */
.modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #00000099;
    z-index: 9999;
}
.modal-wrap .modal {
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 24px;
    border-radius: 16px;
}
.modal-wrap .modal .txt-area {
    padding-top: 14px;
    text-align: center;
}
.modal-wrap .modal .txt-area .title {
    font-size: clamp(22px, 1.1458vw, 40px);
    font-weight: 600;
    line-height: 1.5;
}

.modal-wrap .modal .txt-area .desc {
    font-size: clamp(16px, 0.833vw, 28px);
    line-height: 1.5;
    margin-top: 16px;
    color: #1E1F23;
}

.modal-wrap .modal .btn-area {
    width: 100%;
    margin-top: 30px;
}
.modal-wrap .modal .btn-area button {
    background: #5182FE;
    width: 100%;
    min-height: 60px;
    border-radius: 10px;
    color: #fff;
    font-size: clamp(18px, 0.938vw, 40px);
    font-weight: 600;
    line-height: 1.5;
    padding: 16px;
    box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
    .ic.blog, .ic.kakao {
        width: 24px;
        height: 24px;
    }
    .square.line:has(.ic) {
        font-size: 14px;
        padding: 8px 14px 8px 10px;
        width: 200px;
        min-width: auto;
        max-width: 100%;
    }
    .ic.go-arrow {
        width: 30px;
        height: 30px;
        background-size: cover;
    }
    .tab-btn-wrap {
        margin: 0 -32px 14px;
        padding: 0 32px;
    }
    .tab-content-list .img-area {
        border-radius: 18px;
    }

    .tab-btn-list li {
        font-size: 16px;
        padding: 10px 4px;
    }

    .tab-btn-list {
        min-width: max-content;
        gap: 18px;
    }

    .tab-btn-list li.active {
        border-bottom: 2px solid #5182FE;
    }
    .btn-area{
        width: 100%;
        gap: 6px;
    }
    .btn-area .btn:not(.inline) {
        width: 136px;
    }
    .btn-area .btn.round {
        max-width: calc((100% - 8px)/2);
    }
    .btn.prev,
    .btn.next{
        width: 40px;
        height: 40px;
        padding: 0;
    }
    .btn.prev::after,
    .btn.next::after{
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }
    .round{
        height: 48px;
        font-size: 16px;
        font-weight: 500;
        padding: 0 22px 0 26px;
        gap: 6px;
    }
    .round img{
        max-width: 20px;
        max-height: 20px;
    }
    .square.line{
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 14px;
    }
    .foot-intro .btn-area button{
        width: auto;
    }
    input[type="checkbox"] + span{
        font-size: 14px;
    }
    input[type="checkbox"] + span::before{
        width: 18px;
        height: 18px;
    }
    input[type="checkbox"] + span {
        line-height: 18px;
    }
    .dropdown-list li .question{
        padding: 20px 10px;
    }
    .dropdown-list li .question .img-area{
        position: absolute;
        top: 24px;
        left: 10px;
        width: 16px;
        height: 17px;
    }
    .dropdown-list li .title{
        font-size: 16px;
        text-align: left;
        padding-left: 32px;
    }
    .dropdown-list li .question::after{
        right: 10px;
        background-size: 13px 8px;
    }
    .dropdown-list li .answer p{
        padding: 20px 38px;
        font-size: 14px;
    }
    .box-input input[type="checkbox"] + span {
        padding: 8px 14px;
        font-size: 14px;
    }
    .modal-wrap .modal {
        padding: 16px 20px;
        border-radius: 10px;
    }
    .modal-wrap .modal .txt-area {
        padding-top: 8px;
    }
    .modal-wrap .modal .txt-area .title {
        font-size: 18px;
    }
    .modal-wrap .modal .txt-area .desc {
        font-size: 14px;
        margin-top: 8px;
    }
    .modal-wrap .modal .btn-area {
        margin-top: 20px;
    }
    .modal-wrap .modal .btn-area button {
        font-size: 16px;
        height: 52px;
        min-height: auto;
    }
}
@media screen and (max-width: 767px){

}