/* SP */
@media (max-width: 768px) {

  /* STEP */
  .reserve-procedure {
    padding: 20px 12px 40px;
    background-color: #cfe2f3;
    /* STEP-Basic */
    /* STEP-etc */
  }

  .reserve-procedure .step-box {
    position: relative;
    border-radius: 20px;
    padding: 65px 10px 30px;
    margin-top: 45px;
    background-color: #fff;
    text-align: center;
  }

  .reserve-procedure .step-box span {
    width: 22.3880597%;
    position: absolute;
    top: -8vw;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .reserve-procedure .step-box-2 p:nth-child(3),
  .reserve-procedure .step-box-3 p:nth-child(3),
  .reserve-procedure .step-box-3-2 p:nth-child(3),
  .reserve-procedure .step-box-4 p:nth-child(3) {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .reserve-procedure .step-box-3-2 p:nth-child(3) {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .reserve-procedure .step-box-2 p:nth-child(3):after {
    content: "";
    position: absolute;
    background-image: url(../images/icon-finger.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    width: 16.1194029851%;
    height: 20%;
    bottom: 35vw;
    right: 25vw;
  }

  .reserve-procedure .step-box-3 p:nth-child(3) {
    margin-top: 45px;
  }

  .reserve-procedure .step-box-3 p:nth-child(3):after {
    content: "";
    position: absolute;
    background-image: url(../images/icon-finger.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    width: 16.1194029851%;
    height: 20%;
    bottom: -4vw;
    right: 12vw;
  }

  .reserve-procedure .step-box-3 p:nth-child(3) img {
    width: 100%;
  }

  .reserve-procedure .etc-box {
    margin-bottom: 0;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
  }
}

/* PC:2022-04 */
@media (min-width: 769px) {

  /* STEP */
  .reserve-procedure {
    padding: 30px 20px 40px;
    background-color: #cfe2f3;
    /* STEP-Basic */
    /* STEP-etc */
  }

  .reserve-procedure .step-box {
    position: relative;
    border-radius: 20px;
    padding: 56px 20px 30px;
    margin: 60px auto 0;
    background-color: #fff;
    text-align: center;
    width: 50%;
  }

  .reserve-procedure .step-box span {
    width: 12%;
    position: absolute;
    top: -3vw;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .reserve-procedure .step-box-2 p:nth-child(3),
  .reserve-procedure .step-box-3 p:nth-child(3),
  .reserve-procedure .step-box-3-2 p:nth-child(3) {
    width: 70%;
    margin: 20px auto 0;
  }

  .reserve-procedure .step-box-3-2 p:nth-child(3) {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .reserve-procedure .step-box-2 p:nth-child(3):after {
    content: "";
    position: absolute;
    background-image: url(../images/icon-finger.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    width: 10%;
    height: 20%;
    bottom: 14vw;
    right: 17vw;
  }

  .reserve-procedure .step-box-3 p:nth-child(3) {
    margin-top: 45px;
  }

  .reserve-procedure .step-box-3 p:nth-child(3):after {
    content: "";
    position: absolute;
    background-image: url(../images/icon-finger.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    width: 10%;
    height: 20%;
    bottom: -2vw;
    right: 13vw;
  }

  .reserve-procedure .etc-box {
    width: 50%;
    margin: 20px auto 0;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }

  .item-box {
    width: 560px;
    margin: 0 auto;
  }
}

.l-lp {
  color: #000;
}

.l-lp h3 {
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
}

.container {
  text-align: center;
}

.reserve-procedure h1 {
  font-weight: bold;
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

h2.sba-page {
  font-size: 2.2rem;
  line-height: 1.2;
}

h2 {
  color: #000;
  margin-bottom: 1.25rem;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

.item-box {
  display: flex;
  flex-wrap: wrap;
}

.item-box:after {
  content: "";
  display: block;
  width: 50%;
  height: 0;
}

.item-box .text-item {
  position: absolute;
  bottom: 2rem;
  right: 0;
  left: 0;
  line-height: 1.1;
}

.button {
  padding: 0.625rem 0;
  background-color: #0b5394;
  color: #fff;
  text-decoration: none;
  border-radius: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  border: 3px solid #fff;
  text-align: center;
  cursor: pointer;
  display: block;
  width: 38%;
  flex-grow: 1;
  height: 16rem;
  position: relative;
  font-size: 2.4rem;
  margin: 2%;
}

.button:hover {
  opacity: 0.8;
  color: #fff;
}

.button::after {
  content: "";
  display: inline-block;
  width: 7.5rem;
  height: 7.5rem;
}

a.button:visited {
  color: #fff;
}

.button:nth-child(1)::after {
  background: url(../images/icon-procedure.svg) 0 4px no-repeat;
}

.button:nth-child(3)::after {
  background: url(../images/icon-data-migration.svg) 0 0 no-repeat;
}

.button:nth-child(4)::after {
  background: url(../images/icon-data-migration.svg) 0 0 no-repeat;
}

.button:nth-child(5)::after {
  background: url(../images/icon-trouble.svg) 0 0 no-repeat;
  width: 10rem;
  height: 10rem;
}

.button:nth-child(6)::after {
  background: url(../images/icon-erase-data.svg) 0 0 no-repeat;
}

.text {
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 2.4rem;
  line-height: 1.3;
}


.text a {
  color: #157ED8;
}

.step-box.step-box-1 .button {
  width: 42%;
  cursor: none;
}

.step-box.step-box-1 .button:hover {
  opacity: 1;
}

.etc-box {
  margin-top: 20px;
}

.etc-box p {
  margin: 0;
  font-weight: bold;
}

.related-inquiry {
  text-align: center;
  margin-bottom: 2rem;
}

.related-inquiry h2 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin: 0 0 10px;
  font-weight: bold;
}

.related-inquiry__list {
  display: grid;
  gap: 20px;
}

.ri-btn {
  display: block;
  position: relative;
  padding: 10px 14px;
  border-radius: 25px;
  font-size: 20px;
  font-weight: bold;
  color: #0b5394;
  text-decoration: none;
  background: linear-gradient(#f9fbfe, #eef4fb);
  border: 3px solid #0b5394;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 2px 0 rgba(0, 0, 0, .05) inset,
    0 0 0 1px rgba(0, 0, 0, .02),
    0 3px 8px rgba(23, 121, 198, .25);
  transition: 0.2s ease;
}

.ri-btn::after {
  width: 6px;
  height: 6px;
  right: 26px;
  margin-top: -3px;
  content: "";
  position: absolute;
  border-right: 2px solid #0c68c7;
  border-top: 2px solid #0c68c7;
  display: block;
  transform: rotate(45deg);
  top: 50%;
  text-decoration: none;
}

.ri-btn:hover,
.ri-btn:focus,
.ri-btn:visited {
  border-color: #0d5a97;
  color: #0b5394;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 2px 0 rgba(0, 0, 0, .06) inset,
    0 0 0 1px rgba(0, 0, 0, .03),
    0 5px 12px rgba(23, 121, 198, .25);
}

@media (min-width: 769px) {
  .related-inquiry {
    width: 560px;
    margin: 0 auto;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: flex-start;
  padding-top: 392px;
  z-index: 999;
  background: transparent;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 67px 20px 55px;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 26%;
  transform: translateX(-50%);
  border-width: 0 60px 35px 54px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

.service-modal-title {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.2;
  color: #000;
}

.service-modal-close {
  position: absolute;
  top: 9px;
  right: 18px;
  background: #fff;
  border: 1px solid #000;
  padding: 4px 10px;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-btn {
  display: block;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 2rem;
  font-weight: bold;
  border: 2px solid #000;
}

.modal-btn.blue {
  background: #0b5394;
  color: #fff;
}

.modal-btn.white {
  background: #fff;
  color: #000;
}

.modal-btn:hover {
  opacity: 0.8;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .modal {
    padding-top: 424px;
    left: 30%;
    width: 40%;
  }
  .modal-content::before {
    top: -32px;
    left: 28%;
  }
}