/* 記事詳細ページ用スタイル */

.site-logo a {
    color: white;
    text-decoration: none;
}

.article-page {
    background: white;
    padding: 60px 0;
}

.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    background: white;
}

.article-thumbnail-hero {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-thumbnail-hero .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
}

.article-meta-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 1rem;
    color: #666;
}

/* エミからのメッセージ */
.emi-message {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.emi-avatar-small img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    object-fit: cover;
    background: #ddd;
}

.message-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.message-content p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.message-content strong {
    color: #d35400;
}

/* 目次 */
.table-of-contents {
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 50px;
    border-left: 4px solid #667eea;
}

.table-of-contents h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.table-of-contents ol {
    margin-left: 20px;
}

.table-of-contents li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.table-of-contents a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 映画セクション */
.movie-section {
    margin-bottom: 60px;
    padding: 40px;
    background: #fafafa;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.movie-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.movie-rating {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.emi-rating, .netflix-rating {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.emi-rating {
    color: #d35400;
}

.netflix-rating {
    color: #e50914;
}

.movie-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.movie-poster {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poster-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.poster-image {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.poster-credit {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin: -5px 0 5px 0;
}

.poster-credit a {
    color: #667eea;
    text-decoration: none;
}

.poster-credit a:hover {
    text-decoration: underline;
}

.btn-netflix {
    display: block;
    background: #e50914;
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-netflix:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229,9,20,0.4);
}

.movie-details h3 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.movie-details h4 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    color: #555;
}

.movie-details p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.movie-info {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-item {
    font-weight: 500;
    color: #666;
}

/* エミのおすすめポイント */
.emi-points {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.emi-points h3 {
    border: none;
    padding: 0;
    margin-bottom: 15px;
}

.emi-points ul {
    list-style: none;
    margin-left: 0;
}

.emi-points li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.emi-points li:before {
    content: "✅";
    position: absolute;
    left: 0;
}

.emi-points strong {
    color: #00796b;
    display: block;
    margin-bottom: 5px;
}

/* おすすめ対象 */
.recommended-for {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* エミの一言 */
.emi-comment {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.emi-comment p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

/* プレースホルダーセクション */
.placeholder-section {
    background: #f0f0f0;
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 関連記事・人気記事セクション */
.related-articles-section,
.popular-articles-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 40px;
}

.popular-articles-section {
    background: white;
}

.related-articles-section .section-title,
.popular-articles-section .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.related-articles-section .article-grid,
.popular-articles-section .article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }

    .emi-message {
        flex-direction: column;
        text-align: center;
    }

    .emi-avatar-small {
        margin: 0 auto;
    }

    .movie-content {
        grid-template-columns: 1fr;
    }

    .movie-poster {
        max-width: 250px;
        margin: 0 auto;
    }

    .related-articles-section .article-grid,
    .popular-articles-section .article-grid {
        grid-template-columns: 1fr;
    }
}
