form {
  width: 85.65%;
  margin: auto;
  padding-top: 5.856515373vw;
  padding-bottom: 8.78477306vw;
}

.text_center {
  text-align: center;
}

header .header_container .logo {
  padding: 15px 0 0 15px;
  flex-shrink: 0;
  width: 180px;
}

header .header_container .logo img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}

header .header_container .logo .regi-logo-sp {
  display: none;
}

header .header_container .logo .regi-logo-pc {
  display: block;
}

@media screen and (max-width: 1024px) {
  header .header_container .logo {
    width: 120px;
  }

  header .header_container .logo img {
    max-width: 120px;
  }

  header .header_container .logo .regi-logo-sp {
    display: block;
  }

  header .header_container .logo .regi-logo-pc {
    display: none;
  }
}

.regi-tel-icon {
  display: block;
  width: 23px;
  min-width: 23px;
  height: 23px;
  object-fit: contain;
}

.regi-header-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.regi-document-icon {
  width: 19px;
  height: 20px;
}

.regi-mail-icon {
  width: 20px;
  height: 13px;
}

.regi-application-icon {
  width: 20px;
  height: 21px;
}

.regi-footer-logo {
  display: inline-block;
  width: 133px;
  height: 29px;
  vertical-align: middle;
}

.regi-footer-tel-icon {
  display: block;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
}

footer .footer_box .fade-in {
  opacity: 1;
  transform: translateY(0);
}

footer .footer_container .footer_wrapper .footer_box.text_center {
  justify-content: center;
  text-align: center;
}

footer .footer_container .footer_wrapper .footer_box.text_center a.flex {
  justify-content: center;
}

footer .footer_container02 .footer_wrapper03 {
  justify-content: center;
}

footer .footer_container02 .footer_wrapper03 .footer_box.flex {
  flex: 0 0 100%;
  justify-content: center;
  margin-right: 0;
}

footer .footer_container02 .footer_wrapper03 .footer_box .text_center {
  width: 100%;
}

.form_item {
  display: flex;
}

.regi-section-title {
  /*
  position: relative;
  margin: 0 0 18px;
  padding: 14px 18px 14px 24px;
  border-left: 8px solid #ff0066;
  border-bottom: 1px solid rgba(255, 0, 102, 0.32);
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  background: linear-gradient(90deg, rgba(255, 0, 102, 0.12), rgba(255, 255, 255, 0));
  */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #ff0066;
    color: #ffffff;
    position: relative;
    /* margin: 0 0 18px; */
    padding: 14px 18px 14px 24px;
    /* border-left: 8px solid #ff0066; */
    /* border-bottom: 1px solid rgba(255, 0, 102, 0.32); */
    /* color: #1f1f1f; */
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;

}

/*
.regi-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38%;
  height: 3px;
  background: #ff0066;
}
*/
.bold {
  font-weight: bold;
}
.mt-2 {
  margin-top: 32px;
}
.mt-3 {
  margin-top: 42px;
}
.mt-4 {
  margin-top: 52px;
}
.form_item .head_box,
.form_item .element_box {
  padding: 15px;
}

/* head_box */
.form_item:first-child .head_box {
  border-top: 1px solid var(--site_color1);
}

.form_item .head_box {
  width: 30%;
  border-bottom: 1px solid var(--site_color1);
  display: flex;
  align-items: center;
}

/* 必須 */
.form_item .head_box p.must {
  padding: 6px 10px;
  background-color: var(--site_color1);
  border-radius: 10px;
  margin-left: 15px;
  white-space: nowrap;
  font-size: calc(12px + 2 * (100vw - 320px) / 1046);
  color: #ffffff;
}

/* エラー文 */
.form_item .element_box p.errors {
  color: #dc0000;
  margin-top: 5px;
}

/* element_box */
.form_item:first-child .element_box {
  border-top: 1px solid #7d7d7d;
}

.element_box {
  width: 70%;
  border-bottom: 1px solid #7d7d7d;
  border-left: unset;
  border-right: unset;
}

.regi-same-row .element_box {
  width: 100%;
}

.input_wrap {
  width: 100%;
}

.regi-error-box {
  margin-bottom: 30px;
  padding: 18px 22px;
  border: 1px solid #dc0000;
  color: #dc0000;
  background: #fff5f5;
}

.regi-field-note {
  margin-top: 8px;
  color: #dc0000;
  font-size: 12px;
}

.regi-radio-list,
.regi-inline-check {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

.regi-radio-list label,
.regi-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.8;
}

.regi-inline-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.regi-radio-list input[type="radio"] {
  width: 20px;
  height: 20px;
}

.regi-app-list {
  display: grid;
  gap: 14px;
}

.regi-app-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
}

.regi-date-field {
  display: flex;
  gap: 8px;
  align-items: center;
}

.regi-date-field span {
  white-space: nowrap;
  font-size: 14px;
}

.regi-date-input {
  max-width: 180px;
  padding: 10px 12px;
}

.regi-price-table {
  text-align: right;
  width: 300px;
  display: grid;
  gap: 10px;
}

.regi-price-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #dddddd;
}

.regi-price-name {
  font-weight: 700;
}
.bold700 {
  font-weight: 700;
}
.regi-price-values {
  /* display: flex; */
  flex-wrap: nowrap;
  gap: 8px;
  /* align-items: center; */
}

.regi-price-values span {
  white-space: nowrap;
}

.regi-price-input {
  width: 120px;
  padding: 10px 12px;
}

.regi-total-row {
  padding-top: 14px;
  border-bottom: none;
}

.regi-total-row .regi-price-name {
  color: #ff0066;
}

.regi-confirm-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.regi-confirm-buttons .submit_btn {
  width: calc(50% - 10px);
  margin-right: 0;
  margin-left: 0;
}

.regi-confirm-buttons .regi-back-btn {
  background-color: #ffffff !important;
  border: 1px solid #ff0066;
  color: #ff0066;
  max-width: 241px !important;
}

.regi-message-box {
  padding: 60px 20px;
  text-align: center;
}

.regi-message-box h3 {
  margin-bottom: 20px;
}

.double_text_input_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* submitボタン */
.submit_btn {
  width: 40%;
  min-width: 200px;
  padding: 1.464128843vw;
  background-color: var(--site_color1);
  text-align: center;
  display: block;
  border-radius: 5px;
  margin: auto;
  margin-top: 5.856515373vw;
  cursor: pointer;
  transition: all 0.5s;
  color: #ffffff;
  border: none;
}
@media screen and (max-width: 768px) {
  .submit_btn {
    margin-top: 60px;
    padding: 12px;
  }
}

.submit_btn:hover {
  opacity: 0.7;
}

/* テキストボックス用スタイル */
.input_item.text {
  width: 100%;
  padding: 15px;
  background-color: #ecedf2;
  border-radius: 5px;
  width: 100%;
}

.input_item.half {
  width: 48%;
}
/* テキストエリア用スタイル */
.input_item.textarea {
  width: 100%;
  padding: 15px;
  background-color: #ecedf2;
  border-radius: 5px;
  height: 20vw;
  max-height: 270px;
  min-height: 160px;
}

/* ====================================================================================================== */
/* レスポンシブ */
/* ====================================================================================================== */
@media screen and (max-width: 1024px) {
  form {
    width: 90%;
    padding-top: 60px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 768px) {
  .form_item {
    flex-direction: column;
  }

  .form_item:not(:first-child) {
    margin-top: 30px;
  }

  .head_box {
    width: 100%;
    padding: 15px 0px;
  }

  .form_item:first-child .head_box {
    border-top: unset;
  }

  .form_item:first-child .element_box {
    border-top: unset;
  }

  .element_box {
    width: 100%;
    padding: 20px 0px;
  }

  .input_item.text {
    padding: 12px;
  }

  .regi-section-title {
    font-size: 20px;
  }

  .regi-app-row,
  .regi-price-row {
    grid-template-columns: 1fr;
  }

  .regi-date-field {
    align-items: flex-start;
    flex-direction: column;
  }

  .regi-price-values {
    flex-wrap: wrap;
  }

  .regi-date-input,
  .regi-price-input {
    max-width: none;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .submit_btn {
    margin-top: 40px;
  }
}

.w-150 {
    width: 150px;
}

.w-200 {
    width: 200px;
}

.regi-field-error {
    color: #d70000;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    margin-top: 6px;
}

.regi-confirm-area {
    margin: 55px auto 0;
    max-width: 900px;
    width: 100%;
}

.regi-confirm-note {
    background: #ffffff;
    border: 2px solid #ff0066;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(255, 0, 102, 0.12);
    line-height: 1.8;
    padding: 20px;
}

.regi-confirm-note p {
    margin: 0 0 6px;
}

.regi-agree-check {
    justify-content: center;
    margin-top: 16px;
    width: 100%;
}

.submit_btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

@media (max-width: 1024px) {
    .f18 {
        font-size: 3.75781vw;
    }
}