/* CSS Document */

/*-------------------------
    ページタイトル
-------------------------*/
.kv .ttl-box h2 {
  margin-bottom: 10px;
}
.ttl-box h2 {
  opacity: 0;
  transform: translateX(-60px);
}
.ttl-image {
  opacity: 0;
  transform: translateX(60px);
}
/*-------------------------
    コンテンツ
-------------------------*/

.article__section h3 {
  color: #057591;
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 100px;
  text-align: center;
}
.article__section .container > .flex-item {
  max-width: 1070px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}
.article__section .flex-item {
  display: flex;
}
.article__section .register-box {
  width: calc((100% - 100px) / 2);
}
.article__section .register-box h4 {
  color: #057591;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 30px;
}
.article__section .register-box p {
  font-size: 20px;
  line-height: 1.8;
}
.article__section .register-box .btn {
  height: 70px;
  margin: 30px 0 40px;
  position: relative;
}
.article__section .register-box .btn::after {
  content: "";
  width: 15px;
  height: 26px;
  background-image: url("/assets/img/residents-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 38px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.article__section .register-box .btn span {
  font-size: 23px;
}
.article__section #first .btn {
  background-color: #c9b909;
}
.article__section #registered .btn {
  background-color: #176163;
}
.article__section .register-box .code-box {
  display: flex;
}
.article__section .register-box .qrcode-area {
  width: 180px;
  flex-shrink: 0;
  margin-right: 20px;
}
.article__section .register-box .qrcode-area span {
  display: block;
  margin-top: 13px;
}
.article__section .register-box .process-area li {
  line-height: 1.6;
  font-size: 17px;
  margin-bottom: 35px;
  letter-spacing: 0;
}
.article__section .register-box .process-area li:last-child {
  margin-bottom: 0px;
}
.article__section #first .process-area li {
  font-size: 20px;
  font-weight: 500;
}
.article__section .register-box .process-area li:nth-child(3) {
  font-size: 15px;
  font-weight: 500;
  margin-top: -10px;
}
.article__section .register-box .process-area li span {
  font-weight: 400;
  font-size: 17px;
}
.article__section .attention-box {
  width: 740px;
  background-color: #f4f4f4;
  padding: 30px 40px;
  margin: 20px auto 0;
  line-height: 1.6;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.article__section .attention-box::before {
  content: "";
  width: 54px;
  height: 54px;
  background-image: url("/assets/img/residents-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: inline-block;
  margin-right: 25px;
}
.article__section .attention-box span {
  font-weight: 500;
  line-height: 1.6;
  font-size: 19px;
}

.article__section .residents__content {
  margin: 120px 0;
}
.article__section .residents__content h4 {
  text-align: center;
  font-size: 35px;
  color: #0e348b;
  line-height: 1.5;
  font-weight: 500;
}
.article__section .residents__content p {
  text-align: center;
  font-size: 23px;
  line-height: 1.6;
  margin: 30px 0 40px;
  letter-spacing: 0.15rem;
}
.article__section .residents__content .residents__btn {
  width: 600px;
  height: 160px;
  margin: 0 auto;
}
.article__section .residents__content .residents__btn a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 16px;
  background-image: linear-gradient(0deg, #0b2d85, #2d64b7);
}
.article__section .residents__content .residents__btn a span {
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: 0.25rem;
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 767px) {
  .article__section h3 {
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 60px;
  }
  .article__section .register-box {
    width: 100%;
    margin: 0 0 65px;
  }

  .article__section .register-box h4 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
  }
  .article__section .register-box p {
    font-size: 14px;
    width: 90%;
    margin: 0 auto;
  }
  .article__section .register-box .btn {
    height: 3em;
    width: 90%;
    margin: 25px auto 0;
  }
  .article__section .register-box .btn span {
    font-size: 15px;
  }
  .article__section .register-box .btn::after {
    width: 10px;
    height: 16px;
  }
  .article__section .register-box .code-box {
    margin: 40px auto 0;
    width: 90%;
  }
  .article__section .register-box .qrcode-area {
    width: calc(100% - 13em);
    margin-right: 15px;
  }
  .article__section .register-box .process-area {
    width: 13em;
    margin: 0;
  }
  .article__section .register-box .process-area li {
    font-size: 13px;
  }
  .article__section .register-box .process-area li {
    margin-bottom: 20px;
  }
  .article__section #first .process-area li {
    font-size: 15px;
  }
  .article__section .register-box .process-area li span {
    font-size: 13px;
  }
  .article__section .register-box .qrcode-area span {
    font-size: 10px;
  }
  .article__section .register-box .process-area li:nth-child(3) {
    font-size: 12px;
  }
  .article__section .attention-box {
    width: 100%;
    padding: 20px;
    grid-template-columns: 1fr; /* 1列にする */
    justify-items: center; /* 各要素を横方向中央揃え */
  }
  .article__section .attention-box::before {
    width: 35px;
    height: 35px;
    margin-right: 0; /* 右マージンを削除 */
    margin-bottom: 15px; /* 下にマージンを追加 */
  }
  .article__section .attention-box span {
    font-size: 14px;
  }

  .article__section .residents__content {
    width: 90%;
    margin: 90px auto 0;
  }
  .article__section .residents__content h4 {
    font-size: 19px;
  }
  .article__section .residents__content p {
    font-size: 16px;
    margin: 15px 0 25px;
  }
  .article__section .residents__content .residents__btn {
    width: 100%;
    height: 5em;
  }
  .article__section .residents__content .residents__btn a span {
    font-size: 16px;
  }
}

/*-------------------------
    事業内容
-------------------------*/
