@charset "utf-8";

/*  serviceBlock
/* ------------------------------------------------------------------------ */
.serviceBlock .box {
  margin: 90px 0 0 0;
}

.serviceBlock .box:first-child {
  margin-top: 0;
}

.serviceBlock .box .boxInner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 60px;
  margin: 60px 0 0 0;
}

.serviceBlock .box .boxInner:nth-of-type(1) {
  margin-top: 0;
}

.serviceBlock .box .boxInner .pic {
  width: 380px;
}

.serviceBlock .box .boxInner.no_txt .pic {
  width: 100%;
  margin: 0 auto;
}

.serviceBlock .box .boxInner .txtBox {
  width: 660px;
  text-align: left;
}

.serviceBlock .box .boxInner.no_img .txtBox {
  width: 100%;
}

.serviceBlock .box .boxInner .txtBox .txt {
  text-align: left;
}

.serviceBlock .box .btn {
  margin: 30px auto 0;
}

@media (max-width:767px) {
  .serviceBlock .box {
    margin: 60px 0 0 0;
  }

  .serviceBlock .box .boxInner {
    flex-direction: column-reverse;
  }

  .serviceBlock .box .boxInner .pic {
    width: 100%;
  }

  .serviceBlock .box .boxInner .txtBox {
    width: 100%;
  }

  .serviceBlock .box .boxInner .txtBox .txt {
    text-align: left;
  }

  .serviceBlock .box .btn {
    margin: 20px auto 0;
  }
}



/* ============================================================
カスタマイズ
============================================================ */
.serviceBlock .box .boxInner.no_img .txtBox {
  border: 1px solid #d1dce1;
  }

/* h3 */
#contentsBlock h3.h02 {
  position: relative;
  border-bottom: none;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  }

/* h4 */
#contentsBlock .txtBox h4 {
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  }

/* btn */
.btn {
  margin-top: 0;
  }
.btn a {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  display: block;
  position: relative;
  background-color: #a0d8ef;
  border: none;
  border-radius: 9999px;
  transition: 0.3s;
  color: #37485d;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-align: center;
  }
.btn a:hover {
  opacity: 0.7;
  }
.btn a::before {
  height: 1px;
  margin: auto;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  background-color: #fff;
  content: '';
  }
.btn a::after {
  width: 8px;
  height: 1px;
  margin: auto;
  display: block;
  position: absolute;
  top: -6px;
  bottom: 0;
  right: 20px;
  background-color: #fff;
  transform: rotate(45deg);
  content: '';
  }

/* 768＜ --------------------------- */
@media (min-width: 768px) {

  .serviceBlock .box .boxInner.no_img .txtBox {
    padding: 60px 6%;
    }

  /* h3 */
  #contentsBlock h3.h02 {
    margin-bottom: 40px;
    font-size: 30px;
    }

  /* h4 */
  #contentsBlock .txtBox h4 {
    font-size: 21px;
    }

  /* btn */
  .btn a {
    padding: 17px 0;
    font-size: 16px;
    }
  .btn a::before {
    width: 24px;
    }

} /* end 768＜ */
/* ＞767 --------------------------- */
@media (max-width: 767px) {

  .serviceBlock .box .boxInner.no_img .txtBox {
    padding: 36px 6%;
    }

  /* h3 */
  #contentsBlock h3.h02 {
    margin-bottom: 24px;
    font-size: 21px;
    }

  /* h4 */
  #contentsBlock .txtBox h4 {
    font-size: 17px;
    text-align: center;
    }

  /* btn */
  .btn a {
    padding: 12px 60px 13px 24px;
    font-size: 14px;
    line-height: 1.6;
    }
  .btn a::before {
    width: 18px;
    }

} /* end ＞767 */
