@charset "utf-8";

/*------------------------------
	content
------------------------------*/
.visual{
	background-image: url("/img/company_visual.jpg");
}

section{
	margin:auto;
	padding: 20px 0 20px;
}

#company{
	background-color:#f5e8e6;
}

#company h1 {
	position: relative;
	color: #222;
	background: transparent;
}

#company h1:before {
	content: '';
	position: absolute;
	bottom: 0;
	display: inline-block;
	width: 60px;
	height: 5px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #A51F24;
	border-radius: 2px;
}

#company_info{
	background-color:#f5e8e6;
}


ul.qualification {
	margin: 0;
}

ul.qualification li {
	list-style: none;
	display: inline;
	margin: 0;
}

ul.qualification li+li a{
	margin-left: 10px;
}

#company_info #access .wrap{
	margin: 0 10px;
}

#access img{
	margin-right: 5px;
	vertical-align: top;
}

#access h2{
	margin-bottom: 15px;
	padding: 0 0 3px 6px;
	border-bottom: solid 3px #bbb;
	position: relative;
}
#access h2::after{
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #A51F24;
	left: 0;
	bottom: -3px;
	width: 20%;
}


#greeting {
	background:#fff;
}

#greeting .wrap {
	margin: 0 15px;
	text-align: center;
}

#greeting .wrap p{
	text-align:left;
}

#greeting img {
	margin: 10px 0 ;
}

#greeting .book {
	display: block;
	margin-top: 20px;
	padding: 10px;
	border: 1px solid #c3c3c3;
}

#philosophies{
	position: relative;
}

#philosophies::before {
	position: absolute;
	top: 0;
	content: " ";
	display: block;
	width: 100%;
	height: 100%;
	background:url("/img/bg_philosophy.jpg") no-repeat top center;
	background-size: cover;
	background-attachment: fixed;
	opacity: .5;
	z-index: -1;
}

#philosophies .wrap{
	margin: 20px;
	padding: 15px 15px 15px 20px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 8px #ccc;
	text-align: center;
}

#philosophies .wrap h1{
	position: relative;
	display: inline-block;
	padding: 0 55px 0 45px;
	margin: 20px 0 20px 10px;
}

#philosophies .wrap h1:before,
#philosophies .wrap h1:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: 45px;
	height: 1px;
	background-color: black;
}
#philosophies .wrap h1:before {
	left: 0;
}
#philosophies .wrap h1:after {
	right: 0;
}

#philosophies .wrap .philosophy{
	text-align: left;
}

#philosophies .wrap strong {
	display: block;
	margin-bottom: 20px;
	font-size: 18px;
}

#philosophies .wrap ol {
	counter-reset: list-count; 
	list-style: none; 
	text-align: left;
}

#philosophies .wrap ol > li::before {
	content:counter(list-count) ".";
	counter-increment: list-count;
	display: inline-block;
	margin-left: -35px;
	padding-right: 5px;
	font-weight: bold;
	font-size: 16px;
	text-align: right;
	width: 1.5em;
}

#philosophies .wrap ol li {
	margin-bottom: 15px;
}

#philosophies .wrap ol li b{
	font-size: 16px;
}


/*------------------------------
	history
------------------------------*/

#history{
	background:#fff;
}

#history th{
	text-align:center;
	width:auto;
	padding:5px 10px 0;
}

#connection{
	background:#f5e8e6;
}

#connection li{
}

#connection p{
	text-align:right;
}

.hover_fb{
	position:fixed;
	bottom:170px;
	right:30px;
	z-index:10;
	
}

.hover_top{
	position:fixed;
	bottom:70px;
	right:30px;
	z-index:10;
}


main nav {
	border-top: 1px solid #ddd;
	background: #f4f4f4;
}

main nav b{
	display: block;
	padding: 8px 15px;
	color: #fff;
	background: #333;
}

main nav ul li {
	margin: 0;
	padding: 0;
}

main nav ul li a{
	position: relative;
	display: block;
	padding: 10px 25px 10px 20px;
	text-decoration: none;
	font-size: 13px;
	color: #000;
	border-top: 1px solid #ddd;
}

main nav ul li a::after {
	position: absolute;
	top: 50%;
	right: 20px;
	display: block;
	content: '';
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-top: 2px solid #333;
	border-right: 2px solid #333;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

