@charset "UTF-8";

/*==========================
お問い合わせ／サンクス共通ヘッダー
==========================*/
.contact-header {
  height: 400px;
  background: url(../img/contact_form_header.jpg) no-repeat center center / cover;
}

@media screen and (max-width: 750px) {
  .contact-header {
    height: 280px;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contact-header__title {
  width: 100%;
  max-width: 350px;
}

@media screen and (max-width: 750px) {
  .contact-header__title {
    width: 70%;
    max-width: 280px;
  }
}

.contact-header__sub-title {
  margin-top: 74px;
  padding: 2px 20px;
  border: 2px solid #fff;
  letter-spacing: .05em;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
}

@media screen and (max-width: 750px) {
  .contact-header__sub-title {
    margin-top: 32px;
    padding: 0 10px;
    font-size: 18px;
  }
}

/*==========================
お問い合わせページ
==========================*/
/* フォーム全体 */
.contact-form {
  max-width: 1100px;
  margin-inline: auto;
  padding: 56px min(80px, calc(80 / 1400 * 100vw)) 60px;
  box-sizing: content-box;
}

@media screen and (max-width: 750px) {
  .contact-form {
    padding: 40px clamp(20px, calc(40 / 750 * 100vw), 40px);
  }
}

.contact-form__lead {
  text-align: center;
  font-weight: 500;
}

.contact-form__inner {
  margin-top: 66px;
}

@media screen and (max-width: 750px) {
  .contact-form__inner {
    margin-top: 40px;
  }
}

/* フォーム */
div[id^="senses-webform"] {
  --sw-input-border-color: black;
  --sw-input-focus-border-color: rgba(90, 69, 2, 0.75);
  --sw-button-color: #2975a6;
  --sw-button-text-color: #fff;
  width: 100%;
  max-width: 100%;
  font-size: 100%;
}

div[id^="senses-webform"] *,
div[id^="senses-webform"] *::after,
div[id^="senses-webform"] *::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* form style reset */
div[id^="senses-webform"] input[type="text"],
div[id^="senses-webform"] button,
div[id^="senses-webform"] select,
div[id^="senses-webform"] textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

div[id^="senses-webform"] textarea {
  resize: vertical;
}

div[id^="senses-webform"] input[type='submit'],
div[id^="senses-webform"] input[type='button'],
div[id^="senses-webform"] label,
div[id^="senses-webform"] button,
div[id^="senses-webform"] select {
  cursor: pointer;
}

div[id^="senses-webform"] select::-ms-expand {
  display: none;
}

/* custom form style */
div[id^="senses-webform"] .multilinableTextField textarea {
  height: auto;
  min-height: 400px;
}

@media screen and (max-width: 750px) {
  div[id^="senses-webform"] .multilinableTextField textarea {
    min-height: 200px;
  }
}

div[id^="senses-webform"] .textField small {
  font-size: 13px;
  font-weight: 500;
}

@media screen and (max-width: 750px) {
  div[id^="senses-webform"] .textField small {
    font-size: 12px;
  }
}

div[id^="senses-webform"] input[type="checkbox"] {
  margin-right: 7px;
}

div[id^="senses-webform"] input[type="text"],
div[id^="senses-webform"] select,
div[id^="senses-webform"] textarea {
  width: 100%;
  margin: 8px 0 4px;
  padding: .5em;
  border-radius: 4px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  background: #fff;
}

div[id^="senses-webform"] input[type="text"]:focus,
div[id^="senses-webform"] select:focus,
div[id^="senses-webform"] textarea:focus {
  -webkit-box-shadow: 0px 0px 20px -10px var(--sw-input-focus-border-color);
  box-shadow: 0px 0px 20px -10px var(--sw-input-focus-border-color);
}


/* フォームラベルの調整 */
div[id^="senses-webform"] label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  line-height: 1;
  font-weight: 500;
}

@media screen and (max-width: 750px) {
  div[id^="senses-webform"] label {
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 10px;
  }
}

/* 必須ラベル */
div[id^="senses-webform"] label span {
  display: inline-block;
  order: -1;
  padding: 1px 7px 3px;
  background: #644321;
  font-weight: 500;
  color: #fff;
}

@media screen and (max-width: 750px) {
  div[id^="senses-webform"] label span {
    padding: 1px 3px 2px;
    font-size: 12px;
  }
}

div[id^="senses-webform"] .termField {
  font-size: .95em;
}

/* 送信ボタンスタイル */
div[id^="senses-webform"] button {
  display: block;
  width: 100%;
  max-width: 270px;
  height: 60px;
  margin: 40px auto 40px;
  border-radius: 30px;
  background: #644321 url(../img/arrow.png) no-repeat calc(100% - 16px) 50%;
  background-size: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  transition: opacity .3s ease;
}


div[id^="senses-webform"] button:hover {
  opacity: .8;
}

/* 同意テキスト */
[id^="senses-webform-"] .termsField {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
  text-align: center;
}

@media screen and (max-width: 750px) {
  [id^="senses-webform-"] .termsField {
    margin-top: 40px;
  }
}

[id^="senses-webform-"] .termsField .SeparatorSpan-eDctFh.gmfjAi {
  margin-inline: 10px;
}

/* 背景色・余白 */
[id^="senses-webform-"] .textField,
[id^="senses-webform-"] .humanNameField,
[id^="senses-webform-"] .singleSelectionField,
[id^="senses-webform-"] .multilinableTextField {
  padding-inline: min(125px, calc(125/1100*100vw));
  background: #f3edda;
}

@media screen and (max-width: 750px) {
  [id^="senses-webform-"] .textField,
  [id^="senses-webform-"] .humanNameField,
  [id^="senses-webform-"] .singleSelectionField,
  [id^="senses-webform-"] .multilinableTextField {
    padding-inline: max(20px, calc(60 / 750 * 100vw));
  }
}

/* 背景色・余白（最上部） */
[id^="senses-webform-"] .textField#customersName {
  border-radius: 16px 16px 0 0;
  padding-top: 100px;
}

@media screen and (max-width: 750px) {
  [id^="senses-webform-"] .textField#customersName {
    padding-top: 48px;
  }
}

/* 背景色・余白（最下部） */
[id^="senses-webform-"] .multilinableTextField#dealCustom89834 {
  padding-bottom: 116px;
  border-radius: 0 0 16px 16px;
}

@media screen and (max-width: 750px) {
  [id^="senses-webform-"] .multilinableTextField#dealCustom89834 {
    padding-bottom: 64px;
  }
}

/* クッキーテキスト */
.cookiePolicyField {
  text-align: center;
}

/*==========================
サンクスページ
==========================*/
.thanks {
  padding: 66px min(80px, calc(80/1400*100vw)) 100px;
}

@media screen and (max-width: 750px) {
  .thanks {
    padding: 56px  clamp(20px, calc(40 / 750 * 100vw), 40px);
  }
}

.thanks__container {
  max-width: 580px;
  margin: 0 auto;
}

.thanks__title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #644321;
}

@media screen and (max-width: 750px) {
  .thanks__title {
    font-size: 20px;
  }
}

.thanks__separator {
  width: 10px;
  height: 10px;
  margin: 44px auto;
  border-radius: 50%;
  background: #644321;
}

@media screen and (max-width: 750px) {
  .thanks__separator {
    width: 8px;
    height: 8px;
    margin: 40px auto;
  }
}

.thanks__text {
  line-height: 1.875;
  font-weight: 500;
}

.thanks__text + .thanks__text {
  margin-top: 28px;
}

.thanks__btn-wrapper {
  margin-top: 90px;
  text-align: center;
}

@media screen and (max-width: 750px) {
  .thanks__btn-wrapper {
    margin-top: 40px;
  }
}

.thanks__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 72px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #644321;
  transition: opacity .3s ease;
}

@media screen and (max-width: 750px) {
  .thanks__btn {
    padding: 14px 48px;
    font-size: 14px;
  }
}

.thanks__btn::after {
  position: absolute;
  display: block;
  content: '';
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url(../img/arrow.png) no-repeat center center / contain;
}

@media screen and (max-width: 750px) {
  .thanks__btn::after {
    width: 14px;
    height: 14px;
  }
}

.thanks__btn:hover {
  opacity: .8;
}

