/* ===== message.css — message.html 専用スタイル ===== */

/* ----- Head inline ----- */
.offcanvas__menu-wrapper.mean-container { padding-bottom: 0 !important; }
.team__detail p { font-size: 20px; line-height: 1.6; }
.team__detail .team__member-img { padding-top: 80px; height: calc(100vh + 80px); }
.team__detail .team__member-signature { text-align: right; }

/* ----- 小PC (1200px – 1599px) ----- */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .team__detail .sec-title-wrapper.pt-120 {
    padding-top: 160px !important;
  }
  .team__member-name-7 br {
    display: block !important;
  }
}
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .team__detail .sec-title-wrapper.pt-120 {
    padding-top: 160px !important;
  }
}

/* ----- Tablet (576px – 1199px) ----- */
@media only screen and (min-width: 576px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 576px) and (max-width: 1199px) {
  .team__detail {
    text-align: center;
  }
  .team__detail .team__member-img {
    height: auto;
    padding-top: 0;
    margin-top: 100px;
  }
  .team__detail .team__member-img img {
    height: auto;
  }
  .team__detail .sec-title-wrapper.pt-120 {
    padding-top: 40px;
  }
  .team__detail p {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
  }
}

/* ----- Tablet横 (992px – 1199px) — 上記Tabletブロックの後に置いて上書き ----- */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .team__detail .team__member-img {
    margin-top: 10px;
  }
}

/* ----- SP (max-width: 575px) ----- */
@media only screen and (max-width: 575px) {
  .team__detail .team__member-img {
    height: auto;
    padding-top: 0;
    margin-top: 100px;
  }
  .team__detail .sec-title-wrapper.pt-120 {
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .team__detail p {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
  }
  .team__detail .team__member-signature {
    text-align: center;
  }
  .team__detail .team__member-signature img {
    max-width: 160px;
  }
}
