.paidy-service-ended-page {
  color: #24272b;
  background: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
}

.paidy-service-ended {
  line-height: 1.9;
  overflow-wrap: break-word;
}

.paidy-service-ended .inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 908px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.paidy-service-ended__notice {
  padding: 88px 0 64px;
  background: #fffaf5;
  border-top: 4px solid #e9681b;
}

.paidy-service-ended__label {
  margin: 0 0 18px;
  color: #a83f24;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.paidy-service-ended h1 {
  margin: 0;
  color: #25282c;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0;
}

.paidy-service-ended__mobile-break {
  display: none;
}

.paidy-service-ended__copy {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #ddcfc4;
  font-size: 17px;
}

.paidy-service-ended__copy p {
  margin: 0 0 24px;
}

.paidy-service-ended__copy p:last-child {
  margin-bottom: 0;
}

.paidy-service-ended__alternative {
  padding: 56px 0;
  background: #f4f6f7;
  border-top: 1px solid #dde1e3;
  border-bottom: 1px solid #dde1e3;
}

.paidy-service-ended__alternative h2 {
  margin: 0 0 28px;
  color: #34414b;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
}

.paidy-service-ended__alternative dl {
  max-width: 620px;
  margin: 0 auto;
  border-top: 1px solid #cbd1d5;
}

.paidy-service-ended__alternative dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-bottom: 1px solid #cbd1d5;
}

.paidy-service-ended__alternative dt,
.paidy-service-ended__alternative dd {
  margin: 0;
  padding: 14px 18px;
}

.paidy-service-ended__alternative dt {
  color: #34414b;
  background: #e5e9eb;
  font-weight: 700;
}

.paidy-service-ended__alternative dd {
  background: #ffffff;
}

.paidy-service-ended__alternative p {
  margin: 22px 0 0;
  color: #59636b;
  font-size: 14px;
  text-align: center;
}

.paidy-service-ended__closing {
  padding: 52px 0 80px;
  text-align: center;
}

.paidy-service-ended__closing p {
  margin: 0 0 30px;
  font-size: 16px;
}

.paidy-service-ended__closing a {
  display: inline-flex;
  min-width: 240px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  color: #ffffff;
  background: #e9681b;
  border: 2px solid #e9681b;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.paidy-service-ended__closing a:hover,
.paidy-service-ended__closing a:focus-visible {
  color: #e9681b;
  background: #ffffff;
}

@media screen and (max-width: 767px) {
  .paidy-service-ended .inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .paidy-service-ended__notice {
    padding: 54px 0 42px;
  }

  .paidy-service-ended h1 {
    font-size: 23px;
    line-height: 1.6;
  }

  .paidy-service-ended__mobile-break {
    display: block;
  }

  .paidy-service-ended__copy {
    margin-top: 32px;
    padding-top: 28px;
    font-size: 15px;
  }

  .paidy-service-ended__alternative {
    padding: 42px 0;
  }

  .paidy-service-ended__alternative h2 {
    font-size: 20px;
  }

  .paidy-service-ended__alternative dl > div {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .paidy-service-ended__alternative dt,
  .paidy-service-ended__alternative dd {
    padding: 12px;
  }

  .paidy-service-ended__closing {
    padding: 42px 0 60px;
  }

  .paidy-service-ended__closing a {
    width: 100%;
    min-width: 0;
  }
}
