/* =========================================================
   REAS CONTACT / CONFIRM / SEND PAGE
   ========================================================= */

body.page-contact-reas,
body.page-contact-reas .page-content,
body.page-contact-reas .site-content,
body.page-contact-reas .content,
body.page-contact-reas .content-wrapper,
body.page-contact-reas .main-content,
body.page-contact-reas main,
body.page-contact-reas .rwc-page-main {
  background: #efefef !important;
  color: #111 !important;
}

.rwc-page-main {
  padding-top: 100px;
}

.rwc-contact-block,
.rwc-contact-block *,
.rwc-contact-block *::before,
.rwc-contact-block *::after,
.rwc-site-footer,
.rwc-site-footer *,
.rwc-site-footer *::before,
.rwc-site-footer *::after {
  box-sizing: border-box;
}

.rwc-contact-block {
  width: 100%;
  background: #efefef;
  padding: 64px 20px 88px;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.rwc-contact-block button,
.rwc-contact-block input,
.rwc-contact-block textarea,
.rwc-contact-block select,
.rwc-contact-block label,
.rwc-contact-block p,
.rwc-contact-block h1,
.rwc-contact-block h2,
.rwc-contact-block h3,
.rwc-contact-block div,
.rwc-contact-block span,
.rwc-site-footer,
.rwc-site-footer a,
.rwc-site-footer p,
.rwc-site-footer div,
.rwc-site-footer li,
.rwc-site-footer small {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
  text-transform: none !important;
}

.rwc-contact-block__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.rwc-contact-block__head {
  margin: 0 0 34px;
}

.rwc-contact-block__eyebrow {
  margin: 0 0 10px;
  color: #666;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.20em !important;
}

.rwc-contact-block__title {
  margin: 0 0 12px;
  color: #111;
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.05em !important;
}

.rwc-contact-block__lead {
  margin: 0;
  color: #333;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  letter-spacing: 0.02em !important;
}

/* =========================================================
   STEP
   ========================================================= */
.rwc-contact-step {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 44px;
}

.rwc-contact-step__item {
  position: relative;
  flex: 0 0 180px;
  text-align: center;
}

.rwc-contact-step__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: #111;
}

.rwc-contact-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

.rwc-contact-step__label {
  margin-top: 12px;
  color: #111;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.03em !important;
}

.rwc-contact-step__item.is-current .rwc-contact-step__num,
.rwc-contact-step__item.is-active .rwc-contact-step__num {
  background: #f0db00;
  color: #111;
}

.rwc-contact-step__item.is-done .rwc-contact-step__num {
  background: #111;
  color: #fff;
}

/* =========================================================
   FORM
   ========================================================= */
.rwc-contact-form {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid #b8b8b8;
}

.rwc-contact-form__row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 42px;
  align-items: start;
  padding: 30px 18px;
  border-bottom: 1px solid #b8b8b8;
}

.rwc-contact-form__row--top {
  align-items: start;
}

.rwc-contact-form__label-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.rwc-contact-form__label {
  display: block;
  margin: 0;
  color: #111;
  background: transparent;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em !important;
  text-align: left;
}

.rwc-contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 46px;
  height: 28px;
  margin: 0;
  padding: 0 9px;
  border: 0;
  border-radius: 0;
  background: #c85346;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap;
}

.rwc-contact-form__field-wrap {
  min-width: 0;
}

.rwc-contact-form__input,
.rwc-contact-form__textarea,
.rwc-contact-form__field-wrap input[type="text"],
.rwc-contact-form__field-wrap input[type="email"],
.rwc-contact-form__field-wrap input[type="tel"],
.rwc-contact-form__field-wrap input[type="url"],
.rwc-contact-form__field-wrap input[type="number"],
.rwc-contact-form__field-wrap select,
.rwc-contact-form__field-wrap textarea,
.rwc-contact-form__confirm-value {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #dfdfdf !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  color: #111 !important;
  text-decoration: none;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.02em !important;
}

.rwc-contact-form__confirm-value {
  min-height: 62px;
  white-space: pre-wrap;
  word-break: break-word;
}

.rwc-contact-form__input::placeholder,
.rwc-contact-form__textarea::placeholder,
.rwc-contact-form__field-wrap input::placeholder,
.rwc-contact-form__field-wrap textarea::placeholder {
  color: #a7a7a7;
  opacity: 1;
  font-size: 15px;
  font-weight: 500;
}

.rwc-contact-form__input:focus,
.rwc-contact-form__textarea:focus,
.rwc-contact-form__field-wrap input:focus,
.rwc-contact-form__field-wrap select:focus,
.rwc-contact-form__field-wrap textarea:focus {
  background: #d8d8d8 !important;
  outline: 1px solid #c5c5c5 !important;
  outline-offset: 0;
}

.rwc-contact-form__textarea,
.rwc-contact-form__field-wrap textarea {
  min-height: 168px;
  resize: vertical;
}

.rwc-contact-form__row--agree {
  grid-template-columns: 1fr;
  padding-top: 26px;
}

.rwc-contact-form__agree {
  display: inline-flex;
  align-items: flex-start !important;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.rwc-contact-form__checkbox {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #111;
  appearance: auto;
  -webkit-appearance: checkbox;
}

.rwc-contact-form__agree-text {
  display: block;
  margin: 0;
  color: #111;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.02em !important;
}

.rwc-contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding-top: 42px;
  text-align: center;
}

.rwc-contact-form__submit,
.rwc-contact-form__back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 240px;
  min-height: 60px;
  margin: 0 !important;
  padding: 0 32px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.rwc-contact-form__submit {
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.rwc-contact-form__submit:hover {
  background: #fff !important;
  color: #111 !important;
}

.rwc-contact-form__back {
  border: 1px solid #111 !important;
  background: transparent !important;
  color: #111 !important;
}

.rwc-contact-form__back:hover {
  background: #111 !important;
  color: #fff !important;
}

.rwc-contact-form__submit:focus,
.rwc-contact-form__back:focus {
  outline: none !important;
}

.rwc-contact-form__submit-text {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  letter-spacing: inherit !important;
}

.rwc-contact-form__note {
  margin: 18px 0 0;
  text-align: center;
  color: #555;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  letter-spacing: 0.03em !important;
}

.rwc-contact-form__errors {
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid #c85346;
  background: #fff5f4;
}

.rwc-contact-form__errors ul {
  margin: 0;
  padding: 0 0 0 1.2em;
}

.rwc-contact-form__errors li {
  color: #c85346;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

.rwc-contact-form .error,
.rwc-contact-form .mwform-error,
.rwc-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #c85346;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.02em !important;
}

.rwc-contact-complete {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px;
  background: #fff;
  text-align: center;
}

.rwc-contact-complete__title {
  margin: 0 0 18px;
  color: #111;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em !important;
}

.rwc-contact-complete__lead {
  margin: 0;
  color: #333;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 2 !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
.rwc-site-footer {
  background: #111;
  color: #fff;
  padding: 34px 20px 36px;
}

.rwc-site-footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rwc-site-footer__main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px 28px;
}

.rwc-site-footer__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.rwc-site-footer__brand img {
  display: block;
  max-width: 240px;
  height: auto;
}

.rwc-site-footer__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.rwc-site-footer__postal,
.rwc-site-footer__address,
.rwc-site-footer__tel,
.rwc-site-footer__info p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap;
}

.rwc-site-footer__nav {
  align-self: flex-end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rwc-site-footer__nav a {
  color: #fff !important;
  text-decoration: none;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

.rwc-site-footer__nav a:hover {
  opacity: .7;
}

.rwc-site-footer__bottom {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.22);
  text-align: center;
}

.rwc-site-footer__copy {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

.rwc-contact-complete__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.rwc-contact-complete__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid #111;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.rwc-contact-complete__button:hover {
  background: #fff;
  color: #111 !important;
}
@media (max-width: 900px) {
  .rwc-page-main {
    padding-top: 90px;
  }

  .rwc-site-footer__main {
    gap: 18px 24px;
  }

  .rwc-site-footer__brand img {
    max-width: 220px;
  }

  .rwc-site-footer__info {
    gap: 0 14px;
  }

  .rwc-contact-block {
    padding: 56px 18px 74px;
  }

  .rwc-contact-block__title {
    font-size: 30px !important;
  }

  .rwc-contact-block__lead {
    font-size: 14px !important;
  }

  .rwc-contact-step__item {
    flex-basis: 150px;
  }

  .rwc-contact-form__row {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 28px;
    padding: 26px 12px;
  }

  .rwc-contact-form__label {
    font-size: 16px !important;
  }

  .rwc-contact-form__required {
    min-width: 44px;
    height: 26px;
    font-size: 11px !important;
  }

  .rwc-contact-form__input,
  .rwc-contact-form__textarea,
  .rwc-contact-form__field-wrap input[type="text"],
  .rwc-contact-form__field-wrap input[type="email"],
  .rwc-contact-form__field-wrap input[type="tel"],
  .rwc-contact-form__field-wrap input[type="url"],
  .rwc-contact-form__field-wrap input[type="number"],
  .rwc-contact-form__field-wrap select,
  .rwc-contact-form__field-wrap textarea,
  .rwc-contact-form__confirm-value {
    font-size: 15px !important;
    padding: 16px 18px !important;
  }
}

@media (max-width: 640px) {
  .rwc-page-main {
    padding-top: 80px;
  }

  .rwc-contact-block {
    padding: 48px 16px 64px;
  }

  .rwc-contact-block__head {
    margin-bottom: 28px;
  }

  .rwc-contact-block__title {
    font-size: 26px !important;
    line-height: 1.4 !important;
  }

  .rwc-contact-block__lead {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .rwc-contact-step {
    margin-bottom: 34px;
  }

  .rwc-contact-step__item {
    flex: 1 1 0;
  }

  .rwc-contact-step__item:not(:last-child)::after {
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    top: 21px;
  }

  .rwc-contact-step__num {
    width: 44px;
    height: 44px;
    border-radius: 0;
    font-size: 14px !important;
  }

  .rwc-contact-step__label {
    margin-top: 10px;
    font-size: 12px !important;
  }

  .rwc-contact-form__row {
    display: block;
    padding: 20px 0;
  }

  .rwc-contact-form__label-wrap {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .rwc-contact-form__label {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .rwc-contact-form__required {
    min-width: 42px;
    height: 24px;
    padding: 0 8px;
    font-size: 10px !important;
  }

  .rwc-contact-form__input,
  .rwc-contact-form__textarea,
  .rwc-contact-form__field-wrap input[type="text"],
  .rwc-contact-form__field-wrap input[type="email"],
  .rwc-contact-form__field-wrap input[type="tel"],
  .rwc-contact-form__field-wrap input[type="url"],
  .rwc-contact-form__field-wrap input[type="number"],
  .rwc-contact-form__field-wrap select,
  .rwc-contact-form__field-wrap textarea,
  .rwc-contact-form__confirm-value {
    font-size: 15px !important;
    padding: 15px 16px !important;
  }

  .rwc-contact-form__textarea,
  .rwc-contact-form__field-wrap textarea {
    min-height: 150px;
  }

  .rwc-contact-form__row--agree {
    padding-top: 22px;
  }

  .rwc-contact-form__agree {
    gap: 10px;
  }

  .rwc-contact-form__agree-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .rwc-contact-form__actions {
    gap: 12px;
    padding-top: 32px;
  }

  .rwc-contact-form__submit,
  .rwc-contact-form__back {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 20px !important;
  }

  .rwc-contact-form__note {
    font-size: 12px !important;
  }

  .rwc-contact-complete {
    padding: 38px 22px;
  }

  .rwc-contact-complete__title {
    font-size: 24px !important;
  }

.rwc-site-footer {
  padding: 28px 16px 30px;
}

.rwc-site-footer__inner {
  align-items: center;
  gap: 24px;
}

.rwc-site-footer__nav {
  order: 1;
  align-self: center;
  justify-content: center;
  gap: 10px 16px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.08);
}

.rwc-site-footer__main {
  order: 2;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.rwc-site-footer__brand img {
  max-width: 200px;
}

.rwc-site-footer__info {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.rwc-site-footer__bottom {
  order: 3;
  padding-top: 16px;
}

}

@media (max-width: 640px) {
  .rwc-site-footer__postal,
  .rwc-site-footer__address,
  .rwc-site-footer__tel,
  .rwc-site-footer__info p {
    display: block;
    width: 100%;
    font-size: 12px !important;
    line-height: 1.8 !important;
    text-align: center;
  }
}


/* =========================================================
   PATCH v6
   ========================================================= */

/* 同意欄 */
.rwc-contact-form__row--agree {
  display: block;
  padding-top: 26px;
  text-align: center;
}

.rwc-contact-form__row--agree .rwc-contact-form__field-wrap {
  display: flex;
  justify-content: center;
}

.rwc-contact-form__agree {
  justify-content: center;
  align-items: center !important;
  gap: 10px;
  text-align: center;
}

.rwc-contact-form__agree-text {
  text-align: center;
}

/* PCフッター：住所情報は横並び */
.rwc-site-footer__info {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 14px;
  text-align: left;
}

.rwc-site-footer__postal,
.rwc-site-footer__address,
.rwc-site-footer__tel,
.rwc-site-footer__info p {
  display: inline-block;
}

/* SPフッター：メニューを最上部・全幅背景 */
@media (max-width: 640px) {
  .rwc-site-footer {
    padding: 0 16px 30px;
  }

  .rwc-site-footer__inner {
    align-items: center;
    gap: 0;
  }

  .rwc-site-footer__nav {
    order: 1;
    align-self: stretch;
    justify-content: center;
    width: calc(100% + 32px);
    margin: 0 -16px 28px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, .55);
  }

  .rwc-site-footer__main {
    order: 2;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    width: 100%;
  }

  .rwc-site-footer__info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .rwc-site-footer__bottom {
    order: 3;
    width: 100%;
    padding-top: 16px;
    margin-top: 22px;
  }

  .rwc-site-footer__postal,
  .rwc-site-footer__address,
  .rwc-site-footer__tel,
  .rwc-site-footer__info p {
    display: block;
    width: 100%;
    font-size: 12px !important;
    line-height: 1.8 !important;
    text-align: center;
  }

  .rwc-contact-form__row--agree {
    padding-top: 22px;
  }

  .rwc-contact-form__agree {
    width: 100%;
    justify-content: center;
    align-items: flex-start !important;
    gap: 10px;
  }

  .rwc-contact-form__agree-text {
    text-align: left;
    line-height: 1.7 !important;
  }
}


/* =========================================================
   PATCH v7
   ========================================================= */

/* 同意欄リンク */
.rwc-contact-form__agree-link {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
}

.rwc-contact-form__agree-link:hover {
  opacity: 0.75;
}

/* フッター：PC/SP共通でメニューを上段中央寄せ・背景を少し明るく */
.rwc-site-footer__inner {
  gap: 22px;
}

.rwc-site-footer__nav {
  order: 1;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  width: 100%;
  margin: 0;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.14);
}

.rwc-site-footer__main {
  order: 2;
  justify-content: flex-start;
}

.rwc-site-footer__bottom {
  order: 3;
  width: 100%;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.rwc-site-footer__copy {
  text-align: center;
}

/* PCフッター情報は横並びを維持 */
.rwc-site-footer__info {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 14px;
  text-align: left;
}

.rwc-site-footer__postal,
.rwc-site-footer__address,
.rwc-site-footer__tel,
.rwc-site-footer__info p {
  display: inline-block;
}

@media (max-width: 640px) {
  .rwc-site-footer {
    padding: 0 16px 30px;
  }

  .rwc-site-footer__inner {
    align-items: center;
    gap: 0;
  }

  .rwc-site-footer__nav {
    order: 1;
    align-self: stretch;
    width: calc(100% + 32px);
    margin: 0 -16px 34px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.14);
  }

  .rwc-site-footer__main {
    order: 2;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    width: 100%;
  }

  .rwc-site-footer__info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .rwc-site-footer__bottom {
    order: 3;
    width: 100%;
    padding-top: 16px;
    margin-top: 22px;
  }

  .rwc-site-footer__postal,
  .rwc-site-footer__address,
  .rwc-site-footer__tel,
  .rwc-site-footer__info p {
    display: block;
    width: 100%;
    text-align: center;
  }

  .rwc-contact-form__agree-text {
    text-align: center;
  }
}

/* =========================================
   横スクロール修正
========================================= */
html,
body,
body.page-contact-reas {
  overflow-x: hidden;
}

body.page-contact-reas .rwc-site-footer__nav {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 32px !important;
  padding: 16px 24px !important;
  left: auto !important;
  right: auto !important;
}

@media (max-width: 640px) {
  body.page-contact-reas .rwc-site-footer__nav {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 34px !important;
    padding: 16px 18px !important;
  }
}

/* フッターメニュー */
.rwc-site-footer__nav {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  margin-bottom: 32px !important;
  padding: 16px 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: transparent !important;
}

/* 背景だけブラウザ100% */
.rwc-site-footer__nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #333;
  z-index: -1;
}

@media (max-width: 640px) {
  .rwc-site-footer__nav {
    margin-top: 0 !important;
    margin-bottom: 34px !important;
    padding: 16px 18px !important;
  }

  .rwc-site-footer__nav::before {
    background: #333;
  }
}

/* =========================================
   footer reset
========================================= */
body.page-contact-reas .rwc-site-footer,
body.page-contact-reas .rwc-site-footer * ,
body.page-contact-reas .rwc-footer-nav,
body.page-contact-reas .rwc-footer-nav * {
  box-sizing: border-box;
}

/* 上段ナビ */
body.page-contact-reas .rwc-footer-nav {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #333;
}

body.page-contact-reas .rwc-footer-nav__list {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 20px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}

body.page-contact-reas .rwc-footer-nav__list li {
  margin: 0;
  padding: 0;
}

body.page-contact-reas .rwc-footer-nav__list a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

body.page-contact-reas .rwc-footer-nav__list a:hover {
  opacity: 0.8;
}

/* 下段フッター */
body.page-contact-reas .rwc-site-footer {
  width: 100%;
  margin: 0;
  padding: 26px 0 34px;
  background: #050505;
  overflow-x: hidden;
}

body.page-contact-reas .rwc-site-footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

body.page-contact-reas .rwc-site-footer__main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding-bottom: 0px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

body.page-contact-reas .rwc-site-footer__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

body.page-contact-reas .rwc-site-footer__brand img {
  display: block;
  max-height: 32px;
  width: auto;
}

body.page-contact-reas .rwc-site-footer__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 2px;
  color: #fff;
  min-width: 0;
}

body.page-contact-reas .rwc-site-footer__postal,
body.page-contact-reas .rwc-site-footer__address,
body.page-contact-reas .rwc-site-footer__tel {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  white-space: nowrap;
}

body.page-contact-reas .rwc-site-footer__bottom {
  padding-top: 18px;
}

body.page-contact-reas .rwc-site-footer__copy {
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.7;
}

/* 旧独自フッター要素を無効化 */
body.page-contact-reas .rwc-site-footer__nav,
body.page-contact-reas .rwc-site-footer__bottom-spacer,
body.page-contact-reas .rwc-site-footer__policy {
  display: none !important;
}

/* SP */
@media (max-width: 767px) {
  body.page-contact-reas .rwc-footer-nav__list {
    padding: 14px 16px;
    gap: 10px 18px;
  }

  body.page-contact-reas .rwc-site-footer {
    padding: 22px 0 28px;
  }

  body.page-contact-reas .rwc-site-footer__inner {
    padding: 0 16px;
  }

  body.page-contact-reas .rwc-site-footer__main {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  body.page-contact-reas .rwc-site-footer__info {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  body.page-contact-reas .rwc-site-footer__postal,
  body.page-contact-reas .rwc-site-footer__address,
  body.page-contact-reas .rwc-site-footer__tel {
    white-space: normal;
  }
}

/* =========================
   フッター微調整
========================= */

/* ロゴ＋住所全体を中央寄せ */
body.page-contact-reas .rwc-site-footer__main {
  justify-content: center !important;
}

/* 住所・電話番号を中央寄せ */
body.page-contact-reas .rwc-site-footer__info {
  justify-content: center !important;
  text-align: center !important;
}

/* 二重線対策：下線を1本にする */
body.page-contact-reas .rwc-site-footer__main {
  border-bottom: none !important;
}

body.page-contact-reas .rwc-site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.14) !important;
  padding-top: 18px;
}

/* フッターナビをゴシック体にする */
body.page-contact-reas .rwc-footer-nav,
body.page-contact-reas .rwc-footer-nav__list,
body.page-contact-reas .rwc-footer-nav__list li,
body.page-contact-reas .rwc-footer-nav__list a {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
}

body.page-contact-reas .rwc-footer-nav__list a {
  font-weight: 500;
  letter-spacing: 0.02em;
}