/* 서브 네브 */
.sub-nav{
    border-bottom: 1px solid #eee;
    width: 100%;
}
.sub-nav .container{
    display: flex;
    align-items: center;
}
.sub-nav .home-btn{
    width: 50px;
    text-align: center;
    border-left: 1px solid #ddd;
    padding: 20px 10px;
    box-sizing: border-box;
}
.sub-nav .sub{
    border-left: 1px solid #ddd;
    width: 200px;
    padding: 20px 10px;
    box-sizing: border-box;
}
.sub-nav .sub .page{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sub-nav .sub2{

    background-color: var(--point-color1);
}
.sub-nav .sub2 .page{
    color: white;
}
.sub-nav .sub .page-list{
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    z-index: 10;
    background-color: white;
    box-shadow: 0px 0px 10px -5px rgba(0,0,0,0.5);
}
.sub-nav .sub .page-list span{
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

/* 1 */
.section1{
    width: 100%;
    height: 600px;
}
.section1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section1 .bg{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0; left:0;
}
.section1 .text-box{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
}
.section1 .text-box h5{
    color: rgba(255,255,255,0.6)
}

/* 2 */
.section2{
    padding-top: 80px;
    padding-bottom: 80px;
}
.section2 .section-title{
    text-align: center;
}
.section2 .btn-group{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.section2 .btn{
    width: 250px;
}

/* 3 */
.section3{
    padding-top: 50px;
    padding-bottom: 50px;
}
.section3 .info{
    border-bottom: 3px solid;
    text-align: right;
    padding-bottom: 10px;
}
.section3 .fa-asterisk{
    color: var(--point-color1);
    font-size: 10px;
    bottom: 5px;
}
.section3 .item{
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.section3 .item h6{
    width: 100px;
}
.section3 .input-box{
    width: 100%;
}
.section3 input{
    border:none;
    background-color: #eee;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: 0.5s;
}
.section3 input:focus{
    background-color: white;
    border: 1px solid var(--point-color1);
}
.section3 .input1,.section3 .input2,.section3 .input3{
    width: 40%;
}
.section3 .input5{
    width: 100%;
}
.section3 textarea{
    min-height: 250px;
    min-width: 100%;
    box-sizing: border-box;
    background-color: #eee;
    border: none;
}


.section3 .item1 .radio-group{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.section3 .item1 .box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.section3 .item1 .box input[type='radio']{
    appearance: none;
    width: 10px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 1px solid var(--point-color1);
    background-color: white;
}

.section3 .item1 .box input[type='radio']:checked::before{
    content:'';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--point-color1);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}

.section3 .item5 .input-box{
    display: flex;
    align-items: center;
    gap: 20px;
}
.section3 .item5 .email1 span{
    padding-left: 20px;
    padding-right: 20px;
}
.section3 .item5 .email2{
    background-color: #eee;
    line-height: 55px;
    padding-right: 10px;
    padding-left: 10px;
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section3 .item5 .email2 .list{
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background-color: white;
    width: 100%;
    box-sizing:border-box;
    max-height: 300px;
    overflow-y: scroll;
}
.section3 .item5 .email2 .mail{
    padding-left: 10px;
    border-bottom: 1px solid #eee;
}

.section3 .item8{
    border-bottom: 1px solid #333;
}
.section3 .item8 .row1{
    display: flex;
    gap: 10px;
}
.section3 .item8 .row1 .box{
    background-color: #eee;
    width: 100%;
    flex: 7;
}
.section3 .item8 .row1 .btn{
    background-color: #333;
    color: white;
    width: 100%;
    flex: 3;
}

.section3 .agree{
    padding-top: 50px;
    padding-bottom: 100px;
}
.section3 .agree .text-box{
    background-color: #eee;
    margin-top: 20px;
    padding: 0 30px 30px;
    box-sizing: border-box;
    border: 1px solid #666;
    color: #666;
    word-break: keep-all;
}
.section3 .agree p{
    margin-top: 30px;
}
.section3 .agree strong{
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section3 .agree strong::before{
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #333;
}
.section3 .agree .non-dot:before{
    opacity: 0;
}
.section3 .agree .check-box{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.section3 .agree input[type='checkbox']{
    appearance: none;
    border: 1px solid var(--point-color1);
    background-color: white;
    width:20px;
    height: 20px;
    padding: 0;
}
.section3 .agree input[type='checkbox']:checked::before{
    content: "✔";
    position: absolute;
    top:50%; left: 50%;
    transform: translate(-50%,-50%);
}

.section3 .agree .btn{
    border:1px solid;
    width: 150px;
    margin: 0 auto;
}

@media(max-width:1024px){
    .section3 .item{ 
        flex-direction: column;
        align-items: flex-start;
    }
    .section3 .item5 .input-box{
        flex-direction: column;
        align-items: flex-start;
    }
    .section3 .item5 .email1{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .section3 .item5 .email2{
        width: 100%;
        box-sizing: border-box;
    }
    .section3 .input1,.section3 .input2,.section3 .input3,
    .section3 .input4
    {
        width: 100%;
    }
}
@media(max-width: 650px){
    .section3 .item1 .radio-group{
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }
    .section3 .item1 .box{
        justify-content: flex-start;
    }
}
@media(max-width: 400px){
    .section3 .item1 .radio-group{
        grid-template-columns: repeat(2,1fr);
    }
}