header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #f9f9f9;
}
header h1 {
    width: 12rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}
header #menuBtn {
    width: 2rem;
}
header #menuBtn img {
    width: 100%;
}
header #backBtn {
    width: 1.3rem;
}
header #backBtn img {
    width: 100%;
}
header #testBackBtn {
    width: 1.3rem;
}
header #testBackBtn img {
    width: 100%;
}
.testHeader {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #f9f9f9;
}
.testHeader h2 {
    font-size: 1.8rem;
    font-weight: 800;
}
.testHeader #exitBtn {
    width: 1.3rem;
    position: absolute;
    left: 1.5rem;
}
.testHeader #exitBtn img {
    width: 100%;
}

body {
    background: #f9f9f9;
}

.navBg {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 8888;
}
nav {
    background-color: #fff;
    display: flex;
    flex-flow: column nowrap;
    width: 65%;
    height: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 8rem 1.5rem 0;
    z-index: 9999;
}
nav button {
    width: 2rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}
nav button img {
    width: 100%;
}
nav h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}
nav a {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #777777;
}

main {
    padding: 2rem 1.5rem 10rem;
}
main .bnr {
    margin-bottom: 1rem;
}
main .bnr p {
    font-weight: 600;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #ff7189;
}
main .bnr h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
main .bnr pre {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #737373;
}
main .shortcut {
    padding: 2rem 0;
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .shortcut .top {
    width: 100%;
    background: #fff;
    padding: 3rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
}
main .shortcut .top .titleImg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
main .shortcut .top .titleImg h2 {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 800;
}
main .shortcut .top .titleImg img {
    width: 5rem;
}
main .shortcut .top a {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 2rem 0;
    width: 100%;
    border-radius: 5rem;
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ff7189;
    display: inline-block;
}
main .shortcut .bottom {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}
main .shortcut .bottom a {
    width: 50%;
    height: 15rem;
    padding: 2.5rem 0 2.5rem 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    background-image: url(../img/main-icon-3.png);
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: right 1.5rem bottom 2.5rem;
}
main .shortcut .bottom a:nth-of-type(2) {
    background-image: url(../img/main-icon-2.png);
}
main .shortcut .bottom a p {
    font-size: 1.6rem;
    color: #737373;
    margin-bottom: 0.5rem;
}
main .shortcut .bottom a h3 {
    font-size: 2rem;
    font-weight: 800;
}
main .whyWrap {
    padding: 2rem 0;
}
main .whyWrap h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
main .whyWrap .why {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}
main .whyWrap .why a {
    width: 50%;
    height: 15rem;
    padding: 2.5rem 0 2.5rem 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    background-image: url(../img/main-icon-4.png);
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: right 1.5rem bottom 2.5rem;
}
main .whyWrap .why a:nth-of-type(2) {
    background-image: url(../img/main-icon-5.png);
}
main .whyWrap .why a p {
    font-size: 1.6rem;
    color: #737373;
    margin-bottom: 0.5rem;
}
main .whyWrap .why a h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
}

/* 테스트 준비 */
main .testTitle {
    text-align: center;
    margin-bottom: 4rem;
}
main .testTitle p {
    font-size: 1.6rem;
    color: #ff7189;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
main .testTitle h2 {
    font-size: 3rem;
    font-weight: 800;
}
main .introWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
    margin-bottom: 6rem;
}
main .introWrap .intro {
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #fff;
}
main .introWrap .intro img {
    width: 5rem;
}
main .introWrap .intro span {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 600;
    color: #767676;
}
main > a {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 2rem 0;
    width: 100%;
    border-radius: 5rem;
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ff7189;
    display: inline-block;
}

/* 테스트 */
#exitBg {
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 9999;
}
#exitBg .exit {
    background: #fff;
    padding: 3rem 0;
    width: 100%;
    border-radius: 1rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 1.5rem;
}
#exitBg .exit h2 {
    font-size: 1.8rem;
    font-weight: 800;
}
#exitBg .exit p {
    font-size: 1.6rem;
    color: #6f6f6f;
}
#exitBg .exit .buttonWrap {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
#exitBg .exit .buttonWrap button {
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 5rem;
    border: 1px solid #dddddd;
}
#exitBg .exit .buttonWrap button:nth-of-type(2) {
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ffc4d0;
}
main .statusWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5rem;
    margin-bottom: 4rem;
}
main .statusWrap .status {
    display: flex;
    justify-content: space-between;
}
main .statusWrap .status .percent {
    font-size: 1.6rem;
    color: #ff7189;
    font-weight: 600;
}
main .statusWrap .status .pages {
    font-size: 1.6rem;
    font-weight: 600;
}
main .statusWrap .statusBg {
    height: 1rem;
    width: 100%;
    background: #fff;
    border-radius: 5rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}
main .statusWrap .statusBg .statusBar {
    width: 0%;
    height: 1rem;
    border-radius: 5rem;
    background-color: #ff7189;
    transition: 0.5s;
}
main .testWrap {}
main .testWrap .page {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .testWrap .test {
    border-radius: 1rem;
    background: #fff;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    padding: 4rem 1.5rem;
}
main .testWrap .test h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.4;
}
main .testWrap .test .selectWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    position: relative;
}
main .testWrap .test .selectWrap span {
    width: 80%;
    height: 0.1rem;
    background-color: #eaeaea;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
main .testWrap .test .selectWrap input {
    background: #eaeaea;
    border-radius: 100%;
    z-index: 33;
}
main .testWrap .test .selectWrap input:checked {
    background-color: #ff7189;
    background-image: url(../img/check.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center center;
}
main .testWrap .test .selectWrap input:nth-of-type(1) {
    width: 5rem;
    height: 5rem;
}
main .testWrap .test .selectWrap input:nth-of-type(2) {
    width: 4rem;
    height: 4rem;
}
main .testWrap .test .selectWrap input:nth-of-type(3) {
    width: 3rem;
    height: 3rem;
}
main .testWrap .test .selectWrap input:nth-of-type(3):checked {
    background-color: #757575;
}
main .testWrap .test .selectWrap input:nth-of-type(4) {
    width: 4rem;
    height: 4rem;
}
main .testWrap .test .selectWrap input:nth-of-type(5) {
    width: 5rem;
    height: 5rem;
}
main .testWrap .test .detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
main .testWrap .test .detail span {
    font-size: 1.6rem;
    font-weight: 600;
}
main > .buttonWrap {
    text-align: center;
    margin-top: 4rem;
}
main > .buttonWrap button {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 2rem 0;
    width: 100%;
    border-radius: 5rem;
    display: inline-block;
    background: #fff;
}
main > .buttonWrap #nextBtn {
    border: none;
    color: #a5a5a5;
}
main > .buttonWrap #nextBtn.active {
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ff7189;
}
main > .buttonWrap #resultBtn {
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ff7189;
}

/* 결과 */
#main {
    padding: 0 0 10rem 0;
}
.loading {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    background: #fff;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 9999;
}
.loading img {
    width: 8rem;
    margin-bottom: 2rem;
}
.loading strong {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.loading span {
    font-size: 1.6rem;
}
main > .result {
    padding: 2rem 1.5rem 4rem;
    background-color: #ffffff;
}
main > .result > p {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
main > .result .mbti {
    padding: 1rem 4rem;
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ffc4d0;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: 600;
    width: max-content;
    margin: 0 auto 4rem;
}
main > .result h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
main > .result h2 b {
    font-size: 3rem;
    font-weight: 800;
    color: #ff7189;
}
main > .result .image {
    width: 50%;
    margin: 0 auto;
}
main > .result .image img {
    width: 100%;
}
main .percentWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
    margin-top: 4rem;
}
main .percentWrap .percent {}
main .percentWrap .percent:nth-of-type(1) .gaugeBg .gauge {
    background: #ff7189;
}
main .percentWrap .percent:nth-of-type(2) .gaugeBg .gauge {
    background: #dfb9ef;
}
main .percentWrap .percent:nth-of-type(3) .gaugeBg .gauge {
    background: #aed9ff;
}
main .percentWrap .percent:nth-of-type(4) .gaugeBg .gauge {
    background: #b4eaa9;
}
main .percentWrap .percent h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}
main .percentWrap .percent .gaugeBg {
    height: 1rem;
    width: 100%;
    border-radius: 5rem;
    background-color: #e5e5e5;
    margin-bottom: 1rem;
    position: relative;
}
main .percentWrap .percent .gaugeBg .gauge {
    position: relative;
}
main .percentWrap .percent .gaugeBg .gauge span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: #fff;
    border-radius: 100%;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}
main .percentWrap .percent .gaugeBg .leftGauge {
    background-color: #000;
    height: 1rem;
    border-radius: 5rem;
    width: 20%;
    position: absolute;
    left: 0;
}
main .percentWrap .percent .gaugeBg .leftGauge span {
    right: 0;
}
main .percentWrap .percent .gaugeBg .rightGauge {
    background-color: #000;
    height: 1rem;
    border-radius: 5rem;
    width: 20%;
    position: absolute;
    right: 0;
}
main .percentWrap .percent .gaugeBg .rightGauge span {
    left: 0;
}
main .percentWrap .percent .percentText {
    display: flex;
    justify-content: space-between;
}
main .percentWrap .percent .percentText p {
    font-size: 1.6rem;
}
main .percentWrap .percent .percentText p span {
    font-size: 1.6rem;
}
main > .detail {
    padding: 4rem 1.5rem 0;
}
main > .detail h3 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
main > .detail pre {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}
main > .detail button {
    width: 100%;
    padding: 2rem 0;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: 600;
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ffc2cf;
}
main > .detail .buttonWrap {
    display: flex;
    margin: 1.5rem 0 4rem;
    justify-content: space-between;
    gap: 1.5rem;
}
main > .detail .buttonWrap a {
    width: 50%;
    font-size: 1.6rem;
    padding: 2rem 0;
    border-radius: 5rem;
    background: #fff;
    border: 1px solid #d9d9d9;
    font-weight: 600;
    text-align: center;
}
main .menuWrap {
    padding: 4rem 1.5rem;
    border-top: 5px solid #e7e7e7;
}
main .menuWrap > a {
    font-size: 1.8rem;
    font-weight: 800;
    padding: 2.5rem 0 2.5rem 7rem;
    width: 100%;
    border-radius: 5rem;
    background-image: url(../img/main-icon-3.png);
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: left 1.5rem center;
    display: flex;
    flex-flow: column nowrap;
    background-color: #fff;
    border-radius: 1rem;
    display: inline-block;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}
main .menuWrap > a p {
    font-size: 1.4rem;
    color: #737373;
    margin-bottom: 0.5rem;
}
main .menuWrap > a h3 {
    font-size: 2rem;
    font-weight: 800;
}
main .menuWrap .top {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
main .menuWrap .top a {
    width: 50%;
    height: 15rem;
    padding: 2.5rem 0 2.5rem 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    background-image: url(../img/sub-icon-4.png);
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: right 1.5rem bottom 2.5rem;
}
main .menuWrap .top a:nth-of-type(2) {
    background-image: url(../img/sub-icon-5.png);
}
main .menuWrap .top a p {
    font-size: 1.4rem;
    color: #737373;
    margin-bottom: 0.5rem;
}
main .menuWrap .top a h3 {
    font-size: 2rem;
    font-weight: 800;
}

main .fact {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
    padding: 4rem 1.5rem 0;
}
main .fact pre {
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    background-color: #fff;
    line-height: 1.4;
}

/* 궁합 */
main .result .category {
    border-radius: 5rem;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}
main .result .category a {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 2rem 0;
    width: 50%;
    border-radius: 5rem;
    color: #777777;
    text-align: center;
}
main .result .category a.on {
    background: #ff7189;
    color: #fff;
}
main .nice {
    padding: 4rem 1.5rem 0;
}
main .nice h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
main .nice pre {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: #6e6e6e;
}
main .nice a {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 2rem 0;
    width: 100%;
    border-radius: 5rem;
    background: #ffeef0;
    color: #ff7189;
    border: 1px solid #ff7189;
    display: inline-block;
}

/* 성격유형 */
main .mbtiWrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 1.5rem;
}
main .mbtiWrap a {
    width: calc(50% - 0.75rem);
    background-color: #fff;
    border-radius: 1rem;
    height: 15rem;
    padding-left: 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}
main .mbtiWrap a em {
    font-size: 1.8rem;
    color: #ff7189;
    font-weight: 800;
    margin-bottom: 1rem;
}
main .mbtiWrap a strong {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
main .mbtiWrap a span {
    font-size: 1.8rem;
    font-weight: 600;
    color: #707070;
}

/* 개요 및 역사 */
main > h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
main > h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
main > pre {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}

/* 기록 */
main .historyWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .historyWrap a {
    background-color: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    background-image: url(../img/arrow-2.png);
    background-size: 1.5rem;
    background-position: right 1.5rem center;
    background-repeat: no-repeat;
}
main .historyWrap a h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
main .historyWrap a h2 span {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ff7189;
}
main .historyWrap a p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #777777;
}
main .noHistory {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding-top: 20rem;
    text-align: center;
}
main .noHistory h2 {
    font-size: 2.4rem;
    font-weight: 800;
}
main .noHistory p {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.7;
    color: #777777;
}