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

/* ページヒーロー */
.contact-hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fff9e6 60%, #f0fbf4 100%);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '🍉';
  position: absolute;
  font-size: 18rem;
  opacity: 0.04;
  top: -4rem; right: -3rem;
  pointer-events: none;
}

.contact-hero-inner { position: relative; z-index: 1; }

.contact-hero-sub {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 20px;
  padding: 4px 18px;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.contact-hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 2;
}

/* メインレイアウト */
.contact-main {
  background: var(--cream);
  padding: 80px 0 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

/* ============================================
   フォーム
   ============================================ */
.contact-form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.contact-form-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-form-note {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* フォームグループ */
.form-group { margin-bottom: 28px; }

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-required {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  padding: 2px 7px;
}

.form-optional {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 4px;
  padding: 2px 7px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 2px solid #e8e0d8;
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red-light);
  box-shadow: 0 0 0 3px rgba(224,90,90,0.12);
  background: var(--white);
}

.form-input--error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(224,90,90,0.15) !important;
}

.form-textarea { resize: vertical; min-height: 140px; line-height: 1.8; }

/* セレクトボックス */
.form-select-wrap {
  position: relative;
}
.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  font-size: 1rem;
}
.form-select { padding-right: 40px; cursor: pointer; }

/* エラーメッセージ */
.form-error {
  display: none;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 6px;
  padding-left: 4px;
}

/* チェックボックス */
.form-privacy { margin-top: 8px; }

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.form-checkbox-label input[type="checkbox"] {
  display: none;
}
.form-checkbox-custom {
  width: 22px; height: 22px;
  border: 2px solid #e8e0d8;
  border-radius: 6px;
  background: var(--cream);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.form-checkbox-label input[type="checkbox"]:checked + .form-checkbox-custom {
  background: var(--red);
  border-color: var(--red);
}
.form-checkbox-label input[type="checkbox"]:checked + .form-checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 送信ボタン */
.form-submit { margin-top: 36px; }
.btn-full { width: 100%; text-align: center; }

/* 送信完了メッセージ */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success-icon { font-size: 3.5rem; margin-bottom: 20px; }
.form-success h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.form-success p { font-size: 0.95rem; color: var(--text-mid); line-height: 2; }

/* ============================================
   右サイドバー：インフォ
   ============================================ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.contact-info-icon { font-size: 1.8rem; margin-bottom: 10px; }

.contact-info-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.contact-info-btn {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red);
  border: 1.5px solid var(--red-light);
  border-radius: 20px;
  padding: 7px 16px;
  transition: all 0.2s;
}
.contact-info-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ナビ：現在ページ */
.nav-current {
  color: var(--red) !important;
  font-weight: 700 !important;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-info-card {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 560px) {
  .contact-form-wrap {
    padding: 32px 24px;
  }
  .contact-info-card {
    flex: 1 1 100%;
  }
  .contact-hero { padding: 120px 24px 80px; }
}
