@charset "utf-8";	
.company{
	margin-top: 40px;
}
.company h3{
	font-size: 3.4rem;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 70px;
}
.page_link{
	max-width: 694px;
	margin: 0 auto 120px;
}
.page_link a{
	display: block;
	max-width: 230px;
	margin-right: 2px;
	padding: 10px 0;
	background-color: #0cb59b;
	border: 2px solid #0cb59b;
	text-align: center;
	font-size: 1.8rem;
	color: #fff;
	width: 33%;
	font-weight: bold;
	box-sizing: border-box;
}
.page_link a:first-child{
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.page_link a:last-child{
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.page_link a:hover{
	color: #0cb59b;
	background-color: #fff;
}
#greeting{
	margin-bottom: 120px;
}
#greeting .president_box{
	position: relative;
	max-width: 850px;
	margin: 0 auto;
	background-color: #fff;
}
#greeting .president_box .president_img{
	width: 60%;
	padding: 0;
}
#greeting .president_box .president_img img{
	display: block;
	width:80%;
	margin:0 0 0 auto;
}
#greeting .president_box .president_title{
	width: 40%;
	justify-content: flex-end;
}
#greeting .president_box .president_title h3{
	padding: 0 30px 0 0;
	writing-mode: vertical-rl;
	-ms-writing-mode: lr-tb;
	-webkit-writing-mode: vertical-rl;
	font-size: 2.6rem;
	line-height: 2.2;
}
#greeting .greeting_message{
	max-height: 100%;
	margin-top: -130px;
	padding: 230px 0 130px;
	background: url("../img/company/company_03_4634.png") 0 0 no-repeat;
	background-size: cover;
}
#greeting .greeting_message .inner{
	max-width: 800px;
	margin: 0 auto;
}
#greeting .greeting_message .inner p{
	margin-bottom: 50px;
	font-size: 1.5rem;
	line-height: 2.4;
}
#greeting .greeting_message .inner .president_name{
	text-align: right;
}
#profile{
	margin-bottom: 160px;
}
#profile ul.company_info{
	max-width: 800px;
	list-style: none;
	margin: 0 auto 80px;
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
	padding:0;
}
#profile ul.company_info li{
	display: flex;
	margin-top: 1px;
	margin-bottom: 1px;
	padding: 35px 15px 35px 55px;
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
}
#profile ul.company_info li span{
	display: block;
	width: 14em;
	margin: 0;
}
#profile ul.company_info li p{
	width: calc(100% - 14em)
}
#profile .company_img{
	justify-content: space-around;
	width: 50%;
	margin: 0 auto;
}
#profile .company_img div{
	width: 100%;
	max-width: 320px;
}
#profile .company_img div img{ display: block; }
#access{ margin-bottom: 70px; }
#access .gmap_wrap{ width: 100%;}
#access .gmap{
    width: 100%;
    height: 340px;
}

@media screen and (max-width: 767px) {
	.company{
		margin-top: 0px;
	}
	.company h3{
		font-size: 2.6rem;
		line-height: 1.6;
	}
	.page_link{
		padding: 0 15px;
		margin-bottom: 45px;
		flex-wrap: nowrap;
	}
	.page_link a{
		margin-right: 0.5%;
		font-size: 1.2rem;
		padding: 10px 0;
	}
	#greeting{
		margin-bottom: 70px;
	}
	#greeting .president_box .president_img{
		width: 100%;
		padding: 0 15%;
	}
	#greeting .president_box .president_title{
		width: 100%;
		justify-content: center;
	}
	#greeting .president_box .president_title h3{
		padding: 40px 0;
		font-size: 5.5vw;
		vertical-align: top;
		text-align: left;
	}
	#profile{
		padding: 0 30px;
		margin-bottom: 80px;
	}
	#profile ul.company_info{
		padding: 0;
	}	
	#profile ul.company_info li{
		display: block;
		padding: 20px 15px;
	}
	#profile ul.company_info li span{
		display: inline-block;
		margin-bottom: 6px;
		width: 100%;
	}
	#profile .company_img{
		width: 100%;
		flex-wrap: nowrap;
	}
	#profile ul.company_info li p{
		width: 100%;
	}
	#profile .company_img div{
		margin: 0 1%;
	}
	#greeting .president_box .president_img img{
		margin:auto;
	}
	#greeting .greeting_message{
		padding:150px 0 130px;
	}
}

