/**********/
/*   ID   */
/**********/

#sns-page{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 50px; 
    background-color: #faf7e2;
}

#sns-page > p{
    margin-top: 0px;
    margin-bottom: 0;
    font-size: 15pt;
    font-weight: bold;
}

/**********/
/* クラス */
/**********/
.br-gap{
    display: block;
    height: 10px;
}

.sns-group{
    margin-bottom: 60px;
}

.sns-group h2{
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    margin-top: 10px;
}

.sns-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 70px;
}

.sns-card{
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.sns-card h3{
    margin-top: 0;
    background-color: #0b4e6e;
    padding: 10px;
    color: white;
}

.sns-main{
    display: flex;
    gap: 20px;
}

.sns-card-left{
    width: 30%;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid #ddd;
}

.sns-card-right{
    width: 70%;
    text-align: left;
}

.sns-card-right > p{
    margin: 0;
}

.sns-icon{
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
}

.sns-user-info{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.user-name{
    font-weight: bold;
    color: #555;
    margin: 10px 0 5px;
}

.description{
    margin-bottom: 15px;
}

.sns-link{
    display: inline-block;
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    text-align: center;
}

.sns-link:hover{
    background: #0056b3;
}

/*** スマホ用デザイン ***/
@media screen and (max-width: 768px) {
    #sns-page > p{
        font-size: 12pt;
    }

/*** クラス ***/
        .sns-card{
            flex-direction: column;
        }

        .sns-main{
            flex-direction: column;
        }

        .sns-card-left{
            width: 100%;
            flex-direction: row;
        }

        .sns-user-info{
            flex-grow: 1;
        }

        .user-name{
            font-size: 0.8rem;
        }

        .sns-icon{
            width: 88px;
            height: 88px;
        }

        .sns-link{
            width: 100px;
            margin-bottom: 10px;
        }

        .sns-card-right{
            width: 100%;
            margin-top: 10px;
        }
}    