/*
Theme Name: Lightning Child - Small-F
Description: 株式会社スモールエフ専用のLightning子テーマ
Template: lightning
Version: 1.0.0
Author: Small-F Co., Ltd.
*/

/* フォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root {
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-slate-950: #020617;
  --color-blue-200: #bfdbfe;
  --color-blue-400: #60a5fa;
  --color-blue-600: #2563eb;
  --color-blue-800: #1e40af;
  --color-blue-900: #1e3a8a;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-slate-600);
  line-height: 1.7;
}

.font-serif {
  font-family: 'Shippori Mincho', serif;
}

/* カスタムアニメーション */
@keyframes slow-zoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.animate-slow-zoom {
  animation: slow-zoom 30s linear infinite alternate;
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.writing-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.2em;
}

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  width: 100%;
  transition: all 0.5s ease-out;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

.site-header:not(.scrolled) {
  background: transparent;
  padding: 2rem 0;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--color-slate-900);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), transparent, rgba(15, 23, 42, 0.9));
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6rem;
}

/* サービスセクション */
.service-card {
  position: relative;
  background: white;
  padding: 2.5rem;
  box-shadow: 0 2px 40px -10px rgba(0, 0, 0, 0.05);
  transition: all 0.7s ease-out;
  border-top: 2px solid transparent;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-blue-900);
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  font-family: 'Shippori Mincho', serif;
  font-weight: bold;
  color: rgba(241, 245, 249, 0.8);
  pointer-events: none;
  transition: color 0.3s;
}

.service-card:hover .service-number {
  color: rgba(239, 246, 255, 0.5);
}

/* お問い合わせフォーム */
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 0;
  color: white;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: white;
}

.contact-form label {
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--color-slate-500);
  font-size: 0.875rem;
  transition: all 0.3s;
  pointer-events: none;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
  top: -1.25rem;
  font-size: 0.75rem;
  color: var(--color-blue-200);
}

/* フッター */
.site-footer {
  background: var(--color-slate-950);
  color: var(--color-slate-400);
  overflow: hidden;
  position: relative;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-content {
    padding-bottom: 4rem;
  }
  
  .service-card {
    min-height: auto;
  }
}

