/* ===== 大腸内視鏡検査費用セクション（Figma完全準拠・スマホファースト） ===== */

.lp-price {
  width: 100%;
  padding: 40px 15px;
  background-color: #ffffff;
}

.lp-price__inner {
  max-width: 390px;
  margin: 0 auto;
}

/* === セクションヘッダー === */
.lp-price__header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.lp-price__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  color: #0c62b2;
  margin: 0 0 8px 0;
}

.lp-price__title-dark {
  color: #424a51;
}

.lp-price__title-decoration {
  width: 60px;
  height: 2px;
  background-color: #0c62b2;
  margin: 0 auto;
}

/* === 費用パネル === */
.lp-price__panels {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0;
}

.lp-price__panel {
  position: relative;
  width: 100%;
  max-width: 362px;
  height: 63px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #0c62b2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

/* パネルラベル（左側） */
.lp-price__panel-label {
  position: absolute;
  left: 83px;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 25px;
  color: #0c62b2;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* 縦の区切り線（中央） */
.lp-price__panel-divider {
  position: absolute;
  left: 171px;
  top: 10px;
  width: 1px;
  height: 44px;
  background-color: #d9d9d9;
}

/* 右側コンテナ（バッジ + 金額） */
.lp-price__panel-right {
  position: absolute;
  left: 271px;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* 保険診療バッジ */
.lp-price__panel-badge {
  width: 106px;
  height: 14px;
  background-color: #0c62b2;
  border-radius: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 25px;
  color: #ffffff;
  text-align: center;
  padding-bottom: 1px;
}

/* 費用金額 */
.lp-price__panel-amount {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 25px;
  color: #0c62b2;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* === 注釈 === */
.lp-price__notes {
  width: 100%;
  max-width: 362px;
  margin: 0 auto 32px;
  padding-top: 0;
}

.lp-price__note-line {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  color: #424a51;
  margin: 0;
  text-align: left;
}

/* === 決済方法ボックス === */
.lp-price__payment-box {
  position: relative;
  width: 100%;
  max-width: 362px;
  height: 120px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #0c62b2;
  border-radius: 0;
}

.lp-price__payment-divider {
  position: absolute;
  left: 120px;
  top: 0;
  width: 150px;
  height: 0;
}

.lp-price__payment-divider-line {
  display: block;
  width: 100%;
  height: 1px;
  border-radius: 0;
}

.lp-price__payment-title {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 12px;
  line-height: 20px;
  color: #0c62b2;
  margin: 0;
  text-align: center;
  width: auto;
  max-width: 90%;
  background-color: #ffffff;
  padding: 0 10px;
  white-space: nowrap;
}

.lp-price__payment-logos {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  margin-top: 8px;
}

.lp-price__payment-image {
  width: 100%;
  height: auto;
  display: block;
}

/* タブレット（768px〜1023px）: スマホレイアウト維持、サイズ拡大 */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-price {
    padding: 50px 20px;
  }

  .lp-price__inner {
    max-width: 500px;
  }

  .lp-price__title {
    font-size: 26px;
    line-height: 36px;
  }

  .lp-price__title-decoration {
    width: 80px;
    height: 2.5px;
  }

  .lp-price__panels {
    gap: 5px;
  }

  .lp-price__panel {
    max-width: 450px;
    height: 78px;
  }

  .lp-price__panel-label {
    left: 103px;
    font-size: 19px;
    line-height: 32px;
  }

  .lp-price__panel-divider {
    left: 212px;
    top: 12px;
    height: 54px;
  }

  .lp-price__panel-right {
    left: 336px;
    gap: 8px;
  }

  .lp-price__panel-badge {
    width: 132px;
    height: 18px;
    font-size: 13px;
    line-height: 32px;
  }

  .lp-price__panel-amount {
    font-size: 19px;
    line-height: 32px;
  }

  .lp-price__notes {
    max-width: 450px;
    margin-bottom: 40px;
  }

  .lp-price__note-line {
    font-size: 12px;
    line-height: 18px;
  }

  .lp-price__payment-box {
    max-width: 450px;
    height: 140px;
  }

  .lp-price__payment-title {
    font-size: 14px;
    line-height: 24px;
  }
}

/* PC（1024px以上）: 横並びレイアウト */
@media (min-width: 1024px) {
  .lp-price {
    padding: 80px 40px;
  }

  .lp-price__inner {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lp-price__header {
    margin-bottom: 40px;
  }

  .lp-price__title {
    font-size: 32px;
    line-height: 44px;
    white-space: nowrap;
  }

  .lp-price__title-decoration {
    width: 100px;
    height: 3px;
  }

  .lp-price__panels {
    gap: 8px;
    max-width: 800px;
    width: 100%;
  }

  .lp-price__panel {
    max-width: 100%;
    height: 130px; /* 縦幅を広げる */
  }

  .lp-price__panel-label {
    left: 130px;
    font-size: 24px;
    line-height: 40px;
  }

  .lp-price__panel-divider {
    left: 270px;
    top: 20px; /* 位置調整 */
    height: 90px; /* 区切り線も長く */
  }

  .lp-price__panel-right {
    left: 540px;
    gap: 12px;
  }

  .lp-price__panel-badge {
    width: 180px;
    height: 24px;
    font-size: 16px;
    line-height: 40px;
  }

  .lp-price__panel-amount {
    font-size: 24px;
    line-height: 40px;
  }

  .lp-price__notes {
    max-width: 800px;
    margin-bottom: 50px;
  }

  .lp-price__note-line {
    font-size: 14px;
    line-height: 22px;
  }

  .lp-price__payment-box {
    max-width: 800px;
    height: 260px; /* 縦幅を広げる */
  }

  .lp-price__payment-title {
    font-size: 20px;
    line-height: 32px;
    white-space: nowrap;
  }

  .lp-price__payment-logos {
    margin-top: 12px;
  }
}
