html{
    scroll-padding-top:300px;
}
main {
    padding: 0 16px 100px;
    letter-spacing: 0.2em;
    line-height: 2.8rem;
    margin:0 auto;
    
      }
  
  
  main h2 {
     text-align:center;
    font-size: 2.75rem;
    color: #5a9ea1;
    margin: 100px 0 0;
    position: relative;
    font-family: "Noto-Serif";
  }

.c-lead {
    color: #5a9ea1;
    text-align: left;
    margin-bottom: 5px;
}

@media (min-width:960px) {
    main {
        padding-bottom: 100px;
        max-width: 1440px;
        padding: 0 70px 150px;
    }
    .service h2 {
        font-size: 3.5rem;
        margin-top: 150px;
    }
}
/* サービス */
.service-container {
    margin-top: 100px;
}
.service-container_left-text h3,
.service-container_rigth-text h3 {
    position: relative;
    font-size: 1.7rem;
    color: #333;
    margin-top:30px;
}
 .service-container_left, .service-container_rigth {
   margin-bottom: 50px;
}
.service-container_rigth:last-child {
    margin-bottom:0;
}
.service-container_left-text h3::before {
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    content: '';
    display: inline-block;
    position: absolute;
    left: -20px;
    top: -10px;
    z-index: -1;
}

.service-container_rigth-text h3:after {
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    content: '';
    display: inline-block;
    position: absolute;
    left: -20px;
    top: -10px;
    z-index: -1;
}

.service-container_left-img img,.service-container_rigth-img img {
    width: 100%;
}

.service-container_left-text,
.service-container_rigth-text {
    text-align: left;
}


@media (min-width:960px) {
    .service-container {
        margin-top: 80px;
    }

    .service-container_left {
        display: flex;
        align-items: center;
        margin-bottom: 80px;
        justify-content:space-between;

    }

    .service-container_left-img img {
        width: 40vw;
        object-fit: contain;
        border-radius: 0 50px 50px 0;
        height: auto;
    }

    .service-container_left-text {
        padding-left: 50px;
       
    }

    .service-container h3 {
        font-size: 2rem;
        padding-bottom: 16px;
        margin-top:0;
    }

    .service-container p {
        padding-bottom: 16px;
    }

    .service-container_rigth {
        display: flex;
        text-align: right;
        align-items: center;
        flex-direction: row-reverse;
    }

    .service-container_rigth-img img {
        width: 40vw;
        object-fit: contain;
        border-radius: 50px 0 0 50px;
        height: auto;
    }

    .service-container_rigth-text {
        text-align: left;
        padding-right: 50px;
    }

}

.fadeIn_up {
    opacity: 0;
    transform: translate(0, 50%);
    transition: 2s;
}

.fadeIn_up.is-show {
    transform: translate(0, 0);
    opacity: 1;
}