@charset "utf-8";
/* CSS Document */

.allpage_title {
    background: url(../img/img_company.png) left center no-repeat;
    background-size: cover;
    min-height: 32vh;
    color: #FFFFFF;
}

.aboutpage-text{
	margin: 10rem auto;
	text-align: left;
	max-width: 1280px;
    width: 100%;
}

.messe-wrap{
	display: flex;
	justify-content: flex-start;
}

.messe-wrap li{
	width: 50%;
	line-height: 2.5;
}

.messe-wrap li:first-child{
	display: flex;
	justify-content: center;
	position: relative;
}

.messe-wrap h2{
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	width: 35%;
	height: auto;
	font-weight: 100;
	font-size: 2rem;
	position: absolute;
	top:-50px;
	z-index: 888;
}

.text-right{
	text-align: right;
	margin: 3rem;
}

.aboutpage_company{
	overflow: hidden;
  width: 90%;
  margin: 0 auto;
}

.aboutpage_company .history{
	max-width: 1000px;
	width: 100%;
	margin: 5rem auto;
}


.aboutpage_company dl{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.aboutpage_company dl dt{
	width: 20%;
	padding: 0 0 .5rem;
	margin-top: 2rem;
	border-bottom:1px solid #242642 ;
}

.aboutpage_company dl dd{
	width: 75%;
	padding: 0 0 .5rem;
	border-bottom: 1px solid #EEE;
	margin: 2rem 0 0 1rem;

}

.bank span{font-weight: bold;}
.bank span.red{color: red;}

.aboutpage_btn{
	text-align: center;
	margin: 3rem auto;
	border-top:1px solid #EEE;
	padding: 1.5rem 0;
}

.aboutpage_btn h3{
	font-size: 0.825rem;

}


.aboutpage_btn .btn_mailto{
	border: 1px solid #111;
	padding: 1.5rem;
	font-size: 0.825rem;
	max-width: 300px;
	margin: 1rem;
	background: #FFF;
	color: #111;
	width: 100%;
  cursor: pointer;
}


/*timeline---------------------------------------*/

.aboutpage_company .timeline{
	max-width: 1000px;
	width:100%;
	margin:50px auto;
	padding:0 30px;
	/*float: right;*/
}

.aboutpage_company .timeline li{
    /*線の起点とするためrelativeを設定*/
    position: relative;
	list-style: none;
	padding:0 0 20px 0;
}

.aboutpage_company .timeline dl{
	margin:0 0 20px 3em;
}

.aboutpage_company .timeline dt{
	 position: absolute;
	 top:.3rem;
	 left:30px;
	 color: #FFF;
	 z-index: 999;
     font-weight: bold;

}

.aboutpage_company .timeline dd strong{
	display: block;
	padding:0 0 1rem;
}

/*絶対配置で線を設定*/
.border-line {
    /*線の位置*/
	position: absolute;
	left:50px;
	top:0;
	width:2px;/*線の太さ*/
	height:0;/*はじめは高さを0に*/
	background: #ccc;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:100px;
	height: 30px;
	background:#666;
	border-radius: 5%;
}

.com-messege .messse-img{
	max-width: 200px;
	max-height: 400px;
	white-space: 100%;
}

/*praivacypollicy*/

.other-wrap{
	max-width: 1000px;
	width: 100%;
	padding: 2rem 1.5rem;;
	line-height: 2.5;
	margin: 0 auto;
}

.other-wrap dt{
	font-weight: bold;
	}
