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

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

#service-list > p{
    margin-top: 0px;
    font-size: 15pt;
    font-weight: bold;
}

/**********/
/* クラス */
/**********/

.br-gap{
    display: block;
    height: 10px;
}

.service-row{
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-bottom: 30px;
}

.service-row h2{
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 1.5rem;
    color: #fff;
    background-color: #0b4e6e;
    padding-left: 10px;
}

.service-info{
    display: flex;
    gap: 20px;
}

.service-info img{
    width: 150px;
    height: 75px;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 1.5;
}

.service-info p{
    flex: 1;
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
    margin-top: 0;
}

.service-btn{
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #007acc;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.service-btn:hover{
    background: #005fa3;
}

/*** スマホ用デザイン ***/
@media screen and (max-width: 768px) {
    #service-list > p{
        font-size: 12pt;
    }
    
    /*** クラス ***/
    .service-info{
        flex-direction: column;
        gap: 10px;
    }

    .service-row h2{
        font-size: 1rem;
    }
    
    .service-btn{
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}    