/*
Theme Name: OLTANA-005 Child
Version: 1.0.0
Template: oltana-005
Author: CROOVER inc.
Author URI: https://croover.co.jp
*/


/*contact 7*/
.wpcf7 {
  background: #f7f7f7 !important;
  padding: 35px !important;
  box-sizing: border-box !important;
}

.wpcf7 .hidden-fields-container {
  display: none !important;
}

.wpcf7 form > p {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  padding: 20px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  box-sizing: border-box !important;
}

.wpcf7 form > p:first-of-type {
  border-top: none !important;
}

.wpcf7 form > p:has(input[type="submit"]) {
  border-bottom: none !important;
  padding-top: 16px !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpcf7 p label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 200px !important;
  flex-shrink: 0 !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #222 !important;
  padding-right: 16px !important;
}

.wpcf7 .required {
  display: inline-block !important;
  margin-left: 8px !important;
  padding: 4px 10px !important;
  background: #4bacc5 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: normal !important;
  border-radius: 2px !important;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
  flex: 1 !important;
  min-width: 240px !important;
  box-sizing: border-box !important;
}

.wpcf7 .wpcf7-form-control-wrap:has(.wpcf7-list-item) {
  display: flex !important;
  flex-wrap: wrap !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  display: block !important;
  width: 100% !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.wpcf7 textarea {
  height: 120px !important;
}

.wpcf7 select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: block !important;
  width: 100% !important;
  padding: 10px 40px 10px 12px !important;
  font-size: 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23333'%3E%3Cpath d='M5.25 7.5L10 12.25L14.75 7.5H5.25Z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  box-sizing: border-box !important;
}

.wpcf7 select::-ms-expand {
  display: none !important;
}

.wpcf7 .wpcf7-list-item {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  margin: 4px 24px 8px 0 !important;
}

.wpcf7 .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: normal !important;
  color: #222 !important;
}

.wpcf7 .wpcf7-list-item input[type="radio"],
.wpcf7 .wpcf7-list-item input[type="checkbox"] {
  margin: 0 6px 0 0 !important;
  /* width: auto !important;*/
  accent-color: #161c21 !important;
}

.wpcf7 input[type="submit"] {
  display: block !important;
  width: 200px !important;
  height: 50px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #4bacc5 !important;
  color: #fff !important;
  font-size: 16px !important;
  border: 0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.wpcf7 input[type="submit"]:hover {
  background: #7ec6d9 !important;
}

.wpcf7 .wpcf7-spinner {
  display: none !important;
}

.wpcf7-form.submitting .wpcf7-spinner {
  display: inline-block !important;
  margin-left: 8px !important;
}

.wpcf7 form > p.cf7-note {
  display: block !important;
  text-align: center !important;
  font-size: 13px !important;
  color: #666 !important;
  padding: 8px 16px 0 !important;
  border-bottom: none !important;
}

.wpcf7 form > p.cf7-note a {
  color: #161c21 !important;
  text-decoration: underline !important;
}

.wpcf7 p::after {
    display: none;
}

@media screen and (max-width: 600px) {
  .wpcf7 {
    padding: 20px !important;
  }

  .wpcf7 form > p {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 8px !important;
  }

  .wpcf7 form > p:has(input[type="submit"]) {
    padding-top: 16px !important;
  }

  .wpcf7 p label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 4px 0 !important;
    line-height: 1.4 !important;
  }

  .wpcf7 .required {
    padding: 4px 10px !important;
    margin-left: 8px !important;
  }

  .wpcf7 .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .wpcf7 .wpcf7-list-item {
    font-size: 14px !important;
  }

  .wpcf7 input[type="submit"] {
    width: 100% !important;
  }
}