/* ============================================================
   HORIMUTSU — 和 × NEO
   Color Palette:
     Background: #0A0806 ~ #120E0A (warm black)
     Primary (Vermillion): #C0392B ~ #E74C3C
     Secondary (Gold): #D4A843 ~ #F0D896
     Text: white ~ gold
   Fonts: Cinzel (EN) / Shippori Mincho (JP) / Zen Antique (和) / Zen Old Mincho (見出し)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0806;
  --bg-deep: #120E0A;
  --bg-card: rgba(10, 8, 6, 0.9);
  --red: #C0392B;
  --red-bright: #E74C3C;
  --red-dark: #8B1A1A;
  --gold: #D4A843;
  --gold-light: #F0D896;
  --gold-dim: rgba(212, 168, 67, 0.4);
  --white: #F0E8DC;
  --white-dim: rgba(240, 232, 220, 0.65);
  --border-gold: rgba(212, 168, 67, 0.3);
  --border-red: rgba(192, 57, 43, 0.6);
  --glow-gold: 0 0 10px rgba(212,168,67,0.4), 0 0 30px rgba(212,168,67,0.15);
  --glow-red: 0 0 10px rgba(231,76,60,0.4), 0 0 30px rgba(231,76,60,0.15);
  --font-en: 'Cinzel', serif;
  --font-jp: 'Shippori Mincho', serif;
  --font-jp-heading: 'Zen Old Mincho', serif;
  --font-wa: 'Zen Antique', serif;
  --font-jp-soft: 'Zen Antique Soft', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
  color: var(--white);
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--red-bright); }
img { max-width: 100%; display: block; }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
body.loading-active {
  overflow: hidden !important;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #0A0806;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Background glow */
.loading-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 600px at 50% 45%, rgba(192,57,43,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Circuit corners */
.loading-circuit {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.25;
}
.loading-circuit-tl { top: 0; left: 0; transform: rotate(0deg); }
.loading-circuit-tr { top: 0; right: 0; transform: rotate(90deg); }
.loading-circuit-bl { bottom: 0; left: 0; transform: rotate(-90deg); }
.loading-circuit-br { bottom: 0; right: 0; transform: rotate(180deg); }

/* Center content */
.loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 1;
  animation: loadingFadeIn 1s ease forwards;
}
@keyframes loadingFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Logo wrapper */
.loading-logo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating rings */
.loading-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed transparent;
}
.loading-ring-outer {
  width: 160px;
  height: 160px;
  border-color: rgba(212,168,67,0.5);
  border-style: dashed;
  border-width: 2px;
  animation: loadingRingSpin 8s linear infinite;
}
.loading-ring-inner {
  width: 130px;
  height: 130px;
  border-color: rgba(240,216,150,0.35);
  border-style: dotted;
  border-width: 2px;
  animation: loadingRingSpin 6s linear infinite reverse;
}
@keyframes loadingRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Logo circle */
.loading-logo-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(212,168,67,0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,8,6,0.9);
  box-shadow: 0 0 20px rgba(212,168,67,0.2), 0 0 40px rgba(212,168,67,0.1);
  animation: loadingLogoPulse 2s ease-in-out infinite;
}
@keyframes loadingLogoPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212,168,67,0.2), 0 0 40px rgba(212,168,67,0.1); }
  50% { box-shadow: 0 0 30px rgba(212,168,67,0.4), 0 0 60px rgba(212,168,67,0.2), 0 0 80px rgba(212,168,67,0.1); }
}

.loading-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,168,67,0.4));
}

/* Title text */
.loading-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #F0D896;
  text-shadow: 0 0 10px rgba(212,168,67,0.3);
}

/* Subtitle */
.loading-subtitle {
  font-family: 'Zen Antique', serif;
  font-size: 18px;
  color: #C0392B;
  letter-spacing: 0.3em;
  text-shadow: 0 0 8px rgba(192,57,43,0.3);
}

/* Progress bar wrapper */
.loading-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  width: 280px;
}

/* Progress frame with decorations */
.loading-progress-frame {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.loading-progress-deco {
  font-size: 10px;
  color: #D4A843;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Progress bar background */
.loading-progress-bar-bg {
  flex: 1;
  height: 4px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.25);
  position: relative;
  overflow: hidden;
}

/* Progress bar fill */
.loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C0392B, #D4A843, #F0D896);
  transition: width 0.1s linear;
  position: relative;
}
.loading-progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  bottom: -2px;
  width: 6px;
  background: #F0D896;
  box-shadow: 0 0 8px rgba(240,216,150,0.6);
  border-radius: 1px;
}

/* Percentage text */
.loading-progress-pct {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: #D4A843;
  letter-spacing: 0.15em;
}

/* Responsive loading screen */
@media (max-width: 480px) {
  .loading-logo-wrap { width: 120px; height: 120px; }
  .loading-ring-outer { width: 120px; height: 120px; }
  .loading-ring-inner { width: 98px; height: 98px; }
  .loading-logo-circle { width: 76px; height: 76px; }
  .loading-logo-img { width: 48px; height: 48px; }
  .loading-title { font-size: 22px; }
  .loading-subtitle { font-size: 15px; }
  .loading-progress-wrap { width: 220px; }
  .loading-circuit { width: 80px; height: 80px; }
}

/* ============================================================
   GLOBAL OVERLAYS
   ============================================================ */

/* Lightning flash */
.lightning-flash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.15) 0%, rgba(255,255,255,0.08) 40%, transparent 70%);
  transition: opacity 0.05s ease;
}
.lightning-flash.active {
  opacity: 1;
}

/* Gold particles canvas */
.gold-particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Scanline overlay */
.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* Lightning SVG */
.lightning-svg {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Background pulse */
.bg-pulse {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  animation: bgPulse 4s ease-in-out infinite;
}
@keyframes bgPulse {
  0%, 100% { background: transparent; }
  50% { background: rgba(192, 57, 43, 0.02); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(10, 8, 6, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header Left */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.logo-kamon {
  display: flex;
  align-items: center;
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
}
.logo-sub {
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  margin-top: -2px;
}
.fuku-badge {
  font-family: var(--font-jp-heading);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  background: var(--red);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
}

/* Header Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  padding: 4px 8px;
  transition: color 0.3s, text-shadow 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--red-bright);
  text-shadow: 0 0 8px rgba(231,76,60,0.4);
}
.nav-diamond {
  font-size: 6px;
  color: var(--gold);
  line-height: 1;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
}
.line-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  background: rgba(192, 57, 43, 0.15);
}
.line-cta:hover {
  background: var(--red);
  color: var(--gold-light);
  border-color: var(--red-bright);
  box-shadow: var(--glow-red);
}
.line-icon {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: rgba(10, 8, 6, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav-link {
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: 0.2em;
  color: var(--white);
}
.mobile-nav-link:hover { color: var(--red-bright); }

/* ============================================================
   CIRCUIT CORNER PATTERNS
   ============================================================ */
.circuit-img {
  position: absolute;
  width: 160px;
  height: 160px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.7;
}
.circuit-img-tl { top: 0; left: 0; transform: rotate(0deg); }
.circuit-img-tr { top: 0; right: 0; transform: rotate(90deg); }
.circuit-img-bl { bottom: 0; left: 0; transform: rotate(-90deg); }
.circuit-img-br { bottom: 0; right: 0; transform: rotate(180deg); }

/* ============================================================
   RED FRAME (額縁)
   ============================================================ */
.red-frame {
  position: absolute;
  inset: 20px;
  border: 3px solid var(--red);
  z-index: 3;
  pointer-events: none;
}
.red-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(192, 57, 43, 0.4);
}
.red-frame::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--red);
  box-shadow:
    calc(100% + 10px - 10px) 0 0 0 var(--red),
    0 calc(100% + 10px - 10px) 0 0 var(--red),
    calc(100% + 10px - 10px) calc(100% + 10px - 10px) 0 0 var(--red);
}

/* ============================================================
   CLOUD PATTERN (和雲)
   ============================================================ */
.cloud-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M20 80 Q30 40 60 50 Q80 30 100 50 Q120 30 140 50 Q170 40 180 80' fill='none' stroke='%23D4A843' stroke-width='1.5'/%3E%3Cpath d='M0 90 Q20 60 40 70 Q60 50 80 70 Q100 50 120 70 Q140 60 160 90' fill='none' stroke='%23D4A843' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 300px 150px;
}

/* ============================================================
   FLOWER DECORATIONS
   ============================================================ */
.flowers-hero-img {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 420px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}
.flowers-brand-img {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 380px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

/* ============================================================
   KAMON LOGO
   ============================================================ */
.kamon-img-header {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(212,168,67,0.3));
}
.kamon-img-hero {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.4));
}
.kamon-img-works,
.kamon-img-brand,
.kamon-img-service,
.kamon-img-sns,
.kamon-img-contact {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.3));
}

/* ============================================================
   TORII ICON (Footer)
   ============================================================ */
.torii-img-footer {
  width: 60px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(192,57,43,0.4));
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  position: relative;
  overflow: hidden;
}

/* ============================================================
   SECTION LINE ANIMATION (朱赤ライン)
   ============================================================ */
.section-line-anim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 10;
  pointer-events: none;
}
.section-line-anim::before,
.section-line-anim::after {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 1s ease;
  box-shadow: 0 0 8px rgba(192,57,43,0.5);
}
.section-line-anim::before { left: 50%; }
.section-line-anim::after { right: 50%; }
.section.section-visible .section-line-anim::before,
.section.section-visible .section-line-anim::after {
  width: 50%;
}

/* ============================================================
   NEON TITLE GLOW
   ============================================================ */
.neon-title {
  animation: neonPulse 3s ease-in-out infinite;
}
@keyframes neonPulse {
  0%, 100% {
    text-shadow: 0 0 5px rgba(192,57,43,0.3), 0 0 15px rgba(192,57,43,0.1);
  }
  50% {
    text-shadow: 0 0 10px rgba(192,57,43,0.6), 0 0 30px rgba(192,57,43,0.3), 0 0 50px rgba(192,57,43,0.1);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.section-hero {
  min-height: 100vh;
  padding: 80px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 600px at 30% 50%, rgba(192,57,43,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 70% 40%, rgba(212,168,67,0.03) 0%, transparent 60%);
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 6;
}

/* Vertical Text */
.hero-vertical-text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-jp-heading);
  font-size: 18px;
  line-height: 2;
  color: var(--white);
  opacity: 0.9;
  letter-spacing: 0.2em;
  z-index: 7;
}
.vertical-chars {
  opacity: 0;
}
.vertical-chars.animated {
  opacity: 1;
}

/* Hero Center */
.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-left: 50px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  opacity: 0;
}
.hero-title.animated {
  opacity: 1;
}

.title-wa-svg {
  max-width: 380px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(231,76,60,0.3));
}
.wa-text {
  opacity: 0;
  transition: opacity 1s ease;
}
.wa-text.visible {
  opacity: 1;
}

.title-x-wrap {
  margin: -20px 0 -10px;
}
.title-x {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  color: var(--gold);
  text-shadow: var(--glow-gold);
  display: block;
  text-align: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.title-x.visible {
  opacity: 1;
  transform: scale(1);
}

/* Glitch text effect */
.glitch-text {
  font-family: var(--font-en);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 900;
  color: var(--red-bright);
  text-shadow:
    0 0 20px rgba(231,76,60,0.4),
    0 0 60px rgba(231,76,60,0.15);
  line-height: 0.85;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
}
.glitch-text.visible {
  opacity: 1;
  transform: translateY(0);
  animation: glitchAnim 6s infinite;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.glitch-text.visible::before {
  color: var(--gold);
  animation: glitchBefore 6s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}
.glitch-text.visible::after {
  color: var(--red-dark);
  animation: glitchAfter 6s infinite;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitchAnim {
  0%, 92%, 100% { transform: translateY(0); }
  93% { transform: translate(-3px, -2px); }
  94% { transform: translate(3px, 1px); }
  95% { transform: translate(-1px, 2px); }
  96% { transform: translate(2px, -1px); }
  97% { transform: translateY(0); }
}
@keyframes glitchBefore {
  0%, 92%, 100% { opacity: 0; transform: translate(0); }
  93% { opacity: 0.8; transform: translate(-4px, -2px); }
  94% { opacity: 0.6; transform: translate(4px, 1px); }
  95% { opacity: 0.8; transform: translate(-2px, 3px); }
  96% { opacity: 0; transform: translate(0); }
}
@keyframes glitchAfter {
  0%, 92%, 100% { opacity: 0; transform: translate(0); }
  93% { opacity: 0.6; transform: translate(3px, 2px); }
  94% { opacity: 0.8; transform: translate(-3px, -1px); }
  95% { opacity: 0.6; transform: translate(2px, -2px); }
  96% { opacity: 0; transform: translate(0); }
}

/* Hero Subtitle */
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}
.subtitle-dash {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--gold);
}
.subtitle-text {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-style: italic;
}

/* Hero Kamon */
.hero-kamon {
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-kamon.visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Hero Right - Image Frame */
.hero-right {
  flex: 0 0 340px;
  position: relative;
  z-index: 6;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(18, 14, 10, 0.8);
  max-height: 80vh;
  transition: aspect-ratio 0.4s ease;
}
.frame-corner-gold {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 3;
}
.frame-corner-gold.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.frame-corner-gold.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.frame-corner-gold.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.frame-corner-gold.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-en);
  color: var(--white-dim);
  width: 100%;
  height: 100%;
}
.placeholder-active .hero-placeholder,
.placeholder-active .card-placeholder {
  display: flex;
}
.ph-label {
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--white-dim);
}
.ph-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ph-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* ============================================================
   TORII PILLARS
   ============================================================ */
.torii-pillar {
  position: absolute;
  width: 18px;
  z-index: 5;
  pointer-events: none;
}
.torii-left {
  left: 30px;
  top: -30px;
  bottom: 0;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 2px 2px 0 0;
  box-shadow: 4px 0 8px rgba(192,57,43,0.2);
}
.torii-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  right: -8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
}
.torii-left::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: var(--glow-gold);
}
.torii-right {
  right: 30px;
  top: -30px;
  bottom: 0;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 2px 2px 0 0;
  box-shadow: -4px 0 8px rgba(192,57,43,0.2);
}
.torii-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  right: -8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
}
.torii-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: var(--glow-gold);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  position: relative;
  z-index: 6;
}
.kamon-deco {
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.3));
}
.section-title {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
}
.title-dash {
  font-weight: 300;
  color: var(--gold-dim);
}
.section-subtitle-jp {
  font-family: var(--font-jp-heading);
  font-size: 14px;
  color: var(--white-dim);
  letter-spacing: 0.2em;
}

/* ============================================================
   BRAND SECTION
   ============================================================ */
.section-brand {
  padding: 100px 40px;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(192,57,43,0.04) 0%, transparent 70%);
}

.brand-frame {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--border-gold);
  padding: 50px 60px;
  position: relative;
  z-index: 6;
  background: rgba(10, 8, 6, 0.6);
}
.brand-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 168, 67, 0.15);
  pointer-events: none;
}

.brand-catch {
  font-family: var(--font-jp-heading);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.brand-catch.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-text {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.brand-text.visible {
  opacity: 1;
  transform: translateY(0);
}
.brand-text p {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 2.2;
  color: var(--white-dim);
}

/* Brand Values */
.brand-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}
.brand-values.visible {
  opacity: 1;
  transform: translateY(0);
}
.brand-value-item {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border-gold);
  background: rgba(10, 8, 6, 0.5);
  transition: all 0.3s;
}
.brand-value-item:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}
.brand-value-kanji {
  font-family: var(--font-wa);
  font-size: 42px;
  color: var(--red-bright);
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(231,76,60,0.3);
}
.brand-value-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.brand-value-item p {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.8;
  color: var(--white-dim);
}

/* ============================================================
   SERVICE SECTION
   ============================================================ */
.section-service {
  padding: 100px 40px;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 600px at 30% 50%, rgba(192,57,43,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 70% 60%, rgba(212,168,67,0.02) 0%, transparent 60%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 6;
}

.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card-inner {
  border: 2px solid var(--red);
  background: var(--bg-card);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}
.service-card-inner::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  pointer-events: none;
}

/* Shimmer effect on hover */
.service-card-inner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(212, 168, 67, 0.08) 45%,
    rgba(212, 168, 67, 0.15) 50%,
    rgba(212, 168, 67, 0.08) 55%,
    transparent 60%
  );
  transform: translateX(-100%) translateY(-100%);
  transition: none;
  pointer-events: none;
}
.service-card:hover .service-card-inner::after {
  animation: shimmer 0.8s ease forwards;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}

.service-card:hover .service-card-inner {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,168,67,0.3), 0 0 40px rgba(212,168,67,0.1);
  transform: scale(1.03);
}

.service-icon-kanji {
  font-family: var(--font-wa);
  font-size: 48px;
  color: var(--red-bright);
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(231,76,60,0.3);
  line-height: 1;
}

.service-card-title {
  font-family: var(--font-jp-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.service-card-desc {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
}

.service-card-gold-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 0;
}

/* ============================================================
   WORKS SECTION (CAROUSEL)
   ============================================================ */
.section-works {
  padding: 100px 60px;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(192,57,43,0.04) 0%, transparent 70%);
}

.works-carousel-container {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 6;
}

.works-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0 10px;
}

/* Carousel arrows */
.carousel-arrow {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold);
  background: rgba(10, 8, 6, 0.8);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}
.carousel-arrow::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  pointer-events: none;
}
.carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red-bright);
  color: var(--gold-light);
  box-shadow: var(--glow-red);
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  position: relative;
  z-index: 6;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--red);
  border-color: var(--red-bright);
  box-shadow: 0 0 8px rgba(231,76,60,0.5);
}

/* Carousel card */
.carousel-card {
  max-width: 500px;
  margin: 0 auto;
}

/* Card styles (shared) */
.card-frame {
  position: relative;
  border: 2px solid var(--red);
  background: var(--bg-card);
  transition: all 0.4s ease;
  overflow: hidden;
}
.card-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  pointer-events: none;
  z-index: 2;
}

/* Shimmer on card hover */
.card-frame::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(212, 168, 67, 0.08) 45%,
    rgba(212, 168, 67, 0.15) 50%,
    rgba(212, 168, 67, 0.08) 55%,
    transparent 60%
  );
  transform: translateX(-100%) translateY(-100%);
  transition: none;
  pointer-events: none;
  z-index: 3;
}
.card-frame:hover::after {
  animation: shimmer 0.8s ease forwards;
}

.card-frame:hover {
  box-shadow: 0 0 20px rgba(212,168,67,0.3), 0 0 40px rgba(212,168,67,0.1);
  border-color: var(--gold);
}

/* Card corner decorations */
.card-corner-deco {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 4;
}
.card-corner-deco.tl { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.card-corner-deco.tr { top: -1px; right: -1px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.card-corner-deco.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.card-corner-deco.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* Card category label */
.card-category {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--red);
  padding: 4px 16px;
  border: 1px solid var(--gold);
}
.card-category span {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* Card image */
.card-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 600px;
  transition: aspect-ratio 0.4s ease;
  position: relative;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.5s;
}
.card-frame:hover .card-img { transform: scale(1.08); }
.card-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-deep) 0%, rgba(192,57,43,0.05) 100%);
  align-items: center;
  justify-content: center;
}

/* Card info */
.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid rgba(192, 57, 43, 0.3);
}
.card-info-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-title-jp {
  font-family: var(--font-jp-heading);
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
}
.card-title-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
}
.card-arrow {
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.3s, color 0.3s;
}
.card-frame:hover .card-arrow {
  transform: translateX(4px);
  color: var(--gold-light);
}

/* ============================================================
   SNS SECTION
   ============================================================ */
.section-sns {
  padding: 100px 40px;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(212,168,67,0.03) 0%, transparent 70%);
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 6;
}

.sns-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  color: var(--white);
}
.sns-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.sns-card:hover {
  color: var(--gold-light);
}

.sns-card-inner {
  border: 2px solid var(--red);
  background: var(--bg-card);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}
.sns-card-inner::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  pointer-events: none;
}

/* Glow effect on hover */
.sns-card:hover .sns-card-inner {
  border-color: var(--gold);
  box-shadow:
    0 0 15px rgba(212,168,67,0.4),
    0 0 30px rgba(212,168,67,0.2),
    0 0 60px rgba(212,168,67,0.1),
    inset 0 0 20px rgba(212,168,67,0.05);
  transform: scale(1.05);
}

.sns-card-icon {
  color: var(--gold);
  margin-bottom: 16px;
  transition: all 0.3s;
}
.sns-card:hover .sns-card-icon {
  color: var(--gold-light);
  filter: drop-shadow(0 0 8px rgba(212,168,67,0.6));
}

.sns-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sns-card-name {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
}
.sns-card-handle {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.section-contact {
  padding: 100px 40px;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 600px at 50% 50%, rgba(192,57,43,0.05) 0%, transparent 70%);
}

.contact-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 6;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--border-gold);
  background: rgba(10, 8, 6, 0.6);
  min-width: 120px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.flow-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-step-number {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--red-bright);
  text-shadow: 0 0 10px rgba(231,76,60,0.3);
}

.flow-step-icon {
  color: var(--gold);
}

.flow-step-label {
  font-family: var(--font-jp-heading);
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.1em;
}

.flow-arrow {
  font-family: var(--font-en);
  font-size: 24px;
  color: var(--gold);
  opacity: 0.6;
}

/* LINE CTA Button */
.contact-cta-area {
  text-align: center;
  position: relative;
  z-index: 6;
}

.contact-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  font-family: var(--font-jp-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--red);
  border: 2px solid var(--gold);
  letter-spacing: 0.1em;
  transition: all 0.3s;
  position: relative;
}
.contact-line-btn::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 168, 67, 0.4);
  pointer-events: none;
}

/* Neon button glow */
.neon-btn {
  animation: neonBtnPulse 2s ease-in-out infinite;
}
@keyframes neonBtnPulse {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(192,57,43,0.4),
      0 0 20px rgba(192,57,43,0.2),
      0 0 40px rgba(192,57,43,0.1);
  }
  50% {
    box-shadow:
      0 0 15px rgba(192,57,43,0.6),
      0 0 30px rgba(192,57,43,0.4),
      0 0 60px rgba(192,57,43,0.2),
      0 0 80px rgba(192,57,43,0.1);
  }
}

.contact-line-btn:hover {
  background: var(--red-bright);
  color: var(--gold-light);
  transform: scale(1.05);
  box-shadow:
    0 0 20px rgba(231,76,60,0.6),
    0 0 40px rgba(231,76,60,0.3),
    0 0 80px rgba(231,76,60,0.15);
}

.contact-note {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--white-dim);
  margin-top: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg);
  padding: 40px 40px 30px;
  position: relative;
}
.footer-torii {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 20px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 0.1em;
}
.footer-sns {
  display: flex;
  gap: 20px;
}
.sns-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--white-dim);
  transition: color 0.3s;
}
.sns-link:hover {
  color: var(--gold);
}
.sns-link svg {
  opacity: 0.7;
  transition: opacity 0.3s;
}
.sns-link:hover svg {
  opacity: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes goldShimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-right { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    flex-direction: column;
    gap: 30px;
  }
  .hero-vertical-text {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    writing-mode: horizontal-tb;
    text-align: center;
    font-size: 14px;
  }
  .hero-center {
    padding-left: 0;
  }
  .hero-right {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sns-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-works {
    padding: 60px 30px;
  }
  .torii-left, .torii-right {
    width: 12px;
  }
  .torii-left { left: 10px; }
  .torii-right { right: 10px; }

  .brand-frame {
    padding: 30px 20px;
  }

  .brand-values {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .red-frame {
    inset: 10px;
  }

  .flowers-hero-img {
    width: 300px;
    bottom: -40px;
    left: -40px;
    opacity: 0.4;
  }
  .flowers-brand-img {
    width: 260px;
    bottom: -30px;
    right: -30px;
    opacity: 0.35;
  }
  .circuit-img {
    width: 120px;
    height: 120px;
  }

  .contact-flow {
    gap: 12px;
  }
  .flow-step {
    min-width: 100px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .section-hero {
    padding: 80px 20px 40px;
  }
  .title-wa-svg {
    max-width: 250px;
  }
  .glitch-text {
    font-size: 80px;
  }
  .hero-right {
    max-width: 240px;
  }
  .hero-image-frame {
    max-height: 50vh;
  }
  .card-img-wrap {
    max-height: 400px;
  }
  .section-works {
    padding: 50px 20px;
  }
  .section-brand {
    padding: 60px 20px;
  }
  .section-service {
    padding: 60px 20px;
  }
  .section-sns {
    padding: 60px 20px;
  }
  .section-contact {
    padding: 60px 20px;
  }
  .brand-catch {
    font-size: 20px;
  }
  .brand-text p {
    font-size: 13px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .sns-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-flow {
    flex-direction: column;
    gap: 8px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .contact-line-btn {
    font-size: 16px;
    padding: 14px 36px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-sns {
    flex-wrap: wrap;
    justify-content: center;
  }
  .flowers-hero-img {
    width: 220px;
    bottom: -30px;
    left: -30px;
    opacity: 0.3;
  }
  .flowers-brand-img {
    width: 200px;
    opacity: 0.25;
  }
  .circuit-img {
    width: 80px;
    height: 80px;
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }
  .logo-text {
    font-size: 13px;
  }
  .logo-sub {
    font-size: 6px;
  }
  .fuku-badge {
    display: none;
  }
  .title-wa-svg {
    max-width: 200px;
  }
  .glitch-text {
    font-size: 60px;
  }
  .hero-vertical-text {
    font-size: 12px;
  }
  .section-title {
    font-size: 20px;
  }
  .flowers-hero-img {
    display: none;
  }
  .flowers-brand-img {
    display: none;
  }
  .circuit-img {
    width: 60px;
    height: 60px;
    opacity: 0.4;
  }
  .sns-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .carousel-arrow {
    width: 30px;
    height: 30px;
  }
  .works-carousel-container {
    gap: 8px;
  }
}

.brand-works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .brand-works-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
}
