@charset "UTF-8";
/* CSS Document */
.staff-top {
  margin-bottom: 146px;
}
.staff-top_image {
  margin: 200px auto 0;
  border-radius: 56px;
}
.service-image {
  width: 80%;
  border-radius: 56px;
}
.service-image img {
  width: 100%;
}
.top-wrap {
  max-width: 1200px;
  padding-top: 57px;
  margin: 0 auto;
}
.top-wrap img {
  width: 374px;
  padding-bottom: 75px;
}
@media screen and (min-width: 676px) {
  .staff-image_sp {
    display: none;
  }
}
@media screen and (max-width: 676px) {
  .service-image {
    display: none;
  }
  .staff-top_image {
    margin-top: 50px;
  }
  .staff-image_sp {
    width:90%;
    border-radius: 30px;
  }
  .staff-image_sp img {
    width: 100%;
  }
  .top-wrap {
    width:70%;
    padding-top: 10px;
  }
  .top-wrap img {
    width: 100%;
    padding-bottom: 40px;
  }
}
/*項目*/
.modal {
  
}
.modal__cards {
 width: 100%;
 display: flex;
  flex-wrap: wrap;
  gap: 12.5%;
}
.inner  {
  width: min(100%, 1120px);
  margin: 0 auto;
}
.O {
  font-size: 15px;
  color: #3f96d2;
  padding-top: 10px;
}
.name {}
.hurigana {
  font-size: 13px;
  color: #b5b5b5;
}
.modal-card__content h3 {
  color: #fff;
  font-size: 13px;
  background-color: #f5b004;
  padding: 10px ;
  margin: 10px 80px 90px;
  border-radius: 30px;
}

.modal__card_wrap {
  width: 25%;
}

.modal__card {
  width: 100%;
}


.modal-card__image {
  width: 100%;
}

.modal-card__image img {
  max-width:100%;
  height: auto;
 border-radius: 40px;
}

/* モーダルを開くボタン */
.modal__trigger {
  cursor: pointer;
}
/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}
.modal__layer {
  height: 100%;
  background: rgba(50, 50, 50, .85);
  cursor: pointer;
}
.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
 
  padding: 20px;
  background: #fff;
  border-radius: 88px;
}
.modal__inner {
  position: relative;
  padding: 60px 150px 60px 60px;
}
/* モーダルを閉じるボタン */
.modal__close {
  position: absolute;
  top: 30px;
  right: 90px;
  width: 44px;
  height: 44px;
  background: #f5b004;
  cursor: pointer;
  transition: opacity .6s;
  border-radius: 50%;
}
.modal__close:hover {
  opacity: .6;
}
.modal__close:before, .modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 3px;
  border-radius: 30%;
  background: #fff;
  content: '';
}
.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* モーダル内のコンテンツ */
.modal__content {
  display: flex;
  justify-content: center;
}
.modal__content img {
  width: 230px;
  height: 230px;
  padding-right: 50px;
}
.modal__flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.modal__staff {
  position: relative;
  padding-left: 25px;
  padding-bottom: 30px;
}
.modal__staff::before {
  position: absolute;
  content: '●';
  color: #f5b004;
  right: 74%;
}
.modal__job {
  color: #3f96d2;
  padding-bottom: 30px;
}
.modal__title {
  font-size: 30px;
  padding-bottom: 6px;
}
.modal__hurigana {
  color: #acacac;
}
.modal__text {
  margin-top: 30px;
  line-height: 2.5;
  font-size: 15px;
  text-align: left;
  max-width: 737px;
}
@media screen and (max-width: 676px) {
  .modal__cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:13%;
  }
  .modal-card__image img {
    width: 100%;
    
    border-radius: 10px;
  }
  .modal-card__content h3 {
    font-size: 10px;
    margin: 10px 20px 30px;
    padding: 7px 30px;
  }
  .modal__card_wrap{
    width: 40%;
  }
  .O {
    font-size: 11px;
  }
  .name {
    font-size: 13px;
  }
  .hurigana {
    font-size: 10px;
  }
  .modal__title {
    font-size: 15px;
    padding-bottom: 0;
  }
  .modal__content img {
    width: 87px;
    height: 87px;
    padding-right: 10px;
   
  }
  .modal__container {
    width: 87%;
    
    border-radius: 28px;
    top: 45%;
  }
  .modal__staff {
    font-size: 10px;
    padding-bottom: 0;
    padding-left: 16px;
  }
  .modal__job {
    font-size: 10px;
    padding-bottom: 0;
    text-align: left;
  }
  .modal__hurigana {
    font-size: 10px;
  }
  .modal__inner {
    padding: 10px 20px 20px;
  }
  .modal__text {
    margin-top: 0;
    font-size: 12px;
    overflow-y: scroll;
    height: 336px;
  }
  .modal__close {
    top: 0px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
}