@charset "utf-8";
/* CSS Document */

body {
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    font-weight: 400;
    line-height: 1.5em;
	 animation: fadeIn 3s ease 0s 1 normal;
    -webkit-animation: fadeIn 3s ease 0s 1 normal;
    background-color: #000;
    overflow-x: hidden;
    overflow-y: scroll;
}

@font-face {
  font-family: "LegaultStd";
  src: url('../fonts2019/LegaultStd-Bold.otf') format("truetype");
}

.legaultstd {
    font-family: "LegaultStd";
}


.res-header{
        margin-top: 79px;
}

/* Youtube  responsive */
.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}



/*--test--*/
#demo {
    overflow: hidden !important;
}


.img-responsive {
    width: 100%;
    height: auto;
}

.border1 {
    padding: 10px;
    border-bottom: 2px solid #666766;
    width: 100%;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

.p-10 {
    font-size: 10px;
}

.p-20 {
    font-size: 20px;
}

/*--header--*/

header {
    background-color: #000;
    width: 100%;
    height: 80px;
    position: fixed; /* ヘッダーを固定(これが重要) */
    top: 0; /* 固定する位置 */
    left: 0; /* 固定する位置 */
    right: 0;  /* 固定する位置 */
    display: flex;
    flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center;  /* 子要素をflexboxにより中央に配置する */
    z-index: 999999;
}


header h1 {
    display: none;
}

img.enterimg{
    width: 30px;
    vertical-align: middle;
}



#header-nav {
    display: flex;
    vertical-align: middle;
    width: 100%;
    height: auto;
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center; 
}

.sns-btn ul li a img{
    width: auto;
    height: 17px;
    vertical-align: baseline;
}

#header-nav ul {
    display: flex;
}

#header-nav ul li a{
    color: #fff;
    margin: 0 8px;
}



/*--home--*/

#home {
    display: none;
}

#top-content {
    width: 100%;
	height: auto;
   /* padding-top: 75px; */
    background-image: url('../img2019/top-bg.png');
    background-size: cover;
    background-repeat: repeat;
}


.fadein {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}


.fadein:hover {
    animation-name: fadeIn;
    animation-delay: 0;
    animation-duration: 2s;
    opacity: 1;
}

.slider-logo{
   width:100%; 
}

.slider-logo img{
    width: 104vw;
    height: auto;
    object-fit: cover;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

img.slideimg{
    width: 100vw;
    height: auto;
    object-fit: cover;
}

/*--footer--*/

footer {
    width: 100%;
    margin: 15px auto;
    background-color: #fff;
}

.footer-nav {
    position: relative;
	overflow: hidden;	/*拡大時にはみ出た部分を隠す*/
	/*width: 100%;	/*画像の幅*/
    width : 32%;
	height: auto;	/*画像の高さ*/
    margin: 10px auto;
}

.footer-nav img {
    display: block;
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}

.footer-nav:hover img {
    transform: scale(1.1);	/*画像の拡大率*/
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}


img.footer-icon{
    height: 25px;
    width: 100%;
}

.footer-li {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



.footer-li li a{
        flex: auto;

}

.footer-nav-text {
    position: absolute;
    top: 80%;
    right: 5%;
    color: #fff;
    font-family: "LegaultStd";
    z-index: 9999;
    font-size: 45px;
}

.footer-nav:hover .footer-nav-text {
    transition: 0.3s;	/*変化に掛かる時間*/
    color: #ED2024;
}




@media screen and (max-width:900px){
    
    .res-header{
        margin-top: 38px;
    }

/*header-sp*/
    header {
        position: fixed;
    }
    
    .header-logo {
    font-size: 30px;
    color: #fff;
    line-height: 80px;
    }
    
    header h1 {
    display: block;
    position: absolute;
    top: 10px;
    left: 20px;
    }

    header h1 a {
        color: #fff;
        font-size: 20px;
    }

    
    #header-nav {
        position: absolute;
        top: 72px;
        left: 0;
        margin-right: -16px;
    }  
    
    #header-nav {
		display: none;
        z-index: 9999999;
		position: absolute;
		width: 100%;
		background: #000;
		left: 0;
	}
	#header-nav .nav{
		display: block;
		margin: 0 auto;
		width: 90%;
	}
	#header-nav .nav li{
		margin: 0 auto;
		text-align: center;
		border-bottom: 1px solid #4D4D4D;
	}
    
    
	#header-nav .nav li a{
		display: block; 
        padding: 16px;
	}
    
    #header-nav .sns-btn ul  {
        display: flex;
        padding: 16px;
        justify-content: center;
    }
    
    #header-nav ul li a:hover {
        text-decoration: none;
        padding: 16px 0;
        vertical-align: middle;
    }
 
    /*開閉ボタン*/
	#nav_toggle{
		display: block;
		width: 40px;
		height: 40px;
		position: fixed;
		top: 25px;
        right: 5%;
		z-index: 100;
	}
	#nav_toggle div {
		position: relative;
	}
	#nav_toggle span{
		display: block;
		height: 3px;
		background: #ED2024;
		position:absolute;
		width: 100%;
		left: 0;
		-webkit-transition: 0.5s ease-in-out;
		-moz-transition: 0.5s ease-in-out;
		transition: 0.5s ease-in-out;	
	}
	#nav_toggle span:nth-child(1){
		top:0px;
	}
	#nav_toggle span:nth-child(2){
		top:12px;
	}
	#nav_toggle span:nth-child(3){
		top:24px;
	}
	
	/*開閉ボタンopen時*/
	.open #nav_toggle span:nth-child(1) {
			top: 12px;
		   -webkit-transform: rotate(135deg);
			-moz-transform: rotate(135deg);
			transform: rotate(135deg);
		}
		.open #nav_toggle span:nth-child(2) {
			width: 0;
			left: 50%;
		}
		.open #nav_toggle span:nth-child(3) {
			top: 12px;
			-webkit-transform: rotate(-135deg);
			-moz-transform: rotate(-135deg);
			transform: rotate(-135deg);
		}
    
/*--home--*/


#top-content {
    padding-top: 40px;
}
    
 /*footer*/
.footer-nav {
    width : 49%;
	height: auto;	/*画像の高さ*/
    margin: 5px 0;
}
    
    .footer-nav-text {
        top: 60%;
        font-size: 20px;
}
    
    
}