@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

@keyframes FadeInOut {
  0% {
    opacity: 1;
  }
  27% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  91% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.top-hero > img {
  animation-name: FadeInOut;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}

.top-hero > img:nth-child(1) {
  animation-delay: 8s;
}

.top-hero > img:nth-child(2) {
  animation-delay: 4s;
}

.top-hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.top {
  margin-bottom: 120px;
}

.top-color {
  margin-top: 40px;
  position: relative;
  width: 90%;
  height: 960px;
  background: #a61e1e;
}
.top-hero {
  left: 20%;
  position: absolute;
  width: 80%;
  height: 886px;
  top: 0;
}

.top-title {
  position: absolute;
  top: 251px;
  left: 200px;
  line-height: 86px;
  font-size: 48px;
  color: #ffffff;
  z-index: 2;
}

.top-title > p:last-child {
  font-size: 28px;
  font-weight: 100;
  line-height: 28px;
  margin-top: 29px;
}

.top-desc {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  position: absolute;
  right: 0;
  bottom: 122px;
}

.title {
  margin-bottom: 40px;
}

.content {
  text-align: center;
  align-items: center;
  margin-bottom: 64px;
}

.content-desc > p {
  line-height: 32px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 120px;
  width: 864px;
}

.menu > a {
  margin-bottom: 56px;
}

.menu > a > div:first-child {
  width: 420px;
  height: 243px;
  color: #ffffff;
  display: flex;
  font-size: 14px;
  line-height: 21px;
  flex-direction: column;
  justify-content: center;
}
.readMore {
  margin-top: 19px;
  color: #a61e1e;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
}

.menu-arrow {
  margin-left: 16px;
  width: 40px;
  background: #a61e1e;
  position: relative;
  border-radius: 2px;
  height: 2px;
}
.menu-arrow:after {
  content: "";
  position: absolute;
  transform: rotate(45deg);
  right: -0.5px;
  bottom: 2.3px;
  border-top-right-radius: 33%;
  background: #a61e1e;
  width: 7px;
  height: 2px;
}

.menu-circle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  bottom: -13;
  right: -15;
  background: rgba(166, 30, 30, 0.2);
}

.service {
  background-image: url(../img/service.png);
}
.company {
  background-image: url(../img/COMPANY.png);
}
.recruit {
  background-image: url(../img/RECRUIT.png);
}
.contact {
  background-image: url(../img/CONTACT.png);
}

.top-desc-item:nth-child(3) {
  width: 535px;
}

.top-desc-item:nth-child(2) {
  width: 428px;
  margin-bottom: 97.5px;
}

.top-desc-item:nth-child(1) {
  width: 364px;
  margin-bottom: 64.5px;
}

.circle-top {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.border-top {
  width: 41px;
  height: 0px;
  position: absolute;
  transform: rotate(45deg);
  border-bottom: 2px solid #ffffff;
}

.text-top {
  border-bottom: 2px solid #ffffff;
  color: #ffffff;
  float: right;
  font-size: 24px;
  padding-bottom: 9.5px;
  padding-left: 24px;
}

.top-desc-item:nth-child(3) > .text-top {
  width: 490px;
  font-size: 40px;
  padding-bottom: 13.5px;
  padding-left: 40px;
}

.top-desc-item:nth-child(3) > .text-top::after {
  content: "Rapitec";
  width: 157px;
  height: 40px;
}

.top-desc-item:nth-child(2) > .text-top {
  width: 383px;
}

.top-desc-item:nth-child(2) > .text-top::after {
  content: "Technology";
  width: 124px;
  height: 24px;
}

.top-desc-item:nth-child(1) > .text-top {
  width: 319px;
}

.top-desc-item:nth-child(1) > .text-top::after {
  content: "Rapid";
  width: 6px;
  height: 24px;
}

.top-desc-item:nth-child(3) > .circle-top {
  bottom: 22;
  left: 10;
}

.top-desc-item:nth-child(3) > .border-top {
  bottom: 14;
  left: 12;
}

.top-desc-item:nth-child(3) > .circle-top::after {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  bottom: -8;
  left: -8;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.top-desc-item:nth-child(1) > .circle-top {
  top: -1;
  right: 339;
}

.top-desc-item:nth-child(1) > .border-top {
  top: 19;
  right: 312;
}

.top-desc-item:nth-child(2) > .circle-top {
  bottom: 176;
  left: 118;
}

.top-desc-item:nth-child(2) > .border-top {
  bottom: 168;
  left: 118;
}
