body {
  background: url("/registration/assets/img/top/bg.png") no-repeat center/cover;
}

.top-wrap {
  padding: 100px 40px;
}

.top-wrap__container {
  display: flex;
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap;
  max-width: 400px;
}

.top-wrap__container a {
  display: block;
  position: relative;
}

.top-wrap__container .box-01 {
  border: none;
  margin: 0 0 33px 0;
  position: relative;
  box-shadow: 6px 18px 27px rgb(0 0 0 / 24%), -6px 18px 27px rgb(0 0 0 / 16%);
  border-radius: 16px;
}

.top-wrap__container .box-01 .img img {
  border-radius: 16px 16px 0 0;
}

.top-wrap__container .box-01 .txt {
  text-align: center;
  background-color: #fcfcfc;
  font-size: 1.2rem;
  padding: 26px 0 31px;
  line-height: 1.77;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
  margin-top: auto;
  flex: 1;
}

.top-wrap__container .box-01 .txt strong {
  font-size: 1.4rem;
}

.top-wrap__container .box-01:after {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0 13px 48px;
  display: block;
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #557ec0;
  border-top: 2px solid #557ec0;
  transform: rotate(45deg);
}

.top-wrap__container .box-02 {
  border: none;
  margin: 0;
  box-shadow: 6px 18px 27px rgb(0 0 0 / 24%), -6px 18px 27px rgb(0 0 0 / 16%);
  border-radius: 16px;
}

.top-wrap__container .box-02:after {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0 13px 48px;
  display: block;
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #557ec0;
  border-top: 2px solid #557ec0;
  transform: rotate(45deg);
}


.top-wrap__container .box-02 .img img {
  border-radius: 16px 16px 0 0;
}

.top-wrap__container .box-02 .txt {
  text-align: center;
  background-color: #fcfcfc;
  font-size: 1.2rem;
  padding: 26px 0 31px;
  line-height: 1.77;
  border-radius: 0 0 16px 16px;
}

.top-wrap__container .box-02 .txt strong {
  font-size: 1.4rem;
}

.top-wrap__container .box-02 .txt:after {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0 13px 57px;
  display: block;
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #557ec0
  border-top: 2px solid #557ec0;
  transform: rotate(45deg);
}

@media screen and (min-width: 768px) {
  .top-wrap {
    padding: 166px 40px 184px;
    margin: 72px 0 0;
  }
  .top-wrap__container {
    max-width: 800px;
    flex-wrap: nowrap;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 6px 18px 27px rgb(0 0 0 / 24%), -6px 18px 27px rgb(0 0 0 / 16%);
  }
  .top-wrap__container .box-01 {
    border-right: 1px solid #dbdbdc;
    margin:  0;
    border-radius:  0;
  }
  .top-wrap__container .box-01 .img img {
    border-radius: 16px 0 0 0;
  }
  .top-wrap__container .box-01 .txt {
    font-size: 1.6rem;
    padding: 48px 0 58px;
    border-radius: 0 0 0 16px;
  }
  .top-wrap__container .box-01 .txt strong {
    font-size: 1.8rem;
  }
  .top-wrap__container .box-01:after {
    width: 8px;
    height: 8px;
    margin: 0 26px 74px;
  }
    .top-wrap__container .box-02:after {
    width: 8px;
    height: 8px;
    margin: 0 26px 74px;
  }
  .top-wrap__container .box-02 .img img {
    border-radius: 0 16px 0 0;
  }
  .top-wrap__container .box-02 .txt {
    border-radius: 0 0 16px 0;
  }
  .top-wrap__container .box-02 .txt {
    font-size: 1.6rem;
    padding: 48px 0 58px;
  }
  .top-wrap__container .box-02 .txt strong {
    font-size: 1.8rem;
  }
  .top-wrap__container .box-02 .txt:after {
    width: 8px;
    height: 8px;
    margin: 0 26px 74px;
  }
}
