@charset "UTF-8";

:root {
  --link_color: #37952F;
  --link_color2: #FF7A00;
  --link_color3: #EBF4EF;
  --link_color4: #fff;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch
}

.container {
  position: relative;
}

/*service*/
.service__title {
  font-size: clamp(18px, 3vw, 30px);
  text-align: center;
  padding-top: 40px;
}

.service__title-txt {
  font-size: clamp(18px, 3vw, 25px);
  text-align: left;
  padding: 5px;
}

.service-underline {
  display: inline-block;
  border-bottom: 4px solid var(--link_color);
}

.service-h {
  font-size: clamp(18px, 3vw, 40px);
  text-align: center;
}

.service__p {
  text-align: left;
  padding: 20px 0;
}

.service__ttl {
  display: flex;
  flex-direction: column;
}

.service__ttl {
  font-size: clamp(18px, 2vw, 24px);
  text-align: left;
}

.service__wrap {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 50px;
}

.service__body {
  padding: 30px;
  position: relative;
  z-index: 1;
  padding: 30px 35px;
  background: var(--link_color3);
}

.service__txt {
  margin-top: 5px;
  line-height: 1.7;
  text-align: center;
}

.service__thumb {
  width: 100%;
  object-fit: cover;
}


@media screen and (min-width: 768px), print {
  .service__wrap {
    flex-direction: row-reverse;
  }

  .service__wrap._revrse {
    flex-direction: row;
  }

  .service__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service__thumb img {
    margin-left: 35px;
  }

  .service__body {
    padding: 30px;
    position: relative;
    z-index: 1;
    margin-top: -60px;
    margin-right: 15px;
    padding: 30px 35px;
    background: var(--link_color3);
  }

  .service__title {
    line-height: 1.2;
    text-align: center;
  }


  .service__title::after {
    content: "";
    display: block;
    margin: 15px 0 15px -35px;
  }

  .service__txt {
    line-height: 2;
  }

  .service__thumb {
    width: 85%;
    object-fit: cover;
  }

  .service__thumb img {
    margin-left: -40px;
    margin-right: 9px;
  }
}

/*service__pay*/
.service__table th,
.service__table tr,
.service__table td {
  display: block;
}

.service__table td {
  padding: 8px 8px;
  text-align: center;
}

.service__table .service-name {
  background-color: var(--link_color);
  color: white;
  font-weight: bold;
}

.service__table {
  font-weight: bold;
  margin: 40px auto;
  width: 100%;

}

.service__table {
  border: 1px solid silver;
}


@media screen and (min-width: 768px), print {

  .service__table {
    margin: 80px auto;
  }

  .service__table tr,
  .service__table td {
    border: 1px solid silver;
    border-collapse: collapse;
    padding: 8px 8px;
  }

  .service__table tr {
    display: table-row;
  }

  .service__table td {
    display: table-cell;
  }

  .service__table {
    display: table;
    border-collapse: collapse;
  }
}

@media screen and (min-width: 768px), print {
  .service__body {
    position: relative;
    margin-top: 35px;
    margin-left: -50px;
    width: 67.3%;
  }

  .service__title br {
    display: none;
  }

  .service__title::after {
    margin-left: -35px;
  }
}

@media screen and (min-width: 768px), print {}