@charset "UTF-8";
/* 薬剤ページ: 基本情報の下のブロック（リベルサス・オゼンピック・メトホルミン・プラオベス。マンジャロは読み込まない）
 * 3枚カード .mj-steps（Figma リベルサス 4222:8418 ほか）、用量ステップ表 .mj-basic__diff--dose、比較表の注記 .mj-compare__note
 */

/* 3枚カード: カード 280×256（見出し50＋画像150＋説明56）、カードの間に三角（13×36）を挟む */
#mj-basic .mj-steps {
  display: flex;
  justify-content: space-between;
  gap: 45px; /* Figma: カード→16px→三角13px→16px→カード */
  margin: 0;
  padding: 0;
  list-style: none;
}
#mj-basic .mj-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--glp-teal);
  border-radius: 4px;
  background: #f9f9f9;
}
#mj-basic .mj-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 125px; /* 画像の縦中央 */
  right: -30px;
  border-style: solid;
  border-width: 18px 0 18px 13px;
  border-color: transparent transparent transparent #a6cfcd;
  transform: translateY(-50%);
}
#mj-basic .mj-steps__head {
  margin: 0;
  padding: 10px 8px;
  background: var(--glp-teal);
  border-radius: 3px 3px 0 0;
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: .05em;
  text-align: center;
}
#mj-basic .mj-steps__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 150;
  object-fit: cover;
}
#mj-basic .mj-steps__text {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 0;
  padding: 8px 4px; /* Figma: 「コップ半分（約120mL）以下の水で飲む」が1行に収まる幅 */
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .8px;
  text-align: center;
  color: #000;
}
#mj-basic .mj-steps--sm .mj-steps__head { font-size: 20px; }

/* 用量ステップ表: 列幅 250 / 250 / 417、行高 42 */
#mj-basic .mj-basic__diff--dose th:nth-child(1),
#mj-basic .mj-basic__diff--dose th:nth-child(2) { width: 27.3%; }
#mj-basic .mj-basic__diff--dose th,
#mj-basic .mj-basic__diff--dose td { padding: 8.4px 8px; }
#mj-basic .mj-basic__note--right { text-align: right; }

/* 比較表の下の注記 */
#mj-compare .mj-compare__note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 22.2px;
  letter-spacing: 1.44px;
  color: var(--glp-text);
}

@media screen and (max-width: 768px) {
  #mj-basic .mj-steps { flex-direction: column; gap: 36px; }
  #mj-basic .mj-steps__item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -28px;
    left: 50%;
    border-width: 13px 18px 0;
    border-color: #a6cfcd transparent transparent;
    transform: translateX(-50%);
  }
  #mj-basic .mj-steps__head { font-size: 20px; padding: 8px; line-height: 26px; }
  #mj-basic .mj-steps--sm .mj-steps__head { font-size: 16px; }
  #mj-basic .mj-steps__text { font-size: 13px; }
  /* 3列なので横スクロールさせず、ポイント列を折り返す */
  #mj-basic .mj-basic__diff--dose { min-width: 0; }
  #mj-basic .mj-basic__diff--dose th:nth-child(1),
  #mj-basic .mj-basic__diff--dose th:nth-child(2) { width: 24%; }
  #mj-basic .mj-basic__note--right { text-align: left; }
  #mj-compare .mj-compare__note { font-size: 11px; letter-spacing: .6px; line-height: 1.8; }
}
