/* style.css */

/* 全ページ共通の背景設定 */
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%) fixed;
  min-height: 100vh;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

/* 背景の浮遊シェイプ（共通） */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape { 
  position: absolute; 
  opacity: 0.08; 
  animation: float 20s infinite ease-in-out; 
}

.shape:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { top: 60%; left: 80%; animation-delay: 5s; }
.shape:nth-child(3) { top: 30%; left: 60%; animation-delay: 10s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(90deg); }
  50% { transform: translate(-20px, 20px) rotate(180deg); }
  75% { transform: translate(40px, 10px) rotate(270deg); }
}