/*
Theme Name: Fukurmaya Child Theme
Theme URI: https://fukurmaya-taxi.local
Description: 福車屋タクシー向けWordPress子テーマ。親テーマをカスタマイズしたホームページ専用テーマです。
Version: 1.0.0
Author: Fukurmaya Taxi
Author URI: https://fukurmaya-taxi.local
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fukurmaya-child
Domain Path: /languages
Template: fukurmaya-parent
Requires at least: 5.9
Requires PHP: 7.4
*/

/* ============================================
   福車屋タクシー — 子テーマ
   親テーマをカスタマイズしたホームページ専用テーマ
   ============================================ */

/* ============================================
   ホームページ固有スタイル
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.9) 0%, rgba(26, 17, 8, 0.9) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,140,66,0.05)" stroke-width="1"/></svg>');
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content .highlight {
  color: #ff8c42;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ============================================
   セクションスタイル
   ============================================ */

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 1rem;
}

.section-title .subtitle {
  color: #888;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: #ff8c42;
  margin: 1rem auto;
}

/* ============================================
   サービスカード
   ============================================ */

.service-card {
  background-color: #1a1108;
  border: 1px solid rgba(255, 140, 66, 0.2);
  padding: 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  border-color: rgba(255, 140, 66, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 140, 66, 0.1);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff8c42;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-tag {
  background-color: rgba(255, 140, 66, 0.1);
  color: #ff8c42;
  padding: 0.3rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 140, 66, 0.3);
}

/* ============================================
   料金表
   ============================================ */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.pricing-table th {
  background-color: rgba(255, 140, 66, 0.15);
  border: 1px solid rgba(255, 140, 66, 0.3);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

.pricing-table td {
  border: 1px solid rgba(255, 140, 66, 0.2);
  padding: 1rem;
}

.pricing-table tr:hover {
  background-color: rgba(255, 140, 66, 0.05);
}

/* ============================================
   ギャラリー
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================
   ブログ記事リスト
   ============================================ */

.blog-post {
  background-color: #1a1108;
  border: 1px solid rgba(255, 140, 66, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.blog-post:hover {
  border-color: rgba(255, 140, 66, 0.6);
  transform: translateY(-4px);
}

.blog-post-thumbnail {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-thumbnail img {
  transform: scale(1.05);
}

.blog-post-content {
  padding: 2rem;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-post h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-post p {
  color: #ccc;
  margin-bottom: 1rem;
}

/* ============================================
   お問い合わせフォーム
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 140, 66, 0.05);
  border: 1px solid rgba(255, 140, 66, 0.2);
  color: #f0f0f0;
  border-radius: 0.25rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff8c42;
  background-color: rgba(255, 140, 66, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.05);
}

.form-submit {
  text-align: center;
}

/* ============================================
   アクセス・マップ
   ============================================ */

.access-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.access-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.access-info-item {
  margin-bottom: 1.5rem;
}

.access-info-item strong {
  color: #ff8c42;
  display: block;
  margin-bottom: 0.3rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 140, 66, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 768px) {
  .access-section {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .service-card {
    padding: 1.5rem;
  }
}

/* ============================================
   アニメーション
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in {
  opacity: 1;
  transform: translateY(0);
}
