main.page {
  background: #fffbd7;
}

.thanks-wrap {
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}
.thanks-wrap .thanks-top {
  background-color: #fff;
  text-align: center;
  border: 0.4rem solid #f7931e;
  border-radius: 0 2.4rem 0 2.4rem;
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  position: relative;
  margin-bottom: 5rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top {
    padding: 4.8rem 0;
    border-width: 0.7rem;
    margin-bottom: 8rem;
  }
}
.thanks-wrap .thanks-top:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  aspect-ratio: 240/52;
  background-color: #f7931e;
  clip-path: polygon(100% 0, 0 0, 50% 99%);
  width: 14rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top:after {
    width: 24rem;
  }
}
.thanks-wrap .thanks-top .ttl {
  text-align: center;
}
.thanks-wrap .thanks-top .ttl span {
  display: inline-block;
  position: relative;
  border-bottom: 0.5rem solid #f7931e;
  font-size: 2.4rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top .ttl span {
    font-size: 3.6rem;
  }
}
.thanks-wrap .thanks-top .txt {
  font-size: 1.3rem;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top .txt {
    font-size: 1.8rem;
  }
}
.thanks-wrap .thanks-top .tel {
  text-align: center;
}
.thanks-wrap .thanks-top .tel a {
  display: inline-block;
  width: 30rem;
  padding: 1rem 0;
  background-color: #eaeaea;
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top .tel a {
    width: 40rem;
  }
}
.thanks-wrap .thanks-top .tel a:hover {
  color: inherit;
  filter: drop-shadow(0 0 1rem #f7931e);
}
.thanks-wrap .thanks-top .tel a strong {
  display: block;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 2.4rem;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top .tel a strong {
    font-size: 3.4rem;
    line-height: 1.2;
  }
}
.thanks-wrap .thanks-top .tel a span {
  font-weight: 700;
  font-size: 1.4rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .thanks-top .tel a span {
    font-size: 1.8rem;
  }
}
.thanks-wrap .procedure .procedure_title {
  text-align: center;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.05em;
  font-size: 2.8rem;
  margin-bottom: 2rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .procedure_title {
    font-size: 3.4rem;
    margin-bottom: 4rem;
  }
}
.thanks-wrap .procedure .procedure_title span {
  display: inline-block;
  padding: 0 1rem;
  border-bottom: 0.5rem solid #808080;
}
.thanks-wrap .procedure .steps {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 5rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps {
    justify-content: space-between;
    margin-bottom: 10rem;
  }
}
.thanks-wrap .procedure .steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: calc(33% - 0.6rem);
  padding-bottom: 1.5rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step {
    width: 24rem;
    gap: 2.4rem;
    padding-bottom: 3rem;
  }
}
.thanks-wrap .procedure .steps .step-1 {
  --step: url(../images/thanks/step1.png);
}
.thanks-wrap .procedure .steps .step-2 {
  --step: url(../images/thanks/step2.png);
}
.thanks-wrap .procedure .steps .step-3 {
  --step: url(../images/thanks/step3.png);
}
.thanks-wrap .procedure .steps .step .number {
  text-align: center;
}
.thanks-wrap .procedure .steps .step .number span {
  display: inline-block;
  background-color: #f7931e;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0 1rem 0.2em;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step .number span {
    font-size: 2rem;
    padding: 0.5rem 2rem 0.4em;
  }
}
.thanks-wrap .procedure .steps .step .name {
  width: 100%;
  aspect-ratio: 1;
  background-color: #f7931e;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-top: 0.8em;
}
.thanks-wrap .procedure .steps .step .name::after {
  content: "";
  display: block;
  aspect-ratio: 98/122;
  background: var(--step) center/contain no-repeat;
  width: 4.5rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step .name::after {
    width: 10rem;
  }
}
.thanks-wrap .procedure .steps .step .name span {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.4rem;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step .name span {
    font-size: 2.4rem;
  }
}
.thanks-wrap .procedure .steps .step .detail {
  font-weight: 500;
  color: #000;
  font-size: 1.1rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .thanks-wrap .procedure .steps .step .detail {
    letter-spacing: -0.05em;
  }
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step .detail {
    font-size: 1.8rem;
  }
}
.thanks-wrap .procedure .steps .step-2 {
  position: relative;
}
.thanks-wrap .procedure .steps .step-2::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 1rem);
  height: calc(100% - 3.5rem);
  border: 0.5rem solid #ff0000;
  border-radius: 1rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step-2::before {
    border-width: 1rem;
    width: calc(100% + 5rem);
    height: calc(100% - 5rem);
  }
}
.thanks-wrap .procedure .steps .step-2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  aspect-ratio: 116/48;
  background: url(../images/thanks/step-arrow.svg) top -0.1rem center/contain no-repeat;
  width: 8rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .steps .step-2:after {
    width: 14rem;
  }
}
.thanks-wrap .procedure .verification {
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 2rem 0.6rem;
  border: 0.2rem solid #94d4e7;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
@media screen and (max-width: 767px) {
  .thanks-wrap .procedure .verification {
    padding-bottom: 0;
  }
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification {
    padding: 3.4rem 2rem;
  }
}
.thanks-wrap .procedure .verification .ttl {
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  color: #ff0000;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .ttl {
    font-size: 2.6rem;
    margin-bottom: 2rem;
  }
}
.thanks-wrap .procedure .verification .actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .actions {
    gap: 2rem;
  }
}
.thanks-wrap .procedure .verification .actions .btn {
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  width: 28rem;
  transition: 0.3s;
  will-change: transform;
  filter: drop-shadow(0 0.4rem 0 #737373);
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .actions .btn {
    width: 55rem;
    border-radius: 1rem;
    padding: 0.5rem 4rem;
    filter: drop-shadow(0 0.6rem 0 #737373);
  }
}
.thanks-wrap .procedure .verification .actions .btn:hover {
  transform: translateY(0.3rem);
  filter: drop-shadow(0 0.1rem 0 #737373);
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .actions .btn:hover {
    transform: translateY(0.4rem);
    filter: drop-shadow(0 0.2rem 0 #737373);
  }
}
.thanks-wrap .procedure .verification .actions .btn::before, .thanks-wrap .procedure .verification .actions .btn::after {
  content: "";
  display: block;
}
.thanks-wrap .procedure .verification .actions .btn::before {
  aspect-ratio: 1;
  width: 4rem;
  background: center/contain no-repeat;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .actions .btn::before {
    width: 9rem;
  }
}
.thanks-wrap .procedure .verification .actions .btn:after {
  aspect-ratio: 1/2;
  width: 1rem;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .actions .btn:after {
    width: 2rem;
  }
}
.thanks-wrap .procedure .verification .actions .btn span {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .actions .btn span {
    font-size: 2.4rem;
  }
}
.thanks-wrap .procedure .verification .actions .btn-line {
  background-color: #06c755;
}
.thanks-wrap .procedure .verification .actions .btn-line::before {
  background-image: url(../images/thanks/icon-line.png);
}
.thanks-wrap .procedure .verification .actions .btn-mail {
  background-color: #ff8f3b;
}
.thanks-wrap .procedure .verification .actions .btn-mail::before {
  background-image: url(../images/thanks/icon-mail.png);
  background-size: 80%;
}
.thanks-wrap .procedure .verification .docs {
  margin-top: 1rem;
}
.thanks-wrap .procedure .verification .docs .dttl {
  font-weight: bold;
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .dttl {
    font-size: 2.4rem;
  }
}
.thanks-wrap .procedure .verification .docs .tabs {
  background-color: #efefef;
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
  margin-bottom: 4rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tabs {
    padding: 2.4rem;
  }
}
.thanks-wrap .procedure .verification .docs .tabs .tab {
  width: 25%;
  padding: 0.5rem 0.2rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tabs .tab {
    padding: 1.2rem 0.5rem;
  }
}
.thanks-wrap .procedure .verification .docs .tabs .tab-r2 {
  width: 33.3333333333%;
}
.thanks-wrap .procedure .verification .docs .tabs .tab span {
  cursor: pointer;
  display: block;
  color: #fff;
  text-align: center;
  background-color: #ff404e;
  font-weight: 700;
  transition: 0.3s;
  padding: 0.5rem 0.2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  filter: drop-shadow(0 0.4rem 0 #5b5b5b);
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tabs .tab span {
    padding: 1rem 0.2rem;
    border-radius: 1rem;
    font-size: 1.8rem;
    filter: drop-shadow(0 0.6rem 0 #5b5b5b);
  }
}
.thanks-wrap .procedure .verification .docs .tabs .tab span:hover {
  transform: translateY(0.3rem);
  filter: drop-shadow(0 0.1rem 0 #737373);
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tabs .tab span:hover {
    transform: translateY(0.4rem);
    filter: drop-shadow(0 0.2rem 0 #737373);
  }
}
.thanks-wrap .procedure .verification .docs .tab-content {
  display: none;
  background-color: #fffbd7;
  border-radius: 1rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2.4rem 1.2rem;
}
@media screen and (max-width: 767px) {
  .thanks-wrap .procedure .verification .docs .tab-content {
    margin-left: -0.6rem;
    margin-right: -0.6rem;
  }
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content {
    padding: 2.4rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content.active {
  display: block;
}
.thanks-wrap .procedure .verification .docs .tab-content .txt-red {
  color: #f00;
}
.thanks-wrap .procedure .verification .docs .tab-content .title {
  padding-bottom: 1rem;
  border-bottom: 0.2rem solid #000;
}
.thanks-wrap .procedure .verification .docs .tab-content .title strong {
  display: block;
  line-height: 1;
  font-weight: 900;
  font-size: 1.6rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content .title strong {
    font-size: 2.6rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .title small {
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  .thanks-wrap .procedure .verification .docs .tab-content .title small {
    font-size: 1.4rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .content_tab {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.thanks-wrap .procedure .verification .docs .tab-content .block {
  font-size: 1.2rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content .block {
    font-size: 1.4rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .block .bttl {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content .block .bttl {
    font-size: 1.8rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .selfie {
  margin-top: 1rem;
}
.thanks-wrap .procedure .verification .docs .tab-content .selfie img {
  max-height: 24rem;
  display: block;
  margin: 0 auto;
}
.thanks-wrap .procedure .verification .docs .tab-content .block-image {
  display: flex;
  margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  .thanks-wrap .procedure .verification .docs .tab-content .block-image {
    gap: 2rem;
    flex-direction: column;
  }
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content .block-image {
    justify-content: center;
    margin-left: -1rem;
    margin-right: -1rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .block-image .stt {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #f00;
  text-align: center;
}
.thanks-wrap .procedure .verification .docs .tab-content .block-image .img_wrap {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content .block-image .img {
    padding: 1rem;
    padding-right: 1rem;
    width: 50%;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .block-image .img img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  margin-bottom: 0.5rem;
  max-height: 30rem;
  width: auto;
}
@media screen and (min-width: 768px) {
  .thanks-wrap .procedure .verification .docs .tab-content .block-image .img img {
    max-height: 50rem;
  }
}
.thanks-wrap .procedure .verification .docs .tab-content .block-image .img ul li {
  padding-left: 1em;
  text-indent: -0.5em;
}
.thanks-wrap .procedure .verification .docs #paidy-apple .imgs .img img {
  height: 36rem;
}

header.header-contact .header-right {
  padding-right: 1rem;
}
@media screen and (min-width: 768px) {
  header.header-contact .header-right {
    padding-right: 2rem;
  }
}
header.header-contact .header-right a.back-top {
  background-color: #ffbf16;
  border-radius: 5rem;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
  padding: 0.5rem 3rem 0.7rem;
  filter: drop-shadow(0 0.3rem 0 #000000);
}
@media screen and (max-width: 767px) {
  header.header-contact .header-right a.back-top {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 768px) {
  header.header-contact .header-right a.back-top {
    padding: 1rem 5rem;
    filter: drop-shadow(0 0.4rem 0 #000000);
  }
}
header.header-contact .header-right a.back-top:hover {
  filter: drop-shadow(0 0.1rem 0 #000000);
  transform: translateY(0.2rem);
}
@media screen and (min-width: 768px) {
  header.header-contact .header-right a.back-top:hover {
    transform: translateY(0.3rem);
  }
}

@media screen and (max-width: 767px) {
  main.page {
    padding-top: 5rem;
  }
  main.page #breadcrumb {
    margin-bottom: 4rem;
  }
}

@media screen and (max-width: 767px) {
  footer .ul-nav {
    display: flex;
  }
  footer .ul-nav .nav-footer {
    flex-wrap: wrap;
    gap: 2rem;
  }
  footer .ul-nav .nav-footer li {
    text-align: center;
  }
}