.l-top {
  position: relative;
  margin: 0 4rem;
}

.l-top_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.l-top_content {
  position: relative;
  width: 50%;
}

.l-top_content::before {
  display: block;
  z-index: 0;
  position: absolute;
  right: 2.5rem;
  bottom: 2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  content: '';
  -webkit-transition: opacity .4s;
  transition: opacity .4s;
}

.l-top_content::after {
  position: absolute;
  right: 5.3rem;
  bottom: 4.5rem;
  width: 2.3rem;
  height: 2.3rem;
  background: url(../../img/top/l-top_icn_arrow.png);
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  -webkit-transition: opacity .4s;
  transition: opacity .4s;
}

.l-top_content.is-school {
  border-radius: 1.5rem 0 0 1.5rem;
  background: #e5854e;
}

.l-top_content.is-school::before {
  background: #d85d16;
}

.l-top_content.is-office {
  border-radius: 0 1.5rem 1.5rem 0;
  background: #52bdac;
}

.l-top_content.is-office::before {
  background: #169e89;
}

.l-top_content_link {
  display: block;
}

.l-top_content_link:hover .l-top_content_img_wrapper .l-top_content_img {
  -webkit-transform: translateY(-2.5rem);
  transform: translateY(-2.5rem);
}

.l-top_content_link:hover.l-top_content::before {
  opacity: .6;
}

.l-top_content_link:hover.l-top_content::after {
  opacity: .6;
}

.l-top_content_ttl {
  position: relative;
  width: 11rem;
  height: 11rem;
  margin-bottom: -11rem;
  border-radius: 1.5rem 0 1.5rem 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
}

.l-top_content_ttl.is-school {
  background: -webkit-linear-gradient(315deg, #e5854e 50%, #d85d16 50%);
  background: linear-gradient(135deg, #e5854e 50%, #d85d16 50%);
}

.l-top_content_ttl.is-office {
  background: -webkit-linear-gradient(315deg, #52bdac 50%, #169e89 50%);
  background: linear-gradient(135deg, #52bdac 50%, #169e89 50%);
}

.l-top_content_ttl_school {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7rem;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.l-top_content_ttl_office {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.l-top_content_img {
  position: relative;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: -webkit-transform 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: transform 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: transform 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955), -webkit-transform 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.l-top_content_img.is-school {
  left: -1.5rem;
  min-width: 69.3rem;
  height: auto;
  margin-top: -2rem;
}

.l-top_content_img.is-office {
  left: -1.5rem;
  min-width: 65.7rem;
  height: auto;
  margin-top: -1.3rem;
}

.l-top_content_img_wrapper {
  z-index: 1;
  position: relative;
}

.l-top_bnr {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 57rem;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.l-top_bnr_sp {
  display: none;
}

@media screen and (max-width: 48em) {
  .l-top {
    margin: 0 1rem;
  }
  .l-top_wrapper {
    display: block;
  }
  .l-top_content {
    width: 100%;
  }
  .l-top_content::before {
    right: 1rem;
    bottom: 2rem;
    width: 6.1rem;
    height: 6.1rem;
  }
  .l-top_content::after {
    right: 2.8rem;
    bottom: 3.6rem;
  }
  .l-top_content.is-school {
    border-radius: 1.5rem 1.5rem 0 0;
  }
  .l-top_content.is-office {
    margin-top: -1rem;
    border-radius: 0 0 1.5rem 1.5rem;
  }
  .l-top_content_link:hover .l-top_content_img_wrapper .l-top_content_img {
    -webkit-transform: none;
    transform: none;
  }
  .l-top_content_ttl {
    width: 9.5rem;
    height: 9.5rem;
  }
  .l-top_content_img.is-school {
    left: 0.5rem;
    min-width: 37.4rem;
    margin: .6rem 0 -.6rem;
  }
  .l-top_content_img.is-office {
    left: 2.7rem;
    min-width: 35.5rem;
    margin: 2rem 0 -2rem;
  }
  .l-top_bnr {
    display: none;
  }
  .l-top_bnr_sp {
    display: block;
    z-index: 99;
    position: fixed;
    top: auto;
    bottom: 4rem;
    left: 50%;
    width: calc(100% - 3rem);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}


