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

:root {
  /* Primary Orange Palette */
  --primary-orange: #ff7043;
  --warm-orange: #ff8a65;
  --light-orange: #ffab91;
  --deep-orange: #f4511e;
  --accent-yellow: #ffc107;

  /* Background Colors */
  --warm-bg: #fff3e0;
  --warm-white: #fafafa;
  --warm-cream: #fff8f0;

  /* Text Colors */
  --text-primary: #2e2e2e;
  --text-secondary: #5d5d5d;
  --text-light: #8a8a8a;

  /* Utility Colors */
  --card-bg: rgba(255, 255, 255, 0.9);
  --soft-shadow: rgba(244, 81, 30, 0.15);

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #ff7043 0%, #ff8a65 50%, #ffab91 100%);
  --gradient-sunset: linear-gradient(135deg, #ff7043 0%, #ffc107 100%);
  --gradient-soft: linear-gradient(135deg, #ffab91 0%, #fff3e0 100%);
}

/* Typography */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
  background: var(--warm-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.large-text {
  font-size: 1.2rem;
}

.small-text {
  font-size: 0.9rem;
}

.center-text {
  text-align: center;
}

/* Layout System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Spacing */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-sunset);
  border-radius: 2px;
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(255, 112, 67, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255, 138, 101, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #fff3e0 0%, #fff8f0 100%);
  animation: warmGlow 25s ease-in-out infinite alternate;
}

@keyframes warmGlow {
  0% {
    transform: translateX(-15px) translateY(-15px) scale(1);
  }
  100% {
    transform: translateX(15px) translateY(15px) scale(1.02);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-sunset);
  z-index: 1001;
  transition: width 0.1s ease;
  pointer-events: none; /* これでクリックイベントが通るようになる */
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Focus indicators for accessibility */
*:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
  }
}

/* Utility Classes */
.warm-accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-shapes::before,
.floating-shapes::after {
  content: "";
  position: absolute;
  background: var(--gradient-warm);
  border-radius: 50%;
  opacity: 0.05;
  animation: float 8s ease-in-out infinite;
}

.floating-shapes::before {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 20%;
  animation-delay: -2s;
}

.floating-shapes::after {
  width: 120px;
  height: 120px;
  bottom: 30%;
  left: 15%;
  animation-delay: -4s;
}

.contact-content-description {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}
