@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* SWELL：tableの枠線をグレーにする */
.post_content table,
.post_content table th,
.post_content table td {
  border: 1px solid #ccc;
}

/* 口コミボックス（SWELL用） */
/* 口コミボックス全体 */
.review-box {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 2em;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
}

/* サイドバー（プロフィール） */
.review-sidebar {
    width: 220px;
    background: #f9f9f9;
    padding: 24px 15px;
    border-right: 1px solid #e0e0e0;
    text-align: center;
}

.user-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    background: #ccc;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.info-list {
    text-align: left;
    margin: 0;
}

/* 4項目の見出しカラーを変更 */
.info-list dt {
    color: #1a4a7a; 
    float: left;
    clear: both;
    width: 70px;
    font-size: 13px;
    font-weight: bold; /* 視認性向上のため太字にしています */
}

.info-list dd {
    font-weight: 600;
    margin-left: 75px;
    margin-bottom: 4px;
    color: #333;
}

/* メインコンテンツ */
.review-main {
    flex: 1;
    min-width: 300px;
    padding: 24px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stars {
    color: #ffb400;
    font-size: 18px;
    letter-spacing: 2px;
}

.post-date {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.review-title {
    font-size: 18px !important;
    font-weight: bold;
    margin: 0 0 20px 0 !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.review-section {
    margin-bottom: 20px;
}

/* 小見出しの調整（下線のみ） */
.review-sub-title {
    font-weight: bold;
    color: #1a4a7a;
    border-bottom: 1px solid #1a4a7a;
    display: inline-block;
    margin-bottom: 10px;
    padding-bottom: 2px;
}

.review-section p {
    margin: 0;
    line-height: 1.6rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .review-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px;
    }
    .user-icon img {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        margin-right: 15px;
    }
    .user-info {
        flex: 1;
    }
    .info-list {
        display: flex;
        flex-wrap: wrap;
    }
    .info-list dt { width: auto; margin-right: 5px; }
    .info-list dd { margin-left: 0; margin-right: 15px; margin-bottom: 0; }
    
    .review-main {
        padding: 20px 15px;
    }
}