@charset "utf-8";

/* new css */
/*===================
Staffページ
===================*/
.staff {
  margin-bottom: clamp(30px, 6vw, 96px);
  color: #000;
  position: relative;
  overflow: hidden;
}
.staff__wrapper {
  margin: 0 clamp(15px, 4.375vw, 70px) 0 clamp(15px, 4.375vw, 70px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.staff__box {
  width: calc(100% / 3);
  /* border-bottom: 1px solid #ccc; */
  position: relative;
}
.staff__box:nth-child(3n) {
  border-right: 1px solid #ccc;
}
.staff__box:last-child {
  border-right: 1px solid #ccc;
}
/* .staff__box:nth-last-child(-n + 3) {
  border-bottom: none; 
} */
.staff__box:nth-child(3n + 1) {
  position: relative;
  z-index: 1;
}

.staff__box:nth-child(3n + 1)::before {
  content: "";
  position: absolute;
  left: -9999px;
  right: -9999px;
  bottom: 0;
  height: 1px;
  background-color: #ccc;
  z-index: -1;
}

.staff__link {
  display: block;
  width: 100%;
  height: 100%;
  padding: clamp(26px, 2.375vw, 38px) clamp(21px, 1.9375vw, 31px);
  transition: 0.5s;
}
/* .staff__link:hover {
    background-color: #f2f0ea;
} */
.staff__pic {
  margin-bottom: clamp(14px, 1.25vw, 20px);
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 123%;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}
.staff__pic .img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  border-radius: 10px;
}
.staff__nameBox {
  padding-bottom: clamp(10px, 1vw, 16px);
  margin-bottom: clamp(10px, 1vw, 16px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3px;
  position: relative;
}
.staff__nameBox::before {
  content: "";
  width: clamp(30px, 2.875vw, 46px);
  height: 1px;
  background: #64625e;
  position: absolute;
  bottom: 0;
  left: 0;
}
.staff__nameLeft {
  max-width: 60%;
}
.staff__name--jp {
  margin-bottom: clamp(2px, 0.625vw, 3px);
  font-size: clamp(16px, 1.3125vw, 21px);
  font-weight: 700;
}
.staff__name--en {
  font-family: century-gothic, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #64625e;
}
.staff__position {
  font-size: 12px;
  font-weight: 300;
}
.staff__txt {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.75;
}

/* モーダル本体↓ */
@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 94%;
  }
}
.remodal {
  padding: 0;
  border-radius: 10px;
  color: #000;
}
.remodal-overlay {
  background: rgba(0, 0, 0, 0.7);
}
.remodal-wrapper {
  padding: 0;
  padding-top: clamp(30px, 8.625vw, 138px);
  padding-bottom: clamp(30px, 8.625vw, 138px);
  padding-left: 15px;
  padding-right: 15px;
}
.remodal-close {
  width: clamp(40px, 5.3125vw, 85px);
  height: clamp(40px, 5.3125vw, 85px);
  top: clamp(16px, 2.5625vw, 41px);
  right: clamp(15px, 3.625vw, 58px);
  left: auto;
}
.remodal-close:before {
  content: "";
  background: url(../imgs_new/staff/modal_close.png) center center / cover
    no-repeat;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: #000;
  /* top: clamp(30px, 2.5625vw, 41px);
    right: clamp(40px, 3.625vw, 58px); */
  left: auto;
}
.modal {
  text-align: left;
}
.modal__head {
  position: relative;
  margin-bottom: clamp(40px, 4.8175vw, 77px);
}
.modal__headPic {
  border-radius: 10px 10px 0 0;
  position: relative;
  /* height: 0; */
  width: 100%;
  /* padding-top: 44%; */
  /* overflow: hidden; */
  /* background-position: center center;
  background-size: cover;
  background-repeat: no-repeat; */
}
.modal__headPic .img {
  border-radius: 10px 10px 0 0;
  /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); */
}
.modal__headingBox {
  /* position: absolute;
    top:36%;
    left: 11%; */
  max-width: 302px;
  position: absolute;
  top: 50%;
  left: 21%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.modal__heading {
  margin-bottom: clamp(10px, 5.75vw, 92px);
  font-size: clamp(14px, 1.625vw, 26px);
  font-weight: 500;
  line-height: 1.75;
}
.modal__position {
  display: block;
  margin-bottom: clamp(18px, 1.6875vw, 27px);
  font-size: 12px;
}
.modal__name--jp {
  margin-bottom: clamp(2px, 0.625vw, 3px);
  font-size: clamp(14px, 1.3125vw, 21px);
  font-weight: 700;
}
.modal__name--en {
  font-family: century-gothic, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #64625e;
}
.modal__wrap {
  max-width: 67%;
  margin: 0 auto;
}
.modal__profile {
  margin-bottom: clamp(23px, 3.5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: clamp(4px, 0.68755vw, 11px);
}
.modal__profileBox {
  display: flex;
  gap: 3%;
}
.modal__profileBox:nth-child(odd) {
  width: 44%;
}

.modal__profileBox:nth-child(even) {
  width: 55%;
}
.modal__profileDt {
  width: 32%;
  min-width: 141px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.75;
}
.modal__profileDd {
  width: 65%;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.75;
  color: #64625e;
}
.modal__contents {
  margin-bottom: clamp(35px, 2.3125vw, 37px);
}
.modal__contents:last-of-type {
  margin-bottom: clamp(50px, 6.75vw, 108px);
}
.modal__pic {
  margin-bottom: clamp(15px, 1.25vw, 20px);
  position: relative;
  /* height: 0; */
  width: 100%;
  /* padding-top: 68%;  */
  /* overflow: hidden; */
}
.modal__pic .img {
  /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); */
}
.modal__ttl {
  margin-bottom: clamp(5px, 0.625vw, 10px);
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.58;
  color: #c65c26;
}
.modal__txt {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 2.375;
}
/* モーダル本体↑ */
@media screen and (max-width: 1280px) {
  .modal__wrap {
    max-width: 94%;
  }
}
@media screen and (max-width: 900px) {
  .staff__wrapper {
    flex-direction: column;
  }
  .staff__box {
    width: 100%;
    max-width: 500px;
    border-right: 1px solid #ccc;
    margin: 0 auto;
    position: relative;
  }

  .staff__box::after {
    content: "";
    position: absolute;
    left: -9999px;
    right: -9999px;
    bottom: 0;
    height: 1px;
    background-color: #ccc;
  }
  .modal__profile {
    flex-direction: column;
  }
  .modal__profileBox:nth-child(odd),
  .modal__profileBox:nth-child(even) {
    width: 100%;
  }
  .modal__profileDt {
    min-width: 140px;
  }
}
@media screen and (max-width: 530px) {
  .modal__headingBox {
    left: 81px;
  }
  .modal__heading {
    font-size: 12px;
  }
}
