/* 스크롤바 */
body::-webkit-scrollbar {width: 5px;height:5px;}
body::-webkit-scrollbar-thumb {height: 30%;background: rgba(128, 117, 105, .5);border-radius: 3px;}
body::-webkit-scrollbar-track {background: rgba(128, 117, 105, .3);}


/* 변수, wrap */
* {
    --header-height-1 : 5.5rem;
    --footer-height-1 : 6.5rem;
    --common-width : 650px;
}
main {width: 100%;margin: 0 auto;max-width: var(--common-width);min-height: 100vh;padding-top: var(--header-height-1);padding-bottom: var(--footer-height-1);background-color: #fff;}

.bannerImg {
    width: 100%;
    padding: 1.5rem 0;
}
.bannerImg a {
    width: 100%;
}
.bannerImg a img {
    width: 100%;
}

/* 헤더 */
header {z-index: 100;top: 0;left: 50%;width: 100%;position: fixed;background-color:#fff;transform: translateX(-50%);height: var(--header-height-1);max-width: var(--common-width);display: flex;align-items: center;justify-content: center;}

header .logo .no_w {display: block;}
header .logo .ye_w {display: none;}
header.color .logo .no_w {display: none;}
header.color .logo .ye_w {display: block;}
header.color {background-color: #3b1781;}
header .logo img {height: calc(var(--header-height-1) - 3rem);display: block;}
header .prev {width: var(--header-height-1);height: var(--header-height-1);cursor: pointer;display: none;}
header .dummy {width: var(--header-height-1);height: var(--header-height-1);cursor: pointer;display: none;}
header .prev {background: url(../img/prev.png) no-repeat center / 1rem;}
header.on {justify-content: space-between;}
header.on .prev, header.on .dummy {display: block;}


/* 하단 */
footer {
    z-index: 100;
    bottom: 0;
    left: 50%;
    width: 100%;
    position: fixed;
    background-color:#fff;
    transform: translateX(-50%);
    height: var(--header-height-1);
    max-width: var(--common-width);
    box-shadow: 0 .2rem 3rem rgba(104, 78, 102, 0.3);
}
footer ul {
    display: flex;justify-content: space-between;align-items: center;
}
footer ul li {width: 100%;}
footer ul li a {
    height: var(--header-height-1);
    display: flex;justify-content: center;align-items: center;flex-direction: column;
    font-size: 1rem;
    color: #b5b6b6;
}
footer ul li a.on {
    font-weight: bold;
    color: #5b5959;
}
footer ul li a img {
    height: 2rem;margin-bottom: .5rem;
}


/* ========================= */
.intro {
    padding: 2rem 1.5rem 2.5rem;
    border-bottom: 4px solid #ddd;
    background: url(../img/banner_img.png) no-repeat center / cover;
}
.intro p {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 1rem;
}
.intro h3 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
}
section.homebanner {
    display: grid;
    gap: 1rem;
    width: 80%;
    margin: 3rem auto;
    grid-template-columns: repeat(2, 1fr);
}
section.homebanner a {
    border-radius: 3.5rem;
    border: 1px solid #ddd;
    height: 13rem;width: 13rem;
    overflow: hidden;
    margin:  0 auto;
    display: flex;justify-content: space-between;align-items: center;flex-direction: column;
}
section.homebanner a img {
    width: 6rem;
    margin: 2rem;
}
section.homebanner a p {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4;
    padding: .5rem;
    color: #fff;
    width: 100%;
}
section.homebanner a:nth-of-type(1) p {background-color: #d34f94;}
section.homebanner a:nth-of-type(2) p {background-color: #877be9;}
section.homebanner a:nth-of-type(3) p {background-color: #09d870;}
section.homebanner a:nth-of-type(4) p {background-color: #81baff;}
section.homebanner a:nth-of-type(5) p {background-color: #ffbb70;}












/* select */
p.info {font-size: 1.2rem;color: #737373;line-height: 1.4;padding: 2.5rem 1rem 1rem;}
form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem 1rem 1.5rem;
    background-color: #3b1781;
}
form select {height: 3.5rem;padding: .6rem 3rem .6rem .6rem;border: 1px solid #a3a2a2;font-size: 1.4rem;appearance: none;background: #fff url(../img/qna-open.png) no-repeat calc(100% - 1rem) center / 1.3rem;}
form select:first-of-type {width: 40%;margin-right: .5rem;}
form select:last-of-type {width: 43%;}
input[type=submit] {
    width:4rem;
    height: 4rem;
    margin-left: 0.5rem;
    background: #765da7 url(../img/search.png) no-repeat center / 2.5rem;
}
.store_result .box {
    display: block;position: relative;
    padding: 1.5rem 8rem 1.5rem 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}
.store_result .box::before {
    content:"자세히";
    font-size: 1.4rem;
    color: #949494;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;right: 4rem;
}
.store_result .box::after {
    content:"";
    width: .7rem;
    height: 2rem;
    top: 50%;right: 2.5rem;
    position: absolute;
    transform: translateY(-50%);
    background: url(../img/arrow_silver_1.png) no-repeat center / contain;
}
.store_result .box h3 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.4;
}
.store_result .box p {
    font-size: 1.6rem;
    line-height: 1.4;
}



.graytitle {
    display: flex;justify-content: center;align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #e7e7e7;
    border-right: none;
    border-left: none;
    font-size: 1.6rem;
    font-weight: bold;
    color: #181c1d;
    height: 5rem;
}





/* sub */
.title {
    min-height: 10rem;
    background-color: #eeebf7;
    display: flex;justify-content: center;align-items: center;flex-direction: column;
}
.title p {text-align: center;font-size: 1.2rem;font-weight: bold;color: #250073;margin-bottom: .8rem;}
.title h2 {text-align: center;font-size: 2.2rem;font-weight: 800;color: #141413;}
.content {
    padding: 2rem 1.5rem;
}
.content pre {
    font-size: 1.4rem;
    color: #696969;
    line-height: 1.4;
    margin-bottom: 3rem;
}
.content h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #d0428c;
    margin-bottom: 1rem;
}
.content > a {
    font-size: 1.6rem;
    color: #fff;
    height: 5.5rem;
    padding-left:2rem;
    margin-bottom: 2rem;
    display: flex;align-items: center;
    background: #3b1781 url(../img/arrow_silver_1.png) no-repeat calc(100% - 2rem) center / .8rem;
    border-radius: .8rem;
}



table {border-collapse: collapse;margin: 1.5rem;}
table th, table td {
    padding: 1rem;
    line-height: 1.4;
    font-size: 1.2rem;
    text-align: center;
    border: 1px solid #f0f0f0;
}
table th:nth-of-type(1n),
table td:nth-of-type(1n) {
    width: 10%;
}
table th, table td:nth-of-type(4n+1) {
    background-color: #f5f5f5;
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1.4rem;
}
.warn {
    margin: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f3f3f3;
    background-color: #f9f2f2;
}
.warn p {
    color: #282727;
    padding-left: 1rem;
    font-size: 1.4rem;
    line-height: 1.4;
    position: relative;
    margin-bottom: 1.5rem;
}
.warn p:last-of-type {
    margin-bottom: 0;
}
.warn p::before {
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    top: 0;
    background-color: #d1458e;
    height: 100%;
}


/* qna */
.qna {}
.qna span {display: block;}
.qna .ques {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #131313;
    font-weight: bold;
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid #f1f1f1;
    background: url(../img/qna-open.png) no-repeat calc(100% - 1.5rem) center / 1.5rem;
}
.qna .ans {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #555554;
    padding: 2rem 1.5rem 3rem 3rem;
    display: none;
    background-color: #eeebf7;
}
.qna.on .ques {
    font-weight: 800;
    color: #35107d;
    border-bottom: none;
    background: url(../img/qna-close.png) no-repeat calc(100% - 1.5rem) center / 1.5rem;
}
.qna.on .ans {
    display: block;
    border-bottom: 1px solid #f1f1f1;
}



/* result */
.result_number {
    padding: 2rem 1.5rem;
    border-bottom: 3px solid #ddd;
}
.result_number span {
    line-height: 1.4;
    display: block;width: 100%;
}
.result_number span h3 {
    line-height: inherit;
    font-size: 2rem;
    font-weight: 800;
    color: #1d1d1d;
}
.result_number span h3 b {
    line-height: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: #d24991;
}
.result_number span p {
    line-height: inherit;
    font-weight: inherit;
    font-size: 1.4rem;
    color: #8f8f8f;
}
.result_number span:nth-of-type(2) p {
    display: flex;gap: .3rem;align-items: center;
    margin: .5rem 0;
}
.result_number span:nth-of-type(2) p b {
    width: 2.5rem;height: 2.5rem;
    border-radius: 100%;
    font-size: 1.4rem;
    font-weight: bold;
    background-color: #09d870;
    display: flex;justify-content: center;align-items: center;
}
.result_number span:nth-of-type(2) p:nth-of-type(1) b {background-color: #f6f6f6;}
.result_number span:nth-of-type(2) p:nth-of-type(2) b:nth-of-type(1){background-color: #ffe6e6;}
.result_number span:nth-of-type(2) p:nth-of-type(2) b:nth-of-type(2){background-color: #fdebdf;}
.result_number span:nth-of-type(2) p:nth-of-type(2) b:nth-of-type(3){background-color: #fff6d9;}
.result_number span:nth-of-type(2) p:nth-of-type(2) b:nth-of-type(4){background-color: #ecf2de;}
.result_number span:nth-of-type(2) p:nth-of-type(2) b:nth-of-type(5){background-color: #e0eef6;}
.result_number span:nth-of-type(2) p:nth-of-type(2) b:nth-of-type(6){background-color: #eee1f5;}
.result_number .top1 {
    display: flex;justify-content: space-between;align-items: center;gap: 1rem;
    border: 1px solid #ececec;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.result_number .bonus {
    display: flex;justify-content: space-between;align-items: center;gap: 1rem;
    border: 1px solid #ececec;
    padding: 1.5rem;
}
.result_info {
    padding: 1rem 0;
}
.result_info li {
    padding: 0 1.5rem;
    gap:2.5rem;
    display: flex;justify-content: space-between;align-items: center;
}
.result_info li span:nth-of-type(1) {
    padding: 1rem 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    display: block;
    border-radius: .5rem;
    background-color: #aaa;
}
.result_info li span:nth-of-type(2) {
    width: 100%;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f3f3f3;
}
.result_info li span:nth-of-type(2) p {
    line-height: 1.4;
}
.result_info li span:nth-of-type(2) p:nth-of-type(1) {
    font-size: 1.6rem;
    color: #414141;
}
.result_info li span:nth-of-type(2) p:nth-of-type(2) {
    font-size: 1.2rem;
    color: #939393;
}







.balls_wrap {
    height: 20rem;
    padding: 1.5rem;
    background-color: #fff;
}
.balls_wrap div {
    border-radius: .5rem;
    padding: 2rem 1rem;
    background-color: #3b1781;
}
.balls_wrap h2 {
    color: #fff;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1rem;
}
.balls_wrap p {
    font-size: 1.2rem;color: #fff;
    display: flex;align-items: center;justify-content: center;
}
.balls_wrap p span {
    border-radius: 100%;
    display: flex;justify-content: center;align-items: center;
    width: 3rem;height: 3rem;
    font-size: 1.6rem;
    color: #fff;
    margin: .2rem;
}
.balls_wrap p span:nth-of-type(1) {background-color: #c0c1c1;margin-right: .5rem;}
.balls_wrap p span:nth-of-type(2) {background-color: #ff5856;margin-left: 1rem;}
.balls_wrap p span:nth-of-type(3) {background-color: #ef7a2b;}
.balls_wrap p span:nth-of-type(4) {background-color: #ffc400;}
.balls_wrap p span:nth-of-type(5) {background-color: #80a71f;}
.balls_wrap p span:nth-of-type(6) {background-color: #2e8bc4;}
.balls_wrap p span:nth-of-type(7) {background-color: #8d36ba;}