@font-face {
    font-family: 'nanummyeongjo';
    src: url('../font/NanumFontSetup_TTF_MYUNGJO/NanumMyeongjo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'nanummyeongjo';
    src: url('../font/NanumFontSetup_TTF_MYUNGJO/NanumMyeongjoBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'nanummyeongjo';
    src: url('../font/NanumFontSetup_TTF_MYUNGJO/NanumMyeongjoExtraBold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}


.flex_center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex_start{
    display: flex;
    align-items: center;
    justify-content: start;
}
.flex_end{
    display: flex;
    align-items: center;
    justify-content: end;
}
.flex_btw{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

img{
    display: block;
    width: 100%;
}


main{
    position: relative;
    background: url(../images/intro/renew/main_bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0 150px;
}
main .logo{
    max-width: 383px;
    margin: auto;
}
main .logo img{
    width: 100%;
}
main .textbox{
    text-align: center;
    font-size: 32px;
   padding: 80px 0;
   color: #fff;
   line-height: 140%;
   font-family: nanummyeongjo;
}
main .grid_box{
    width: 100%;
    max-width: 1456px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
main .grid_box .grid_inner{
    width: 280px;
    height: 280px;
    background-color: #ccc;
    transition: opacity 0.3s;
}
main .grid_box .grid_inner:hover{
    opacity: 0.5;
}
main .grid_box .grid_inner img{
    width: 100%;
}
.bee{
    position: absolute;
    right: 0; bottom: 0;
    width: 160px;
    background-color: #766355;
    color: #fff;
    text-align: center;
    padding: 11px 0;
}
.bee a{
    color: #fff;
    font-size: 18px;
}


footer{
    padding: 40px 0 195px;
    color: #BEBEBE;
    background-color: #F3F3F3;
    transition: all 0.5s;
}
footer.active{padding: 40px 0 50px;}
footer .logo{
    max-width: 195px;
    margin: auto;
}
footer .logo img{
    width: 100%;
}
footer .info{
    max-width: 740px;
    margin: auto;
    padding: 40px 0 20px ;
}
footer .info p{
    font-size: 20px;
}
footer .info .flex_center{
    gap: 70px;
    margin-bottom: 15px;
}
footer .info .flex_center:nth-child(2){
    margin-bottom: 0;
}
footer span{
    display: block;
    text-align: center;
    font-size: 16px;
}



.floating_nav{
    position: fixed;
    right: 50px;
    bottom: 200px;
    width: 100px;
    display: flex;
    flex-direction: column;
    z-index: 999;
}




.form_wrap{
    position: fixed;
    z-index: 999;
    bottom: 0; left: 0;
    width: 100%;
    background-color: #D1C0B0;
    transition: all 0.5s;
}
.form_wrap.active{
    bottom: -145px;
}
.form_wrap .rel{
    position: relative;
}
.form_wrap .kaka{
    max-width: 267px;
}
.form_wrap .kaka img{
    width: 100%;
}
.form_wrap .form{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.form_wrap .form .submit{
    max-width: 216px;
}
.form_wrap .form .submit img{
    width: 100%;
}
.form_wrap .flex_center{
    gap: 10px;
}
.form_wrap .form_inner{
    width: 340px;
}
/* .form_wrap .name{gap: 30px;} */
.form_wrap .name input{
    width: 278px;
    height:  40px;
    padding-left: 10px;
    background-color: #fff;
    border: 1px solid #BEBEBE;
}
/* .form_wrap .tel {gap: 12px;} */
.form_wrap .name label{width: 55px;}
.form_wrap .tel label{width: 116px;}
.form_wrap .tel input{
    width: 29.2%;
    height: 40px;
    padding-left: 10px;
    background-color: #fff;
    border: 1px solid #BEBEBE;
}
.form_wrap .tel .flex_end{
    gap: 15px;
}
.form_wrap .flex_btw{
    margin-bottom: 10px;
}
.form_wrap .flex_end{
    font-size: 12px;
}
.form_wrap .flex_end a{
    font-size: 14px;
    font-weight: 700;
}
.form_wrap .submit button{
    cursor: pointer;
    background: none;
    border: none;
}
.form_wrap .toggle{
    position: absolute;
    right: 27%; top: -40px;
    width: 70px;
    height: 40px;
    border-top-right-radius:10px ;
    border-top-left-radius: 10px;
    background-color: #D1C0B0;
    padding: 8px 0;
    cursor: pointer;
}
.form_wrap .toggle img{
    display: block;
    width: 30px;
    margin: auto;
    transition: all 0.5s;
}
.form_wrap .toggle img.active{
    transform: rotate(180deg);
}




.spine_gif{background-color: #f3f3f3;}
.spine_gif .flex_center{
    width: 100%;
    max-width: 816px;
    margin:15px auto 0;
    flex-wrap: wrap;
}
.spine_gif .flex_center .two{
    width: 408px;
}
#daumRoughmapContainer1752567637207{
    width: 42.9%;
    margin: auto;
}
.root_daum_roughmap .cont .section.lst,
.root_daum_roughmap .wrap_controllers{display: none;}

.diet_gif {background-color: #fff;}
.diet_gif img{
    width: 100%;
    max-width: 900px;
    margin: auto;
}



.only_m{display: none;}
@media screen and (max-width:860px){
    .only_pc{display: none;}
    .only_m{display: block;}
    
    main{background: url(../images/intro/renew/mobile/main_bg.jpg);}
    main .grid_box{
        grid-template-columns: repeat(1,1fr);
    }
    main .grid_box .grid_inner{
        width: 720px;
        height: unset;
        margin: auto;
    }

    .floating_nav{
        right: 20px;
    }

    .form_wrap .toggle{
        right: 0;
    }
    .form_wrap .tel .flex_end {
        width: 87%;
        gap: 8px;
    }
    .form_wrap .tel label{
        width: 20%;
    }
    .form_wrap .name label{
        width: 63px;
    }
    .form_wrap .tel input {
        width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
    }
}
