/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
  /* Colors - 温かみと親しみやすさのコーラルピンク×リーフグリーン */
  --color-primary: #e07a8a; /* メインカラー: コーラルピンク（親しみやすさ・愛情） */
  --color-primary-light: #f4a6b2; /* グラデーション用ライトピンク */
  --color-accent: #88b36e; /* アクセントカラー: リーフグリーン（成長・安心感） */
  --color-accent-hover: #729759;
  --color-text: #5c4c47; /* テキスト: 柔らかいウォームブラウン/グレー */
  --color-text-muted: #8c7b75;
  --color-bg-white: #ffffff;
  --color-bg-light: #fffaf9; /* ベース: 温かみのあるアイボリー/薄いピンク */
  --color-bg-dark: #2c2524; /* フッター等: プレミアム感のあるディープ・ウォームグレー */
  
  /* Typography */
  --font-base: 'Inter', 'Noto Sans JP', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 10px rgba(224, 122, 138, 0.05);
  --shadow-md: 0 10px 30px rgba(224, 122, 138, 0.1);
  --shadow-lg: 0 20px 40px rgba(224, 122, 138, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(224, 122, 138, 0.1);
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 120px 0;
}

.section-bg-light {
  background-color: var(--color-bg-light);
}

.section-bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-bg-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(15, 23, 42, 0.2);
  color: #fff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.3);
  color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.hamburger {
  display: none;
}

/* ==========================================================================
   Hero Section (Top Page)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92, 76, 71, 0.7) 0%, rgba(92, 76, 71, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #e2e8f0;
  font-weight: 400;
  line-height: 1.8;
  max-width: 600px;
}

/* ==========================================================================
   Page Hero (Sub Pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.page-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.8);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(92, 76, 71, 0.6), rgba(92, 76, 71, 0.2));
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Cards & UI Components
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

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

.card:hover::after {
  transform: scaleX(1);
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.02);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--color-bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 60px;
}

.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #94a3b8;
  max-width: 300px;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .page-hero h1 { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  
  /* ハンバーガーメニュー対応 */
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
