@charset "UTF-8";
#com_mainvisual {
    height: 350px;
    background-image: url(../images/com_mainvisual.jpg);
    background-size: cover;
	background-position: right 50% top;
    background-repeat: no-repeat;
}
#com_mainvisual h2 {
	font-size: 2rem;
	line-height: 350px;
	position: relative;
	padding-top: 40px;
	color: #333333;
}
h2:before {
	position: absolute;
	content: 'COMPANY';
	top: -2rem;
	left: 0;
	font-size: 5rem;
	display: inline-block;
	color: #333333;
}
#about,#c-philosophy,#m-philosophy,#message,#history,#access {
	padding: 120px 0;/*ヘッダー固定分のリンクのずれをjsで調整後100px 0に変更する*/
}
#com_contents h3 {
	color: #9f957c;
	font-size: 1.8rem;
	padding: 50px 0;
	position: relative;
}
#com_contents h3:before {
	position: absolute;
	top: -1.8rem;
	left: 0;
	font-size: 5rem;
	display: inline-block;
}
#com_contents h3:after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 35px;
	display: inline-block;
	width: 50px;
	height: 5px;
	background-color: #dfd7cb;
}
#about h3:before {
	content: 'About Us';
}
#c-philosophy h3:before {
	content: 'Corporate Philosophy';
}
#m-philosophy h3:before {
	content: 'Management Philosophy';
}
#message h3:before {
	content: 'Message';
}
#history h3:before {
	content: 'History';
}
#access h3:before {
	content: 'Access';
}
#about table {
	width: 100%;
}
#about th {
	width: 20%;
	border-bottom: solid 1px #cccccc;
	padding: 20px 0;
	font-weight: normal;
	color: #333333;
}
#about td {
	width: 80%;
	border-bottom: solid 1px #cccccc;
	padding: 20px 0 20px 10px;
}
#c-philosophy {
	background-color: #f5f5f5;
}
#c-philosophy p:first-of-type {
	font-size: 3.5rem;
	padding-bottom: 1em;
	color: #333333;
}
#m-philosophy li {
	list-style: disc;
	margin-left: 1em;
	font-size: 2rem;
	line-height: 50px;
}
#message {
	background-color: #f5f5f5;
	/*background-image: url(../images/message.png);
	background-size: auto 100%;
	background-position: center;
	background-repeat: no-repeat;*/
}
/*#message p {
	width: 55%;
}*/
#message p:last-child {
	padding-top: 1em;
	text-align: right;
}
.timeline > li {
	overflow: hidden;/*フロートをリセット*/
	margin: 0;
	position: relative;
}
.timeline-date {
	width: 110px;
	float: left;
	margin-top: 20px;
}
.timeline-content {
	width: 75%;
	float: left;
	border-left: 3px #dddddd solid;
	padding-left: 40px;
	padding-top: 18px;
	padding-bottom: 15px;
}
.timeline-content:before {
	content: '';
	width: 11px;
	height: 11px;
	background: #999999;
	position: absolute;
	left: 106px;
	top: 23px;
	border-radius: 100%;
}
#access {
	background-color: #f5f5f5;
}
#access p {
	-webkit-filter: grayscale(1);
			filter: grayscale(1);
}
.google_map{
    position:relative;
    width:100%;
    height:0;
    padding-top:50%;/*縦横比*/
}
.google_map iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}





@media screen and (min-width: 560px) and (max-width: 959px) {

#com_mainvisual {
	height: 300px;
}
#com_mainvisual h2 {
	font-size: 1.8rem;
	line-height: 300px;
	padding-top: 25px;
}
h2:before {
	top: -1.8rem;
	font-size: 4rem;
}	
#about,#c-philosophy,#m-philosophy,#message,#history,#access {
	padding: 50px 0;
}
#com_contents h3 {
	font-size: 1.6rem;
	padding: 40px 0;
}
#com_contents h3:before {
	top: -1.6rem;
	font-size: 4rem;
}
#com_contents h3:after {
	bottom: 25px;
	width: 45px;
}
#m-philosophy li {
	font-size: 1.8rem;
	line-height: 40px;
}
#message {
	background-color: #F8F8F8;
	/*background-image: url(../images/message_res.png);
	background-size: 110% auto;
	background-position: left bottom;
	border-top: 1px solid #cccccc;*/
}
#message p {
	width: 100%;
}
#message p:last-child {
	padding-top: 3em;
	text-align: left;
	/*margin-bottom: 200px;*/
}
}





@media screen and (max-width: 559px) {

#com_mainvisual {
	height: 250px;
	background-position: right 39% top;
}
#com_mainvisual h2 {
	text-shadow: 0px 0px 20px rgba(255,255,255,0.50);
	font-size: 1.7rem;
	line-height: 250px;
	padding-top: 20px;
}
h2:before {
	top: -1.7rem;
	font-size: 3rem;
}
#about,#c-philosophy,#m-philosophy,#message,#history,#access {
	padding: 50px 0;
}
#com_contents h3 {
	font-size: 1.6rem;
	padding: 25px 0 40px;
}
#com_contents h3:before {
	top: -1.6rem;
	font-size: 2.5rem;
}
#com_contents h3:after {
	bottom: 25px;
	width: 45px;
}
#c-philosophy p:first-of-type {
	font-size: 2.4rem;
	padding-bottom: 1em;
	color: #333333;
}
#m-philosophy li {
	font-size: 1.5rem;
	line-height: 30px;
}
#message {
	background-color: #F8F8F8;
	/*background-image: url(../images/message_res.png);
	background-size: 150% auto;
	background-position: right -80px bottom;
	border-top: 1px solid #cccccc;*/
}
#message p {
	width: 100%;
}
#message p:last-child {
	padding-top: 3em;
	text-align: left;
	/*margin-bottom: 150px;*/
}
.timeline-date {
	width: 70px;
}
.timeline-content {
	padding-left: 20px;
}
.timeline-content:before {
	left: 66px;
}
}