@charset "UTF-8";

/*=========================

 header

=========================*/
@media screen and (max-width:799px) {
	header h2 {
		background: url(../about/img/header_img.jpg) no-repeat top center;
		background-size: cover;
	}
}
@media screen and (min-width:800px) {
	header {
		background: url(../about/img/header_img.jpg) no-repeat top center;
		background-size: cover;
	}
}


/*=========================

 ご挨拶

=========================*/
#greeting .mincho {
	font-size: 1.2em;
}
@media screen and (min-width:800px) {
	#greeting {
		margin-top: 125px;
	}
	#greeting::after {
		display: block;
		content: "";
		clear: both;
	}
	#greeting div:first-of-type {
		float: left;
		width: 655px;
		margin-bottom: 64px;
	}
	#greeting .mincho {
		font-size: 1.4em;
	}
}

/* 見出し
-------------------------*/
#greeting h1 {
	margin-bottom: 15px;
}

/* 挨拶文
-------------------------*/
#greeting p.mincho {
	margin-bottom: 12px;
}

/* 代表者紹介
-------------------------*/
#greeting div:last-of-type {
	line-height: 1.5;
	margin-bottom: 50px;
}
/* 写真 */
#greeting div img {
	float: left;
	margin: 0 20px 20px 0;
}
/* 代表者名 */
#greeting div span {
	font-size: 1.1em;
}
/* 文章 */
#greeting div:last-of-type p {
	clear: both;
	line-height: 1.7;
	padding: 10px;
	background: #EFEFEF;
	font-size: 1em;
}
@media screen and (min-width:800px) {
	#greeting div:last-of-type {
		float: right;
		width: 385px;
		margin-left: 60px;
		margin-bottom: 0;
	}
}

/* 理想とする
-------------------------*/
#greeting li {
	display: block;
	box-sizing: border-box;
}
#greeting li:first-child {
	margin-bottom: 30px;
}
#greeting li p {
	margin-top: 13px;
	padding-top: 15px;
	border-top: 1px solid #CCC;
}
@media screen and (min-width:800px) {
	#greeting li {
		display: inline-block;
		width: 50%;
		vertical-align: top;
        padding-right: 30px;
	}
    /*
	#greeting li:first-child {
		margin-bottom: 0;
		padding-right: 30px;
	}
	#greeting li:last-child {
		padding-left: 30px;
	}
    */
}


/*=========================

 行動指針

=========================*/
#guideline table {
	margin: 0 auto;
	text-align: center;
}
#guideline th,
#guideline td {
	vertical-align: top;
}
/* 数字 */
#guideline th {
	line-height: 1;
	padding: 0 30px 0 0;
	color: #AAA;
	font-size: 6.1em;
}
/* 指針 */
#guideline td {
	width: 100%;
	padding: 0;
}
#guideline dl {
	text-align: left;
}
#guideline dt {
	padding-bottom: 5px;
	border-bottom: 1px solid #CCC;
	color: #35527C;
	font-size: 1.5em;
}
#guideline dd {
	padding: 9px 0 30px 0;
	font-size: 1.1em;
}
#guideline tr:last-child dd {
	padding: 9px 0 0 0;
}
@media screen and (min-width:800px) {
	#guideline h1 {
		margin-bottom: 69px;
	}
	#guideline table {
		width: 895px;
	}
	#guideline dd {
		padding: 9px 0 63px 0;
		font-size: 1.1em;
	}
	#guideline tr:first-child dd {
		padding: 9px 0 70px 0;
	}
}

/*=========================

 会社概要

=========================*/
#about h1 {
	margin-bottom: 29px;
}
#about table {
	table-layout: fixed;
}
#about th {
	width: 8em;
	padding-right: 0;
}

/* 基本情報
-------------------------*/
#about > table:first-of-type {
	margin-bottom: 27px;
	border-bottom: 1px solid #CBCBCB;
}
#about td table {
	table-layout: auto;
	margin-bottom: 10px;
}
#about td th {
	width: auto;
	color: #333;
	font-weight: normal;
}
#about td li {
	margin-right: 1em;
}

/* 技術職員
-------------------------*/
#about td table th,
#about td table td {
	padding: 0;
}
#about td table th {
	font-weight: bold;
	color: #494949;
}
@media screen and (max-width:799px) {
	#about th,
	#about td {
		display: block;
	}
	#about th {
		padding-bottom: 0;
	}
	#about td {
		padding-top: 0;
	}
	#about > table:last-of-type td {
		display: inline-block;
		width: 30%;
	}
	#about > table:last-of-type td:nth-of-type(odd) {
		width: 70%;
	}
}
@media screen and (min-width:800px) {
	#about {
		margin-top: 128px;
	}
	#about > table:last-of-type th,
	#about > table:last-of-type td {
		padding: 3px 0;
	}
	#about > table:last-of-type tr:first-child th,
	#about > table:last-of-type tr:first-child td {
		padding-top: 0;
	}
	#about > table:last-of-type tr:last-child th,
	#about > table:last-of-type tr:last-child td {
		padding-bottom: 0;
	}
	#about > table:last-of-type td:nth-of-type(3),
	#about > table:last-of-type td:nth-of-type(5) {
		padding-left: 2em;
	}
	#about > table:last-of-type td:nth-of-type(even) {
		width: 4em;
		border-right: 1px dashed #CBCBCB;
	}
	#about > table:last-of-type td:last-of-type {
		width: 2em;
		border-right: none;
	}
}

/*=========================

 沿革

=========================*/
#history h1 {
	margin-bottom: 24px;
}
#history th {
	padding-right: 70px;
	padding-bottom: 0;
}
#history td {
	width: 100%;
	padding-top: 0;
	border-bottom: 2px dotted #E4E4E4;
}
#history ul {
	margin: 0 auto;
	text-align: center;
}
#history li:last-child {
	margin-right: 0;
}
@media screen and (max-width:799px) {
	#history table {
		margin-bottom: 20px;
	}
	#history th,
	#history td {
		display: block;
	}
	#history li {
		width: 50%;
	}
	#history li img {
		width: 100%;
	}
}
@media screen and (min-width:800px) {
	#history {
		margin-top: 130px;
	}
	#history table {
		width: 900px;
		margin: 0 auto 50px auto;
	}
	#history th,
	#history td {
		padding: 12px 0;
		border-bottom: 2px dotted #E4E4E4;
	}
	#history th {
		padding-right: 70px;
	}
	#history li {
		margin-right: 20px;
	}
}