/* --- 全体レイアウト --- */
body{
	overflow-x: hidden !important;
}
.price .price-course-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1350px;
  margin: 40px auto;
}

/* --- 基本カードスタイル --- */
.price .price-course-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #999999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative; /* バッジ配置用 */
}

/* 一番右のカード（オレンジ枠強調） */
.price .price-course-card.price-highlighted {
  border: 4px solid #f15a24;
}

/* 最もお得バッジ */
.price .price-badge-best {
  position: absolute;
  top: -25px;
  right: -15px;
  background-color: #e95520;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

/* --- カードヘッダー --- */
.price .price-card-header {
  background-color: #001e33;
  color: #ffffff;
  text-align: center;
  padding: 18px 10px;
}
.price .price-course-name {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
	line-height: 1.5;
}
.price .price-course-duration {
  font-size: 32px;
  font-weight: bold;
	line-height: 1.5
}
/* --- カードボディ --- */
.price .price-card-body {
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.price .price-course-desc {
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  text-align: center;
  font-weight: bold;
  min-height: 42px;
}

/* --- 料金エリア --- */
.price .price-box {
  text-align: center;
  color: #e95520;
  margin: 10px 0 15px;
	line-height: 1.5;
}
.price .price-main {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.price .price-unit {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin-left: 2px;
}
.price .price-sub {
  color: #000000;
  font-weight: bold;
}

/* --- 分割・一括詳細 --- */
.price .price-payment-detail {
  background-color: #e5e5e5;
  width: 100%;
  padding: 15px 10px;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 25px;
}
.price .price-payment-detail p {
  margin: 0;
  font-weight: bold;
  color: #000000;
  line-height: 1.6;
}

/* --- 給付制度ボタン --- */
.price .price-benefit-button {
  display: block;
  width: 100%;
  margin-bottom: 25px;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.price .price-benefit-button img {
  width: 100%;    /* カードの幅いっぱいに広げる */
  height: auto;   /* アスペクト比を維持 */
  display: block; /* 下部の隙間を消す */
  
}
/* --- こんな方におすすめ --- */
.price .price-recommend-section {
  position: relative;
  width: calc(100% + 40px); /* 左右のpadding分広げる */
  margin: 30px -20px 25px -20px;
  background-color: #808080;
  padding: 40px 20px 30px 20px;
  box-sizing: border-box;
}
.price .price-recommend-title {
  position: absolute;        /* 浮かせます */
  top: 0;                    /* 親の最上部に配置 */
  left: 50%;                 /* 親の左から50%の位置へ */
  /* transformで、自分自身の幅の半分左へ、高さの半分上へ移動させて完全に中央配置 */
  transform: translate(-50%, -50%);
  color: #666666;
  background-color: #ffffff;
  font-weight: bold;
  text-align: center;
  padding: 3px 10px;
  width: fit-content;
  margin: 0 auto 12px auto;
  border-radius: 2px;
}
.price .price-recommend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.6;
  
  /* リスト全体を中央に寄せるための設定 */
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.price .price-recommend-list li {
  position: relative;
  /* 左側の絶対配置用 padding-left は削除 */
  padding-left: 0; 
  margin-bottom: 6px;
  
  /* テキストを中央寄せ */
  text-align: center; 
}

.price .price-recommend-list li:last-child {
  margin-bottom: 0;
}

/* 擬似要素「・」をテキストのすぐ左に配置する */
.price .price-recommend-list li::before {
  content: "・";
  /* absolute から inline-block に変更してテキストの流れに乗せる */
  display: inline-block; 
  margin-right: 2px; /* 点と文字の間の隙間 */
}

/* --- プログラム内容 --- */
.price .price-program-content {
  width: 100%;
  margin-top: auto; /* 下部に密着させる */
}
.price .price-program-title {
  color: #666666;
  text-align: center;
  font-weight: bold;
  position: relative;
  margin-bottom: 15px;
}

.price .price-program-title::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #dddddd;
}
.price .price-program-title::after { bottom: -8px; }

.price .price-program-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}
.price .price-program-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #000000;
  margin-bottom: 12px;
}
.price .price-program-list li:last-child {
  margin-bottom: 0;
}
.price .price-dots {
  flex-grow: 1;
  border-bottom: 2px dotted #000000;
  margin: 0 8px;
}
.price .price-count {
  white-space: nowrap;
}
.price-list{
	margin: 80px 20px 0;
}
/* --- 下部：TOEIC対策専用コース --- */
.price .price-toeic-container {
  max-width: 1350px;
  margin: 0 auto;
  border: 1px solid #999999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	
}
.price .price-toeic-header {
  background-color: #001b2a;
  color: #ffffff;
  padding: 10px;
	text-align: center;
}
.price .price-toeic-title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
	line-height: 1.5;
}
.price .price-toeic-duration {
  font-size: 30px;
  font-weight: bold;
	line-height: 1.5;
}
.price .price-toeic-body {
  background-color: #ffffff;
  padding: 20px;
}

.price .price-toeic-flex .price-box {
  margin-bottom: 0;
}
.price .price-toeic-flex .price-payment-detail {
  width: auto;
  min-width: 300px;
  margin-bottom: 0;
}
.price .price-toeic-container .price-payment-detail{
	width: 380px;
	margin: 0 auto;
}

/* --- レスポンシブ（画面幅が狭い時） --- */
@media (max-width: 900px) {
  .price .price-course-container {
    flex-direction: column;
    align-items: center;
	  padding: 0;
	  margin: 20px auto;
  }
  .price .price-course-card {
    width: 100%;
    max-width: 380px;
  }
  .price .price-badge-best {
    width: 60px;
    height: 60px;
	  font-size: 16px;
  }
  .price .price-toeic-flex {
    flex-direction: column;
    gap: 20px;
  }
  .price .price-toeic-flex .price-payment-detail {
    width: 100%;
    min-width: 0;
  }
	.price .price-course-name, .price .price-toeic-title{
		font-size: 16px;
	}
	.price .price-course-duration, .price .price-toeic-duration{
		font-size: 20px;
	}
	.price .price-toeic-container .price-payment-detail{
		width: 100%;
	}
	.price-list{
		margin: 40px 0px;
	}
	.price .price-recommend-section{
		padding: 40px 10px 30px 10px;
	}
	.price .price-sub{
		font-size: 16px;
	}
	.price .price-card-body{
		padding: 24px 16px 40px;
	}
	.price .price-recommend-section{
		width: calc(100% + 32px);
	}
	.price .price-card-header {
	  padding: 12px 10px;
	}
	.price .price-main{
		font-size: 40px;
	}
}