@charset "utf-8";
/* CSS Document */



.kasouimg{
	background-image: url("../img/company_mv.jpg");
	background-size: cover;
}
	
section{
	padding: 6rem; 
}

.contactpage{
	padding: 6rem 0;
}
@media screen and (max-width: 1080px) {
    .contactpage {
        padding: 7rem 3rem 5rem;
    }
}


/*------------挨拶---------------------*/
.remarkFlex{
	display: flex;
}

.remarkFlex-left{
	width: 70%;
	margin-right: 2rem;
}

.remarkFlex-right{
	width: 30%;
}

#remark p {
	margin-bottom: 2rem;
}


#remark p:last-child{
	text-align: end;
	margin-top: 3rem;
}
/*------------スタッフ---------------------*/
.staffFlex{
	display: flex;
	justify-content: space-between;
}

.staffBox{
	display: flex;
	width: 50%;
	background: #fff;
	align-items: center;
	margin: 2rem auto;
}

.staff-left{
	width: 60%;
	background: #fff;
	padding: 2rem;
}

.staff-right{
	width: 40%;
}

.staffBox:last-child{
	margin-left: 2rem;
}

h5{
	color: #134e82;
	margin-bottom: 1rem;
}

/*------------会社概要---------------------*/
.nwFlex{
		border-bottom: thin solid #bdb8b8;
		margin-bottom: 0.8em;
		display: flex;
	}

.coInner{
	padding: 0 20px;
}

dt{
	width: 30%;
}

dd{
	border: none;
	width: 70%;
}

dd p{
	margin-top:1em;
}

dd a{
	color: #fff;
	background:#666 ;
	margin-left: 1em;
	font-size: 14px;
	padding: 4px;
}

dd a:hover{
	opacity: 0.5;
	transition: 1s;
	
}

.dd-7th{
	margin-top: 0;
}


/*---------------沿革---------------*/
#enkaku dd{
	width: 70%;
}

/*--contact----*/
.contact p{
	text-align: center;
}

/*------------タイムライン---------------------*/


.timeline {
  position: relative;
  max-width: 730px;
  margin: 5rem auto;
  list-style: none;
  padding-left: 0; /* 無し */
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px; /* 縦ラインの位置 */
  width: 3px;
  background: rgba(207,219,228,1);
  z-index: 0;
}

.timeline > li {
  position: relative;
  margin-bottom: 40px;
}

.timeline-date {
  width: 120px;
  float: left;
  font-weight: bold;
  color: #134e82;
  padding-right: 15px;
  box-sizing: border-box;
  position: relative; /* 必要に応じて */
  z-index: 2;
}

.timeline-content {
  margin-left: 140px; /* 日付+縦ラインの幅+余白 */
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -25px; /* timeline-content左端から左へずらす */
  top: 5px; /* ドットの縦位置 */
  width: 14px;
  height: 14px;
  background-color: #134e82;
  border-radius: 50%;
  z-index: 3;
}


.enkaku-bottom{
	margin-bottom: 6rem;
}

/*------------地域貢献---------------------*/
#contribution{
	background: url("../img/company_bg.jpg");
	background-size: 100% auto;
	background-color:rgba(255,255,255,0.3);
background-blend-mode:lighten;
}

.contribution_p{
	text-align: center;
	font-weight: bold;
	margin-bottom: 1rem;
}

.contribution_container{
	display: flex;
	justify-content: space-between;
	margin: 2rem auto 4rem;
}

.contribution_container img{
	width: 32%;
	margin-top: 1rem;
}

/*=======================tablet=============*/

@media screen and (min-width:801px){
.coInner{
	width: 730px;
	margin: 0 auto ;
}
	
	.nwFlex{
		display: flex;
	}
	
	dt{
		width: 20%;
	}
	
	dd{
		width: 80%;
	}
}

@media screen and (max-width:820px){
#aisatu, .staff{
		margin: 0 20px;
	}
	.remarkFlex, .staffBox{
		display: block;
	}
	.remarkFlex-left, .staff-left{
		width: 100%;
	}	
	.remarkFlex-right{
		margin: 0 auto;
	}
	.staff-right{
		margin: 3rem auto 0;
	}	
}
@media screen and (max-width: 640px) {
	h3{
		margin: 40px auto;
	}
	
	#contribution p{
		text-align: left;
	}

p{
	text-align: left;
}

.timeline-subTitle{
	font-weight: bold;
}

	section{
		padding: 3rem;
	}
	
	.contactpage p{
		text-align: center;
	}
}


/*=============================sp====================*/
@media screen and (max-width:450px){
	#enkaku{
		padding: 3rem;
	}
	h3{
		margin: 0 auto 4rem;
	}
	.remarkFlex-right{
		width: 80%;
	}
	.staffFlex{
		display: block;
	}
	.staffBox{
		width: 100%;
	}
	.staff-left{
		padding-top:  1rem;
	}
	.staffBox:last-child {
    margin-left: 0;
}
	h5{
		text-align: center;
	}
	.timeline{
		margin: 5rem auto 0;
	}
	.contribution_container{
		display: block;
		text-align: center;
		margin-bottom: 0;
	}
	.contribution_container img{
	width: 80%;
	margin: 0.5rem auto;
}
}
