@charset "UTF-8";

/* ▼▼▼ 事業内容
=====================================*/
.title_wrap {
	background: url(../img/company/company_title_bg.png) no-repeat center bottom;
	background-size: cover;
}
#main {
	padding-bottom: 0;
}
/*共通css*/
section#president_wrap,
section#company_wrap,
section#history_wrap {
	padding: 80px 0;
}
section#president_wrap {
	padding-top: 0;
}
h2 {
	font-size: 32px;
	color: #0850A4;
	font-weight: bold;
	margin-bottom: 40px;
	text-align: center;
}
section table {
	border-top: 1px solid #CCC;
	width: 100%;
	}
	section table th {
		border-bottom: 1px solid #CCC;
		width: 170px;
		padding: 20px 0;
		}
		section table td {
			border-bottom: 1px solid #CCC;
			padding: 20px;
			}
/*社長挨拶*/
#president_wrap h2 + p {
	background: url(../img/company/greeting_bg.png) no-repeat center;
	margin-bottom: 55px;
	font-size: 18px;
	line-height: 35px;
	}
	#president_wrap h2 + p + p {
		font-size: 32px;
		text-align: right;
		}
		#president_wrap h2 + p + p span {
			margin: 0 15px;
			font-size: 21px;
			position: relative;
			}
			#president_wrap h2 + p + p span:before {
				content: "";
				display: inline-block;
				width: 270px;
				height: 70px;
				background: url(../img/president/president_name_logo.png) no-repeat left center;
				background-size: contain;
				position: absolute;
				left: -270px;
				top: -22px;
			}
/*会社概要*/
#company_wrap {
	background: #F7F7F7;
}
#company_wrap table td {
	padding-right: 0;
	}
	#company_wrap table dl {
		display: flex;
		margin-bottom: 20px;
		line-height: 30px;
		}
		#company_wrap table dl:last-child {
			margin-bottom: 0;
		}
		#company_wrap table dl dt {
			width: 14%;
			position: relative;
			}
			#company_wrap table dl dt:before {
				content: "";
				display: inline-block;
				width: 15px;
				height: 15px;
				background: #0850A4;
				margin-right: 5px;
			}
			#company_wrap table dl dd:nth-child(2) {
				width: 62%;
				}
				#company_wrap table dl dd.map {
					width: 24%;
					}
					#company_wrap table dl dd.map a {
						display: block;
						border-radius: 5px;
						background: #0850A4;
						padding-right: 15px;
						color: #fff;
						text-align: center;
						line-height: 38px;
						position: relative;
						}
						#company_wrap table dl dd.map a::after {
							display: block;
							content: '';
							width: 8px;
							height: 8px;
							background: none;
							border-top: 1px solid #fff;
							border-right: 1px solid #fff;
							position: absolute;
							top: 15px;
							right: 22px;
							-webkit-transform: rotate(45deg);
							transform: rotate(45deg);
							}
							#company_wrap table dl dd.map a:hover {
								opacity: 0.6;
							}
#company_wrap table div {
	display: flex;
	}
	#company_wrap table div ul {
		width: 50%;
		line-height: 35px;
		}
		#company_wrap table div ul:last-of-type {
			padding-left: 85px;
			}
			#company_wrap table div ul:last-of-type li:first-child {
				text-indent: -25px;
			}
/*営業の沿革*/
#history_wrap h3 {
	margin-bottom: 45px;
	font-size: 25px;
	text-align: center;
}
.pc {
	display: block;
}
.sp {
	display: none;
}

/* ▼▼▼ 768px
=====================================*/
@media screen and (max-width: 768px) {
	#main {
		padding: 0;
	}
	/*共通CSS*/
	section#president_wrap,
	section#company_wrap,
	section#history_wrap {
		padding: 35px 0;
	}
	h2 {
		font-size: 24px;
		margin-bottom: 25px;
	}
	section table th {
		width: 100px;
	}
	section table td {
		padding: 20px 20px 20px 10px;
	}

	/*社長挨拶*/
	#president_wrap h2 + p {
		background-size: contain;
		margin-bottom: 50px;
		font-size: 16px;
		line-height: 27px;
	}
	#president_wrap h2 + p + p {
		font-size: 24px;
		}
		#president_wrap h2 + p + p span {
			font-size: 18px;
			}
			#president_wrap h2 + p + p span::before {
				height: 50px;
				left: 25px;
				top: -54px;
				}
	/*会社概要*/
	#company_wrap table dl {
		display: block;
		line-height: 25px;
		}
		#company_wrap table dl dt {
			width: 100%;
			}
			#company_wrap table dl dd:nth-child(2) {
				width: 100%;
				margin-bottom: 15px;
				}
				#company_wrap table dl dd {
					width: 100%;
					}
					#company_wrap table dl dd.map {
						width: 190px;
					}
					#company_wrap table div {
						display: block;
						}
						#company_wrap table div ul {
							width: 100%;
							line-height: 30px;
							}
							#company_wrap table div ul:first-of-type {
								margin-bottom: 15px;
							}
							#company_wrap table div ul:last-of-type {
								padding: 0;
								}
								#company_wrap table div ul:last-of-type li:first-child {
									text-indent: 0;
								}
								#company_wrap table dl dt::before {
									width: 10px;
									height: 10px;
								}
								.none {
									display: none;
								}
			/*営業の沿革*/
			#history_wrap h3 {
				margin-bottom: 25px;
				font-size: 18px;
			}
			section#history_wrap table th {
				width: 75px;
			}
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}
