@charset "utf-8";

/*========= レイアウトのためのCSS ===============*/

body{
    word-break: keep-all;
}

/* HEADER */

#header{
	position: relative;
	z-index:999;
	/*装飾のためのCSS*/
	background:#D9D8D3;
   
	color: #f2f2f2;
	display: flex;
	justify-content: space-between;
	align-items: center;
    padding: 5px 20px;
}

	
/*全体のエリア設定*/

.ms-section{
	color:#fff;
	padding:20px;
}

.ms-section a{
	color:#fff;
}







/*右上のナビゲーション*/

#menu li {
	display:inline-block;
	margin: 10px;
}

#menu li a{
	text-decoration:none;
	color: #fff;
	padding: 5px 10px;
	display:block;
	border-radius: 10px;
}

#menu li.active a{
	color: #8C8C88;
}


/*movie*/
#video{
	clear: both;
	float: left;
	margin-left: 30%;
    margin-right: 30%;
    margin-top: 10%;
	width: 100%;
    align-content: center;
	display: block;
}  
#video2{
	
	display: none;
}

/* Tablet Layout 縦向きのみ Inherits styles from: Mobile Layout. */
@media only screen and (min-device-width: 744px) and (max-device-width: 1024px) and (orientation:portrait) {

/*movie*/
#video{
	clear: both;
	float: left;
	margin-left: 25%;
    margin-right: 25%;
    margin-top: 10%;
	width: 100%;
    align-content: center;
	display: block;
}  
#video2{
	
	display: none;
}
 
}

/*＝＝＝＝＝＝＝＝＝＝＝タブレット以下の見え方＝＝＝＝＝＝＝＝＝＝＝＝＝*/
@media screen and (max-width:768px){
	
#header{
    height:10%;
	justify-content: center;
    white-space: nowrap; /* 改行させない */
}



/*右上ナビゲーション表示と右エリア非表示*/
#menu li {
	display:inline-block;
    font-size: 2vw; /* ビューポート幅の3% (画面に合わせて最大化) */
    line-height: 1;    /* 行間を詰めて文字が切れるのを防ぐ */
    white-space: nowrap; /* 改行させない */

}
#menu li {
	display:inline-block;
    text-align: center;

}

#menu li a{
    font-weight: bold;
	text-decoration:none;
	color: #fff;
	padding: 0;
	display:inline-block;
	border-radius: 10px;
}

#menu li.active a{
	color: #8C8C88;
}





/*movies*/	
#video2{
	clear: both;
	float: left;
	margin-left: 25%;
    margin-right: 25%;
    margin-top: 20%;
	width: 100%;
    align-content: center;
	display: block;
}
#video{

	display: none;

}
}

/* Mobile Layout: iPhone6. Inherits styles from: Mobile Layout. */

@media only screen and (min-device-width: 375px)
 and (max-device-width: 667px)
 and (orientation : portrait){
 
#header{
    height:10%;
	justify-content: center;
    white-space: nowrap; /* 改行させない */
}



/*右上ナビゲーション表示と右エリア非表示*/
#menu li {
	display:inline-block;
    font-size: 3vw; /* ビューポート幅の3% (画面に合わせて最大化) */
    line-height: 1;    /* 行間を詰めて文字が切れるのを防ぐ */
    white-space: nowrap; /* 改行させない */

}
#menu li {
	display:inline-block;
    text-align: center;

}

#menu li a{
    font-weight: bold;
	text-decoration:none;
	color: #fff;
	padding: 0;
	display:inline-block;
	border-radius: 10px;
}

#menu li.active a{
	color: #8C8C88;
}



/*movies*/	
#video2{
    clear: both;
	float: left;
	margin-left: 15%;
    margin-right: 15%;
    margin-top: 20%;
	width: 100%;
    align-content: center;
	display: block;
}
#video{

	display: none;

}


 
 }
