@import url("global.css");

#staff .staff_box {
	width: 100%;
	max-width: 1050px;
	height: 480px;
	margin: 0 auto;
	position: relative;
}
#staff .staff_box .image {
	float: right;
}
#staff .staff_box .box {
	position: absolute;
	bottom: 40px;
	left:0px;
	width: 520px;
	padding: 40px;
	box-sizing: border-box;
	background-color: #fff;
	border-radius: 4px;
	text-align: left;
}
#staff .niihara .staff_box .image {
	float: left;
}
#staff .niihara .staff_box .box {
	position: absolute;
	bottom: 40px;
	right:0px;
	left: inherit;
	width: 520px;
	padding: 40px;
	box-sizing: border-box;
	background-color: #fff;
	border-radius: 4px;
	text-align: left;
}
#staff .staff_box .box h2 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	display:inline-block;
	margin-right: 10px;
}
#staff .staff_box .box .position {
	font-size: 18px;
	font-weight: 700;
	display:inline-block;
}
#staff .staff_box .box ul.competency {
	margin: 10px 0 20px;
}
#staff .staff_box .box ul.competency li {
	display: inline-block;
	margin-right: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}
#staff .staff_box .box ul.competency li:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin: -3px 5px 0 0;
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background-color: #aaa;
}
#staff .staff_box .box p {
	text-align: left;
}

#staff .about {
	background: url(../staff/img/bg.jpg) center center;
	background-size: cover;
	margin: -80px 0 0;
	padding: 100px 0 50px;
}
#staff .about .wrap{
	width: 100%;
	max-width: 1060px;
	margin: 0 auto;
}
#staff .about ul {
	width: 50%;
}
#staff .about ul li {
	width: 100%;
	float: left;
	border-radius: 4px;
	padding: 20px 40px;
	box-sizing: border-box;
	color: #572513;
}
#staff .about ul li h3 {
	font-size: 20px;
	font-weight: 800;
	text-align: left;
}
#staff .about ul li p {
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	margin-top: 5px;
}
#staff .about ul li .image {
	margin-top: 15px;
	box-sizing: border-box;
	border: 15px solid #fff;
	border-bottom: 25px solid #fff;
	border-radius: 3px;
	box-shadow: 1px 1px 10px -5px #333;
}
#staff .about ul li .image img {
	width: 100%;
	border-radius: 5px;
}

#staff .staff {
	margin-top: 100px;
}
#staff .staff:first-of-type {
	margin-top: 0;
}

#staff .staff_box .box .mt15 {
	margin-top: 15px;	
}

/* ------------------------------------------------------------------------------------------------------------------------

/* 1099px（タブレット縦）以下から 1カラム表示

------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1099px){

#staff .staff_box {
	height: auto;
}
#staff .staff_box .image {
	max-width: 500px;
}
#staff .staff_box .image img {
	width: 100%;
}
#staff .staff_box .box {
	bottom: -30px;
	left: 0;
	padding: 30px;
	width: 55%;
	background-color: rgba(255,255,255,0.90);
}
#staff .niihara .staff_box .image {
	width: 500px;
}
#staff .niihara .staff_box .box {
	bottom: -30px;
	right: 0;
	padding: 30px;
	width: 55%;
	background-color: rgba(255,255,255,0.90);
}	
#staff .staff_box .box h2 {
	font-size: 24px;
}
#staff .staff_box .box .position {
	font-size: 16px;
}
#staff .staff_box .box ul.competency {
	margin: 10px 0 15px;
}
#staff .staff_box .box ul.competency li {
	font-size: 15px;
}
#staff .staff_box .box p {
	font-size: 14px;
}

#staff .about {
	margin: -60px 0 0;
}
#staff .about .wrap{
	width: auto;
	max-width: 100%;
}
#staff .about ul li {
	padding: 15px 30px;
}
#staff .about ul li h3 {
	font-size: 18px;
}
#staff .about ul li p {
	font-size: 14px;
	margin-top: 8px;
}
#staff .about ul li .image {
	border: 10px solid #fff;
}






}




/* ------------------------------------------------------------------------------------------------------------------------

/* 幅644px以下

------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px){

#staff .staff_box {
	height: auto;
	margin: 0 auto;
	position: relative;
}
#staff .staff_box .image {
	float: none;
	width: 100%;
	max-width: none;
}
#staff .staff_box .box {
	position: relative;
	bottom: 0;
	padding: 10px;
	width: 100%;
	background-color: none;
}
#staff .niihara .staff_box .image {
	float: none;
	width: 100%;
}
#staff .niihara .staff_box .box {
	position: relative;
	bottom: 0;
	padding: 10px;
	width: 100%;
	background-color: none;
}
#staff .staff_box .box h2 {
	font-size: 24px;
	margin-top: 20px;
}
#staff .staff_box .box .position {
	font-size: 16px;
}
#staff .staff_box .box p {
	line-height: 1.8;
	font-size: 14px;
}
#staff .staff_box .box ul.competency li {
	font-size: 15px;
}

#staff .about {
	margin: 20px 0 0;
	padding: 10px 0 25px;
}
#staff .about .wrap{
	width: auto;
	max-width: 100%;
}
#staff .about ul {
	width: 100%;
	padding: 5px 0 0;
}
#staff .about ul li {
	padding: 15px 10px;
}
#staff .about ul li h3 {
	font-size: 16px;
}
#staff .about ul li p {
	margin-top: 6px;
	font-weight: 500;
}

#staff .staff {
	margin-top: 60px;
}
#staff .staff:first-of-type {
	margin-top: 0;
}


}









