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

/*************************** トップページ ***************************/
/***************************
 ** スタッフリスト
 */
.staff_list > li {
  padding: 4rem 0;
}

.staff_list > li:nth-child(odd) {
  background: url("../img/bg_diagonal_grid.png");
  background-size: 100% auto;
}

.shop_name {
  padding: 0 0.5rem 0.5rem;
  border-bottom: 1px solid #000;
  margin-bottom: 1.5rem;
}

.shop_name span {
  font-size: 1.25rem;
  font-weight: bold;
}

.staff_deatil_list {
  justify-content: space-between;
  flex-wrap: wrap;
}

.staff_deatil_list li {
  flex-basis: 23%;
  width: 23%;
  text-align: center;
}

.staff_deatil_list li:not(:nth-child(4n)) {
  margin-right: 2.6%;
}

.staff_deatil_list:before{
  content:"";
  display: block;
  width:23%;
  order:1;
}
.staff_deatil_list:after{
  content:"";
  display: block;
  width:23%;
}

.staff_deatil_list li a {
  color: #000;
  text-decoration: none;
}

.staff_deatil_list li p {
  margin-top: 0.5rem;
}

.staff_deatil_list li p span {
  display: block;
  font-weight: bold;
}

/* 画像のホバーエフェクト */
.adjust_box {
  position: relative;
  width: 100%;
  height: auto;
  /*background: #EEE; */
}
.box_1x1:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.adjust_inner {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  border: 2px solid transparent;/*hover*/
  transition: all .2s;/*hover*/
}

.adjust_inner img {
  width: 100%;
}

.adjust_inner::before,
.adjust_inner::after {
  position: absolute;
  z-index: 2;
  content: '';
  width: 0;
  height: 0;
  border: 2px solid transparent;
}
.adjust_inner::before {
  top: -2px;
  left: -2px;
}
.adjust_inner::after {
  bottom: -2px;
  right: -2px;
}
.adjust_inner:hover {
  color: #000;
  filter: grayscale(0);
}
.adjust_inner:hover::before,
.adjust_inner:hover::after {
  width: 100%;
  height: 100%;
}
.adjust_inner:hover::before {
  border-bottom-color: #000;
  border-left-color: #000;
  transition: height .3s, width .3s .3s;
}
.adjust_inner:hover::after {
  border-top-color: #000;
  border-right-color: #000;
  transition: height .3s, width .3s .3s;
}

@media screen and (max-width: 736px) {
  .staff_list > li {
    padding: 2.5rem 0;
  }

  .shop_name {
    font-size: 0.75rem
  }

  .staff_deatil_list li {
    flex-basis: auto;
    width: 100%;
  }

  .staff_deatil_list li:not(:nth-child(4n)) {
    margin-right: 0;
  }

  .staff_deatil_list li:not(:last-child) p {
    margin-bottom: 2rem;
  }

  /* 画像のホバーエフェクト */
  .adjust_box {
    width: 70%;
    margin: 0 auto;
  }

  .adjust_inner {
    border: none;
  }

  .adjust_inner::before,
  .adjust_inner::after {
    display: none;
  }
}


/*************************** スタッフ詳細ページ ***************************/
.staff_ttl {
  border-left: 5px solid #000;
  padding-left: 1rem;
  line-height: 1.4;
  margin-bottom: 1.75rem;
}

.staff_ttl span {
  display: block;
  font-size: 1.875rem;
  font-weight: bold;
}

.staff_profile {
  margin-bottom: 3rem;
}

.staff_profile_img,
.staff_profile_text {
  flex-basis: 48%;
}

.staff_profile_img {
  margin-right: 4%;
}

.staff_profile_text dl dt {
  display: inline-block;
  background: #eeeeee;
  line-height: 1.6;
  padding: 0 0.5rem;
  margin-bottom: 0.8rem;
}

.staff_profile_text dl dd {
  margin-bottom: 2rem;
}

.staff_profile_text .link_btn:first-of-type {
  margin-bottom: 0.8rem;
}

@media screen and (max-width: 736px) {
  .staff_ttl span {
    font-size: 1.5rem;
  }

  .staff_profile {
    margin-bottom: 2rem;
  }

  .staff_profile_img,
  .staff_profile_text {
    flex-basis: auto;
  }

  .staff_profile_img {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .staff_profile_img img {
    width: 70%;
  }
  
  .staff_profile_text dl {
    font-size: 0.875rem;
  }

  .staff_profile_text dl dd {
    margin-bottom: 1.5rem;
  }
}
















