/* ============================================
   ぼたん サイト 共通スタイル
   ============================================ */

:root {
  --yellow: #f4d923;
  --black: #0f0f0f;
  --white: #ffffff;
  --gray: #777777;
  --font-courier: 'Courier Prime', monospace;
  --font-sawarabi: 'Sawarabi Gothic', sans-serif;
  --font-noto: 'Noto Sans JP', sans-serif;
}

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

body {
  background: var(--yellow);
  color: var(--black);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  background: rgba(244, 217, 35, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

.header-logo {
  width: 170px;
  height: 32px;
  flex-shrink: 0;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 400px;
}

.header-nav a,
.nav-disabled {
  font-family: var(--font-courier);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
  text-align: center;
}

.nav-disabled {
  color: var(--gray);
}

/* ============ MAIN ============ */
.site-main {
  padding-top: 72px;
}

/* ============ FOOTER ============ */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 20px;
}

.site-footer p {
  font-family: var(--font-noto);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--black);
}

/* ============ ANIMATIONS ============ */
.anim-fade {
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0.6s;
}
.anim-slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.6s ease-in 0.6s, transform 1.6s ease-in 0.6s;
}
.anim-tab-1 {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.anim-tab-2 {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.6s ease-in 0.2s, transform 0.6s ease-in 0.2s;
}
.anim-tab-3 {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}
.anim-card-1 {
  opacity: 0;
  transform: translateY(50px) rotate(-15deg);
  transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}
.anim-card-2 {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}
.anim-card-3 {
  opacity: 0;
  transform: translateY(50px) rotate(15deg);
  transition: opacity 1s ease 1s, transform 1s ease 1s;
}
.anim-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.anim-contact-btn {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.6s ease 0.6s, transform 1.6s ease 0.6s;
}

.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* ============ MOBILE ============ */
@media (max-width: 540px) {
  .header-logo { width: 130px; }
  .header-nav { width: 50%; }
  .header-nav a, .nav-disabled { font-size: 12px; line-height: 1; }
}
