@charset "utf-8";

.p-sns {
    padding: 80px 0;
    background-image: linear-gradient(90deg, rgba(226, 207, 255, 1), rgba(251, 253, 191, 1));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sns_page .inner {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MV周り */
.sns_page__mv {
    max-width: 378px;
    width: 100%;
}

.sns_page__mv img {
    width: 100%;
    height: auto;
    display: block;
}

/* タイトルとコピーボタンの並び */
.sns_page__title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.p-sns .a-bigtitle h2::after {
    background: url(../img/sns/icon_a-icon.svg) no-repeat center / contain;
    height: 51px;
    right: -10px;
}

/* URLコピーボタン */
.sns_share_btn {
    appearance: none;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 15px 10px 45px;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sns_share_btn:hover {
    background: #F0007F;
}

/* コピー完了時の演出用クラス（JSで制御） */
.sns_share_btn.is-copied {
    background: #00A0E9;
    pointer-events: none;
}

.sns_share_btn span {
    display: block;
    text-align: left;
}

.sns_share_btn span::before {
    content: "";
    width: 20px;
    height: 30px;
    background: url(../img/sns/icon_copy.svg) no-repeat center/contain;
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%) translateX(0%);
    -webkit-transform: translateY(-50%) translateX(0%);
}

/* SNSリストのグリッド配置 */
.sns_list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* PCは2カラム */
    gap: 20px;
}

.sns_list li {
    list-style: none;
}

.sns_item a {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    /* 背景をぼかすと高級感が出ます */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* ほか、先ほどのスタイルを継承 */
}

.sns_item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sns_icon {
    flex-shrink: 0;
    width: 60px;
    margin-right: 15px;
}

.sns_icon img {
    width: 100%;
    height: auto;
}

.sns_id {
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.sns_desc {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #666;
}

.sns_desc b {
    color: #F0007F;
}

.sns_txt p {
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 767px) {
    .sns_page__title {
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .sns_share_btn {
        width: 100%;
        max-width: 280px;
    }

    .sns_list {
        grid-template-columns: 1fr;
        /* スマホは1列 */
        gap: 15px;
    }

    .sns_item a {
        padding: 15px;
    }

    .sns_icon {
        width: 50px;
    }

    .sns_page .inner {
        display: block;
    }

    sns_page__main {
        margin-top: 30px;
    }

    .sns_page__mv {
        max-width: 140px;
        margin: 0 auto 40px;
    }

    html {
        margin-top: 0 !important;
    }
}