@charset "utf-8";
/*------------------------------------------------------------------

  フォーム系

------------------------------------------------------------------*/

/* PC以下共通サイズ------------------------------- */
body {
  position: relative;
  height: auto;
  background: var(--blue-lit);
}
body:has(.dl) {
  background: none;
}
main {
  min-height: 100%;
  padding-top: 0;
  overflow: visible;
}
.btn_area {
  flex-direction: column;
  align-items: center;
}
.hidden {
  position: absolute;
  left: -150vw;
}

/*
  ヘッダー（お問い合わせ用）
--------------------------*/
.inquiry_header {
  position: fixed;
  left: 30px;
  top: 20px;
  z-index: 2;
}
.inquiry_header .logo {
  padding: 0;
}
.inquiry_header .logo img {
  height: 40px;
}
@media (hover: hover) and (pointer: fine) {
  .inquiry_header .logo:hover {
    opacity: 0.8;
  }
}

/*
  フッター（お問い合わせ用）
--------------------------*/
.inquiry_footer {
  width: 100%;
}
.inquiry_footer small {
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
  font-weight: 500;
  display: block;
  padding: 20px;
  color: var(--blue);
  font-weight: var(--fw-bold);
  font-family: var(--en);
}

/*
  アーティクルヘッダー（お問い合わせ用）
--------------------------*/
article {
  display: flex;
  align-items: flex-start;
  padding: 80px 5%;
  gap: 36px 5%;
}
.article_header_inquiry {
  padding: 40px 0;
  position: sticky;
  flex: 0 0 44%;
  top: 50px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 30px 0;
}
.article_header_inquiry h1 {
  font-weight: var(--fw-bold);
  font-size: min(2.8vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.article_header_inquiry h1 span {
  font-size: 70%;
  display: block;
}
.document_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0 15px;
  border-radius: 15px;
  background: #d2e6f9;
  padding: 30px 5%;
}
.document_area h2 {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--blue);
  background: var(--yellow);
  border-radius: 100px;
  padding: 7px 25px;
  margin-bottom: 20px;
  position: relative;
}
.document_area h2:before {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 10px;
  background: var(--yellow);
  clip-path: polygon(100% 0, 0 0, 50% 100%);
}
.document_area .img_area {
  max-width: 568px;
  width: 100%;
}
.check_area h2 {
  font-size: 18px;
  color: var(--blue);
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
}
.check_list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 0 8px;
  line-height: 1.8;
  font-size: 15px;
  border-bottom: dashed 1px var(--gray);
}
.check_list li:before {
  font-family: var(--ff-icon);
  content: "\f058";
  font-weight: bold;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}
.content {
  flex: 1;
  padding: 40px 4%;
  background: #fff;
  box-shadow: var(--ef-shadow);
  border-radius: 15px;
}

/*
  フォーム
--------------------------*/
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(--gray-lit);
  font-size: 16px;
  line-height: 1.8;
  border-radius: 4px;
  border: none;
  font-family: var(--gothic);
}
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;
  background: var(--gray-lit);
  border-radius: 5px;
  border: none;
}
.select,
.hs-form-field .input:has(select) {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
}
.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: 6px 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: var(--gray-lit);
  box-sizing: border-box;
}
.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(--blue);
  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(--blue);
}
.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: 30px 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_city {
  margin-top: 30px;
}
.hs-form-field > label {
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
  color: var(--blue);
  line-height: 1.6;
  font-size: 15px;
  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(--gray-txt);
  margin-bottom: 10px;
  line-height: 1.5;
}
.legal-consent-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px 0;
  font-size: 15px;
  padding-top: 30px;
  border-top: solid 1px var(--gray-lit);
}
.legal-consent-container .hs-richtext {
  line-height: 1.8;
}
.legal-consent-container .hs-richtext a {
  color: var(--pink);
  text-decoration: underline;
  font-weight: var(--fw-bold);
}
.legal-consent-container .hs-form-booleancheckbox-display > span {
  margin-left: 0 !important;
  font-size: 18px;
}
.hs-form-booleancheckbox {
  padding: 20px 0;
}
@media (hover: hover) and (pointer: fine) {
  .legal-consent-container .hs-richtext a:hover {
    text-decoration: none;
  }
}

/*
  入力画面
--------------------------*/
.inquiry_list > .txt_basic {
  margin-bottom: 50px;
}
.inquiry_list .red {
  color: red;
}
.inquiry .actions {
  padding-top: 20px;
}

/*
  完了画面
--------------------------*/
.--thanks {
  flex-direction: column;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.--thanks .article_header_inquiry {
  position: static;
  width: 100%;
  flex: auto;
  height: auto;
  padding: 25px 0 0;
}
.thanks_area h2 {
  color: var(--blue);
  font-size: 28px;
  font-weight: var(--fw-bold);
  line-height: 1.8;
  margin-bottom: 20px;
}
.thanks_area .txt_basic {
  margin-bottom: 10px;
  text-align: left;
}
.thanks_area .txt_small {
  color: var(--gray-txt);
  font-size: 13px;
  text-align: left;
}
.--thanks .btn_area {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #ddd;
}

/* スマホサイズ------------------------------- */
@media screen and (max-width: 768px) {
  .inquiry_header {
    position: absolute;
    left: 15px;
    top: 15px;
  }
  .inquiry_header .logo img {
    height: 30px;
  }
  article {
    flex-direction: column;
    padding: 0;
  }
  .article_header_inquiry {
    position: static;
    width: 100%;
    flex: auto;
    height: auto;
    padding: 80px 5% 20px !important;
    gap: 15px 0;
  }
  .article_header_inquiry h1 {
    font-size: 6.5vw;
    letter-spacing: 0.03em;
  }
  .article_header_inquiry h1 span {
    font-size: 75%;
  }
  .inquiry_footer small {
    padding-top: 50px;
  }
  .content {
    padding-bottom: 100px;
  }
  .document_area {
    padding: 20px 5%;
  }
  .document_area h2 {
    text-align: center;
    line-height: 1.5;
  }
  .check_area h2 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .check_list li {
    font-size: 14px;
    letter-spacing: 0;
    padding: 7px 0;
    line-height: 1.5;
    gap: 0 4px;
  }
  .check_list li:before {
    font-size: 20px;
  }
  .content {
    padding: 40px 5%;
    flex: 0 0 100%;
    width: 100%;
  }
  .checkbox input + span,
  .radio input + span,
  .hs-form-checkbox input + span,
  .hs-form-radio input + span,
  .hs-form-booleancheckbox input + span {
    font-size: 15px;
  }
  .--thanks {
    gap: 0 0;
  }
  .--thanks h1 {
    text-align: left;
  }
  .thanks_area h2 {
    font-size: min(6vw, 30px);
    text-align: center;
  }
  .thanks_area .txt_basic {
    font-size: 14px;
  }
  .thanks_area .txt_small {
    font-size: 12px;
  }
  .form-columns-2 {
    flex-direction: column;
    gap: 30px 0;
  }
  .form-columns-2 .hs-form-field {
    width: 100% !important;
  }
  .grecaptcha-badge {
    margin: 0 auto;
  }
  .legal-consent-container {
    font-size: 14px;
    padding-top: 25px;
  }
  .legal-consent-container .hs-form-booleancheckbox-display > span {
    font-size: 16px;
  }
  .hs-form-booleancheckbox {
    padding: 10px 0;
  }
  .hbspt-form > form {
    gap: 25px 0;
  }
  .inquiry .actions {
    padding-top: 15px;
  }
}
