/*共通設定*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
	min-height: 100%;
}

body {
	position: relative;
	punctuation-trim: adjacent;
	font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	color:#333;
	font-size: 14px;
	height: 100%;
	letter-spacing: 0.1em;
/*	font-feature-settings: "palt"; */
}

ol, ul{
    list-style:none;
}

table{
    border-collapse: collapse; 
    border-spacing:0;
}

caption, th{
    text-align: left;
}

a:focus {
	outline:none;
}

b {
	font-weight: bold;
}

.both{
	clear:both;
}

.inline_block {  
	display: inline-block;  
	*display: inline;  
	*zoom: 1;  
}

table {
	width:100%;
}

a{
	text-decoration: none;
	color: inherit;
	transition: 0.3s;
}

a:hover {
	cursor: pointer;
	opacity:0.8;
}

.of {overflow: hidden;}
.fl { float:left;}
.fr { float:right;}
.mt10 { margin-top:10px;}
.mr10 { margin-right:10px;}
.mb10 { margin-bottom:10px;}
.ml10 { margin-left:10px;}
.mt20 { margin-top:20px;}
.mr20 { margin-right:20px;}
.mb20 { margin-bottom:20px;}
.ml20 { margin-left:20px;}
.mt30 { margin-top:30px;}
.mr30 { margin-right:30px;}
.mb30 { margin-bottom:30px;}
.ml30 { margin-left:30px;}

.pl10 {padding-left:10px;}
.pr10 {padding-right:10px;}
.pt10 {padding-top:10px;}
.pb10 {padding-bottom:10px;}
.plr10 {padding-left:10px;padding-right:10px;}

.sp_only{display: none}
.pc_only{display: inherit}

.t_center{text-align: center;}
.t_left{text-align: left;}
.t_right{text-align: right;}

.gr{color:#00b3bd;}
.lgr{color:#88C23F;}
.og{color:#FE6A1E;}


.sp_only{display: none}
.sp_tab_only{display: none}
.tab_only{display: inherit}
.pc_only{display: inherit}
.pc_tab_only{display: inherit}


/*==============================
		  共有設定
==============================*/
img{
	width:100%;
	vertical-align:bottom;
}

.box{
    margin-bottom: 140px;
}

.fa{
	margin: 0 5px;
}

.flex_wrap{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-flow: row wrap;
	    -ms-flex-flow: row wrap;
	        flex-flow: row wrap;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-align-content: flex-start;
	    -ms-flex-line-pack: start;
	        align-content: flex-start;
	-webkit-box-pack:justify;
	-webkit-justify-content:space-between;
	    -ms-flex-pack:justify;
	        justify-content:space-between;
}

.w1080{
	width: 1080px;
	margin: auto;
}

h1{
	position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    font-weight: normal;
    letter-spacing: normal;
    text-align: center;
    font-size: 12px;
    color: #9c9c9c;
}

.title{
	color:#005bab;
	margin-bottom: 30px;
	text-align: center;
	font-size: 30px;
}



/*==============================
		  header設定
==============================*/

header{
	position:fixed;
	top:0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 10000;
}

header .header_main_wrap{
	height: 80px;
}

header .header_main_wrap .logo{
	flex: 0 1 auto;
    width: auto;
    padding: 15px;
}

header .header_main_wrap .logo img{
	width: auto;
    height: 50px;
}


header .head_contact {
	display: grid;
	align-items: center;
	/*
	flex: 0 1 65%;
    width: 65%;
	*/
	padding-right: 15px;
	-webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

header .head_contact .tel{
	grid-column: 1 / 2;
	color:#7ec63f;
	font-weight: bold;
	font-size: 28px;
	margin-right: 30px;
	letter-spacing: normal;
    line-height: 1.2;
}

header .head_contact .fax{
	grid-column: 2 / 3;
}

header .head_contact .tel span{
	font-size: 20px;
}

header .head_contact .mail{
	grid-column: 3 / 4;
}

header .head_contact .mail a{
	display: block;
	background: #7ec63f;
	color:#fff;
	height:50px;
	line-height: 50px;
	font-size: 20px;
	font-weight: bold;
	padding: 0 30px;
	border-radius: 4px;
	border-bottom: 2px solid #5f952f;
}

header .menu{
	background: #005bab;
	color:#fff;
	height: 30px;
	padding: 10px 0;
}

header .menu ul{
	-webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

header .menu ul li{
	flex: 0 1 18%;
    width: 18%;
    max-width: 180px;
}

header .menu ul li a{
	display: block;
	padding: 0 15px;
	border-right: 1px solid;
	line-height: 30px;
    text-align: center;
}

header .menu ul li:last-child a{
	border-right: none;
}


/*==============================
		  contents
==============================*/

#contents{
	margin-top: 130px;
}


/*お問い合わせ*/

#contact .contact_wrap{
	 border: 2px solid #7ec63f;
}

#contact .contact_wrap h3{
	background: #7ec63f;
	padding: 15px;
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
}

#contact .contact_wrap .contact_box{
	display: grid;
	grid-template-columns: 52% 44%;
	grid-column-gap: 4%;
	align-items: center;
	padding: 30px;
}

#contact .contact_wrap .contact_box p{
	font-weight: bold;
	text-align: center;
}

#contact .contact_wrap .contact_box .tel{
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	color: #7ec63f;
	font-size: 40px;
	letter-spacing: normal;
}

#contact .contact_wrap .contact_box .fax{
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}

#contact .contact_wrap .contact_box .tel span{
	font-size: 28px;
}

#contact .contact_wrap .contact_box .mail{
	grid-column: 2 / 3;
	grid-row: 1 / 3;
}

#contact .contact_wrap .contact_box .mail a{
	font-size: 28px;
	color:#fff;
	background: #7ec63f;
	border-radius: 4px;
    border-bottom: 2px solid #5f952f;
	display: block;
	padding: 15px;
}


/*==============================
		  footer
==============================*/

footer{
	background:#f2f2f2;
}

footer .foot_menu{
	padding:30px 0 60px;
}

footer .foot_menu ul{
	-webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content:center;
}

footer .foot_menu ul li{
	flex: 0 1 15%;
    width: 15%;
	max-width: 180px;
	text-align: center;
}

footer .foot_menu ul li a{
	color: #005bab;
	font-weight: bold;
}

footer .foot_contact{
	margin-bottom: 60px;
}

footer .foot_contact .logo{
	max-width: 500px;
	margin: auto;
	margin-bottom: 30px;
}

footer .foot_contact .num{
	-webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content:center;
	
}


footer .foot_contact .num p{
	flex: 0 1 48%;
    width: 48%;
	max-width: 300px;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
}

footer .copyright{
	text-align: center;
	padding: 10px 0;
	font-size: 12px;
	letter-spacing: normal;
	line-height: 1;
}


@media screen and (max-width:1180px){

	header .head_contact .tel{
		grid-column: 1 / 2;
		grid-row: 1 / 2;
	}

	header .head_contact .fax{
		grid-column: 1 / 2;
		grid-row: 2 / 3;
	}

	header .head_contact .mail{
		grid-column: 2 / 3;
		grid-row: 1 / 3;
	}
}

/*==============================
		  タブレット設定
==============================*/
@media screen and (max-width:1080px){
	
	.sp_only{display: none}
	.sp_tab_only{display: inherit}
	.tab_only{display: inherit}
	.pc_only{display: none}
	.pc_tab_only{display: inherit}
	
	.w1080{
		width: 96%;
	}
	
	.box{
		margin-bottom: 80px;
	}

	
	/*==============================
		  	header設定
	==============================*/
	
	header .header_main_wrap .logo img{
		height: 40px;
	}
	
	header .header_main_wrap .logo {
		padding: 20px 10px;
	}
	
	header .head_contact .tel span {
		font-size: 16px;
	}
	
	header .head_contact .tel{
		font-size: 24px;
	}
	
	header .head_contact .mail a{
		font-size: 16px;
	}
	
	
	/*==============================
		 	 contents
	==============================*/
	
	#contact .contact_wrap .contact_box{
		grid-template-columns: 48% 48%;
	}
	
	#contact .contact_wrap .contact_box .tel{
		grid-column: 1 / 2;
		grid-row: 1 / 2;
		font-size: 40px;
	}
	
	#contact .contact_wrap .contact_box .fax{
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
	
	#contact .contact_wrap .contact_box .tel span {
		font-size: 24px;
	}
	
	#contact .contact_wrap .contact_box .mail{
		margin-top: 20px;
		grid-column: 1 / 3;
		grid-row: 2 / 3;
	}
	
	#contact .contact_wrap .contact_box .mail a {
    	font-size: 22px;
	}
	
}


/*==============================
		  sp設定
==============================*/
@media screen and (max-width:768px){
	.sp_only{display: inherit}
	.sp_tab_only{display: inherit}
	.tab_only{display: none}
	.pc_only{display: none}
	.pc_tab_only{display: none}
	
	.box{
		margin-bottom: 60px;
	}
	
	h1{
    	bottom: 40px;
		line-height: 1;
		
	}
	
	.title{
		font-size: 26px;
	}
	
	/*==============================
		  	header設定
	==============================*/
	
	header .header_main_wrap{
		height: 60px;	
	    background: #fff;
	}
	
	header .header_main_wrap .logo {
		padding: 10px 4%;
	}
	
	header .header_wrap .menu_btn {
		flex: 0 1 40px;
		width: 40px;
		height: 32px;
		transition: 0.3s;
		position: relative;
		cursor: pointer;
		margin-right: 4%;
	}

	header .header_wrap .menu_btn span {
		display: block;
		position: absolute;
		height: 2px;
		width: 100%;
		background: #333;
		transition: all .4s;
	}
	
	header .header_wrap .menu_btn span:nth-child(1) {
		top: 0;
	}
	
	header .header_wrap .menu_btn span:nth-child(2) {
		top: 15px;
	}
	
	header .header_wrap .menu_btn span:nth-child(3) {
    	bottom: 0;
	}
	
	
	body.open header .menu_btn span:nth-child(1) {
		-webkit-transform: translateY(20px) rotate(-315deg);
		transform: translateY(20px) rotate(-315deg);
		top: -5px;
	}
	
	body.open header .menu_btn span:nth-child(2) {
		opacity: 0;
	}
	
	body.open header .menu_btn span:nth-child(3) {
		-webkit-transform: translateY(-20px) rotate(315deg);
		transform: translateY(-20px) rotate(315deg);
		bottom: -5px;
	}

	header .menu{
		height: auto;
		padding: 0;
		position: absolute;
		top: -60px;
		z-index: -1;
		width: 100%;
	}
	
	header .menu ul li{
		flex: 0 1 50%;
    	width: 50%;
		max-width: 100%;
	}
	
	header .menu ul li a {
        padding: 10px;
		border-top: 1px solid;
	}
	header .menu ul li:nth-child(even) a{
		border-right: none;
	}
	
	header .head_contact{
		display: none;
	}
	
	/*==============================
		  	contents設定
	==============================*/
	
	#contents {
		margin-top: 60px;
	}
	
	/*お問い合わせ*/
	#contact .contact_wrap h3{
		font-size: 18px;
	}
	
	#contact .contact_wrap .contact_box {
		display: revert;
		padding: 20px;
	}
	
	#contact .contact_wrap .contact_box p{
		flex: 0 1 100%;
    	width: 100%;
	}
	
	#contact .contact_wrap .contact_box .tel {
		font-size: 30px;
		margin-bottom: 20px;
	}
	
	/*==============================
		  	footer設定
	==============================*/
	footer .foot_menu {
		padding: 30px 0 40px;
	}
	
	footer .foot_menu ul li {
		flex: 0 1 50%;
		width: 50%;
		max-width: 100%;
		padding: 10px 0;
	}
	footer .foot_contact .logo {
    	max-width: 100%;
   		width: 80%;
	}
	footer .foot_contact .num p {
		flex: 0 1 100%;
		width: 100%;
		max-width: 100%;
		margin-bottom: 10px;
		font-size: 20px;
	}
	footer .foot_contact {
		margin-bottom: 40px;
	}
}