header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
}
header h1 {
    width: 18rem;
    position: absolute;
    left: 1.5rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}
header p {
    font-size: 1.6rem;
    color: #666666;
}
header p span {
    font-size: 1.8rem;
    font-weight: 800;
    margin-right: 0.5rem;
    display: inline-block;
}
header #exitBtn {
    width: 1rem;
    position: absolute;
    left: 1.5rem;
}
header #exitBtn img {
    width: 100%;
}

main {
    padding: 2rem 1.5rem 10rem;
}
main .bnr {
    margin-bottom: 1rem;
    background-image: url(../img/main-img-1.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 10rem;
}
main .bnr p {
    font-size: 1.8rem;
    color: #49bb5d;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
main .bnr h2 {
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 900;
}
main .bnr pre {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #5d5d5d;
}
main > a {
    margin-bottom: 2rem;
    width: 100%;
    display: inline-block;
    font-size: 1.8rem;
    color: #fff;
    padding: 2rem 0;
    border-radius: 1rem;
    text-align: center;
    background: #49bb5d;
}
main .menu1Wrap {
    padding: 2rem 0;
}
main .menu1Wrap h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
main .menu1 {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}
main .menu1 a {
    width: 50%;
    border-radius: 1rem;
    background: #e9e9e9;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}
main .menu1 a.small img {
    width: 5.5rem;
    height: auto;
    margin-top: 1rem;
}
main .menu1 a.small {
    justify-content: space-between;
}
main .menu1 a img {
    height: 5rem;
}
main .menu1 a span {
    font-size: 1.8rem;
    font-weight: 600;
}
main .menu2Wrap {
    padding-top: 2rem;
}
main .menu2Wrap h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
main .menu2 {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .menu2 a {
    border-radius: 1rem;
    background: #e9e9e9;
    height: 7rem;
    padding-left:  6rem;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    background-image: url(../img/main-icon-3.png);
    background-size: 3rem;
    background-repeat: no-repeat;
    background-position: left 1.5rem center;
}
main .menu2 a:nth-of-type(2) {
    background-image: url(../img/main-icon-4.png);
}
main .menu2 a img {
    width: 1rem;
    margin-left: 1rem;
}

/* 테스트 */
main .testStart {
    padding-top: 4rem;
    text-align: center;
}
main .testStart p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
    font-weight: 600;
}
main .testStart .green {
    font-size: 1.8rem;
    font-weight: 600;
    color: #49bb5d;
    margin-bottom: 1.5rem;
}
main .testStart h2 {
    font-family: 'yg-jalnan';
    font-size: 3rem;
    font-weight: 900;
    color: #49bb5d;
}
main .testStart .image {
    width: calc(100% - 3rem);
    margin: 4rem auto;
}
main .testStart .image img {
    width: 100%;
}
main .testStart a {
    width: 100%;
    display: inline-block;
    font-size: 1.8rem;
    color: #fff;
    padding: 2rem 0;
    border-radius: 1rem;
    text-align: center;
    background: #49bb5d;
}
#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: 2.5rem 0;
    width: 100%;
    border-radius: 1rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 1rem;
}
#exitBg .exit h2 {
    font-size: 2rem;
    font-weight: 800;
}
#exitBg .exit p {
    font-size: 1.6rem;
    color: #6f6f6f;
    margin-bottom: 0.5rem;
}
#exitBg .exit .buttonWrap {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
#exitBg .exit .buttonWrap button {
    padding: 1.5rem 3.5rem;
    font-size: 1.6rem;
    border-radius: 5rem;
    border: 1px solid #dbdbdb;
}
#exitBg .exit .buttonWrap button:nth-of-type(2) {
    background: #49bb5d;
    color: #fff;
    border: none;
}
main .statusWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5rem;
    padding-top: 2rem;
}
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: 0.1rem;
    width: 100%;
    background: #dddddd;
    display: flex;
    align-items: center;
}
main .statusWrap .statusBg .statusBar {
    width: 0%;
    height: 0.3rem;
    background-color: #49bb5d;
    transition: 0.5s;
    border-radius: 0.5rem;
}
main .testWrap {}
main .testWrap .page {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .testWrap .test {
    padding: 4rem 0;
    border-bottom: 1px solid #f2f2f2;
}
main .testWrap .test h2 {
    text-align: center;
    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: #49bb5d;
    background-image: url(../img/sub-icon-8.png);
    background-size: 40%;
    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;
}
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: 0.5rem;
    display: inline-block;
    background: #fff;
}
main > .buttonWrap #nextBtn {
    border: none;
    color: #acacac;
    background: #e1e1e1;
}
main > .buttonWrap #nextBtn.active {
    background: #49bb5d;
    color: #fff;
}
main > .buttonWrap #resultBtn {
    background: #49bb5d;
    color: #fff;
}

/* 결과 */
.loading {
    background: #fff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.loading p.bold {
    color: #333;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}
.loading p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
    color: #8d8d8d;
}
.loading .barBg {
    width: calc(100% - 9rem);
    background: #e1e1e1;
    border-radius: 5rem;
    height: 1rem;
}
.loading .barBg .bar {
    height: 1rem;
    width: 50%;
    border-radius: 5rem;
    background: #49bb5d;
    animation: progressBar 2s linear forwards;
}
@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
main .image {
    width: 100%;
    margin-bottom: 4rem;
}
main .image img {
    width: 100%;
}
main .subTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
main .subTitle .mbti {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.5rem 2rem;
    border-radius: 5rem;
    color: #49bb5d;
    background: #e3f2e5;
}
main .subTitle .name {
    color: #828282;
    font-size: 2rem;
    font-weight: 600;
}
main .intro {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #e9e9e9;
    margin-bottom: 4rem;
    color: #333;
}
main > h2 {
    font-size: 3.6rem;
    font-weight: 900;
    font-family: 'yg-jalnan';
    color: #49bb5d;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.2;
}
main > h4 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}
main > h5 {
    font-size: 2rem;
    font-weight: 800;
    color: #49bb5d;
    margin-bottom: 0.5rem;
}
main > pre {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #8a8a8a;
    margin-bottom: 4rem;
}
main > .menu1 {
    margin-bottom: 1.5rem;
}
main > .menu1 a {
    gap: 1rem;
}
main > .menu1 a img {
    height: 3rem;
}
main > .menu2 a:nth-of-type(1) {
    background-image: url(../img/sub-icon-3.png);
}
main > .menu2 a:nth-of-type(2) {
    background-image: url(../img/sub-icon-4.png);
}
main > .menu2 a.sub1 {
    background-image: url(../img/main-icon-4.png);
}
main > .menu2 a.sub2 {
    background-image: url(../img/main-icon-3.png);
}

/* 성격 유형 */
main .IWrap {
    padding-bottom: 4rem;
    border-bottom: 1px solid #dedede;
}
main .EWrap {
    padding-top: 4rem;
}
main .container > h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
main .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-flow: row wrap;
}
main .wrapper a {
    width: calc(50% - 0.75rem);
    border-radius: 1rem;
    background: #e9e9e9;
    padding: 1.5rem;
}
main .wrapper a p {
    font-size: 1.6rem;
    color: #7c7c7c;
    margin-bottom: 0.5rem;
}
main .wrapper a h3 {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
main .wrapper a h3 img {
    width: 1rem;
}

/* 놀거리 */
main .detail {}
main .detail .image {}
main .detail .image img {}
main .detail h2 {
    font-size: 3.6rem;
    font-weight: 900;
    color: #49bb5d;
    margin-bottom: 4rem;
    font-family: 'yg-jalnan';
    line-height: 1.2;
}
main .detail h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 4rem 0 1.5rem;
}
main .detail h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: #888888;
}
main .detail h4 img {
    width: 1rem;
}
main .detail pre {
    color: #7b7b7b;
    font-size: 1.8rem;
    line-height: 1.4;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e2e2e2;
}