/* ==================================================
   WILL CLENS - CONTACT
   ecforce標準フォーム機能は維持し、見た目のみ調整
================================================== */
.c-form_table__name input {
  max-width: 100% !important;
}

.c-form_table__tel input {
  max-width: 100% !important;
}


#wc-contact-page,
.wc-contact-page,
.wc-contact-page * {
  box-sizing: border-box;
}

.wc-contact-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
  color: #555;
}

.wc-contact-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../images/contact/contact-back-fixed.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  pointer-events: none;
}

.wc-contact-page>* {
  position: relative;
  z-index: 1;
}

.wc-contact-page a {
  color: inherit;
}

.wc-contact-breadcrumb {
  width: 90%;
  max-width: 1728px;
  margin: 0 auto;
  padding-top: 34px;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.wc-contact-breadcrumb a {
  text-decoration: none;
}

.wc-contact-container {
  width: calc(100% - 40px);
  max-width: 800px;
  margin: 62px auto 140px;
}

.wc-contact-header {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 54px;
  text-align: center;
}

.wc-contact-title {
  margin: 0;
  color: #3694c9;
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .05em;
}

.wc-contact-required-note {
  margin: 0;
  color: #777;
  font-size: 11px;
  white-space: nowrap;
}

.wc-contact-faq {
  display: flex;
  justify-content: flex-end;
  margin: -26px 0 16px;
}

.wc-contact-faq a {
  color: #3694c9;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* flash */
.wc-contact-page .control-alert {
  max-width: 1000px;
  margin: 0 auto 22px;
}

/* form */
.wc-contact-form {
  width: 100%;
}

.wc-contact-form table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 18px;
}

.wc-contact-form th,
.wc-contact-form td {
  padding: 0;
  vertical-align: middle;
  border: 0;
}

.wc-contact-form th {
  width: 185px;
  padding-right: 24px !important;
  color: #555 !important;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.wc-contact-form th .u-color__text--alert {
  margin-left: 3px;
  color: #f16f50;
}

.wc-contact-form td {
  width: auto;
}

.wc-contact-form input[type="text"],
.wc-contact-form input[type="email"],
.wc-contact-form input[type="tel"],
.wc-contact-form select,
.wc-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #777;
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, .88);
  color: #555;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: none;
}

.wc-contact-form input:focus,
.wc-contact-form select:focus,
.wc-contact-form textarea:focus {
  border-color: #3694c9;
}

.wc-contact-form textarea {
  min-height: 205px;
  resize: vertical;
}

.wc-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.wc-contact-form .c-form_table__name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.wc-contact-form .c-form_table__tel {
  /* display: grid; */
  /* grid-template-columns: 1fr auto 1fr auto 1fr; */
  align-items: center;
  /* gap: 10px; */
  /* max-width: 570px; */
}

.wc-contact-form .c-form_table__tel span {
  text-align: center;
}

.wc-contact-privacy-row th {
  visibility: hidden;
}

.wc-contact-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.wc-contact-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
}

.wc-contact-privacy label,
.wc-contact-privacy .c-form_table__checkbox__text {
  color: #555;
  font-size: 12px;
}

.wc-contact-privacy a {
  color: #3694c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wc-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 62px;
}

.wc-contact-submit-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.wc-contact-fix-link {
  margin-top: 18px;
  color: #3694c9 !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* 共通オレンジCTAのサイズだけ指定 */
.wc-contact-page .common-btn.wc-contact-submit-btn,
.wc-contact-page a.common-btn.wc-contact-submit-btn {
  width: 290px;
  height: 58px;
}

/* confirm */
.wc-contact-confirm-table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.wc-contact-confirm-table tr {
  border-bottom: 1px solid rgba(54, 148, 201, .28);
}

.wc-contact-confirm-table th,
.wc-contact-confirm-table td {
  padding-top: 17px;
  padding-bottom: 17px;
}

.wc-contact-confirm-table th {
  width: 185px;
}

.wc-contact-confirm-table td {
  color: #555 !important;
  font-size: 13px;
  line-height: 1.65;
}

/* complete */
.wc-contact-complete {
  text-align: center;
}

.wc-contact-complete::before {
  background-image: url("../images/contact/contact-complete-back-fixed.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.wc-contact-complete .wc-contact-container {
  margin-top: 60px;
  max-width: 1000px;
}

.wc-contact-complete__title {
  margin: 0;
  color: #3694c9;
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .05em;
}

.wc-contact-complete__lead {
  max-width: 760px;
  margin: 42px auto 0;
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

.wc-contact-complete__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  margin: 34px auto 0;
}

.wc-contact-complete__character {
  display: block;
  width: min(240px, 26vw);
  height: auto;
}

.wc-contact-complete__contact-copy {
  text-align: left;
  color: #555;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.wc-contact-complete__contact-copy a {
  text-decoration: none;
}

.wc-contact-complete .wc-contact-actions {
  margin-top: 42px;
}

/* 既存ecforce側の余白・幅を無効化 */
.wc-contact-page.l-container,
.wc-contact-page .l-container__row,
.wc-contact-page .p-account_form,
.wc-contact-page .p-account_form__inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* SP */
@media (max-width: 560px) {
  .wc-contact-page::before {
    background-image: url("../images/contact/contact-back-fixed-sp.png");
    background-size: 100% auto;
    background-position: center top;
  }

  .wc-contact-complete::before {
    background-image: url("../images/contact/contact-complete-back-fixed.png");
    background-size: 100% auto;
    background-position: center top;
  }

  .wc-contact-breadcrumb {
    width: 80%;
    padding-top: 24px;
    font-size: 9px;
  }

  .wc-contact-container {
    width: 80%;
    max-width: 1000px;
    margin-top: 46px;
    margin-bottom: 100px;
  }

  .wc-contact-header {
    display: block;
    margin-bottom: 36px;
  }

  .wc-contact-title,
  .wc-contact-complete__title {
    font-size: 25px;
  }

  .wc-contact-required-note {
    margin-top: 8px;
    font-size: 9px;
  }

  .wc-contact-faq {
    margin: -18px 0 16px;
  }

  .wc-contact-faq a {
    font-size: 10px;
  }

  .wc-contact-form table {
    display: block;
    border-spacing: 0;
  }

  .wc-contact-form tbody,
  .wc-contact-form tr,
  .wc-contact-form th,
  .wc-contact-form td {
    display: block;
    width: 100%;
  }

  .wc-contact-form tr {
    margin-bottom: 20px;
  }

  .wc-contact-form th {
    padding: 0 0 8px;
    font-size: 11px;
  }

  .wc-contact-form input[type="text"],
  .wc-contact-form input[type="email"],
  .wc-contact-form input[type="tel"],
  .wc-contact-form select,
  .wc-contact-form textarea {
    min-height: 44px;
    padding: 9px 11px;
    font-size: 11px;
  }

  .wc-contact-form textarea {
    min-height: 180px;
  }

  .wc-contact-form .c-form_table__name {
    gap: 10px;
  }

  .wc-contact-form .c-form_table__tel {
    gap: 6px;
    max-width: none;
  }

  .wc-contact-privacy-row {
    margin-top: -2px;
  }

  .wc-contact-privacy-row th {
    display: none;
  }

  .wc-contact-privacy label,
  .wc-contact-privacy .c-form_table__checkbox__text {
    font-size: 10px;
  }

  .wc-contact-actions {
    margin-top: 44px;
  }

  .wc-contact-page .common-btn.wc-contact-submit-btn,
  .wc-contact-page a.common-btn.wc-contact-submit-btn {
    width: 210px;
    height: 50px;
  }

  .wc-contact-confirm-table tr {
    margin-bottom: 0;
    padding: 14px 0;
  }

  .wc-contact-confirm-table th,
  .wc-contact-confirm-table td {
    padding: 0;
  }

  .wc-contact-confirm-table th {
    margin-bottom: 6px;
  }

  .wc-contact-complete .wc-contact-container {
    width: 80%;
    margin-top: 46px;
  }

  .wc-contact-complete__lead {
    margin-top: 28px;
    font-size: 10px;
    line-height: 1.8;
  }

  .wc-contact-complete__contact {
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }

  .wc-contact-complete__character {
    width: 170px;
  }

  .wc-contact-complete__contact-copy {
    text-align: center;
    font-size: 12px;
  }

  .wc-contact-complete .wc-contact-actions {
    margin-top: 32px;
  }
}


.wc-contact-title,
.wc-contact-complete__title,
.wc-contact-title, .wc-contact-complete__title {
  font-size: var(--top-h1) !important;
}

.wc-contact-form input[type="text"], .wc-contact-form input[type="email"], .wc-contact-form input[type="tel"], .wc-contact-form select, .wc-contact-form textarea,
.wc-contact-privacy label, .wc-contact-privacy .c-form_table__checkbox__text,
.wc-contact-confirm-table td,
.wc-contact-complete__lead {
  font-size: var(--top-16) !important;
}

.wc-contact-breadcrumb {
  font-size: var(--top-small) !important;
}

/* ==================================================
   CONTACT PAGE / TOP DESIGN SYSTEM SYNC
   2026-09-24
   TOP仕様：90% / max-width 1000px / 770px breakpoint
================================================== */

#wc-contact-page,
.wc-contact-page {
  background: #fff !important;
  background-image: none !important;
}

#wc-contact-page::before,
.wc-contact-page::before,
.wc-contact-complete::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* 共通幅 */
#wc-contact-page .wc-contact-breadcrumb,
#wc-contact-page .wc-contact-container,
.wc-contact-page .wc-contact-breadcrumb,
.wc-contact-page .wc-contact-container {
  width: 90% !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* パンくず */
#wc-contact-page .wc-contact-breadcrumb,
.wc-contact-page .wc-contact-breadcrumb {
  padding-top: 112px !important;
  font-size: var(--top-small) !important;
}

/* メイン */
#wc-contact-page .wc-contact-container,
.wc-contact-page .wc-contact-container {
  margin-top: 64px !important;
  margin-bottom: 140px !important;
}

/* 見出し */
#wc-contact-page .wc-contact-title,
#wc-contact-page .wc-contact-complete__title,
.wc-contact-page .wc-contact-title,
.wc-contact-page .wc-contact-complete__title {
  font-size: var(--top-h1) !important;
  font-weight: 600 !important;
}

/* フォーム文字 */
#wc-contact-page .wc-contact-form th,
.wc-contact-page .wc-contact-form th {
  font-size: var(--top-16) !important;
}

#wc-contact-page .wc-contact-form input[type="text"],
#wc-contact-page .wc-contact-form input[type="email"],
#wc-contact-page .wc-contact-form input[type="tel"],
#wc-contact-page .wc-contact-form select,
#wc-contact-page .wc-contact-form textarea,
#wc-contact-page .wc-contact-privacy label,
#wc-contact-page .wc-contact-privacy .c-form_table__checkbox__text,
#wc-contact-page .wc-contact-confirm-table td,
#wc-contact-page .wc-contact-complete__lead,
.wc-contact-page .wc-contact-form input[type="text"],
.wc-contact-page .wc-contact-form input[type="email"],
.wc-contact-page .wc-contact-form input[type="tel"],
.wc-contact-page .wc-contact-form select,
.wc-contact-page .wc-contact-form textarea,
.wc-contact-page .wc-contact-privacy label,
.wc-contact-page .wc-contact-privacy .c-form_table__checkbox__text,
.wc-contact-page .wc-contact-confirm-table td,
.wc-contact-page .wc-contact-complete__lead {
  font-size: var(--top-16) !important;
}

/* フォーム */
#wc-contact-page .wc-contact-form input[type="text"],
#wc-contact-page .wc-contact-form input[type="email"],
#wc-contact-page .wc-contact-form input[type="tel"],
#wc-contact-page .wc-contact-form select,
#wc-contact-page .wc-contact-form textarea,
.wc-contact-page .wc-contact-form input[type="text"],
.wc-contact-page .wc-contact-form input[type="email"],
.wc-contact-page .wc-contact-form input[type="tel"],
.wc-contact-page .wc-contact-form select,
.wc-contact-page .wc-contact-form textarea {
  min-height: 48px !important;
  padding: 10px 14px !important;
  border: 1px solid #777 !important;
  background: #fff !important;
  color: #555 !important;
}

#wc-contact-page .wc-contact-form input:focus,
#wc-contact-page .wc-contact-form select:focus,
#wc-contact-page .wc-contact-form textarea:focus,
.wc-contact-page .wc-contact-form input:focus,
.wc-contact-page .wc-contact-form select:focus,
.wc-contact-page .wc-contact-form textarea:focus {
  border-color: #3694c9 !important;
}

/* 名前 */
#wc-contact-page .c-form_table__name,
.wc-contact-page .c-form_table__name {
  gap: 20px !important;
}

/* 電話番号：JSで生成する1枠入力 */
#wc-contact-page .wc-contact-tel-single,
.wc-contact-page .wc-contact-tel-single {
  display: block !important;
  width: 100% !important;
}

#wc-contact-page .wc-contact-tel-single__input,
.wc-contact-page .wc-contact-tel-single__input {
  width: 100% !important;
  max-width: none !important;
}

/* 元の3分割電話番号は値保持用として非表示 */
#wc-contact-page .c-form_table__tel.is-wc-single-tel > input,
#wc-contact-page .c-form_table__tel.is-wc-single-tel > span,
.wc-contact-page .c-form_table__tel.is-wc-single-tel > input,
.wc-contact-page .c-form_table__tel.is-wc-single-tel > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 確認画面 */
#wc-contact-page .wc-contact-confirm-table,
.wc-contact-page .wc-contact-confirm-table {
  width: 100% !important;
}

/* 完了画面 */
#wc-contact-page .wc-contact-complete .wc-contact-container,
.wc-contact-page.wc-contact-complete .wc-contact-container,
.wc-contact-page .wc-contact-complete .wc-contact-container {
  width: 90% !important;
  max-width: 1000px !important;
}

/* TABLET */
@media (min-width: 771px) and (max-width: 1170px) {
  #wc-contact-page .wc-contact-breadcrumb,
  .wc-contact-page .wc-contact-breadcrumb {
    padding-top: 96px !important;
  }

  #wc-contact-page .wc-contact-container,
  .wc-contact-page .wc-contact-container {
    margin-top: 56px !important;
    margin-bottom: 120px !important;
  }
}

/* SP */
@media (max-width: 770px) {
  #wc-contact-page .wc-contact-breadcrumb,
  #wc-contact-page .wc-contact-container,
  .wc-contact-page .wc-contact-breadcrumb,
  .wc-contact-page .wc-contact-container {
    width: 90% !important;
    max-width: none !important;
  }

  #wc-contact-page .wc-contact-breadcrumb,
  .wc-contact-page .wc-contact-breadcrumb {
    padding-top: 84px !important;
    font-size: var(--top-small) !important;
  }

  #wc-contact-page .wc-contact-container,
  .wc-contact-page .wc-contact-container {
    margin-top: 40px !important;
    margin-bottom: 100px !important;
  }

  #wc-contact-page .wc-contact-header,
  .wc-contact-page .wc-contact-header {
    display: block !important;
    margin-bottom: 36px !important;
  }

  #wc-contact-page .wc-contact-required-note,
  .wc-contact-page .wc-contact-required-note {
    margin-top: 8px !important;
    font-size: var(--top-small) !important;
  }

  #wc-contact-page .wc-contact-form table,
  .wc-contact-page .wc-contact-form table {
    display: block !important;
    border-spacing: 0 !important;
  }

  #wc-contact-page .wc-contact-form tbody,
  #wc-contact-page .wc-contact-form tr,
  #wc-contact-page .wc-contact-form th,
  #wc-contact-page .wc-contact-form td,
  .wc-contact-page .wc-contact-form tbody,
  .wc-contact-page .wc-contact-form tr,
  .wc-contact-page .wc-contact-form th,
  .wc-contact-page .wc-contact-form td {
    display: block !important;
    width: 100% !important;
  }

  #wc-contact-page .wc-contact-form tr,
  .wc-contact-page .wc-contact-form tr {
    margin-bottom: 22px !important;
  }

  #wc-contact-page .wc-contact-form th,
  .wc-contact-page .wc-contact-form th {
    padding: 0 0 8px !important;
    font-size: var(--top-16) !important;
  }

  #wc-contact-page .wc-contact-form input[type="text"],
  #wc-contact-page .wc-contact-form input[type="email"],
  #wc-contact-page .wc-contact-form input[type="tel"],
  #wc-contact-page .wc-contact-form select,
  #wc-contact-page .wc-contact-form textarea,
  .wc-contact-page .wc-contact-form input[type="text"],
  .wc-contact-page .wc-contact-form input[type="email"],
  .wc-contact-page .wc-contact-form input[type="tel"],
  .wc-contact-page .wc-contact-form select,
  .wc-contact-page .wc-contact-form textarea {
    min-height: 44px !important;
    padding: 9px 11px !important;
    font-size: var(--top-16) !important;
  }

  #wc-contact-page .wc-contact-form textarea,
  .wc-contact-page .wc-contact-form textarea {
    min-height: 180px !important;
  }

  #wc-contact-page .c-form_table__name,
  .wc-contact-page .c-form_table__name {
    gap: 10px !important;
  }

  #wc-contact-page .wc-contact-page .common-btn.wc-contact-submit-btn,
  .wc-contact-page .common-btn.wc-contact-submit-btn {
    width: min(290px, 100%) !important;
  }

  #wc-contact-page .wc-contact-complete__contact,
  .wc-contact-page .wc-contact-complete__contact {
    flex-direction: column !important;
  }
}