#page.service .sec {
  border-bottom: 1px solid #c8c9ca;
}

#page.service .sec_last {
  border: none;
}

#page.service .mainvisual {
  width: 100%;
  height: 200px;
  background-image: url(../images/rakuten/mv.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

#page.service .service_wrap {
  max-width: 960px;
  width: 95%;
  margin: auto;
}

#page.service .mv_ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  color: #fff;
  height: 50px;
}

#page.service .mv_ttl span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}

#page.service .flexbox {
  margin-top: 25px;
  padding-bottom: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#page.service .flexbox img {
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  border-radius: 10px;
}

#page.service .flexbox:hover img {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

#page.service .flexitem_first {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 274px;
  flex: 0 0 274px;
  max-width: 274px;
  width: 100%;
  margin-right: 30px;
}

#page.service .flexitem_second {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
}

#page.service .service_ttl {
  padding-top: 40px;
  font-size: 24px;
}

#page.service .service_txt01 {
  font-size: 19px;
  margin-bottom: 20px;
}

#page.service .service_txt01:hover {
  color: #c9191d;
}

#page.service .service_txt01::before {
  content: "";
  padding-left: 11px;
  background-image: url(../images/base/ui01.png);
  background-repeat: no-repeat;
  background-size: 11px 18px;
  background-position: center;
  margin-right:10px;
}

#page.service .service_inner {
  margin: 40px 0 80px;
}

#page.service .topflexbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#page.service .top_flexitem {
  display: block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 32%;
  flex: 0 0 32%;
  margin-bottom: 16px;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  position: relative;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#page.service .top_flexitem::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#page.service .top_flexitem_txt {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin: auto;
  font-size: 20px;
  text-align: center;
  height: 20px;
  color: #fff;
}

#page.service .top_flexitem:hover:before {
  background: transparent;
}

#page.service .top_flexitem:hover {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

#page.service.education .mainvisual {
  background-image: url(../images/service_archive/education_mv.png);
}

#page.service.global .mainvisual {
  background-image: url(../images/service_archive/global_mv.png);
}

#page.service.fullfil .mainvisual {
  background-image: url(../images/service_archive/fullfil_mv.png);
}

#page.service.amazon .mainvisual {
  background-image: url(../images/service_archive/amazon_mv.png);
}

#page.service.service_top .mainvisual {
  background-image: url(../images/service_archive/service_mv.png);
}

#page.service.blog .mainvisual {
  background-image: url(../images/service_archive/blog_mv.png);
}

#page.service.yahoo .mainvisual {
  background-image: url(../images/yahoo/mv.jpg);
}

.service_flexbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-left: -2px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

.service_item {
  background: transparent;
  overflow: hidden;
  width: 25%;
  height: 150px;
  position: relative;
  display: block;
}

.item_bg {
  background-image: url(../images/service_archive/service01_img.png);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  transition: transform 0s 0.3s, -webkit-transform 0s 0.3s;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.item_bg::after {
  content: "";
  background-image: url(../images/service_archive/service01_img.png);
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  -webkit-transition: 10s ease;
  -o-transition: 10s ease;
  transition: 10s ease;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  width: 100%;
  height: 100%;
}

.item_bg02::after {
  background-image: url(../images/service_archive/service02_img.png);
}

.item_bg03::after {
  background-image: url(../images/service_archive/service03_img.png);
}

.item_bg04::after {
  background-image: url(../images/service_archive/service04_img.png);
}

.item_bg05::after {
  background-image: url(../images/service_archive/service05_img.png);
}

.item_bg06::after {
  background-image: url(../images/service_archive/service06_img.png);
}

.item_bg07::after {
  background-image: url(../images/service_archive/service07_img.png);
}

.item_bg08::after {
  background-image: url(../images/service_archive/service08_img.png);
}

.item_bg09::after {
  background-image: url(../images/service_archive/service09_img.png);
}

.item_bg10::after {
  background-image: url(../images/service_archive/service10_img.png);
}

.item_bg11::after {
  background-image: url(../images/service_archive/service11_img.png);
}

.item_bg12::after {
  background-image: url(../images/service_archive/service12_img.png);
}

.item_mark {
  content: "";
  display: block;
  opacity: 1;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border-top: 3px solid #f0f0ee;
  border-left: 3px solid #f0f0ee;
  border-radius: 0;
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.58, 1);
  -o-transition: all 0.4s cubic-bezier(0.23, 1, 0.58, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.58, 1);
  -webkit-transform: perspective(0);
  transform: perspective(0);
  background: #fff;
  background-image: url(../images/index/arrow_service.png);
  background-repeat: no-repeat;
  background-size: 11px;
  background-position: 95% center;
}

.item_mark_last {
  border-bottom: 3px solid #f0f0ee;
}

.service_item:hover .item_mark {
  opacity: 0.7;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border-radius: 20px;
}

.service_item_hov {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.service_item:hover .item_bg {
  overflow: hidden;
}

.service_item:hover .item_bg:after {
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
}

.service_item:hover .service_item_hov span {
  color: rgba(0, 0, 0, 0.4);
}

.service_item_hov span {
  font-weight: bold;
  color: #000;
  font-size: 18px;
}

.service_item_hov span.sec_ttl_jpn_child_eng {
  font-size: 12px;
  margin-top: 10px;
}

.service_item_hov span.sec_ttl_jpn_child {
  font-size: 18px;
}

.rei {
  display: none;
}

.service_item:hover .rei {
  display: block;
  margin-top: 10px;
}

.sec.sec03 {
  padding-bottom: 0;
}

@media (min-width: 1px) and (max-width: 940px) {
  #page.service .service_item {
    width: 50%;
  }
  #page.service .service_item_hov span.sec_ttl_jpn_child_eng {
    font-size: 14px;
  }
  #page.service .service_item_hov span.sec_ttl_jpn_child {
    font-size: 10px;
  }
  #page.service .item_mark_last_sp {
    border-bottom: none;
  }
  #page.service .service_item_hov span {
    font-size: 14px;
  }
  #page.service .service_item {
    height: 100px;
  }
  #page.service .service_item:hover .item_mark {
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (min-width: 1px) and (max-width: 640px) {
  #page.service .mainvisual {
    height: 150px;
  }
  #page.service .mv_ttl {
    font-size: 25px;
    height: 40px;
  }
  #page.service .mv_ttl span {
    font-size: 14px;
  }
  #page.service .flexbox {
    display: block;
  }
  #page.service .flexitem_first {
    max-width: 100%;
  }
  #page.service .service_txt01 {
    margin-top: 20px;
  }
  #page.service .service_ttl {
    font-size: 20px;
  }
  #page.service .flexbox:hover {
    opacity: 1;
  }
  #page.service .top_flexitem {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 48%;
    flex: 0 0 48%;
  }
  #page.service .service_wrap {
    width: 90%;
  }
}
