@charset "utf-8";

/* ユニバーサルセレクタで余白リセット */
/* {
	margin: 0;
	padding: 0;
}*/
body {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}


body {
background-repeat: repeat;
max-height: 100% ;
	margin: 0 auto;
	padding: 0 ;
	border: 0;
	-webkit-text-size-adjust:100%;
}
header{
	margin: 0 auto;
	padding: 0 ;
	border: 0;
	background-image: url(../photo/footer1.png);
	background-repeat: no-repeat;
	max-height: 100% ;
	max-width: 100% ;
	text-align: center;
}

.toop-gaikan{
	margin:  0 auto;
	padding: 0 ;
	border: 0;
	display: inline-block;
	text-align:left;
    width: 50%;
}
.toop-gaikan2{
	margin:  0 auto;
	padding: 0 ;
	border: 0;
	display: inline-block;
	display: none !important; 
	text-align:left;
	width: 300px;
}
header p{
	font-weight: 500;
	margin: 0 auto;
	margin-left: 5%;
	margin-right: 5%;
	font-size: large ;
	text-align: center;
}

.header2{
	margin-bottom: 0 auto;
	display:inline-block;
	width: 40%;
	height:auto;
	vertical-align: bottom;
}
.mrg-10{
	margin-right: 15px;
}
.mrg-1{
	margin-right: 15px;
}
.line1{
	margin: 0 auto;
	margin-bottom: 0;
	padding: 0 ;
	border: 0;
	display:inline-block;
	margin-left: 50%;
}
.line1 img{
	margin: 0 auto;
	padding: 0 ;
	border: 0;
	max-width: 150px;
}
.container{
	margin: 0 auto;
}
nav {
	margin: 0 auto;
	padding: 0 ;
	border: 0;
	background-color: #C20D23;
	text-align: center;
}

nav ul {
	list-style: none;
	text-align: center;
}

nav li {
	display: inline;
	text-align: center;
}

nav a {
	text-decoration:none;
	color: #fff;
	margin:  0 auto;
	text-align: center;
	margin-left: 10%;
	margin-right: 10%;
	font-size: 20px;
}

nav a:hover {
	opacity: 0.7;
}
/*  #mein {
    text-align: center;
}*/
main{
	margin-top: 0;
	padding: 0 ;
	border: 0;
	background-image: url(../photo/sitazi.png);
	text-align: center;
}

#mein {
	padding: 250px;
}
.contents li{
	position: relative;
	opacity: 0;
	transition: 1.5s;
}
.contents li.show{
	opacity: 1;
	
}
.contents li:not(:first-of-type){
	margin-top: 250px;
}

.contents li:nth-of-type(2n+1) .contentText{
	right: 15%;
}
.contents li:nth-of-type(2n) img{
	margin-left: auto;
}
.contents li:nth-of-type(2n) .contentText{
	align-items:flex-start;
	left: 15%;
}


.contentText{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	position: absolute;
	top: 30px;
}
.contents h2{
	color: #fff;
	font-size: 50px;
	font-weight: bold;
	white-space: nowrap;
	background-color: rgba(20,20,20,.8);
	padding: 10px 20px;
	line-height: 1.4;
	letter-spacing: .05em;
	border-radius: 5px;
}
.contents p{
	color: rgb(0, 0, 0);
	line-height: 1.6;
	background-image: url(../photo/footer1.png);
	font-size:30px;
	max-width: 650px;
	padding: 30px;
	margin-top: 40px;
	border-radius: 20px;
}
.contents img{
	width: 65%;
	display: block;
	border-radius: 5px;
}

.swiper-container {
	margin-top: 0;
	padding: 0 ;
	border: 0;
	text-align: left;


	display: inline-block;
	}
.swiper-slide{
	margin-top: 0;
	padding: 0 ;
	border: 0;
	display: inline-block;
}
	.swiper-slide {
	display: inline-block;
	text-align: left;
	

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	}
	
#men {
	width: 45%;
	display: inline-block;
	margin: 0 auto;
	padding: 0 ;
	border: 0;

}
.swiper-container3{
display: inline-block;
display: none !important;
}
.swiper-wrapper{
width: 100%;
	}
.swiper-slide {
	width: 500px;
	display: inline-block;
	text-align: center;

}
.menu-menrui{
width: 100%;
display: none !important;

}
.pc-and-tab{
	display: inline-block !important;
}
h3{
	text-align: center;
}
h3 img{
	width: 150px;
	}

#ippin {
	width: 45%;
	display: inline-block;
}
.swiper-container4{
	width: 300px;
	display: inline-block;
	display: none !important;
	}
#don {
	width: 45%;
	display: inline-block;
}
#dorink {
	width: 45%;
	display: inline-block;
}

footer{
	background-image: url(../photo/footer1.png);
	background-repeat: no-repeat;
	max-height: 100% ;
	max-width: 100% ;
}
footer p{
	text-align: center !important;
	font-size: large ;
}
footer #time #access{
	text-align: center;
}
.line2{
	display: inline-block;
}
.line2 img{
	display: inline-block;
	max-height:200px;
	text-align: left;
}
#time2{
	padding: 0 ;
	border: 0;
	display: inline-block;
	vertical-align: top;
	width: 40%;
	text-align: center;
}

em{
	color: #C20D23;
	font-size: 200%;
}
#access{
	text-align: center;
	display: inline-block;
	vertical-align: top;
}
.news {
	background-color: #b0ffff44;
	border-radius: 25px;
	margin-left: 3%;
	margin-right: 3%;
}
.newsYouTube iframe{
	border-radius: 5px;
	height: 100%;
	margin-left: 15%;
	max-height: max-content;
	display: inline;
	text-align: center;
}
/* CSS（タブレット用）横向きの場合のスタイル */
@media screen and (max-width: 1366px) {

	h3 img{
		width: 120px;
		}
	nav {
		margin: 0 auto;
		border: 0;
	}
	#mein{
		padding: 80px  !important;
	}
	.contents p{
		font-size:14px;
		max-width: 340px;
		padding: 15px;
	}
	.newsYouTube iframe{
		height: 100%;
	}
}
/*  CSS（スマホ用）横向きの場合のスタイル*/
@media screen and (max-width: 920px) {

	h2 img{
		width: 300px;
	}
	h3 img{
		width: 100px;
	}
	.contents li:not(:first-of-type){
		margin-top: 150px;
	}
	#mein{
		padding: 0 !important;
	}
	.contents li:nth-of-type(2n+1) .contentText{
		right: 10%;
	}
	.contents li:nth-of-type(2n) .contentText{
		left: 10%;
	}

	.contents li{
		padding-left: 25px;
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.contents p{
		font-size:20px;
		max-width: 400px;
	}
	iframe{
		width: 60%;
	}
	.newsYouTube iframe{
		height: 100%;

	}
}
/*  CSS（スマホ用）横向きの場合のスタイル*/
@media screen and (max-width: 751px) {
	h2 img{
		width: 280px;
	}
	h3 img{
		width: 90px;
	}
.mrg-10{
	margin-right: 0px;
	}
.mrg-10::after{
	content: "\A" ;
	white-space: pre;
	}
iframe{
		width: 200px;
		}
}
/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 600px) {
    .toop-gaikan {
			display: none !important;
		}
		.toop-gaikan2{
			margin:  0 auto;
			padding: 0 ;
			border: 0;
			display: inline-block;
			display: block !important; 
			text-align:left;
			width: 100%;
			text-align: center;
		}
	p{
		font-size: 15px;
		margin-left: 0%;
		margin-right: 0%;

	}

	.header2{
		display: inline;
	}
	.time1{
		width: 200px;
		display: inline-block;
	}
	.line1{
		margin: 0 auto;
		display: inline-block;
	}
	nav {
		margin: 0 auto;
		border: 0;
	}
	nav a {
		margin:  0 auto;
		margin-left: 6%;
		margin-right: 6%;
	}
	.contents li:nth-of-type(2n+1) .contentText{
		right: 5%;
	}

	.contents li:nth-of-type(3) .contentText{
		top: -30px;
	}
	.contents li:nth-of-type(2n) .contentText{
		left: 5%;
		top: 0;
	}

	.contents li{
		width: 100%;
		padding-top: 15px;
		padding-bottom: 30px;
		padding-left: 0px;
	}
	.contents li:not(:first-of-type){
		margin-top: 100px;
	}
	.contents li:nth-of-type(3) .animationTargt{
		padding: 100px;
	}

	#men{
		margin: 0 auto;
		text-align: center;
		width: 100%;
	}
	.swiper-container3{
		width: 95%;
		display: inline-block !important;
		text-align: center;
		overflow: scroll;
		white-space: nowrap;

	}
	.menu-menrui{
		width: 95%;
		display: inline-block !important;
		text-align: center;
	}
	.pc-and-tab{
		display: none !important;
	}
	#ippin{
		margin: 0 auto;
		width: 100%;
		text-align: center;
	}

	.swiper-container4{
		width: 95%;
		display: inline-block !important;
		text-align: center;
		overflow: scroll;
		white-space: nowrap;
	}
	#don {
		text-align: center;
		width: 100%;
	}
	#dorink {
		text-align: center;
		width: 100%;
	}

	.line2 img{
		max-height:150px;
	}
	#time2{
		width: 65%;
	}
	.mrg-10{
		margin-right: 10px;
	}
	.mrg-10::after{
		content: "" ;
	}
	#access{
		display: block;
		width: 100%;
	}
	iframe{
		width: 70%;
	}
}
/* 500px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 580px){
	.swiper-container3{
		width: 100%;
	}
	.menu-menrui{
		width: 100%;
		display: inline-block !important;
		text-align: center;
	}
	
	.swiper-container4{
		width: 100%;
	}

	h3 img{
	width: 40%;
	}
	.mrg-10{
	margin-right: 0px;
	}
	.mrg-1{
	margin-right: 8px;
	}
	.mrg-10::after{
	content: "\A" ;
	white-space: pre;
	}
	.contents li:nth-of-type(2n+1) .contentText{
	right: 0;
	}
	.contents li:nth-of-type(3) .contentText{
	top: -10px;
	}

	.contents li:nth-of-type(2n) .contentText{
	left: 0;
	top: 0;
	}
	.contents h2{
	font-size: 40px;
	line-height: .8;
	}
	.contents p{
	font-size:14px;
	padding: 15px;
	margin-top: 15px;
	}
}
/* 320px以下に適用されるCSS（SE用） */
@media screen and (max-width: 400px){
	a {
		margin-left: 1%;
		margin-right: 1%;
	}
	nav a {
		margin-left: 5%;
		margin-right: 5%;
		font-size: 18px;	
	}
	.header2 p{
		margin: 0 auto;
	}
}