* {
    --header-height-1 : 5.5rem;
    --header-height-2 : 5rem;
    --header-height-3 : 4.5rem;
    --footer-height-1 : 5rem;
    /* --footer-height-1 : 10rem; */
    --common-width : 720px;
}
#wrap {
    width: 100%;
    margin: 0 auto 9rem;
    min-height: 100vh;
    max-width: var(--common-width);
    padding-top: var(--header-height-1);
    /* padding-bottom: var(--footer-height-1); */
    background-color: #f9f9f9;
}
.index {display: flex;flex-direction: column;justify-content: center;align-items: center;background-color: #fff !important;}
.index .indexlogo {width: 60%;max-width: 400px;}k
.index .loading {width: 40%;max-width: 300px;margin-top: 15rem;}



/* header */
header {
    width: 100%;
    z-index: 100;
    position: fixed;
    left: 50%;top: 0;
    padding: 0 1.5rem;
    height: var(--header-height-1);
    max-width: var(--common-width);
    background-color: #f9f9f9;
    transform: translateX(-50%);
    display: flex;justify-content: space-between;align-items: center;
}
header .logo img {height: calc(var(--header-height-1) / 2);display: block;}
header .open img {height: calc(var(--header-height-1) / 3);display: block;object-fit: contain;}
/* 240109추가 */
.footer{
    width: 100%;
    z-index: 100;
    position: fixed;
    left: 50%;bottom: 0;
    transform: translateX(-50%);
    max-width: var(--common-width);
}
.ads_wrap.ads_sub_sm {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}
footer {
    position: absolute;
    left: 50%;bottom: 5rem;
    width: 100%;
    height: var(--footer-height-1);
    max-width: var(--common-width);
    background-color: #fff;
    transform: translateX(-50%);
    display: flex;justify-content: space-between;align-items: center;
}
footer a {
    display: flex;justify-content: center;align-items: center;
    font-size: 1.6rem;
    color: #bfbfbf;
    background-color: #eaeaea;
    height: 100%; width: 100%;
}
footer a.color {
    background-color: #3b434f;
    color: #fff;
}



/* 햄버거 기능 */
nav .inner {
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1);
    overflow-y: scroll;
    position:fixed;
    top:0;
    right:-100%;
    width:70%;
    height:100%;
    padding:2rem;
    z-index: 1000;
    background-color: #dae7f2;
}
nav .outer {
    background-color:rgba(0, 0, 0, .5);
    min-height: 100vh;
    position:fixed;
    width:100%;
    left:0;top:0;
    z-index: 999;
    display: none;
}
nav.on .inner {display: block;right: 0;}
nav.on .outer {display: block;}
.nav_header .close {height: calc(var(--header-height-1) / 2.5);width: calc(var(--header-height-1) / 2.5);display: block;object-fit: contain;}
nav ul {margin-top: 5rem;}
nav ul li a {
    color: #565656;
    font-size: 1.8rem;
    font-weight: 900;
    padding: 1.5rem 0;display: block;
    border-bottom: 1px solid #bed1da;
}



/* 배경색이 다른 페이지 */
.gopremedi {display: block;background-color: #fff;}
.gopremedi:nth-of-type(1) {padding: 1.5rem;margin: 2rem 0 3rem;}
.gopremedi:nth-of-type(2) {padding: 3rem 1.5rem;margin: 1.5rem 1.5rem 4rem;border-radius: 1rem;border: 1px solid #f1f1f1;box-shadow: .1rem .1rem .3rem rgba(0, 0, 0, .1);}
.gopremedi h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2f4a66;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e7e7e7;
}
.gopremedi pre {
    font-size: 1.5rem;
    color: #74777d;
    line-height: 1.4;
    padding: 1rem 0;
}
.gopremedi div {
    display: flex;justify-content: space-between;
}
.gopremedi span {
    padding: 1rem 2rem;
    background-image: linear-gradient(100deg, #ea3030 30%, #c7003b 80%);
    width: fit-content;
    height: fit-content;
    border-radius: 10rem;
    color: #fff;
    line-height: 1.4;
    font-size: 1.5rem;
    display: block;
    margin-top: 1rem;
}
.gopremedi:nth-of-type(2) span {width: 100%;text-align: center;}
.gopremedi .deco {width: 10rem;}
.gopremedi .banner {width: 100%;margin-bottom: 4rem;}
.trick {width: 100%;padding: 4rem 1.5rem 0;}
.banners {
    background-color: #fff;
    padding: 3rem 1.5rem;
    display: flex;flex-wrap: wrap;gap: 1rem;
}
.banners a {
    width: calc(50% - .5rem);
}
.banners a img {
    width: 100%;
}
.step {
    box-shadow: .1rem .1rem .3rem rgba(0, 0, 0, .1);
    background-color: #fff;
    border-radius: 1rem;
    padding: 0 1.5rem 1.5rem;
    margin: 1.5rem;
}
.step p {
    background-color: #768491;
    color: #fff;
    width: fit-content;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
}
.step h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2f4a66;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e7e7e7;
}
.step pre {
    font-size: 1.4rem;
    color: #74777d;
    line-height: 1.4;
    padding: 1rem 0;
}

/* content */
.content {padding: 2rem 0;}
.content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2f4a66;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}
.content a {
    display: block;
    padding: 1.3rem 1.5rem;
    margin: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #d3d3d3;
    background-color: #f2f2f2;
}
.content a p {
    line-height: 1.4;
    font-size: 1.4rem;
    color: #7f7577;
    margin-bottom: .3rem;
}
.content a p b {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}
.content a span {
    display: flex;justify-content: right;
}
.content a span p {
    color: #fff;
    width: fit-content;
    border-radius: .5rem;
    padding: .5rem 1.3rem;
    background-color: #768491;
}

/* qna토글 */
.content .box {
    border-top: 1px solid #aaa;
    background-color: #fff;
}
.content .box .ques {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    font-size: 1.6rem;
    line-height: 1.4;
    color: #1a2541;
    font-weight: 900;
    background: url(../img/qna-open.png) no-repeat calc(100% - 1.5rem) center /1.5rem;
}
.content .box .ans {
    display: none;
    color: #7f7577;
    line-height: 1.4;
    font-size: 1.4rem;
    padding: 1.5rem 1.5rem 3rem;
    border-top: 1px solid #a5b0bc;
}
.content .box.open {
    background-color: #f2f2f2;
}
.content .box.open .ques {
    background: url(../img/qna-close.png) no-repeat calc(100% - 1.5rem) center /1.5rem;
}
.content .box.open .ans {
    display: block;
}


