/*
Theme Name: ヒラカタWebワークス
Theme URI: https://hirakataIT.com
Author: 関 貴大
Description: ヒラカタWebワークスの自社サイト用カスタムテーマ。シンプルでモダンなデザインを基調としています。
Version: 1.0
*/

/* ===== RESET & BASE ===== */
:root {
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --bg-light: #f8fafc;
  --primary: #0284c7; /* 信頼感のあるブルー */
  --primary-hover: #0369a1;
  --accent: #f59e0b; /* 親しみやすいオレンジ */
  --text-main: #1e293b; /* 読みやすい濃いグレー */
  --text-muted: #475569;
  --text-dark: #0f172a;
  --text-dark-muted: #334155;
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

/* ===== TYPOGRAPHY & BUTTONS ===== */
.text-accent { color: var(--primary); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover {
  background: #d97706; /* より深いオレンジ */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 20px 0; transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.header-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px;
  color: var(--text-main);
}
.logo-icon svg { width: 24px; height: 24px; color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--text-main); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 60px; overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(120px); opacity: 0.4;
}
.glow-1 { background: rgba(2, 132, 199, 0.15); top: -200px; left: -100px; }
.glow-2 { background: rgba(245, 158, 11, 0.1); bottom: -100px; right: -200px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.4;
}

.hero-content {
  position: relative; z-index: 1; text-align: center; max-width: 800px;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; margin-bottom: 60px;
}

.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  border-top: 1px solid var(--border); padding-top: 40px;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--text-main); }
.stat-text { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

/* ===== SECTION GLOBALS ===== */
.section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; }

/* ===== CONCEPT (FEATURES) ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 30px;
  transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card.highlighted {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-title { font-size: 1.3rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== PRICING ===== */
.bg-light { background: var(--bg-light); color: var(--text-dark); }
.bg-light .section-desc { color: var(--text-dark-muted); }

.pricing-container {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto;
}
.pricing-card {
  background: white; border-radius: var(--radius); padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05); position: relative;
  border: 1px solid #e2e8f0;
  display: flex; flex-direction: column;
}
.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 2;
}
.pricing-card.special {
  border: 2px solid #06c755; /* LINE Green */
  background: linear-gradient(to bottom, #ffffff, #f0fdf4);
}
.pricing-card.special .pricing-name { color: #06c755; font-weight: 800; }
.pricing-card.special .check { color: #06c755; }

.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 6px 16px;
  border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}
.pricing-header { text-align: center; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #e2e8f0; }
.pricing-name { font-size: 1.2rem; color: var(--text-dark-muted); margin-bottom: 10px; }
.pricing-price { color: var(--text-dark); margin-bottom: 10px; }
.currency { font-size: 1.2rem; font-weight: 600; vertical-align: top; }
.amount { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.tax { font-size: 0.8rem; color: var(--text-dark-muted); }
.pricing-desc { font-size: 0.85rem; color: var(--text-dark-muted); min-height: 3em; }
.discount-text { color: #ef4444; font-weight: 600; display: block; margin-top: 4px; }

.maintenance-info {
  margin-top: 20px;
  padding: 15px;
  background: #f0f9ff;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  font-size: 0.9rem;
  line-height: 1.4;
}
.maintenance-info strong { color: var(--primary); display: block; margin-bottom: 4px; font-size: 1.1rem; }
.maintenance-info span { color: var(--text-muted); }

.pricing-features { list-style: none; margin-top: auto; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px;
  color: var(--text-dark); font-size: 0.95rem;
}
.pricing-features li.highlight { color: var(--primary); }
.check { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ===== CTA ===== */
.cta-section { padding: 100px 24px; text-align: center; background: var(--bg-light); }
.cta-container {
  max-width: 600px; margin: 0 auto; background: var(--bg-card);
  padding: 50px; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-container h2 { font-size: 1.8rem; margin-bottom: 16px; color: var(--text-main); }
.cta-container p { color: var(--text-muted); margin-bottom: 30px; font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  background: #f8fafc; border: 1px solid #cbd5e1;
  color: var(--text-main); font-family: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary); background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

/* ===== WORKS ===== */
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.work-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s;
}
.work-card:hover { transform: translateY(-5px); }
.work-img { width: 100%; height: 200px; background: #e2e8f0; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-content { padding: 24px; }
.work-category { font-size: 0.8rem; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.work-title { font-size: 1.2rem; margin-bottom: 12px; }
.work-comment { color: var(--text-muted); font-size: 0.95rem; }

/* ===== CEO PROFILE ===== */
.profile-container {
  display: flex; gap: 50px; align-items: center; background: var(--bg-card);
  padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.profile-image { flex-shrink: 0; width: 250px; height: 250px; border-radius: 50%; overflow: hidden; border: 4px solid var(--primary); background: #e2e8f0; display: flex; align-items: center; justify-content: center; }
.profile-placeholder { text-align: center; color: var(--text-muted); font-weight: 600; }
.profile-content { flex: 1; }
.profile-name { font-size: 1.8rem; margin-bottom: 16px; color: var(--text-main); }
.profile-name span { font-size: 1.1rem; color: var(--text-muted); font-weight: 400; }
.profile-message { font-size: 1.05rem; color: var(--text-dark-muted); margin-bottom: 24px; line-height: 1.8; }
.profile-career h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--text-main); border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 4px; }
.profile-career ul { list-style: none; padding-left: 0; }
.profile-career li { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-dark-muted); }
@media (max-width: 768px) { .profile-container { flex-direction: column; text-align: center; padding: 30px; } }

/* ===== FOOTER ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-logo { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.footer-address { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-container { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
}
