@charset "UTF-8";
.c-form {
  max-width: 700px;
  margin-inline: auto;
}
.c-form__info {
  display: block;
  width: 100%;
  margin: 0;
  margin-top: 5px;
  font-weight: 500;
  font-size: clamp(0.688rem, 0.631rem + 0.24vw, 0.813rem);
}
.c-form-block {
  display: -ms-grid;
  display: grid;
  gap: min(2.6vw,15px);
  margin-bottom: 0;
}
.c-form-block:not(:first-child) {
  margin-top: clamp(1.875rem, 1.307rem + 2.42vw, 3.125rem);
}
.c-form-block dt:not(:first-child) {
  margin-top: 1em;
  margin-bottom: 5px;
}
.c-form-block--privacy {
  text-align: center;
}
.c-form-block--privacy .horizontal-item {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto !important;
}
.c-form-block--privacy:has(.wpcf7-not-valid-tip) .horizontal-item label:after {
  border-color: #91141e;
}
.c-form-block--privacy label {
  height: auto !important;
  padding: 0 !important;
  border: none !important;
}
.c-form-block--privacy label:before {
  top: 5px !important;
  left: 1px !important;
}
.c-form-block--privacy label:has(input:checked):before {
  opacity: 1;
}
.c-form-block--privacy p {
  text-align: center;
  margin-bottom: 0 !important;
}
.c-form__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.c-form__head span {
  display: block;
  font-weight: 500;
  line-height: 1;
}
.c-form__head small {
  font-weight: 400;
  font-size: 75%;
  margin-left: 0.5em;
}
.c-form__head-icon {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 4em;
  height: 2em;
  margin-right: 10px;
  padding-top: 1px;
  border-radius: 1em;
  color: #fff;
  font-size: clamp(0.625rem, 0.568rem + 0.24vw, 0.75rem);
  font-weight: 700;
  line-height: 1;
}
.c-form__head-icon--optional {
  background: #808080;
}
.c-form__head-icon--optional:before {
  content: "任意";
}
.c-form__head-icon--required {
  background: #91141e;
}
.c-form__head-icon--required:before {
  content: "必須";
}
.c-form__cnt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.c-form__cnt .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  line-height: 0;
}
.c-form__cnt p {
  width: 100%;
}
.c-form__cnt:has(.wpcf7-not-valid-tip) input[type=text], .c-form__cnt:has(.wpcf7-not-valid-tip) input[type=tel], .c-form__cnt:has(.wpcf7-not-valid-tip) input[type=email], .c-form__cnt:has(.wpcf7-not-valid-tip) input[type=number], .c-form__cnt:has(.wpcf7-not-valid-tip) textarea, .c-form__cnt:has(.wpcf7-not-valid-tip) .c-form__select, .c-form__cnt:has(.wpcf7-not-valid-tip) .horizontal-item label {
  border-color: #91141e;
  background: rgba(145, 20, 30, 0.1);
}
.c-form__cnt:has(.wpcf7-not-valid-tip) .c-form__list {
  border-color: #91141e;
}
.c-form__cnt:has(.zip) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.c-form__cnt:has(.zip) .wpcf7-form-control-wrap {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.c-form input[type=text], .c-form input[type=tel], .c-form input[type=email], .c-form input[type=number], .c-form select {
  height: clamp(3.125rem, 2.841rem + 1.21vw, 3.75rem);
}
.c-form input[type=text], .c-form input[type=tel], .c-form input[type=email], .c-form input[type=number], .c-form textarea, .c-form__select {
  -webkit-appearance: none;
  -webkit-transition: border 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  transition: border 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  background: #f5f5f5;
  border: solid 1px #d9d9d9;
  border-radius: 6px;
}
.c-form input[type=text], .c-form input[type=tel], .c-form input[type=email], .c-form input[type=number], .c-form textarea {
  padding: 1em;
}
.c-form input[type=text], .c-form input[type=tel], .c-form input[type=email], .c-form input[type=number], .c-form textarea, .c-form select {
  cursor: pointer;
  width: 100%;
  color: #000;
  font-family: "Roboto Condensed", "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-size: 1rem;
  vertical-align: baseline;
}
.c-form input[type=text]:focus, .c-form input[type=tel]:focus, .c-form input[type=email]:focus, .c-form input[type=number]:focus, .c-form textarea:focus, .c-form select:focus {
  outline: none;
}
.c-form select {
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 15;
  vertical-align: middle;
  -moz-appearance: button;
       appearance: button;
  -webkit-appearance: none;
}
.c-form select::-ms-expand {
  display: none;
}
.c-form textarea {
  height: clamp(100px, 25vw, 200px);
  padding: 1em;
}
.c-form input[type=radio], .c-form input[type=checkbox] {
  display: none;
}
.c-form input.short {
  width: 150px;
}
.c-form input.zip {
  width: 100px;
}
.c-form input.num {
  width: 80px;
}
.c-form-icon__hyphen {
  display: block;
  width: 10px;
  height: 1px;
  background: #d9d9d9;
  margin: 0 10px;
  line-height: 0;
}
.c-form span[data-name=pref] {
  position: relative;
  width: 100%;
  height: clamp(3.125rem, 2.841rem + 1.21vw, 3.75rem);
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
  z-index: 10;
  border-radius: 6px;
}
.c-form span[data-name=pref]:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 1em;
  -webkit-transform: translateY(-50%) rotate(135deg);
          transform: translateY(-50%) rotate(135deg);
  margin: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #d9d9d9;
  border-right: 2px solid #d9d9d9;
  z-index: 11;
}
.c-form span[data-name=pref]:has(.wpcf7-not-valid-tip) {
  border-color: #91141e;
  background: rgba(145, 20, 30, 0.1);
}
.c-form span[data-name=pref]:has(.wpcf7-not-valid-tip):after {
  border-color: #91141e;
}
.c-form span[data-name=pref] select {
  padding: 0 1em;
}

/* =========================================================
 error
========================================================= */
.wpcf7-form-control-wrap {
  position: relative;
}
.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  bottom: 0;
  -webkit-transform: translateY(calc(100% + 10px));
          transform: translateY(calc(100% + 10px));
  white-space: nowrap;
}

/* =========================================================
 custom
========================================================= */
.c-form .wpcf7-not-valid-tip {
  color: #91141e;
  font-size: var(--fz-2);
  font-weight: 700;
  line-height: 1;
}
.c-form .wpcf7-spinner {
  position: absolute;
  display: block;
  top: 0;
  left: 50%;
  margin: 0;
  margin-top: -10px;
  -webkit-transform: translate(-50%, -100%);
          transform: translate(-50%, -100%);
}
.c-form .wpcf7-response-output {
  padding: 1em !important;
  border-color: #91141e !important;
  background: rgba(145, 20, 30, 0.1);
  color: #91141e;
  font-size: var(--fz-1);
  font-weight: 500;
  text-align: center;
}

/* =========================================================
 btn
========================================================= */
.c-form input.c-btn, .c-form button.c-btn {
  cursor: pointer;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 300px;
  height: 60px;
  margin-inline: auto;
  padding-left: 40px;
  padding-right: 30px;
  border: 1px solid #009c46;
  background: #009c46;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  -webkit-transition: all 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  transition: all 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}
@media screen and (max-width: 413px) {
  .c-form input.c-btn, .c-form button.c-btn {
    width: 100%;
  }
}
@media (hover: hover) {
  .c-form input.c-btn:hover, .c-form button.c-btn:hover {
    background: rgba(0, 156, 70, 0.1);
    color: #009c46;
  }
}
.c-form .c-btn-wrap {
  position: relative;
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
}
@media screen and (max-width: 575px) {
  .c-form .c-btn-wrap {
    gap: 20px;
  }
}
@media screen and (max-width: 413px) {
  .c-form .c-btn-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
  }
}

/* =========================================================
 message
========================================================= */
.c-form-message p {
  line-height: 2 !important;
}
.c-form-message th {
  white-space: nowrap;
}
.c-form-message--error, .c-form-message--conf {
  display: none;
  margin-top: 1.5em;
}
.c-form-thanks h2 {
  margin-bottom: 1.5em;
  font-size: var(--fz3);
  font-weight: 700;
}
.c-form-thanks p {
  line-height: 2 !important;
}
.c-form-thanks .c-btn {
  padding-inline: 20px;
}
@media (hover: hover) {
  .c-form-thanks .c-btn:hover svg {
    fill: #009c46;
  }
}

/* =========================================================
 hide
========================================================= */
.js-form-hide {
  display: none;
}
.js-form-hide.is-show {
  display: block;
}