
.serviceContainer{
    display: flex;
    /* margin: var(--space-50) 0; */
}
.serviceBox{
    width: 100%;
    box-sizing: border-box;
    margin: 50px 10px;
    position: relative;
}
.mainText{
    font-weight: bold;
}
.serviceBox h3{
    position: absolute;
    top:20%;
    left: 0%;
    right: 0%;
    font-size: var(--font-size-2);
    line-height: 1.5;
    text-align: center;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.44);
}

.serviceBox span{
    display: block;
    font-size: var(--font-size-base);
}
.serviceBox img{
    width: 100%;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.44);
    /* border-radius: 50px; */

}
.bgB{
    background: var(--color-grey);
    width: 100%;
    z-index: -1 ;
}
.textWh{
    color:var(--color-fff);
}
.buttonS{
    border: none;
    font-weight: bold;
    display: block;
    margin: var(--space-20) auto  var(--space-50); 
    padding: var(--space-10) var(--space-20);
    background-color: var(--color-000);
    box-shadow: -5px -5px 10px 0px rgba(255, 255, 255, 0.5), 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
}
.buttonS a{
    color: var(--color-fff); 
    font-size: var(--font-size-base);
    letter-spacing: 0.05rem;

}

   /* ========================================================== */
   /* ==============  2023スマホ     768px   ==================== */
   /* ========================================================== */
   @media screen and (max-width:1024px){
    .serviceContainer{
   flex-direction: column;
    }
    .serviceBox{
        width: 100%;
        margin: inherit;
    }
    .serviceBox h3{
        position: absolute;
        top:30%;
        left: 0;
        right: 0;
        bottom: 0;
        font-size: var(--font-size-2);
        line-height: 1.5;
        text-align: center;
    }
    
    }
     /* ========================================================== */
     /* ==============  2023スマホ     600px   ==================== */
     /* ========================================================== */
     @media screen and (max-width:600px){
        .serviceContainer{
            display: flex;
            margin: var(--space-20) 0;
        }
        .serviceBox h3{
            top:20%;
            font-size: var(--font-size-15);
        }
     }
     