/*
Theme Name: Lovable Solar Theme
Theme URI: https://example.com
Author: Lovable
Author URI: https://example.com
Description: 太陽光発電システム専門企業向けのWordPressテーマ。モダンでレスポンシブなデザイン。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lovable-solar
Tags: solar, energy, business, responsive
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

:root {
  /* Backgrounds */
  --background: 0 0% 100%;
  --foreground: 220 15% 15%;

  /* Solar energy inspired color palette */
  --primary: 35 95% 50%;
  --primary-foreground: 0 0% 100%;
  --primary-light: 45 100% 65%;
  
  --secondary: 210 100% 25%;
  --secondary-foreground: 0 0% 100%;
  --secondary-light: 210 70% 35%;
  
  --accent: 140 65% 45%;
  --accent-foreground: 0 0% 100%;
  --accent-light: 140 45% 65%;

  /* UI Components */
  --card: 0 0% 100%;
  --card-foreground: 220 15% 15%;
  --card-shadow: 220 15% 15% / 0.1;

  --muted: 210 20% 96%;
  --muted-foreground: 220 15% 45%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 210 20% 90%;
  --input: 210 20% 94%;
  --ring: 35 95% 50%;

  --radius: 0.75rem;

  /* Custom design tokens */
  --gradient-solar: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-light)));
  --gradient-trust: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--secondary-light)));
  --gradient-eco: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-light)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--primary)) 50%, hsl(var(--secondary)) 100%);
  
  /* Shadows */
  --shadow-soft: 0 4px 20px -4px hsl(var(--card-shadow));
  --shadow-medium: 0 8px 30px -8px hsl(var(--card-shadow));
  --shadow-strong: 0 16px 40px -12px hsl(var(--card-shadow));
  --shadow-glow: 0 0 30px hsl(var(--primary) / 0.3);

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Colors */
.text-primary { color: hsl(var(--primary)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-accent { color: hsl(var(--accent)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-white { color: #ffffff; }

.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-background { background-color: hsl(var(--background)); }

/* Typography */
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-solar);
  color: white;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

/* Cards */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

/* Responsive */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
}

/* Import additional styles */
@import url('css/main.css');

