/*口コミ投稿*/
#review-form {
/*    background-color: #f9f9f9;*/
    padding: 20px;
    border-radius: 5px;
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    max-width: 600px;
 /*   margin: 0 auto;*/
    border:1px solid #ededed;
}
#review-form label {
    font-weight: bold;
    font-size: 0.9em; /* フォントサイズを小さく */
    color: #333;
    width: 100px; /* ラベルの幅を固定 */
    vertical-align: middle;
}
#review-form input[type="text"],
#review-form textarea,
#review-form select {
    width: calc(100% - 100px); /* ラベルとの調整 */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
    transition: border-color 0.3s ease;
}
#review-form select {
}

#review-form textarea {
    min-height: 120px;
    width: 100%; /* 他の入力エリアとは違い、全幅に設定 */
    margin-bottom: 15px;
}
#review-form button[type="submit"] {
    background-color: #3498db;
    color: white;
    font-size: 1.1em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#review-form button[type="submit"]:hover {
    background-color: #2980b9;
}
#review-form select {
    width: 150px;
    padding: 10px;
}
#review-form .rating-label {
    margin-bottom: 10px;
    font-size: 0.9em; /* フォントサイズを小さく */
    font-weight: bold;
    color: #555;
}
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.form-row.full-width {
    flex-direction: column; /* レビュー内容の行だけは縦に並べる */
    align-items: flex-start;
}
/*口コミ*/
.msr-review-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.msr-review-content {
    flex-grow: 1;
}
.msr-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.msr-review-name {
    font-weight: bold;
    margin-bottom: 5px;
}
.msr-review-rating-title {
    display: flex;
    align-items: center;
}
.msr-review-rating {
    color: #ffb400;
    font-size: 1.2em;
    margin-right: 10px;
}
.msr-review-title {
    font-weight: bold;
    font-size: 1.1em;
}
.msr-review-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}
.msr-review-body {
    font-size: 1em;
    color: #333;
}
.msr-review-footer {
    margin-top: 10px;
    font-size: 0.9em;
    color: #888;
}
/*総合評価*/
.msr-review-summary {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}
.msr-review-summary .total-rating {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.msr-review-summary .star-rating-container {
    display: flex;
    align-items: center;
    margin-top: 8px; /* 上部との適度な間隔 */
}

.msr-review-summary .star-rating {
    color: #ffb400;
    font-size: 1.2em;
        margin-right: 8px; /* 星と口コミ数の間の余白 */
}
.msr-review-summary .review-count {
    font-size: 0.9em;
    color: #888;
    margin-top: 5px;
}
.msr-review-summary .rating-distribution {
    margin-top: 15px;
}
.msr-review-summary .rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.msr-review-summary .rating-bar span {
    width: 40px; /* テキスト部分の幅を固定 */
    font-size: 0.9em;
    margin-right: 5px;
    white-space: nowrap; /* 改行を防止 */
}
.msr-review-summary .bar-container {
    position: relative;
    background-color: #e0e0e0;
    width: calc(100% - 90px); /* テキストとパーセンテージのスペースを除いた幅 */
    height: 12px;
    border-radius: 5px;
}
.msr-review-summary .bar {
    position: absolute;
    background-color: #ffb400;
    height: 100%;
    border-radius: 5px;
}
.msr-review-summary .rating-percentage {
    margin-left: 10px;
    font-size: 0.9em;
    color: #333;
    width: 40px; /* パーセンテージ部分の幅を固定 */
    text-align: right;
    white-space: nowrap; /* 改行を防止 */
}

/* ポップアップのスタイル */
.popup {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* 背景の半透明 */
}
.popup-content {
    background-color: #fff;
    margin: auto; /* 中央に表示するための余白 */
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}
.popup-content p{
font-size:12px;
}
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close-btn:hover, .close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}



/* 並べ替えフォーム全体のスタイル */
.msr-sort-form {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
/*    font-family: Arial, sans-serif;*/
}

/* ラベルのスタイル */
.msr-sort-label {
/*    font-size: 16px;*/
    margin-right: 10px;
    color: #333;
    font-weight: bold;
}

/* セレクトボックスのラッパー */
.msr-sort-wrapper {
    position: relative;
    display: inline-block;
}

/* セレクトボックスのスタイル */
.msr-sort-select {
/*    font-size: 16px;*/
    padding:5px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    appearance: none;
    background-color: #fff;
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    cursor: pointer;
}

/* セレクトボックスの矢印アイコンをカスタマイズ */
.msr-sort-wrapper::after {
    content: '▼';
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

/* セレクトボックスがフォーカスされた時のスタイル */
.msr-sort-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

/* セレクトボックスのオプションスタイル（モバイル対応） */
.msr-sort-select option {
    padding: 10px;
}


/* 続きを見るボタンのスタイル */
.load-more-btn {
    display: inline-block;
    padding: 5px 10px;
/*    background-color: #0073aa;
    color: #fff;*/
    border: none;
    border-radius: 4px;
/*    font-size: 16px;*/
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-btn:hover {
    background-color: #ededed;
}

.load-more-btn .btn-text {
    display: inline-block;
}

.load-more-btn .btn-loader {
    display: inline-block;
    margin-left: 10px;
/*    font-size: 16px;*/
/*    color: #fff;*/
    vertical-align: middle;
}

.load-more-btn:disabled {
/*    background-color: #ccc;*/
    cursor: not-allowed;
}
