@charset "utf-8";
/* CSS Document */

/* !HTML5 elements
---------------------------------------------------------- */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{ display: block;}


/* 共通
---------------------------------------------------------- */
body , html {
	margin: auto;
	height: 100%;
}

html {
	overflow-y: scroll;
}

body{
	background: #000;
    background-image: url(../../images/bg.gif);
    background-attachment: fixed;
    background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
    text-align: center; 
    font-size: 62.5%; 
}

#bg_sp::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background:url(../../images/bg.gif) center/cover no-repeat;
  -webkit-background-size:cover;
  }


#contain {
	height: 100%;
	width: 100%;
	position: relative;

}




#wrapper {
	position: relative;
}

#mainBox{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	height: auto !important;
	min-height: 100%;
}

#wrapper > footer, #footer {
	background-color: #000;
	width: 100%;
	position: absolute;
	bottom: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top-width: 0px;
	border-top-style: solid;
	color: #fff;
}


/* !nav
---------------------------------------------------------- */

#header {
	width: 100%;
	height: 40px;
	
}

#BtGnav {
	position: fixed;
	top: 4px;
	right: 4px;
	z-index: 9999;
}

#gnavM{
	display: none;
	z-index: 9998;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
    left: 0px;
	background-color: #000;
	background-color: rgba( 0, 0, 0, .8 );
	padding-top: 40px;
}

#gnavM ul li{
	border-bottom: 1px solid #959595;
	width: 100%;
	/*float: left;*/
	font-size: 1.8em;
	}

#gnavM ul li a {
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	vertical-align: middle;
	/*height: 44px;*/
	line-height:50px;
	width:100%;

	}

#gnavM ul li a:hover {
	opacity: 0.3;
	}



/* !wrapper
---------------------------------------------------------- */
#wrapper {
	width: 100%;
	height: auto !important;
	height: 100%;
	min-height: 100%;
}





/* !contents
---------------------------------------------------------- */

h1 {
    margin-top:3vh; 
	letter-spacing: 0.1em;
	color: #fff;
	font-size: clamp(7.2em, 7.2vw, 12em);
}



#mainBox {
	height: 100% !important;
	width: 100% !important;
	margin-bottom: 30px;
}

#main {
	height: 100%;
	width: 100%;
}


#main .train_icon img {
    width: 90%;
    max-width: 664px;
}

#main_menu {
    width: 95%;
    max-width: 500px;
    margin: 0 auto;
    margin-top:40px;
}

#main_menu ul {
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 24px;
}

#main_menu ul li a {
    display: inline-block;
    font-size: 2.4em;
    line-height: 2em;
    color: #fff;
    text-decoration: none;
    background-color: #000;
    border-radius: 10px;
    width: 100%;
	min-width: 150px;
    max-width: 252px;
	letter-spacing: 0.1em;
}

#main_menu ul li a:hover {
	transition: 0.3s;
	cursor: pointer;
	transform: scale(1.1, 1.1);
}

#copybox {
	color: #fff;
	margin-top: 40px;
}

#copybox .copy{
	margin-bottom: 28px;
}

#copybox .copy h2 {
	letter-spacing: 0.1em;
	font-size: 2.0em;
}

#copybox .copy p {
	letter-spacing: 0.05em;
	font-size: 1.6em;
}

#topJafraLogo {
    width: 100%;
    max-width: 300px;
    border-bottom: 1px solid #fff;
    margin: 0 auto;
    padding-bottom: 20px;
    padding-top: 20px;
	
}

#topJafraLogo img {
	width: 100%;
	max-width: 280px;
}

#topJafraLogo img:hover{
	transition: 0.3s;
	opacity: 0.7;
}

#sponsor {
	margin-top: 20px;
	margin-bottom: 64px;
}

#sponsor p {
	font-size: 2.0em;
	color: #fff;
}

#sponsor p a {
	text-decoration: none;
	color: #fff;
}

#sponsor a:hover{
	transition: 0.3s;
	opacity: 0.7;
}

#poster p {
	margin-top: 20px;
	margin-bottom: 20px;
}



/* !footer
---------------------------------------------------------- */
#footer {
	position: absolute;
	background-color: #000;
	/*height: 40px;*/
	width: 100%;
	bottom: 0px;
	border-top-width: 0px;
	color: #fff;
	padding-top: 1%;
	padding-right: 0%;
	padding-left: 0%;
	padding-bottom: 1%;
	text-align: right;
}

	
#footerIn p {
    font-size: 1.28em;
}


.sp {display: none;}




/*-------------------------------------------------------------------------------------------------------------
　767px以下
-------------------------------------------------------------------------------------------------------------*/

@media (max-width: 767px){
	
	
h1 {
    margin-top: 1vh; 
}
	
#poster p img {
	width:90%;
	height:auto;
	}



#footerIn p {
	display:none;
}

#footerIn img {
    
}
	
#footerIn p, #footerIn img {
	margin:1% auto !important;
    clear: both ;
	}
    
    #footer {
	position: absolute;
        bottom: 0;
        text-align: center;

}

	
	
}



/*-------------------------------------------------------------------------------------------------------------
	768px以上
-------------------------------------------------------------------------------------------------------------*/

@media (min-width: 768px){

.sp {
	display:none !important;
}

#poster p img {
	max-width: 600px;
	}

/* !wrapper
---------------------------------------------------------- */
#wrapper {
	width: 100%;
	height: auto !important;
	min-height: 100%;

}


/* !header
---------------------------------------------------------- */


/* !footer
---------------------------------------------------------- */
#footer {
	position: absolute;
	text-align:right;
}

#footerIn p, #footerIn img {
	display: block;
	float: right;
}




}
