/* =============================================
   CEO Message — shared component
   Display toggle + SP BEM styles
   ============================================= */

/* ===== Display Toggle ===== */
.sd[data-s-af9c1f44-9c77-4084-bf1a-84df3a5ed542] {
  display: none;
}

@media screen and (max-width: 480px) {
  .sd[data-s-af9c1f44-9c77-4084-bf1a-84df3a5ed542] {
    display: flex !important;
    flex-direction: column;
  }
}

/* PC CEO portrait — keep visible above 480px */
@media screen and (min-width: 481px) {
  .sd[data-s-cc758aca-eceb-41d9-a1d7-bd28d9020dac] {
    display: flex !important;
  }
}

/* ===== SP BEM Styles ===== */

.ceo-msg__heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.ceo-msg__body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin: 0;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.ceo-msg__body p {
  margin: 0;
}

.ceo-msg__ceo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.ceo-msg__ceo-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 15px;
  color: #333;
  margin: 0;
}

.ceo-msg__ceo-sign {
  width: 130px;
  height: auto;
}

@media screen and (max-width: 480px) {
  .ceo-msg__heading {
    font-size: 28px;
    line-height: 1.5;
  }

  .ceo-msg__body {
    font-size: 13px;
  }

  .ceo-msg__body p {
    font-size: 16px;
  }
}
