.c_ttl_wrap {
  flex-direction: column;
  align-items: center;
  gap: 1em;
}
.c_ttl_wrap .jp {
  font-size: 32px;
}
.c_ttl_wrap .en {
  font-size: 18px;
}

footer {
  margin-top: 80px;
  border-top: 1px solid #ddd;
}

.cf7 {
  max-width: 900px;
  margin: 80px auto 0;
  color: #333;
  line-height: 1.7;
}
.cf7__row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  gap: 30px;
}
.cf7__head {
  width: 28%;
  font-weight: 700;
  line-height: 1.6;
}
.cf7__body {
  width: 72%;
}
.cf7__required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #0bb174;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 3px;
  vertical-align: middle;
}
.cf7 input[type=text],
.cf7 input[type=email],
.cf7 input[type=tel],
.cf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  line-height: 1.6;
  box-sizing: border-box;
  appearance: none;
}
.cf7 input[type=text]::placeholder,
.cf7 input[type=email]::placeholder,
.cf7 input[type=tel]::placeholder,
.cf7 textarea::placeholder {
  color: #999;
}
.cf7 input[type=text]:focus,
.cf7 input[type=email]:focus,
.cf7 input[type=tel]:focus,
.cf7 textarea:focus {
  outline: none;
  border-color: #0756A5;
  box-shadow: 0 0 0 3px rgba(7, 86, 165, 0.12);
}
.cf7 textarea {
  min-height: 220px;
  resize: vertical;
}
.cf7 .box.scr300 {
  height: 150px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #ccc;
  background: #fafafa;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.8;
}
.cf7__agree {
  margin-top: 10px;
  font-size: 14px;
  padding-left: 31%;
}
.cf7__agree .wpcf7-list-item {
  margin: 0;
}
.cf7__agree label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.cf7__agree input[type=checkbox] {
  margin-top: 4px;
}
.cf7__button {
  margin-top: 32px;
  text-align: center;
}
.cf7__button input[type=submit] {
  min-width: 240px;
  padding: 16px 24px;
  border: none;
  border-radius: 9999px;
  background: #0756A5;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: 0.3s;
}
.cf7__button input[type=submit]:hover {
  opacity: 0.85;
}
.cf7 .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
}
.cf7 .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.m_address {
  width: 145px;
  transform: translateY(-4px);
}

.cf7__agree {
  margin-top: 0;
}
.cf7__agree label {
  align-items: flex-end;
}

.cf7.confirm .cf7__list {
  border-top: 1px solid #ddd;
}
.cf7.confirm .cf7__row {
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #ddd;
}
.cf7.confirm .cf7__head {
  width: 28%;
  padding: 18px 20px;
  background: #f7f9fb;
  box-sizing: border-box;
}
.cf7.confirm .cf7__body {
  width: 72%;
  padding: 18px 20px;
  background: #fff;
  box-sizing: border-box;
  word-break: break-word;
}
.cf7.confirm .cf7__body p {
  margin: 0;
}
.cf7.confirm .cf7__button {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.cf7.confirm .cf7__button p {
  margin: 0;
}
.cf7.confirm .cf7__button input {
  min-width: 180px;
  padding: 14px 24px;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.cf7.confirm .cf7__button .wpcf7-previous {
  background: #e5e7eb;
  color: #333;
}
.cf7.confirm .cf7__button .wpcf7-submit {
  background: #0756A5;
  color: #fff;
}

.thanks {
  max-width: 760px;
  margin: 80px auto 0;
  padding: 56px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
}
.thanks__ttl {
  font-size: 28px;
  line-height: 1.6;
  color: #0756A5;
}
.thanks__text {
  margin-top: 24px;
  line-height: 2;
}
.thanks .btn_more a {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 680px) {
  .thanks {
    margin-top: 10vw;
    padding: 10vw 5vw;
  }
  .thanks__ttl {
    font-size: 6vw;
  }
}
@media screen and (max-width: 680px) {
  .c_ttl_wrap .jp {
    font-size: 7vw;
  }
  .c_ttl_wrap .en {
    font-size: 4vw;
  }
  .cf7 {
    margin-top: 10vw;
  }
  .cf7 .cf7__required {
    font-size: 3vw;
  }
  .cf7 .cf7__agree {
    padding-left: 0;
    text-align: center;
  }
  .cf7__row {
    display: block;
    padding: 2vw 0;
  }
  .cf7__head, .cf7__body {
    width: 100%;
  }
  .cf7__head {
    margin-bottom: 1.5vw;
  }
  .cf7__button input[type=submit] {
    width: 100%;
    min-width: auto;
  }
  .cf7.confirm .cf7__row {
    display: block;
  }
  .cf7.confirm .cf7__head,
  .cf7.confirm .cf7__body {
    width: 100%;
    padding: 4vw;
  }
  .cf7.confirm .cf7__head {
    border-bottom: 1px solid #eee;
  }
  .cf7.confirm .cf7__button {
    flex-direction: column-reverse;
  }
  .cf7.confirm .cf7__button input {
    width: 100%;
    min-width: auto;
  }
  footer {
    margin-top: 8vw;
  }
}