/*scroll------------------------------------------------------*/


#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 15px;
  bottom: 0;
  background: #0099ff;
  opacity: 0.6;
  border-radius: 50%;
    z-index:100000
  }
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f062';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/*scrollここまで-----------------------------------------------*/

.contentstaff{
	height: auto;
}
.menu {
	position: relative;
	padding: 15px 0 20px 0;
	background-color: #0058a7;
	color: #fff;
	text-align: center;
	font-size: 24px;
	margin-top: 80px;
}
.menu::after {
	position: absolute;
	top: 100%;
	left: 30px;
	content: '';
	width: 0;
	height: 0;
	border: 50px solid transparent;
	border-top: 38px solid #0058a7;
	left: 0;
	right: 0;
	margin: auto;
}
.staff{
	font-weight: 700;
	font-size: 40px;
	line-height: 60px;
	font-color:#fff;
	margin: 0 auto;
}
.staffjp{
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	font-color:#fff;
	margin-top: -5px;
    display: block;
}
.st1{
	overflow: hidden;	/*拡大時にはみ出た部分を隠す*/
}

.st1 img {
  width: 350px;
  height: 350px;
  object-fit: cover; /* この一行を追加するだけ！ */
  object-position: 50% 50%;
  display: block;
  margin: auto;

  display: block;
  transition-duration: 0.8s;	/*変化に掛かる時間*/
}


 .st1 img:hover {
	transform: scale(1.1);	/*画像の拡大率*/
	transition-duration: 0.8s;	/*変化に掛かる時間*/
}
 /*.st2 img {
  width: 350px;
  height: 350px;
  object-fit: cover;  //この一行を追加するだけ！ 
  //object-position: 30% 0%;
  display: block;
  margin: auto;
}
.st3 img {
  width: 350px;
  height: 350px;
  object-fit: cover;  //この一行を追加するだけ！ 
  object-position: 30% 0%;
  display: block;
  margin: auto;
}
.st4 img {
  width: 350px;
  height: 350px;
  object-fit: cover;  //この一行を追加するだけ！ 
  //object-position: 30% 0%;
  display: block;
  margin: auto;
}
.st5 img {
  width: 350px;
  height: 350px;
  object-fit: cover; //この一行を追加するだけ！ 
  //object-position: 30% 0%;
  display: block;
  margin: auto;
}*/

.staffbox{
	margin-top: 100px;
	margin-bottom: 100px;
	width:100%;
	justify-content: center;
	display: grid;
	grid-gap: 5px;
	grid-template-columns: repeat(auto-fit,380px);

}
.staff1{
	border:2px solid #dfdfdf;
	border-radius: 3px;
	margin: 5px;
	padding: 8px;
}

.name{
	font-size: 23px;
	font-weight: 800;
	padding-left:20px;
	padding-top: 20px;
	letter-spacing: 5px;
}
.syokusyu{
	padding-left: 20px;
	font-size:15px;
	font-weight: 700;
}
.maincom{
	font-size: 18px;
	font-weight: 900;
	line-height: 20pt;
	padding-left:5px;
	padding-top: 17px;
	color: #0058a7;
	letter-spacing: 3px;
}
.com{
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	padding-left: 5px;
	padding-top: 15px;
	letter-spacing: 1px;
}

@media screen and (max-width:768px){
    /*タブレット/スマートフォン用*/
    main {
        padding-top:0;
    }
}

@media screen and (max-width: 320px){
.staffbox{
	grid-template-columns: repeat(auto-fill,320px);
	}
.st1 img {
  width: 300px;
  height: 300px;
  object-fit: cover; /* この一行を追加するだけ！ */
  object-position: 50% 50%;
  display: block;
  margin: auto;

  display: block;
  transition-duration: 0.8s;	/*変化に掛かる時間*/
	}
}