@charset "utf-8";
/*==========================================

===========================================*/

/*===== カテゴリーの絞り込み ==========================*/
.staff_cat_nav {
  display: flex;
  align-items: center;
  margin: 10px auto 0 auto;
  padding: 0 3%;
  max-width: 1000px;
}
.staff_cat_nav_txt {
  font-size: 16px;
  font-weight: bold;
  margin: 0 10px 0 0;
  letter-spacing: 0.075em;
}
.staff_cat_nav_ul {
  display: flex;
  align-items: center;
  height: 140px;
}
.staff_cat_nav_li a {
  font-size: 16px;
  font-weight: bold;
  width: 130px;
  padding: 0 10px;
  margin: 0 5px;
  border: solid 2px #009ed2;
  text-align: center;
  display: block;
}
@media all and (-ms-high-contrast: none){
  .staff_cat_nav_li a {
  padding: 3px 10px 0;
  }
}
.staff_cat_nav_li a:hover {
  color: #fff;
  background: #009ed2;
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .staff_cat_nav {
  display: block;
  margin: 30px auto 50px;
  }
  .staff_cat_nav_txt {
    margin: 0 0 20px 0;
  }
  .staff_cat_nav_ul {
    height: auto;
  }
  .staff_cat_nav_li a {
    width: auto;
  }
}

.staff_line {
  position: relative;
  width: 80%;
  height: 98px;
  padding-left: 24px;
  background: #80cee8;
  color: #FFF;
  z-index: 10;
}
.staff_line:after {
  position: absolute;
  top: 0;
  right: -70px;
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 98px 70px 0 0;
  border-color: #80cee8 transparent transparent;
}

@media screen and (max-width: 767px) {
  .staff_line {
    width: 100%;
  }
	.staff_line:after {
		display: none;
	}
}


/*===== 一覧 ==========================*/
.content.staff {
  margin: -70px 0 0 0;
  background: url(/wordpress/wp-content/themes/h-asahi/img/staff/staff_bg.jpg) #c0ddf3 bottom no-repeat;
}
@media screen and (min-width: 768px) {
  .content.staff {
    padding: 0 3%;
  }
}
.staff_inner {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 10% 100px;
  position: relative;
  background: rgba(255,255,255,0.5);
}
@media screen and (max-width: 767px) {
  .staff_inner {
    width: 94%;
  padding: 10px 0 100px;
  }
}

.staff_flex {
  display: flex;
  flex-wrap: wrap;
  z-index: 20;
  position: relative;
  /*justify-content: space-between;*/
}
.staff_item {
  /*flex-basis: 210px;*/
  flex-basis: 172px;
  margin: 0 12px 50px;
  width: 100%;
}
.staff_flex .staff_item:hover {
  opacity: 1 ;
}
.staff_item_img {
  position: relative;
}
.staff_item_img_inner {
  position: relative;
  width: 92%;
  height: 0;
  overflow: hidden;
  margin: 0 4% 0 4%;
  padding-bottom: 100%;
}
.staff_item_img_inner::after{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  z-index: 100000;
  position: absolute;
  top: 0;
  left: 0;

}
.staff_item_img_inner img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: initial;
  width: 100%;
  /*min-width: 190px;*/
}

.staff_item_hide {
  color: #fff;
  padding: 0 10px 0 0;
  position: absolute;
  bottom: 0;
  width: 103.5%;
  margin: 0 0 0 -3.5%;
  background-color: rgba(0,158,210,0.5);
  transition: .3s;
  opacity: 1;
  height: 0;
}
.staff_item:hover .staff_item_hide {
  opacity: 1;
  height: 70px;
}


.staff_item_first {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2em;
  display: block;
  text-align: right;
  margin: 16px 0 0 0;
}
.staff_item_last {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2em;
  display: block;
  text-align: right;
  margin: 0 0 10px 0;
}
.staff_item_txt {
  background: #009ed2;
  color: #fff;
  position: relative;
  height: 87px;
}

.staff_item_txt:after {
  position: absolute;
  top: 0;
  left: -8px;
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 87px 8.2px 0 0;
  border-color: #009ed2 transparent transparent;
  transform: scale(-1, 1);
}

.staff_item_post {
  font-size: 16px;
  font-weight: 500;
  display: block;
  text-align: center;
  line-height: 1.5em;
  padding: 10px 0 0 0;
  height: 34px;
}
.staff_item_name {
  font-size: 25px;
  font-weight: bold;
  display: block;
  text-align: center;
  padding: 0 0 10px 0;
}

@media screen and (max-width: 580px) {
  .staff_item {
    flex-basis: 42%;
    margin: 0 4% 50px; 
 }
}
.staff_cat_nav_li .active {
  color: #fff;
  background: #009ed2;
}
@media screen and (max-width: 480px) {
.staff_item_name {
font-size: 20px;
}
  
}
@media screen and (max-width: 400px) {
.staff_item_post {
  font-size: 13px;
}
}