@charset "UTF-8";

/*基本設定*/
@media (min-width: 576px) {
  .container {
    max-width: 100% !important;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 1020px !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1020px !important;
  }}
  
body{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 1.6;
	color: #3d3935;
	background-color: #FFF;
}
@media (max-width:767px){
body{font-size: 20px;
	 background-color: #FFF;
}
}

a{color: #428a76;}

.md-hidden{}
.md-visible{}
@media (max-width:767px){
.md-hidden{
	display:none;}
}
@media (min-width:768px){
	.md-visible{ display:none;}
}


.nowrap{
	white-space: nowrap;
}
/* ナビ
/*--------------------------------- */
@media screen and (min-width:768px){
	header nav ul{	margin: 0px;padding: 0px; text-align:center}
	header nav ul li a{padding: 12px 25px; display:inline-block}
	header nav ul li a:hover{color:#ccc !important;}
	header nav ul li a.on{
	color:#ccc !important;
}
	header nav ul li a:hover.on{ background:#DDD; color: #428a76 !important;}
	.navi{ width:100%; text-align:right;}

	
}
header nav ul li{
	list-style-type: none;
	text-align: center;
}

/*PCのスタイル*/
.logobox{
	float: left;

}
header nav ul{
	display: flex;
	align-items: center;

}
header nav ul li a{
	color: #428a76;
	text-decoration: none;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 21px;
	
}
#nav_toggle{
	display: none;
	position: fixed;
	top: 18px;
	right: 10px;
}

@media screen and (max-width:767px){
/*メニュースマホ背景など*/
	nav{
		display:none;
		position: absolute;
		top:0;
		width: 100%;
		height: 100vh;
		background:rgba(255,255,255,0.8);
		left: 0;
		z-index: 99;
		
	}
	header nav ul{
		display: block;
		width: 90%;
		height: 350px;
		position: absolute;
		top: 0px;
		right: 0px;
		bottom: 0px;
		left: 0px;
		margin: auto;
	}
	header nav ul li{
		margin: 0 auto;
		text-align: center;
	}
	header nav ul li:last-child{
		border: none;
	}
	header nav ul li a{
		display: block; 
		color: #428a76;
		padding: 16px;
	}
	.logobox{ display:none !important;}
}
@media screen and (max-width:767px){	
/*3本線開閉ボタン*/
	#nav_toggle{
		display: block;
		width: 36px;
		height: 36px;
		z-index: 100;
	}
	#nav_toggle div {
		position: relative;
	}
	#nav_toggle span{
		display: block;
		height: 4px;
		background: #428a76;
		position:absolute;
		width: 100%;
		left: 0;
		-webkit-transition: 0.5s ease-in-out;
		-moz-transition: 0.5s ease-in-out;
		transition: 0.5s ease-in-out;
		border: 1px solid #FFF;
	}
	#nav_toggle span:nth-child(1){
		top:0px;
	}
	#nav_toggle span:nth-child(2){
		top:10px;
	}
	#nav_toggle span:nth-child(3){
		top:20px;
	}
	
/*×開閉ボタンopen時*/
	.open #nav_toggle span:nth-child(1) {
		background: #428a76;
			top: 12px;
		   -webkit-transform: rotate(135deg);
			-moz-transform: rotate(135deg);
			transform: rotate(135deg);
		}
		.open #nav_toggle span:nth-child(2) {
			background: #428a76;
			width: 0;
			left: 50%;
		}
		.open #nav_toggle span:nth-child(3) {
			background: #428a76;
			top: 12px;
			-webkit-transform: rotate(-135deg);
			-moz-transform: rotate(-135deg);
			transform: rotate(-135deg);
		}
}


/*フッター*/
footer{
	background-color: #F2ECE8;
	display: block;
	margin-bottom: -20px;
	padding-top: 50px;
	padding-bottom: 20px;
	border-top-width: 6px;
	border-top-style: double;
	border-top-color: #FFF;
}
.copy{
	color: #3d3935;
	text-align: center;

	font-size: 14px;
}

/*ページ内リンク調整*/
.anc {
     padding-top: 100px;
    margin-top: -100px;
}
