/* =======================================
   お問い合わせページ専用スタイル
   index.php, concept1.html, service.htmlと統一
   ======================================= */

/* カラー変数 */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --success-color: #4CAF50;
  --text-dark: #2c3e50;
  --text-gray: #555;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

/* ヒーローセクション */
.contact-hero {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
  color: white;
  margin-bottom: 60px;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.contact-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.contact-hero-subtitle {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.6;
}

/* メインコンテンツ */
.contact-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* 問い合わせ方法選択 */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.contact-method-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.contact-method-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.contact-method-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.contact-method-description {
  font-size: 1.4rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact-method-link {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact-method-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* フォームセクション */
.contact-form-section {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-form-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.contact-form-subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  line-height: 1.8;
}

/* フォームスタイル */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.form-label-required {
  display: inline-block;
  padding: 2px 8px;
  background: #ff6b6b;
  color: white;
  font-size: 1.1rem;
  border-radius: 4px;
  font-weight: 700;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--light-bg);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}

.form-help-text {
  font-size: 1.3rem;
  color: #999;
  margin-top: 5px;
}

/* 送信ボタン */
.form-submit-wrapper {
  text-align: center;
  margin-top: 20px;
}

.form-submit-button {
  padding: 18px 60px;
  font-size: 1.7rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.form-submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.form-submit-button:active {
  transform: translateY(0);
}

/* よくある質問 */
.contact-faq {
  margin-top: 80px;
  padding: 50px;
  background: var(--light-bg);
  border-radius: 20px;
}

.contact-faq-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 1.4rem;
  color: var(--text-gray);
  line-height: 1.8;
  padding-left: 40px;
}

/* 注意事項 */
.contact-notice {
  margin-top: 40px;
  padding: 25px 30px;
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  border-radius: 10px;
}

.contact-notice-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #856404;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-notice-title::before {
  content: "⚠️";
  font-size: 2rem;
}

.contact-notice-text {
  font-size: 1.4rem;
  color: #856404;
  line-height: 1.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 20px;
  }
  
  .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.4rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .contact-form-section {
    padding: 30px 20px;
  }
  
  .contact-form-title {
    font-size: 2.2rem;
  }
  
  .contact-faq {
    padding: 30px 20px;
  }
  
  .form-submit-button {
    width: 100%;
    padding: 16px 40px;
  }
}
