@charset "utf-8";
/*------------------------------------------------------------------

  フォーム系

------------------------------------------------------------------*/

/* PC以下共通サイズ------------------------------- */
body {
  background: var(--c-bg);
}
main {
  min-height: calc(100% - 150px);
}
.btn_area {
  flex-direction: column;
  align-items: center;
}

/*
  ヘッダー（お問い合わせ用）
--------------------------*/
.inquiry_header {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: solid 1px var(--c-lightgray);
  padding: 0 20px;
}

/*
  フッター（お問い合わせ用）
--------------------------*/
.inquiry_footer small {
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
  font-weight: 500;
  display: block;
  padding: 20px;
  color: var(--c-gray);
}

/*
  アーティクルヘッダー（お問い合わせ用）
--------------------------*/
article {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  width: var(--width);
  margin: 0 auto;
  gap: 60px 6%;
  padding: 60px 0 120px;
}
.row2 {
  max-width: 1100px;
  flex-direction: row;
  align-items: flex-start;
  align-content: flex-start;
  overflow: visible;
}
.article_header {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 30px 0;
  padding: 0;
  background: none;
  overflow: visible;
}
.row2 .article_header {
  flex: 0 0 40%;
  position: sticky;
  top: 50px;
}
.article_header .ttl1:before {
  content: none;
}
.article_header .ttl span {
  letter-spacing: 5px;
}
.article_header .ttl:before {
  content: none;
}
.article_header .txt_basic {
  margin-top: 0;
  text-align: left;
}
.article_header .ttl3,
.tel_area .ttl3 {
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
  justify-content: center;
}
.document_area {
  background: #fff;
  padding: 30px 30px;
  display: flex;
  gap: 10px 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.document_area .ttl3 {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}
.document_area .img_area {
  width: 300px;
}
.document_area .dot_list {
  width: 100%;
}
.tel_area {
  background: #fff;
  padding: 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 0 8px;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
}
.tel_area.--color02:before {
  --size: 40px;
}
.tel_area .en_font {
  font-size: 28px;
  display: flex;
  gap: 0 10px;
  align-items: center;
  color: var(--c-orange);
  line-height: 1.2;
}
.tel_area .en_font i {
  font-size: 18px;
}
.tel_area .txt_small {
  color: var(--c-gray);
}
.article_header > .txt_small {
  color: var(--c-gray);
}
.content {
  flex: 1;
  padding: 56px 5%;
  background: #fff;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px 0;
  width: 100%;
}

/*
  フォーム
--------------------------*/
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;
  }
}

/*
  入力画面
--------------------------*/
.flow {
  display: flex;
  gap: 0 70px;
}
.bd_dot:before {
  top: 20px;
  left: 8%;
  width: 80%;
  height: 3px;
  background-size: 8px 3px;
}
.flow li {
  position: relative;
  color: var(--c-gray);
  line-height: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px 0;
  align-items: center;
  width: 70px;
  z-index: 1;
}
.flow .active {
  color: var(--c-black);
  font-weight: var(--fw-bold);
}
.flow .active .en_font {
  background: var(--c-black);
  color: #fff;
}
.flow .active + .active:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 3px;
  background: var(--c-black);
  left: -90px;
  top: 20px;
}
.flow .en_font {
  width: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--c-bg);
  border-radius: 50%;
}
.inquiry .btn_area {
  padding-top: 0;
}
.inquiry .agree_area {
  padding-top: 30px;
  border-top: solid 2px #fff;
}
.inquiry_list {
  width: 100%;
}

/*
  完了画面
--------------------------*/
.thanks_area {
  max-width: 750px;
  margin: 0 auto;
}
.thanks_area h2 {
  margin-bottom: 30px;
  text-align: center;
  color: var(--c-orange);
}
.thanks_area .txt_basic {
  margin-bottom: 10px;
}
.thanks_area .txt_small {
  color: var(--c-gray);
}
.thanks_area .btn_area {
  padding-top: 40px;
}

/* PCのみサイズ------------------------------- */
@media screen and (min-width: 1101px) {
}

/* タブレット（iPad Pro）以下サイズ------------------------------- */
@media screen and (max-width: 1100px) {
  .inquiry_header {
    height: 60px;
    padding: 0;
  }
  .article_header .ttl1 {
    text-align: center;
  }
  .tel_area {
    width: 100%;
    max-width: 500px;
  }
  .row2 {
    flex-direction: column;
  }
  .article_header,
  .row2 .article_header {
    position: static;
    align-items: center;
    width: 100%;
  }
  .document_area {
    max-width: 600px;
    margin: 0;
    padding: 30px 7%;
  }
}

/* タブレット（iPad）以下サイズ------------------------------- */
@media screen and (max-width: 1023px) {
  article {
    padding-bottom: 100px;
  }
}

/* スマホサイズ------------------------------- */
@media screen and (max-width: 767px) {
  body:before {
    background: url(../img/common/logo_icon.svg) left top / contain no-repeat;
    width: 225px;
    top: 50px;
  }
  .inquiry_header .logo img {
    height: 35px;
  }
  .actions {
    padding-top: 0;
  }
  article {
    gap: 40px 0;
    width: 100%;
  }
  .article_header {
    gap: 20px 0;
    padding: 0 5%;
  }
  .article_header .ttl {
    font-size: 26px;
    letter-spacing: 1.5px;
    text-align: center;
    letter-spacing: 3px;
    width: 100%;
  }
  .article_header .ttl span {
    letter-spacing: 3px;
  }
  .article_header .ttl3,
  .tel_area .ttl3 {
    margin-bottom: 7px;
    line-height: 1.5;
  }
  .tel_area {
    padding: 25px 8% 25px;
  }
  .article_header > .txt_small {
    margin-top: -5px;
  }
  .wpcf7-checkbox,
  .wpcf7-radio {
    gap: 5px 30px;
  }
  .checkbox input + span,
  .radio input + span,
  .hs-form-checkbox input + span,
  .hs-form-booleancheckbox input + span {
    font-size: var(--fz-normal);
  }
  .content {
    padding: 60px 7%;
  }
  .flow {
    gap: 0 50px;
    /* display: none; */
  }
  .flow .active + .active:before {
    width: 85px;
    left: -68px;
  }
  .--thanks p {
    text-align: left;
  }
  .grecaptcha-badge {
    margin: 0 auto;
  }
  .hs-field-desc {
    font-size: 11px;
  }
}
