@charset "utf-8";

/* 基本設定 */
.closeModal {
  display: none;
}
#member {
    padding: 0 15px;
    margin: 200px auto;
    font-size: 20px;
    font-weight: 300;
    line-height: 2;
}

#member h2 {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 30px;
    text-decoration: underline;
    font-weight: 300;
    margin-bottom: 130px;
    margin-top: 80px;
}
.member-box {
    max-width: 1830px;
    margin: 0 auto;
    gap: 30px 10px;
    flex-wrap: wrap;
}
.member-list {
    width: calc(100% / 3 - 6.66666667px);
    position: relative;
}
.member-img {
  position: relative;
}
.member-text {
  margin-top: 10px;
  border-left: 4px solid #000;
  padding-left: 10px;
}
.kata {
    font-size: 14px;
}
.name-j {
    font-size: 16px;
    line-height: 1.2;
}
.name-a {
    font-size: 14px;
}

.detail button {
    transition: 0.2s;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    line-height: 1.3;
    
}
.detail button p {
  position: relative;
  font-size: 16px;
}
.detail button span {
  position: absolute;
  bottom: -12px;
  left: 0;
    color: #fff;
    background: #000;
    padding: 3px 5px;
    line-height: 1;
    display: inline;
    font-weight: 100;
    font-size: 20px;
}
.detail button span img {
    width: 6px;
    margin-left: 5px;
    margin-bottom: 5px;
}
.detail button:hover {
    opacity: 1;
}

/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 999; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 40%;
  color: #fff;
  max-width: 1300px;
}
.modalContents {
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

/* Slider */
.out{
    position: relative;
    height: auto;
}
.modalWrapper {
  padding: 100px 10px;
  height: 100%;
  overflow: scroll;
}
.modal-slider {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.modal-text {
    width: 100%;
    margin: 0 auto;
}
.modal-kata,
.modal-name-a {
    font-size: 17px;
}
.modal-name-j {
    font-size: 28px;
}
.modal-member-text {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 50px;
}
.pnavi {
    justify-content: space-between;
}
.pnavlink {
    align-items: center;
}
.pnavlink p {
    font-size: 20px;
    line-height: 1.5;
    padding: 0 10px;
}
.pnavlink p span {
    font-size: 14px;
    display: block;
}
.pnavlink img {
    width: 30px;
}

@media screen and (max-width: 1200px) {
    #member {
        font-size: 16px;
    }
    #member h2 {
        font-size: 25px;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 768px) {
    #member {
        margin-top: 100px;
        font-size: 15px;
    }
    #member h2 {
        font-size: 24px;
        margin-bottom: 50px;
    }
    .member-list {
      width: 100%;
    }
    .member-text {
      border-left: 3px solid #000;
    }
    .kata {
        font-size: 12px;
    }
    .name-j {
        font-size: 14px;
    }
    .name-a {
        font-size: 12px;
    }
    .modalWrapper {
      width: 90%;
      padding: 50px 15px;
    }
    .modalContents {
      display: block;
    }
    .modal-slider {
      width: 100%;
    }
    .modal-text {
      width: 100%;
    }
    .modal-member-text {
      font-size: 14px;
      margin-top: 15px;
      margin-bottom: 30px;
    }
    .modal-kata,
    .modal-name-a {
        font-size: 15px;
    }
    .modal-name-j {
        font-size: 22px;
    }
    .pnavlink img {
      width: 15px;
    }
    .pnavlink p {
      padding: 0 5px;
      font-size: 15px;
    }
    .pnavlink p span {
      font-size: 12px;
    }
    .closeModal {
      position: absolute;
      top: 1.5rem;
      right: 1rem;
      cursor: pointer;
      display: inline-block;
      vertical-align: middle;
      color: #fff;
      line-height: 1;
      width: 2em;
      height: 0.1em;
      background: currentColor;
      transform: rotate(45deg);
    }
    
    .closeModal::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: inherit;
      border-radius: inherit;
      transform: rotate(90deg);
    }

}

/* 2024.06.04 SP時のアローアイコン追加 */
.member-text .detail-btn {
  display: none;
}
@media screen and (max-width: 768px){
  .member-text {
    position: relative;
  }
  .member-text .detail-btn {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: absolute;
    right: 10px;
    bottom: -6px;
    width: calc(100% - 10px);
    height: calc(100% + 6px);
    font-size: 12px;
    text-align: right;
  }
}

.name--gray {
  color: #808080;
}
.name--old {
  font-size: 0.7em;
}