* {
    box-sizing: border-box;
}
body.fixed {
    overflow: hidden;
}
:root {
    --border: 1.3rem;
    --mb: 4rem;
}
main {
    padding: 7.5rem 1.5rem 4rem;
}
#indexLoadImg {
    position: relative;
    background: #FD6C03;
    min-height: 100vh;
}
#indexLoadImg img {
    position: absolute;
    display: block;
    height: 22rem;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}

.outbound {
    width: 100%;
    margin-bottom: 1.5rem;
}
.outbound a {
    width: 100%;
}
.outbound a img {
    width: 100%;
}

/* header */
#homeWrap header .back {
    display: none;
}
header {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 9000;
    background: #fff;
}
header a {
    display: block;
    height: 2rem;
}
header a img {
    display: block;
    height: 100%;
}
header .back {
    position: absolute;
    display: block;
    width: 1.8rem; height: 1.8rem;
    background: url(../img/back.png) no-repeat center/contain;
    left: 1.5rem; top: 50%;
    transform: translateY(-50%);
}

/* home */
.home_top {
    background: url(../img/main-img.png) no-repeat 100% 50% / 11rem;
    padding-bottom: 1rem;
    margin-bottom: var(--mb);
}
.home_top p {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.3rem;
}
.home_top h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 2.5rem;
}
.home_top h1 strong {
    color: #FD6C02;
    font-size: 2.4rem;
    font-weight: 800;
}
.home_top a {
    display: block;
    width: fit-content;
    background: #FD6C03;
    text-align: center;
    font-size: 1.7rem;
    color: #fff;
    padding: .9rem 4.5rem;
    border-radius: 3rem;
}
.main_tit {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.home_mid {
    background: #EDECEC;
    padding: 0 1.5rem;
    border-radius: var(--border);
    margin-bottom: var(--mb);
}
.home_mid li:first-child {
    border-bottom: .1rem solid #5E5E5E;
}
.home_mid li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}
.home_mid li a .left {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.home_mid li a .ico {
    display: block;
    width: 3rem; height: 3rem;
}
.home_mid li:first-child a .ico {
    background: url(../img/main-icon-1.png) no-repeat center/contain;
}
.home_mid li:last-child a .ico {
    background: url(../img/main-icon-2.png) no-repeat center/contain;
}
.home_mid li a .left p {
    font-size: 1.7rem;
    font-weight: 600;
}
.home_mid li a .arrow {
    display: block;
    width: 1.7rem; height: 1.7rem;
    background: url(../img/arrow-1.png) no-repeat center/contain;
}
.home_more {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: var(--mb);
}
.home_more li a {
    display: block;
    padding: 2rem 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    border-radius: var(--border);
}
.home_more li:first-child a {
    background: url(../img/main-btn-1.png) no-repeat center/cover;
}
.home_more li:nth-child(2) a {
    background: url(../img/main-btn-2.png) no-repeat center/cover;
}
.home_more li:last-child a {
    background: url(../img/main-btn-3.png) no-repeat center/cover;
}
.home_more li a p {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.home_more li a span.top {
    font-size: 1.6rem;
    line-height: 1.2;
}
.home_more li a span.btm {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 3rem;
    font-size: 1.6rem;
    color: #FD6C03;
}
.home_more li a span.btm .arrow {
    display: block;
    width: 1.6rem; height: 1.6rem;
    background: url(../img/arrow-2.png) no-repeat center/contain;
}
.home_qna .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home_qna .top .main_tit {
    margin-bottom: 0;
}
.home_qna .top a {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #FD6C03;
    font-size: 1.6rem;
}
.home_qna .top a .arrow {
    display: block;
    width: 1.6rem; height: 1.6rem;
    background: url(../img/arrow-2.png) no-repeat center/contain;
}
.home_qna .list li {
    padding: 2rem 0;
    font-size: 1.6rem;
    font-weight: 600;
}
.home_qna .list li:first-child {
    border-bottom: .1rem solid #5F5F5F;
}
.home_qna .list li span {
    font-size: 1.6rem;
    color: #FD6C02;
}

/* sub1 */
.sub_cont {
    font-size: 1.6rem;
    color: #585858;
    line-height: 1.4;
    word-break: break-all;
    display: block;
    margin-bottom: 3rem;
}
.sub_cont .point3 {
    font-size: 1.6rem;
    color: #FD6C02;
}
.sub_box .que_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}
.sub_box .que_inner .que {
    font-size: 1.7rem;
    font-weight: 600;
}
.sub_box .que_inner i {
    display: block;
    width: 1.7rem; height: 1.7rem;
    background: url(../img/arrow-4.png) no-repeat center/contain;
}
.sub_box.open .que_inner i {
    background-image: url(../img/arrow-3.png);
}
.sub_box .ans {
    display: none;
    font-size: 1.6rem;
    color: #585858;
    padding: 2rem 1.5rem;
    line-height: 1.4;
    background: #EDECEC;
}
.sub_box.open .ans {
    display: block;
}
.or_btn {
    display: block;
    padding: 2.5rem 0;
    border-radius: var(--border);
    background: #FD6C02;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 500;
    margin-top: 4rem;
}
.tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.tab li a {
    display: block;
    font-size: 1.6rem;
    color: #585858;
    padding: .7rem 1.5rem;
    border-radius: 2rem;
    background: #EDECEC;
}
.tab li a.on {
    color: #fff;
    background: #FD6C02;
}
.sub_bold {
    font-size: 1.6rem;
    color: #FD6C03;
    margin-bottom: .7rem;
}
#subSelect {
    background-color: #EDECEC;
    padding: 2rem 1.5rem;
    border-radius: var(--border);
    font-size: 1.6rem;
    color: #585858;
    border: none;
    width: 100%;
    background-image: url(../img/arrow-4.png);
    background-position: 95% 50%;
    background-size: 1.6rem;
    background-repeat: no-repeat;
    margin-bottom: var(--mb);
}
#subSelect:focus {
    outline: none;
}
#subSelect option {
    font-size: 1.6rem;
}

/* game_ready */
.grade_list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.grade_list button {
    display: block;
    font-size: 1.6rem;
    background: #EDECEC;
    border: .1rem solid #EDECEC;
    color: #585858;
    padding: 2rem 0;
    border-radius: var(--border);
    font-weight: 600;
}
.grade_list button.on {
    background: #fff;
    border-color: #FD6C02;
    color: #FD6C02;
}
.or_btn.game {
    position: absolute;
    left: 50%; bottom: 5rem;
    transform: translateX(-50%);
    width: 90%;
}
.grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.grid.low {
    gap: 1.3rem;
}
.grid.middle {
    gap: .9rem;
}
.grid.high {
    gap: .7rem;
}
.grid p {
    background: #EDECEC;
    font-size: 1.6rem;
    text-align: center;
    padding: 1.5rem 0;
    border-radius: 1rem;
    border: .1rem solid #EDECEC;
}
.grid.low p {
    width: calc(50% - .7rem);
}
.grid.middle p {
    width: calc(100% / 4 - .7rem);
}
.grid.high p {
    width: calc(100% / 5 - .7rem);
}
.cell.clicked {
    background: #fff;
    border-color: #FD6C02; 
    pointer-events: none; 
    color: #FD6C02;
}
#endBtn {
    display: block;
    margin-top: 7rem;
    background: #FD6C02;
    color: #fff;
    font-size: 1.7rem;
    width: 100%;
    text-align: center;
    padding: 2.5rem 0;
    border-radius: var(--border);
    font-weight: 600;
}
.result_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}
.result_box img {
    display: block;
    height: 13rem;
    margin-bottom: 2.5rem;
}
.result_msg {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.result_sub {
    font-size: 1.6rem;
    margin-bottom: 8rem;
}
.result_btn {
    width: 100%;
}
.check_btn {
    display: block;
    padding: 2.5rem 0;
    border-radius: var(--border);
    background: #FF862E;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 500;
    margin-top: 1.5rem;
}
.check_area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.check_area .top {
    width: fit-content;
    background: #FD6C02;
    color: #fff;
    font-size: 1.6rem;
    padding: .3rem 3rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}
.check_area .top span {
    font-size: 1.6rem;
    color: #fff;
}
.check_area .que {
    font-size: 1.7rem;
    color: #585858;
    font-weight: 600;
    margin-bottom: 4rem;
}
.check_area .ans_btn {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}
.check_area .ans_btn button {
    background: #EDECEC;
    border: .1rem solid #EDECEC;
    border-radius: var(--border);
    padding: 2rem 0;
    font-size: 1.6rem;
    color: #585858;
    width: 100%;
}
.check_area .ans_btn button.on {
    background: #fff;
    color: #FD6C02;
    border-color: #FD6C02;
}
.check_area .next {
    background: #FD6C02;
    border-radius: var(--border);
    padding: 2rem 0;
    font-size: 1.6rem;
    color: #fff;
    width: 100%;
    margin-top: 6rem;
}
.check_result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10rem;
}
.check_result img {
    display: block;
    height: 11rem;
    margin-bottom: 3rem;
}
.check_result h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.check_result p {
    font-size: 1.6rem;
    color: #585858;
}
.re_btn {
    display: none;
}

/* qna */
.qna_box .que_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}
.qna_box .que_inner .que {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 90%;
}
.qna_box .que_inner .que span {
    font-size: 1.7rem;
    color: #FD6C02;
    font-weight: 700;
}
.qna_box .que_inner i {
    display: block;
    width: 1.7rem; height: 1.7rem;
    background: url(../img/arrow-4.png) no-repeat center/contain;
}
.qna_box.open .que_inner i {
    background-image: url(../img/arrow-3.png);
}
.qna_box .ans {
    display: none;
    font-size: 1.6rem;
    color: #585858;
    background: #EDECEC;
    padding: 2rem 1.5rem;
    line-height: 1.4;
}
.qna_box.open .ans {
    display: block;
}