/* ============================================================
   contact.css — お問い合わせページ専用スタイル
   ============================================================ */

.contact-page #header {
  background: rgba(13, 31, 53, 0.99) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ---------- HERO ---------- */
.ct-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ct-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,53,0.85) 0%, rgba(26,95,168,0.5) 100%);
  z-index: 1;
}
.ct-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.ct-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.ct-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.ct-hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ---------- SECTION ---------- */
.ct-section {
  padding: 70px 0 80px;
}

/* ---------- TEL BOX ---------- */
.ct-tel-box {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--primary), #1e78c8);
  border-radius: 16px;
  padding: 36px 44px;
  color: var(--white);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.ct-tel-left { flex: 1; min-width: 240px; }
.ct-tel-label {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-tel-num {
  display: block;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.ct-tel-num:hover { opacity: 0.85; }
.ct-tel-sub {
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 6px;
}
.ct-tel-note {
  font-size: 0.78rem;
  opacity: 0.7;
}
.ct-tel-right { flex: 1; min-width: 200px; }
.ct-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}
.ct-points li i { color: #7ec8f7; font-size: 1rem; }

/* ---------- DIVIDER ---------- */
.ct-divider {
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}
.ct-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray2);
}
.ct-divider span {
  position: relative;
  background: var(--white);
  padding: 0 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

/* ---------- FORM ---------- */
.ct-form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 44px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  border-top: 4px solid var(--primary);
}
.ct-form-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.ct-form-title i { color: var(--primary); margin-right: 8px; }
.ct-form-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,168,0.15);
}
.ct-submit {
  margin-top: 8px;
  font-size: 1rem;
  padding: 16px;
  border-radius: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .ct-tel-box { padding: 28px 24px; gap: 24px; }
  .ct-form-box { padding: 28px 20px; }
  .ct-form-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .ct-hero { height: 240px; }
  .ct-tel-num { font-size: 1.8rem; }
}
