@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav.gnav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav.gnav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size: 14px;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	display: flex;
	flex-flow: column;
	min-height: 100vh;
	background-image: url("../images/pattern4.gif");	color: #666;
}

#contents {
	width: 980px;
	margin: 0 auto;
}

#contents2 {
	width: 980px;
	margin: 0 auto;
	padding-top: 100px;
}

header + #contents {
	padding-top: 20px;
}

main {
	flex: 1;
}

.inner {
	position: relative;
	width: 980px;
	padding-top: 15px;
	margin: 0 auto;
}

a {
	color: #666;
}
a:hover {
	color: #af8843;			/*マウスオン時の文字色*/
	text-decoration: none;
}

h1 {
	font-size: 28px;
	padding-top: 8px;
}

h2 {
	margin-top: 50px;
	margin-bottom: 0.5em;
	font-size: 28px;
	color: #333;
	text-align: center;
	line-height: 1.0;
}

h2 span {
	position: relative;
	font-size: 12px;
}

h2 span:before {
	position: absolute;
	top: 50%;
	left: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #333;
}

h2 span:after {
	position: absolute;
	top: 50%;
	right: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #333;
}

.second h2 {
	margin-top: 80px;
  padding: 0.5em;/*文字周りの余白*/
  color: #00aa0a;/*文字色*/
  background: #e4f8dd;/*背景色*/
  border-left: solid 5px #00aa0a;/*左線（実線 太さ 色）*/
	text-align: left;
	 font-size: 20px;
}

.secondo2 h2 {
    margin-top: 130px;
    padding: 0.5em;/*文字周りの余白*/
    color: #f6ac00;/*文字色*/
    background: #fffbf4;/*背景色*/
    border-left: solid 5px #f6ac00;/*左線（実線 太さ 色）*/
    text-align: left;
    font-size: 20px;
    margin-bottom: 20px;
}
.second_yellow h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #f6ac00;
	background: #fffbf4;
	border-left: solid 5px #f6ac00;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_yellowgreen h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #c4d700;
	background: #fffff3;
	border-left: solid 5px #c4d700;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_lightblue h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #00afec;
	background: #eefbff;
	border-left: solid 5px #00afec;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_green h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #45b035;
	background: #f9fff8;
	border-left: solid 5px #45b035;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_orange h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #ea5514;
	background: #fcf3f0;
	border-left: solid 5px #ea5514;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_violet h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #92539d;
	background: #fef8ff;
	border-left: solid 5px #92539d;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_purple h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #938ac1;
	background: #f6f5fc;
	border-left: solid 5px #938ac1;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_red h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #e6002d;
	background: #fcf5f7;
	border-left: solid 5px #e6002d;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.second_blue h2 {
	margin-top: 130px;
	padding: 0.4em 0.5em;
	color: #008ccf;
	background: #f8fdff;
	border-left: solid 5px #008ccf;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
	text-shadow: 0px 2px  rgba(0,0,0,0.15);	
	text-align: left;
	font-size: 20px;
	margin-bottom: 20px;
}

.secondp h2 {
	margin-top: 130px;
	padding: 0.5em;/*文字周りの余白*/
	color: #938ac1;/*文字色*/
	background: #dedde8;/*背景色*/
	border-left: solid 5px #938ac1;/*左線（実線 太さ 色）*/
	text-align: left;
	font-size: 20px;
}

h3 {
	margin-bottom: 0.25em;
	font-size: 18px;
}

.second2 h3 {
	margin-top: 2em;
	margin-bottom: 1em;
	padding-left: 15px;
	border-bottom: double 5px #bebebb;
	text-align: left;
	font-size: 20px;
}

h4 {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	font-size: 16px;
	font-weight: bold;
}

h5 {
	margin-bottom: 0.25em;
	padding-left: 25px;
	font-size: 16px;
	background: url('../images/bg_arrow_black.png') 0 50% no-repeat;
}

h6 {
	margin-bottom: 0.25em;
	padding-left: 5px;
	font-size: 16px;
	font-weight: bold;
}

p {
	margin:0 0 1em 0;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

em {
	font-weight: bold;
}

strong {
	font-weight: bold;
	color: #ff0000;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom: 1em;
	padding: 1em;
	border: 1px dotted #ddd;
	border-left: 5px solid #ddd;
}

ul,ol,dl {
	margin: 0 0 1em 0;
}
ul li {
	list-style: disc;
}
ol li {
	list-style: decimal;
}
li {
	margin-left: 2em;
}

dt {
	margin-bottom: 0.5em;
	border-bottom: 1px dotted #ddd;
}
dd {
	margin-bottom: 1em;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border: 1px solid #ddd;
}
th {
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
	background: #f1f1f1;
}
td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}

.g_map {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.g_map iframe,
.g_map object,
.g_map embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/*================================================
 *  汎用クラス
 ================================================*/
/* 中央寄せ */
.center {
	text-align: center;
}

/* 左寄せ */
.left {
	text-align: left;
}

/* 右寄せ */
.yoko {
	width: 100%;
}

/* ブログ透過背景 */
.blogbg {
	background: rgba(255,255,255,.8);
	padding-left: 60px;
	padding-right: 60px;
	padding-top: 20px;
	width: auto;
	height:100%;
}

/* 100% */
.right {
	text-align: right;
}

/* 回り込み解除 */
.clear {
clear: both;
}

/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin: 0 auto 50px auto;
	margin-bottom:50px;
	text-align:center;
}
.imgC img {
	margin-bottom:10px;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
	padding-top: 15px;
}
.imgL img {
	float:left;
	margin:0 10px 0 0;
}
.nose a:hover {
		opacity: 0.4;
	}

.shita {
		margin-bottom:30px;
	}

.ue {
		margin-top:20px;
	}

.yellow {
	color: #f6ac00;
}

.yellowgreen
 {
	color: #c4d700;
}

.lightblue {
	color: #00afec;
}

.green {
	color: #45b035;
}

.orange {
	color: #ea5514;
}

.violet {
	color: #92539d;
}

.purple {
	color: #938ac1;
}

.red {
	color: #e6002d;
}

.blue {
	color: #008ccf;
}

@media screen and (max-width:767px) {
	.imgL {
		margin-bottom:20px;
	}
	.imgL img {
		float:none;
		margin:0 0 10px 0;
	}
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
	padding-top: 15px;

}
.imgR img {
	float:right;
	margin:0 0 0 10px;
}

@media screen and (max-width:767px) {
	.imgR {
		clear:both;
		overflow:hidden;
		margin-bottom:20px;
	}
	.imgR img {
		float:right;
		margin:0 0 10px 0;
	}
}

/* 写真ズーム */
.zoom {
	overflow: hidden;
}
.zoom img {
	display: block;
	-moz-transition: -moz-transform 0.8s linear;
	-webkit-transition: -webkit-transform 0.8s linear;
	-o-transition: -o-transform 0.8s linear;
	-ms-transition: -ms-transform 0.8s linear;
	transition: transform 0.8s linear;
}
.zoom img:hover {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
}
.zoom img {
	margin-bottom: 0;
}

/* オーバーレイ */
.overlay {
	position: relative;
}
.overlay::after{
	background: rgba(0,0,0,.5);
	content: "　";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: all .3s ease-out;
	pointer-events: none;
}
.overlay:hover::after {
	background: rgba(0,0,0,.1);
	transition: all .3s ease-out;
}
.overlay img {
	margin-bottom: 0;
}

/* ボタン */
.btn a {
	position: relative;
	display: inline-block;
	padding: 8px 40px 8px 40px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
	transition: 0.5s;
	z-index: 1;
	background: #000;
}
.btn a:hover {
	color: #fff;
	background: #333;
}

/* 2カラム（スマートフォンでは1カラム) */
.twoCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position:relative;
	overflow:hidden;
	margin-bottom:60px;
}
.twoCol .inner {
	position: relative;
	overflow:hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-direction: column-reverse;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: column-reverse;
	flex-direction: column;
	width: 48.98%;
	width: calc((480 / 980) *100%);
	height: auto;
	margin:0 0 20px 0;
}
.twoCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.twoCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.twoCol .inner > a {
	width: 100%;
	height: 100%;
}
.twoCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.twoCol .inner img {
	width:100%;
}
.twoCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.twoCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.twoCol {
		display: block;
		margin-bottom:20px;
	}
	.twoCol .inner {
		width :100%;
		margin:0 0 10px 0;
	}
}

/* 3カラム（スマートフォンでは1カラム) */
.threeCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;
}
.threeCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 32.14%;
	width: calc((315 / 980) *100%);
	margin: 0 0 20px 0;
}
.threeCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.threeCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.threeCol .inner > a {
	width: 100%;
	height: 100%;
}
.threeCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.threeCol .inner img {
	width: 100%;
}
.threeCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.threeCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.threeCol {
		display: block;
		margin-bottom: 20px;
	}
	.threeCol .inner {
		width : 100%;
		margin: 0 0 10px 0;
	}
}

/* 4カラム（スマートフォンでは2カラム) */
.fourCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;
}
.fourCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 23.46%;
	width: calc((230 / 980) *100%);
	margin: 0 0 20px 0;
}
.fourCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.fourCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.fourCol .inner > a {
	width: 100%;
	height: 100%;
}
.fourCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.fourCol .inner img {
	width: 100%;
}
.fourCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.fourCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.fourCol {
		margin-bottom: 20px;
	}
	.fourCol .inner {
		box-sizing: border-box;
		width: 48.98%;
		width: calc((480 / 980) *100%);
		margin-bottom: 10px;
	}
}

/* お知らせ */
.information {
	margin-bottom: 80px;
}

.information dt {
	clear: both;
	float: left;
	margin: 0;
	padding: 10px 0;
	vertical-align: top;
	border-bottom: none;
}

.information dd {
	margin: 0;
	padding: 10px 0 10px 8em;
	vertical-align: top;
	border-bottom: 1px dotted #333;
}

@media screen and (max-width:767px) {
	.information {
		margin-bottom: 40px;
	}

	.information dt {
		float: none;
		margin: 0;
		padding: 10px 0 0 0;
		vertical-align: top;
		border-bottom: none;
	}

	.information dd {
		margin: 0;
		padding: 0 0 10px 0;
		vertical-align: top;
		border-bottom: 1px dotted #333;
	}
}
/*一般修理ページの各ブロック
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
.list {
	position: relative;
	overflow: hidden;
	float: left;		/*左に回り込み*/
	width: 46%;			/*ボックス幅*/
	padding: 2%;		/*ボックス内の余白*/
	border: 1px solid #dcdcdc;	/*枠線の幅、線種、色*/
	margin: 0 0.8% 20px;		/*上、左右、下へのボックスの外に空けるスペース*/
	box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
	-webkit-transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
	transition: 0.3s;			/*同上*/
	background-color: #fff;
}
.list a {
	text-decoration: none;
	display: block;
	overflow: hidden;
	padding: 1%;	/*ボックス内の余白*/
	margin: -1%;
}
/*マウスオン時の背景色*/
.list:hover {
	box-shadow: none !important;	/*ボックスの影をなくす設定*/
}
/*リンクを貼った際に出る「→」マーク*/
.list a::before {
	content: "→";	/*出力する文字。変更しても構いませんが機種依存文字は化けるので使わないで下さい。*/
	font-size: 12px;	/*文字サイズ*/
	display: block;
	position: absolute;
	right: 10px;	/*ボックスの右から10pxの場所に配置*/
	bottom: 10px;	/*ボックスの下から10pxの場所に配置*/
	width: 30px;	/*幅*/
	line-height: 30px;	/*高さ*/
	text-align: center;
	background: #ccc;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.2);	/*背景グラデーション。0,0,0は黒の事で、0.3は透明度30%の事。*/
	color: #fff;	/*文字色*/
	border-radius: 50%;	/*角丸のサイズ。50%にすると円になる。*/
}
/*マウスオン時の「→」マーク*/
.list a:hover::before {
	background: #a7be42;	/*背景色*/
}
/*ボックス内右側のテキストパーツ*/
.list .text {
	font-size: 13px;	/*文字サイズ*/
	line-height: 1.5;	/*行間*/
	height: 7.5em;		/*高さ*/
	overflow: hidden;	/*高さを超えると非表示になる*/
}
/*ボックス内右側のテキストパーツ（商品ボックス１カラム時）*/
.list.c1 .text {
	height: auto;
	overflow: auto;
}
/*ボックス内のh4タグ設定*/
.list h4 {
	font-size: 16px;
	padding: 0px;
}
/*ボックス内のp(段落)タグ設定*/
.list p {
	padding: 0px !important;
}
/*ボックス内の画像*/
.list .img300 {
	float: left;	/*左に回り込み*/
	width: 300px;		/*幅*/
	height: auto;		/*高さ*/
	margin-right: 10px;
}
/*ボックス内の画像*/
.list .imgm {
	float: right;	/*右に回り込み*/
	width: 300px;		/*幅*/
	height: auto;		/*高さ*/
	margin-left: 10px;
}

/*ボックス内の画像*/
.list .img100 {
	float: left;	/*左に回り込み*/
	width: 100px;		/*幅*/
	height: auto;		/*高さ*/
	margin-right: 10px;
}
/*ボックス内の画像*/
.list .img100m {
	float: right;	/*右に回り込み*/
	width: 100px;		/*幅*/
	height: auto;		/*高さ*/
	margin-left: 10px;
	vertical-align: bottom;
}

/*各ボックスの設定（商品ボックス１カラム時）*/
.list.c1 {
	float: none;
	width: auto;
	margin: 0 0 20px;
}
/*ボックス内のh4タグ（商品ボックス１カラム時）*/
.list.c1 h4 {
	margin-bottom: 10px;
}
/*ボックス内の画像（商品ボックス１カラム時）*/
.list.c1 .img {
	width: 20%;		/*幅*/
	height: auto;	/*高さ*/
}
/*mainブロック内のボックス設定*/
.main .list {
	box-shadow: 0px 5px 10px rgba(0,0,0,0.1);	/*ボックスの影*/
}
@media screen and (max-width:767px) {/*ボックス内右側のテキストパーツ*/
.list .text {
	vertical-align: top;

}
/*ボックス内の画像*/
.list .imgm {
	width: 40%;		/*幅*/
	height: auto;		/*高さ*/
	margin-left: 10px;
	vertical-align: top;
}
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: #fff;
	z-index: 100;
	box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}

header:after {
	content: ""; 
	display: block;
	clear: both;
}

header h1 {
	float: left;
	height: 50px;
	font-size: 16px;
	line-height: 50px;
	color: #fff;
}

header h1 img {
	vertical-align: middle;
}


@media screen and (max-width:768px) {
header {
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background: #fff;
	z-index: 100;
}
	header h1 {
		padding: 8px 0 0 10px;
	}

header h1 img {
	height: 70%;
	width: auto;
}
	
.inner {
	width: 90%;
	padding-top: 0;
	margin: 0 auto;
}
main {
    width: 90%;
}


}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
/* PC用 */
@media print, screen and (min-width:769px) {
	nav.gnav:after {
		content: '';
		display: block;
		clear: both;
	}
	nav.gnav {
		display: block !important;
		float: right;
	}
	nav.gnav1 {
		display: none;
	}

	/* 共通 */
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li {
		position: relative;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	nav.gnav ul li a {
		display: block;
		background: #fff;
	}
	nav.gnav ul li:hover > a {
		opacity: 0.4;
	}

	/* 1段目 */
	nav.gnav > ul > li {
		position: relative;
		width: 75px;
		float: left;
		margin: 0;
		padding: 0;
		text-align: right;
		list-style: none;
		line-height: 50px;
	}
	nav.gnav > ul > li.subnav a {
		padding-right: 20px;
	}
	nav.gnav > ul > li.subnav > a:after {
		position: absolute;
		content: "";
		top: 50%;
		width: 0;
		height: 0;
		margin-top: -2.5px;
		margin-left: 10px;
		border: 5px solid transparent;
		border-top-color: #fff;
	}

}

/* タブレット・スマートフォン用 */
@media screen and (max-width:768px) {
	nav.gnav {
		display: none;
	}
		
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav > ul {
		z-index: 100;
		overflow: auto;
		position: fixed;
		top: 50px;
		right: 0;
		width: 100%;
		height: 88%;
		height: -webkit-calc(100% - 50px);
		height: calc(100% - 50px);
	}
	nav.gnav li {
		position: relative;
		width: 100%;
		float: none;
		margin: 0;
		text-align: left;
		list-style: none;
		border-bottom: 1px solid #333;
		background: #fff;
	}
	nav.gnav li:first-child {
		border-top: 0;
	}
	nav.gnav li:last-child {
		border-bottom: 0;
	}
	nav.gnav li a {
		display: block;
		padding: 10px 20px;
		color: #fff;
		text-decoration: none;
	}
	nav.gnav li a:hover {
		color: #fff;
				opacity: 0.5;

	}
	nav.gnav ul ul {
		display: none;
		position: relative;
	}
	nav.gnav li li a {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 30px 10px 34px;
		text-align: left;
	}
	nav.gnav li li li a {
		padding: 10px 20px 10px 48px;
	}

	.spMenuWrap {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		-webkit-transition: all 1s;
		-moz-transition: all 1s;
		-ms-transition: all 1s;
		-o-transition: all 1s;
		transition: all 1s;
		background: transparent;
	}

	#spMenu {
		position: absolute;
		top: 10px;
		right: 10px;
	}

	#spMenu:hover {
		cursor: pointer;
	}

	#navBtn {
		display: inline-block;
		position: relative;
		width: 30px;
		height: 30px;
		border-radius: 5%;
		background: #99d185;
	}
	#navBtnIcon {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 14px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #f1f1f1;
		transition: .2s;
	}
	#navBtnIcon:before,
	#navBtnIcon:after {
		display: block;
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		width: 14px;
		height: 2px;
		background: #f1f1f1;
		transition: 0.3s;
	}
	#navBtnIcon:before {
		margin-top: -6px;
	}
	#navBtnIcon:after {
		margin-top: 4px;
	}
	#navBtn .close {
		background: transparent;
	}
	#navBtn .close:before,
	#navBtn .close:after {
		margin-top: 0;
	}
	#navBtn .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#navBtn .close:after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear: both;
	margin-top: 80px;
	background: #221815;
}

.fnav {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 0 50px;
	padding: 20px 0;
}

.fnav > ul {
	width: 33%;
	margin-bottom: 0;
	font-size: 12px;
}
.fnav > ul li {
	text-align: left;
}

.copyright {
	padding: 20px 0;
	color: #fff;
	font-size: 11px;
	text-align: center;
	background: #00aa0a;
}

@media screen and (max-width:767px) {
	footer {
		margin-top: 40px;
	}

	.fnav {
		display: block;
		margin: 0;
	}
	.fnav > ul {
		width: 100%;
	}
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
	z-index:1;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#99d185;
}
.totop img:hover {
	background:#b7d9aa;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
	width:980px;
	overflow:hidden;
	position:relative;
	margin-bottom:20px;
	margin: 0 auto;
}

.slideInner {
	list-style:none;
	margin:120px 0 5px 0;
	padding:0;
}
.slideInner li {
	position:absolute;
	width:100%;
	background:#fff;
	margin:0;
	padding:0;
}

.controlNav {
	position:relative;
	float:left;
	left:50%;
	margin-top: 2px;
}
.controlNav span {
	position:relative;
	left:-50%;
	float:left;
	margin:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
	width:10px;
	height:10px;
	overflow:hidden;
	-webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
	-moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
	box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset;
	background:#eee;
	text-indent:-9999px;
	vertical-align:middle;
}
.controlNav span:hover {
	background:#ccc;
	cursor:pointer;
}
.controlNav span.current {
	-webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(153, 209, 133, 0.5);
	-moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(153, 209, 133, 0.5);
	box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(153, 209, 133, 0.5);
	background:#99d185;
}

@media screen and (max-width:767px) {
.slide {
	width:96%;

}
}

/*================================================
 *  タブレット・スマートフォン向けデザイン
 ================================================*/
/* テンプレートより小さくなった場合に適用 */
@media screen and (max-width:979px) {
	.inner {
		width: 100%;
	}

	#contents {
		box-sizing: border-box;
		width: 100%;
		padding: 0 10px;
	}

	footer {
		width: 100%;
	}

	.lock {
		position: fixed;
		z-index: -1;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
	}
}
