/**********/
/*   ID   */
/**********/

#site-page{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 50px; 
    background-color: #faf7e2;
}

/**********/
/* クラス */
/**********/
.activity-container{
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-container h1{
    text-align: center;
    font-size: 2em;
    margin-bottom: 0.5em;
}

.activity-sub-title{
    text-align: center;
    margin-bottom: 2em;
    font-size: 1.2em;
    color: #555;
}

.photo-gallery{
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 30px;
}

.photo-gallery img{
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.activity-block{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    padding: 20px 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 1050px;
    align-items: center;
    justify-content: center;
}

.sub-image{
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.activity-text{
    flex: 1;
}

.activity-text > h2{
    margin-top: 5px;
}


.activity-title{
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.activity-description{
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    padding: 0 10px;
}

/*** スマホ用デザイン ***/
@media screen and (max-width: 768px) {
/*** クラス ***/
    #site-page{
        padding: 0;
    }

    .activity-block{
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 350px;
        padding: 15px;
        height: auto;
        display: flex;
        border-radius: 12px;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;   
        border: 1px solid #000; 
    }

    .activity-block img{
        width: 120px;
        height: 120px;
        object-fit: cover;
        display: block;
        border-radius: 8px;
    }

    .activity-text{
        width: 90vw;
        max-width: 300px;
        text-align: left;
        padding: 10px 0;
    }

    .photo-gallery{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 20px;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .activity-container{
        box-sizing: border-box;
        padding: 20px;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

}