@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Inter:wght@300;400;600&family=Noto+Sans+JP:wght@300;400&family=Noto+Serif+JP:wght@400;600&display=swap');

:root {
  --color-bg: #0a0a0a;
  --color-bg-sub: #141414;
  --color-primary: #D4AF37; /* Gold */
  --color-primary-hover: #C5A017;
  --color-text-main: #E0E0E0;
  --color-text-sub: #9E9E9E;
  
  --font-heading-en: 'Cinzel', serif;
  --font-heading-ja: 'Noto Serif JP', serif;
  --font-body-en: 'Inter', sans-serif;
  --font-body-ja: 'Noto Sans JP', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body-ja);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-ja);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.en-heading {
  font-family: var(--font-heading-en);
  color: var(--color-primary);
  letter-spacing: 0.1em;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

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

.text-gold {
  color: var(--color-primary);
}

p {
  font-weight: 300;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  font-family: var(--font-heading-en);
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  font-family: var(--font-body-en);
  letter-spacing: 0.05em;
}

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

.mobile-menu-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-family: var(--font-body-ja);
  font-size: 1rem;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  color: #0a0a0a;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 80px; /* 固定ヘッダー分の余白 */
}

/* Hero Section */
.hero {
  height: 100vh;
  padding: 0;
  max-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05); /* slightly scaled for parallax base */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-heading-en);
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: var(--color-text-main);
}

/* Concept Section */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.concept-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.concept-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Services */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-sub);
  padding: 3rem 2rem;
  border-radius: 4px;
  text-align: center;
  border-top: 2px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: var(--color-bg-sub);
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 1px solid var(--color-primary);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 1.5rem;
  right: -2rem;
  background: var(--color-primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 3rem;
  transform: rotate(45deg);
  font-family: var(--font-body-en);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.price-time {
  color: var(--color-text-sub);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price-amount {
  font-family: var(--font-heading-en);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* CTA */
.cta-section {
  text-align: center;
  background: linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)), url('../assets/images/hero_bg.png') center/cover;
  padding: 8rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  max-width: 100%;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--color-bg);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile Floating CTA */
.mobile-floating-cta {
  display: none;
}

/* Splash Loader */
.splash-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.splash-loader svg {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.splash-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }
  
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
    background: transparent;
    border: none;
    padding: 0;
  }
  
  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 100;
  }
  
  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .concept-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  section {
    padding: 6rem 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .pricing-card.featured::before {
    right: -2.5rem;
    font-size: 0.6rem;
  }
  
  .mobile-floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(10,10,10,1) 50%, rgba(10,10,10,0) 100%);
    z-index: 99;
    text-align: center;
  }
  
  .mobile-floating-cta .btn {
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  }
  
  footer {
    padding-bottom: 6rem; /* Floating CTAの被り防止 */
  }
}
