/* ============================================
   Street Kingdom WordPress Theme CSS
   Next.jsのスタイルを完全に反映
   ============================================ */

/* ============================================
   基本スタイル（Next.js globals.cssより）
   ============================================ */
body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* リセット */
*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ============================================
   Tailwind CSSユーティリティクラスのエミュレート
   ============================================ */

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* Inset */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Z-Index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-\[1\] { z-index: 1; }

/* Width */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-auto { width: auto; }
.min-w-\[120px\] { min-width: 120px; }
.max-w-\[600px\] { max-width: 600px; }
.max-w-\[500px\] { max-width: 500px; }
.max-w-\[615px\] { max-width: 615px; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[1280px\] { max-width: 1280px; }
.max-w-\[300px\] { max-width: 300px; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* Height */
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.h-\[72px\] { height: 72px; }
.h-\[3px\] { height: 3px; }

/* Display */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flex */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }

/* Grid */
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }

/* Aspect Ratio */
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-16 { padding-top: 4rem; }
.pl-8 { padding-left: 2rem; }
.pr-4 { padding-right: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }

/* Text */
.text-center { text-align: center; }
.text-white { color: #FFFFFF; }
.text-black { color: #000000; }
.text-primary { color: var(--color-primary); }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; }

/* Background */
.bg-black { background-color: #000000; }
.bg-white { background-color: #FFFFFF; }
.bg-transparent { background-color: transparent; }
.bg-gray-500\/60 { background-color: rgba(107, 114, 128, 0.6); }

/* Border */
.border-2 { border-width: 2px; }
.border-white\/50 { border-color: rgba(255, 255, 255, 0.5); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Transform */
.translate-x-\[640px\] { transform: translateX(640px); }
.-translate-x-1\/2 { transform: translateX(-50%); }

/* Transition */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Hover */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-primary\/30:hover { background-color: rgba(255, 215, 0, 0.3); }
.hover\:border-primary:hover { border-color: var(--color-primary); }

/* Backdrop Filter */
.backdrop-blur-\[10px\] { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Text Shadow */
.\[text-shadow\:_2px_2px_4px_rgba\(0\2c 0\2c 0\2c 0\.8\)\] {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* No Underline */
.no-underline { text-decoration: none; }

/* Left/Top Positioning */
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.bottom-8 { bottom: 2rem; }

/* Max Height */
.max-h-\[400px\] { max-height: 400px; }

/* Responsive - Medium (md:) */
@media (min-width: 768px) {
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:translate-x-\[calc\(640px\+8rem\)\] { transform: translateX(calc(640px + 8rem)); }
  .md\:w-\[350px\] { width: 350px; }
}

/* Responsive - Large (lg:) */
@media (min-width: 1024px) {
  .lg\:text-left { text-align: left; }
  .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
  .lg\:translate-x-\[calc\(640px\+12rem\)\] { transform: translateX(calc(640px + 12rem)); }
  .lg\:w-\[467px\] { width: 467px; }
}

/* ============================================
   WordPressテーマ固有のスタイル
   ============================================ */

/* プロスペース（WordPress本文用） */
.prose {
  max-width: 65ch;
}

.prose-sm {
  font-size: 0.875rem;
  line-height: 1.7142857;
}

.max-w-none {
  max-width: none;
}

/* Mx Auto */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Block */
.block { display: block; }

/* W/H utilities */
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-\[30px\] { width: 30px; }
.h-\[3px\] { height: 3px; }
.h-\[72px\] { height: 72px; }
.w-\[300px\] { width: 300px; }
.w-\[467px\] { width: 467px; }
.w-\[384px\] { width: 384px; }
.h-auto { height: auto; }

/* Gap */
.gap-2 { gap: 0.5rem; }

/* Justify/Align */
.justify-between { justify-content: space-between; }

/* Border */
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-gray-800 { border-color: rgb(31, 41, 55); }

/* Background with opacity */
.bg-black\/95 { background-color: rgba(0, 0, 0, 0.95); }
.bg-primary\/20 { background-color: rgba(255, 215, 0, 0.2); }

/* Transition */
.duration-300 { transition-duration: 300ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }

/* Transform */
.translate-x-0 { transform: translateX(0); }
.-translate-x-full { transform: translateX(-100%); }

/* Padding */
.p-6 { padding: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* ============================================
   Header & Navigation Specific Styles
   ============================================ */
.hamburger-menu span {
  display: block;
  background-color: white;
}

/* Z-index overrides for header */
.z-\[9999\] { z-index: 9999; }
.z-\[9998\] { z-index: 9998; }

/* Additional sizing and spacing */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.left-4 { left: 1rem; }

/* Opacity */
.opacity-100 { opacity: 1; }

/* Border Primary */
.border-primary { border-color: var(--color-primary); }

/* Max Width 4xl */
.max-w-4xl { max-width: 56rem; }

/* Z-index for Modal */
.z-\[1000\] { z-index: 1000; }

/* ============================================
   追加のレスポンシブクラス
   ============================================ */
@media (min-width: 768px) {
  .md\:w-\[350px\] { width: 350px; }
}

@media (min-width: 1024px) {
  .lg\:w-\[467px\] { width: 467px; }
}

