.contact main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  padding: 118px 0 150px;
  background: url('../img/purple-bg.jpg') center top / cover;
}

.contact .lower-page-title {
  display: flex;
  padding: 100px 0 70px;
  flex-direction: column;
  align-items: center;
}

.contact .lower-page-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact .lower-page-title-container img {
  width: 100px;
  height: 100px;
}

.contact .lower-page-subtitle {
  color: #9e6a41;
  text-align: center;
  font-family: "Baloo Tamma 2", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin: 0;
}

.contact .lower-page-heading {
  color: #6f380b;
  text-align: center;
  font-family: "Potta One", sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
}

.contact .lower-page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact .lower-page-inner {
  display: flex;
  width: 1040px;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.contact .white-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 60px 40px;
  border-radius: 30px;
  background: #fff;
}

.contact .white-container-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 800px;
  gap: 60px;
}

.contact .inner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 800px;
  gap: 30px;
}

.contact .description-title {
  color: #574b38;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 26px;
  font-weight: 500;
}

.contact .description-text {
  color: #5c4635;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  align-self: stretch;
}

/* ── フォーム（contact固有オーバーライド） ──────── */

/* contact固有: 行に左右padding追加 */
.contact .c-form-row {
  gap: 24px;
  padding: 20px;
}

.contact fieldset.c-form-row {
  padding: 20px;
}

/* contact固有: 枠線が太い、背景が白 */
.contact .c-form-input {
  border: 2px solid #9b7559;
  background: #fff;
  color: #2a2a2a;
  font-weight: 400;
  line-height: 1.5;
}

.contact .c-form-input:focus {
  border-color: #6f380b;
  box-shadow: 0 0 0 3px rgba(111, 56, 11, 0.18);
}

.contact .c-form-textarea {
  border: 2px solid #9b7559;
  background: #fff;
  color: #2a2a2a;
  font-weight: 400;
  line-height: 1.7;
  min-height: 140px;
}

.contact .c-form-textarea::placeholder {
  color: #6b5040;
  font-style: italic;
}

.contact .c-form-textarea:focus {
  border-color: #6f380b;
  box-shadow: 0 0 0 3px rgba(111, 56, 11, 0.18);
}

/* contact固有: ラジオの gap, flex-wrap なし */
.contact .c-form-radio-group {
  gap: 24px;
  padding-top: 10px;
}

/* contact固有: ラジオのborder */
.contact .c-form-radio-label input[type="radio"] {
  border: 2px solid #9b7559;
}

/* ── 確認ボタン ───────────────────────────── */

.contact .c-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 80px;
  background: #6f380b;
  border: 4px solid #fff;
  border-radius: 40px;
  box-shadow: 0 4px 4px rgba(111, 56, 11, 0.25);
  color: #fff;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact .c-form-btn:hover {
  opacity: 0.85;
}

.contact .c-form-btn:focus-visible {
  outline: 3px solid #4a3728;
  outline-offset: 4px;
}

/* =============================================
   Responsive：タブレット (max-width: 1040px)
   ============================================= */

@media (max-width: 1040px) {
  .contact .lower-page-inner {
    width: calc(100% - 48px);
  }

  .contact .white-container-area,
  .contact .inner-container {
    width: 100%;
  }
}

/* =============================================
   Responsive：SP (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {
  .contact main {
    padding: 70px 0 80px;
  }

  .contact .lower-page-title {
    padding: 48px 0 36px;
  }

  .contact .lower-page-title-container img {
    width: 70px;
    height: 70px;
  }

  .contact .lower-page-subtitle {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.6px;
  }

  .contact .lower-page-heading {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .contact .lower-page-inner {
    width: calc(100% - 32px);
    gap: 40px;
  }

  .contact .white-container {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .contact .white-container-area {
    width: 100%;
    gap: 36px;
  }

  .contact .inner-container {
    width: 100%;
    gap: 20px;
  }

  .contact .description-title {
    font-size: 20px;
  }

  .contact .description-text {
    font-size: 15px;
    line-height: 26px;
  }

  /* contact固有: SP時の行padding調整 */
  .contact .c-form-row {
    padding: 20px 0;
    gap: 10px;
  }

  .contact fieldset.c-form-row {
    padding: 20px 0;
  }

  /* contact固有: ラジオのレスポンシブ */
  .contact .c-form-radio-group {
    flex-wrap: wrap;
    gap: 16px;
  }

  .contact .c-form-btn {
    padding: 16px 48px;
    font-size: 18px;
  }
}
