

/* form [old]

====================================================*/
#form-wrap {
  padding: 32px;
  background-color: #fff;
}
@media screen and (max-width: 540px) {
  #form-wrap {
    padding: 32px 16px;
    background-color: #fff;
  }
}
#form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.input-inn {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  /* align-items: center; */
  gap: 8px;
}
.input-inn label {
  display: flex;
  font-weight: 500;
  align-items: center;
  gap: 8px;
}

.required {
  background: var(--red);
  color: #fff;
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 300;
  border-radius: 0.25rem;
}

#form-wrap input[type="text"],
#form-wrap input[type="number"],
#form-wrap input[type="email"],
#form-wrap textarea,
#form-wrap input[type="tel"],
#form-wrap input[type="url"],
.widget-content input[type="search"],
.widget-content input[type="text"] {
  box-shadow: none;
  -webkit-appearance: none;
  border: #ccc solid 1px;
  width: 100%;
  box-sizing: border-box;
  padding: 0.625rem;
  font-size: 16px;
}

#form-wrap select {
  border-radius: 0.25rem;
  width: 100%;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  padding: 0.875rem;
  font-size: 16px;
  border: #ccc solid 1px;
  background: #fff url(../../images/chevron-down.svg) center center no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
  color: #333;
}
#form-wrap select:focus {
  outline: none;
}

#form-wrap select {
  font-size: 1rem;
}
.checkbox-wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.input-inn .label--checkbox,
.input-inn .mwform-checkbox-field {
  font-weight: normal;
  border: #ccc solid 1px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
}
.input-inn .label--checkbox input,
.input-agree input {
  /* width: 16px;
  height: 16px;
  aspect-ratio: 1/1; */
  border: #ccc solid 1px;
}

.submit-inn {
}

#form-wrap input[type="submit"] {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;
  font-size: 18px;
  transition: 0.3s;
  border-radius: 50px;
  border: 1px solid var(--black);
  transition: 0.3s;
  width: 100%;
  background: var(--black);
  color: #fff;
  text-decoration: none !important;
}

#form-wrap input[type="submit"]:hover {
  color: var(--black);
  background: #fff;
}

.button,
a.button {
  display: inline-block;
  padding: 12px 24px;
  gap: 10px;
  font-size: 18px;
  transition: 0.3s;
  border-radius: 50px;
  border: 1px solid var(--black);
  transition: 0.3s;
  text-decoration: none !important;
  color: var(--black);
}
.button:hover,
a.button:hover {
  background: var(--black);
  color: #fff ;
}
.arrow {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  align-items: center;
  font-weight: 500;
  position: relative;
  padding-right: 32px;
}
.arrow::after {
  content: "";
  background-image: url(../img/icon-arrow_right.svg);
  width: 16px;
  aspect-ratio: 1/1;
  display: block;
  background-size: cover;
  background-position: center;
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}
.button:hover .arrow::after {
  transform: translateX(8px);
  filter: var(--svg-white);
}


.invalid{
  color: var(--red);
}

.check__text a{
  text-decoration: underline;
}


/* form [new]

====================================================*/

.form-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: var(--form-bg);
  padding: 40px 24px;
  border-radius: var(--form-border-radius);
  color: var(--form-color);
}
button.btn--contact{
  background: inherit;
}
.form{
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 24px;
  flex-direction: column;
}


.field {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  flex-direction: column;
}

.field:last-child {
  margin-bottom: 0;
}

.field .label label,
.field .label p {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.92px;
}


.label p {
  width: 100%;
}

/* ---  フォーム : 必須  --- */
.required {
  font-size: 12px;
  font-weight: 300;
  padding: 2.5px 4px;
  background: var(--red);
  color: #ffffff;
  margin-left: 12px;
  border-radius: 2px;
}

.any {
  margin-left: 12px;
  white-space: nowrap;
}

/* ---  フォーム :   --- */
.input {
  width: 100%;
}

.input input,
.input select,
.input textarea {
  font-size: 16px;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
}
.input input,
.input select{
  min-height: 1.5rem;
  height: 44px;
}

/* ---  フォーム : radio / checkbox  --- */


.input p {
  width: 100%;
}

/* ---  フォーム : 姓名  --- */
.field.name_field {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.name_field .input p {
  display: flex;
  justify-content: space-between;
}

.name_field .input span.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.input-name {
  width: calc(50% - 8px);
}

/* ---  個人情報の同意  --- */

input[type="checkbox"] {
  max-width: 20px;
  min-width: 20px;
  position: relative;
  width: 20px;
  height: 20px;
  /* border: 1px solid var(--border-color); */
  background-color: #fff;
  margin-right: 8px;
  vertical-align: -5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 !important;
  font-size: 1px;
}
input[type="checkbox"]:checked{
  background-color: #000;
  border-color: #000;
}
input[type="checkbox"]:checked:before {
  position: absolute;
  top: -1px;
  left: 5px;
  transform: rotate(50deg);
  width: 8px;
  height: 16px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}


/* ---  エラー表示  --- */


/* ---  デフォルトのサンクスメッセージを非表示  --- */

@media screen and (max-width: 786px) {
  #form {
  }


  .field {
    flex-direction: column;
    margin-bottom: 16px;
  }

  .field .label {
    width: 100%;
    margin-bottom: 8px;
    margin-right: 0;
  }

  .field .label label {
    justify-content: left;
    margin-right: 0;
  }

  .select,
  .input {
    width: 100%;
  }

  /* .input input,
  .select .wpcf7-form-control-wrap {
    padding: 8.5px 16px;
  } */

  .form-comment {
    margin-top: 56px;
  }

  .form_bottom {
    margin-bottom: 56px;
  }
}
