@charset "utf-8";

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

main>section {
	min-height: 1px;
}

/*main>section:nth-of-type(odd) {
	background-color: #f5e8e6;
}
*/
main>section::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}


#company h1 {
	position: relative;
	margin-bottom: 60px;
	color: #222;
}

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

#company_info{
	padding-bottom: 0;
	background-color:#f5e8e6;
}

#company_info .wrap{
	margin: 40px auto 0;
	width: 760px;
}

#company_info #access .wrap{
	width: 1050px;
}

#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%;
}


#access iframe{
	margin-top: 10px;
	vertical-align: bottom;
}

ul.qualification {
	margin: 0;
}

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

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

#greeting .wrap {
	width: 1050px;
	margin: auto;
}


#greeting .message {
	float: right;
	width: 820px;
}

#greeting .book {
	display: block;
	float: left;
	margin: 10px auto;
	width: 200px;
	padding: 10px 0 ;
	text-align: center;
	border: 1px solid #c3c3c3;
}

#greeting .book span{
	font-size: 13px;
}

#greeting .book img{
	margin: 5px 0 8px 0;
}

#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: 60px auto 0;
	width: 950px;
	padding: 50px 40px 60px 60px;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 8px #ccc;
}

#philosophies .wrap h1{
	position: relative;
	display: inline-block;
	padding: 0 55px 0 40px;
	margin: 30px 0 50px 0;
}

#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 strong {
	display: block;
	margin-bottom: 20px;
	font-size: 24px;
}

#philosophies .wrap ol {
	counter-reset: list-count; 
	list-style: none; 
	margin-left: 110px;
	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: 20px;
	text-align: right;
	width: 1.5em;
}

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

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

#history .wrap{
	width: 840px;
	margin: auto;
}

#connection {
	background-color: #f5e8e6;
}

#connection .wrap {
	width: 1050px;
	margin: auto;
}

#connection ul {
	margin-left: 100px;
}

#connection ul:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#connection li{
	float:left;
	min-width:450px;
}

#connection .wrap .t_right {
	margin-right: 100px;
}


a.txt_link {
	margin-left: -7px;
	padding: 0.1em 0.3em;
	position: relative;
	display: inline-block;
	transition: .3s;
	color: #000;
	font-size: 14px;
}

a.txt_link::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 0;
	height: 1px;
	background-color: #000;
	transition: .3s;
}
a.txt_link:hover::after {
	width: 100%;
}

main nav {
	padding: 20px 0;
	text-align: center;
	border-top: 1px solid #ddd;
	background: #f4f4f4;
}

main nav b{
	padding: 3px 30px;
	color: #fff;
	background: #333;
	border-radius: 10px;
}

main nav ul {
	margin-top: 25px;
}

main nav ul li {
	display: inline;
	margin: 0 10px;
}

main nav ul li::before {
	content: "/";
	margin-left: 10px;
	margin-right: 20px;
}
main nav ul li:first-child::before {
	content: none;
}

main nav ul li a {
	padding: 6px 20px;
	position: relative;
	display: inline-block;
	transition: .3s;
	color: #000;
}

main nav ul li a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 0;
	height: 2px;
	background-color: #A51F24;
	transition: .3s;
}
main nav ul li a:hover::after {
	width: 100%;
}
