/* =========================
   お問い合わせページ
========================= */
.contact-hero {
  padding: 118px 20px 66px;
  background:
    linear-gradient(135deg, rgba(222, 246, 251, 0.82), rgba(226, 253, 242, 0.78));
}

.contact-hero .section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* 改行調整 */
.pc-br {
  display: inline;
}

.sp-br {
  display: none;
}

/* =========================
   フォーム全体
========================= */
.contact-page {
  background: #ffffff;
  padding: 82px 28px 96px;
}

.contact-page-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}

/* =========================
   お問い合わせ方法
========================= */
.contact-method-area {
  margin-bottom: 52px;
  padding-bottom: 44px;
  text-align: center;
  border-bottom: 1.5px solid rgba(92, 188, 178, 0.30);
}

.contact-method-title {
  margin-bottom: 16px;
  color: #238b78;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.contact-method-text {
  color: #607b78;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.9;
}

.privacy-notice {
  margin-top: 24px;
  color: #607b78;
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1.9;
}

.privacy-notice a {
  color: #1a73e8;
  font-weight: 700;
  text-decoration: underline;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.contact-method-buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.contact-method-buttons .button-primary {
  min-width: 220px;
}

/* =========================
   フォーム
========================= */
.contact-form {
  margin-top: 0;
}

.hidden-field {
  display: none;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #23443f;
  font-size: 14px;
  font-weight: 800;
}

.form-group label span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  color: #ffffff;
  background: #55cbb0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.form-help {
  margin: -2px 0 8px;
  color: #607b78;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  color: #23443f;
  background: #ffffff;
  border: 1.5px solid rgba(92, 188, 178, 0.38);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  outline: none;
  box-shadow: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 170px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #55cbb0;
  box-shadow: 0 0 0 4px rgba(85, 203, 176, 0.12);
}

/* =========================
   写真添付
========================= */
.photo-upload {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.upload-description {
  margin-bottom: 14px;
  color: #607b78;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.file-label {
  margin: 14px 0 6px;
  padding: 0;
  display: block !important;
  color: #238b78 !important;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: default;
  box-shadow: none;
}

.file-label:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.photo-upload input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  color: #23443f;
  background: #ffffff;
  border: 1.5px solid rgba(92, 188, 178, 0.38);
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
}

/* =========================
   送信ボタン・注意書き
========================= */
.submit-button {
  width: 100%;
  margin-top: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
}

.submit-button:hover {
  transform: none;
}

.form-note {
  margin-top: 18px;
  color: #607b78;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

/* =========================
   動き・浮き上がり無効
========================= */
.contact-page-card,
.contact-method-area,
.photo-upload,
.file-label,
.submit-button {
  box-shadow: none !important;
  transform: none !important;
}

.contact-page-card:hover,
.contact-method-area:hover,
.photo-upload:hover,
.file-label:hover,
.submit-button:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* =========================
   スマホ表示
========================= */
@media (max-width: 700px) {
  .contact-hero {
    padding: 54px 20px 42px;
  }

  .contact-hero .section-heading {
    max-width: 340px;
    margin: 0 auto;
  }

  .contact-hero .section-heading .section-label {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.28em;
  }

  .contact-hero .section-heading h2 {
    margin-bottom: 0;
    font-size: 31px;
    line-height: 1.35;
  }

  .pc-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }

  .contact-page {
    padding: 52px 24px 76px;
  }

  .contact-page-card {
    max-width: 100%;
  }

  .contact-method-area {
    margin-bottom: 46px;
    padding-bottom: 40px;
  }

  .contact-method-title {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .contact-method-text {
    font-size: 13.5px;
    line-height: 1.85;
  }

  .privacy-notice {
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.9;
  }

  .contact-method-buttons {
    margin-top: 26px;
  }

  .contact-method-buttons .button-primary {
    width: 100%;
    max-width: 320px;
  }

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

  .form-group label {
    font-size: 14px;
  }

  .form-help {
    font-size: 12.5px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }

  .photo-upload input[type="file"] {
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .contact-hero {
    padding: 50px 18px 40px;
  }

  .contact-hero .section-heading h2 {
    font-size: 30px;
  }

  .contact-page {
    padding: 48px 22px 72px;
  }

  .contact-method-title {
    font-size: 15px;
  }

  .contact-method-text {
    font-size: 13px;
  }

  .privacy-notice {
    font-size: 11.8px;
  }
}