.p-error {
  margin-top: 88px; }

.p-error-inner {
  padding: 60px 0; }

.p-error-top {
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 70px; }

.p-error-subttl {
  font-size: 3.2rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px; }

.p-error-text {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.015em;
  font-weight: 400;
  text-align: center; }

.p-error-link-box {
  padding: 35px 0;
  margin-bottom: 55px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center; }

.p-error-btn {
  width: 350px;
  height: 65px;
  margin-right: 30px; }

.p-error-btn:last-of-type {
  margin-right: 0; }

.p-error-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px 0;
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: blue;
  text-align: center;
  border: 2px solid blue; }

.p-error-link::after {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%) rotate(45deg);
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 3px solid blue;
  border-right: 3px solid blue; }

.p-error-link:hover::after {
  animation: btnHover 0.4s ease-in forwards; }

@media screen and (max-width: 767px) {
  .p-error {
    margin-top: 11.73333vw; }

  .p-error-inner {
    padding: 6.66667vw 0; }

  .p-error-top {
    font-size: 6vw;
    margin-bottom: 7.33333vw; }

  .p-error-subttl {
    font-size: 4.8vw;
    margin-bottom: 2.66667vw; }

  .p-error-text {
    font-size: 4vw; }

  .p-error-link-box {
    padding: 6vw 0 4vw;
    margin-bottom: 8vw; }

  .p-error-btn {
    width: 45%;
    height: 13.33333vw;
    margin-right: 5.33333vw; }

  .p-error-btn:last-of-type {
    margin-right: 0; }

  .p-error-link {
    padding: 2.66667vw 0;
    font-size: 4vw; }

  .p-error-link::after {
    width: 1.33333vw;
    height: 1.33333vw;
    border-width: 0.4vw;
    right: 3.33333vw; } }
