@font-face {
    font-family: 'Pretendard-Regular';
    src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard-SemiBold';
    src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard-Black';
    src: url('../fonts/Pretendard-Black.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard-Bold';
    src: url('../fonts/Pretendard-Bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard-Medium';
    src: url('../fonts/Pretendard-Medium.woff2') format('woff2');
}

/*----------------------------------------------reset start*/

html{
    font-size:62.5%;
}
body {
    display: block;
    width: 100%;
    margin: 0 auto;
    font-family: 'Pretendard-Regular';
    font-weight: normal;
    font-size: 1.4rem;
    min-width: 360px;
    letter-spacing: -0.5px;
    color:#343A40;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    transition: .3s;
    min-height: 1vh;
    padding:64px 0;
    word-break: keep-all;
    
}

body::-webkit-scrollbar {
    display: none;
}

a {
   
    text-decoration: inherit 
}

a:hover {
    color: inherit;
    text-decoration: inherit
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

p,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {

}


pre {
    white-space: pre-wrap;
    font-family: 'spoqa han sans reg';
    margin: 0;
    line-height: 1.6;
}

label {
    margin-bottom: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*-------------------------------------------------*/

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
}
.dim{
    position: fixed;
    right:0;
    bottom:0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    background:#00000050
}
.wrap{
    display: block;
    width:100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
    overflow: hidden;
}
header{
    display: block;
    width:100%;
    margin:0 auto;
    background:rgba(255,255,255,0.8);
    height:72px;
}
.header_wrap{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:calc(100% - 360px);
    margin: 0 auto ;
    height:100%;
}
h1{
    
    text-align: center;
    font-size:3.2rem;
    color:#343A40;
    font-weight: normal;
    font-family: 'spoqa han sans reg';
}
h1 > p > strong{
    font-weight: normal;
    font-family: 'Pretendard-Black';
}
.header_wrap > ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
.header_wrap > ul > li {
    margin-left:16px;
}
.header_wrap > ul > li > a {
    font-size:1.4rem;
    color:#343A40;
    margin-left:8px;
}
.header_wrap > ul > li > a:first-child{
    margin-left:0;
}
h2{
    font-size:4.8rem;
    font-family: 'Pretendard-Regular';
    text-align: center;
    margin-top:250px;
    color:#fff;
}
h2 > strong{
    font-family: 'Pretendard-Black';
}
.mouse_area{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color:#fff;
    opacity: .5;
    margin-top:140px;
}
.mouse_area > span{
    font-size:.8rem;
    letter-spacing:0.5em;
}
#formBtn{
position: fixed;
top:calc(100vh - 141px);
width:100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
transition-duration: 1.5s;
}
.formBtn_show{
position: fixed;
top:calc(100vh - 800px) !important;
width:100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition-duration: 1.5s;
}
.form_show_btn{
    position: relative;
    cursor: pointer;
}
.form_show_btn > img{
    display: block;
}
#arrow_bx{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.arrow_bx_rotate{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) rotate(180deg) !important;
}
.form_wrap{
    background:rgba(255,255,255,0.95);
    width:100%;
padding-bottom:80px;
}
.form_wrap > h3{
    width:100%;
    text-align: center;
    padding:30px;
    font-size:3.2rem;
    color:#343A40;
    font-family: 'Pretendard-Regular';
}
.form_wrap > h3 > strong{
    font-family: 'Pretendard-Black';
}
form{
    display: block;
    width:100%;
    max-width:480px;
    margin:0 auto;
    box-sizing: border-box;
    border-radius: 24px;
    padding:24px;
    overflow-y: scroll;
    height: 560px;
}
form > .title{
    font-size:1.8rem;
    margin-bottom:8px;
    font-family: 'Pretendard-Bold';
    line-height: 1em;
}
.sm_font{
    font-size:1.2rem;
    margin-left:4px;
    font-family: 'Pretendard-Regular';
}

form > ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:100%;
    margin-bottom:16px;
}
.tire_select_area{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom:8px;
}
form > ul.phone_write{
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
form > ul > li{
    width:calc(50% - 8px);
}

.tire_select_area > ul.tire_select{
    width:calc(50% - 8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.tire_select_area > ul.tire_select:first-child{
    margin-right:16px;
}
.tire_select_area > ul.tire_select > li{
    width:100%;
    margin-bottom:8px;
}
form > ul.phone_write > li{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:100%;
    margin-bottom:10px
}
/* form > ul.phone_write > li > input{
    width:calc(100% - 46px)
} */
.remove_btn,
.add_btn{
    border:0;
    background-color:#fff;
    padding:4.5px 5px 4.5px;
    border-radius: 3px;
    cursor: pointer;
}
form select,
form input{
    padding:10.5px 8px 10.5px;
    width:100%;
    background-color:fff;
    border-radius: 3px;
    border:0;
    box-sizing: border-box;
    color:#5a5a5a;
}
form select{
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    background-image: url(../img/select_arrow.svg);
    background-repeat: no-repeat;
    background-position: center right 8px;
    background-size: auto;
}
form input::placeholder{
    color:#5a5a5a
}
.btn{
    border:0;
    border-radius: 3px;
    background:#FFDB03;
    color:#414042;
    font-size:1.6rem;
    line-height: 1em;
    width:100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'spoqa han sans mdm';
    padding:13px 0;
}
.btn > img{
    margin-right:9px;
}
footer{
    
    box-sizing: border-box;
    margin:0 auto;
    text-align: center;
    color:#343A40;
    font-size:1.4rem;
    line-height: 1.6em;
    font-family: 'spoqa han sans reg';
    font-weight: normal;   
    word-break: keep-all;
}
footer > ul{
    font-size:1.4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width:100%;
    margin-bottom:20px;
}
footer > ul > li:nth-child(2){
    padding:0 6px;
    position: relative;
    margin:0 6px;
}
footer > ul > li:nth-child(2)::after{
    content:"·";
    color:#343A40;
    position: absolute;
    right:-4px;
}
footer > ul > li:nth-child(2)::before{
    content:"·";
    color:#343A40;
    position: absolute;
    left:-4px;
}
footer > ul > li > a{
    color:#343A40;
    font-family: 'spoqa han sans reg';
    font-weight: normal;
}
#tire_rear_inch,
#tire_rear_ratio,
#tire_rear_width,
#tire_front_inch,
#tire_front_ratio,
#tire_front_width{
    display: none;
}
@media (max-width: 1200px) {
    .header_wrap{
        width:calc(100% - 160px)
    }
}

@media (max-width: 768px) {

    .header_wrap{
        width:calc(100% - 80px);
        font-size:1.8rem;
        line-height: 1em;
    }
}

@media (max-width: 576px) {
    header{
        height:72px;
    }
    .header_wrap{
        width:calc(100% - 32px);
        font-size:1.4rem;
        line-height: 1em;
        margin-bottom:40px;
    }
    h1{
        font-size:2rem
    }
    .header_wrap > ul{
        flex-direction: column;
    }
    .header_wrap > ul > li:first-child{
        margin-bottom:8px;
    }
    h2{
        font-size:3.2rem;
        margin-bottom:60px;
    }
    .tiresearchform{
        top:calc(100vh - 100px);
    }
    #formBtn{
        justify-content: flex-end;
    }
    .formBtn_show{
        top:inherit !important;
        bottom:0;
    }
    .form_wrap{
        max-height: 80vh;
        overflow-y: scroll;
    }
    .form_wrap::-webkit-scrollbar {
        display: none;
    }
    
    .form_wrap {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .form_wrap > h3{
        padding:24px 0;
        font-size:2rem
    }

    footer > p{
        font-size:1.4rem;
        line-height: 1.6em;
    }
}
