/* ========================================
   Contact Page Section
======================================== */
.contact-page-section{
  padding:110px 0 120px;
  background:linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
}


/* ========================================
   Contact Intro
======================================== */
.contact-page-intro{
  margin-bottom:34px;
}

.contact-page-intro-card{
  background:#111;
  color:#fff;
  border-radius:28px;
  padding:34px 32px;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

.contact-page-intro-text{
  font-size:16px;
  line-height:2;
  color:rgba(255,255,255,.88);
}

.contact-page-tel{
  display:flex;
  align-items:end;
  gap:16px;
  margin-top:22px;
  flex-wrap:wrap;
}

.contact-page-tel-label{
  font-size:13px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#d6b48b;
}

.contact-page-tel-number{
  font-size:34px;
  font-weight:800;
  line-height:1.2;
  color:#fff;
}


/* ========================================
   Contact Form Wrap
======================================== */
.contact-page-form-wrap{
  width:100%;
}

.contact-page-form-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:42px 38px;
  box-shadow:0 16px 40px rgba(0,0,0,.06);
}


/* ========================================
   Contact Table
======================================== */
.contact-page-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.contact-page-table tr{
  border-bottom:1px solid #ece7df;
}

.contact-page-table th,
.contact-page-table td{
  padding:20px 0;
  vertical-align:top;
  text-align:left;
}

.contact-page-table th{
  width:260px;
  font-size:15px;
  font-weight:700;
  color:#111;
  padding-right:24px;
}

.contact-page-table td{
  color:#444;
}

.contact-page-table input[type="text"],
.contact-page-table input[type="email"],
.contact-page-table input[type="tel"],
.contact-page-table textarea{
  width:100%;
  border:1px solid #ddd;
  border-radius:14px;
  background:#fff;
  padding:14px 16px;
  font-size:15px;
  line-height:1.6;
  color:#111;
  transition:.25s ease;
  outline:none;
}

.contact-page-table textarea{
  min-height:180px;
  resize:vertical;
}

.contact-page-table input:focus,
.contact-page-table textarea:focus{
  border-color:#8b6b43;
  box-shadow:0 0 0 4px rgba(139,107,67,.10);
}

.contact-page-table input::placeholder,
.contact-page-table textarea::placeholder{
  color:#999;
}

.req{
  display:inline-block;
  margin-left:8px;
  font-size:12px;
  font-weight:700;
  color:#b00020;
}


/* ========================================
   Form Messages
======================================== */
.form-note{
  margin-top:8px;
  font-size:12px;
  color:#666;
}

.form-error{
  display:none;
  margin-top:8px;
  font-size:12px;
  color:#c00;
}

.form-error.is-show{
  display:block;
}


/* ========================================
   Approval
======================================== */
.contact-page-approval{
  margin-top:28px;
  padding:24px;
  border-radius:20px;
  background:#f8f6f2;
  border:1px solid #ece4d8;
}

.contact-page-approval-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  font-weight:700;
  color:#111;
  cursor:pointer;
}

.contact-page-approval-label input{
  margin-top:3px;
  accent-color:#8b6b43;
}

.contact-page-approval-text{
  margin-top:14px;
  font-size:14px;
  line-height:1.9;
  color:#555;
}

.contact-page-link{
  text-decoration:underline;
  text-underline-offset:3px;
}

.contact-page-approval-note{
  font-size:12px;
  color:#777;
}


/* ========================================
   Submit
======================================== */
.submit-wrap{
  text-align:center;
  margin-top:28px;
}

.submit-wrap input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:220px;
  min-height:56px;
  padding:14px 26px;
  border:none;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:15px;
  font-weight:700;
  letter-spacing:.08em;
  cursor:pointer;
  transition:.3s ease;
}

.submit-wrap input[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}

.submit-wrap input[disabled]{
  opacity:.5;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}


/* ========================================
   Contact Page Small Adjustments
======================================== */
#contact .sec-tit{
  margin-bottom:24px;
}

#contact .sec-tit .jp{
  line-height:1.4;
}


/* ========================================
   Contact Confirm / Thanks
======================================== */
.contact-status-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:28px;
  padding:42px 38px;
  box-shadow:0 16px 40px rgba(0,0,0,.06);
}

.contact-status-text{
  font-size:16px;
  line-height:2;
  color:#444;
}

.contact-status-text + .contact-status-text{
  margin-top:12px;
}

.contact-status-errors{
  margin:16px 0 0 20px;
}

.contact-status-errors li{
  color:#c00;
  font-size:14px;
  line-height:1.8;
}


/* ========================================
   Confirm Table
======================================== */
.contact-confirm-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  margin-top:24px;
}

.contact-confirm-table tr{
  border-bottom:1px solid #ece7df;
}

.contact-confirm-table th,
.contact-confirm-table td{
  padding:18px 0;
  text-align:left;
  vertical-align:top;
  font-size:15px;
  line-height:1.9;
}

.contact-confirm-table th{
  width:240px;
  color:#111;
  font-weight:700;
  padding-right:24px;
}

.contact-confirm-table td{
  color:#444;
}


/* ========================================
   Confirm Buttons
======================================== */
.contact-confirm-actions{
  text-align:center;
  margin-top:28px;
}

.contact-confirm-actions .c-btn,
.contact-confirm-actions button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:200px;
  min-height:54px;
  padding:14px 24px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-weight:700;
  border:none;
  cursor:pointer;
  margin:6px;
  transition:.3s ease;
}

.contact-confirm-actions .c-btn:hover,
.contact-confirm-actions button:hover{
  transform:translateY(-2px);
}

.contact-confirm-actions .is-sub{
  background:#fff;
  color:#111;
  border:1px solid #ddd;
}


/* ========================================
   Responsive
======================================== */
@media (max-width:768px){

  .contact-page-section{
    padding:82px 0;
  }

  .contact-page-intro{
    margin-bottom:24px;
  }

  .contact-page-intro-card{
    padding:26px 20px;
    border-radius:20px;
  }

  .contact-page-intro-text{
    font-size:15px;
    line-height:1.9;
  }

  .contact-page-tel-number{
    font-size:28px;
  }

  .contact-page-form-card,
  .contact-status-card{
    padding:28px 20px;
    border-radius:20px;
  }

  .contact-page-table,
  .contact-page-table tbody,
  .contact-page-table tr,
  .contact-page-table th,
  .contact-page-table td,
  .contact-confirm-table,
  .contact-confirm-table tbody,
  .contact-confirm-table tr,
  .contact-confirm-table th,
  .contact-confirm-table td{
    display:block;
    width:100%;
  }

  .contact-page-table tr,
  .contact-confirm-table tr{
    padding:0;
  }

  .contact-page-table th{
    padding:18px 0 8px;
  }

  .contact-page-table td{
    padding:0 0 18px;
  }

  .contact-confirm-table th{
    padding:16px 0 6px;
  }

  .contact-confirm-table td{
    padding:0 0 16px;
  }

  .contact-page-table input[type="text"],
  .contact-page-table input[type="email"],
  .contact-page-table input[type="tel"],
  .contact-page-table textarea{
    font-size:14px;
    padding:13px 14px;
    border-radius:12px;
  }

  .contact-page-table textarea{
    min-height:150px;
  }

  .contact-page-approval{
    margin-top:22px;
    padding:18px 16px;
    border-radius:16px;
  }

  .contact-page-approval-label{
    font-size:14px;
  }

  .contact-page-approval-text{
    font-size:13px;
    line-height:1.8;
  }

  .submit-wrap{
    margin-top:24px;
  }

  .submit-wrap input[type="submit"],
  .contact-confirm-actions .c-btn,
  .contact-confirm-actions button{
    width:100%;
    min-width:0;
    min-height:52px;
    font-size:14px;
  }
}
