@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/sawarabimincho.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);



section.message {
	margin: 0px 50px 50px 50px;
	padding: 50px 0;
}
section.message ul {
    display: flex;
  	align-items: flex-start;
  	justify-content: center;
	justify-content: space-between;
	margin: 50px 0;
	padding: 0;
	list-style: none;
}
section.message ul li.leftText {
	text-align: left;
	height: auto;
}
section.message ul li.leftText img {
	height: auto;
	width: 180px;
	display: inline-block;
	vertical-align: middle;
}
section.message ul li.rightPic img {
	width: 300px;
	display: block;
	margin: 0 0 15px 15px;
}
section.message ul li h2 {
	font-weight: normal;
	font-size: 22px;
	margin-bottom: 10px;
	font-family: 'Sawarabi Mincho';
}
section.message ul li span {
	font-size: 12px;
	font-weight: normal;
	background-color: #cccccc;
	border-radius: 5px;
	padding: 0px 5px 1px 5px;
	margin: 1px 15px 1px 0;
	text-align: center;
	display: inline-block;
	width: 60px;
	line-height: 2em;
}
	

@media screen and (max-width: 767px) {
	section.message {
		margin: 0px 25px 0px 25px;
		padding: 30px 0;
}
	section.message ul {
    	display: block;
    	height: auto;
		margin: 25px 0 50px 0;
		padding: 0;
		list-style: none;
}
	section.message ul li {
		text-align: left;
		height: auto;
		display: block;
		margin-bottom: 15px;
		width: 100%;
	}
	section.message ul li.leftText {
		text-align: left;
		height: auto;
	}
	section.message ul li.leftText img {
		height: auto;
		width: 100px;
		display: inline-block;
		vertical-align: middle;
	}
	section.message ul li.rightPic img {
		width: 100%;
		display: block;
		margin: 15px 0 ;
	}
	section.message ul li h2 {
		font-weight: bold;
		font-size: 18px;
		margin-bottom: 10px;
	}
}






section.gaiyou {
	border: 3px solid #F5DB9E;
	height: 250px;
	width: 98%;
}
section.gaiyou h3 {
	float: left;
	margin: 10px auto;
	width: 350px;
	text-indent:-9999px;
	overflow:hidden;
	display:block;
	border-right: 2px dotted #666;
	height: 230px;
	background-image: url(../img/company_gaiyouTitle.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 40%;
}
section.gaiyou ul {
	list-style: none;
	text-align: left;
	padding: 20px 50px 20px 0px;
	width: 500px;
	float: right;
}
section.gaiyou ul li {
	margin: 15px 0 5px 0;
	list-style: none;
	text-align: left;
}
section.gaiyou ul li span {
	display: inline-block;
	width: 100px;
}


@media screen and (max-width: 767px) {
	section.gaiyou {
		border: 3px solid #F5DB9E;
		height: auto;
		margin: 25px;
		padding: 15px 25px 25px 25px;
		width: auto;
	}
	section.gaiyou h3 {
		float: none;
		margin: 15px auto;
		width: 90%;
		text-indent:-9999px;
		overflow:hidden;
		display:block;
		border-bottom: 1px dashed #666;
		border-right: none;
		height: 150px;
		background-image: url(../img/company_gaiyouTitle.png);
		background-position: center;
		background-repeat: no-repeat;
		background-size: 50%;
	}
	section.gaiyou ul {
		list-style: none;
		text-align: left;
		padding: 0;
		margin: 25px 0px 15px 0px;
		float: none;
		width: auto;
	}
	section.gaiyou ul li {
		margin: 15px 0 5px 0;
		list-style: none;
		text-align: left;
		font-size: 14px;
	}
}

section.enkaku {
	margin: 0px 50px 50px 50px;
	padding: 0;
}
section.enkaku h3{
	margin: 25px auto;
	width: 100px;
	height: auto;
}
section.enkaku h3 img{
	margin: 50px 0 15px 0;
	padding: 0;
	width: 100%;
	height: auto;
}
section.enkaku ul {
	display: inline-block;
	list-style: none;
	text-align: left;
	margin: 0 auto;
	padding: 0px 50px;
	width: auto;
}
section.enkaku ul li {
	margin: 0px;
	list-style: none;
	text-align: left;
}
section.enkaku ul li p.eYear {
	display: block;
	width: 100px;
	border: 2px solid #cccccc;
	border-radius: 5px;
	padding: 1px 5px 2px 5px;
	margin: 0;
	text-align: center;
	font-size: 12px;
}
section.enkaku ul li p.eNaiyou {
	margin: 0 0 0 55px;
	padding: 20px 25px;
	width: 100%;
	border-left: 2px solid #cccccc;
	line-height: 3em;
}
section.enkaku ul li span {
	display: inline-block;
	width: 80px;
}

@media screen and (max-width: 767px) {
	section.enkaku {
		margin: 0px 25px 0px 25px;
		padding: 30px 0;
	}
	section.enkaku h3{
		margin: 25px auto;
		width: 90px;
		height: auto;
	}
	section.enkaku h3 img{
		margin: 50px 0 15px 0;
		padding: 0;
		width: 100%;
		height: auto;
	}
	section.enkaku ul {
		display: block;
		list-style: none;
		text-align: left;
		margin: 0 auto;
		padding: 0px;
		width: 100%;
	}
	section.enkaku ul li {
		margin: 0px;
		list-style: none;
		text-align: left;
	}
	section.enkaku ul li p.eYear {
		display: block;
		width: 100px;
		border: 2px solid #cccccc;
		border-radius: 5px;
		padding: 1px 5px 2px 5px;
		margin: 0;
		text-align: center;
		font-size: 12px;
	}
	section.enkaku ul li p.eNaiyou {
		margin: 0 0 0 55px;
		padding: 20px 25px;
		border-left: 2px solid #cccccc;
		line-height: 1.4em;
		width: auto;
	}
	section.enkaku ul li span {
		display: block;
		width: 80px;
		margin: 15px 0 0 0
	}
}
