@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media print, screen and (min-width: 768px) {
  .service_cont {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
.service_cont section {
  margin-top: 4rem;
  background: #fff;
  border-radius: 0.8em;
  overflow: hidden;
}
@media print, screen and (min-width: 768px) {
  .service_cont section {
    width: 48%;
    margin-right: 4%;
  }
  .service_cont section:nth-child(2n) {
    margin-right: 0;
  }
  .service_cont section:nth-child(1), .service_cont section:nth-child(2) {
    margin-top: 0;
  }
}
@media screen and (max-width: 767px) {
  .service_cont section {
    margin-top: 2rem;
  }
}
.service_cont section .ttl_box {
  position: relative;
}
.service_cont section .ttl_box h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: #58bc1e;
  color: #fff;
  width: 7em;
  text-align: center;
  font-weight: normal;
  font-size: 2.4rem;
  z-index: 1;
  padding: 0.5em 0.5em 1.3em;
}
@media screen and (max-width: 767px) {
  .service_cont section .ttl_box h3 {
    font-size: 1.9rem;
  }
}
.service_cont section .ttl_box h3:after {
  content: "";
  display: block;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  height: 0.4em;
  width: 0.4em;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7em;
  margin: auto;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}
.service_cont section .ttl_box figure {
  overflow: hidden;
  height: 345px;
}
@media screen and (max-width: 767px) {
  .service_cont section .ttl_box figure {
    height: 57vw;
  }
}
.service_cont section .ttl_box figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: all 2s;
  transition: all 2s;
}
.service_cont section a {
  display: block;
  text-decoration: none;
  color: #333;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.service_cont section a > p {
  padding: 5.5%;
  font-size: 1.8rem;
}
@media screen and (max-width: 767px) {
  .service_cont section a > p {
    font-size: 1.6rem;
  }
}
@media print, screen and (min-width: 768px) {
  .service_cont section a:hover {
    -webkit-filter: brightness(110%);
            filter: brightness(110%);
  }
  .service_cont section a:hover img {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}

.page_head:after {
  background: url("../../img/service/mainimg.jpg") no-repeat center/cover;
}

.service_area .ttl3 {
  text-align: center;
}
.service_area .service_cont section {
  background: #f6f4ec;
}