/* header 부분 */
.main{
    width: 100%; height: 350px;
    background: url(/image/sub-main-3.jpg) no-repeat;
    background-size: cover;
    background-position: center center; 
    text-align: center;
    color: #fff;
}

.head-text{
    top: 210px;
}

.head-text>h1{
    margin-bottom: 5px;
    font-size: 1.7em;
    font-weight: 600;
}

/* 섹션 부분 */
.online-section{
    width: 1100px;
    margin: 100px auto;
}

.online-section>p{
    width: calc(100% - 20); height: 80px;
    background: #f7f7f7;
    line-height: 80px;
    border-top: 2px solid #9a9a9a;
    font-size: 0.9em;
    text-align: right;
    padding-right: 20px;
    color: #333333;
}

.input-box{
    width: 100%; color: #333333;
}

.input-box>li{
    display: flex;
    margin: 10px 0;
    padding: 10px 0;
    line-height: 40px;
}

.input-box>li>p{
    width: 200px; 
    text-align: right;
    font-weight: 0.9em;
    padding-right: 50px;
}

.input-box>li .star{
    display: inline-block;
    color: #f23e16;
}

.input-box>li>input{
    width: 600px;
    padding-left: 10px;
}

.input-box>li>input{
    border: 1px solid #cccccc;
    height: 40px;
}
.input-box>li>textarea{
    border: 1px solid #cccccc;
}
.input-box>li>input:focus{
    outline: none;
}

.input-box>li:nth-child(1)>input { width: 250px; }
.input-box>li:nth-child(2)>input { width: 350px; }
.input-box>li:nth-child(3)>input { width: 150px; margin: 0 10px; text-align: center; text-indent: -10px;}
.input-box>li:nth-child(3)>input:first-of-type{margin: 0 10px 0 0;}
.input-box>li:nth-child(4)>input { width: 525px; }
.input-box>li:nth-child(5)>input { width: 700px; }
.input-box>li:nth-child(6)>input { width: 700px; }
.input-box>li:nth-child(7) textarea { width: 710px; height: 300px;}


.auto-ban>p{line-height: 19px;}
.auto-ban #autoban{width: 100px;}

.online-btn{
    width: 150px; height: 60px;
    line-height: 60px; margin: 50px auto;
    border-radius: 15px;
    background: #9a9a9a;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border: none;
    
}


/* 반응형 */
@media screen and (max-width:1200px){
    /* 섹션 부분 */
    .online-section{width: 1000px;}

}

@media screen and (max-width:1000px){
    .main{ height: 260px; }
    .head-text{ top: 100px; }
    
    /* 섹션 */
     .online-section{width: 800px; margin: 50px auto;}
    
    .input-box>li:nth-child(3)>input { width: 98px; margin: 0 5px; }
    .input-box>li:nth-child(3)>input:first-of-type{margin: 0 5px 0 0;}
    .input-box>li:nth-child(4)>input { width: 515px; }
    .input-box>li:nth-child(5)>input { width: 515px; }
    .input-box>li:nth-child(6)>input { width: 515px; }
    .input-box>li:nth-child(7) textarea { width: 525px;}
}

@media screen and (max-width:900px){
    /* 섹션 */
    .online-section{width: 600px;}
    .online-section>p{height: 50px; line-height: 50px;}
    .input-box>li{line-height: 30px;}
    .input-box>li>p{width: 100px;}
    .input-box>li>input{height: 30px;}
    
    .auto-ban>p{width: 80px; font-size: 15px; margin-right: -18px;}

}

@media screen and (max-width:650px){
    /* 섹션 */
    .online-section{width: 400px;}
    .online-section>p{font-size: 0.75em; text-align: center; padding-right: 0;}
    .input-box>li{line-height: 30px;}
    .input-box>li>p{width: 100px; padding-right: 0; font-size: 0.8em; text-align: center;}
    
    .input-box>li:nth-child(1)>input { width: calc(100% - 150px); }
    .input-box>li:nth-child(2)>input { width: calc(100% - 150px); }
    .input-box>li:nth-child(3)>input { width: 65px; margin: 0 5px; }
    .input-box>li:nth-child(3)>input:first-of-type{margin: 0 5px 0 0;}
    .input-box>li:nth-child(4)>input { width: calc(100% - 150px); }
    .input-box>li:nth-child(5)>input { width: calc(100% - 130px); }
    .input-box>li:nth-child(6)>input { width: calc(100% - 130px); }
    .input-box>li:nth-child(7) textarea { width: calc(100% - 120px);}
    
    .auto-ban>p{font-size: 12px; margin-right: 0px;}
    .auto-ban font{font-size: 12px;}
    
    .online-btn{width: 100px; height: 50px; line-height: 50px; font-size: 0.9em; margin: 20px auto;}
}

@media screen and (max-width:430px){
    /* 섹션 */
    .online-section{width: 350px;}
    .input-box>li:nth-child(3)>input { width: 48px; margin: 0 5px; }
    .input-box>li:nth-child(3)>input:first-of-type{margin: 0 5px 0 0;}
}

@media screen and (max-width:360px){
    /* 섹션 */
    .online-section{width: 340px;}
    .input-box>li:nth-child(3)>input { width: 45px; margin: 0 5px; }
    .input-box>li:nth-child(3)>input:first-of-type{margin: 0 5px 0 0;}
}

@media screen and (max-width:340px){
    /* 섹션 */
    .online-section{width: 300px;}

}