/* お問い合わせページ専用スタイル（既存デザインシステムに準拠） */

body { background: var(--white, #fff); color: var(--text, #1a1a1a); font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

.contact-hero { 
  padding: 100px 0 40px; /* 他ページとの視覚的整合（100px） */
  background: var(--white, #fff); /* 余計なグラデを排し、ラインの見えを統一 */
  border-bottom: 1px solid var(--border, #e8e8e8); 
}
.page-title { 
  font-size: clamp(28px, 3vw, 36px); font-weight: 300; letter-spacing: 0.02em; margin: 0 0 8px; 
  position: relative; display: inline-block; padding-bottom: 8px;
}
.page-title .icon-mail { width: 28px; height: 28px; display:inline-block; vertical-align: -6px; margin-right: 8px; background-color: var(--primary, #1a4d3a); -webkit-mask: url('../SVG/icons/envelope.svg') no-repeat center / contain; mask: url('../SVG/icons/envelope.svg') no-repeat center / contain; }
.page-title::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary, #1a4d3a), var(--primary-accent, #34855c));
  border-radius: 2px; opacity: .85;
}
.page-subtitle { color: var(--text-light, #666); font-size: var(--font-size-lg, 16px); }

.contact-form-section { padding: 40px 0 100px; }
.contact-form { 
  position: relative; background: var(--white, #fff); border: 1px solid var(--border, #e8e8e8); 
  border-radius: 16px; padding: 24px; box-shadow: 0 20px 40px var(--shadow, rgba(0,0,0,0.06));
}
.contact-form::before{
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary, #1a4d3a), var(--primary-accent, #34855c)); border-top-left-radius: 16px; border-top-right-radius: 16px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-row label { font-weight: 500; }
.form-row .req { color: var(--primary, #1a4d3a); font-size: 12px; margin-left: 6px; }
.form-row .hint { color: var(--text-light, #666); font-size: 12px; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    border: 1px solid var(--border, #e8e8e8);
    border-radius: 10px; padding: 12px 14px; font-size: 15px; background: #fff; color: var(--text, #1a1a1a);
    transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--primary, #1a4d3a) 50%, #fff);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary, #1a4d3a) 12%, transparent);
}

.address { border: 1px dashed var(--border, #e8e8e8); border-radius: 12px; padding: 12px; margin-top: 8px; }
.address legend { font-size: 14px; color: var(--text-light, #666); padding: 0 6px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.agree label { display: flex; align-items: center; gap: 8px; font-size: 14px; }

.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; background: var(--primary, #1a4d3a); color: #fff; border-radius: 28px; text-decoration: none; border: none; cursor: pointer; font-weight: 500; box-shadow: 0 8px 20px rgba(26,77,58,0.18); transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(26,77,58,0.22); background: var(--primary-light, #2d6b4f); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 8px 20px rgba(26,77,58,0.18); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.form-alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.form-alert.error { background: #fff2f2; color: #b30000; border: 1px solid #ffd6d6; }
.form-alert.success { background: #f2fff6; color: #135c33; border: 1px solid #c8f0d8; }

.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

.thanks-card { background: var(--white, #fff); border: 1px solid var(--border, #e8e8e8); border-radius: 16px; padding: 24px; box-shadow: 0 10px 20px var(--shadow, rgba(0,0,0,0.05)); }

/* 小さな装飾アクセント */
.form-row label { position: relative; padding-left: 10px; }
.form-row label::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 4px; height: 12px; border-radius: 2px; background: var(--primary, #1a4d3a);
}

@media (max-width: 768px) {
  .contact-hero { padding-top: 100px; }
  .grid { grid-template-columns: 1fr; }
  .contact-form { padding: 16px; }
}
