@charset "UTF-8";
.wpcf7-form {
  padding-top: 160px;
  margin-top: -160px;
}

.online-appraisal-form {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px;
}
.online-appraisal-form * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.online-appraisal-form input[type=text],
.online-appraisal-form input[type=tel],
.online-appraisal-form input[type=email],
.online-appraisal-form select,
.online-appraisal-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 0;
}
.online-appraisal-form .form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .form-row {
    display: block;
    border-bottom: none;
    padding: 0;
  }
}
.online-appraisal-form .form-row:first-child {
  border-top: 1px solid #ddd;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .form-row:first-child {
    border-top: none;
  }
}
.online-appraisal-form .form-row .form-label {
  width: 242px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 0.4em;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .form-row .form-label {
    font-size: 15px;
    width: 100%;
  }
}
.online-appraisal-form .form-row .form-label::after {
  content: "※";
  color: #ff0000;
  margin-left: 4px;
}
.online-appraisal-form .form-row .form-label.not-required::after {
  content: "";
  display: none;
}
.online-appraisal-form .form-row .form-input {
  width: calc(100% - 242px);
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .form-row .form-input {
    width: 100%;
  }
}
.online-appraisal-form .customer-info {
  margin-bottom: 80px;
}
.online-appraisal-form .customer-info .form-row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.online-appraisal-form .product-forms {
  margin-top: 30px;
}
.online-appraisal-form .product-forms .form-row {
  border-top: none;
}
.online-appraisal-form .product-forms .form-row:last-child {
  border-bottom: none;
}
.online-appraisal-form .product-form {
  padding: 20px;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.online-appraisal-form .condition-group {
  margin: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .condition-group {
    display: block;
  }
}
.online-appraisal-form .condition-group .condition-title {
  font-weight: bold;
  margin-bottom: 15px;
  width: 242px;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .condition-group .condition-title {
    width: 100%;
  }
}
.online-appraisal-form .condition-group .condition-title::after {
  content: "※";
  color: #ff0000;
  margin-left: 4px;
}
.online-appraisal-form .condition-group .select-group-wrap {
  width: calc(100% - 242px);
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .condition-group .select-group-wrap {
    width: 100%;
  }
}
.online-appraisal-form .condition-group .condition-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 15px;
}
.online-appraisal-form .condition-group .condition-row .label {
  width: 120px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .condition-group .condition-row .label {
    width: 100%;
  }
  .online-appraisal-form .condition-group .condition-row .label::before {
    content: "・";
  }
}
.online-appraisal-form .condition-group .condition-row .radio-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .online-appraisal-form .condition-group .condition-row .radio-group {
    border-bottom: 1px solid #ddd;
  }
}
.online-appraisal-form .condition-group .condition-row .radio-group .wpcf7-list-item {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.online-appraisal-form .condition-group .condition-row .radio-group .wpcf7-list-item input[type=radio] {
  margin-right: 5px;
}
.online-appraisal-form textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
}
.online-appraisal-form .wpcf7-submit {
  display: inline-block;
  width: auto;
  min-width: 200px;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #85732f;
  color: white;
  margin: 30px auto;
  display: block;
}
.online-appraisal-form .wpcf7-submit:hover {
  opacity: 0.8;
}

.wpcf7-not-valid-tip {
  color: #ff0000;
  font-size: 14px;
  margin-top: 5px;
}

.wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .online-appraisal-form {
    padding: 15px 0;
  }
  .online-appraisal-form .condition-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .online-appraisal-form .condition-row .label {
    margin-bottom: 8px;
  }
  .online-appraisal-form #add-product-form,
  .online-appraisal-form .wpcf7-submit {
    width: 100%;
  }
}
.delete-form-button {
  background: #ff0000 !important;
  color: #fff;
  border: none;
  padding: 10px 20px !important;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .delete-form-button {
    padding: 5px 10px !important;
  }
}

.form-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
}

.product-form {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .product-form {
    padding: 20px 10px !important;
  }
}
.product-form:first-child .delete-form-button,
.product-form:first-child .form-header {
  display: none;
}

.error {
  border-color: #ff0000;
  background-color: #fff8f8;
}

.add-product-button {
  display: block;
  width: 470px;
  height: 56px;
  margin: 30px auto;
  background-color: #fff !important;
  border: 2px solid #ddd !important;
  border-radius: 4px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: center;
  color: #000;
}
.add-product-button::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 20px;
  font-weight: normal;
  color: #000;
}
.add-product-button:hover {
  background-color: #f9f9f9;
}

@media screen and (max-width: 768px) {
  .add-product-button {
    padding: 12px 15px;
    font-size: 14px;
  }
  .add-product-button::after {
    right: 15px;
    font-size: 18px;
  }
}
.privacy-policy-wrap {
  margin: 40px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}
.privacy-policy-wrap strong {
  display: block;
  font-size: 18px;
  margin-bottom: 15px;
  color: #85732f;
}
.privacy-policy-wrap .pp-text-wrap {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.privacy-policy-wrap .pp-text-wrap h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #85732f;
}
.privacy-policy-wrap .pp-text-wrap h5 {
  font-size: 16px;
  margin: 20px 0 10px;
  color: #495057;
}
.privacy-policy-wrap .pp-text-wrap p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #495057;
}
.privacy-policy-wrap .pp-text-wrap::-webkit-scrollbar {
  width: 8px;
}
.privacy-policy-wrap .pp-text-wrap::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.privacy-policy-wrap .pp-text-wrap::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.privacy-policy-wrap .pp-text-wrap::-webkit-scrollbar-thumb:hover {
  background: #555;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 8px 10px;
  padding-right: 1.5rem;
}
select.form-control:focus {
  border-color: #85732f;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(133, 115, 47, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(133, 115, 47, 0.25);
}

.radio-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
.radio-group .wpcf7-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
.radio-group .wpcf7-list-item {
  margin: 0;
}
.radio-group .wpcf7-list-item label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  padding: 4px 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.radio-group .wpcf7-list-item label:hover {
  color: #85732f;
}
.radio-group input[type=radio] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.radio-group input[type=radio]:checked {
  border-color: #85732f;
}
.radio-group input[type=radio]:checked + .wpcf7-list-item-label {
  color: #85732f;
}
.radio-group input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #85732f;
  border-radius: 50%;
}
.radio-group input[type=radio]:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 2px rgba(133, 115, 47, 0.25);
          box-shadow: 0 0 0 2px rgba(133, 115, 47, 0.25);
}
.radio-group .wpcf7-list-item-label {
  font-size: 14px;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

@media screen and (max-width: 768px) {
  .online-appraisal-form .form-row {
    margin-bottom: 15px;
  }
  .online-appraisal-form .condition-group {
    padding: 15px 10px;
  }
  .online-appraisal-form .condition-group .condition-row .label {
    width: 100%;
    margin-bottom: 5px;
  }
  .online-appraisal-form .condition-group .condition-row .radio-group {
    width: 100%;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 15px;
  }
  .privacy-policy-wrap {
    padding: 15px;
  }
  .privacy-policy-wrap .pp-text-wrap {
    padding: 15px;
    max-height: 250px;
  }
}