@charset"utf-8";

html{
	min-height: 100%;
	box-sizing: border-box;
	position: relative;
}

body{
	margin: 0;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 1em;
}

.contents{
	margin: 0;
	padding: 0;
	background: #fff;
}

h1{
	font-size: 2em;
}

h2{
	font-size: 1.5em;
}

h3{
	font-size: 1.2em;
}

p{
	font-size: 1em;
}

/*ヘッダー*/
header{
	margin: 0;
	padding: 0;
	width: 100%;
}

.h_contents{
	background-image: url(../material/t_image/tile.jpg);
	padding: 20px;
	padding-bottom: 40px;
}

.h_contents img{
	margin: 0;
	padding: 0;
	width: 40%;
	max-width: 250px;
	max-height: 65px;
}

.h_contents a{
	text-decoration: none;
}

/*メインメニュー*/

.hm_menu{
	background-color: #7058a3;	/*菫色*/
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

.hm_menu ul{
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	list-style: none;
	height: 40px;
}

.hm_menu li{
	flex: 1 1 auto;
	border-right: 1px solid #000;
	width: 20%;
	line-height: 40px;
}

.hm_menu li a{
	display: block;
	text-decoration: none;
	text-align: center;
	font-size: 0.875em;
	color: #fff;
}

.hm_menu li a span{
	content: none;
}

.hm_menu li:last-child{
	border-right: none;
}

.hm_menu li:hover{
	background: #a59aca;	/*藤紫*/
	-webkit-transition: all .5s;
	transition: all .5s;
}

.hm_menu li a.current{
	background: #65318e;	/*本紫*/
}

.hm_menu li span{
	content: none;
}

.stop span{
	display: block;
}

.hm_menu li:hover .stop span:nth-child(1){
	display: none;
}

/*メインコンテンツ*/
main{
	margin: 0;
	padding: 0;
	width: 100%;
}

.m_contents{
	margin: 0;
	padding: 0;
	background-color: #fff;
}

.mtitle{
	margin: 0;
	margin-bottom: 20px;
	padding: 10px;
	padding-bottom: 0;
	padding-right: 30%;
	width: intrinsic;
	border-bottom: 2px dashed #111;
}

.mtitle h1{
	margin: 10px 0;
	padding: 0;
	font-size: 2em;
	color: #2e2930;
}

.mtitle h1 span{
	color: #4a488e;	
	line-height: 1.3;
}

.st{
	font-size: 0.725em;
	line-height: 1.5;
}

.msubm{
	margin: 20px 0;
	margin-left: 30px;
}

.msb h2{
	margin: 0;
	font-size: 1.5em;
	color: #000;
	padding: 5px;
}

.msb ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.msb li a{
	display: block;
	margin-right: 10px;
	padding: 5px;
	border-radius: 10px;
	color: #fff;
	font-size: 1.1em;
	background-color: #a59aca;
	text-decoration: none;
}

.msb li a:hover{
	background-color: #dbd0e6;
}

.msb ul:after{
	content: "";
	display: block;
	clear: both;
}

.msb li{
	float: left;
	width: auto;
	min-width: 50px;
}

.msb li a:after{
	content: "▶";
	margin-left: 10px;
	font-size: 0.5em;
	vertical-align: middle;
}

/*フッター*/
footer{
	margin: 0;
	padding: 0;
	width: 100%;
	color: #fff;
	background-color: #000;
}
.f_contents{
	padding: 10px;
	text-align: center;
}

/*「上に戻る」ボタン*/
#toTop{
  width: 90px;
  height: 60px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0.8;
  background: #dbd0e6;
  border: 3px solid #65318e;
  border-radius: 15px;
}
#toTop a{
  position: relative;
  display: block;
  width: 90px;
  height: 60px;
  text-decoration: none;
}
#toTop a::before{
  font-family: 'Font Awesome 5 Free';
  content: '\f102';
  font-weight: 900;
  font-size: 25px;
  color: #65318e;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -25px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#toTop a::after{
  content: '上に戻る';
  font-size: 13px;
  color: #65318e;
  position: absolute;
  top: 38px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/*iPhone等の端末用*/
@media (max-width: 599px){
	/*ヘッダー*/

	.h_contents{
		padding: 10px;
	}

	.h_contents h1{
		margin-left: 10px;
		font-size: 1.5em;
	}

	/*メインメニュー*/
	.hm_menu ul{
		height: 60px;
	}
	
	.hm_menu li{
		font-size: 0.75em;
		line-height: 60px;
		overflow: hidden;
	}
	
	.hm_menu li a span{
		content: "\A";
		white-space: pre;
	}

	/*メインコンテンツ*/
	.m_contents{
		padding: 5px;
		padding-bottom: 30px;
	}
		
	.mtitle{
		padding: 5px;
		padding-bottom: 0;
		padding-right: 10%;
	}
	
	.msb h2{
		margin-right: 25px;
	}
	
	.msb li a{
		padding: 5px;
	}


	/*フッター*/
	.f_contents p{
		font-size: 0.7em;
	}

	/*上に戻るボタン*/
	#toTop{
	  width: 40px;
	  height: 40px;
	  position: fixed;
	  right: 10px;
	  bottom: 10px;
	  background: #65318e;
	  opacity: 0.8;
	  border-radius: 50%;
	}
	#toTop a{
	  position: relative;
	  display: block;
	  width: 40px;
	  height: 40px;
	  text-decoration: none;
	}
	#toTop a::before{
	  font-family: 'Font Awesome 5 Free';
	  content: '\f102';
	  font-size: 20px;
	  font-weight: 900;
	  color: #fff;
	  position: absolute;
	  width: 20px;
	  height: 20px;
	  top: 0;
	  bottom: 0;
	  right: 0;
	  left: 0;
	  margin: auto;
	  text-align: center;
	}
	#toTop a::after{
		content: none;
	}
		
}

/*ipad等のタブレット〜PC用*/
@media (min-width: 600px) and (max-width: 1099px){
	/*ヘッダー*/
	
	/*メインメニュー*/
	.hm_menu ul{
		margin: 0 auto;
		max-width: 1100px;
	}

	.hm_menu li:first-child{
		border-left: 1px solid #000;
	}
	
	.hm_menu li:last-child{
		border-right: 1px solid #000;
	}
		
	/*メインコンテンツ*/
	.m_contents{
		padding: 20px;
		padding-bottom: 40px;
	}

	.m_contents h1{
		margin: 10px 0;
		padding: 0;
	}
	
	.st{
		color: #111;
		line-height: 1.2;
	}
	
	.mtitle{
		margin: 0;
		margin-bottom: 20px;
		padding: 10px;
		padding-bottom: 0;
		padding-right: 30%;
		width: intrinsic;
		border-bottom: 2px dashed #111;
	}
	
	
	/*フッター*/
}

/*大きい画面用*/
@media (min-width: 1100px){
	/*ヘッダー*/
	
	/*メインメニュー*/
	.hm_menu ul{
		margin: 0 auto;
		max-width: 1100px;
	}

	.hm_menu li:first-child{
		border-left: 1px solid #000;
	}
	
	.hm_menu li:last-child{
		border-right: 1px solid #000;
	}
		
	/*メインコンテンツ*/
	main{
		background-image: url(../material/4205.jpg);
	}
	
	.m_contents{
		margin: 0 auto;
		max-width: 1100px;
		border: 1px solid #fff;
		padding: 10px;
		padding-bottom: 40px;
	}
	
	.msb{
		max-width: 1100px;
	}
	
	/*フッター*/
}
