@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);
p {
  text-align: center;
}

@media (min-width: 1024px) {
  .service-page-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.service-page-wrap .service-page-block {
  margin-top: 100px;
  padding-left: 4%;
  padding-right: 4%;
}

@media (min-width: 1024px) {
  .service-page-wrap .service-page-block {
    width: 50%;
  }
}

.service-page-wrap .service-page-block .serviceTitle {
  font-size: 40px;
}

.service-page-wrap .service-page-block .service-page-img {
  width: 70%;
  margin: 0 auto;
}

.service-page-wrap .service-page-block .service-page-content {
  width: 60%;
  margin: 0 auto;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a {
  text-decoration: none;
}

h1 {
  font-family: serif;
  font-weight: bold;
}

.row {
  max-width: 900px;
  margin: 50px auto 0;
}

.card {
  width: 100%;
}

.card .menu-content {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.card .menu-content::before, .card .menu-content::after {
  content: '';
  display: table;
}

.card .menu-content::after {
  clear: both;
}

.card .menu-content li {
  display: inline-block;
}

.card .menu-content a {
  color: #fff;
}

.card .menu-content span {
  position: absolute;
  left: 50%;
  top: 0;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Open Sans';
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

.card .wrapper {
  background-color: #fff;
  position: relative;
  overflow: hidden;
  -webkit-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
          box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
  .card .wrapper {
    min-height: 300px;
  }
}

@media (min-width: 1024px) {
  .card .wrapper {
    min-height: 540px;
  }
}

.card .wrapper:hover .content {
  padding: 5rem 1rem 1rem 1em;
  height: 100%;
}

.card .wrapper:hover .data {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  height: 100%;
}

.card .data {
  position: absolute;
  bottom: 0;
  width: 100%;
  -webkit-transform: translateY(calc(70px + 1em));
          transform: translateY(calc(70px + 1em));
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.card .data .content {
  padding: 1rem 1rem 1rem 1em;
  position: relative;
  z-index: 1;
}

.card .author {
  font-size: 12px;
}

.card .page_service_title {
  margin-top: 10px;
  font-size: 3.1vw;
}

.card .page_service_title span {
  font-size: 2vw;
  line-height: 60px;
}

.card .text {
  height: 70px;
  margin: 0;
}

.card input[type='checkbox'] {
  display: none;
}

.card input[type='checkbox']:checked + .menu-content {
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
}

.example-1 .page_service_img1 {
  background: url("img/service/nick-fewings-DoDE5lWOj4Q-unsplash.jpg") center/cover no-repeat;
}

.example-1 .page_service_img2 {
  background: url("img/service/patrick-tomasso-ymuAM4S2fxI-unsplash.jpg") center/cover no-repeat;
}

.example-1 .page_service_img3 {
  background: url("img/service/headway-5QgIuuBxKwM-unsplash.jpg") center/cover no-repeat;
}

.example-1 .page_service_img4 {
  background: url("img/service/shutterstock_1464911366.jpg") center/cover no-repeat;
}

.example-1 .content {
  background-color: #fff;
  opacity: 0.8;
  -webkit-box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.3);
}

.example-1 .title a {
  color: gray;
}

.example-1 .menu-button {
  position: absolute;
  z-index: 999;
  top: 16px;
  right: 16px;
  width: 25px;
  text-align: center;
  cursor: pointer;
}

.example-1 .menu-button span {
  width: 5px;
  height: 5px;
  background-color: gray;
  color: gray;
  position: relative;
  display: inline-block;
  border-radius: 50%;
}

.example-1 .menu-button span::after, .example-1 .menu-button span::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background-color: currentColor;
  position: absolute;
  border-radius: 50%;
}

.example-1 .menu-button span::before {
  left: -10px;
}

.example-1 .menu-button span::after {
  right: -10px;
}

.example-1 .menu-content {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -webkit-transform: translateY(100px);
          transform: translateY(100px);
}

.example-1 .menu-content li {
  width: 33.333333%;
  height: 60px;
  position: relative;
}

.example-1 .menu-content a {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 24px;
}

.example-1 .menu-content span {
  top: -10px;
}

@media (max-width: 768px) {
  * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  a {
    text-decoration: none;
  }
  h1 {
    font-family: serif;
    font-weight: bold;
  }
  .row {
    max-width: 900px;
    margin: 50px auto 0;
  }
  .card {
    width: 100%;
  }
  .card .menu-content {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }
  .card .menu-content::before, .card .menu-content::after {
    content: '';
    display: table;
  }
  .card .menu-content::after {
    clear: both;
  }
  .card .menu-content li {
    display: inline-block;
  }
  .card .menu-content a {
    color: #fff;
  }
  .card .menu-content span {
    position: absolute;
    left: 50%;
    top: 0;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Open Sans';
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
  }
  .card .wrapper {
    background-color: #fff;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    -webkit-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
            box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  .card .wrapper .serviceTitle_sp {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 25px;
    width: 100%;
    font-weight: bold;
  }
  .card .data {
    position: absolute;
    bottom: 0;
    width: 100%;
    -webkit-transform: translateY(calc(70px + 1em));
            transform: translateY(calc(70px + 1em));
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
  }
  .card .text {
    height: 70px;
    margin: 0;
  }
  .card input[type='checkbox'] {
    display: none;
  }
  .card input[type='checkbox']:checked + .menu-content {
    -webkit-transform: translateY(60px);
            transform: translateY(60px);
  }
  .service-page-block {
    margin-top: 50px;
  }
  .service-page-block .serviceTitle {
    font-size: 20px;
  }
  .service-page-block .service-page-img {
    width: 70%;
    margin: 0 auto;
  }
  .service-page-block .service-page-content {
    width: 60%;
    margin: 0 auto;
  }
  .example-1 .page_service_img1 {
    background: url("img/service/nick-fewings-DoDE5lWOj4Q-unsplash.jpg") center/cover no-repeat;
  }
  .example-1 .page_service_img2 {
    background: url("img/service/patrick-tomasso-ymuAM4S2fxI-unsplash.jpg") center/cover no-repeat;
  }
  .example-1 .page_service_img3 {
    background: url("img/service/headway-5QgIuuBxKwM-unsplash.jpg") center/cover no-repeat;
  }
  .example-1 .page_service_img4 {
    background: url("img/service/shutterstock_1464911366.jpg") center/cover no-repeat;
  }
  .example-1 .content {
    background-color: #fff;
    opacity: 0.8;
    -webkit-box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.3);
            box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.3);
  }
  .example-1 .title a {
    color: gray;
  }
  .example-1 .menu-button {
    position: absolute;
    z-index: 999;
    top: 16px;
    right: 16px;
    width: 25px;
    text-align: center;
    cursor: pointer;
  }
  .example-1 .menu-button span {
    width: 5px;
    height: 5px;
    background-color: gray;
    color: gray;
    position: relative;
    display: inline-block;
    border-radius: 50%;
  }
  .example-1 .menu-button span::after, .example-1 .menu-button span::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background-color: currentColor;
    position: absolute;
    border-radius: 50%;
  }
  .example-1 .menu-button span::before {
    left: -10px;
  }
  .example-1 .menu-button span::after {
    right: -10px;
  }
  .example-1 .menu-content {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
  }
  .example-1 .menu-content li {
    width: 33.333333%;
    height: 60px;
    position: relative;
  }
  .example-1 .menu-content a {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 24px;
  }
  .example-1 .menu-content span {
    top: -10px;
  }
}
/*# sourceMappingURL=service.css.map */