
/*youtube*/

.youtube1 {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	/*    overflow: hidden;*/
	margin-top: 0px;
	margin-bottom: 0px;
}
.youtube1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.youtube2 {

/*	position: relative;
	padding-bottom: 56.25%;*/
	padding: 0px;
	margin: 0px;
	line-height: 0px;

}
.youtube2 iframe {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.youtube2-trailer{
	width:80%;
	
}


.modal-content{
	width: 100%;
	height: 100%;
	display: -webkit-flex; /* Safari用 */
	display: flex;
	-webkit-justify-content: center; /* Safari用 */
	justify-content: center;
	-webkit-align-items: center; /* Safari用 */
	align-items: center;
	
 -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;

	
}

.modal-content-inner{
	position: relative;
	width: 100%;
	max-width: 1100px;
	height: 100%;
	max-height: 600px;
	padding:0;
	
}



.modalInnerMenu{
	width: 100%;
	display: -webkit-flex; /* Safari用 */
	display: flex;

	-webkit-justify-content: center; /* Safari */
	justify-content: center;
	
	  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
	margin-bottom: 150px;


	
}

.modalInner{
width:33.333%;
	max-width: 130px;
	margin:0 5px 0px 5px;
	padding:0;
	position: relative;
padding-bottom:10px;
	cursor: pointer;

}

.modalInner img{
	
	width: 100%;
	
}



/*.modalYoutube{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4000;
}
*/
.whiteBase{ background-color: #FFFFFF; 	
}



/*modalYoutube*/
.modalYoutube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}
.modalYoutube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




.modal2 {
	display: none;
	width: 75%;
	max-width: 1000px;
	/*height: 80%;*/
	margin-top: -10px;
	background-color: #2C0000;
	padding: 0px 0px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	overflow: visible;
	z-index: 9999; 
		text-decoration: none;
	/* -webkit-box-shadow: 0 0 10px #000;
  -moz-box-shadow: 0 0 10px #000;
  -o-box-shadow: 0 0 10px #000;
  -ms-box-shadow: 0 0 10px #000;
  box-shadow: 0 0 10px #000;*/
}

/*.modal2{
	
display: none;
	overflow: visible;
	z-index: 3001;
	position: absolute;
	width: 75%;
	max-width: 1000px;
	height: 80%;
	margin-top: -10px;
	
}*/

.modal2 a.close-modal2 {
	position: absolute;
	top: -35.5px;
	right: -0.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-image: url(../img/close.png);

}

.modal2-spinner {
  display: none;
  width: 64px;
  height: 64px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-right: -32px;
  margin-top: -32px;
  background: url(../img/spinner.gif) #111 no-repeat center center;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  -ms-border-radius: 8px;
  border-radius: 8px;
}


.modal2-iframe{
	
	 width: 100%;

	
}


.modalClose{

	/*font-family: "jaf-bernina-sans";*/
	font-size: 170% !important;
	/*background-color: #861113;*/
	text-align: right;
	font-weight: 700;
	position: fixed;
	z-index: 99999;
	right: 20px;
	top: 10px;
}

.modalClose a{
	font-size: 170% !important;
	text-decoration: none !important;
	color: rgba(255,234,0,1.00);
}

.modalClose a:hover{
	color: #E60012 !important;
}










@media (max-width: 768px) {
	
	.modal2 {
	display: none;
	width: 90%;
	
	}
	
	.modalClose{
	font-size: 150%;
	
	
}
	
	
}







