@charset "UTF-8";
/* 推薦コメントバナー */
.recommendation-banner {
    padding: 0 0 0 5px;
    margin: 0;
    margin-bottom: 20px;
}

.recommendation-link {
    display: inline-block;
    text-decoration: none;
}

.banner-image {
    display: block;
    height: auto;
    max-width: 100%;
}


/* 推薦コメントセクション */
.recommendation-section {
    margin: 40px 0;
    background-color: #ffffe0;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* 目立つヘッダー */
.recommendation-header-highlight {
    background: linear-gradient(135deg, #7c7574 0%, #4d4948 100%);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recommendation-header-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.recommendation-header-highlight p.comment-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.recommendation-content {
    padding: 25px;
    background: linear-gradient(to bottom, #ffffe0, #fffff8);
}

.comment-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-bottom: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px; /* 最小高さを設定 */
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-item::after {
    content: '';
    display: block;
    clear: both;
}

/* PC版の画像設定 */
.profile-img {
    width: 100px !important;
    height: auto;
    max-height: 125px;
    /*border-radius: 2px;*/
    object-fit: cover;
    /*border: 2px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    float: left;
    margin: 0 15px 15px 0;
    display: block;
}

/* プロフィール詳細とテキストのコンテナ */
.profile-text-wrapper {
    margin-left: 115px; /* 画像幅(100px) + マージン(15px) */
}

.profile-details {
    margin-bottom: 12px;
}

.profile-name {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: bold;
    color: #4d4948;
    line-height: 1.3;
}

.profile-date {
    margin: 0 0 12px 0;
    font-size: 11px;
    color: #888;
    line-height: 1.2;
    font-style: italic;
}

.comment-text {
    margin: 0;
	padding-left: 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.7;
    text-align: justify;
    position: relative;
}

.comment-text::before {
    content: '"';
    position: absolute;
    left: -5px;
    top: -4px;
    font-size: 24px;
    color: #4a90e2;
    opacity: 0.3;
    font-family: serif;
}

/* ページトップボタン */
.pagetop {
    text-align: right;
    padding: 15px 20px 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}

.pagetop a {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pagetop a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pagetop img {
    display: block;
    transition: filter 0.3s ease;
}

.pagetop a:hover img {
    filter: brightness(1.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recommendation-section {
        margin: 30px 0;
        border-radius: 6px;
    }
    
    .recommendation-header-highlight {
        padding: 18px 15px;
    }
    
    .recommendation-header-highlight p.comment-title {
        font-size: 15px;
        letter-spacing: 0.8px;
    }
    
    .recommendation-content {
        padding: 20px 15px;
    }
    
    .comment-item {
        margin-bottom: 25px;
        padding: 18px;
        min-height: auto;
    }
    
    /* モバイル版では画像を中央配置 */
    .profile-img {
        float: none !important;
        display: block;
        margin: 0 auto 15px auto !important;
        width: 100px !important;
        max-height: 125px;
    }
    
    .profile-text-wrapper {
        margin-left: 0;
    }
    
    .profile-details {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .comment-text {
        text-align: left;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .comment-text::before {
        left: -5px;
        top: -4px;
        font-size: 20px;
    }
    
    .pagetop {
        padding: 12px 15px 15px;
    }
}

@media (max-width: 480px) {
    .recommendation-section {
        margin: 20px 0;
        border-radius: 4px;
    }
    
    .recommendation-header-highlight {
        padding: 15px 12px;
    }
    
    .recommendation-header-highlight p.comment-title {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .recommendation-content {
        padding: 15px 12px;
    }
    
    .comment-item {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .profile-img {
        width: 100px !important;
        margin-bottom: 12px !important;
        max-height: 125px;
    }
    
    .profile-name {
        font-size: 15px;
    }
    
    .profile-date {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .comment-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .comment-text::before {
        font-size: 24px;
        left: -3px;
    }
    
    .pagetop {
        padding: 10px 12px 12px;
    }
    
    .pagetop img {
        width: 100px;
        height: auto;
    }
}