#event{
    margin: 0 0 100px;
}
#event h2{
    margin: 80px 0 60px;
    padding-bottom: 1em;
    position: relative;
    font-size: 2.4rem;
}
#event h2::after{
    content: "";
    width: 100px;
    height: 4px;
    background: #111;
    position: absolute;
    bottom: 0;
    left: 0;
}
#event h3{
    margin: 3em 0 2em;
    font-size: 2rem;
}
#event p{
    font-size: 1.6rem;
    font-family: var(--common-sans-serif);
}
#event .bannerlink a{
    width: 100%;
    max-width: 420px;
    padding: 1.5em 0;
    background: #f5f5f5;
    color: #111;
    font-family: sans-serif;
    font-size: 1.6rem;
    letter-spacing: .1em;
    text-decoration: none;
    text-align: center;
    display: block;
    position: relative;
    border-radius: 4px;
    transition: background .2s;
}
#event .bannerlink a::after{
    content: "\e5df";
    font-family: material icons;
    text-align: center;
    line-height: 16px;
    color: #fff;
    background: var(--common-red);
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    right: 20px;
}
#event .bannerlink a.passive{
    color: #999;
    text-decoration:line-through;
    cursor: default;
    pointer-events: none;
}
#event .bannerlink a.passive::after{
    opacity: .6;
}
#event ul.grid_list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
}
#event ul.grid_list li > *:first-child{
    margin-top: 0;
}
#event ul.grid_list li .inner{
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}
#event ul.grid_list li .inner > p{
    margin: 1.5em;
}
#event ul.grid_list li .inner + .bannerlink{
    margin-top: 1.5em;
}
#event ul.grid_list + ul.grid_list{
    margin-top: 40px;
}
#event article > *:first-child{
    margin-top: 0;
}
#event article h3{
    margin: 60px 0 40px;
    padding: .5em 0 .5em .75em;
    border-left: 4px solid var(--common-red);
}
#event figure{
    margin: 40px 0;
}
#event .eyecatch{
    margin: 40px 0;
    line-height: 0;
}
#event ul.price_list{
    margin: 40px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#event ul.price_list li{
    padding: 4px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed #ddd;
    font-size: 1.6rem;
}
#event ul.price_list li .ttl{
    font-weight: 600;
}
#event ul.price_list li .ttl sub{
    margin-left: 1em;
    font-family: var(--common-sans-serif);
    font-weight: 300;
}
#event ul.price_list li .detail{
    min-width: 160px;
    text-align: right;
}
#event ul.price_list_memo{
    margin: -20px 0 40px;
    padding: 0;
    list-style: none;
    font-family: var(--common-sans-serif);
    color: #999;
}
#event ul.price_list_memo li{
    font-size: 1.2rem;
}
#event ul.voice_list{
    margin: 40px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
#event ul.voice_list li h3{
    margin: 0;
}
#event ul.voice_list li h3 a{
    text-decoration: none;
    color: #111;
}
#event ul.voice_list li h3 a::after{
    content: "\e89e";
    font-family: "material icons";
    font-size: 1.4rem;
    font-weight: 300;
    color: #999;
    display: inline-block;
    margin-left: .5em;
}
#event ul.voice_list li h3 a:hover{
    color: var(--common-red);
    text-decoration: underline;
}
#event ul.voice_list li p{
    margin: 1.5em;
    text-align: justify;
    line-height: 1.8;
}
#event ul.voice_list li .inner{
    margin-top: 1em;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
}
#sub{}
#sub ul.event_nav{
    margin: 0;
    padding: 0;
    list-style: none;
}
#sub ul.event_nav li{
    border-bottom: 1px solid #ddd;
    position: relative;
}
#sub ul.event_nav li a{
    padding: .75em 20px .75em 12px;
    display: block;
    text-decoration: none;
    color: #111;
    font-family: var(--common-sans-serif);
    font-size: 1.6rem;
    position: relative;
}
#sub ul.event_nav li a.active{
    color: var(--common-red);
}
#sub ul.event_nav li a::after{
    content: "\e315";
    font-family: material icons;
    text-align: center;
    color: #999;
    font-size: 1.2rem;
    line-height: 16px;
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    right: 0;
}
#sub ul.event_nav li::after{
    content: "";
    width: 0;
    height: 1px;
    background: #111;
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
    transition: width .4s;
}

#open_popupevent{
    padding: 1em 3em 1em 1.5em;
    background: #f5f5f5;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 1.6rem;
    font-family: var(--common-sans-serif);
    cursor: pointer;
    display: block;
    position: relative;
}
#open_popupevent::after{
    content: "\e5df";
    font-family: material icons;
    text-align: center;
    line-height: 16px;
    color: #fff;
    background: var(--common-red);
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    right: 20px;
}
#open_popupevent:hover{
    opacity: .8;
}

#popup_event{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
}
#popup_event .wrap{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#popup_event .wrap .bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.95);
}
#popup_event .wrap .set{
    z-index: 1;
    max-width: 1600px;
    width: calc(100% - 40px);
}
#popup_event .wrap .set button{
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    background: none;
    border: none;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
#popup_event .wrap .set button::before{
    content: "\e5cd";
    font-family: "material icons";
    font-size: 36px;
    text-indent: 0;
    text-align: center;
    line-height: 40px;
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
#popup_event .wrap .set .inner{
    width: 100%;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ddd;
    overflow-x: auto;
}
#popup_event .wrap .set .inner table{
    width: 100%;
    border-collapse: collapse;
}
#popup_event .wrap .set .inner table :is(th,td){
    padding: .75em .5em;
    border: 1px solid #ddd;
    font-size: 1.2rem;
    font-family: var(--common-sans-serif);
    text-align: center;
    white-space: nowrap;
}
#popup_event .wrap .set .inner table thead th,
#popup_event .wrap .set .inner table tbody th:first-child{
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
}
#popup_event .wrap .set .inner table thead th{
    color: #111;
    background: #e7ebf0;
}
#popup_event .wrap .set .inner table tbody th:first-child{
    background: var(--common-blue);
    color: #fff;
}
#popup_event .wrap .set .inner table thead th::before,
#popup_event .wrap .set .inner table tbody th:first-child::before{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    border: 1px solid #ddd;
    border-bottom: none;
    border-left: 0;
}
#popup_event .wrap .set .inner table thead th:first-child{
    z-index: 2;
    background: #fff;
}
#popup_event .wrap .set .inner table thead th:first-child::before{
    background: #fff;
    background-image: linear-gradient(to right top, transparent calc(50% - 0.5px), #ddd 50%, #ddd calc(50% + 0.5px), transparent calc(50% + 1px));
}
#popup_event .wrap .set .inner table thead th:last-child::before{
    border-right: none;
}
#popup_event .wrap .set .inner table thead th:last-child{
    border-right: none;
}
#popup_event .wrap .set .inner table tbody tr:last-child th:first-child::before{
    border-bottom: none;
}
#popup_event .wrap .set .inner table :is(th,td):first-child{ border-left: none;}
#popup_event .wrap .set .inner table :is(th,td):last-child{ border-right: none;}
#popup_event .wrap .set .inner table :is(thead,tbody):first-child tr:first-child :is(th,td){ border-top: none;}
#popup_event .wrap .set .inner table :is(tbody,tfoot):last-child tr:last-child :is(th,td){ border-bottom: none;}


#popup_event{}
#popup_event{}

@media (pointer: fine){
    #event .bannerlink a:hover{
        background: #eee;
    }
    #event .bannerlink a.passive:hover{
        background: #f5f5f5;
    }
    #sub ul.event_nav li:hover::after{
        width: 100%;
    }
    #sub ul.event_nav li a:hover{
        color: var(--common-red);
    }
}
@media screen and (max-width: 1023.98px){}
@media screen and (max-width:767.98px){
    #event{
        margin: 0 0 60px;
    }
    #event h2{
        padding-bottom: .75em;
        letter-spacing: 0;
    }
    #event h2::after{
        width: 80px;
    }
    #event h2 small{
        font-size: 1.4rem;
    }
    #event h3{
        margin: 40px 0 20px;
        letter-spacing: 0;
    }
    #event ul.grid_list{
        grid-template-columns: 1fr;
    }
    #event ul.price_list{
        border-top: 1px dashed #ddd;
        gap: 0;
    }
    #event ul.price_list li{
        padding: 12px 0;
        flex-direction: column;
    }
    #event ul.price_list li .ttl{
    }
    #event ul.price_list li .detail{
        min-width: auto;
        text-align: left;
    }
    
}