﻿.a_container {
	
	max-width: 300px;
	font-family: sans-serif;
	opacity:0.6;
}

.a_item_r {

	display: block;
	height: 28px;
	max-width: 298px;
	line-height: 28px;
	padding: 0.5em;
	font-size: 14px;
	background-color: #000000;
	color: #ffffff;
	cursor: pointer;
	position: relative;
	margin-bottom:2px;
}


.a_item_r:hover {
	background-color:#6aec99;
}
.a_item_r:after {
	content: url('../image/yubi_9.png');
	filter: invert(100%);
	object-fit: contain;
	display: block;
	position: absolute;
	right: 20px;
	float: left;
	background-size: 40%;
	top: 15px;
	bottom: 0;
	-webkit-transition: 0.3s linear;
	-moz-transition: 0.3s linear;
	-ms-transition: 0.3s linear;
	transition: 0.3s linear;
}

.a_contents_r {
	font-size:18px;
		font-weight:bold;
	max-width: 283px;
	max-height: 500px;
	overflow: hidden;
	padding: 0 1em;
	background-color: #f2f2f2;
	transition: max-height 0.4s ease, padding 0.4s ease;
}
.a_contents_r p {
	display:none;
	margin:10px 0;
	border-bottom:dashed 1px #d6dddf;
}
.selected {
	background-color: #000;/* #ffc44d; */
	}

.open_close_r:after {
	-webkit-transform: rotateZ(180deg);
	transform: rotateZ(180deg);
}
/*
.accordion-toggle:checked + .a_item_r::after {
	content: "";
	transform: rotate(180deg);
}
*/
a {
	color: blue;
}

.footer {
	width: 90%;
	height: 30px;
	padding: 10px 0px;
	border-top: 5px solid #CCCCCC;
	background-image: url('../image/green-line.gif');
	color: #FFFFFF;
	opacity: 0.6;
	text-align: center;
	margin: 0px auto;
	text-align: center;
}

@media only screen and (max-width: 640px) {
	.a_item_r {
		display: block;
		height: 28px;
		width: 98%;
		line-height: 28px;
		padding: 0.5em;
		font-size:16px;
		background-color: #000000;
		color: #ffffff;
		cursor: pointer;
		position: relative;
		margin-bottom:2px;
	}
	.a_container {
		width: 98%;
		font-family: sans-serif;
		opacity: 0.5;
	}
	.a_contents_r {
		font-size:18px;
		font-weight:bold;
		width: 98%;
		max-height: 500px;
		overflow: hidden;
		padding: 0 1em;
		background-color: #f2f2f2;
		transition: max-height 0.4s ease, padding 0.4s ease;
	}
	.footer {
		width: auto;
		padding: 10px 0px;
		border-top: 5px solid #CCCCCC;
		color: #FFFFFF;
		text-align: center;
		background-image: url('../image/green-line.gif');
		margin: 0px auto;
		text-align: center;
	}
}
.logo_a {
	background-image: url('../image/logo_nps.png');
	width:640px;
	height:55px;
	position:absolute;
	top:1em;
	left:18%;
}

@media only screen and (max-width: 640px) {
	.logo_a {
		background-image: url('../image/nps-sword.png');/*logo_nps2.png);*/
		width:145px;
		height:76px;
		position:absolute;
		top:0;
		bottom:1em;
		left:3%;
		background-repeat:no-repeat;
	}
}

table {
	width: 100%;
	height: 70px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.float_left {
	width:40%;
	float:left;
	padding-left:5em;
}

.float_right {
	width:40%;
	float:right;
	padding-left:1em;
	padding-right: 5em;
}
.slideBox {
	height: 235px;
	width:394px;
	overflow: hidden;
	position: relative;
	margin-left:3em;
	margin-right:3em;
	margin-top:2em;
}


@media only screen and (max-width: 640px) {
	.float_left {
		width:100%;
		padding-left:0;
	}
	.float_right {
		width:100%;
		padding-right: 0;
	}
	.slideBox {
		height: 235px;
		width:394px;
		overflow: hidden;
		position: relative;
		margin-left:0;
		margin-right:0;
		margin-top:0;
	}
}

.imgs {
	margin-left:0;
	padding-left: 0;
	filter: grayscale(99%);
}

.item1 {
	opacity: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-animation: animes 15s 0s infinite;
	animation: animes 15s 0s infinite;
}

.item1:nth-of-type(2) {
	-webkit-animation-delay: 5s;
	animation-delay: 5s;
}

.item1:nth-of-type(3) {
	-webkit-animation-delay: 10s;
	animation-delay: 10s;
}

@keyframes animes {
	0% {
		opacity: 0; z-index: 9;
	}
	20% {
		opacity: 1;
	}
	33% {
		opacity: 1;
	}
	63% {
		opacity: 0;
	}
	100% {
		opacity: 0; z-index: 1;
	}
}

@-webkit-keyframes animes {
	0% {
		opacity: 0; z-index: 9;
	}
	20% {
		opacity: 1;
	}
	33% {
		opacity: 1;
	}
	63% {
		opacity: 0;
	}
	100% {
	opacity: 0; z-index: 1;
	}
}
.haikei {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #f0f0f0;
	z-index: -1;
}
.haikei li {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat:no-repeat;
	opacity: 0;
	-webkit-animation: anime 50s linear 0s infinite ;
	animation: anime 50s linear 0s infinite ;
}
.haikei li:nth-child(1) { 
	background-image: url(../image/back_img/hachimanjo33.webp);
}
.haikei li:nth-child(2) {
	background-image: url(../image/back_img/gifujo33.webp);
	-webkit-animation-delay: 10s;
	animation-delay: 10s;
}
.haikei li:nth-child(3) {
	background-image: url(../image/back_img/ohgakijo33.webp);
	-webkit-animation-delay: 20s;
	animation-delay: 20s;
}
.haikei li:nth-child(4) {
	background-image: url(../image/back_img/sunomatajo33.webp);
	-webkit-animation-delay: 30s;
	animation-delay: 30s;
}
.haikei li:nth-child(5) {
	background-image: url(../image/back_img/inuyamajo33.webp);
	-webkit-animation-delay: 40s;
	animation-delay: 40s;
}

@-webkit-keyframes anime { 
	0% {
		-webkit-animation-timing-function: ease-in;
		opacity: 0;
	}
	10% {
		-webkit-transform: scale(1);
		opacity: 1;
	}
	20% {
		-webkit-transform: scale(1.1);
		-webkit-animation-timing-function: ease-out;
		opacity: 1;
	}
	30% {
		-webkit-transform: scale(1.2);
		opacity: 0;
	}
	100% { opacity: 0 }
}
@keyframes anime { 
	0% {
		animation-timing-function: ease-in;
		opacity: 0;
	}
	10% {
		transform: scale(1);
		opacity: 1;
	}
	20% {
		transform: scale(1.1);
		animation-timing-function: ease-out;
		opacity: 1;
	}
	30% {
		transform: scale(1.2);
		opacity: 0;
	}
	100% { opacity: 0 }
}
.labell {
	padding: 7px 5px 5px 10px;
	margin: 0px 0px 10px;
	border-left: 10px solid #F4CC0B;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #800000;
}
@media only screen and (max-width: 640px) {
	.labell {
		width: 98%;
		padding: 7px 5px 5px 10px;
		margin: 0px 0px 10px;
		border-left: 10px solid #F4CC0B;
		font-weight: bold;
		color: #FFFFFF;
		background-color: #800000;
	}
}

