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

/*メニュー　現在のページ*/
.nav li:nth-child(4){
	background:#fff;
}
/*home以外のページ共通*/
header{
	width:100%;
	margin-top:40px;
	background:url(img/bg_head.jpg) repeat-x;
	background-size:contain;
}


.pagetop {
	position: fixed;
	bottom: 5%;
	right: 5%;
}
/*
=======================================
	DISCO-STYLE CSS
=======================================
*/

h4{
	font-weight:bolder;
	font-size:150%;
}
.modal-wrap p{
	padding-bottom:5%;
}
.modal{
	float:left;
	width:33.33%;
	margin-bottom:20px;
	padding:0;
}
.modal > label{
	color: #000;
	cursor: pointer;
	display: inline-block;
}
.modal-overlay {
	background:#292;
	position: fixed;
	top: 0;
	bottom: 0%;
	left: 25%;
	right: 0;
	width:50%;
	text-align:center;
	color:#fff;
	overflow:scroll;
}

.modal-wrap {
	position: relative;
	margin: 10px auto;
	width:80%;
}

.modal-wrap label {
	float:right;
	cursor: pointer;
	display: inline-block;
	margin:10px;
}

.modal-wrap label:hover{
	opacity:0.5;
}

input {
	position: absolute;
	z-index: -9999;
	visibility: hidden;
}

.modal-overlay {
	opacity:0;
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	-o-transform: scale(0.5);
	transform: scale(0.5);
	-webkit-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	-moz-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	-ms-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	-o-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	z-index: -999;
}

input:checked ~ .modal-overlay {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	z-index: 999;
}

.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin-top:30px;
}
.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

.maru{
	width:50px;
	height:50px;
	border-radius:50px;
}

.utakoyomi{
	clear:both;
    width:70px;
    padding: 10px;
    animation: guruguru 5s linear alternate infinite;
    -webkit-animation: guruguru 5s linear alternate infinite;
    -moz-animation: guruguru 5s linear alternate infinite;
}

@keyframes guruguru {
  0% { -webkit-transform: translate(0,0) rotate(0deg); }
  100% { -webkit-transform: translate(200px,0) rotate(720deg); }
}
@-webkit-keyframes guruguru {
  0% { -webkit-transform: translate(0,0) rotate(0deg); }
  100% { -webkit-transform: translate(200px,0) rotate(720deg); }
}
 
@-moz-keyframes guruguru {
  0% { -webkit-transform: translate(0,0) rotate(0deg); }
  100% { -webkit-transform: translate(200px,0) rotate(720deg); }
}
.utakoyomi:hover{
	animation-play-state:paused;
}
