/*
Theme Name: Sugitaku Single Page Theme
Author: [あなたの名前または事業名]
Description: シングルページサイト用の最終版テーマ。
Version: 4.0
*/

/* --- 基本設定 --- */
:root {
  --font-base: 'Noto Sans JP', sans-serif;
  --color-text: #333;
  --color-primary: #0d6efd;
  --color-background: #fff;
  --color-light-gray: #f8f9fa;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); margin: 0; color: var(--color-text); background-color: var(--color-background); }

/* --- ヘッダー --- */
.site-header { position: fixed; width: 100%; top: 0; left: 0; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 70px; }
.site-logo a { font-size: 1.8rem; font-weight: 700; text-decoration: none; color: var(--color-text); }
.site-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 25px; }
.site-nav a { font-size: 1rem; font-weight: 700; text-decoration: none; color: var(--color-text); transition: color 0.2s; }
.site-nav a:hover { color: var(--color-primary); }

/* --- トップのヒーローセクション --- */
.hero-section {
  height: 60vh;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  margin-top: 70px; /* 固定ヘッダーの高さ分 */
  /* ↓↓↓ 背景画像を指定します。ご自身の画像URLに書き換えてください。*/
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=3600');
  background-size: cover;
  background-position: center;
}
.hero-content h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-content p { font-size: 1.2rem; }

/* --- 各コンテンツセクション --- */
.content-section { padding: 80px 20px; }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 60px; }
.section-subtitle { text-align: center; margin-top: -40px; margin-bottom: 40px; font-size: 1.1rem; }

/* 事業内容セクション */
.services-container { display: flex; max-width: 1200px; margin: 0 auto; gap: 40px; }
.service-item { flex: 1; text-align: left; }
.service-item h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-primary); }

/* お問い合わせセクション */
.contact-section { background-color: var(--color-light-gray); }
.form-wrapper { max-width: 700px; margin: 0 auto; }

/* --- フォームとボタン（WPForms用） --- */
.form-wrapper .wpforms-field-label { font-weight: 700 !important; }
.form-wrapper input[type="text"], .form-wrapper input[type="email"], .form-wrapper textarea { background-color: var(--color-background) !important; border: 1px solid #ccc !important; border-radius: 4px !important; }
.form-wrapper .wpforms-submit { width: 100%; background-color: var(--color-primary) !important; border: none !important; border-radius: 4px !important; font-size: 1.1rem !important; padding: 15px !important; transition: background-color 0.2s !important; }
.form-wrapper .wpforms-submit:hover { background-color: #0b5ed7 !important; }

/* --- フッター --- */
.site-footer { text-align: center; padding: 40px 20px; background-color: #343a40; color: white; }
.site-footer p { margin: 0; }

/* --- レスポンシブ対応（スマホ表示） --- */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 15px; }
  .site-nav { margin-top: 10px; }
  .hero-section { margin-top: 120px; height: 50vh; }
  .hero-content h2 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .services-container { flex-direction: column; }
}