@charset "UTF-8";
/* マンジャロ: access Figma 112:1970 (980x640) */
.mj-main .mj-access {
  display: block;
  padding: 0;
  background: var(--glp-green-bg);
  font-family: var(--glp-font-jp);
  color: var(--glp-text);
}
.mj-main .mj-access .mj-sec-head {
  display: flex;
  flex-direction: column;
  gap: 3.27px;
  height: 100px; /* Figma: 上下 16.33px＋英字 22.4px＋和題 41.6px */
  margin-bottom: 16px;
  padding: 16.33px 8.17px;
  border-bottom: 1px solid #5b6b63;
}
.mj-main .mj-access .mj-sec-head .en {
  display: block;
  margin-bottom: 0;
  font-family: var(--glp-font-en);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.7px;
  color: var(--glp-text);
}
.mj-main .mj-access .mj-sec-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-main .mj-access__cards {
  display: flex;
  flex-direction: column;
  gap: 17px; /* Figma: カード間隔（163px＋17px＝180px ピッチ） */
}
.mj-main .mj-access__card {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px; /* Figma: 本文の左端 234px */
  min-height: 163px;
  padding: 21px 24px 19px 24px;
  border-radius: 3px;
  background: #fff;
}
.mj-main .mj-access__photo {
  flex: none;
  width: 188px;
  height: 122px;
  object-fit: cover;
}
.mj-main .mj-access__body {
  flex: 0 1 502px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px; /* Figma: 院名 26px・最寄り 26px・口コミ枠を 4px 間隔で積む */
  min-width: 0;
}
.mj-main .mj-access__name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  min-height: 26px;
  line-height: 25.2px;
  letter-spacing: 0.8px;
  color: #000;
}
.mj-main .mj-access__station {
  min-height: 26px;
  margin: 0;
  font-size: 14px;
  line-height: 25.2px;
  letter-spacing: 0.8px;
}

/* Google 口コミ枠 */
.mj-main .mj-access__review {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  padding: 8px 18px; /* Figma: 枠線込みで高さ 61.6px */
  border: 1px solid #e8e0d4;
  border-radius: 3px;
  background: #f4f8f8;
}
.mj-main .mj-access__review-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.mj-main .mj-access__score {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}
.mj-main .mj-access__score { height: 20px; }
.mj-main .mj-access__score img { width: 19px; height: 20px; }
/* Figma の星（「★★★★☆」の文字＋5つ目の左半分）をアウトライン化した SVG。フォントに依存させない */
.mj-main .mj-access__score .mj-access__stars { flex: none; width: 91px; height: 21px; }
.mj-main .mj-access__num {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #1e1e1e;
}
.mj-main .mj-access__count {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 17px; /* Figma の文字枠 17px（行送り 21.6px の上下を詰めた枠） */
  letter-spacing: 0.8px;
}
.mj-main .mj-access__review--new {
  justify-content: space-between;
  padding: 14px 18px; /* Figma: 渋谷院のカードは 164px */
}
.mj-main .mj-access__open {
  margin: 0;
  font-size: 14px;
  line-height: 25.2px;
  letter-spacing: 0.8px;
  color: #e86e63;
}
.mj-main .mj-access__gbtn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 163px;
  padding: 5px 22px 6px;
  border: 1px solid #6e6e6e;
  border-radius: 3px;
  background: #fff7cd;
  font-size: 11.4px;
  line-height: 20.6px;
  letter-spacing: 0.65px;
  color: #6e6e6e;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.mj-main .mj-access__gbtn:hover { opacity: 0.75; }

.mj-main .mj-access__more {
  flex: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  width: 197px;
  padding: 3px 12px;
  border: 1px solid var(--glp-teal);
  border-radius: 5px;
  font-size: 13.2px;
  font-weight: 500;
  line-height: 23.8px;
  letter-spacing: 1.06px;
  color: var(--glp-teal);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.mj-main .mj-access__more:hover { background: var(--glp-teal-bg); }
.mj-main .mj-access__more img { width: 30px; height: auto; }

@media screen and (max-width: 768px) {
  .mj-main .mj-access { padding-left: 16px; padding-right: 16px; }
  .mj-main .mj-access .mj-sec-head { height: auto; padding: 12px 4px; }
  .mj-main .mj-access .mj-sec-head .ja { font-size: 20px; }
  .mj-main .mj-access .mj-sec-head .en { font-size: 12px; }
  .mj-main .mj-access__cards { gap: 12px; }
  .mj-main .mj-access__card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .mj-main .mj-access__photo { width: 100%; height: auto; aspect-ratio: 188 / 122; }
  .mj-main .mj-access__body { flex: none; }
  /* SP の文字サイズを既存ページ（genetic_testing 系）にそろえる */
  .mj-main .mj-access__name { font-size: 15px; }
  .mj-main .mj-access__num { font-size: 16px; }
  .mj-main .mj-access__station { font-size: 13px; line-height: 1.8; }
  .mj-main .mj-access__review { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .mj-main .mj-access__count { line-height: 1.6; }
  .mj-main .mj-access__review--new { align-items: stretch; text-align: center; }
  .mj-main .mj-access__gbtn { min-width: 0; }
  .mj-main .mj-access__more { align-self: stretch; width: auto; }
}

/* タブレット幅（769〜1021px）: 口コミ枠が狭く、星と点数・「Google口コミを見る」が枠からはみ出すため縦に積む */
@media screen and (min-width: 769px) and (max-width: 1021px) {
  .mj-main .mj-access__review { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mj-main .mj-access__review-info { flex: none; align-self: stretch; }
}
