.review-box {
  padding: 1rem;
  border: 1px solid #ccc;
  margin-top: 1rem;
}
.review-box:nth-of-type(1) {
  max-height: 300px;
  overflow-y: auto;
}
.review-box:nth-of-type(1) > p {
  text-align: center;
}
.review-list li {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}
.review-list li:nth-of-type(1) {
  padding-top: 0;
}
.review-list li:nth-last-of-type(1) {
  border-bottom: 0;
}
.star5_rating {
  position: relative;
  z-index: 0;
  display: inline-block !important;
  white-space: nowrap;
  color: #ccc;
  /*font-size: 30px;  */
}
.star5_rating:before,
.star5_rating:after {
  content: "★★★★★";
}
.star5_rating:after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffcf32;
  /* イエローカラー 自由に設定化 */
}
.star5_rating[data-rate="5"]:after {
  width: 100%;
}
/* 星5 */
.star5_rating[data-rate="4.5"]:after {
  width: 90%;
}
/* 星4.5 */
.star5_rating[data-rate="4"]:after {
  width: 80%;
}
/* 星4 */
.star5_rating[data-rate="3.5"]:after {
  width: 70%;
}
/* 星3.5 */
.star5_rating[data-rate="3"]:after {
  width: 60%;
}
/* 星3 */
.star5_rating[data-rate="2.5"]:after {
  width: 50%;
}
/* 星2.5 */
.star5_rating[data-rate="2"]:after {
  width: 40%;
}
/* 星2 */
.star5_rating[data-rate="1.5"]:after {
  width: 30%;
}
/* 星1.5 */
.star5_rating[data-rate="1"]:after {
  width: 20%;
}
/* 星1 */
.star5_rating[data-rate="0.5"]:after {
  width: 10%;
}
/* 星0.5 */
.star5_rating[data-rate="0"]:after {
  width: 0%;
}
/* 星0 */

#review-form input[type="text"],
#review-form textarea {
  padding: 6px;
  font-size: 16px;
  border: 1px solid #999;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  border-radius: 4px;
  margin: 0.5rem 0;
}
#review-form #submit-button button {
  background: #000;
  color: #fff;
  border: 0;
  padding: 15px;
  width: 300px;
  margin: 1rem auto;
  display: block;
  font-size: 16px;
  border-radius: 4px;
}
.rate-form {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.rate-form input[type="radio"] {
  display: none;
}
.rate-form label {
  position: relative;
  padding: 0 5px;
  color: #ccc;
  cursor: pointer;
  font-size: 1.25rem;
}
.rate-form label:hover {
  color: #ffcc00;
}
.rate-form label:hover ~ label {
  color: #ffcc00;
}
.rate-form input[type="radio"]:checked ~ label {
  color: #ffcc00;
}
#cast-ff {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 4px;
  margin: 0.5rem 0;
  border: 1px solid #999;
}

#review-form select {
  color: #999;
}
/*****************************

一覧ページ

 *****************************/

.archive-review.review-box {
  padding: 0;
  padding-top: 1rem;
  background: #fff;
}
.archive-review .review-list li {
  display: flex;
  justify-content: space-between;
  color: #000;
  width: 95%;
  margin: 0 auto;
}
.archive-review .review-clumn {
  width: 25%;
}
.archive-review .review-clumn img {
  width: 100%;
}
.archive-review .review-clumn2 {
  width: 70%;
}
.archive-review .re-name {
  color: #d0b440;
  font-weight: bold;
  font-size: 0.75rem;
  text-align: center;
}
.archive-review .shop-thanks {
  padding-top: 1rem;
  border-top: 2px dotted #b8b8b8;
  margin-top: 1rem;
  font-size: 0.75rem;
}
.archive-review.review-box {
  max-height: unset !important;
}
.shop-thanks {
  line-height: 1.8; /* 行間を適切に調整 */
  overflow-wrap: break-word; /* 長文の折り返し対応 */
  word-break: break-word; /* 長い日本語の折り返し */
}
.shop-thanks img {
  margin-top: -4px;
}
