/* ============================================================
   CONTACT.CSS — お問い合わせページ
   Pasir Putih HP
============================================================ */

/* ============================================
   CONTACT METHODS GRID
============================================ */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.contact-method-card {
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 6px;
  background: var(--white);
}

.contact-method-icon {
  color: var(--earth-light);
  margin-bottom: 18px;
}

.contact-method-title {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.contact-method-tel {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--deep);
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.contact-method-tel:hover {
  color: var(--earth);
}

.contact-method-email {
  display: block;
  font-size: 15px;
  color: var(--earth);
  letter-spacing: 0.02em;
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--sand-dark);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.contact-method-email:hover {
  color: var(--deep);
}

.contact-method-note {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.contact-method-note--mt {
  margin-top: 4px;
  margin-bottom: 0;
}

/* ============================================
   CONTACT HOURS TABLE
============================================ */
.contact-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.contact-hours-table th,
.contact-hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--sand-dark);
  text-align: left;
}

.contact-hours-table th {
  color: var(--text-light);
  font-weight: 400;
  width: 60px;
  letter-spacing: 0.04em;
}

.contact-hours-table td {
  color: var(--text);
  letter-spacing: 0.04em;
}

.contact-hours-table tr:last-child th,
.contact-hours-table tr:last-child td {
  border-bottom: none;
}

.contact-hours-closed th,
.contact-hours-closed td {
  color: var(--text-light);
  opacity: 0.7;
}

/* ============================================
   FORM NOTE
============================================ */
.contact-form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 2.0;
}

.contact-reserve-link {
  display: inline-block;
  color: var(--earth);
  text-decoration: none;
  margin-left: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--sand-dark);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.contact-reserve-link:hover {
  color: var(--deep);
}

/* ============================================
   CONTACT FORM
============================================ */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-required {
  color: var(--earth);
  margin-left: 4px;
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 12px 16px;
  background: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  border-radius: 4px;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--earth);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b7355' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--earth);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--earth-light);
  opacity: 0.92;
}

/* ============================================
   IFRAME EMBED
============================================ */
.contact-form-embed {
  width: 100%;
  margin: 0 auto;
}

.contact-iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  border-radius: 6px;
  background: var(--white);
  display: block;
}

/* ============================================
   CONFIRM SCREEN
============================================ */
.form-confirm-value {
  font-size: 14px;
  color: var(--text);
  line-height: 2;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.form-confirm-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.form-confirm-buttons form {
  flex: 1;
}

.form-confirm-buttons .form-submit {
  width: 100%;
}

.form-submit--back {
  background: var(--sand-dark);
  color: var(--text);
}

.form-submit--back:hover {
  background: var(--sand);
  opacity: 1;
}

/* ============================================
   ERROR MESSAGE
============================================ */
.form-error {
  max-width: 680px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: #fef2f2;
  border: 1px solid #e8c4c4;
  border-radius: 4px;
  text-align: center;
}

.form-error p {
  font-size: 13px;
  color: #b91c1c;
  margin: 0;
  line-height: 1.8;
}

/* ============================================
   CAPTCHA
============================================ */
.form-captcha-image {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-captcha-image img {
  border: 1px solid var(--border);
  border-radius: 4px;
}

.form-captcha-refresh {
  font-size: 12px;
  color: var(--earth);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--sand-dark);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.form-captcha-refresh:hover {
  color: var(--deep);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method-card {
    padding: 24px 20px;
  }

  .contact-method-tel {
    font-size: 24px;
  }
}
