/*e-amusementサイトテンプレート*/
header,footer,header#id_nav_menu_1{position:relative !important;}
header#id_nav_menu_1{background-color:#fff;}
#wrapper{position:relative !important;}
#container{
background-image:url(../img/common/container_bg_l.webp),url(../img/common/container_bg_r.webp),repeating-linear-gradient(0deg, rgba(255,255,255,0.15) 0px,rgba(255,255,255,0.15) 1px,transparent 1px,transparent 5px),
linear-gradient(90deg, rgba(86, 86, 148, 1), rgba(129, 148, 186, 1) 25% 75%, rgba(86, 86, 148, 1));
background-position:left top,right top,center;
background-repeat:repeat-y,repeat-y,repeat;
}
/*z-index*/
#main,#main::before,#main::after {z-index:1;}
#main > #main-inner              {z-index:2;}
footer                           {z-index:5 !important;}


/*
================================================================================================================
COMMON
================================================================================================================
*/
*{padding:0; margin:0; border:0;}
*, *:before, *:after{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
-ms-box-sizing:border-box;
box-sizing:border-box;}

html{width:100%; height:100%; overflow-wrap:break-word}
body{
min-width:320px !important;
color:#000 !important;
background:#000 !important;
margin:0 auto;
font-family:"メイリオ", "Meiryo", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
overflow-x:hidden;}
h1,h2,h3,h4,h5,h6{display:none;}
a{outline:none;}
a:link,a:visited,a:hover,a:active{text-decoration:none;}
a img{transition:opacity .3s ease;}
img{padding:0; margin:0; border:0; vertical-align:bottom;}
ul{margin:0; padding:0; border:0;}
li{list-style:none;}
strong,em,b{font-weight:700; font-style:normal;}
table{width:100%; color:#000; border-collapse:collapse; border-spacing:0; margin:0 auto;}

.no-show{display:none;}/*タブ切替*/

/*
================================================================================================================
共通
================================================================================================================
*/

/*
========================
汎用ページ
========================
*/
#main,#main-inner{display:block; position:relative; width:100%;}

#main{}

#main-inner{
min-height:calc(100vh - 200px);
max-width:760px;
background-image:url(../img/common/main_inner_bg.webp);
background-position:top right;
background-size:100% auto;
background-repeat:repeat-y;
padding:120px 0 50px;
margin:0 auto;}
@media screen and (max-width:1400px){#main-inner{width:calc(100% - 220px);max-width:760px; }}
@media screen and (max-width:1180px){#main-inner{margin:0 auto 0 220px;}}
@media screen and (max-width:980px){#main-inner{width:100%; min-height:calc(100vh - 250px);margin:0 auto;padding-top:80px;}}
@media screen and (max-width:640px){#main-inner{padding:80px 5px 30px;}}


@media screen and (max-width:980px){#main-inner::after{display:none;}}

#main-inner h1,
#main-inner h2{display:block; text-align:center;}
#main-inner h1 img{width:80%; max-width:500px;}
#main-inner h2 img{width:70%; max-width:400px;}
#main-inner h1 + h2{margin-top:10px;}
@media screen and (max-width:480px){
#main-inner h1 img{width:100%;}}

#main-inner .text{
width:96%; max-width:700px;margin:20px auto;font-size: 16px;
}
#main-inner .text a{color:#000bff;text-decoration: underline #000bff 2px;}
#main-inner .text.font_s{font-size: 14px;}
#main-inner .text.font_ss{font-size: 12px;}
#main-inner .text.bold{font-weight: bold;}
#main-inner .text.center{text-align:center;}
#main-inner .text.blue{color: #000099;}

@media screen and (max-width:640px){
#main-inner .text{font-size: 14px;}
#main-inner .text.font_s{font-size: 12px;}
}

/*
========================
ボックス
========================
*/
#main-inner .box{width:100%;max-width:700px;margin:0 auto 40px;}
#main-inner .box img{width:100%;}
#main-inner .box h1{margin-bottom:20px;}

#main-inner .box h3{display:block; color:#FFFFFF; font-weight:bold; font-size:16px; text-align:center; background-color:#000033;margin:20px auto;padding:5px;}

#main-inner .box .link-text{display:inline-block; color:#a10000; font-weight:700; text-decoration:underline; transition:color .2s ease;}
#main-inner .box .link-text:hover{color:#f00; text-decoration:underline;}
#main-inner .box .bar{display:block; width:100%; height:1px; border-bottom:1px dashed #7e6226; margin:30px auto;}
@media screen and (max-width:800px){
#main-inner .box h3{font-size:14px;}}
@media screen and (max-width:480px){
#main-inner .box h3{font-size:13px;}}


/*
========================
リスト
========================
*/
#main .small{font-size:13px;}
@media screen and (max-width:640px){#main .small{font-size:12px;}}
@media screen and (max-width:480px){#main .small{font-size:11px;}}

ul.dot > li,ul.ast > li,span.ast{position:relative; padding-left:16px;}
ul.num > li{position:relative; padding-left:22px;}

ul.dot > li::before,
ul.ast > li::before,
ul.num > li::before,
span.ast::before{display:block; position:absolute; top:0; left:0;}

ul.dot > li::before{content:"・";}
ul.ast > li::before,span.ast::before{content:"※";}

ul.num > li:first-child::before{content:"①";}
ul.num > li:nth-child(2)::before{content:"②";}
ul.num > li:nth-child(3)::before{content:"③";}
ul.num > li:nth-child(4)::before{content:"④";}
ul.num > li:nth-child(5)::before{content:"⑤";}

@media screen and (max-width:640px){
ul.dot.small li,ul.ast.small li,span.ast.small{padding-left:14px;}
ul.num > li{padding-left:18px;}}

/*
================================================================================================================
サブメニュー
================================================================================================================
*/
.menu-sub > *{display:block; cursor:pointer; transition:all .2s ease;}
.menu-sub > ul li{text-align:center;}
.menu-sub > ul li:hover p{color: #FF0000;}
.menu-sub > * img{width:100%;}

#main > #main-inner > #pc{position:relative; width:100%;}
#pc .menu-sub{position:absolute; top:-20px;left:-210px;width:210px; padding:55px 0 20px;
background-image:url(../img/common/submenu_top.webp),url(../img/common/submenu_bottom.webp);
background-size:100% 45px,100% 20px;
background-position:top 10px center,bottom;
background-repeat:no-repeat;
}
#pc .menu-sub > ul{width:100%;min-height:300px;padding:0 16px;
background-image:url(../img/common/submenu_in_bg.webp),url(../img/common/submenu_bg.webp);
background-size:178px auto,100% auto;
background-position:bottom left 15px,top;
background-repeat:no-repeat,repeat-y;
}

#pc .menu-sub > ul li:nth-child(odd){background-color:rgba(255,255,255,0.4);}
#pc .menu-sub > ul li:nth-child(even){background-color:rgba(255,180,0,0.4);}

#pc .menu-sub#jp > ul{}

#sp{display:none;}
#sp .menu-sub{position:relative;}
@media screen and (max-width:1400px){}
@media screen and (max-width:980px){
#pc .menu-sub{display:none;}
#sp{display:block;}
#sp .menu-sub{display:flex; width:100%; margin:0 auto; flex-wrap:wrap;}}
#sp .menu-sub > ul{width:100%;max-width:380px;display:flex;justify-content:space-between;flex-wrap:wrap;margin:0 auto;}
#sp .menu-sub > ul li{width:calc(50% - 5px);background-color:#fff3c0;border-radius:10px;border:2px solid #ffc43c;margin-bottom:10px;}
#sp .menu-sub > ul li a{padding:0;}

/*固定*/
@media screen and (min-width:981px){
#main > #main-inner > #pc.fixed{position: fixed;top: 94px;}
#main > #main-inner > #pc.fixed .menu-sub{top: 0;}
}

/*テキストボタンタイプ*/
.menu-sub.btn a{
display:flex !important;
aspect-ratio:370/80;/*aspect-ratio:371/68;*/
background-size:100% 100%;
background-position:center;
background-repeat:no-repeat;
font-family: "Mochiy Pop One", sans-serif;
font-weight: 400;
font-style: normal;
font-size:16px;
padding-top:5px;
justify-content:center;
align-items:center;}
.menu-sub.btn a p{color:#48290d;}
@media screen and (max-width:980px){
#sp .menu-sub.btn{max-width:640px; padding:20px 10px;}
#sp .menu-sub.btn > a{width:calc(50% - 5px); max-width:unset !important; font-size:22px; margin:5px 0;}
#sp .menu-sub.btn > a:nth-child(even){margin-left:10px;}}
@media screen and (max-width:800px){.menu-sub.btn a p{}}
@media screen and (max-width:600px){#sp .menu-sub.btn > a{font-size:16px;}}
@media screen and (max-width:420px){
#sp .menu-sub.btn{padding:10px 5px;}
#sp .menu-sub.btn > a{width:calc(50% - 2.5px);}
#sp .menu-sub.btn > a:nth-child(even){margin-left:5px;}}
@media screen and (max-width:370px){#sp .menu-sub.btn > a{aspect-ratio:370/90; font-size:14px;}}


/*
================================================================================================================
TOPに戻るボタン
================================================================================================================
*/
/*@media screen and (min-width:981px){#page-top{display:none !important; visibility:hidden; pointer-events:none;}}*/

#page-top{
position:fixed;
bottom:10px;
right:10px;
width:60px;
height:60px;
border-radius:50%;
box-shadow:0 5px 2px rgba(0,0,0,.6);
z-index:10;}
#page-top a{
display:block;
width:100%;
height:100%;
color:#fdf770;
background:#ad0700;
font-family:"RocknRoll One", sans-serif;
font-size:13px;
text-align:center;
border-radius:50%;
padding:10px 0 0 0;
transition:.2s ease-in-out;}
#page-top a span{
display:block;
width:0;
height:0;
border-right:10px solid transparent;
border-bottom:16px solid #fdf770;
border-left:10px solid transparent;
transition:.2s ease-in-out;
margin:0 auto 3px;}
#page-top a:hover{color:#ad0700; background:#fff;}
#page-top a:hover span{border-bottom:16px solid #ad0700;}

/*
================================================================================================================
ページ遷移アニメ
================================================================================================================
*/
.fade{
animation-name:fadeIn;
animation-duration:1s;
animation-timing-function:ease-in-out;
animation-fill-mode:both;
animation-delay:1s;}

@keyframes fadeIn{
0%{opacity:0;}
100%{opacity:1;}}
