.atj-topimg-container {
  position: relative;
}

.atj-topimg-title {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: fit-content;
  height: fit-content;
  padding: 1rem 2rem;
  border: solid 1px #000;
  text-align: center;
  background: #fff;
}
.atj-topimg-title-main {
  line-height: 24pt;
  font-size: 22pt;
  font-weight: bold;
  font-style: italic;
  color: #DF0A05;
}
.atj-topimg-title-sub {
  line-height: 14pt;
  font-size: 12pt;
  font-weight: bold;
  font-style: italic;
  color: #DF0A05;
}
.page-header {
  display: none;
}
@media (max-width: 575.98px) {
  .atj-topimg-title {
    margin: auto 1rem;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .atj-topimg-title {
    margin: auto 0 auto calc((100% - 576px) / 2 + 2.5rem);
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .atj-topimg-title {
    margin: auto 0 auto calc((100% - 768px) / 2 + 3rem);
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .atj-topimg-title {
    margin: auto 0 auto calc((100% - 992px) / 2 + 2rem);
  }
}
@media (min-width: 1200px) {
  .atj-topimg-title {
    margin: auto 0 auto calc((100% - 1200px) / 2 + 3rem);
  }
}

.atj-topimg-button-block {
  letter-spacing: -1rem;
}
.atj-topimg-button {
  display: inline-block;
  line-height: 50px;
  letter-spacing: normal;
  text-align: center;
  font-size: 14pt;
  font-weight: bold;
  color: #fff;
  background: #000;
}
.atj-topimg-button:hover {
  color: #fff;
  transform: rotateX(360deg);
  transition: transform .5s;
}

@media (max-width: 575.98px) {
  .atj-topimg-button-block {
    margin: 2rem 0 0 0;
    padding: 0 20px;
  }
  .atj-topimg-button {
    width: 100%;
    height: 50px;
    margin: 0 0 2rem 0;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .atj-topimg-button-block {
    margin: 2rem 0 0 0;
    padding: 0 40px;
  }
  .atj-topimg-button {
    width: 47%;
    height: 50px;
  }
  .atj-topimg-button:nth-child(2n) {
    margin: 0 0 2rem 6%;
  }
}
@media (min-width: 992px) {
  .atj-topimg-button-block {
    position: absolute;
    right: 10px;
    bottom: 20px;
    width: 440px;
  }
  .atj-topimg-button {
    width: 200px;
    height: 50px;
    margin: 1rem 10px 0 10px;
  }
}
