@charset "UTF-8";
*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	font-size: 625%;
}

body {
	margin: 0 auto;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN",Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-size : .18rem;
	line-height : 2;
	background: #f2f2f2;
/*	background: url(../images/bg_body.png) repeat center #29211f;*/
	color: #140c01;
	width: 100%;
	letter-spacing: 1px;
}
@media screen and (max-width: 640px){
	/*html{font-size: 1000%;}*/
	html{font-size: 950%;}
	body {
		/*background: url(../image/sp_bg.jpg) repeat center;*/
		width: 900px;
		font-size: 33px !important;
		line-height: 1.5 !important;
	}

}
div,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
dl,
dt,
dd {
	margin: 0;
	padding: 0
}
img {
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
	/* pc */
	pointer-events: none;
	/* smartphone*/
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-touch-callout:none;
	-moz-user-select:none;
	touch-callout:none;
	user-select:none;
}
p {
	margin: 0 auto;
	padding: 60px 10% 0;
	font-size: medium;
}
@media screen and (max-width: 640px){
	p{
		padding: 60px 5% 0;
	}
}

.wrap {
	margin: 0 auto;
	overflow: hidden;
}

.contents {
	width: 100%;
	max-width:1000px;
	margin: 0 auto;
	padding: 50px 0 70px;
	background: #fefefe;
	position: relative;
}


.center {text-align: center !important;}

/*.container{
	background-image: url("images/main_bg.gif");
	background-repeat: repeat-y;
	width: 880px;
	height: auto;
	margin: 0 auto 0 auto;
	padding: 0;
	border: none;
}*/



p.midashi{
	margin: 100px 0 50px 0 ;
	padding: 0 auto;
	text-align:center;
}

p.youkou{
	margin:50px 0 25px 0 ;
	padding: 0 auto;
	text-align:center;
}


.header{
	margin: 0 auto;
	height:700px;
	background: url(../images/header.png) center top no-repeat;
}
.header02 {
	margin: 0 auto;
	padding: 0 auto;
	position: relative;
	height:410px;
	background: url(../images/header02.jpg) center top no-repeat;
}
.header03{
	margin: 0 auto;
	height:700px;
	background: url(../images/header03.png) center top no-repeat;
}
@media screen and (max-width: 640px){
	.header{
		height:840px;
		background: url(../images/header_sp.png) center top no-repeat;
		background-size: contain;
	}
	.header03{
		height:890px;
		background: url(../images/header03_sp.png) center top no-repeat;
		background-size: contain;
	}
}
#yu_caution{
	width: 95%;
	max-width: 800px;
	margin: 60px auto 0;
}
#yu_caution li {
	list-style-type: none;
	font-size:13px;
	line-height: 1.5em;
}
#yu_caution li::before{
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 10px;
	background: #232323;
	vertical-align: -0.5px;
	margin-right: 5px;
}

/* footer */

#footer{
	padding: 15px 10px;
	font-size : 14px;
	line-height : 1.4;
	text-align : center;
	color: #140c01;
	background: #f9df3f;
	border-top: 3px solid #140c01;
	/*border-image: linear-gradient(to left, #c49e1f 0%,#f5f6d4 50%, #c49e1f 100%);
	border-image-slice: 1;*/
}
#footer p{
	margin-bottom: 0;
	padding: 0;
}
#footer p a{
	color: #140c01;
	font-size: 16px;
}
#footer p a:hover{
	color: #ab0707;
}
#copy{
	font-size: 12px;
	margin-top: 5px;
}

#footer-text{
	width: 720px;
	color:#494849;
	font-size:11px;
	line-height:22px;
	margin:0 auto;
	padding:0 auto;
}

/*footer end*/

.waku {
	overflow: hidden;
	margin:0 auto;
	width:800px;
	border: double 10px #fcdd00;
	padding: 30px;
	font-weight:bold;
}


.ft_header {
	text-align: center;
	height:521px;
}
.ft_head {text-align: center;}



#tokusyouhou_page #header {
	width: 880px;
	margin: 0 auto;
}
#tokusyouhou_page img {
	width: 640px;
}
#kiyaku_page #header {
	width: 880px;
	margin: 0 auto;
}
#kiyaku_page img {
	width: 640px;
}


/* textcolor */

.left {
	display: block;
	text-align: left;
	float: left;
}

.right {
	display: block;
	text-align: right;
	float: right;
}
.left p {
	width:auto;
	font-size:19px;
}
.right p {
	width:auto;
	font-size:19px;
}
.clear {
	clear:both;
}
@media(min-width:641px){
	.pc_off{
		display: none !important;
	}
}
@media(max-width:640px){
	.sp_off{
		display: none !important;
	}
	#yu_caution li{
		font-size: 16px;
	}
	#footer p a{
		font-size: 20px;
	}
	#copy{
		font-size: 20px;
	}
}
.rulelaw img{
	width: 100%;
}

/* MAE */
#wrapper {
	width: 100%;
	max-width:1000px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	justify-content: space-evenly;
	/*align-items: flex-start;*/
	align-content: center;
	flex-wrap: wrap;
	flex-direction: row;
}
#content {
	background: #fefefe;
	width: 100%;
	-webkit-flex: 1;
		-moz-flex: 1;
		-ms-flex: 1;
		-o-flex: 1;
		flex: 1;
	padding:0 0 30px;
}
#side {
/*	background: #f2ecde;*/
	background: url(../images/jisseki02_bg.png) repeat center;
	vertical-align: top;
	width: 180px;
	padding: 0;
}
#side nav ul li:first-child{
	border-top: 1px dashed #054223;
	margin-top: 30px;
}
#side nav ul li {
	list-style-type: none;
	text-align: center;
	margin: 0 auto;
	border-bottom: 1px dashed #054223;

}

/*#side nav ul li.fainal {
	list-style-type: none;
	font-size:13px;
	display: block;
	padding: 10px;
	text-align: center;
	margin: 10px auto;
	border: #ff1d1d solid 1px;
	line-height: 1.5em;
}*/

#side nav ul a {
	display: block;
	width: 100%;
	color: #054223;
	padding: 15px 0;
	font-size: 15px;
	text-decoration: none;
	line-height: 1.4;
}
#side nav ul li a:hover{
	cursor: pointer;
	background: #054223;
	color: #f9df3f;
	font-weight: bold;
}
#side nav ul li a:hover:before{
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-left: 5px solid #f9df3f;
}
#side nav ul li a:hover:after{
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-right: 5px solid #f9df3f;
}
#side nav ul li:hover {
	background:#fff;
	color:#f5b21c;
}
#side nav ul li:hover .new{
	background:#fff;
	color:#ea5514;
}
@media screen and (max-width: 640px) {
	/*#wrapper {
		flex-direction: column;
	}*/
	#wrapper {
		display: block;
	}
	#content{
		width: 100%;
	}
	#side{
		
		width: 100%;
		padding: 0;

	}
	#side nav ul li{
		display: inline-block;

		width: 49%;
	}
	#side nav ul li:first-child{
		margin-top: 0;
		border-top: none;
	}
	#side nav ul li:nth-of-type(odd){
		border-right: 1px dashed #054223;
	}
	#side nav ul a{
		font-size: .2rem;
		text-decoration: underline;
	}
	#side nav ul li a:before{
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		border: 10px solid transparent;
		border-left: 10px solid #054223;
	}

}
#content .waku{
	font-size: 20px;
	text-align: left;
}


header {
	text-align: center;
	background: url(../images/bg_h1.png) no-repeat center;
	background-size: cover;
}
header h1 {
	color:#054223;
	font-size: 50px;
	padding: 40px 10px;
	line-height: 1.2;
	text-shadow:
	 1px 1px 2px #fff7c4,
     1px -1px 2px #fff7c4,
     -1px 1px 2px #fff7c4,
     -1px -1px 2px #fff7c4;

}
#content p {
	padding: 60px 5% 0;
}
#content p.mt40 {
	margin-top:40px !important;
}
.t_ttl{
	background: #054223;
	color: #f9df3f;
	margin-top: 60px;
	padding: 30px 5%;
	font-weight: bold;
	font-size: 40px;
	line-height: 1.2;
	/*border: 3px solid #f5f6d4;
	border-image: linear-gradient(to left top, #c49e1f 0%,#f5f6d4 50%, #c49e1f 100%);
	border-image-slice: 1;*/
	border-top: 3px solid #f9df3f;
}
/* サイドのメニュー部分 */
.new {
	color:#ff1d1d;
	font-weight:bold;
	padding:3px 6px;
	margin-right:3px;
}
@media screen and (max-width: 640px){
	.t_ttl{
		font-size: 60px;
	}
}
