@charset "utf-8";
.opacity0 {
    opacity: 0;
    transition: opacity .5s;
}
.webp body {
    background-image: url(../../common/images/lottery/bg.jpg);
    background-size: 272px 272px;
    background-position: -172px -132px;
}
.no-webp body {
    background-image: url(../../common/images/lottery/bg.jpg);
    background-size: 272px 272px;
    background-position: -172px -132px;
}
body.low:after {
    background-image: none !important;
}

a[target="_blank"]::after {
    display: none;
}
table .nav{ display: none !important;}
#contents_inner{
    padding: 0 !important;
    background-color: #fff;
}
#contents_inner .top {
    background-color: #f9eeeb;
    border-radius: 40px 40px 0 0;
}
#contents_inner .top h1 {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 30px;
}
#contents_inner .top h1 .sub1 {
    background-color: #333333;
    font-size: 14px;
    color: #fff;
    padding: 3px 33px;
    border-radius: 30px;
}
#contents_inner .top h1 .sub2 {
    font-family: "Shin Maru Go Bold", sans-serif;
    font-size: 24px;
}
#contents_inner .top h1 img {
    max-width: 575.5px;
    width: 86vw;
    margin: 0 auto;
    padding: 30px 0 25px;
    display: block;
}

#contents_inner .top .term {
    font-family: "Shin Maru Go Bold", sans-serif;
    background-color: #fff;
    color: #333;
    max-width: 406px;
    width: 80vw;
    margin: 0 auto 50px;
    padding: 25px 0;
    text-align: center;
    border-radius: 20px;
    font-size: 22px;
    line-height: 1.45;
}
#contents_inner .top .term span {
    font-size: 18px;
    display: block;
    padding-bottom: .5em;
}
.pic img {
    width: 100%;
}
#contents_inner .inner .text {
    max-width: 570px;
    width: 92%;
    margin: 70px auto;
    font-weight: bold;
    font-size: 16px;
    line-height: 2;
}
#contents_inner .inner .text hr {
    border: none;
    border-top: 1px solid;
    padding-top: 2em;
    margin: 2em auto 0;
}
#contents_inner .inner .note {
    background-color: #f8f8f8;
    max-width: 720px;
    width: 86%;
    margin: 0 auto;
    padding: 40px 0 50px;
    border-radius: 20px;
    color: #333333;
}
#contents_inner .inner .note h2 {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    padding-bottom: 2em;
}
#schedule_body{
    margin-top: 80px;
    background-color: #f9eeeb;
    padding: 80px 20px 80px;
    position: relative;
}
.schedule_title {
    max-width: 916px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 25px;
}
.schedule_title ul {
    display: flex;
    align-items: center;
    gap: 15px;
}
.schedule_title ul img {
    width: 53px;
}
.schedule_title .date {
    font-family: "Shin Maru Go Bold", sans-serif;
    font-size: 28px;
}
.schedule_title .date span {
    font-size: 85%;
}
.schedule_title .scale {
    font-family: "Shin Maru Go Bold", sans-serif;
    font-size: 15px;
    background-color: #333333;
    color: #fff;
    padding: 4px;
    letter-spacing: 0;
    border-radius: 50%;
}
#event_schedule{
    max-width: 916px;
    margin: 0 auto 30px;
    background-color: #fff;
    border-radius: 20px;
    position: relative;
}

#event_schedule table{
    width: 100%;
}

#event_schedule th{
    width: 40px;
    padding: 10px 5px;
    white-space: nowrap;
    text-align: center;
    font-size: 12px;
    line-height: 1em;
    vertical-align: top;
    border-right: 1px solid #eee;
    border-bottom: 1px dashed #eee;
}
#event_schedule th .s{
    font-size: 80%;
}

#event_schedule td{
    width: 13.2%;
    padding: 2px;
    border-bottom: 1px dashed #eee;
    border-right: 1px solid #eee;
    word-break: break-all;
    vertical-align: top;
}
#event_schedule tr:last-of-type td {
    border-bottom: none;
}
#t_head{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#t_head th{
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}
#t_head th.item {
    background-image: linear-gradient(to right top, transparent calc(50% - 0.5px), #eee 50%, #eee calc(50% + 0.5px), transparent calc(50% + 1px));
    border-radius: 30px 0 0 0;
    font-family: "Shin Maru Go Medium", sans-serif;
    font-size: 14px;
    position: relative;
    color: #848484;
}
#t_head th.item span {
    display: block;
    position: absolute;
}
#t_head th.item span:nth-of-type(1) {
    top: .8em;
    left: 54%;
}
#t_head th.item span:nth-of-type(2) {
    top: 2.8em;
    left: 9%;
}
#t_head td{
    padding: 20px 0;
    font-size: 24px;
    letter-spacing: .05em;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-family: 'Shin Maru Go Bold';
}

/* #t_head td .s{
    font-size: 80%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    bottom: 2px;
} */

#t_head td .w{
    padding: 4px;
    color: #fff;
    font-size: calc(22px * .7);
    display: inline-block;
    background-color: #000;
    border-radius: 100px;
    line-height: 1em;
    vertical-align: bottom;
    letter-spacing: 0;
}
#event_schedule td button {
    border: none;
    border-radius: 10px;
    width: 100%;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e5f2fb;
}
#event_schedule td button::after {
    content: '';
    display: block;
    width: 53px;
    height: 40px;
    background: url(../images/lottery/tori-min.png) no-repeat;
    background-size: contain;
}
#event_schedule td button.tori1 {
    background-color: #e5f2fb;
}
#event_schedule td button.tori1::after {
    background: url(../images/lottery/tori-min.png) no-repeat;
    background-size: contain;
}
#event_schedule td button.tori2 {
    background-color: #fff5ea;
}
#event_schedule td button.tori2::after {
    background: url(../images/lottery/tori.png) no-repeat;
    background-size: contain;
}
#event_schedule td button.tori3 {
    background-color: #fde9ed;
}
#event_schedule td button.tori3::after {
    background: url(../images/lottery/tori-max.png) no-repeat;
    background-size: contain;
}
.note ul{
    max-width: 32em;
    margin: 0 auto;
} 
.note ul li {
    font-size: 16px;
    line-height: 1.75;
    text-indent: -1em;
    padding-left: 1em;
}
.note ul li + li {
    padding-top: .6em;
}
.note ul li::before {
    content: '・';
}

#js-pagetop {
    position: fixed;
    bottom: 0;
    right: 20px;
    transition: all 1s;
    z-index: 90;
}
/* modal */
[x-cloak] { display: none !important; }
body.on { overflow: hidden; }
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 120;
    overflow-y: auto;
}
.modal .modal_inner {
    max-width: 800px;
    width: 96%;
    background-color: #fff;
    border: 1px solid #fff;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    transform: translate(-50%, -50%);
    position: absolute;
    color: #0e0000;
}
.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 50px;
    font-weight: 100;
}
.modal .pointer-events-none { pointer-events: none; }
.modal .opacity-50 { opacity: .5; }
.modal .modal_inner .desc {
    padding-bottom: 35px;
    background-color: #f8f8f8;
    border-radius: 20px 20px 0 0;
}
.modal .modal_inner .desc ul {
    width: 96%;
    margin: 0 auto;
    padding: 40px 0 25px;
}
.modal .modal_inner .desc ul li {
    font-size: 16px;
    line-height: 1.75;
    text-indent: -1em;
    padding-left: 1em;
}
.modal .modal_inner .desc ul li::before {
    content: '・';
}
.modal .modal_inner .desc .title{
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding-top: 50px;
}
.modal .modal_inner .check {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.modal input[type=checkbox] {
    display: none;
}
.modal .checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
.modal .checkbox::before {
    background: #fff;
    border: 2px solid;
    border-radius: 4px;
    content: '';
    display: block;
    width: 26px;
    height: 26px;
    top: 50%;
    left: -9px;
    margin-top: -13px;
    position: absolute;
}
.modal .checkbox::after {
    border-right: 4px solid #fa6b18;
    border-bottom: 4px solid #fa6b18;
    content: '';
    display: block;
    height: 15px;
    left: 0px;
    margin-top: -11px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 9px;
}
.modal input[type=checkbox]:checked + .checkbox::after {
    opacity: 1;
}
.modal .date-text {
    text-align: center;
    font-size: 22px;
    line-height: 1.44;
    font-weight: bold;
    padding: 35px 0;
}
.modal .apply {
    display: flex;
    gap: 1px;
}
.modal .apply a {
    display: block;
    width: 50%;
    background-color: #fa6b18;
    text-align: center;
    color: #fff;
    padding: 50px 0;
    font-size: 28px;
    letter-spacing: .05em;
    font-weight: bold;
}
.modal .apply a:nth-of-type(1) {
    border-radius: 0 0 0 20px;
}
.modal .apply a:nth-of-type(2) {
    border-radius: 0 0 20px 0;
}
.banner {
    background: url(../images/bg-footer1.webp) no-repeat;
    background-size: cover;
    border-radius: 0 0 40px 40px;
}
.banner ul li img {
    max-width: 290px;
    filter: drop-shadow(6px 6px 10px rgba(235, 97, 0, .4));
    border-radius: 4px;
}
#global_footer {
    background: url(../images/bg_footer3.webp);
    background-size: cover;
}  
.no-webp #global_footer {
    background: url(../images/bg_footer3.png);
    background-size: cover;
}  

@media (any-hover: hover) {
    #event_schedule td button {
        transition: opacity .15s;
        cursor: pointer;
    }
    #event_schedule td button:hover {
        opacity: .6;
    }
    .modal .close {
        transition: opacity .15s;
        cursor: pointer;
    }
    .modal .close:hover {
        opacity: .6;
    }
    .modal .apply a:not(.opacity-50) {
        transition: opacity .15s;
    }
    .modal .apply a:not(.opacity-50):hover {
        opacity: .6;
    }
}
@media screen and (max-width: 1340px) {
    .tori3, .tori4,.tori5,.tori6 {
        display: none;
    }
}
@media screen and (min-width: 751px) {
    #js-pagetop:hover {
        cursor: pointer;
        opacity: .5;
    }    
    #contents_inner {
        margin: 0 20px 50px 20px;
    }
    #contents_inner .inner .text {
        white-space: nowrap;
    }
    #contents_inner .inner .text hr {
        margin: 2em -2em 0;
    }
    .schedule_title {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }    
    .modal .modal_inner .desc ul {
        width: max-content;
    }    
    .banner ul  {
        display: flex;
        gap: 35px;
        justify-content: center;
        padding: 75px 0 145px;
    }
}
@media screen and (max-width: 750px) {
    .webp body {
        background-size: 136px 136px;
        background-position: -86px -66px;
    }
    .no-webp body {
        background-size: 136px 136px;
        background-position: -86px -66px;
    }    
    #contents_inner .top {
        border-radius: 20px 20px 0 0;
    }
    #contents_inner .top h1 {
        padding-top: 50px;
    }
    #contents_inner .top h1 .sub1 {
        font-size: 12px;
        padding: 3px 20px;
    }
    #contents_inner .top .term {
        font-size: 16px;
        margin: 0 auto 40px;
    }
    #contents_inner .top h1 .sub2 {
        font-size: 18px;
    }
    #contents_inner .top .term span {
        font-size: 14px;
    }
    #contents_inner .inner .text {
        margin: 40px auto;
    }
    #contents_inner .inner .note {
        padding: 40px 1em;
    }
    .schedule_title {
        font-size: 14px;
        margin-bottom: 1em;
    }
    .schedule_title .date {
        font-size: 20px;
        padding-top: .5em;
        padding-bottom: 1em;
    }
    .schedule_title .scale {
        font-size: 12px;
    }
    .schedule_title ul {
        justify-content: flex-end;
    }
    .schedule_title ul img {
        width: 40px;
    }
    table td{
        width: 100% !important;
        display: none;
    }

    table .nav{
        display: block !important;
    }

    table .nav{
        display: block !important;
    }

    table .event_col.on{
        display: table-cell !important;
    }

    #schedule_body{
        padding: 20px 10px;
        margin-top: 6.666vw;
        padding-bottom: 20px;
    }

    #event_schedule{
        border-radius: 10px;
        margin: 0 auto 20px;
    }
    #t_head th.item {
        font-size: 10px;
        border-radius: 10px 0 0 0;
    }
    #t_head th.item span:nth-of-type(1) {
        top: 0.4em;
        left: 50%;
    }
    #t_head th.item span:nth-of-type(2) {
        top: 2em;
        left: 9%;
    }
    #event_schedule th{
        font-size: 10px;
        line-height: 1.22;
    }
    #event_schedule th br {
        display: block;
    }

    #t_head th{
        padding: 0 0 8px 0;
        font-size: 12px;
        vertical-align: bottom;
    }

    #t_head td{
        padding: 0;
    }

    #t_head td .w{
        font-weight: normal;
    }


    table .nav{
        border-bottom: 1px solid #fa6b18;
    }

    table .nav ul{
        padding: 5px 5px 0 5px;
        display: flex;
        justify-content: space-between;
        letter-spacing: .05em;
    }

    table .nav li{
        width: 19%;
        padding: 8px;
        text-align: center;
        display: flex;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        border-radius: 5px 5px 0 0;
        cursor: pointer;
        transition: color, background;
        transition-duration: .15s;
        white-space: nowrap;
        align-items: flex-end;
        box-sizing: border-box;
    }

    table .nav li:hover,
    table .nav li.touch,
    table .nav li.on{
        background-color: #4495d1;
        color: #fff;
    }

    table .nav li.on{ cursor: default;}

    /* table .nav li .s{
        display: inline-block;
        font-size: 60%;
        vertical-align: middle;
        position: relative;
        top: -1px;
    } */
    .modal .close {
        top: 30px;
        right: 10px;
        z-index: 10;
        text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.4);
    }
    .modal .modal_inner .desc .title {
        font-size: 18px;
    }
    .modal .modal_inner .desc ul li {
        font-size: 14px;
    }
    .modal .modal_inner .check {
        font-size: 16px;
    }
    .modal .checkbox::before {
        width: 20px;
        height: 20px;
        left: 0px;
        margin-top: -10px;
    }
    .modal .checkbox::after {
        height: 12px;
        left: 6px;
        margin-top: -9px;
    }
    .modal .date-text {
        font-size: 20px;
        padding: 24px 0;
    }
    .modal .apply a {
        padding: 30px 0;
        font-size: 16px;
    }
    .note ul li {
        font-size: 14px;
    }
    #js-pagetop {
        right: 10px;
    }
    #js-pagetop img {
        width: 60px;
    }
    .banner {
        border-radius: 0 0 20px 20px;
        padding: 30px 0;
    }
    .banner ul li {
        text-align: center;
    }
    .banner ul li:nth-of-type(n + 2) {
        margin-top: 20px;
    }
    .banner ul li img {
        width: 60%;
    }    
} /* ----- max-width: 750px ----- */
@media screen and (max-height: 570px) and (max-width: 340px) {
    .modal .modal_inner {
        top: 10px;
        transform: translate(-50%, 0);
    }
}