@charset "UTF-8";

.home #voices .layer {
    padding: 0 min(5.8vw, 50px) 60px;
}

@media screen and (min-width: 1025px) {
    .home #voices .layer {
        padding-bottom: 120px;
    }
}

.home #voices .container {
    max-width: 1000px;
    margin: 0 auto;
}

.home #voices .container h2 {
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    max-width: 460px;
    position: relative;
    margin: 0 auto 45px;
}
@media screen and (min-width: 1025px) {
    .home #voices .container h2 {
        margin-bottom: 85px;
        font-size: 3.4rem;
    }
}

.home #voices .container h2::first-letter {
    color: #ca4684;
}

.home #voices .container h2:after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: url(../images/decoration_h2_common.svg) no-repeat center / contain;
    margin: 20px auto 0;
}
@media screen and (min-width: 1025px) {
    .home #voices .container h2:after {
        width: 16px;
        height: 16px;
        margin: 30px auto 0;
    }
}

.top_rate {
	color: #000;
}
.top_rate .shop_rate {
    height: 186px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
  
.top_rate .shop_rate .num {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 88px;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
}
.top_rate .shop_rate .star img {
    display: inline-block;
}
.top_rate .shop_rate .total {
    text-align: center;
    color: #1e78e4;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}
  
.top_rate .shop_rate .total a {
    color: #1e78e4;
    text-decoration: none;
}
  
.top_rate .shop_rate .total span {
    color: #1e78e4;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}
  
.top_rate .reviews ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	list-style: none;
	margin: 0;
}
  
.top_rate .reviews ul li {
    width: calc((100% - 20px) / 3);
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.top_rate .reviews ul li::after {
    content: none !important;
}
  
@media screen and (max-width: 768px) {
    .top_rate .reviews ul li {
        width: calc((100% - 10px) / 2);
    }
}
@media screen and (max-width: 550px) {
    .top_rate .reviews ul li {
        width: 100%;
    }
}
 
.top_rate .reviews ul li .name {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
}
  
.top_rate .reviews ul li .score {
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
}
.top_rate .reviews ul li .score img {
      display: inline-block;  
}
  
.top_rate .reviews ul li .text {
    flex: 1;
    font-family: 'Noto Sans JP', sans-serif;
    height: 250px;
    overflow-y: auto;
}

.top_rate .reviews ul li .text.is-mac::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* スクロールバーの背景（レール） */
.top_rate .reviews ul li .text.is-mac::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* 動くバーの部分（つまみ） */
.top_rate .reviews ul li .text.is-mac::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* ホバー時に色を変える */
.top_rate .reviews ul li .text.is-mac::-webkit-scrollbar-thumb:hover {
  background: #555;
}