header {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
    border-bottom: 1px solid #ccd8ff;
}
header h1 {
    width: 8rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 3rem;
    position: absolute;
    right: 1.5rem;
}
header #menuBtn img {
    width: 100%;
}

.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;
    justify-content: space-between;
    width: 100%;
    height: 7rem;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.4);
}
nav a {
    width: 25%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
nav a img {
    height: 3rem;
    margin-bottom: 1rem;
}
nav a span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a6a6a6;
}

main {
    padding: 0 1.5rem 10rem;
}
main .lottoSwiper {
    padding: 2rem 0;
    height: max-content;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}
main .lottoSwiper .swiper-wrapper {}
main .lottoSwiper .swiper-wrapper .swiper-slide {
    background: linear-gradient(to right, #d3faa3, #0ac9bf, #5677f6, #cca6e8);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 0.1rem;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .slideBg {
    border-radius: 1.5rem;
    background: #f8fffa;
    padding: 2rem 1.5rem;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .num {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .num span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #f14545;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .date {
    font-size: 1.6rem;
    font-weight: 600;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .lucky_number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 900;
    padding: 2rem 0 1rem;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .lucky_number span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .lucky_number span p {
    font-size: 1.8rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .lucky_number span img {
    width: 85%;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .money {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #5277f6;
    border-radius: 5rem;
    color: #fff;
    font-size: 1.8rem;
}
main .lottoSwiper .swiper-wrapper .swiper-slide .money span {
    font-size: 1.8rem;
    font-weight: 900;
    color:#ffff08 ;
}
main .lottoSwiper .swiper-pagination {
    bottom: 0;
}
main .create {
    padding: 3rem 0;
}
main .create h2 {
    font-size: 1.8rem;
    font-weight: 800;
    padding-top: 0;
}
main .create h2 span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #4b72f6;
}
main .create a {
    position: relative;
}
main .create a > img {
    width: 100%;
}
main .create a p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    background: #13b713;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    border-radius: 5rem;
    padding: 0.8rem 0;
}
main .create a p img {
    width: 3rem;
    margin-left: 0.5rem;
}
main .shortcutWrap {
    padding: 3rem 0;
}
main .shortcutWrap h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
main .shortcutWrap h2 span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #4b72f6;
    margin-right: 0.5rem;
}
main .shortcutWrap .shortcut {
    display: flex;
    justify-content: space-between;
}
main .shortcutWrap .shortcut a {
    width: calc(50% - 0.75rem);
    height: 17rem;
    border-radius: 1.5rem;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    border-left: 1px solid #d6e1fe;
    border-top: 1px solid #d6e1fe;
    overflow: hidden;
    padding-top: 1.5rem;
    background-position: bottom 4rem center;
    background-size: 5rem;
    background-repeat: no-repeat;
}
main .shortcutWrap .shortcut a p {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
main .shortcutWrap .shortcut a:nth-of-type(1) {
    background-image: url(../img/main-btn-1.png);
}
main .shortcutWrap .shortcut a:nth-of-type(2) {
    background-image: url(../img/main-btn-2.png);
}
main .shortcutWrap .shortcut a p span {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4b72f6;
    line-height: 1.4;
}
main .shortcutWrap .shortcut a p:nth-of-type(2) {
    display: flex;
    justify-content: center;
    background: #8272f4;
    padding: 0.5rem 0;
}
main .shortcutWrap .shortcut a p img {
    width: 3rem;
}

/* 번호생성 */
#sub {
    padding: 0 0 10rem 0;
}
main .bnr {
    background-image: url(../img/sub-img.png);
    background-size: cover;
    height: 20rem;
}
main .autoManualWrap {
    padding: 3rem 1.5rem;
}
main .autoManualWrap h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
main .autoManualWrap h2 span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #4b72f6;
    margin: 0 0.5rem;
}
main .autoManualWrap .autoManual {
    display: flex;
    flex-flow: column nowrap;
}
main .autoManualWrap .autoManual a {
    width: 100%;
    height: 12rem;
    border-radius: 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-left: 1px solid #d6e1fe;
    border-top: 1px solid #d6e1fe;
    overflow: hidden;
    padding-top: 1.5rem;
    background-position: right 1.5rem top 1.5rem;
    background-size: 5rem;
    background-repeat: no-repeat;
    margin-bottom: 2em;
}
main .autoManualWrap .autoManual a:nth-of-type(1) {
    background-image: url(../img/sub-btn-icon-1.png);
}
main .autoManualWrap .autoManual a:nth-of-type(2) {
    background-image: url(../img/sub-btn-icon-2.png);
    background-position: right 1.5rem top 2rem;
    background-size: auto 5rem;
}
main .autoManualWrap .autoManual a p {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1rem 0 0 1.5rem;
}
main .autoManualWrap .autoManual a p span {
    font-size: 1.8rem;
    font-weight: 800;
    color: #4b72f6;
    line-height: 1.4;
}
main .autoManualWrap .autoManual a p:nth-of-type(2) {
    display: flex;
    justify-content: center;
    background: linear-gradient(to right, #d3faa3, #0ac9bf, #5677f6, #cca6e8);
    padding: 0.5rem 0;
    margin: 0;
}
main .autoManualWrap .autoManual a p img {
    width: 3rem;
}
.create h2 {
    padding: 2rem 0;
    font-size: 1.8rem;
    font-weight: 800;
}
.create h2 span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #4b72f6;
}
main .createBg {
    /* margin-bottom: 6rem;  // 2024/7/31일 에드센스 공백 문제로 주석  */
    background: linear-gradient(to right, #d3faa3, #0ac9bf, #5677f6, #cca6e8);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 0.1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
}
main .createBg .create_top {
    border-radius: 1.5rem;
    background: #f8fffa;
    padding: 2rem 1.5rem;
}
main .createBg .create_top h3 {
    text-align: center;
    font-weight: 900;
    font-size: 2rem;
}
main .createBg .create_top .lucky_number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 900;
    padding: 1rem 0 2rem;
}
main .createBg .create_top .lucky_number li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
main .createBg .create_top .lucky_number li p {
    font-size: 1.8rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}
main .createBg .create_top .lucky_number li img {
    width: 85%;
}
main .createBg .create_top .button {
    display: flex;
    justify-content: space-between;
}
main .createBg .create_top .button a {
    width: calc(50% - 0.75rem);
    border-radius: 5rem;
    padding: 1rem 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.4);
}
main .createBg .create_top .button a:nth-of-type(1) {
    background: #5277f6;
}
main .createBg .create_top .button a:nth-of-type(2) {
    background: #13b713;
}
main .create_num_box {
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-left: 1px solid #d6e1fe;
    border-top: 1px solid #d6e1fe;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1.5rem;
}
main .create_num_box .scrapDate {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main .create_num_box .scrapDate .left {
    display: flex;
    align-items: center;
}
main .create_num_box .scrapDate .left img {
    width: 3rem;
    margin-right: 0.5rem;
}
main .create_num_box .scrapDate .left span {
    font-size: 1.6rem;
    font-weight: 600;
}
main .create_num_box .scrapDate .status {
    font-size: 1.6rem;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
    background: #d2deff;
    border-radius: 5rem;
}
main .create_num_box .lucky_number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 900;
    padding: 1.5rem 0;
}
main .create_num_box .lucky_number li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
main .create_num_box .lucky_number li p {
    font-size: 1.8rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}
main .create_num_box .lucky_number li img {
    width: 85%;
}

/* 초이스 */
.home h2 {
    padding: 2rem 0;
    font-size: 1.8rem;
    font-weight: 800;
}
.home h2 span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #4b72f6;
}
.choiceBg {
    /* margin-bottom: 6rem; / 2024/7/31일 에드센스 공백 문제로 주석  */
    background: linear-gradient(to right, #d3faa3, #0ac9bf, #5677f6, #cca6e8);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 0.1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
}
.luckyNumberWrap {
    border-radius: 1.5rem;
    background: #f8fffa;
    padding: 2rem 1.5rem;
}
.lucky_number.choice {
    display: flex;
    height: 7.5rem;
}
.luckyNumberWrap h3 {
    text-align: center;
    font-weight: 900;
    font-size: 2rem;
}
.lucky_number.choice li{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lucky_number.choice li p {
    font-size: 1.8rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}
.lucky_number.choice li img {
    width: 85%;
}
.btn_wrap.choice {
    display: flex;
    justify-content: space-between;
}
.btn_wrap.choice .btn {
    width: calc(50% - 0.75rem);
    border-radius: 5rem;
    padding: 1rem 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.4);
}
.btn_wrap.choice .reset {
    text-align: center;
    background: #5277f6;
}
.btn_wrap.choice .scrap_btn {
    background: #13b713;
}
.num_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.num_area li {
    cursor: pointer;
    width: 6.1rem; height: 6.1rem;
    border: .1rem solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #2F2F2F;
    font-weight: 800;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.num_area li.yellow {
    border-color: #ffcf0b;
}
.num_area li.yellow.on {
    background: #ffcf0b;
}
.num_area li.blue {
    border-color: #435df6;
}
.num_area li.blue.on {
    background: #435df6;
}
.num_area li.pink {
    border-color: #f24646;
}
.num_area li.pink.on {
    background: #f24646;
}
.num_area li.gray {
    border-color: #686b6b;
}
.num_area li.gray.on {
    background: #686b6b;
}
.num_area li.green {
    border-color: #13b713;
}
.num_area li.green.on {
    background: #13b713;
}

/* 패턴 */
.main_tit.pattern {
    margin-bottom: 4rem;
}
.pattern_box {
    border: .1rem solid #8272f4;
    border-radius: 1.5rem;
    position: relative;
    padding-top: 2rem;
}
.pattern_box .top_tit {
    background: #8272f4;
    border-radius: 5rem;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    padding: 1.5rem 0;
    font-weight: 600;
    margin: .5rem 1rem 2.5rem;
}
.pattern_box .top_tit .num {
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    padding-left: 1rem;
}
.pattern_num {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0 1rem 3rem 1rem;
    position: relative;
}
.pattern_num li {
    position: relative;
    width: calc(100% / 7 - .5rem);
    padding: 3rem 0;
    border: .1rem solid #8272f4;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
.pattern_num li p {
    position: absolute;
    font-size: 1.7rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-weight: 600;
}
.pattern_num li::after {
    position: absolute;
    content: '';
    display: block;
    width: 110%;
    height: 65%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 0;
}
.pattern_num li.selected p{
    background-color: #ffcf0b;
    z-index: 4;
    padding: 2rem 0;
    width: 95%;
    text-align: center;
}
#patternCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    z-index: 5;
}
.patternSwiper {
    width: 100%;
    height: 10rem;
    padding: 6rem 0 10rem !important;
}
.patternSwiper > p {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.patternSwiper .swiper-wrapper {
    width: 100%; height: 100%;
}
.patternSwiper .swiper-slide.pattern {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    border: .1rem solid #5277f6;
    border-radius: 5rem;
    padding: 1rem 0;
}
.patternSwiper .swiper-slide.choice {
    background: #5277f6;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.patternSwiper .swiper-slide.pattern p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #5277f6;
    text-align: center;
}
.patternSwiper .swiper-slide.choice p{
    color: #fff;
}

/* 통계 */
.create .shortcut {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}
.create .shortcut a {
    width: calc(50% - 0.75rem);
    height: 17rem;
    border-radius: 1.5rem;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    border-left: 1px solid #d6e1fe;
    border-top: 1px solid #d6e1fe;
    overflow: hidden;
    padding-top: 1.5rem;
    background-position: bottom 4rem center;
    background-size: auto 6rem;
    background-repeat: no-repeat;
    margin-bottom: 1.5rem;
}
.create .shortcut a p {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
.create .shortcut a:nth-of-type(1) {
    background-image: url(../img/sub-btn-icon-3.png);
}
.create .shortcut a:nth-of-type(2) {
    background-image: url(../img/sub-btn-icon-4.png);
}
.create .shortcut a:nth-of-type(3) {
    background-image: url(../img/sub-btn-icon-5.png);
}
.create .shortcut a:nth-of-type(4) {
    background-image: url(../img/sub-btn-icon-6.png);
}
.create .shortcut a p span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #4b72f6;
    line-height: 1.4;
}
.create .shortcut a p:nth-of-type(2) {
    display: flex;
    justify-content: center;
    background: #5277f6;
    padding: 0.5rem 0;
}
.create .shortcut a p img {
    width: 3rem;
}
main .liveBtn {
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 2.5rem 0;
}
main .liveBtn img {
    width: 100%;
}
main .liveBtn p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
}
main .liveBtn p span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffcf0b;
    margin-right: 0.5rem;
}
main .liveBtn p img {
    width: 5rem;
    margin-left: 0.5rem;
}

/* 스크랩 */
.scrap_tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0;
}
.scrap_tab li {
    width: calc(100% / 3);
    border: .1rem solid #b7b7b7;
    border-radius: 1.2rem;
    padding: 1rem 0;
    color: #b7b7b7;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    display: flex;
    flex-flow: column nowrap;
}
.scrap_tab li span {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #b7b7b7;
}
.scrap_tab li.on {
    color: #5277f6;
    border: .1rem solid #5277f6;
}
.scrap_tab li span.on {
    color: #5277f6;
}
.scrap_item {
    border: .1rem solid #C5C5C5;
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 4px;
}
.scrap_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.scrap_time {
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.scrap_item .auto_text {
    font-size: 1.6rem;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
    background: #d2deff;
    border-radius: 5rem;
}
.scrap_top img {
    width: 3rem;
}
.scrap_numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.scrap_numbers li {
    position: relative;
    width: calc(100% / 7);
}
.scrap_numbers li p {
    font-size: 1.8rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}
.scrap_numbers li img {
    width: 100%;
}