/* ==============================
   お問い合わせページ
============================== */
.contact-section {
  background: linear-gradient(180deg, #f5f8fb 0%, #ffffff 100%);
  padding: 60px 0 80px;
}

.contact-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px 50px;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #003366;
  margin-bottom: 8px;
}

.required {
  color: #d00;
  font-size: 0.9rem;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafbff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #034ebe;
  box-shadow: 0 0 0 3px rgba(3, 78, 190, 0.15);
  outline: none;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  background: linear-gradient(90deg, #034ebe, #0e2a55);
  color: #fff;
  font-size: 1.1rem;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ==============================
   レスポンシブ対応
============================== */
@media (max-width: 767px) {
  .contact-form {
    padding: 24px 18px;
  }
  .btn-submit {
    width: 100%;
    font-size: 1rem;
    padding: 14px 0;
  }
}
/* ==============================
   ページタイトル（会社情報と統一）
============================== */
.page-header {
  text-align: center;
  background: linear-gradient(180deg, #e7edf5 0%, #f5f8fb 100%);
  padding: 80px 20px 60px;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #2d2d2d;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.page-header p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.05rem;
  color: #555;
  letter-spacing: 0.03em;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 700px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .page-header {
    padding: 60px 14px 50px;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .page-header h2 {
    font-size: 1.4rem !important;
  }
  .page-header p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
/* ==============================
   ページヘッダー（アイコン付き）
============================== */
.page-header {
  text-align: center;
  background: linear-gradient(180deg, #e7edf5 0%, #f5f8fb 100%);
  padding: 80px 20px 60px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.page-header .page-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.page-header .page-icon img {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
  animation: float 5s ease-in-out infinite;
}

/* 見出しとテキスト */
.page-header h2 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; /* company.css と同じフォント系 */
  font-weight: 600;
  font-size: 2rem;  /* company.css の h1 と同等 */
  letter-spacing: 0.02em;
  color: #4d4d4d;
  margin-bottom: 10px;
  text-align: center;
}

.page-header p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  letter-spacing: 0.03em;
  max-width: 720px;
  margin: 0 auto;
}

/* アイコンがゆっくり上下に動くアニメーション */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* スマホ対応 */
@media (max-width: 767px) {
  .page-header {
    padding: 60px 14px 50px;
  }
  .page-header .page-icon img {
    width: 72px;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .page-header p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
