@charset "utf-8";
/* ============================================================
   contact.css — お問い合わせ関連スタイル
   （確認画面・完了画面・エラー画面で共通使用）
   ============================================================ */

.confirm-table {
  width: 100%;
  max-width: 800px;
  margin:2em auto;
  border-collapse: collapse;
  text-align: left;
}
.confirm-table tr {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  border-bottom: 1px solid #cccccc;
  padding: 1.2rem 10px;
  gap: 1.5rem;
  background:#fff!important;
}
.confirm-table th {
  letter-spacing: 0.1em;
  color: #333333;
  font-weight: 600;
  vertical-align: middle;
  font-size:13px;
  text-align: left;
  /* padding-top: 0.3rem; */
}
.confirm-table td {
  color: #333333;
  font-size:13px;
  line-height: 1.75;
  word-break: break-all;
}

.confirm-btn-wrap {
  margin-top: 2.5em;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cf-back-btn {
  display: inline-block;
  background: transparent;
  color: #333333;
  font-family: "Lucida Grande", "segoe UI", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, Verdana, Arial, sans-serif;
  font-size: 100%;
  letter-spacing: 0.1em;
  padding: 18px 2.5rem;
  border: 1px solid #333333;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.cf-back-btn:hover {
  background: #333333;
  color: #fff;
}

.contact-error-box {
  padding: 1rem 1.4rem;
  margin: 0 auto 2rem;
  max-width: 720px;
  width: 100%;
  background: rgba(204,0,0,0.06);
  text-align: left;
  font-size: 90%;
  line-height: 1.85;
}

.contact-error-box strong {
color: #cc0000;
font-size:14px;
}
.contact-error-box p {
  line-height:2;
  font-size:13px;
}
p.error_messe {
  margin: 0.3rem 0;
  color: #cc0000;
}

@media screen and (max-width: 640px) {
  .confirm-table tr {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1rem 0;
  }
  .confirm-table th {
  text-align:center;
}
.confirm-table td {
text-align:center;
}
  .confirm-btn-wrap {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .button_do,
  .cf-back-btn {
    width: 100%;
    padding: 1rem;
    text-align: center;
  }
}
