@media (min-width: 768px) {

#about_table tr {
	border-bottom:1px solid #d5d5d5;
}
#about_table tr:first-child {
	border-top:1px solid #d5d5d5;
}
#about_table tr th {
	padding:20px;
	background-color:#f1f1f1;
	font-size:13px;
}

#about_table tr td {
	padding:20px 5px 20px 20px;
	font-size:13px;
	line-height:180%;
}
#about_table tr td div{
	padding:0;
}
.etc_link {
	margin-top:1em;
}


#history_table {
	width:100%;
	border-left:1px solid #d5d5d5;
	border-right:1px solid #d5d5d5;

} 

#history_table thead {
	background-color:#9aa0ab;
}

#history_table thead tr th:first-child {
	border-left:none;
	width:20%;
}
#history_table thead tr th{
	width:40%;
	padding:23px;
	color:#ffffff;
	border-left:1px solid #d5d5d5;
	text-align:center;
}
#history_table tbody tr:nth-child(2n) {
	background-color:#f1f1f1;
}

#history_table tbody tr td {
	padding:17px;
	font-size:13px;
	border-left:1px solid #d5d5d5;
}
#history_table tbody tr td:first-child {
	text-align:center;
	border-left:none;
}

#history_table tbody tr {
	border-bottom:1px solid #d5d5d5;
}


.philosophy {
	width:544px;
	margin:auto auto;
}

.philosophy p , .philosophy li{
	text-align:left;
}

.glaybox {
	border:1px solid #d5d5d5;
	line-height:180%;
	margin-bottom:2em;
}
.glaybox_inner {
	padding:25px;
}
.glaybox dt {
	float:left;
	font-weight:normal;
	line-height:180%;
}
.glaybox dd {
 margin-left:2em;
	line-height:180%;
}

.glaybox .red {
	color:#b11628;
}

.glaybox_left {
	width:415px;
	padding-right:25px;
	float:left;
}

.glaybox_right {
	width:230px;
	float:left;
}

.glaybox_head {
	text-align:center;
background: -moz-linear-gradient(top, #ffffff, #f4f4f4);/* Firefox用 */  
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f4f4f4));/* Safari,Google Chrome用 */
background: gradient(linear, left top, left bottom, from(#ffffff), to(#f4f4f4));/* Safari,Google Chrome用 */
	border-bottom:1px solid #d5d5d5;
	line-height:60px;
	font-size:18px;
}

.glaybox_tel {
	margin:1em 0;
	border:2px solid #e6e6e6;
	background-color:#f9f9f9;
	text-align:center;
	padding:16px;
}
.tel_num {
	font-size:21px;
	font-weight:bold;
}
.glaybox_subimg{
	margin-left:20px;
}
.glaybox_subimg:first-child {
	margin-left:0;
}
.glaybox_subimg2{
	margin-left:18px;
}
.glaybox_subimg2:first-child {
	margin-left:0;
}
.glaybox p {
	margin:1em 0 0 0;
}
#maincontents .mainarea .bg_3pl p {
	margin-bottom:1em;
}
.bg_3pl {
	background-image:url(../img/3_5bgmap.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	min-height:848px;
}

.glaybox table th {
	vertical-align:top;
	font-weight:normal;
}
.glaybox table {
	margin:0 0;
}
.glaybox table thead th {
	font-size:9px;
}

}



/* ------------------------ sp --------------------------- */


@media (max-width: 767px) {

#about_table tr {
	border-bottom:1px solid #d5d5d5;
}
#about_table tr:first-child {
	border-top:1px solid #d5d5d5;
}

#about_table {
	width:auto;
	margin:16px;
}

#about_table tr th {
	padding:17px 0 0px 0;
	display:block;
}
#about_table tr td {
	padding:17px 0 17px 0;
	display:block;
	line-height:180%;
}

.etc_link {
	margin-top:1em;
}


#history_table {
	margin:16px;
	border-left:1px solid #d5d5d5;
	border-right:1px solid #d5d5d5;

} 

#history_table thead {
	background-color:#9aa0ab;
}

#history_table thead tr th:first-child {
	border-left:none;
	width:20%;
}
#history_table thead tr th{
	width:40%;
	padding:9px;
	color:#ffffff;
	border-left:1px solid #d5d5d5;
	text-align:center;
}
#history_table tbody tr:nth-child(2n) {
	background-color:#f1f1f1;
}

#history_table tbody tr td {
	padding:8px;
	font-size:10px;
	border-left:1px solid #d5d5d5;
}
#history_table tbody tr td:first-child {
	text-align:center;
	border-left:none;
}

#history_table tbody tr {
	border-bottom:1px solid #d5d5d5;
}

.philosophy {
	width:auto;
	margin:auto auto;
}

.philosophy p , .philosophy li{
	text-align:left;
	margin:1em 0;
}

.glaybox {
	border:1px solid #d5d5d5;
	line-height:180%;
	margin-bottom:2em;
}
.glaybox_inner {
	padding:15px;
}
.glaybox dt {
	float:left;
	font-weight:normal;
	line-height:180%;
}
.glaybox dd {
 margin-left:2em;
	line-height:180%;
}

.glaybox .red {
	color:#b11628;
}



.glaybox_head {
	text-align:center;
background: -moz-linear-gradient(top, #ffffff, #f4f4f4);/* Firefox用 */  
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f4f4f4));/* Safari,Google Chrome用 */
background: gradient(linear, left top, left bottom, from(#ffffff), to(#f4f4f4));/* Safari,Google Chrome用 */
	border-bottom:1px solid #d5d5d5;
	line-height:60px;
	font-size:18px;
}

.glaybox_tel {
	margin:1em 0;
	border:2px solid #e6e6e6;
	background-color:#f9f9f9;
	text-align:center;
	padding:16px;
}
.tel_num {
	font-size:21px;
	font-weight:bold;
}

.glaybox_subimg{
	margin-left:0px;
	margin:1em auto;
	display:block;
}
.glaybox_subimg:first-child {
}
.glaybox_subimg2{
	margin-left:12px;
	margin-bottom:12px;
}
.glaybox_subimg2:first-child {
	margin-left:px;
}

.glaybox p {
	margin:1em 0 0;
}
.glaybox table thead th {
	font-size:9px;
}
.glaybox table th {
	vertical-align:top;
	font-weight:normal;
}


}