* {
    --header-height-1 : 5.5rem;
    --header-height-2 : 5rem;
    --header-height-3 : 4.5rem;
    --footer-height-1 : 7rem;
    --footer-height-2 : 5rem;
    --common-width : 580px;
}
#wrap {
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    max-width: var(--common-width);
    padding-top: var(--header-height-1);
    /* padding-bottom: var(--footer-height-1); */
}
#wrap.index {
    display: flex;flex-direction: column;justify-content: center;align-items: center;
    background-image: linear-gradient(110deg ,#d7aadb 30%, #b1a1db 90%);
}
#wrap.index h2 {font-size: 1.8rem;font-weight: bold;text-align: center;line-height: 1.4;color: #fff;}
#wrap.index .swiper {
    width: 100%;
    padding-bottom: 8rem;
}
#wrap.index .swiper .swiper-wrapper .swiper-slide {
    height: 15rem;
    width: fit-content;
}
#wrap.index .swiper .swiper-wrapper .swiper-slide img {
    height: 100%;width: 100%;
    object-fit: contain;
}
#wrap.index .logo {
    width: 8rem;
    margin-bottom: 2rem;
}
#wrap.index .logo img {
    width: 100%;
}
#wrap.index .buttonWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    width: 100%;
    padding: 0 1.5rem;
}
#wrap.index .buttonWrap a {
    font-size: 1.6rem;
    color: #b1a1db;
    background: #fff;
    padding: 1.5rem 0;
    border-radius: 0.5rem;
    width: 100%;
    text-align: center;
}

/* header */
header {
    position: fixed;
    left: 50%;top: 0;
    padding: 0 1.5rem;
    z-index: 100;
    width: 100%;
    height: var(--header-height-1);
    max-width: var(--common-width);
    background-color: #fff;
    transform: translateX(-50%);
    display: flex;justify-content: space-between;align-items: center;
}
header a img {height: calc(var(--header-height-1) - 3rem);display: block;}
header .prev {
    padding: 2.2rem 0;
    width: var(--header-height-1);
    height: var(--header-height-1);
    display: flex;align-items: center;
}
header .prev img {height: 100%;object-fit: contain;}

header .logoutWithdraw {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
header .logoutWithdraw img {
    width: 2rem;
}
header .logoutWithdraw button {
    font-size: 1.6rem;
}

#logoutModal {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    z-index: 8888;
    top: 0;
}
#logoutModal .box {
    background: #fff;
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
    padding: 4rem 1.5rem 1.5rem 1.5rem;
}
#logoutModal .box > p {
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 4rem;
}
#logoutModal .box .buttonWrap {
    display: flex;
    gap: 1.5rem;
}
#logoutModal .box .buttonWrap form {
    width: 50%;
}
#logoutModal .box .buttonWrap form button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.5rem 0;
    border-radius: 0.5rem;
    background: #b2a0da;
}
#logoutModal .box .buttonWrap > button {
    width: 50%;
    font-size: 1.6rem;
    padding: 1.5rem 0;
    font-weight: 600;
    background: #c8c8c8;
    border-radius: 0.5rem;
}
#logoutModal .box > button {
    font-size: 1.4rem;
    border-bottom: 1px solid #333;
}
#logoutModal .withdraw {
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#logoutModal .withdraw p {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7b7b7b;
}
#logoutModal .withdraw p img {
    width: 1rem;
}
#logoutModal .withdraw button {
    font-size: 1.4rem;
    font-weight: 600;
}

#withdrawModal {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    z-index: 8888;
    top: 0;
}
#withdrawModal .box {
    background: #fff;
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
    padding: 4rem 1.5rem 1.5rem 1.5rem;
}
#withdrawModal .box > p {
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 4rem;
}
#withdrawModal .box .buttonWrap {
    display: flex;
    gap: 1.5rem;
}
#withdrawModal .box .buttonWrap form {
    width: 50%;
}
#withdrawModal .box .buttonWrap form button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.5rem 0;
    border-radius: 0.5rem;
    background: #b2a0da;
}
#withdrawModal .box .buttonWrap > button {
    width: 50%;
    font-size: 1.6rem;
    padding: 1.5rem 0;
    font-weight: 600;
    background: #c8c8c8;
    border-radius: 0.5rem;
}

/* home_content */
.home_content {
    padding: 1rem 2rem;
}
.home_content > p {
    line-height: 1.4;
}
.home_content > p:nth-of-type(1) {
    font-size: 1.8rem;
    margin-bottom: .5rem;
    color: #666;
}
.home_content > p:nth-of-type(2) {
    font-size: 2.2rem;
    color: #666;
    font-weight: 800;
}
.home_content p:nth-of-type(3) {
    font-size: 2.8rem;
    color: #975c8d;
    font-weight: 900;
    margin-bottom: 3rem;
}
.home_content span {
    display: flex;align-items: center;
    font-size: 1.5rem;
    margin: 1.3rem 0;
    color: #848484;
}
.home_content span img {
    width: 2rem;
    margin-right: .5rem;
}
.home_content .btns {
    margin-top: 3.5rem;
    border: 1px solid #ebebeb;
    background-color: #f9f9f9;
    box-shadow: .1rem .1rem .3rem rgba(0, 0, 0, .2);
    border-radius: .5rem;
    padding: 2.5rem 1.5rem;
}
.home_content .btns a {
    padding: 1.4rem 4rem 1.4rem 0;
    display: block;
    background: url(../img/arrow.png) no-repeat 100% center / 3rem ;
    border-bottom: 1px solid #e6e6e6;
}
.home_content .btns a:last-child {
    border-bottom: none;
}
.home_content .btns a p:nth-of-type(1) {
    font-size: 1.8rem;
    font-weight: 600;
    color: #191919;
    line-height: 1.3;
}
.home_content .btns a p:nth-of-type(2) {
    font-size: 1.6rem;
    color: #999;
    line-height: 1.3;
}















/* test_ing */
.progress_wrap {
    position: fixed;
    left: 50%;
    top: var(--header-height-1);
    width: 100%;
    z-index: 100;
    max-width: var(--common-width);
    background-color: #fff;
    padding: 0 1.5rem 1.5rem;
    transform: translateX(-50%);
}
.progress {
    border: 1px solid #e4e4e4;
    border-radius: .7rem;
    padding: 1.5rem 1rem;
    display: flex;align-items: center;
}
.progress p {
    font-size: 1.6rem;
    margin-right: 1rem;
}
.progress .stick {
    width: 100%;
    height: .5rem;
    overflow: hidden;
    position: relative;
    border-radius: 10rem;
    background-color: #cacaca;
}
.progress .stick .inner {
    width: 12%;
    height: 100%;
    position: absolute;
    left: 0;top: 0;
    background-image: linear-gradient(110deg ,#d7aadb 30%, #b1a1db 90%);
}
.test_ing {padding: 1.5rem;padding-top: var(--header-height-1);}
.test_ing ul li {
    padding: 3rem 2rem 4.5rem;
    border-bottom: 1px solid #d3d3d3;
    display: flex;flex-direction: column;justify-content: center;align-items: center;
}
.test_ing ul li.gray p {
    color: #3f3f3f;
}
.test_ing ul li p {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    color: #c8c8c8;
    margin-bottom: 2rem;
}


.radios {
    width: 100%;
    position: relative;
    display: flex;justify-content: space-between;align-items: center;
}
.radios::after {
    content: "";
    position: absolute;
    left: 2.5rem;top: 50%;
    width: calc(100% - 5rem);height: 1px;
    background-color: #c8c8c8;
    z-index: -1;
}
.radios input {
    position: absolute;
    width: 0;height: 0;
    left: 0;top: 0;
}
.radios label {
    cursor: pointer;
    position: relative;
    border-radius: 100%;
    border: 1px solid #c8c8c8;
}
.radios label::after {
    content: "";
    z-index: -1;
    position: absolute;
    left: 50%;top: 50%;
    border-radius: 100%;
    width: .7rem;height: .7rem;
    background-color: #c8c8c8;
    transform: translate(-50%, -50%);
}
.radios label:nth-of-type(1):before {
    content: "아니다";
    position: absolute;
    left: 0;
    bottom: -3rem;
    font-size: 1.4rem;
    color: #111;
}
.radios label:nth-of-type(5):before {
    content: "그렇다";
    position: absolute;
    font-size: 1.4rem;
    bottom: -3rem;
    color: #111;
    right: 0;
}
.radios input:checked + label {
    border: 1px solid transparent;
    background-image: linear-gradient(110deg ,#d7aadb 30%, #b1a1db 90%);
}
.radios label:nth-of-type(1){width: 5rem;height: 5rem;}
.radios label:nth-of-type(2){width: 4.1rem;height: 4.1rem;}
.radios label:nth-of-type(3){width: 3.8rem;height: 3.8rem;}
.radios label:nth-of-type(4){width: 4.1rem;height: 4.1rem;}
.radios label:nth-of-type(5){width: 5rem;height: 5rem;}



.btn_wrap {
    margin:2rem 0;
}
.btn_wrap div {
    color: #fff;
    cursor: pointer;
    padding: 1.5rem;
    margin-top: 1rem;
    font-size: 1.8rem;
    text-align: center;
    border-radius: .5rem;
    background-color: #b1a1db;
}
.btn_wrap div.showMBTI {}
.btn_wrap div.on {
    background-color: #b1a1db;
}




/* test_result */
.test_result {}
.test_result .intro {
    margin: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid #ddd;
    box-shadow: .1rem .1rem .3rem rgba(0, 0, 0, .3);
}
.test_result .intro h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #111;
    line-height: 1.4;
}
.test_result .intro h3 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: #111;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}
.test_result .intro img {display: block;margin: 0 auto;width: 50%;max-width: 300px;margin-bottom: 2rem;}
.test_result .percent_wrap {}
.test_result .percent_wrap .line {
    margin-bottom: 4rem;
}
.test_result .percent_wrap .line:last-of-type {margin: 0;}
.test_result .percent_wrap .line span.l1 {
    display: flex;justify-content: space-between;align-items: center;
}
.test_result .percent_wrap .line span.l1 p {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.test_result .percent_wrap .line span.l2 {
    border-radius: 10rem;
    height:1.5rem;
    display: block;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
}
.test_result .percent_wrap .line span.l2 .inner1 {
    width: 50%;height: 100%;
    display: block;
}
.test_result .percent_wrap .line span.l2 .inner2 {
    width: 50%;height: 100%;
    display: block;
}
.test_result .percent_wrap .line:nth-of-type(1) span.l2 .inner {background-color: #937dc2;}
.test_result .percent_wrap .line:nth-of-type(2) span.l2 .inner {background-color: #975c8d;}
.test_result .percent_wrap .line:nth-of-type(3) span.l2 .inner {background-color: #d989b5;}
.test_result .percent_wrap .line:nth-of-type(4) span.l2 .inner {background-color: #ffadbc;}
.test_result .percent_wrap .line span.l3 {
    display: flex;justify-content: space-between;align-items: center;
}
.test_result .percent_wrap .line span.l3 p {
    font-size: 1.4rem;
    margin-top: 1rem;
}
.test_result .is {
    padding: 3rem 1.5rem;
    background-color: #f3f3f3;
}
.test_result .is h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #333d61;
    line-height: 1.4;
    margin-top: .5rem;
    margin-bottom: 1.3rem;
}
.test_result .is pre {
    font-size: 1.4rem;
    color: #373737;
    line-height: 1.6;
}
.test_result .other {
    padding: 1.5rem;
}
.test_result .other h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #333d61;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.test_result .other .el {
    height: 7rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
    display: flex;flex-direction: column;justify-content: center;
    background: url(../img/arrow.png) no-repeat calc(100% - 1rem) center / 3rem;
}
.test_result .other a:last-of-type {border-bottom: none;}
.test_result .other .el .t1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #292929;
    line-height: 1.2;

}
.test_result .other .el .t2 {
    font-size: 1.4rem;
    color: #979797;
    line-height: 1.2;
}





/* match_input */
.match_input h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #656565;
    padding: 2rem 1.5rem;
}
.match_input form {
    margin-top:2rem;
    width: 100%;
    display: flex;flex-wrap: wrap;
}
.match_input form > span {
    width: 50%;
    height: 5rem;
    display: block;
    position: relative;
}
.match_input form input {
    position: absolute;
    width: 0;height: 0;
    left: 0;top: 0;
}
.match_input form label {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;justify-content: center;align-items: center;
    font-size: 1.8rem;
    border-top: 1px solid #e8e8e8;
}
.match_input form > span:nth-of-type(2n) label {border-left: 1px solid #e8e8e8;}
.match_input form > span:nth-of-type(7) label {border-bottom: 1px solid #e8e8e8;}
.match_input form > span:nth-of-type(8) label {border-bottom: 1px solid #e8e8e8;}
.match_input form input:checked + label {color: #fff;background-color: #ccc;}
.match_input button {
    padding:1.8rem;
    border-radius: .5rem;
    width: calc(100% - 3rem);
    color: #fff;
    background-color: #b1a1db;
    font-size: 1.8rem;
    margin: 10rem 1.5rem 1.5rem;
    text-align: center;
}



/* introduce */
.introduce .list {padding: 1.5rem;}
.introduce .list p {color: #919191;font-size: 1.8rem;cursor: pointer;}
.introduce .list p:first-of-type {margin-bottom: 1rem;}
.introduce .list p.on {color: #8d4d82;}
.introduce h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #444247;
    padding: 1.5rem;
    background-color: #fff;
}
.introduce .con:first-of-type {margin-bottom: 1.5rem;}
.introduce .con {
    background-color: #f6f4f9;
    padding: 1rem 0 5rem;
}
.introduce .con pre {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #3b3a3d;
    padding: 1.5rem;
}
.introduce .con pre b {
    font-size: inherit;
    font-weight: 900;
    line-height: inherit;
    color: inherit;
}
#top {
    position: fixed;
    right: 2rem;bottom: 2rem;
    height: 3rem;width: 3rem;
    background: url(../img/top.png) no-repeat center / contain;
}
.fixed {
    position: fixed;
    max-width: var(--common-width);
    width: 100%;
    top: var(--header-height-1);
    transform: translateX(-50%);
    left: 50%;
    right: 0;
    z-index: 1000;
}


/* match_result */
.match_result h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.6;
    color: #4c4c4c;
    margin-bottom: 2.5rem;
}
.match_result h2 b, .match_result h2 span {
    font-weight: 900;
    font-size: 2.4rem;
    color: #40496b;
}
.match_result h2 span {color: #ce7872;}
.match_result div {padding: 1.5rem 1.5rem 6rem;}
.match_result .color {background-color: #f7f7f7;padding-top: 4rem;}
.match_result pre {
    color: #111;
    line-height: 1.4;
    font-size: 1.6rem;
    border-radius: .5rem;
    padding: 2rem 1.5rem;
    background-color: #fff;
    box-shadow: .1rem .1rem .3rem rgba(0, 0, 0, .3);
}





/* 모달 */
.modal .inner {position: fixed;left: 50%;top: 50%;width: 85vw;z-index: 999;padding: 1rem;border-radius: 1rem;transform: translate(-50%,-50%);background: rgba(255, 255, 255, .95);box-shadow: 0 0 2rem rgba(0, 0, 0, .1);}
.modal .outer {min-width: 100vw;min-height: 100vh;position: fixed;left: 0;top: 0;z-index: 998;background: rgba(0, 0, 0, 0.3);backdrop-filter: blur(.5px);}
.modal .close {width: 2rem;height: 2rem;background: url(../img/close.png) no-repeat center / 1.5rem;}
.modal span {display: flex;justify-content: right;}
.modal div p {font-size: 1.8rem;font-weight: bold;text-align: center;color: #3f3f3f;margin: 2.5rem 0 3rem;}
.modal .el_wrap {display: flex;justify-content: center;align-items: center;flex-wrap: wrap;gap: 1rem;padding: 2rem 0;}
.modal .el {
    font-size: 1.2rem;
    color: #989898;
    text-align: center;
    padding-top: 5.5rem;
    display: block;
    width:5rem;
}
.modal .el:nth-child(1) {background: url(../img/share-link.png) no-repeat center 0 / 4.5rem;}
.modal .el:nth-child(2) {background: url(../img/share-kakao.png) no-repeat center 0 / 4.5rem;}
.modal .el:nth-child(3) {background: url(../img/share-twitter.png) no-repeat center 0 / 4.5rem;}
.modal .el:nth-child(4) {background: url(../img/share-facebook.png) no-repeat center 0 / 4.5rem;}
.modal .el:nth-child(5) {background: url(../img/share-insta.png) no-repeat center 0 / 4.5rem;}
#answerCheck {
    font-size: 1.4rem !important;
    color: #b1a1db !important;
    font-weight: 900 !important;
}
#noTime {
    font-size: 1.4rem !important;
    color: #b1a1db !important;
    font-weight: 900 !important;
    margin: 0 !important;
    opacity: 0;
}

.home_content .telImg {
    width: 100%;
}
.home_content .telImg img {
    width: 100%;
}
