@charset "UTF-8";
/* ====================
Layout
 ==================== */
[data-modal-type="template"] .m-modal__content {
  max-width: 800px;
}

[data-modal-type="template"] .m-modal__close::before {
  content: "COMMENT";
}

/* ====================
Project
 ==================== */
.p-staff {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
}

.p-staff__container {
  position: relative;
  margin: 0 auto;
  padding: 40px 0;
  width: 73.143%;
}

.p-staff__inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.p-staff_in {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.p-staff_in + .p-staff_in {
  margin-top: 40px;
}

.p-staff_in__cap {
  display: block;
  position: relative;
  margin-right: 54px;
  min-width: 138px;
  font-size: 48px;
  line-height: 1;
  font-family: 'Cormorant Infant', YakuHanMP_Noto, 'Noto Serif JP', "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ 明朝", "ＭＳ Ｐ明朝", "Noto Serif JP", serif;
}

.p-staff_in__inner {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
}

.p-staff_in__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 0 auto;
  width: 100%;
}

.p-staff_in__list-item {
  display: block;
  position: relative;
  width: 48%;
}

.p-staff_data {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.p-staff_data__cap {
  display: inline-block;
  position: relative;
  margin-bottom: 8px;
  background: #fff;
  padding: 1px 4px 2px;
  color: #000;
  line-height: 1;
}

.p-staff_data__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.p-staff_data__name-text {
  display: block;
  position: relative;
  font-size: 34px;
}

.p-staff_data__name-comment {
  display: block;
  position: relative;
  margin-left: 18px;
}

.p-staff_data__comment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: color 0.8s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition: color 0.8s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  background: #000;
  padding: 6px 16px;
  color: #fff;
  font-family: 'Cormorant Infant', YakuHanMP_Noto, 'Noto Serif JP', "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ 明朝", "ＭＳ Ｐ明朝", "Noto Serif JP", serif;
}

[data-ua="pc"] .p-staff_data__comment:hover {
  background: #fff;
  color: #a20000;
}

.p-staff_data__note {
  display: block;
  position: relative;
  margin-top: 6px;
  font-size: 15px;
}

.p-modal_comment {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  font-size: 16px;
  text-align: left;
}

.p-modal_comment__header {
  display: block;
  position: relative;
  margin-right: 42px;
  width: 300px;
}

.p-modal_comment__inner {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
}

.p-modal_comment__cap {
  display: inline-block;
  position: relative;
  margin-bottom: 12px;
  background: #fff;
  padding: 3px 8px;
  color: #a20000;
  font-size: 26px;
}

.p-modal_comment__name {
  display: block;
  position: relative;
  font-size: 56px;
  line-height: 1;
}

.p-modal_comment__text {
  margin-top: 40px;
  border-top: 1px solid #fff;
  padding-top: 40px;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 1.5px;
}

/* ====================
COMPONENT
 ==================== */

@media screen and (max-width: 960px){
  .p-staff__container {
    padding: 18px 0;
    width: 85.333%;
  }
  .p-staff_in + .p-staff_in {
    margin-top: 60px;
  }
  .p-staff_in__cap {
    margin: 0 auto 22px;
    width: 100%;
    font-size: 20px;
  }
  .p-staff_in__inner {
    padding-left: 20px;
  }
  .p-staff_in__list-item {
    width: 100%;
  }
  .p-staff_in__list-item + .p-staff_in__list-item {
    margin-top: 20px;
  }
  .p-staff_data__cap {
    margin-bottom: 5px;
    padding: 0 2px 1px;
    font-size: 12px;
  }
  .p-staff_data__name-text {
    font-size: 18px;
  }
  .p-staff_data__name-comment {
    margin-left: 12px;
  }
  .p-staff_data__comment {
    padding: 3px 10px;
    font-size: 10px;
  }
  .p-staff_data__note {
    font-size: 10px;
  }
  .p-modal_comment {
    padding-left: 16%;
  }
  .p-modal_comment__header {
    margin: 0 auto 28px;
    width: 70%;
  }
  .p-modal_comment__cap {
    margin-bottom: 4px;
    padding: 2px 5px;
    font-size: 12px;
  }
  .p-modal_comment__name {
    font-size: 28px;
  }
  .p-modal_comment__text {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 13px;
  }
}

@media screen and (min-width: 961px){
  .p-staff_in {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .p-staff_in__inner {
    padding-top: 10px;
  }
  .p-staff_in__list-item {
    margin: 0 4% 38px 0;
  }
  .p-staff_in__list-item:nth-child(2n) {
    margin-right: 0;
  }
  .p-modal_comment {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
