@charset "utf-8";
/*------------------------------------------------------------------

  フォーム系

------------------------------------------------------------------*/

/* PC以下共通サイズ------------------------------- */
/*
  フォーム
--------------------------*/
span.error {
  color: red;
  margin-top: 5px;
  display: block;
}
button:focus,
textarea:focus,
select:focus,
input:focus,
a:focus {
  outline: 0;
}
textarea:focus,
select:focus,
input:focus {
  border-color: none;
}
input::-ms-reveal,
input::-ms-clear {
  visibility: hidden;
}
select {
  color: inherit;
}
select::-ms-expand {
  display: none;
}
::-webkit-input-placeholder {
  color: #aaa;
}
::-moz-placeholder {
  color: #aaa;
}
:-ms-input-placeholder {
  color: #aaa;
}
input,
textarea {
  width: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
  background: var(--c-bg02);
  font-size: 16px;
  line-height: 1.8;
  border-radius: 5px;
}
input.--mini {
  width: 60px;
}
textarea {
  resize: none;
}
.select select,
.hs-form-field select {
  width: 135%;
  height: 48px;
  padding: 0 30px 0 15px;
  cursor: pointer;
  box-sizing: border-box;
  font-size: 16px;
}
.select,
.hs-form-field .input:has(select) {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  background: var(--c-bg02);
  border-radius: 5px;
}
.select:before,
.hs-form-field .input:has(select):before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #666;
}
/* フォームボタン系（contact form 7用） */
.wpcf7-checkbox,
.wpcf7-radio,
.inputs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7 .ajax-loader,
.wpcf7-spinner,
.wpcf7-response-output {
  display: none !important;
}
.radio_tab input[type="radio"],
.checkbox input[type="checkbox"],
.radio input[type="radio"],
.hs-form-checkbox input[type="checkbox"],
.hs-form-radio input[type="radio"],
.hs-form-booleancheckbox input[type="checkbox"] {
  position: absolute;
  width: 0;
  height: 0;
  border: none;
  background: none;
  padding: 0;
  line-height: 0;
}
.checkbox .js-error::before,
.checkbox .js-error::after {
  display: none;
}
.checkbox .js-error {
  padding: 0;
  text-align: center;
}
.checkbox input + span,
.radio input + span,
.hs-form-checkbox input + span,
.hs-form-radio input + span,
.hs-form-booleancheckbox input + span {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  cursor: pointer;
  padding: 1px 0 1px 35px;
  font-size: 15px;
  line-height: 1.8;
}
.checkbox input + span::before,
.checkbox input + span::after,
.radio input + span::before,
.radio input + span::after,
.hs-form-checkbox input + span::before,
.hs-form-checkbox input + span::after,
.hs-form-radio input + span::before,
.hs-form-radio input + span::after,
.hs-form-booleancheckbox input + span::before,
.hs-form-booleancheckbox input + span::after {
  position: absolute;
  content: "";
  transition: all 0.3s;
}
.checkbox input + span::before,
.radio input + span::before,
.hs-form-checkbox input + span::before,
.hs-form-radio input + span::before,
.hs-form-booleancheckbox input + span::before {
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
  border: solid 1px var(--c-lightgray);
}
.checkbox input + span::after,
.hs-form-checkbox input + span::after,
.hs-form-booleancheckbox input + span::after {
  font-family: var(--ff-icon);
  content: "\f00c";
  color: var(--c-orange);
  opacity: 0;
  top: 5px;
  left: 4px;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}
.checkbox input[type="checkbox"]:checked + span::after,
.hs-form-checkbox input[type="checkbox"]:checked + span::after,
.hs-form-booleancheckbox input[type="checkbox"]:checked + span::after {
  opacity: 1;
}
.radio input + span::before,
.hs-form-radio input[type="radio"] + span::before {
  border-radius: 50%;
  cursor: pointer;
}
.radio input + span::after,
.hs-form-radio input[type="radio"] + span::after {
  opacity: 0;
  top: 8px;
  left: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-orange);
}
.radio input[type="radio"]:checked + span::after,
.hs-form-radio input[type="radio"]:checked + span::after {
  opacity: 1;
}
.wpcf7-not-valid-tip {
  flex: 0 0 100%;
  margin-top: 5px;
  font-size: 13px;
}

/*
  hubspot用
--------------------------*/
.hbspt-form > form {
  display: flex;
  gap: 40px 0;
  flex-direction: column;
}
fieldset {
  max-width: 100% !important;
}
.form-columns-2 {
  display: flex;
  gap: 0 7%;
}
.form-columns-2 .hs-form-field {
  flex: 1;
}
.hs-form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hs-form-field > label {
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
  color: var(--c-black);
  line-height: 1.6;
  font-size: var(--fz-normal);
  display: inline-block;
}
.hs-form-required {
  color: red;
}
.hs-form-field .input {
  width: 100%;
  margin: 0 !important;
}
.hs-form-field .hs-input {
  width: 100% !important;
}
.hs-form-field .hs-error-msg {
  color: red;
  font-weight: var(--fw-normal);
  margin: 8px 0 0;
  display: block;
}
.hs-field-desc {
  font-size: 13px;
  color: var(--c-gray);
  margin-bottom: 10px;
}
.legal-consent-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px 0;
  padding-top: 30px;
  border-top: solid 1px var(--c-lightgray);
}
.legal-consent-container .hs-richtext {
  line-height: 1.8;
  font-size: 14px;
}
.legal-consent-container .hs-richtext a {
  color: var(--c-orange);
  text-decoration: underline;
}
.legal-consent-container .hs-form-booleancheckbox-display > span {
  margin-left: 0 !important;
}
.hs-form-booleancheckbox {
  padding: 10px 0;
}
.actions {
  padding-top: 20px;
}
@media (hover: hover) and (pointer: fine) {
  .legal-consent-container .hs-richtext a:hover {
    text-decoration: none;
  }
}

/* PCのみサイズ------------------------------- */
@media screen and (min-width: 1101px) {
}

/* タブレット（iPad Pro）以下サイズ------------------------------- */
@media screen and (max-width: 1100px) {
}

/* タブレット（iPad）以下サイズ------------------------------- */
@media screen and (max-width: 1023px) {
}

/* スマホサイズ------------------------------- */
@media screen and (max-width: 767px) {
  .actions {
    padding-top: 0;
  }
  .checkbox input + span,
  .radio input + span,
  .hs-form-checkbox input + span,
  .hs-form-booleancheckbox input + span {
    font-size: var(--fz-normal);
  }
  .grecaptcha-badge {
    margin: 0 auto;
  }
  .hs-field-desc {
    font-size: 11px;
  }
}
