@charset "UTF-8";

/* お問い合わせフォーム用スタイル */

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form p {
  margin-bottom: 1.2rem;
}

.control {
  margin-bottom: 1.5rem;
}

.control label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: normal;
  color: #333;
}

.required {
  background-color: #f0f0f0;
  color: #666;
  font-size: 0.75em;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.control input[type="text"],
.control input[type="email"],
.control textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  font-family: "Helvetica Neue","Helvetica","YuGothic Medium","游ゴシック","YuGothic",
    "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #fafafa;
  box-sizing: border-box;
}

.control input[type="text"]:focus,
.control input[type="email"]:focus,
.control textarea:focus {
  outline: none;
  border-color: #0097a7;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.1);
}

.control textarea {
  min-height: 200px;
  resize: vertical;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
}

.form-submit {
  background-color: #0097a7;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

.form-submit:hover {
  background-color: #00838f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.form-submit.disabled-button,
.form-submit:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.error-box {
  background-color: #ffebee;
  border-left: 4px solid #e53935;
  padding: 10px 15px;
  margin-bottom: 1.5rem;
  border-radius: 0 4px 4px 0;
}

.error-box ul {
  margin: 0;
  padding-left: 20px;
}

/* フォーム下の注記 */
.privacy-note {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background-color: #f8f8f8;
  border-radius: 6px;
  border-left: 3px solid #e0e0e0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
}

.privacy-note ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
}

.privacy-note li {
  margin-bottom: 6px;
}

/* confirm.php */
.confirmation-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
}

.confirmation-table th,
.confirmation-table td {
  padding: 14px 16px;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
}

.confirmation-table th {
  background-color: #fafafa;
  width: 30%;
  text-align: left;
  font-weight: normal;
  color: #555;
}

.confirmation-table td {
  background-color: #fff;
}

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

.form-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.submit-button {
  background-color: #0097a7;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

.submit-button:hover {
  background-color: #00838f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.submit-button.disabled-button,
.submit-button:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.back-button {
  display: inline-block;
  background-color: #f5f5f5;
  color: #333;
  border: none;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
  text-align: center;
}

.back-button:hover {
  background-color: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* thanks.php */
.thanks-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
}

.thanks-message {
  background-color: #f8f8f8;
  border-left: 3px solid #e0e0e0;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  border-radius: 0 4px 4px 0;
  color: #333;
  line-height: 1.7;
}

.thanks-message p {
  margin-bottom: 0.8rem;
}

.home-button {
  display: inline-block;
  background-color: #0097a7;
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
  margin-top: 1rem;
  font-weight: bold;
}

.home-button:hover {
  background-color: #00838f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: white;
}

@media (max-width: 768px) {
  .form-buttons {
    flex-direction: column;
  }

  .submit-button,
  .back-button {
    width: 100%;
    text-align: center;
  }

  .confirmation-table th,
  .confirmation-table td {
    padding: 10px;
  }

  .confirmation-table th {
    width: 35%;
  }
}
