/*累計購入金額*/
.mypage-point-info,
.mypage-point-info * {
  font-family: "游ゴシック体", sans-serif;
  font-weight: 100;
}
.purchase-amount{
	border: 1px solid #D6D6D6;
  margin: 5% 0 5%;
  background: linear-gradient(155deg, #FFFFFF 5%, #FDFDFD 10%, #F4F2F0);
}

.member-rank{
  width: fit-content;
  background: #B4A767;
  margin: 1%;
  color: #fff;
  padding: 1%;
  font-size: 1rem;
}

.rank-wrapper{
	display: flex;
  justify-content: center;
  align-items: center;
}

.rank-wrapper img{
	width: 48px;
  height: 55px;
}

.rank-container{
	margin-left: 5%;
}

.rank-name{
  font-family: 'cochin-lt-pro';
  font-size: 2rem;
  font-weight: 100;
	white-space: nowrap;
	line-height: 1;
}

.rank-name span{
  font-size: 1rem;
  margin-left: 5%;
  vertical-align: baseline;
}

.rank-benefit{
	white-space: nowrap;
	line-height: 1;
  font-size: 11px;
}

#rank-benefit{
	font-family: 'cochin-lt-pro';
  font-size: 22px;
  font-weight: 100;
  vertical-align: baseline;
  margin-left: 5px;
  margin-right: 2px;
}

.rank-next{
	text-align: center;
  padding: 3% 0;
	font-size: 11px;
}

.purchase-amount > .progressbar {
  display: none;
}
.purchase-amount > .progressbar span {
  background: #B4A767;
  height: 2px;
  display: block;
  width: 80%;
  margin: 0 auto;
  border-radius: 10px;
}

.rank-next .rank-next-tax {
  font-size: 8px;
  vertical-align: sub;
}

.rank-nextyear{
  text-align: center;
  margin: 3% 0 1%;
  font-size: 10px;
}

#rank-next-amount{
	font-family: 'cochin-lt-pro';
  font-size: 25px;
  font-weight: 100;
  padding: 0 1%;
  vertical-align: middle;
}

.total-amount{
	margin: 4% 0;
	text-align: center;
  font-size: 10px;
}

.total-amount .total-amount-yen{
	font-size: 1.5rem;
  vertical-align: middle;
  padding-left: 11px;
  padding-right: 7px;
}
.total-amount-str{
  vertical-align: middle;
}
#next_rank{
  text-align: center;
  background: linear-gradient(180deg, #EAEAEA, #E8E8E8, #D5D4CE);
  padding: 8px 20px;
  margin-left: 6px;
}

.rank-attention{
  white-space: normal;
  font-size: 10px;
  text-align: center;
  padding: 2% 0 7%;
  line-height: 1.5;
}

.rank-attention span{
	display: block;
  width: fit-content;
  margin: 2% auto 0;
}


.rank-attention span a{
	display: flex;
  width: fit-content;
  margin: 2% auto 0;
	justify-content: center;
}

.rank-attention a img{
	margin-right: 1%;
  width: 10px;
}

.rank-attention span a img{
	margin-right: 7px;
  width: 10px;
}


.rank-now{
  text-align: center;
  margin: 3% 0 1%;
}


.mypage-news-title{
  font-size: 1.6rem;
  color: #750205;
  display: flex;
  align-items: center;
}


.mypage-news-title::before{
  content: "";
  width: 5px;
  background: #750205;
  display: block;
  height: 15px;
  margin-right: 6px;
}

.mypage-news-text{
	font-size: 1.5rem;
  margin-top: 2%;
}

#preparing-rank-element{
  display: none;
}
#new-rank-element{
  display: none;
}
/*今のランク表示のcss*/
.rank-info-now{
  margin: 32px 0 20px;
}
.total-amount-now{
  font-size: 19px !important;
}
.rank-underline{
  border: 1px solid rgba(0, 0, 0, 0.21);
  margin: 0 6%;
}
.rank-desition{
  margin-top: 2% !important;
}
.rank-now-total-font{
  font-size: 12px !important;
}
.next-rank-str{
  margin-right: 10px;
}

/*準備中表示のcss*/
#preparing-rank-element{
  text-align: center;
  margin: 34px 0 17px;
}
.preparing-title{
  font-size: 14px;
  margin-bottom: 7px;
}
.preparing-description{
  font-size: 10px;
}
.mypage-point-info__box{
  margin-bottom: 20px;
}
.mypage-point-info .re_point{
  display: none;
}
.rank-source{
  white-space: nowrap;
}
/* ベースバー（銀） */
.mpat-progress-base {
  position: relative;   /* 子要素（金バー）を絶対配置するため */
  display: block;
  background-color: #C6C6C6;
  width: 80%;          /* 横幅はコンテナいっぱい */
  border-radius: 2px;   /* 角丸（任意） */
  overflow: hidden;     /* 子バーがはみ出さないように */
  margin: 0 auto;
  height: 3px;
}
/* 現在値バー（金） */
.mpat-progress-current {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  background-color: #B4A767;
  width: 0%;            /* JSで進捗に応じて更新 */
  border-radius: 2px 0 0 2px; /* 左端だけ角丸（任意） */
  height: 3px;
}

/* エラーメッセージ */
.message-error{
  display: none;
  color: red;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
	.purchase-amount{
		margin: 2% 0 4%;
	}
	.rank-next{
		padding: 20px 0 8px;
    font-size: 13px;

	}
	.rank-container {
    margin-left: 30px;
	}
	.rank-name{
	  font-size: 2.5rem;	
	}
	
	.rank-name span{
		font-size: 1.3rem;
	}
	
	.rank-wrapper img{
		width: 6%;
	}
	.total-amount{
		margin: 8px 0;
    font-size: 13px;
	}
	.rank-nextyear{
    text-align: center;
    margin: 2% 0 1%;
    font-size: 13px;
	}
	
	.total-amount .total-amount-yen{
		font-size: 22px !important;
	}
	
	.rank-attention{
    font-size: 12px;
    padding: 0% 0 3%;
	}
	.rank-attention span{
		margin: 1% auto 0;
	}
	#next_rank{
		padding: 1% 2%;
    margin-left: 1%;
	}
  .rank-underline{
    margin: 0 10%;
  }
  .mpat-progress-base {
    width: 60%;
  }
  #rank-next-amount{
    font-size: 30px;
  }
  .rank-next .rank-next-tax {
    font-size: 10px;
  }
  #rank-benefit{
    font-size: 26px;
  }
  .rank-benefit{
    font-size: 13px;
  }
  .rank-now-total-font{
    font-size: 13px !important;
  }
  .rank-info-now{
    margin: 32px 0 30px;
  }
}