@charset "utf-8";

/* Extracted feature; retain declaration order, no legacy core dependency. */
.review-card {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.review-card:hover {
    transform: scale(1.02);
}

.review-user {
    font-weight: bold;
    color: #444;
}

.like-button {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.like-button:hover {
    background: #e84118;
}

.like-count {
    font-weight: bold;
    color: #ff4757;
    margin-right: 5px;
}

/* 口コミフォーム専用のクラス */
.review-form .review-group {
    text-align: left;
    margin-bottom: 15px;
}

.review-form label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: border 0.3s ease-in-out;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3);
}

.review-form textarea {
    resize: none;
    height: 100px;
}

/* 投稿ボタン */
.review-form .review-submit-btn {
    background: #007BFF;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.review-form .review-submit-btn:hover {
    background: #0056b3;
}


/* ユーザー名 & 投稿日を横並び */
.review-header {
    display: flex;
    justify-content: space-between; /* 左右配置 */
    align-items: center;
    margin-bottom: 8px;
}

/* ユーザー名 */
.review-user {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* 投稿日時 */
.review-date {
    font-size: 12px;
    color: #777;
    margin: 0;
    white-space: nowrap; /* 折り返し防止 */
}
/* レビュー本文 */
.review-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

/* ボタンエリア */
.review-actions {
    display: flex;
    justify-content: flex-end;  /* 右寄せ */
    gap: 6px;
}

/* いいね・あんまりボタン */
.like-button {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 16px;
    padding: 6px 12px;  /* コンパクトに */
    font-size: 14px;  /* フォントサイズを小さく */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    min-width: 80px;
}



/* 共感したボタン (青) */
.empathize {
    background: #3498db;
    color: white;
}

.empathize:hover {
    background: #2980b9;
}

/* なるほどボタン (オレンジ) */
.understand {
    background: #f39c12;
    color: white;
}

.understand:hover {
    background: #e67e22;
}

/* うーんボタン (グレー) */
.unsure {
    background: #95a5a6;
    color: white;
}

.unsure:hover {
    background: #7f8c8d;
}
/* 数字部分 */
.like-button span {
    font-size: 13px;  /* 数字を小さく */
    font-weight: normal;
    color: white;
}


