body	{ 
	font-family: 'Times New Roman','Times','Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
	font-size:18px;
	line-height:1;
	background-color:#f9fffa;
	color:#5d6c59;
}
.master	{ 
	margin:0 auto 10px; 
}
header	{
	position: fixed;
	top:0;
	z-index: 1000;
}

.a-hight	{
	display: block;
	margin-top:-80px;
	padding-top:80px;
 }
	
section,div,p	{ 
	line-height:1.6; 
	margin:5px 0 15px;
}

/* IEのsvg表示対策 */
img[src$=".svg"]	{
	width:100%;
	line-height: 0;
}

.links:link {
    color: #1f6c84;
    border-bottom: 1px solid #1f6c84;
}
.links:visited {
    color: #5693a7;
    border-bottom: 1px solid #5693a7;
}

/*body直下divコーナー分け*/
body>div	{
	padding:5px 0;
}
body>div:nth-child(2n+0) { 
	background-color:#f9fffa;
}
body>div:nth-child(2n+0)>h2  { 
	background-color:#a5b2a1;
}
body>div:nth-child(2n+0) .txt-title {
	background: linear-gradient(transparent 40%, #e4ebe1 40%);
}
body>div:nth-child(2n+0) .txt-box {
	background-color:#e4ebe1;
}
body>div:nth-child(2n+1) { 
	background-color:#e4ebe1;
}
body>div:nth-child(2n+1)>h2  { 
	background-color:#838e80;
}
body>div:nth-child(2n+1) .txt-title {
	background: linear-gradient(transparent 40%, #f9fffa 40%);
}
body>div:nth-child(2n+1) .txt-box {
	background-color:#f9fffa;
}


h1,h2	{ 
	color:#ffffff;
}
h1	{
	background-color:#838e80;
	width: 100%;
	background:url("../img/title_about_us.jpg");	/*コーナーごとに指定*/
	background-size: 100% auto;
	background-position: top;
	margin-top: 100px;
	position: relative;
}
h1>span	{
	position: absolute;
	top: 50%;
	left: 0;
	-ms-transform: translate(0,-50%);
	-webkit-transform: translate(0,-50%);
	transform: translate(0,-50%);
	padding: 0 20px;
	/* display:table;
	text-align:left;
	margin: 0 auto; */

}

h3  { 
	display:inline;
	padding:0 20px 0 5px;
	margin:10px 0;
}
h4	{
	font-weight: bold;
	text-align:left;
	margin:0 0 5px;
}
/*h3アンダーライン*/
.text-title {
	font-weight: bold;
}
/*h3アイコン*/
.icon-title { 
	height:32px;
	display:inline;
	vertical-align:middle;
}
.icon-title img {
	width:32px;
	height:32px;
	vertical-align:bottom;
	margin-right:10px;
}
/*h3■*/
.square-title	{border-left: solid 20px;
}

.bold	{
	font-weight: bold;
}

.w-box>div,.w-box img	{
	vertical-align: top;
}

/*header*/
#header,#footer	{ 
	background-color:#838e80; 
	color:#f9fffa; 
	width:100%; 
}
#header	{ display: table; } 
#header>div	{ 
	display:table-cell;
	vertical-align: middle;
}
#header>.logo>a	{
	display: inline-block;
}

.name	{ 
	font-weight:bold; 
	vertical-align: middle;
}

/* ページTOPに戻る */
.pagetop{
    display: none;
    position: fixed;
    right: 15px;
	bottom: 30px;
	z-index: 1000;
}
.pagetop a{
    display: block;
    font-size: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #5d6c59;
    border-radius: 50%;
    line-height: 50px;
    font-size: 25px;
    color:#fff;
    line-height: 45px;
}

/*ハンバーガーメニュー*/
#nav-drawer	{ 
	font-size: 16px;
	position: relative; 
	width:60px; 
	text-align: left; 
	vertical-align: middle;}
  
  /*チェックボックス等は非表示に*/
  .nav-unshown { display:none;
  }
  
  /*アイコンのスペース*/
  #nav-open {
	display: inline-block;
	width: 40px;
	height: 35px;
	vertical-align: middle;
	margin-bottom: 5px; }
  
  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
	position: absolute;
	height: 5px;/*線の太さ*/
	width: 40px;/*長さ*/
	border-radius: 5px;
	background: #fff;
	display: block;
	content: '';
	cursor: pointer; }
  #nav-open span:before {
	bottom: -12px; }
  #nav-open span:after {
	bottom: -24px; }
  
  /*閉じる用の薄黒カバー*/
  #nav-close {
	display: none;/*はじめは隠しておく*/
	position: fixed;
	z-index: 99;
	top: 0;/*全体に広がるように*/
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	transition: .3s ease-in-out; }
  
  /*中身*/
  #nav-content {
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	padding: 20px;
	z-index: 9999;/*最前面に*/
	width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
	max-width: 330px;/*最大幅（調整してください）*/
	height: 100%;
	background: #838e80;/*背景色*/
	transition: .3s ease-in-out;/*滑らかに表示*/
	-webkit-transform: translateX(-105%);
	transform: translateX(105%);/*左に隠しておく*/ }
  
  /*チェックが入ったらもろもろ表示*/
  #nav-input:checked ~ #nav-close {
	display: block;/*カバーを表示*/
	opacity: .5; }
  
  #nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);/*中身を表示（右へスライド）*/
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
	} 
/*ハンバーガーメニュー終わり */

/*footer*/
#footer>:first-child	{
	margin-bottom: 10px;
	}
#footer1>:not(:first-child)	{
	margin-top: 20px;
}
#footer1>.logo	{
	display: block;
	margin-top: 0;
}
#footer1>.logo>img {
	width:50px;
}
#footer1>.logo>span	{ 
	font-size:23px; 
	display:inline-block; 
	vertical-align:top; 
	padding-top:10px; 
	padding-left:10px;
}
#footer1>address>div	{ 
	line-height:1.5;
}
#footer_nav	{
	display: table;
	font-size: 14px;
}
#footer_nav>ul	{
	display: table-cell;
	width: 50%;
}
#footer_nav>ul>li	{ 
	margin-bottom: 10px; 
	font-weight: bold; 
	text-align:left;	
}
#footer_nav>ul>li>ul>li	{
	list-style-type: disc;
}
#footer>div:last-child	{
	text-align: center;
	padding-bottom: 30px;
}

li>ul	{
	margin-left:30px;
}

/**/
.txt-box	{
	margin-top:10px;
	padding:15px;
}

.wbox_img	{
	margin-bottom: 0;
}
.inbox_img span,
.wbox_img span,
.master_img span,
.border_img span,
.popup-gallery>a>img	{
	display: block;
	float: left;
}
.inbox_img img,
.wbox_img img,
.master_img img,
.border_img img,
.popup-gallery>a>img	{
	width: 100%;
	vertical-align: bottom;
}

.icon16px	{
	width:16px;
	height:16px;
}

.object-fit{
	object-fit: contain;
	font-family: 'object-fit: contain;'
  }

@media screen and (min-width:1101px){
	.master	{
		width:1000px;
		line-height: 1.3;
	}

	h1 {
		height: 120px;
	}

	h2 {
		text-align:center;
	}
	h2>span { 
		display:inline-block;
		text-align:left;
		width:1000px;
		padding:5px 0;
	}

	.for-mb	{
		display: none;
	}

	.icon-title>img {
		width:30px;
		height:30px;
	}

	.w-box	{ 
		display:table;
	}
	.w-box>div	{
		display:table-cell;
		width: 500px;
	}
	.w-box>div:first-child>* {
		margin-right:15px;
	}
	.w-box>div:last-child>* {
		margin-left:15px;
	}
	.wbox_img span	{
		width: 220px;
	}
	.wbox_img span:first-child	{
		margin-right: 15px;
	}
	
	.w-box>div>.txt-box>img {
		width: 100%;
	}

	.master_img span	{
		width: 241px;
		margin-right: 12px;
	}
	.master_img span:nth-child(4n)	{
		margin-right: 0;
	}

	.popup-gallery>a>img	{
		width: 155px;
		height: 155px;
		margin-right: 14px;
		margin-bottom: 15px;
	}

	.popup-gallery>a>span	{
		display: block;
	}
	.popup-gallery>a:nth-child(6n)>img	{
		margin-right: 0;
	}

	.inbox_img	{
		margin: 10px 0;
	}
	.inbox_img span	{
		width: 233px;
		margin-right: 12px;
	}
	.inbox_img span:last-child	{
		margin-right: 0;
	}

	.border_img	{
		width: 1000px;
		margin:0 auto; 
	}
	.border_img span	{
		width: 250px;
	}

	.fit_img	{
		margin-top: 0;
	}
	.fit_img img	{
		width: 100%;
	}

	#header>div	{
		height: 80px;
	}
	#header>.logo	{
		width:100px;
		padding: 0 15px;
	}
	.logo>a>img	{
		width: 60px;
	}
	.name	{ 
		font-size:27px; 
	}
	#mail	{
		width: 70px;
	}
	#mail>a>img	{
		width: 50px;
	}
	
	#footer>div	{
		display: table;
		padding-top: 20px;
	}
	#footer>div>div	{
		display: table-cell;
		width: 50%;
	}
	#footer2	{
		vertical-align: top;
	}
	#footer_nav>ul	{
		padding-left: 20px;
	}
}

 @media screen and (max-width:1100px) and (min-width:751px){
	.master	{ width:96%;
	}

	img		{ width:100%;
	}

	h1 {
		height: 120px;
	}

	h2 {
		padding:10px 20px;
	}

	.for-mb	{
		display: none;
	}

	.master_img>span,.master_img>a>img,.inbox_img span	{
		width: 23.5%;
		margin-right: 2%;
	}
	.master_img>span:nth-child(4n),
	.master_img>a:nth-child(4n)>img,
	.inbox_img span:nth-child(4n)	{
		margin-right: 0;
	}

	.popup-gallery>a>img	{
		width: 18.6%;
		margin-right: 1.7%;
		margin-bottom: 15px;
	}
	.popup-gallery>a:nth-child(5n)>img	{
		margin-right: 0;
	}

	.icon-title>img {
		width:25px;
		height:25px;
	}

	.w-box	{ 
		display:table;
	}
	.w-box>div	{
		display:table-cell;
		width: 48%;
	}
	.w-box>div:first-child>* {
		margin-right:2%;
	}
	.w-box>div:last-child>* {
		margin-left:2%;
	}
	.wbox_img span	{
		width: 49%;
	}
	.wbox_img span:first-child	{
		margin-right: 2%;
	}

	.fit_img	{
		margin-top: 0;
	}

	.border_img span	{
		width: 25%;
	}
	#header>.logo	{
		width:80px;
		padding: 10px 15px;
	}
	#logo a>img {
		width:50px;
	}
	.name	{ 
		font-size:27px; 
	}
	#mail	{
		width: 70px;
	}
	#mail>a>img	{
		width: 50px;
	}

	#footer>div	{
		display: table;
	}
	#footer>div>div	{
		display: table-cell;
		width: 50%;
	}
	#footer1,#footer2	{
		vertical-align: top;
		padding-top: 20px;
	}
	#footer_nav>ul:first-child	{
		padding-left: 20px;
	}

}

@media screen and (max-width:750px){
	.master	{ width:92%;
	}

	img		{ width:100%;
	}

	h1 {
		height: 100px;
		font-size: 1.8em;
	}

	h2 {
		padding:10px 20px;
	}

	.icon-title>img {
		width:25px;
		height:25px;
	}

	.master_img,
	.inbox_img,
	.wbox_img,
	.border_img	{
		margin-top: 5%;
	}
	.master_img span,
	.inbox_img span	{
		width: 48%;
		margin-right: 4%;
	}
	.master_img span:nth-child(2n+1),
	.inbox_img span:nth-child(2n+1)	{
		margin-bottom: 3%;
	}
	.master_img span:nth-child(2n+0),
	.inbox_img span:nth-child(2n+0)	{
		margin-right: 0;
	}

	.popup-gallery>a>img	{
		width: 23.5%;
		margin-right: 2%;
		margin-bottom: 15px;
	}
	.popup-gallery>a:nth-child(4n)>img	{
		margin-right: 0;
	}

	.wbox_img span	{
		width: 49%;
	}
	.wbox_img span:first-child	{
		margin-right: 2%;
	}

	.border_img span	{
		width: 50%;
		line-height: 0;
	}
	
	#header>.logo	{
		width:70px;
		padding: 10px;
	}
	#logo>a>img {
		width:50px;
	}
	.name	{ 
		font-size:24px; 
		line-height: 1.1;
	}
	#mail	{
		width: 60px;
	}
	#mail>a>img	{
		width: 40px;
	}

	#footer1	{ padding-top:20px; padding-bottom: 20px; }
	#footer1>.logo>span	{ font-size:20px; 
	}
}
