﻿/* ニュースセクションのシンプルなスタイル */
.news-section {
    padding: 70px 0;
    position: relative;
    background-color: var(--dark-color);
    color: var(--light-color);
}

.news-content {
    max-width: 650px;
    margin: 0 auto;
}

/* X投稿のコンテナ */
.x-featured {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
    padding: 15px;
}

.x-posts-container {
    display: flex;
    justify-content: center;
}

.x-post {
    width: 100%;
}

/* Twitter埋め込みが中央に表示されるようにする */
.twitter-tweet {
    margin: 0 auto !important;
}

/* SNS誘導セクション */
.sns-links {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sns-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light-color);
    margin: 0 0 20px 0;
    text-align: center;
}

/* SNSグリッド */
.sns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.sns-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sns-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.svg-icon {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 16px;
    height: 16px;
    fill: white;
}

.sns-info {
    flex-grow: 1;
    margin-right: 10px;
}

.sns-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.sns-username {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.sns-action {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 15px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

    .sns-action i {
        margin-left: 5px;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

.sns-item:hover {
    transform: translateY(-3px);
}

    .sns-item:hover .sns-action i {
        transform: translateX(3px);
    }

/* SNSごとの色設定 */
.x-link {
    color: white;
}

    .x-link .sns-icon {
        background: black;
        color: white;
    }

    .x-link:hover {
        background: rgba(0, 0, 0, 0.3);
    }

.instagram-link {
    color: white;
}

    .instagram-link .sns-icon {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        color: white;
    }

    .instagram-link:hover {
        background: rgba(219, 75, 137, 0.1);
    }

.youtube-link {
    color: white;
}

    .youtube-link .sns-icon {
        background: #FF0000;
        color: white;
    }

    .youtube-link:hover {
        background: rgba(255, 0, 0, 0.1);
    }

.tiktok-link {
    color: white;
}

    .tiktok-link .sns-icon {
        background: #000000;
        color: white;
    }

    .tiktok-link:hover {
        background: rgba(238, 29, 82, 0.1);
    }

/* ハッシュタグ */
.hashtag-info {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hashtag-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.hashtag {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .hashtag:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .x-featured {
        padding: 10px;
    }

    .sns-links {
        padding: 20px 15px;
    }

    .sns-item {
        padding: 10px;
    }

    .sns-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .sns-action {
        padding: 3px 8px;
    }
}
