@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap");
#index {
  margin-top: 160px;
  position: relative;
  padding-bottom: 390px;
}
@media screen and (max-width: 1060px) {
  #index {
    padding-bottom: 50px;
  }
}
#index:before {
  content: "";
  display: inline-block;
  width: 416px;
  height: 544px;
  position: absolute;
  right: 60%;
  top: 80px;
  background-image: url("../images/top/index-back1.png");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 1200px) {
  #index:before {
    width: 3.328rem;
    height: 4.352rem;
    left: 0.2rem;
    top: 1rem;
  }
}
@media screen and (max-width: 1060px) {
  #index:before {
    content: none;
    width: 3.2rem;
    height: 4.1846153846rem;
    left: initial;
    top: initial;
    top: 800px;
    right: 50px;
  }
}
#index:after {
  content: "";
  display: inline-block;
  width: 544px;
  height: 416px;
  position: absolute;
  right: 70%;
  top: 680px;
  background-image: url("../images/top/index-back2.png");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 1200px) {
  #index:after {
    width: 4.5333333333rem;
    height: 3.4666666667rem;
    top: 6.8rem;
  }
}
@media screen and (max-width: 1060px) {
  #index:after {
    content: none;
    width: 4.1846153846rem;
    height: 3.2rem;
    right: initial;
    top: 1050px;
    left: 80px;
  }
}
@media screen and (max-width: 768px) {
  #index {
    background-repeat: no-repeat;
    margin-top: 0.85rem;
    background-image: url("../images/top/index-back_sp@2x.png");
    background-size: 3.75rem 6.5985rem;
    background-position: -0.2rem bottom;
    padding-bottom: 7.5rem;
  }
}
#index .inner {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
@media screen and (max-width: 768px) {
  #index .inner {
    overflow: hidden;
  }
}
#index .index-contents {
  max-width: 680px;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 20px;
}
@media screen and (max-width: 1060px) {
  #index .index-contents {
    max-width: initial;
  }
}
@media screen and (max-width: 768px) {
  #index .index-contents {
    padding: 0;
  }
}
#index .index-contents:before {
  content: "";
  display: inline-block;
  width: 722.55px;
  height: 239.16px;
  position: absolute;
  transform: rotate(345deg);
  z-index: -1;
  bottom: -100px;
  left: -330px;
  background-image: url("../images/common/txt-carink.svg");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  #index .index-contents:before {
    width: 3.27rem;
    height: 1.31rem;
    right: -0.9rem;
    left: initial;
    bottom: initial;
    top: 2.8rem;
  }
}
#index .index-contents:after {
  content: "";
  display: inline-block;
  width: 288px;
  height: 375.07px;
  position: absolute;
  bottom: -370px;
  left: -150px;
  z-index: -2;
  background-image: url("../images/top/index-back3.png");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 1060px) {
  #index .index-contents:after {
    content: none;
  }
}
#index .index-ttl {
  font-size: 32px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media screen and (max-width: 768px) {
  #index .index-ttl {
    font-size: 0.28rem;
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  #index .index-ttl {
    gap: 0.08rem;
  }
}
#index .index-ttl span {
  display: inline-block;
  position: relative;
}
#index .index-ttl span:after {
  content: "";
  display: inline-block;
  width: 95%;
  height: 2px;
  position: absolute;
  bottom: -4px;
  left: 0;
  border-radius: 1px;
  background: linear-gradient(-45deg, #e60024 0%, #34aaea 50%, #fff100 100%);
}
#index .index-txt {
  font-size: 18px;
  line-height: 2.6666666667;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  #index .index-txt {
    margin-top: 0.24rem;
    font-size: 0.18rem;
  }
}
#index .index-txt p:not(:first-child) {
  margin-top: 24px;
}
@media screen and (max-width: 768px) {
  #index .index-txt p:not(:first-child) {
    margin-top: 0.16rem;
  }
}
@media screen and (max-width: 768px) {
  #index .index-txt p {
    line-height: 2;
  }
  #index .index-txt p:first-child {
    margin-bottom: 0.16rem;
  }
}
#index .btn-primary {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  #index .btn-primary {
    margin: 0.4rem auto 0;
  }
}

#top-footer {
  background: #ebebeb;
  border-radius: 0 128px 0 128px;
  margin-top: 80px;
  padding: 80px 120px;
}
@media screen and (max-width: 768px) {
  #top-footer {
    padding: 0.8rem 0;
    border-radius: 0 0.64rem 0 0.64rem;
  }
}
#top-footer .info-list {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  #top-footer .info-list {
    margin-top: 0.24rem;
    gap: 0.16rem;
  }
}
#top-footer .info-list .info-item {
  flex: 1 1 calc(50% - 16px);
  height: 96px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 0 24px 0 24px;
}
@media screen and (max-width: 768px) {
  #top-footer .info-list .info-item {
    flex: initial;
    width: 100%;
    font-size: 0.16rem;
    height: 0.96rem;
  }
}
#top-footer .tf-txt {
  font-size: 16px;
  line-height: 2;
  text-align: center;
  margin-top: 32px;
}
@media screen and (max-width: 768px) {
  #top-footer .tf-txt {
    font-size: 0.16rem;
    margin-top: 0.4rem;
  }
}/*# sourceMappingURL=style.css.map */