@charset "utf-8";

/*----------------------------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------------------------*/

#pagewrap {
	width: 100%;
	margin: 0 auto;
	background-image: url(../images/contents_bg.jpg);
	padding: 0 0 20px 0;
}
#header {
	width: 100%;
	margin: 0 auto;
}
#header img {
	width: 100%;
	margin: 0 auto;
}


#about {
	margin: 0 auto;
	width: 100%;
	padding: 40px 0;
}
#about h2 {
	font-size: 26px;
	text-align: center;
	font-weight: bold;
	padding: 0 0 10px 0;
	color: #ffffff;
	text-shadow:2px 2px 24px #000000,0px 0px 4px #000000;
}
#about dl{
	width: 850px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	color: #ffffff;
}
#about dl dt{
	width: 690px;
	font-size: 17px;
	line-height: 180%;
	padding: 10px 5px 0 0;
	font-weight: bold;
	text-shadow:2px 2px 24px #000000,0px 0px 4px #000000;
}
#about dl dd{
	width: 150px;
	border-bottom: 1px dotted;
}

[data-ruby] {
    position: relative;
}
[data-ruby]::before {
    content: attr(data-ruby);
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 0.5em;
}


#contents {
	width: 850px;
	margin: 0 auto;
	padding: 40px 20px;
	background-color: #ffffff;
	border: solid 2px #fbd500;
	box-shadow:0px 0px 8px 3px #fbd500;
	{
		shadowColor:"#fbd500",
		shadowOffset:{width:0,height:0},
		shadowOpacity:1,
		shadowRadius:8,
		borderWidth:1,
		borderColor:"#fbd500",
		borderRadius:0
		}
		
}
#contents h3{
	font-size: 28px;
    font-weight: bold;
    color: #000000;
    /* padding: 36px 0 14px 0; */
    text-align: center;
    width: 100%;
    position: relative;
    display: inline-block;
	padding: 20px 55px;
	box-sizing: border-box;
	margin-top: 40px;
}
#contents h3:before, #contents h3:after {
	content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 250px;
    height: 2px;
    background-color: #fbd500;
  }
  
  #contents h3:before {
	left:0;
  }
  #contents h3:after {
	right: 0;
  }
  #contents h3:first-of-type {
	margin-top: 0px;

}

#contents dl{
	width: 700px;
	margin: 0 auto;
}
#contents dl dt{
	font-size: 16px;
	font-weight: bold;
	padding: 20px 0 0 0;
	text-align: center;
}
#contents dl dd{
	font-size: 16px;
	line-height: 180%;
	border-bottom: 1px dotted; 
	text-align: center;
	padding: 10px 0 0 0;
}
#contents p{

	font-size: 16px;
	line-height: 180%;
	text-align: center;
}



#recruit {
	width: 850px;
	margin: 60px auto;
	padding: 40px 20px;
	background-color: #000000;
	border: solid 2px #fbd500;
	box-shadow:0px 0px 8px 3px #fbd500;
	{
		shadowColor:"#fbd500",
		shadowOffset:{width:0,height:0},
		shadowOpacity:1,
		shadowRadius:8,
		borderWidth:1,
		borderColor:"#fbd500",
		borderRadius:0
		}
		
}
#recruit h3{
	font-size: 28px;
    font-weight: bold;
    color: #fbd500;
    /* padding: 36px 0 14px 0; */
    text-align: center;
    width: 100%;
    position: relative;
    display: inline-block;
	padding: 20px 55px;
	box-sizing: border-box;
	margin-top: 40px;
}
#recruit h3:before, #recruit h3:after {
	content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 250px;
    height: 2px;
    background-color: #fbd500;
  }
  
  #recruit h3:before {
	left:0;
  }
  #recruit h3:after {
	right: 0;
  }
  #recruit h3:first-of-type {
	margin-top: 0px;

}
#recruit h4{
	font-size: 18px;
	line-height: 180%;
	color: #ffffff;
	text-align: center;
	padding: 20px 0;
}
#recruit p{
	width: 600px;
	margin: 0 auto;
	font-size: 14px;
	line-height: 180%;
	color: #ffffff;
	line-height: 200%;
}
#recruit .btn{
	width:580px;
	margin: 0 auto;
	padding: 40px 0 20px 0;
}
#recruit .btn p{
	width:580px;
	margin: 0 auto;
	text-align: center;
	font-size: 16px;
}



@media print {
	#ending .left-off {
		display: none !important;
	}
}

/*----------------------------------------------------------------------------------------------*/

/* ウィンドウ幅が0～812pxの場合に適用するCSS */

@media screen and (max-width: 812px) {
	#pagewrap {
		width: 100%;
		margin: 0 auto;
	}
	#header {
		width: 100%;
		margin: 0 auto;
	}
	#header h1 {
		text-align: center;
		font-size: 18px;
	}

	#about {
		width: 90%;
		margin: 0 auto;	
		padding: 20px 0;	
	}
	#about h2 {
		font-size: 20px;
		text-align: center;
		font-weight: bold;
		padding: 0 0 0 0;
		color: #ffffff;
	}
	#about dl{
		width: 100%;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		color: #ffffff;
	}
	#about dl dt{
		width: 75%;
		font-size: 14px;
		line-height: 160%;
		padding: 10px 5px 0 0;
	}
	#about dl dd{
		width: 23%;
	}
	#about img{
		width: 100%;
	}

	#contents {
		width: 80%;
		margin: 0 auto;
		padding: 40px 20px;
		background-color: #ffffff;
		border: solid 2px #fbd500;
		box-shadow:0px 0px 8px 3px #fbd500;
		{
			shadowColor:"#fbd500",
			shadowOffset:{width:0,height:0},
			shadowOpacity:1,
			shadowRadius:8,
			borderWidth:1,
			borderColor:"#fbd500",
			borderRadius:0
			}
			
	}
	#contents h3{
		font-size: 22px;
		font-weight: bold;
		color: #000000;
		/* padding: 36px 0 14px 0; */
		text-align: center;
		width: 100%;
		position: relative;
		display: inline-block;
		padding: 20px 55px;
		box-sizing: border-box;
		margin-top: 40px;
	}
	#contents h3:before, #contents h3:after {
		content: '';
		position: absolute;
		top: 50%;
		display: inline-block;
		width: 20%;
		height: 2px;
		background-color: #fbd500;
	  }
	  
	  #contents h3:before {
		left:0;
	  }
	  #contents h3:after {
		right: 0;
	  }
	  #contents h3:first-of-type {
		margin-top: 0px;
	
	}
	
	#contents dl{
		width: 95%;
		margin: 0 auto;
	}
	#contents dl dt{
		font-size: 14px;
		font-weight: bold;
		padding: 20px 0 0 0;
		text-align: center;
	}
	#contents dl dd{
		font-size: 14px;
		line-height: 180%;
		border-bottom: 1px dotted; 
		text-align: center;
		padding: 10px 0 0 0;
	}
	#contents p{
	
		font-size: 14px;
		line-height: 180%;
		text-align: center;
	}
	
	
	
	#recruit {
		width: 80%;
		margin: 60px auto;
		padding: 40px 20px;
		background-color: #000000;
		border: solid 2px #fbd500;
		box-shadow:0px 0px 8px 3px #fbd500;
		{
			shadowColor:"#fbd500",
			shadowOffset:{width:0,height:0},
			shadowOpacity:1,
			shadowRadius:8,
			borderWidth:1,
			borderColor:"#fbd500",
			borderRadius:0
			}
			
	}
	#recruit h3{
		font-size: 22px;
		font-weight: bold;
		color: #fbd500;
		/* padding: 36px 0 14px 0; */
		text-align: center;
		width: 100%;
		position: relative;
		display: inline-block;
		padding: 20px 55px;
		box-sizing: border-box;
		margin-top: 40px;
	}
	#recruit h3:before, #recruit h3:after {
		content: '';
		position: absolute;
		top: 50%;
		display: inline-block;
		width: 15%;
		height: 2px;
		background-color: #fbd500;
	  }
	  
	  #recruit h3:before {
		left:0;
	  }
	  #recruit h3:after {
		right: 0;
	  }
	  #recruit h3:first-of-type {
		margin-top: 0px;
	
	}
	#recruit h4{
		font-size: 14px;
		line-height: 180%;
		color: #ffffff;
		text-align: center;
		padding: 20px 0;
	}
	#recruit p{
		width: 90%;
		margin: 0 auto;
		font-size: 14px;
		line-height: 180%;
		color: #ffffff;
		line-height: 200%;
	}
	#recruit .btn{
		width: 100%;
		margin: 0 auto;
		padding: 40px 0 20px 0;
	}
	#recruit .btn img{
		width: 100%;
		padding: 10px 0;
	}
	#recruit .btn p{
		width:90%;
		margin: 0 auto;
		text-align: center;
		font-size: 14px;
		font-weight: bold;
	}
}

.px22 {
	font-size: 22px;
}
.px14 {
	font-size: 14px;
}
.r_b {
	font-size: 18px;
	color: #f6000d;
	font-weight: bold;
}
.end {
	font-size: 16px;
	color: #f6000d;
	font-weight: bold;
}

.thanks {
	margin: 70px;
	text-align: center;
	line-height: 160%;
	font-size: 14px;
}
.yellow{
	color: #fbd500;
}

