@charset "utf-8";

/*---------------------
メインビジュアル
---------------------*/
.l_mv{
	background: url(../company/img/bg.jpg) no-repeat right center;
}

.l_mv2{
	background: url(../company/img/bg2.jpg) no-repeat right center;
}



/*---------------------
社長挨拶
---------------------*/
.l_greeting p{
	text-indent: 1em;
}

.is_president{
	float: right;
	text-indent: 0;
	max-width: 200px;
	width: 20%;
	margin: 20px;
}

.is_president p{
	font-size: 80%;
}

.is_president img{
	width: 100%;
}

.l_greeting2 p{
	text-indent: 0;
	padding-bottom: 20px;
}


.l_greeting h3{
	color: #004098;
	font-family: 'Noto Serif JP', "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 200%;
	font-weight: bold;
	text-align: center;
    margin-bottom: 30px;
}


/*---------------------
会社概要
---------------------*/
.is_info dt{
	color: #008cd2;
	float: left;
	width: 140px;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
}

.is_info dd{
	margin-left: 160px;
	margin-bottom: 10px;
}

.is_info dd a{
	color: #fff;
	font-size: 85%;
	text-decoration: none;
	background: #ec6f78;
	margin-left: 20px;
	padding: 2px 20px 2px 10px;
	position: relative;
}

.is_info dd a:after{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0.01em;
	right: 8%;
	margin: auto;
	width: .4em;
	height: .4em;
	border-top: .2em solid #fff;
	border-right: .2em solid #fff;
	transform: rotate(45deg);
	transition: .3s;
}

.is_info dd a.is_gmap2{
	margin-left: 26px;
}



/*---------------------
沿革
---------------------*/
.md_history{
	display: flex;
    justify-content: space-between;
}

.md_history div:nth-child(1){
	width: 68%;
}

.md_history div:nth-child(2){
	width: 26%;
}

.md_history dt{
	float: left;
	width: 170px;
}

.md_history dd{
  margin-left: 200px;
  padding-left: 20px;
  padding-bottom: 40px;
  border-left: #231815 1px solid;
}

.md_history dd span{
	color: #008cd2;
}

.md_history li{
  padding-bottom: 40px;
}



@media screen and (max-width: 900px) {
	/*---------------------
	会社概要
	---------------------*/
	.is_info dd a{
		margin-left: 0 !important;
		margin-bottom: 10px;
		display: table;
	}
}


@media screen and (max-width: 767px) {
	/*---------------------
	社長挨拶
	---------------------*/
	.l_greeting p{
		text-indent: 1em;
	}
	
	.is_president{
		width: 50%;
		margin-right: 0;
	}
	
	.l_greeting.l_greeting2 p{
		text-indent: 0;
	}
	
	.l_greeting h3{
		font-size: 145%;
		line-height: 150%;
	}
	
	/*---------------------
	会社概要
	---------------------*/
	.is_info dt{
		float: none;
		display: inline;
	}
	
	.is_info dd{
	  margin-left: 0.5em;
	  margin-bottom: 10px;
	}
	
	
	
	/*---------------------
	沿革
	---------------------*/
	.md_history{
		display: block;
	}
	
	.md_history div:nth-child(1),
	.md_history div:nth-child(2){
		width: 100%;
	}
	
	.md_history div:nth-child(2){
		margin-top: 4%;
	}
	
	.md_history dt{
		float: none;
		width: 100%;
		padding-top: 4%;
	}
	
	.md_history dt:nth-child(1){
		padding-top: 0;
	}
	
	.md_history dd{
	  margin-left: 0;
	  padding: 0 0 4% 0;
	  border-left: none;
	  border-bottom: #231815 1px solid;
	}
	
	.md_history dd:last-child{
	  border-bottom: none;
	}
	
	.md_history li{
	  padding-bottom: 4%;
	}
	
}
