/* SNS固定アイコン */
.social-floating {
    position: fixed;
    right: 0;
    bottom: 10%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.social-floating-item {
    display: block;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.20);
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    text-decoration: none;
    margin-bottom: 0;
}

.social-floating-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.30);
}

.social-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Instagram - PC */
.social-instagram {
    background: linear-gradient(50deg, rgb(254, 218, 117) 5%, rgb(214, 41, 118) 50%, rgb(150, 47, 191) 100%);
}
.social-instagram .social-icon {
    background-image: url('https://www.takamatsu-gakki.jp/wp-content/uploads/2025/08/SNS01_Instagram_V2.png');
    background-size: 55px 55px;
}

/* X (Twitter) - PC */
.social-x {
    background-color: #14171A;
}
.social-x .social-icon {
    background-image: url('https://www.takamatsu-gakki.jp/wp-content/uploads/2025/08/SNS02_X_V2.png');
    background-size: 50px 50px;
}

/* YouTube - PC */
.social-youtube {
    background-color: #FF0000;
}
.social-youtube .social-icon {
    background-image: url('https://www.takamatsu-gakki.jp/wp-content/uploads/2025/08/SNS03_YOUTUBE_V.png');
    background-size: 45px 45px;
}

/* LINE - PC */
.social-line {
    background-color: #06C755;
}
.social-line .social-icon {
    background-image: url('https://www.takamatsu-gakki.jp/wp-content/uploads/2025/08/SNS04_LINE_V.png');
    background-size: 50px 50px;
}

/* モバイル表示（770px以下） */
@media screen and (max-width: 770px) {
    .social-floating {
        right: auto;
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        justify-content: center;
        width: 100%;
        padding: 10px;
        box-shadow: none;
    }

    .social-floating-item {
        width: 55px;
        height: 55px;
    }
}