@charset "utf-8";
/* =========================
   Contact
   ========================= */

.c1 {
  padding: 80px 0 120px;
	font-family: "Helvetica Neue", Helvetica, Arial,
             "Hiragino Sans", "Hiragino Kaku Gothic ProN",
             "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

/* リード文 */
.contact-lead {
  max-width: 960px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

/* フォーム全体 */
.contact-form {
  max-width: 960px;
  margin: 0 auto;
}

/* 擬似テーブル */
.contact-table {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.contact-row {
  display: flex;
  border-top: 1px solid #ddd;
}

.contact-row:first-child {
  border-top: none;
}

.contact-label {
  flex: 0 0 220px;
  background: #f7f7f7;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  box-sizing: border-box;
}

.contact-label-text {
  line-height: 1.6;
}

.contact-field {
  flex: 1;
  padding: 16px 20px;
  box-sizing: border-box;
}

/* テキスト系共通 */
.contact-input,
.contact-textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.6;
  box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #666;
}

/* テキストエリア行 */
.contact-row--textarea .contact-field {
  padding-top: 16px;
  padding-bottom: 20px;
}

/* 必須・任意バッジ */
.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.contact-badge--required {
  background: #c0392b;
  color: #fff;
}

.contact-badge--optional {
  background: #e0e0e0;
  color: #555;
}

/* ラジオボタン */
.contact-radio {
  display: inline-flex;
  align-items: center;
  margin-right: 24px;
  font-size: 15px;
}

.contact-radio input[type="radio"] {
  margin-right: 6px;
}

/* 送信ボタン */
.contact-submit {
  margin-top: 32px;
  text-align: center;
}

.contact-button {
  display: inline-block;
  min-width: 240px;
  padding: 14px 40px;
  border-radius: 999px;
  border: none;
  background: #333;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.contact-button:hover {
  opacity: 0.85;
}

.contact-button:active {
  transform: translateY(1px);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {
  .c1 {
    padding: 56px 0 80px;
  }

  .contact-row {
    flex-direction: column;
  }

  .contact-label {
    flex: none;
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
  }

  .contact-field {
    padding: 12px 14px 16px;
  }

  .contact-radio {
    display: block;
    margin-right: 0;
    margin-bottom: 6px;
  }

  .contact-button {
    width: 100%;
    max-width: 320px;
  }
}

/* セカンダリボタン（戻るなど） */
.contact-button--secondary {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  margin-right: 12px;
}
.contact-button--secondary:hover {
  background: #f5f5f5;
}
