.review-form {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.review-form input[type="text"],
.review-form select,
.review-form textarea {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border-color 0.2s ease;
}

.review-form input[type="text"]:focus,
.review-form select:focus,
.review-form textarea:focus {
    border-color: #999;
}

.review-form textarea {
    height: 100px;
    resize: vertical;
}

.review-form .btn-submit {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    background: #5cb85c;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.review-form .btn-submit:hover {
    background: #4cae4c;
}


 .review-display-container {
        max-height: 600px;
        overflow-y: auto;
/*        padding: 10px;*/
/*        border: 1px solid #ddd;*/
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    

/*総合評価*/
.review-total {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.review-total .r-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.review-total .total-date {
    font-size: 16px;
    margin-bottom: 20px;
}
.review-total .bar-graph-wrap {
    position: relative;
    overflow: hidden; /* 左側を隠す */
}
.review-total .bar-graph-wrap .graph {
    height: 25px;
    position: relative;
    left: 0;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    animation: graphAnim 2.5s forwards;
    white-space: nowrap; /* 改行を防止 */
    overflow: visible; /* はみ出しを許容 */
    background-color: transparent; /* 初期状態では背景色を透明に */
}
.review-total .bar-graph-wrap .graph .name,
.review-total .bar-graph-wrap .graph .number {
    font-size: 14px;
/*    color: #ffffff;*/
}
.review-total .bar-graph-wrap .graph .number {
    margin-left: 10px; /* 数字をグラフの外に少し出す */
}
.review-total .bar-graph-wrap .graph[style*="width: 0%;"] {
    background-color: transparent; /* 幅が0%のグラフの背景色を透明にする */
}
@media screen and (max-width: 750px) {
    .review-total .bar-graph-wrap .graph .name,
    .review-total .bar-graph-wrap .graph .number {
        font-size: 12px;
    }
}
@keyframes graphAnim {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}



.review-sort-form {
    margin-bottom: 20px;
}
.review-sort-form label {
    font-weight: bold;
    margin-right: 10px;
}
.review-sort-form select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
