@charset "UTF-8";
/* マンジャロ: 料金について（Figma 112:1577）  接頭辞 .mj-price */

#mj-price .mj-price__head {
  margin: 0 0 20px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--glp-teal);
}
#mj-price .mj-price__head .en {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1.4px;
  font-weight: 400;
  color: var(--glp-text);
}
#mj-price .mj-price__head .ja {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--glp-font-mincho);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 1.3px;
  color: var(--glp-text);
}

/* 上段パネル */
#mj-price .mj-price__panel {
  position: relative;
  display: block;
  min-height: 500px;
  padding: 20px 21px;
  background: #fff;
  border-radius: 4px;
  font-family: var(--glp-font-jp);
}
#mj-price .mj-price__doctor {
  position: absolute;
  top: 20px;
  right: 51px;
  width: 271px;
  height: auto;
  max-width: none;
  pointer-events: none;
}
#mj-price .mj-price__title {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--glp-font-mincho);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 1.2px;
  color: var(--glp-teal);
}
#mj-price .mj-price__lead {
  position: relative;
  display: block;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 25.2px;
  letter-spacing: .8px;
  color: #000;
}
#mj-price .mj-price__lead p { margin: 0; }

#mj-price .mj-price__cards {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#mj-price .mj-price__card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 224px;
  padding: 27px 6px 37px 8px;
  border: 2px solid var(--glp-teal-title);
  border-radius: 10px;
  /* Figma 112:1595：上下は #e8f4f6 50% と白の中間（不透明度 約 0.76）で、右上の医師写真が透ける。中央 52% だけ白 */
  background: linear-gradient(180deg, rgba(244, 250, 251, .76) 0%, #fff 52%, rgba(243, 249, 250, .78) 100%);
}
#mj-price .mj-price__card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
#mj-price .mj-price__card-head img {
  flex: none;
  width: 84px;
  height: 72px;
}
#mj-price .mj-price__card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 1.2px;
  color: var(--glp-teal);
  white-space: nowrap;
}
#mj-price .mj-price__card-title small { font-size: 20px; }
#mj-price .mj-price__card-text {
  /* Figma: 文字枠 278px を見出し行（290px）の中央に置く → 1行18字で折り返す */
  width: 278px;
  max-width: 100%;
  margin: 0 0 0 6.5px;
  font-size: 14px;
  line-height: 25.2px;
  letter-spacing: .8px;
  color: #000;
}

/* 下段（治療内容・費用など） */
#mj-price .mj-price__notes {
  display: block;
  margin-top: 20px;
  padding: 21px;
  background: #fff;
  border-radius: 3.27px;
  font-family: var(--glp-font-jp);
  color: var(--glp-text);
}
#mj-price .mj-price__label {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 25.2px;
  letter-spacing: .8px;
}
#mj-price .mj-price__note {
  margin: 0;
  font-size: 14px;
  line-height: 25.2px;
  letter-spacing: .8px;
}

/* PC: Figma の枠高（パネル 500px・カード 224px）にそろえる。本文は行送り 25.2px のため内容高が枠よりわずかに大きい */
@media screen and (min-width: 1022px) { /* 本文幅が Figma と同じ 982px になる幅だけ固定する */
  #mj-price .mj-price__panel { height: 500px; }
  #mj-price .mj-price__card { height: 224px; }
}

@media screen and (max-width: 768px) {
  #mj-price .mj-price__head { padding: 12px 4px; margin-bottom: 14px; }
  #mj-price .mj-price__head .en { font-size: 12px; }
  #mj-price .mj-price__head .ja { font-size: 20px; letter-spacing: .8px; }
  #mj-price .mj-price__panel { min-height: 0; padding: 18px 14px; }
  #mj-price .mj-price__doctor { display: none; }
  /* SP の文字サイズを既存ページ（genetic_testing 系）にそろえる */
  #mj-price .mj-price__title { font-size: 17px; margin-bottom: 14px; }
  #mj-price .mj-price__lead { font-size: 13px; line-height: 1.9; margin-bottom: 18px; }
  #mj-price .mj-price__cards { flex-direction: column; gap: 10px; }
  #mj-price .mj-price__card { flex: none; min-height: 0; padding: 18px 14px 20px; }
  #mj-price .mj-price__card-head img { width: 64px; height: auto; }
  #mj-price .mj-price__card-title { font-size: 17px; }
  #mj-price .mj-price__card-title small { font-size: 14px; }
  #mj-price .mj-price__card-text { width: auto; margin-left: 0; font-size: 13px; line-height: 1.9; }
  #mj-price .mj-price__notes { padding: 16px 14px; }
  #mj-price .mj-price__label { font-size: 14px; }
  #mj-price .mj-price__note { font-size: 13px; line-height: 1.9; }
}

/* タブレット幅（769〜1021px）: カード幅が狭くアイコン横の見出しがはみ出す・医師写真が本文に重なるため組み替える */
@media screen and (min-width: 769px) and (max-width: 1021px) {
  #mj-price .mj-price__panel { min-height: 0; }
  #mj-price .mj-price__doctor { display: none; }
  #mj-price .mj-price__lead br { display: none; }
  #mj-price .mj-price__card { padding: 20px 12px 24px; }
  #mj-price .mj-price__card-text { width: auto; margin-left: 0; }
  #mj-price .mj-price__card-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  #mj-price .mj-price__card-head img { width: 64px; height: auto; }
  #mj-price .mj-price__card-title { font-size: 20px; }
  #mj-price .mj-price__card-title small { font-size: 16px; }
}
