body
{
	padding-top: 0px;
}

nav ul li:nth-child(1) a
{
	color: var(--link-color);
	pointer-events:none;
}

#sp_navi ul li:nth-child(1) a
{
	color: var(--link-color) !important;
}


#eyecatch
{
	margin-bottom: 60px;
}

#eyecatch img
{
	width:100%;
	height: auto;
}

#about h2
{
	text-align: center;
	margin-bottom: 30px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	padding-bottom: 20px;
}

#about p
{
	text-align: center;
}

#about .link_box 
{
	text-align: center;
}

#about .link_box p
{
	font-size: 24px;
	line-height: 1.4;
	color: #ff7bac;
	margin: 0px;
}

#about .link_box a
{
	text-align: center;
	display: inline-block;
	font-size: 36px;
	line-height: 1;
	color: #ff7bac;
}

#about .link_box a:hover
{
	transform:scale(1.2,1.2);
	transition:1s all;

	opacity: 1.0;
	filter: alpha(opacity=100);
	-ms-filter: "alpha(opacity=100)";
}


#quality
{
	background-image: url(../images/quality_bg.jpg);
	background-repeat: repeat-x;
	background-position: center top;
}

#quality h2
{
	font-size: 36px;
	line-height: 1.2;
	font-weight: normal;
	margin-bottom: 40px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	display: inline-block;
	position: relative;
	z-index: 10;
}

#quality .img
{
	z-index: 0;
	float: right;
	margin-top: -100px;
	margin-right: 100px;
}

#quality .text
{
	width: 600px;
}

#quality .sub_menu
{
	clear: both;
	padding-top: 30px;
	text-align: center;
}

#quality .sub_menu ul
{
	text-align: center;
	display: block;
	margin: 0px;
	padding: 0px;
}

#quality .sub_menu ul li
{
	list-style-type: none;
	padding: 0px;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 10px;
	display: inline-block;
}

#quality .sub_menu ul li a img
{
	transition: 1s all;
}

#quality .sub_menu ul li a:hover img
{
	transform:scale(1.1,1.1);
	transition:1s all;

	opacity: 1.0;
	filter: alpha(opacity=100);
	-ms-filter: "alpha(opacity=100)";
}

#office .body
{
	display: flex;
	justify-content: space-between;
}

#office .komatsu,
#office .kanazawa
{
	width: 48%;
}

#office .address,
#office .access
{
	border-bottom-width: 3px;
	border-bottom-style: dotted;
	border-bottom-color: #000;
	margin-bottom: 30px;
	padding-top: 0px;
	padding-bottom: 30px;
}

#office .address
{
	text-align: center;
}

#office .box
{
	text-align: left;
	display: inline-block;
}

#office h3
{
	font-size: 18px;
	line-height: 1.2;
	display: inline-block;
	text-align: justify;
	margin-bottom: 10px;
}

#office p
{
	text-align: justify;
	margin-bottom: 0px;
}

#office dl
{
	text-align: center;
	display: block;
	margin: 0px;
	padding: 0px;
}

#office dl dt
{
	font-size: 16px;
	line-height: 1;
	color: #FFF;
	background-color: #888;
	display: inline-block;
	width: 8em;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	text-align: center;
}

#office dl dd
{
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}

#office dl dd:last-child
{
	margin-bottom: 0px;
}



/* PCのみ設定  768 以上*/
@media screen and (min-width:1200px)
{



}


@media (max-width: 1199px) 
{


#quality h2
{
	font-size: 32px;
	line-height: 1.2;
	font-weight: normal;
	margin-bottom: 40px;
	display: block;
	letter-spacing: 0em;
}

#quality .img
{
	z-index: 0;
	float: right;
	margin-top: 0px;
	margin-right: 0px;
	width: 30%;
}

#quality .img img
{
	width:auto;
	height:auto;
}


#quality .text
{
	width: 64%;
}


#office dl
{
	text-align: left;
}


#office dl dd
{
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}



}

/* タブレットレイアウト : 768 px 〜 959 px */
@media screen and (min-width:768px) and (max-width:1199px)
{



}


/* スマホ設定  767 以下*/
@media screen and (max-width:767px)
{




}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

#about h2
{
	text-align: justify;
}

#about p
{
	text-align: justify;
}

#quality .img
{
	z-index: 0;
	float: none;
	margin-top: auto;
	margin-right: auto;
	width: auto;
	text-align: center;
	clear: both;
	margin-bottom: 20px;
}



#quality .text
{
	width: auto;
}


#office .body
{
	display: block;
}

#office .komatsu,
#office .kanazawa
{
	width: auto;
	margin-bottom: 20px;
}

}
