@import url(./_reset.css);
/*ios대응*/
input{
    -webkit-border-radius: 0;
}

/*ios대응*/
select{
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none;
    background: url('이미지경로') no-repeat 98% 50% #fff; /*화살표 배경 넣기*/
}
select::-ms-expand{ 
    display:none;
}


.group{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.page_swipe{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    transition: top 0.5s ease;
}
section {
    height: 100vh;
    width: 100%;
}
.inner{
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
}



.sc_start {
    position: relative;
    display: flex;
    align-items: center;
    background: url(../img/bg.png) no-repeat center/cover;
}
.sc_start .inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}
.sc_start h1 img{
    width: 240px;
}

.sc_start .flex_wrap{
    display: flex;
    align-items: center;
}
.sc_start .headline_box h2{
    margin-bottom: 15px;
    font-size: 77px;
    font-weight: 700;
    color: #222;
}
.sc_start .headline_box p{
    font-size: 38px;
    font-weight: 300;
    color: #444;
}
.sc_start .img_bg{
    width: 290px;
}
.sc_start .bg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}
.sc_start .btn_start{
    margin: 80px auto 0;
    padding: 15px 50px;
    font-size: 28px;
    font-weight: 700;
    background: #fff;
    color: #222;
    border: 2px solid #fff;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all .2s;
}
.sc_start .btn_start:hover{
    color: #0074ef;
}

.sc_login{
    display: none;
    position: relative;
    background: url(../img/bg2.png) no-repeat center/cover;
}
.sc_login .login_area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 600px;
}
.sc_login .headline{
    margin-bottom: 60px;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
}
.sc_login form fieldset{
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 0;
}
.sc_login form fieldset input{
    padding: 15px 20px;
    font-size: 17px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.sc_login form fieldset .btn_login{
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 4px;
    background: #0074ef;
    color: #fff;
}

.sc_login .checkbox{
    display: flex;
    align-items: center;
    gap: 10px;
}
.sc_login .checkbox input{
    padding: 0;
    width: 17px;
    height: 17px;
    accent-color: #4e4e4e;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    /* 자동완성 배경색 */
    -webkit-box-shadow: 0 0 0 1000px var(--formColor) inset;
    box-shadow: 0 0 0 1000px var(--formColor) inset;
    /* 자동완성 글자색 */
    -webkit-text-fill-color: #000;
}

.panel{
    position: relative;
    margin-top: 80px;
    padding: 20px 30px;
    background: #ffffff;
    color: #444;
    text-align: left;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #0074ef;
}
.panel .caution{
    top: calc(0% - 20px);
    left: 20px;
    position: absolute;
    width: fit-content;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 600;
    background: #fff;
    color: #222;
}
.panel ul {
    width: fit-content;
    margin: 0 auto;
}
.panel ul li{
    width: fit-content;
}
.panel li b{
    font-weight: 700;
    color: #0059ff;
}


/* 알림창 커스텀 */
div:where(.swal2-container) h2:where(.swal2-title) {
    padding: 30px 20px 0;
    font-size: 19px;
}
div:where(.swal2-container) .swal2-html-container{
    font-size: 18px;
}
div:where(.swal2-container) div:where(.swal2-actions){
    margin: 15px auto 0;
}
div:where(.swal2-container) button:where(.swal2-styled){
    padding: 5px 20px;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){
    background: #0074ef;
}


/* 959 ~ 768 */
@media (max-width: 959px) {
    .sc_start {
        background: url(../img/bg.png) no-repeat center /130% 100%;
    }
    .sc_start .headline_box h2 {
        font-size: 65px;
    }
    .sc_start .headline_box p {
        font-size: 32px;
    }
    .sc_start .btn_start {
    }
    
    .sc_start .btn_start {
        margin: 60px auto 0;
        padding: 15px 45px;
        font-size: 25px;
    }
}

/* 767 ~ 587 */
@media (max-width: 767px) {
    .sc_start {
        background: url(../img/bg.png) no-repeat center /150% 100%;
    }
    .sc_start .headline_box h2 {
        margin-bottom: 5px;
        font-size: 50px;
    }
    .sc_start .headline_box p {
        font-size: 24px;
    }

    .sc_login .headline {
        margin-bottom: 40px;
        font-size: 34px;
    }
    .sc_login .login_area{
        width: 400px;
    }
    .panel {
        text-align-last: left;
    }
    .panel li {
        width: auto;
        margin: 0;
    }
}

/* 586 ~ 431 */
@media (max-width: 586px) {
    .sc_start {
        background: url(../img/bg_m.png) no-repeat 0% 50%/cover;
    }
    .sc_start .inner {
        gap: 30px;
    }
    .sc_start .headline_box h2 {
        margin-bottom: 5px;
        font-size: 45px;
    }
    .sc_start .headline_box p {
        font-size: 22px;
    }
    .sc_start .btn_start {
        margin: 40px auto 0;
    }
    .sc_start .btn_start {
        padding: 12px 35px;
        font-size: 21px;
    }

    .sc_login {
        background: url(../img/bg2_m.png) no-repeat center/cover;
    }
    .sc_login .login_area {
        width: 375px;
    }
    .sc_login form fieldset input {
        padding: 12px 20px;
    }
    .sc_login form fieldset .btn_login {
        padding: 12px 30px;
        font-size: 19px;
    }
    .sc_login .checkbox input {
        width: 18px;
        height: 18px;
    }
    .panel {
        margin-top: 50px;
        padding: 30px 20px;
        font-size: 14px;
    }
}

/* 430 ~ 360 */
@media (max-width: 430px) {
    .sc_start .flex_wrap{
        justify-content: center;
    }
    .sc_start .headline_box {
        text-align: center;
    }
    .sc_start .headline_box h2 {
        font-size: 38px;
    }
    .sc_start .headline_box p {
        font-size: 19px;
    }
    .sc_start h1 img{
        margin: 0 auto;
    }


    .sc_login .headline {
        font-size: 30px;
    }
    .sc_login .login_area {
        width: 330px;
    }
    .sc_login form fieldset {
        width: 100%;
    }
    .sc_login form fieldset input:not(.checkbox input){
        width: 330px;
    }
    .sc_login form fieldset .btn_login {
        font-size: 18px;
    }
    .panel {
        padding: 25px 15px;
        font-size: 14px;
    }
}