html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-align: center;
}

input{
    outline: none;
    vertical-align: middle;
     font-family: 'GmarketSansMedium';
}

input[type="radio"]{
    display: none;
}
.radio_box input{
    outline: none;
    vertical-align: middle;
    text-align: center;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    
}


/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 0;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body,
html {
    height: 100%;
    margin: auto;
}

#wrap {
    max-width: 640px;
    width: 100%;
    margin: auto;
}

/**** 상단 *****/
header {
    position: fixed;
    z-index: 99;
    top: 0;
}

header > #topNav {
    position: fixed;
    max-width: 483px;
    width: 100%;
    height: 45px;
}

header #topNav.fixed {
    position: fixed;
    background: url(../img/2.jpg) no-repeat;
    background-size: 100%;
    top: 50px;
    animation: fixx 1s;
}

@keyframes fixx {
    0% {
        top: 0px
    }

    100% {
        bottom: 100px
    }
}


header a {
    text-decoration: none;
    color: black;
}

header > #topNav > ul {
    display: flex;
    list-style: none;
}

header #topNav > ul > li {
    flex-grow: 1;
    text-align: center;
}

/**** 상단: 하위메뉴 *****/
header > #topNav > ul > li > div {
    position: absolute;
    margin: 10px 0 0 50px;
    z-index: 1;
    width: 100px;
    background: #eee;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: none;
}

header > #topNav > ul > li > div > ul {
    list-style: none;
    padding: 10px;
}

header > #topNav > ul > li > div > ul > li {
    padding: 2px 10px;
    text-align: left;
}

.top_menu {
    max-width: 483px;
    width: 100%;
    height: 50px;
    background: #bf4040;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.flot.add {
    max-width: 483px;
    width: 100%;
    height: 17vw;
    background: url(../img/flt.png) no-repeat;
    background-size: cover;
    position: fixed;
    bottom: 6px;
    z-index: 1;
    animation: flt 1s;
}
.hide {
   display: none;
}
@keyframes flt {
    0% {
        opacity: 0
    }

    100% {
        opacity: 100
    }
}



.hidden {
    opacity: 0;
}

.fade-in {
    animation: fade-in .9s;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(.7, .7)
    }

    to {
        opacity: 1;
    }
}

.bounce {
    animation: bounce 1s infinite;
   
}

@keyframes bounce {
    0% {
        top: -2px
    }

    50% {
        top: 2px
    }

    100% {
        top: -2px
    }
}



$primary-color: #013750;
$secondary-color: #F23E02;

$font-color: #fff;
$font-color-inverse: #01010B;

$container-width: 1200px;
$grid-breakpoint: 800px;
$grid-margin: 1%;
$grid-number: 12;

body,
html {
    height: 100%;
    color: $font-color;
    font: 30px sans-serif;
}

a {
    color: $font-color;
    text-decoration: none;

    &:hover {
        color: $secondary-color;
    }
}



.full-screen {
    height: 100%;
    width: 100%;
    position: relative;
}

.center {
    width: 200px;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

.center2 {
    width: 100%;
}

.center3 {
    width: 100%;
    position: absolute;
    top: 1vw;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

.center__inner {
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}

.card1 {}


.background-primary {
    background: $primary-color;
}

.background-secondary {
    background: $secondary-color;
}

.color-primary {
    color: $primary-color;
}


.sec1 {
    width: 100%;
    height: 600px;
    background: #cdd9d9;
}

.sec2{
    position: relative;
    max-width: 483px;
    margin: auto;
}

.sub1 {
    max-width: 483px;
    width: 95%;
    position: absolute;
    top: 289px;
    left: 0;
    right: 0;
    margin: auto;
}


.top_btn {
    position: absolute;
    top: 222px;
    width: 200px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;

}

.sub2 {
    width: 320px;
    position: absolute;
    top: 377px;
    left: 0;
    right: 0;
    margin: auto;
}

.sec3 {

}

.text2 {
    width: 34%;
    position: absolute;
    left: 26.5%;
    top: 25.9vw;
}

.text3 {
    width: 100%;
    margin: auto;
}

.text4 {
    width: 100%;
    position: absolute;
    top: -81.1vw;
}

.text5 {
    width: 100%;
}

.card1 {
    width: 80%;
    margin: auto;
    margin-top: 30px;
}

.card2 {
    width: 80%;
    margin: auto;
    margin-top: 10px;
}

.card3 {
    width: 80%;
    margin: auto;
    margin-top: 10px;
}

.text5 {
       width: 30%;
    margin: auto;
    position: relative;
    top: -65.3vw;
}

.text6 {
    width: 100%;
    margin: auto;
}

.post-wrap {
    max-width: 640px;
    width: 100%;
    position: absolute;

}

.slick-slide {
    margin: 0 -10px;
}

.sec4 {
  
}

.sec5 {
 
    
}

.check_box.cc1{
    float: left;
}
.check_box>input{
    float: left;
    font-size: 16px;
}

input::placeholder{
    font-size: 16px;
}

#contact{
    position: relative;
    z-index: 99;
}

.diet{
    width: 100%;
    height: 300px;
    background:url(../img/diet.jpg) no-repeat;
    background-position: center;
    background-size: cover;

}

.div_name{
    padding: 20px;
}
.div_age{
    padding: 20px;
}
.div_age input{
    width: 25%;
    height: 30px;
    font-size: 16px;
}
.div_name input{
    width: 98%;
    height: 40px;
    font-size: 16px;
}
.diet_left{
    float: left;
}
.diet_right{
    float: right;
}

.diet{
    padding: 20px;
    box-sizing: border-box
}

.diet1{
    margin-left: 10px;
    margin-top: 5px;
}
.diet2{
    margin-top: 153px;
    margin-left: 20px
}
.diet3{
    margin-top: 116px;
    margin-right: 15px;
}
.diet4{
    margin-top: 80px
}

.video_wrap{
    position: relative;
}


@media all and (min-width:640px) {

  
    
    .stem{
        position: absolute;
        width: 70px;
       right: 0;
        top: 100px;
        z-index: 9;
    }
}


@media all and (min-width:500px) {
    
   
       .stem{
        position: absolute;
        width: 70px;
       right: 0;
        top: 100px;
        z-index: 9;
    }
    
    

#contact{
  
    
}
    
    .center3{
               top: -130px;
    }
    
    .text5{
        top: -377px;
    }

}



@media (min-width:439px) and (max-width:486px) {
    .text5{
           top: -65.3vw;
    }
    
}

@media (min-width:486px) and (max-width:1920px){
    .text5{
        top:-314px;
    }
    
}
