@charset "UTF-8";
/* マンジャロ: consult Figma 112:2025 (1360x400 フル幅) */
.mj-main .mj-consult {
  position: relative;
  display: block;
  width: 100%;
  height: 400px;
  margin: 0 0 56px;
  overflow: hidden;
  background: #fff;
  color: var(--glp-text);
}
.mj-main .mj-consult__photo {
  position: absolute;
  top: 0;
  left: 56.88%;
  width: 44.16%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* 写真の左端を白へなじませる */
.mj-main .mj-consult::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 57.8%, rgba(255, 255, 255, 0) 62.8%);
  pointer-events: none;
}
.mj-main .mj-consult__leaf {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 362px;
  height: 400px;
  max-width: none;
  object-fit: cover;
  opacity: 0.8;
}
.mj-main .mj-consult__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 772px;
  height: 100%;
  margin-left: 78px;
}
.mj-main .mj-consult__title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--glp-font-mincho);
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.7;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(95deg, #1b6a78 0%, #2f8e9d 50%, #1b6a78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mj-main .mj-consult__title .l1,
.mj-main .mj-consult__title .l2 { display: block; }
.mj-main .mj-consult__title .lg { font-size: 36px; }
.mj-main .mj-consult__title .sm { font-size: 32px; }
.mj-main .mj-consult__text {
  min-width: 100%;
  margin: 0;
  font-family: "Noto Serif JP", var(--glp-font-mincho), serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0.8px;
  white-space: nowrap;
  color: var(--glp-text);
}

@media screen and (max-width: 768px) {
  .mj-main .mj-consult { height: auto; margin-bottom: 40px; }
  .mj-main .mj-consult__photo {
    position: relative;
    left: auto;
    width: 100%;
    height: 220px;
    object-position: 60% center;
  }
  .mj-main .mj-consult::before { display: none; }
  .mj-main .mj-consult__leaf { width: 140px; height: 154px; }
  .mj-main .mj-consult__inner {
    width: auto;
    height: auto;
    margin: 0;
    padding: 24px 16px 28px;
    gap: 16px;
    align-items: stretch;
  }
  .mj-main .mj-consult__title { white-space: normal; letter-spacing: 1px; line-height: 1.6; }
  /* SP の文字サイズを既存ページ（genetic_testing 系）にそろえる */
  .mj-main .mj-consult__title .lg { font-size: 18px; }
  .mj-main .mj-consult__title .sm { font-size: 16px; }
  .mj-main .mj-consult__text { font-size: 13px; line-height: 1.9; letter-spacing: 0.4px; white-space: normal; }
  .mj-main .mj-consult__text br { display: none; }
}

/* 1360px 未満〜タブレット: 写真が幅に比例して左へ寄り、1行固定の本文が写真に重なるため、本文を写真の左（白地）に収めて折り返す */
@media screen and (min-width: 769px) and (max-width: 1359px) {
  .mj-main .mj-consult { height: auto; min-height: 400px; }
  .mj-main .mj-consult__inner {
    width: calc(58% - 98px);
    min-height: 400px;
    padding: 40px 0;
  }
  /* 見出しは行内で折り返さず、幅に合わせて字を縮める（1360px で Figma の 36 / 32px） */
  .mj-main .mj-consult__title .lg { font-size: clamp(26px, 2.6vw, 36px); }
  .mj-main .mj-consult__title .sm { font-size: clamp(23px, 2.35vw, 32px); }
  .mj-main .mj-consult__text { min-width: 0; white-space: normal; }
  .mj-main .mj-consult__text br { display: none; }
}
@media screen and (min-width: 769px) and (max-width: 1021px) {
  .mj-main .mj-consult__inner { width: calc(58% - 48px); margin-left: 32px; }
  .mj-main .mj-consult__text { font-size: 15px; line-height: 28px; }
}
