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

header nav ul li:nth-child(5) {border-bottom: solid 3px #cc0000;}

@media screen and (max-width:834px){
	header nav ul li:nth-child(5){border-bottom:none;}
}

/**********************************************************************************

	#mv

**********************************************************************************/

#mv {
	width: 100%;
	height: 405px;
	text-align: center;
	position: relative;
	background: url(../img/mv_bg.jpg) center no-repeat;
	background-size: cover;
}

#mv h2 {
	position: absolute;
	background: url(../img/mv_h2.png) center no-repeat;
	width: 260px;
	height: 0;
	padding-top: 114px;
	background-size: 100%;
	overflow: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-20%);
}

#mv .border {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background-color: #cc0000;
}
@media screen and (max-width:1070px){

	#mv {
		background: url(../img/mv_bg_sp.jpg) center no-repeat;
		background-size: cover;
		background-position: 44%;
	}
	
}
@media screen and (max-width:834px){
	#mv {
		transition: 0.4s;
		height: 300px;
	}
	
	#mv h2 {transform: translate(-50%,-50%);}
}

@media screen and (max-width:768px){
	#mv {background-position: 45%;}
}


@media screen and (max-width:480px){
	#mv h2 {
		width: 55%;
		padding-top: 24%;
	}
}

@media screen and (max-width:320px){
	#mv {
		background: url(../img/mv_bg_sp02.jpg) center no-repeat;
		background-size: cover;
		background-position: 48%;
	}
}

/**********************************************************************************

	#link

**********************************************************************************/

#link {
	width: 100%;
	margin: 30px auto 80px;
	display:-webkit-box;
  	display:-ms-flexbox;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#link li {
	margin-right: 40px;
	padding-top: 20px;
}
#link li:last-child {margin-right: 0;}

#link li a {
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.05em;
	color: #cc0000;
}

@media screen and (max-width:590px){
	#link {width: 90%;}
	#link li:nth-child(1) {margin-left: 40px;}
}

@media screen and (max-width:572px){
	#link li:nth-child(1) {margin-left: 0;}
	#link li:nth-child(3) {margin-right: 0;}
}

@media screen and (max-width:483px){
	#link li:nth-child(1) {margin-left: 40px;}
	#link li:nth-child(3) {margin-right: 40px;}
}

@media screen and (max-width:480px){
	#link {margin: 30px auto 60px;}
	#link li a {font-size: 16px;}
}

@media screen and (max-width:320px){
	#link li:nth-child(1) {margin-left: 0;}
	#link li:nth-child(2) {margin-right: 0;}
}

/**********************************************************************************

	#contents01

**********************************************************************************/

#contents01 {
	width: 100%;
	background: url(../img/contents01_bg.jpg) center no-repeat;
	background-size: cover;
	background-position: 0 2%;
	background-attachment: fixed;
	padding: 100px 0 140px;
}

#contents01 .box {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 80px 70px;
	background-color: rgba(255,255,255,0.8);
	box-shadow: 0 0 8px gray;
	letter-spacing: 0.05em;
}

#contents01 .box h3 {
	text-align: center;
	font-size: 30px;
	font-weight: 500;
	color: #cc0000;
	padding-bottom: 50px;
}

#contents01 .box h4 {
	font-size: 24px;
	font-weight: bold;
	color: #cc0000;
	padding-bottom: 40px;
}

#contents01 .box p {
	text-align: justify;
	line-height: 2em;
}

#contents01 .box .inner {
	display:-webkit-box;
  	display:-ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-bottom: 50px;
}

#contents01 .box .inner div {
	width: 100%;
	max-width: 280px;
	margin-right: 60px;
}

#contents01 .box .inner div img {width: 100%;}

#contents01 .box .inner p {max-width: 520px;}

#contents01 .box .txt {padding-bottom: 50px;}
#contents01 .box .txt02 {padding-bottom: 60px;}

#contents01 .box .name {text-align: right;}
#contents01 .box .name p {
	padding-bottom: 5px;
	text-align: right;
}
#contents01 .box .name b {
	font-size: 30px;
	font-weight: bold;
}

@media screen and (max-width: 1060px) {
	#contents01 {background-position: 70%;}
	
	#contents01 .box {
		width: 90%;
		transition: 0.4s;
	}
}

@media screen and (max-width: 980px) {
	#contents01 .box .inner img {
		width: 35%;
		transition: 0.4s;
	}
}

@media screen and (max-width: 840px) {
	#contents01 .box .inner div img {margin-right: 40px;}
	
	#contents01 .box .inner .pc {display: none;}
	#contents01 .box .sp {display: inline-block;}
	#contents01 .box .inner,#contents01 .box .txt {padding-bottom: 40px;}
}

@media screen and (max-width: 640px) {
	#contents01 .box h3 {font-size: 25px;}
	#contents01 .box h4 {font-size: 20px;}
	
	#contents01 .box .inner {display: block;}
	#contents01 .box .inner .pc02 {display: none;}
	#contents01 .box .inner .sp02 {
		display: inline-block;
		width: 100%;
		max-width: 640px;
		margin: 40px 0 0 0;
	}
}

@media screen and (max-height: 1366px) and (max-width: 1024px) {
	#contents01 {
		background: url(../img/contents01_bg_sp.jpg) center no-repeat;
		background-size: cover;
		background-attachment: scroll;
	}
}

@media screen and (max-width: 480px) {
	#contents01 {
		padding: 80px 0;
		background-position: 30%;
	}
	
	#contents01 .box {padding: 60px 40px;}
	
	#contents01 .box h3 {
		font-size: 23px;
		padding-bottom: 30px;
	}
	#contents01 .box h4 {
		font-size: 16px;
		padding-bottom: 20px;
	}
	#contents01 .box p {
		font-size: 12px;
		line-height: 1.8em;
		letter-spacing: 0.01em;
	}
	#contents01 .box .txt {padding-bottom: 30px;}
	#contents01 .box .txt02 {padding-bottom: 40px;}
	
	#contents01 .box .name b {font-size: 25px;}
}

@media screen and (max-width: 320px) {
	#contents01 {padding: 60px 0;}
	#contents01 .box {padding: 50px 30px;}
	#contents01 .box h4 {font-size: 16px;}
}




/**********************************************************************************

	.box01 /20200304追加


**********************************************************************************/
.box01{
	text-align: center;
	width: 860px;
	margin: -40px auto 0;
}

.box01 p{
	font-size: 24px;
	color: #cc0000;
	font-weight: bold;
	margin: 60px auto 95px;
}

@media screen and (max-width: 860px) {
	
	.box01{width: 80%;}
}

@media screen and (max-width: 500px) {
	.box01 img{width: 90%;}
}



/**********************************************************************************

	#contents02,#contents03

**********************************************************************************/

#contents02 {padding: 100px 0 120px;}

#contents03 {padding: 0 0 120px;}

#contents02,#contents03 {
	width: 100%;
	background-color: #f6f6f6;
	margin: 0 auto;
}

#contents02 h3,#contents03 h3 {
	text-align: center;
	font-size: 30px;
	font-weight: 500;
	color: #cc0000;
	padding-bottom: 70px;
}

#contents02 table,#contents03 table {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

#contents02 table tr td,#contents03 table tr td {
	border: solid 1px #565656;
	background-color: #ffe1e1;
	font-weight: bold;
	padding: 15px;
	width: 129px;
}

#contents02 table tr th,#contents03 table tr th {
	border: solid 1px #565656;
	background-color: #FFF;
	padding: 15px;
}

@media screen and (max-width: 1060px) {
	#contents02 table,#contents03 table {
		width: 90%;
		transition: 0.4s;
	}
}

@media screen and (max-width: 640px) {
	#contents02 h3,#contents03 h3 {font-size: 25px;}
}

@media screen and (max-width: 480px) {
	#contents02 {padding: 80px 0 100px;}
	#contents03 {padding: 0 0 100px;}
	
	#contents02 h3,#contents03 h3 {
		font-size: 23px;
		padding-bottom: 50px;
	}
	
	#contents02 table tr,#contents03 table tr {font-size: 12px;}
	#contents02 table tr td,#contents03 table tr td {width: 91px;}
}


/**********************************************************************************

	#contents04

**********************************************************************************/

#contents04 {
	width: 100%;
	background: url(../img/contents04_bg.jpg) center no-repeat;
	background-size: cover;
	background-attachment: fixed;
	padding: 100px 0;
	text-align: center;
}

#contents04 a {
	filter: drop-shadow(0 0 10px rgba(0,0,0,0.4));
	width: 100%;
	max-width: 450px;
}

#contents04 a img {width: 100%;}

@media screen and (max-width: 540px) {
	#contents04 a {
		width: 90%;
		transition: 0.4s;
	}
}

@media screen and (max-height: 1366px) and (max-width: 1024px) {
	#contents04 {background-attachment: scroll;}
}

