@charset "utf-8";

/*トップページ専用*/
/*------------------------------*/
div p#mainimg {
	background-image: url(../img/top/main-img.jpg);
	height:297px;
	background-repeat: no-repeat;
	background-position: center top;
	text-indent: -9999px;
	margin:0;
	padding:0;
}
/*３ボタン*/
/*------------------------------*/
#index {
	margin: 0 0 5px 10px;
	min-height: 1px;
}
* html #index {
	height: 1px;
} 
#index:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
#index li {
	float: left;
}
#index li a {
	background-position: top;
	background-repeat: no-repeat;
	height: 60px;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
}
#index li a:hover {
	background-position: bottom;
}
#index li#indexContact a {
	background-image: url(../img/top/main-contact.png);
	width: 293px;
}
#index li#indexCase a {
	background-image: url(../img/top/main-case.png);
	width: 294px;
}
#index li#indexCost a {
	background-image: url(../img/top/main-cost.png);
	width: 293px;
}

/*内容*/
/*------------------------------*/
h2#h2Contact {
	background-image: url(../img/top/h3-service.png);
}
.frame div div div.gradation {
	padding: 24px 20px 20px 20px;
}
.frame div div div div.hana {
	background: url(../img/top/hana.gif) bottom right no-repeat;
	padding: 0;
	position:relative;
	line-height: 110%;
	height: 17em;/* 箱の中をabsoluteで位置設定しているので可変単位で高さを設定 */
}
.frame ol li {
	background: url(../img/top/bar.png) bottom repeat-x;
}
.frame ol li a {
	background-repeat:no-repeat;
	background-position:top left;
	display:block;
	text-indent: -9999px;
	overflow:hidden;
}
.frame ol li a:hover {
	background-position: bottom left;
}
.frame ol li#no1 {
	width: 295px;
	height: 45px;
	position:absolute;
	top: 0;
	left: 0;
}
.frame ol li#no1 a {
	background-image: url(../img/top/service1.gif);
	height: 34px;
}
.frame ol li#no2 {
	width: 295px;
	height: 52px;
	position:absolute;
	top: 45px;
	left: 0;
}
.frame ol li#no2 a {
	background-image:url(../img/top/service2.gif);
	height: 31px;
	margin-top: 10px;
}
.frame ol li#no3 {
	min-height: 97px;
	position:absolute;
	top: 100px;
	left: 0;
	right: 0;
}
.frame ol li#no3 a {
	background-image:url(../img/top/service3.gif);
	height: 31px;
	width: 295px;
	margin-top: 10px;
}
.frame ol li#no4 {
	width: 295px;
	height: 45px;
	position:absolute;
	top: 0;
	right: 0;
}
.frame ol li#no4 a {
	background-image:url(../img/top/service4.gif);
	height: 35px;
}
.frame ol li#no5 {
	width: 295px;
	height: 52px;
	position:absolute;
	top: 45px;
	right: 0;
}
.frame ol li#no5 a {
	background-image:url(../img/top/service5.gif);
	height: 30px;
	margin-top: 10px;
}
.frame ol li ul.list {
	margin: 0 0 0 45px;
}
.frame ol li ul.list li {
	background: url(../img/common/ul-dot.png) left top no-repeat;
}

h2#h2Compliments {
	background-image: url(../img/top/h3-compliments.png);
	margin-top: 20px;
}
p#autograph {
	background: url(../img/top/autograph.gif) no-repeat right;
	height: 18px;
	margin: 0 20px 45px 0;
	text-indent: -9999px;
}

/* TOP改修 22.4.12 */
.top-profile {
	width: auto;
	height: auto;
	margin-bottom: 50px;
}
.top-profile figure {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0;
	padding: 0;
}
.top-profile figure img {
	order: 2;
	margin: 8px 0 0 20px;
	padding: 0;
}
.top-profile figure figcaption {
	order: 1;
	margin: 0;
	padding: 20px 0 0 0;
}
#contents .top-profile figure figcaption p {
	margin: 0 0 20px 10px;
	font-size: 13px;
	line-height: 1.8;
}
#contents .top-profile figure figcaption p:last-child {
	margin-bottom: 0;
}
h2#h2business {
	background-image: url(../img/top/h3-business.png);
}
.top-business-cnt {
	width: auto;
	height: auto;
	margin-bottom: 50px;
}
.top-business-inner {
	display: flex;
	flex-wrap: wrap;
}
.top-business-inner dt {
	width: 8%;
	text-align: center;
}
.top-business-inner dd {
	width: 92%;
	padding-top: 3px;
}
.top-business-inner dt,
.top-business-inner dd {
	border-bottom: 1px dashed #ccc;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.top-business-inner dt:last-of-type,
.top-business-inner dd:last-of-type {
	border: none;
	margin-bottom: 0;
}

.top-business-inner dd ul {
	display: flex;
	flex-wrap: wrap;
	margin: 2px 0 0 6px;
}
.top-business-inner dd ul li {
	width: calc( (100% - 40px ) / 5  );
	margin: 0 10px 10px 0;
	background-color: #94CB10;
	border-radius: 5px;
	color: #fff;
	font-size: 12px;
	text-align: center;
	box-shadow: 1px 1px 1px 1px rgba(195, 226, 112, 0.5);
	line-height: 2;
	box-sizing: border-box;
}
.top-business-inner dd ul li:nth-child(5n) {
	margin-right: 0;
}
#contents .top-business-inner dd p {
	margin: 0 0 0 6px;
	font-size: 12px;
}
a img:hover {
	opacity: 0.5 ;
}

