@charset "UTF-8";

/* ===========================================================================
   お問い合わせフォーム
   BoostUP Form の汎用 max-width: 480px をページ幅へ合わせて上書きする。
   ========================================================================== */

body.has-media-style .p-static-page__content .buf-form,
body.has-media-style .p-static-page__content .p-contact-form,
body.has-media-style .p-static-page__content .c-form__section,
body.has-media-style .p-static-page__content .c-form__field,
body.has-media-style .p-static-page__content .c-form__control {
  width: 100%;
  max-width: none;
}

body.has-media-style .p-static-page__content .p-contact-form {
  gap: clamp(40px, 6vw, 56px);
}

body.has-media-style .p-static-page__content .c-form__section {
  gap: clamp(28px, 4vw, 36px);
}

body.has-media-style .p-static-page__content .c-form__field {
  gap: 11px;
}

body.has-media-style .p-static-page__content .c-form__label {
  gap: 10px;
  color: var(--color-navy);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .035em;
}

body.has-media-style .p-static-page__content .c-form__required {
  padding: 3px 8px;
  border-radius: 2px;
  color: #fff;
  background: var(--color-gold-deep);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.35;
}

body.has-media-style .p-static-page__content :where(.buf-form__input, .buf-form__textarea, .buf-form__select) {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  color: var(--color-navy);
  background: #fff;
  box-shadow: 0 1px 0 rgba(27, 42, 74, .02);
  font-family: var(--font-sans-jp);
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.has-media-style .p-static-page__content .buf-form__textarea {
  min-height: 200px;
  resize: vertical;
}

body.has-media-style .p-static-page__content :where(.buf-form__input, .buf-form__textarea, .buf-form__select)::placeholder {
  color: #8a909c;
  opacity: 1;
}

body.has-media-style .p-static-page__content :where(.buf-form__input, .buf-form__textarea, .buf-form__select):hover {
  border-color: var(--color-gold-pale);
}

body.has-media-style .p-static-page__content :where(.buf-form__input, .buf-form__textarea, .buf-form__select):focus {
  border-color: var(--color-gold-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 155, 94, .14);
}

body.has-media-style .p-static-page__content .c-form__control.is-invalid :where(.buf-form__input, .buf-form__textarea, .buf-form__select) {
  border-color: var(--color-line);
}

body.has-media-style .p-static-page__content .buf-form__radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
}

body.has-media-style .p-static-page__content .buf-form__radio {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  color: var(--color-navy);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

body.has-media-style .p-static-page__content .buf-form__radio:hover,
body.has-media-style .p-static-page__content .buf-form__radio:has(input:focus-visible) {
  border-color: var(--color-gold);
  background: var(--color-base-warm);
}

body.has-media-style .p-static-page__content .buf-form__radio:has(input:checked) {
  border-color: var(--color-navy);
  background: var(--color-base-warm);
}

body.has-media-style .p-static-page__content :where(.buf-form__radio, .buf-form__checkbox) input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-navy);
  flex: 0 0 18px;
}

body.has-media-style .p-static-page__content :where(.buf-form__radio-text, .buf-form__checkbox-text) {
  line-height: 1.65;
}

body.has-media-style .p-static-page__content .c-form__field > .p-static-page__notice {
  width: 100%;
  margin: 2px 0 6px;
  padding: 18px 20px;
  border-left: 2px solid var(--color-gold);
  color: var(--color-text-sub);
  background: var(--color-base-warm);
  font-size: .82rem;
  line-height: 1.8;
}

body.has-media-style .p-static-page__content .buf-form__checkbox-group {
  display: block;
  width: 100%;
}

body.has-media-style .p-static-page__content .buf-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  color: var(--color-navy);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

body.has-media-style .p-static-page__content .buf-form__checkbox:hover,
body.has-media-style .p-static-page__content .buf-form__checkbox:has(input:focus-visible),
body.has-media-style .p-static-page__content .buf-form__checkbox:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--color-base-warm);
}

body.has-media-style .p-static-page__content .p-static-page__actions {
  width: 100%;
  margin-top: 36px;
}

body.has-media-style .p-static-page__content .buf-form__button {
  gap: 14px;
  width: min(100%, 360px);
  min-height: 56px;
  border-radius: 2px;
  font-weight: 500;
}

body.has-media-style .p-static-page__content .buf-form__button::after,
body.has-media-style .p-static-page__content .buf-form__button [class^="ri-"]::before,
body.has-media-style .p-static-page__content .buf-form__button [class*=" ri-"]::before {
  font-family: "themify";
}

body.has-media-style .p-static-page__content .buf-form__button--back [class*="arrow-left"]::before {
  content: "\e629";
}

body.has-media-style .p-static-page__content :where(.buf-form__button--next, .buf-form__button--confirm) [class*="arrow-right"]::before,
body.has-media-style .p-static-page__content .buf-form__button--submit [class*="send"]::before {
  content: "\e628";
}

body.has-media-style .p-static-page__content .buf-form__button:disabled,
body.has-media-style .p-static-page__content .buf-form__button.is-disabled {
  border-color: #c7c9cd;
  color: #8a8e96;
  background: #f1f1ef;
  cursor: not-allowed;
  opacity: 1;
}

body.has-media-style .p-static-page__content :where(.buf-form__errors, .buf-form__error, .error) {
  color: #a14843;
  font-size: .76rem;
  font-weight: 500;
}

body.has-media-style .p-static-page__content .buf-test-mode {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid var(--color-gold-pale);
  border-radius: 2px;
  color: var(--color-text-sub);
  background: #fff;
  font-size: .78rem;
}

body.has-media-style .p-static-page__content .buf-test-mode strong {
  color: var(--color-navy);
  font-weight: 500;
}

body.has-media-style .p-static-page__content .buf-test-mode p {
  margin: 6px 0 0;
}

@media (max-width: 640px) {
  body.has-media-style .p-static-page__content .buf-form__radio-group {
    grid-template-columns: 1fr;
  }

  body.has-media-style .p-static-page__content .buf-form__textarea {
    min-height: 168px;
  }

  body.has-media-style .p-static-page__content .buf-form__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-media-style .p-static-page__content :where(.buf-form__input, .buf-form__textarea, .buf-form__select, .buf-form__radio, .buf-form__checkbox) {
    transition: none;
  }
}


/* Theme state overrides */
body.has-media-style .p-static-page__content .c-form__required.is-invalid {
  background: var(--color-gold-deep) !important;
}
body.has-media-style .p-static-page__content .c-form__required.is-valid {
  background: var(--color-navy) !important;
}
body.has-media-style .p-static-page__content .buf-form__button:disabled,
body.has-media-style .p-static-page__content .buf-form__button.is-disabled {
  border-color: #c7c4bb !important;
  color: #8a8e96 !important;
  background: var(--color-base-warm) !important;
}
body.has-media-style .p-static-page__content .buf-test-mode .button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--color-navy);
  border-radius: 2px;
  color: #fff !important;
  background: var(--color-navy);
  font-size: .76rem;
  line-height: 1.5;
  text-decoration: none;
}
