.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 24px 32px ;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}
.magazine-desc .share-buttons {
    margin-top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
}
.magazine-thumbnail img {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 12px 12px 0 0;
}
.magazine-desc .share-buttons h2{
    text-align: left;
}
.share-buttons h2 {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin: 0;
    width: 100%;
    text-align: center;
}
.copy-url-text {
    margin-left: 10px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: opacity 0.3s;
    cursor: pointer;
    border: none;
}

.share-button:hover {
    opacity: 0.8;
}

.copy-url {
    background-color: #666;
}

.twitter-share {
    background-color: #1DA1F2;
}

.facebook-share {
    background-color: #1877F2;
}

.instagram-share {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.linkedin-share {
    background-color: #0A66C2;
}

/* 視覚的に隠すがスクリーンリーダーに残す */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* シングルページ用のスタイル */
.single-share-buttons .share-buttons {
    justify-content: center;
    margin-top: 40px;
}

/* アーカイブページ用のスタイル */
.news-item .share-buttons {
    margin-top: 15px;
}
