/* 
  Enciera Redesign Style - Phase 5 (Bug Fixes & Hover Effects)
*/

:root {
  --bg-main: #0e0c0a; /* 深みのあるダークチャコールブラウン */
  --text-primary: #f5f2eb; /* 温かみのあるオフホワイト */
  --text-secondary: #a6a095; /* 上品なシャンパンベージュ */
  --enciera-orange: #e0e0e0;
  --ideza-red: #ffffff;
  --enciera-dark: #f5f2eb; /* ダークテーマ用に変更 */

  /* 暖かみと品格のあるフォントスタック (Plus Jakarta Sans & Zen Kaku Gothic New) */
  --font-base: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans JP', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;

  --liquid-champagne: linear-gradient(135deg, #ffffff 0%, #888899 100%);
  /* ダーク背景に映える、透過感のある半透明グラデーション */
  --pearl-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.08) 100%);

  --glass-bg: rgba(255, 255, 255, 0.05); /* 暗いガラス背景 */
  --glass-border: rgba(255, 255, 255, 0.08); /* 輪郭を少し強調 */

  --space-section: 320px;
  --radius-pill: 50px;
  --radius-card: 48px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  letter-spacing: 0.04em;
  word-break: auto-phrase;
  line-break: strict;
}

/* Premium Noise Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
}

/* Background Aurora Blobs */
@keyframes float {
  0% {
    transform: translate(0vw, 0vh) scale(1);
  }

  33% {
    transform: translate(5vw, -10vh) scale(1.1);
  }

  66% {
    transform: translate(-5vw, 15vh) scale(0.9);
  }

  100% {
    transform: translate(0vw, 0vh) scale(1);
  }
}

@keyframes floatReverse {
  0% {
    transform: translate(0vw, 0vh) scale(1);
  }

  33% {
    transform: translate(-10vw, 10vh) scale(1.2);
  }

  66% {
    transform: translate(5vw, -5vh) scale(0.8);
  }

  100% {
    transform: translate(0vw, 0vh) scale(1);
  }
}

.blobs-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: transparent;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.blob-1 {
  width: 75vw;
  height: 75vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
  top: -15%;
  right: -15%;
  animation: float 22s ease-in-out infinite;
}

.blob-2 {
  width: 65vw;
  height: 65vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -15%;
  left: -15%;
  animation: floatReverse 25s ease-in-out infinite;
}

.blob-3 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 70%);
  top: 25%;
  left: 15%;
  animation: float 26s ease-in-out infinite;
}

.blob-4 {
  width: 65vw;
  height: 65vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(41, 173, 227, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 15%;
  right: 5%;
  animation: floatReverse 32s ease-in-out infinite;
}

/* Mobile Background Optimization - No blurs/blend modes, pure gradients */
@media screen and (max-width: 768px) {
  .blob {
    /* No blur filter for buttery smooth performance */
  }
  
  .blob-1 {
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle, rgba(238, 143, 76, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
    top: -5%;
    right: -15%;
  }
  
  .blob-2 {
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle, rgba(41, 173, 227, 0.38) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: 5%;
    left: -20%;
  }
  
  .blob-3 {
    width: 85vw;
    height: 85vw;
    background: radial-gradient(circle, rgba(218, 62, 62, 0.32) 0%, rgba(0, 0, 0, 0) 70%);
    top: 25%;
    left: 10%;
  }
  
  .blob-4 {
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.28) 0%, rgba(241, 196, 15, 0) 70%);
    bottom: 30%;
    right: -5%;
  }
}

.blob-5 {
  width: 45vw;
  height: 45vw;
  max-width: 550px;
  max-height: 550px;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.18) 0%, rgba(241, 196, 15, 0) 70%);
  top: 5%;
  left: 35%;
  animation: float 20s ease-in-out infinite;
}

/* Subtle Champagne Bokeh Animation */
.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  /* Champagne Gold / Warm Sparkle */
  background: radial-gradient(circle at 30% 30%, rgba(255, 248, 230, 0.6), rgba(255, 240, 200, 0.15) 45%, rgba(255, 230, 180, 0) 80%);
  mix-blend-mode: overlay;
  /* Will be injected by JS for perfect depth */
}

@keyframes floatSway1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.9;
  }

  33% {
    transform: translate(120px, -150px) scale(1.1) rotate(45deg);
    opacity: 0.4;
  }

  66% {
    transform: translate(-80px, 120px) scale(0.9) rotate(-30deg);
    opacity: 1;
  }
}

@keyframes floatSway2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.7;
  }

  33% {
    transform: translate(-120px, -90px) scale(0.9) rotate(-45deg);
    opacity: 1;
  }

  66% {
    transform: translate(90px, -140px) scale(1.1) rotate(30deg);
    opacity: 0.3;
  }
}

@keyframes floatSway3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }

  33% {
    transform: translate(150px, 120px) scale(1.1) rotate(60deg);
    opacity: 0.4;
  }

  66% {
    transform: translate(-100px, -80px) scale(0.8) rotate(-60deg);
    opacity: 0.9;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-base);
  font-weight: 700;
  color: var(--text-primary);
}

h1 {
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

h2 {
  font-size: 52px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

/* Balanced Presence */
h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

p {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.02em;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  /* Prevents text from ever wrapping */
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: #ffffff;
  color: #0a0a0c;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #0a0a0c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.btn-special-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: #ffffff;
  color: #0a0a0c;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-special-float:hover {
  background: #0a0a0c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-special-float

/* Seamless Mockup for Inquiry System */
.seamless-mockup-wrapper {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.seamless-mockup-wrapper:hover {
  transform: scale(1.02) translateY(-10px);
}

.seamless-mockup {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.seamless-img {
  width: 100%;
  height: auto;
  max-width: 900px;
  /* Sharp center, only fade at the extreme edges */
  mask-image: radial-gradient(ellipse at center, black 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 85%, transparent 100%);
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.1));
}

/* Journey Section (Flow of Use) */
.journey-container {
  position: relative;
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 0 20px;
}

.journey-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-accent) 15%, var(--color-accent) 85%, transparent);
  opacity: 0.3;
  transform: translateX(-50%);
}

.journey-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.journey-item {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.step-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #1a1715; /* ダーク背景に合わせた色に変更 */
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.step-number {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-accent);
}

.step-card {
  width: calc(50% - 60px); /* 60px margin to avoid marker overlap */
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--shadow-premium);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alternate items for Desktop */
.journey-item:nth-child(odd) .step-card {
  margin-right: auto;
}

.journey-item:nth-child(even) .step-card {
  margin-left: auto;
}

.journey-item:hover .step-card {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-family: var(--font-base);
  letter-spacing: 0.04em;
}

.step-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary); /* ダーク背景で見えるように変更 */
}

/* Journey Responsive */
@media screen and (max-width: 900px) {
  .journey-line {
    left: 20px;
    transform: none;
  }
  
  .journey-item {
    padding-left: 50px;
    justify-content: flex-start;
  }

  .journey-item:nth-child(odd) .step-card,
  .journey-item:nth-child(even) .step-card {
    width: 100%;
    margin: 0;
  }
  
  .step-marker {
    left: 20px;
    width: 40px;
    height: 40px;
    transform: translateX(-50%);
  }
}

/* Price Badge Refinement - Crystal Style */
.monitor-badge {
  background: rgba(255, 255, 255, 0.05); /* ダーク背景に合わせて調整 */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 30px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 15px;
  border: 1px solid var(--color-accent); /* Elegant gold border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.monitor-badge-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent); /* Premium gold text */
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 768px) {
  .monitor-badge-text {
    font-size: 1.1rem !important;
  }
  
  .monitor-badge {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.08); /* Slightly more solid for mobile */
  }
}

/* 1:1 Promotional Cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.promo-card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  transition: transform 0.4s ease;
}

.promo-card:hover {
  transform: scale(1.03);
}

/* Journey Responsive */
@media screen and (max-width: 900px) {
  .journey-line {
    left: 40px;
    transform: none;
  }
  
  .journey-item, .journey-item:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 80px;
    margin-bottom: 40px;
  }
  
  .step-marker {
    left: 40px;
    width: 40px;
    height: 40px;
    transform: translateX(-50%);
  }
  
  .step-card {
    width: 100%;
    padding: 30px;
  }
}

.btn-secondary {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02), inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(238, 143, 76, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255,255,255,0.1);
}

.btn-primary.large,
.btn-secondary.large {
  padding: 24px 64px;
  font-size: clamp(16px, 4vw, 22px);
  /* Scales down on mobile automatically */
  letter-spacing: 0.2em;
  font-weight: 700;
}

@media (max-width: 480px) {

  .btn-primary.large,
  .btn-secondary.large {
    padding: 18px 32px;
    /* Smaller padding on very small screens */
  }
}

.w-full {
  width: 100%;
}

/* Navigation */
@keyframes organicNav {

  0%,
  100% {
    border-radius: 40px 80px 50px 70px / 70px 40px 80px 50px;
  }

  33% {
    border-radius: 70px 50px 80px 40px / 50px 70px 40px 80px;
  }

  66% {
    border-radius: 50px 70px 40px 80px / 80px 50px 70px 40px;
  }
}

@keyframes navSlideIn {
  0% {
    transform: translateX(-50%) translateY(-40px);
    opacity: 0;
    filter: blur(10px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

.nav-logo img {
  height: 44px !important;
  width: auto;
  /* D（黒）を白にしつつ、I（赤）の白飛び・くすみを防ぐため輝度・コントラスト補正を排除して彩度のみ調整 */
  filter: invert(1) hue-rotate(180deg) saturate(3);
}

/* Optimized for container height */
.glass-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96vw;
  max-width: none;
  background: none;
  /* Background moved to ::before */
  border: none;
  animation: organicNav 12s ease-in-out infinite, navSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  z-index: 1000;
  padding: 8px 32px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
}

.glass-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25); /* 明るいすりガラスの境界線を追加 */
  backdrop-filter: blur(40px); /* ぼかし具合を最適化し、白さを際立たせる */
  -webkit-backdrop-filter: blur(40px);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  z-index: -1;
  border-radius: inherit;
  /* Inherit the organic shape */
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 36px;
  position: relative;
}

.nav-logo {
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cta {
  flex: 0 0 auto;
}

/* Refined I.DEZA Logo */
@keyframes heroEntrance {
  0% {
    transform: scale(0.85) translateY(40px);
    opacity: 0;
    filter: blur(20px);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

.nav-logo,
.hero-logo-main {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo img {
  height: 42px !important;
  width: auto;
  /* D（黒）を白にしつつ、I（赤）の白飛び・くすみを防ぐため輝度・コントラスト補正を排除して彩度のみ調整 */
  filter: invert(1) hue-rotate(180deg) saturate(3);
}

/* Increased logo size */
.hero-logo-main {
  font-size: 7vw;
  max-font-size: 120px;
}

.hero-logo-main img {
  opacity: 0;
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  filter: invert(1) brightness(1.2); /* メインの文字ロゴは純粋な白に反転 */
  /* Appears SECOND, after background */
}

.red {
  color: var(--ideza-red);
  font-size: 1.25em;
  vertical-align: baseline;
}

.red-dot {
  color: var(--ideza-red);
  font-size: 1.2em;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Spaced even more and ensuring no markers */
.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.15em;
  /* Larger & Elegantly spaced */
  transition: all 0.3s;
  opacity: 0.8;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--enciera-orange);
}

.nav-cta {
  padding: 12px 32px;
  font-size: clamp(13px, 2.5vw, 16px);
  /* Reliable scaling */
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Layout Sections */
main {
  padding-top: 0;
}

/* Hero handles its own spacing */
.section {
  padding: var(--space-section) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 0px;
  position: relative;
}

.section-title {
  margin-bottom: 320px;
}

/* Single concept view */
.section-subtitle {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 18px;
  color: var(--text-secondary);
  opacity: 0.9;
}

.cta-intro {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 2;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: max(120px, 14vh);
  padding-bottom: max(50px, 7vh);
  box-sizing: border-box;
}

.subtitle {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.8em;
  color: var(--text-primary);
  text-transform: lowercase;
  margin-top: 10px;
  opacity: 0;
  animation: heroEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Refined Profile */
.profile-section {
  position: relative;
}

.profile-layout {
  display: flex;
  align-items: center;
  gap: 80px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 80px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.profile-image-wrapper {
  flex: 0 0 280px;
  position: relative;
}

.profile-image-wrapper::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--enciera-orange);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.3;
  z-index: -1;
}

.profile-img-large {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-text-wrapper {
  flex: 1;
}

.profile-name {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.95;
}

.profile-catchphrase {
  font-family: var(--font-base);
  font-size: 40px;
  margin-bottom: 24px;
  color: var(--text-primary);
  line-height: 1.6;
}

.phrase-line {
  display: inline-block;
  white-space: nowrap;
  /* Prevents orphaned characters */
}

.profile-intro {
  font-size: 19px;
  color: var(--text-secondary);
  /* Balanced grey as requested */
  line-height: 2;
  font-weight: 500;
}

@media (max-width: 768px) {
  .profile-layout {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 40px;
  }

  .profile-image-wrapper {
    flex: 0 0 160px;
    /* Smaller mobile icon */
    width: 160px;
    margin: 0 auto;
  }

  .profile-name {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.95;
}

  .profile-catchphrase {
    font-size: clamp(20px, 5.5vw, 44px);
    white-space: nowrap;
    /* Force the intentional break only */
  }
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 200px;
  margin-top: 120px;
  /* Expanded for story focus */
  margin-bottom: 400px;
  /* Gigantic gap before next section */
}

.work-card {
  background: var(--glass-bg);
  padding: 16px;
  border-radius: var(--radius-card);
  margin: 0 auto;
  width: 100%;
  border: 1px solid var(--glass-border);
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, opacity 0.6s, filter 0.6s;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.work-card:hover::before {
  opacity: 1;
}

.work-img-container {
  width: 100%;
  height: 380px;
  background-color: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

@keyframes imageBreathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.work-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: imageBreathe 10s ease-in-out infinite;
  transform-origin: center;
}

.work-card:hover img {
  animation-play-state: paused;
  transform: scale(1.08);
}

.work-info {
  padding: 24px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-info h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  white-space: nowrap;
  /* Prevents the heading from breaking unnaturally */
  overflow: hidden;
  text-overflow: ellipsis;
  /* Ensures it stays clean if titles are very long */
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 12, 10, 0.95); /* ダーク背景に変更 */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
  padding: 40px 24px;
}

.lightbox.active {
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 40px;
  color: var(--text-primary);
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
  z-index: 10000;
}

.close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--enciera-orange);
}

.lightbox-content-wrapper {
  max-width: 460px;
  width: 92%;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: var(--bg-main);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.lightbox-content {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
}

#caption {
  margin-top: 20px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

#lightbox-desc {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  max-width: 100%;
  text-align: justify;
  line-height: 1.6;
}

/* Price Grid */
.glass-section {
  position: relative;
}

.glass-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35); /* ダーク背景用に変更 */
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  z-index: -1;
  /* Relaxed Mist-Edge masking - sharper boundary than before */
  mask-image: linear-gradient(to bottom, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 3%, black 97%, transparent);
}

.price-grid-wrapper {
  position: relative;
  margin-top: 48px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 48px 36px 56px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 255, 255, 0.06);
  }
}

/* Featured / Popular Plan 02 */
.price-card-popular {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(240, 220, 190, 0.4);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55), 0 0 40px rgba(240, 215, 175, 0.07);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f0dfc8 0%, #caa67d 100%);
  color: #1a1512;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 4px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.price-card-badge {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  opacity: 0.8;
  margin-bottom: 8px;
  text-align: center;
}

.price-card-header {
  text-align: center;
  margin-bottom: 16px;
}

.plan-type-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

.plan-type-tag.highlight {
  color: #f0dfc8;
}

.plan-title {
  font-family: var(--font-base);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.plan-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Price Dual Structure (Initial fee + Monthly support) */
.price-dual-wrapper {
  margin: 16px 0 20px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.price-initial-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.price-initial-label {
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.price-initial-val {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.price-initial-val.zero {
  color: #f0dfc8;
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(240, 223, 200, 0.35);
}

.price-initial-tag {
  font-family: var(--font-base);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(240, 223, 200, 0.2);
  color: #f0dfc8;
  border: 1px solid rgba(240, 223, 200, 0.4);
  letter-spacing: 0.04em;
}

.price-initial-tag.note {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.16);
}

.price-card .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 2px 0 0;
  border-top: none;
  border-bottom: none;
}

.price-currency {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 2px;
}

.price-number {
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.price-unit {
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 4px;
}


.plan-target {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 22px;
  text-align: left;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 2px solid rgba(240, 220, 190, 0.4);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features li {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245, 242, 235, 0.88);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-check {
  color: #caa67d;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-cta-wrapper {
  margin-top: auto;
  padding-top: 8px;
}

.btn-plan-select {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-base);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-plan-select.primary {
  background: linear-gradient(135deg, rgba(240, 220, 190, 0.2) 0%, rgba(200, 165, 125, 0.12) 100%);
  border-color: rgba(240, 220, 190, 0.45);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (hover: hover) {
  .btn-plan-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  }
  .btn-plan-select.primary:hover {
    background: linear-gradient(135deg, rgba(240, 220, 190, 0.32) 0%, rgba(200, 165, 125, 0.22) 100%);
    border-color: rgba(240, 220, 190, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 220, 190, 0.2);
  }
}

/* Price Guide Box (LP length clarity & options) */
.price-guide-box {
  margin-top: 56px;
  padding: 36px 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.guide-icon {
  font-size: 20px;
}

.guide-title {
  font-family: var(--font-base);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.guide-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 24px;
  word-break: auto-phrase;
}

.options-flex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.option-item {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  text-align: left;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .option-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
  }
}

.option-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.45;
}

.option-price {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.option-unit {
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Monitor Badge */
.monitor-badge {
  display: inline-block;
  margin-top: 20px;
}

.monitor-badge-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  font-family: var(--font-base);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1.4;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.monitor-pill {
  background: linear-gradient(135deg, #f0dfc8 0%, #caa67d 100%);
  color: #161210;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 2px 9px;
  border-radius: 10px;
  line-height: 1.4;
}

.sp-only {
  display: none;
}

/* Swipe Hints */
.price-grid-wrapper {
  position: relative;
}

.swipe-hint {
  display: none;
  /* Hidden on desktop */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: var(--enciera-orange);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  animation: swipePulse 2s ease-in-out infinite;
}

.swipe-hint-left {
  left: 8px;
}

.swipe-hint-right {
  right: 8px;
}

@keyframes swipePulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
  }
}

.price-card:nth-child(1):hover {
  background: rgba(238, 143, 76, 0.05);
  border-color: rgba(238, 143, 76, 0.4);
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(238, 143, 76, 0.15);
}

.price-card:nth-child(2):hover {
  background: rgba(227, 41, 140, 0.05);
  border-color: rgba(227, 41, 140, 0.4);
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(227, 41, 140, 0.15);
}

.price-card:nth-child(3):hover {
  background: rgba(41, 173, 227, 0.05);
  border-color: rgba(41, 173, 227, 0.4);
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(41, 173, 227, 0.15);
}

/* CTA Section */
@keyframes ctaPop {
  0% {
    transform: scale(0.9) translateY(80px);
    opacity: 0;
  }

  60% {
    transform: scale(1.02) translateY(-10px);
    opacity: 1;
    box-shadow: 0 60px 120px rgba(229, 92, 60, 0.25);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 40px 80px rgba(229, 92, 60, 0.15);
  }
}

.cta-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-card {
  position: relative;
  padding: 120px 60px;
  border-radius: var(--radius-card);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.9) translateY(80px);
  z-index: 10;
  text-align: center;
  box-shadow: 0 50px 150px rgba(0, 0, 0, 0.03);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pearl-glass);
  border-radius: inherit;
  backdrop-filter: blur(160px);
  -webkit-backdrop-filter: blur(160px);
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
  z-index: -1;
}

.cta-section.active .cta-card {
  animation: ctaPop 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.cta-card h2 {
  color: var(--enciera-orange);
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 800;
}

.cta-card p {
  color: var(--text-secondary); /* 暗い背景で見えるように変更 */
  font-size: 18px;
  margin-bottom: 64px; /* Expanded spacing to drop the button down comfortably and give text breathing room */
  font-weight: 500;
}

/* Dedicated Forms */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--enciera-orange);
}

footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
  font-size: 14px;
}

/* 笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊・   CINEMATIC REVEAL ANIMATION SYSTEM
   笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊・*/

/* Elements that should be hidden until scrolled into view MUST have the .reveal class in HTML */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  /* Premium mild blur reveal for faster performance */
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered delay for elements within the same view - snappier triggers */
.section-subtitle.active {
  transition-delay: 0.1s;
}

.works-grid.active {
  transition-delay: 0.05s; 
}

.price-grid-wrapper.active {
  transition-delay: 0.15s;
}

.monitor-badge.active {
  transition-delay: 0.1s;
}

/* Profile Staggered Entry (Only triggers when .profile-layout.active) */
.profile-image-wrapper {
  opacity: 0;
  transform: translateX(-24px);
  filter: blur(6px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

.profile-text-wrapper {
  opacity: 0;
  transform: translateX(24px);
  filter: blur(6px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.reveal.active .profile-image-wrapper,
.reveal.active .profile-text-wrapper {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* Portfolio cards: staggered blur-fade-up (set by JS) */
.work-card {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(6px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card.card-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Section headers: basic reveal */
.section-header.active {
  transition-delay: 0.1s;
}

/* Price cards: staggered entry from bottom */
.price-card {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.price-card:nth-child(1) {
  transition-delay: 0.2s;
}

.price-card:nth-child(2) {
  transition-delay: 0.5s;
}

.price-card:nth-child(3) {
  transition-delay: 0.8s;
}

.reveal.active .price-card {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊・   RESPONSIVE DESIGN SYSTEM (REFRACTORED)
   笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊・*/

/* [1] Laptop/Tablet (Small Desktop) */
@media (max-width: 1200px) {
  .glass-nav {
    padding: 8px 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .nav-cta {
    padding: 10px 24px;
  }

  .section-title {
    margin-bottom: 240px;
  }

  .profile-layout {
    gap: 60px;
    padding: 60px;
  }

  .works-grid {
    column-gap: 30px;
    row-gap: 120px;
  }
}

/* [2] Mid-Tablet (iPad) */
@media (max-width: 992px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .section {
    padding: 180px 0;
  }

  .profile-layout {
    flex-direction: column;
    text-align: center;
    padding: 32px 16px;
    gap: 32px;
    max-width: 95vw;
    margin: 0 auto;
  }

  .profile-image-wrapper {
    flex: 0 0 160px;
    width: 160px;
    margin: 0 auto;
  }

  .profile-name {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.95;
  }

  .profile-catchphrase {
    font-size: 28px;
  }

  .profile-intro,
  .cta-intro {
    font-size: 17px;
    line-height: 1.8;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
  }

  .price-grid {
    gap: 20px;
  }

  .price-card {
    padding: 40px 24px 48px;
  }

  .options-flex-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* [2.5] Tablet & Mobile Sticky Nav to prevent layout overlaps */
@media (max-width: 1024px) {
  .glass-nav {
    width: 94vw;
    padding: 6px 12px;
    border-radius: 12px;
  }

  .nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 36px;
    position: relative;
  }

  .nav-logo img {
    height: 26px !important;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
  }
}

/* [3] Mobile (iPhone/Pixel) */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(32px, 9vw, 48px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    margin-bottom: 120px;
  }

  /* Hero Content */
  .hero-logo-main {
    width: 100%;
    text-align: center;
  }

  .hero-logo-main img {
    max-width: 76vw !important;
    padding: 0 16px !important;
    height: auto;
  }

  .subtitle {
    font-size: 12px !important;
    letter-spacing: 0.4em !important;
    margin-top: 8px !important;
  }

  /* Profile mobile fix */
  .profile-catchphrase {
    font-size: clamp(18px, 6vw, 24px) !important;
    white-space: normal;
    line-height: 1.6;
    max-width: 100%;
    margin: 24px auto;
  }

  .phrase-line {
    display: inline-block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    /* Force the intentional split only */
  }

  .profile-name {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.95;
  }

  .profile-intro,
  .cta-intro {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .works-grid {
    grid-template-columns: 1fr;
    row-gap: 80px;
  }

  .work-img-container {
    height: 300px;
  }

  /* Pricing Carousel for Mobile Comfort */
  .price-grid-wrapper {
    overflow: visible;
  }

  .price-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 16px 20px 40px;
    margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
  }

  .price-grid::-webkit-scrollbar {
    display: none;
  }

  .price-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
    min-width: 275px;
    max-width: 320px;
    padding: 40px 22px 48px;
    border-radius: 24px;
  }

  .price-number {
    font-size: 42px;
  }

  .price-currency {
    font-size: 18px;
  }

  .plan-title {
    font-size: 19px;
  }

  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Price Guide Box on Mobile */
  .price-guide-box {
    margin-top: 40px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .guide-title {
    font-size: 15.5px;
  }

  .guide-text {
    font-size: 13px;
    line-height: 1.75;
  }

  .options-flex-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .option-item {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .option-label {
    font-size: 11.5px;
  }

  .option-price {
    font-size: 14.5px;
  }

  /* Forms & CTA */
  .form-container {
    padding: 40px 20px;
    width: 100%;
  }

  .cta-card {
    padding: 80px 24px;
    width: 95%;
  }

  .cta-card h2 {
    font-size: 28px;
  }

  /* Monitor badge: elegant warm badge on mobile */
  .sp-only {
    display: inline;
  }

  .monitor-badge {
    margin-top: 14px;
    width: 100%;
  }

  .monitor-badge-text {
    font-size: 13px !important;
    font-family: var(--font-base);
    padding: 6px 14px;
    line-height: 1.5;
    max-width: 95vw;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* [4] Ultra-Small Mobile (Mini/SE) */
@media (max-width: 360px) {
  .nav-cta {
    padding: 6px 12px;
    font-size: 11px;
  }

  .nav-logo img {
    height: 22px !important;
  }

  .profile-catchphrase {
    font-size: 18px;
  }

  .price-card {
    flex: 0 0 90%;
    min-width: 250px;
    padding: 36px 18px 42px;
  }

  .options-flex-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .subtitle {
    font-size: 10px !important;
    letter-spacing: 0.3em !important;
  }

  .monitor-badge-text {
    font-size: 12px !important;
  }
}

/* 笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊・   FEATURED SOLUTION SHOWCASE SECTION
   笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊絶武笊・*/
.special-feature-section {
  padding: 140px 0;
  position: relative;
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 160px;
  margin-top: 100px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.showcase-item.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.showcase-item.reverse .showcase-visual {
  order: 2;
}

.showcase-item.reverse .showcase-content {
  order: 1;
}

/* Visual Side & Clickable Action Wrapping */
.showcase-visual {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
}

.clickable-visual {
  text-decoration: none;
  display: block;
  width: 100%;
  cursor: pointer;
}

.browser-frame-wrapper {
  position: relative;
  width: 100%;
}

.browser-frame {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-frame.dark-mode-frame {
  background: #1a1a1a;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

/* Hover lifts the image frame when linked */
.clickable-visual:hover .browser-frame {
  transform: translateY(-18px) scale(1.02);
  box-shadow: 0 60px 130px rgba(0, 0, 0, 0.15);
}

.browser-top {
  height: 36px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dark-mode-frame .browser-top {
  background: #2d2d2d;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.frame-dot.red { background: #ff5f56; }
.frame-dot.yellow { background: #ffbd2e; }
.frame-dot.green { background: #27c93f; }

.frame-url {
  margin-left: 20px;
  background: #ffffff;
  flex-grow: 1;
  max-width: 300px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
}

.dark-mode-frame .frame-url {
  background: #3d3d3d;
  color: #aaa;
}

.frame-body {
  width: 100%;
  line-height: 0;
}

.frame-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* �検 Deep Cloud Flow Animation reserved ONLY for Final CTA �検 */
@keyframes cloudMorphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate3d(0, 0, 0) rotate(0.01deg);
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate3d(0, -15px, 0) rotate(0.5deg);
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate3d(0, 0, 0) rotate(0.01deg);
  }
}

/* 笘・ｸ・Dedicated Aura Morph Animation (NO transform to prevent double-translation drift) 笘・ｸ・*/
@keyframes cloudAuraMorphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.dynamic-btn-group {
  width: 100%;
  text-align: center;
}

/* SPECIAL INTERNAL DEMO PILL BUTTONS (Stripped of morph, optimized elegance) */
.btn-special-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: #ffffff;
  color: #0a0a0c;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-special-float:hover {
  background: #0a0a0c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-special-float:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 50px rgba(218, 62, 62, 0.35);
}

/* Harmonized Violet/Blue gentle palette sampled from Background Blob-4 & Blob-2 */
.btn-gentle-float {
  background: linear-gradient(135deg, #8e44ad 0%, #29ade3 100%);
  box-shadow: 0 12px 30px rgba(142, 68, 173, 0.2);
}

.btn-gentle-float:hover {
  box-shadow: 0 20px 50px rgba(142, 68, 173, 0.35);
}

/* �荘 NEW CLOUD MORPH MASTER CTA BUTTON (Upgraded to Real Soft Hazy Cloud) �荘 */


/* 笘・ｸ・The Hazy Floating Cloud Vapor Aura (Soft, layered blur backing) 笘・ｸ・*/




/* The cloud mist dynamically expands and diffuses deeper on hover */


/* �検 Shine Reflection Overlay Effect on Hover �検 */
.ripple-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg) translate3d(0,0,0);
  transition: none;
  pointer-events: none;
}

.ripple-shine:hover::before {
  left: 160%;
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Content Styles */
.showcase-content {
  padding: 0 20px;
}

.showcase-headline {
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 28px;
  color: var(--text-primary);
  font-weight: 700;
}

/* (NEW) Utility class to prevent orphans */
.text-no-wrap {
  display: inline-block;
  white-space: nowrap;
}

.showcase-text {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 36px;
  text-align: justify;
  word-break: auto-phrase;
}

.showcase-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-highlights li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

.showcase-highlights li::before {
  content: "笨・;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--enciera-orange);
  font-weight: 900;
  font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .showcase-item, .showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .showcase-item.reverse .showcase-visual {
    order: 1;
  }
  
  .showcase-item.reverse .showcase-content {
    order: 2;
  }
  
  .feature-showcase {
    gap: 120px;
  }
  
  .showcase-content {
    padding: 0 15px;
    text-align: center;
  }
  
  .showcase-headline {
    margin-top: 20px;
    font-size: clamp(22px, 6vw, 28px);
  }
  
  .showcase-highlights {
    display: inline-block;
    text-align: left;
    max-width: 90%;
  }
  
  .showcase-visual {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .special-feature-section {
    padding: 80px 0;
  }
  
  .feature-showcase {
    margin-top: 40px;
    gap: 80px;
  }
  
  .showcase-headline {
    font-size: clamp(20px, 5.5vw, 24px);
    line-height: 1.4;
  }
  
  .showcase-text {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    padding: 0 5px;
  }
  
  .btn-special-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: #ffffff;
  color: #0a0a0c;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-special-float:hover {
  background: #0a0a0c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}
  
  
  
  .showcase-visual {
    gap: 32px;
  }
}
#works {
  display: block !important;
  padding: 80px 0;
  overflow: visible;
}

/* WebGL canvas container styling removed - 3D backgrounds disabled for performance */

.works-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  perspective: 1200px;
}

.works-slider-container {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  cursor: grab;
  padding: 40px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  overflow: -moz-scrollbars-none;
}

.works-slider-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.works-slider-container.active {
  cursor: grabbing;
}

.works-slider-track {
  display: flex;
  gap: 30px;
  padding-left: 80px;
  padding-right: 80px;
  transform-style: preserve-3d;
  align-items: center;
}

/* Base Work Card Override for Slider - Snappier transition speed (0.25s) */
.works-slider-track .work-card {
  flex: 0 0 320px;
  width: 320px;
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), 
              filter 0.25s, 
              box-shadow 0.25s;
  opacity: 0.5;
  filter: blur(2px);
  transform: scale(0.85) translateZ(0px);
  margin: 0; /* Clear grid margins */
  z-index: 1;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity, filter;
  cursor: pointer;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Force grab cursor to close during active drag */
.works-slider-container.active .work-card {
  cursor: grabbing !important;
}

/* Active centered card styling - starts at same base scale(0.9) as side cards */
.works-slider-track .work-card.active-slide {
  opacity: 1;
  filter: blur(0);
  transform: scale(0.9) rotateY(0deg) translateZ(50px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Active centered card: zooms to 1.05 and comes forward on Z-axis only when hovered */
.works-slider-track .work-card.active-slide:hover {
  transform: scale(1.05) translateZ(100px) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  z-index: 15;
}

/* Left / Right Card rotations */
.works-slider-track .work-card.left-slide {
  transform: scale(0.9) rotateY(20deg) translateZ(20px);
  opacity: 0.75;
  filter: blur(1px);
  z-index: 5;
}

.works-slider-track .work-card.right-slide {
  transform: scale(0.9) rotateY(-20deg) translateZ(20px);
  opacity: 0.75;
  filter: blur(1px);
  z-index: 5;
}

.works-slider-track .work-card.far-left-slide {
  transform: scale(0.9) rotateY(20deg) translateZ(0px);
  opacity: 0.4;
  filter: blur(2px);
  z-index: 2;
}

.works-slider-track .work-card.far-right-slide {
  transform: scale(0.9) rotateY(-20deg) translateZ(0px);
  opacity: 0.4;
  filter: blur(2px);
  z-index: 2;
}

/* Subtle hover response for side cards too, keeping their 3D angles */
.works-slider-track .work-card.left-slide:hover,
.works-slider-track .work-card.far-left-slide:hover {
  transform: scale(0.95) rotateY(15deg) translateZ(40px) !important;
  opacity: 0.9;
  filter: blur(0);
}

.works-slider-track .work-card.right-slide:hover,
.works-slider-track .work-card.far-right-slide:hover {
  transform: scale(0.95) rotateY(-15deg) translateZ(40px) !important;
  opacity: 0.9;
  filter: blur(0);
}

/* Image container fixed height for slider consistency */
.works-slider-track .work-card .work-img-container {
  height: 380px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.works-slider-track img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Slide Navigation Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
}

.btn-special-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: #ffffff;
  color: #0a0a0c;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-special-float:hover {
  background: #0a0a0c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.showcase-visual {
  gap: 32px;
}
#works {
  display: block !important;
  padding: 80px 0;
  overflow: visible;
}

/* WebGL canvas container styling removed - 3D backgrounds disabled for performance */

.works-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  perspective: 1200px;
}

.works-slider-container {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  cursor: grab;
  padding: 40px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  overflow: -moz-scrollbars-none;
}

.works-slider-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.works-slider-container.active {
  cursor: grabbing;
}

.works-slider-track {
  display: flex;
  gap: 30px;
  padding-left: 80px;
  padding-right: 80px;
  transform-style: preserve-3d;
  align-items: center;
}

/* Base Work Card Override for Slider - Snappier transition speed (0.25s) */
.works-slider-track .work-card {
  flex: 0 0 320px;
  width: 320px;
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), 
              filter 0.25s, 
              box-shadow 0.25s;
  opacity: 0.5;
  filter: blur(2px);
  transform: scale(0.85) translateZ(0px);
  margin: 0; /* Clear grid margins */
  z-index: 1;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity, filter;
  cursor: pointer;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Force grab cursor to close during active drag */
.works-slider-container.active .work-card {
  cursor: grabbing !important;
}

/* Active centered card styling - starts at same base scale(0.9) as side cards */
.works-slider-track .work-card.active-slide {
  opacity: 1;
  filter: blur(0);
  transform: scale(0.9) rotateY(0deg) translateZ(50px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Active centered card: zooms to 1.05 and comes forward on Z-axis only when hovered */
.works-slider-track .work-card.active-slide:hover {
  transform: scale(1.05) translateZ(100px) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  z-index: 15;
}

/* Left / Right Card rotations */
.works-slider-track .work-card.left-slide {
  transform: scale(0.9) rotateY(20deg) translateZ(20px);
  opacity: 0.75;
  filter: blur(1px);
  z-index: 5;
}

.works-slider-track .work-card.right-slide {
  transform: scale(0.9) rotateY(-20deg) translateZ(20px);
  opacity: 0.75;
  filter: blur(1px);
  z-index: 5;
}

.works-slider-track .work-card.far-left-slide {
  transform: scale(0.9) rotateY(20deg) translateZ(0px);
  opacity: 0.4;
  filter: blur(2px);
  z-index: 2;
}

.works-slider-track .work-card.far-right-slide {
  transform: scale(0.9) rotateY(-20deg) translateZ(0px);
  opacity: 0.4;
  filter: blur(2px);
  z-index: 2;
}

/* Subtle hover response for side cards too, keeping their 3D angles */
.works-slider-track .work-card.left-slide:hover,
.works-slider-track .work-card.far-left-slide:hover {
  transform: scale(0.95) rotateY(15deg) translateZ(40px) !important;
  opacity: 0.9;
  filter: blur(0);
}

.works-slider-track .work-card.right-slide:hover,
.works-slider-track .work-card.far-right-slide:hover {
  transform: scale(0.95) rotateY(-15deg) translateZ(40px) !important;
  opacity: 0.9;
  filter: blur(0);
}

/* Image container fixed height for slider consistency */
.works-slider-track .work-card .work-img-container {
  height: 380px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.works-slider-track img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Slide Navigation Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.slide-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slide-arrow.prev-btn {
  left: 5vw;
}

.slide-arrow.next-btn {
  right: 5vw;
}

/* Hide arrows on mobile to keep clean space, swipes are native */
@media (max-width: 768px) {
  .slide-arrow {
    display: none;
  }
  .works-slider-wrapper {
    margin: 30px 0;
  }
  .works-slider-track {
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }
  .works-slider-track .work-card {
    flex: 0 0 260px;
    width: 260px;
  }
  .works-slider-track .work-card .work-img-container {
    height: 310px; /* Shorter cards on mobile */
  }
}

/* Progress Indicator */
.slider-indicator-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.slider-progress-track {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.slider-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f1c40f, #ee8f4c);
  border-radius: 2px;
  transition: width 0.1s ease-out;
}

.slider-hint-text {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: bold;
  letter-spacing: 1px;
  opacity: 0.8;
  animation: bounceHorizontal 2.5s infinite;
}

@keyframes bounceHorizontal {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* --- Mobile Performance Optimization overrides --- */
@media (max-width: 767px) {
  /* 1. Remove expensive blur filters from slider cards on mobile */
  .works-slider-track .work-card.left-slide,
  .works-slider-track .work-card.right-slide,
  .works-slider-track .work-card.far-left-slide,
  .works-slider-track .work-card.far-right-slide,
  .works-slider-track .work-card.left-slide:hover,
  .works-slider-track .work-card.far-left-slide:hover,
  .works-slider-track .work-card.right-slide:hover,
  .works-slider-track .work-card.far-right-slide:hover {
    filter: none !important;
  }

  /* 2. Reduce heavy backdrop-filter blur radii to boost scroll speed */
  .glass-nav::before,
  .price-card::before,
  .cta-card::before {
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
  }
}

/* --- Hamburger Menu & Mobile Overlay Styling --- */
.hamburger-btn {
  display: none !important;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 12, 10, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 10000;
  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 90%;
  max-width: 400px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0;
}

.mobile-nav-links a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: var(--enciera-orange);
}

.mobile-menu-cta {
  width: 100%;
  text-align: center;
  font-size: 16px;
  padding: 14px 28px;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
}

/* Kuroko Lab Ambient Hero Glow & High-End Aesthetic */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: max(120px, 14vh);
  padding-bottom: max(50px, 7vh);
  box-sizing: border-box;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: min(85vw, 650px);
  height: min(85vw, 650px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  animation: pulseAura 8s ease-in-out infinite alternate;
}

@keyframes pulseAura {
  0% { transform: translate(-50%, -60%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -60%) scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-statement {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, rgba(0,0,0,0) 70%);
  border-radius: 24px;
  padding: 12px 24px;
}

/* Elite Glass Card Hover Interaction (Ultra-Smooth 60fps) */
.work-card, .feature-card, .price-card, .profile-layout {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
  transform: translateZ(0);
}

.work-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Glass Nav Precision Polish */
.glass-nav {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
}

/* Pure White Cloud Morphing Button (くろこらぼ 白雲仕様) */
.btn-cloud-morph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 22px 64px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 240, 245, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #0a0a0c !important;
  text-decoration: none;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
  border-radius: 50px;
  box-shadow: 
    0 20px 50px rgba(255, 255, 255, 0.15),
    0 0 40px rgba(255, 255, 255, 0.1),
    inset 0 2px 10px rgba(255, 255, 255, 1);
  animation: cloudMorphing 7s ease-in-out infinite;
  will-change: transform, border-radius;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.btn-cloud-morph::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: inherit;
  filter: blur(16px);
  opacity: 0.85;
  z-index: -1;
  animation: cloudAuraMorphing 7s ease-in-out infinite;
  transition: all 0.5s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .btn-cloud-morph:hover {
    transform: scale(1.04) translate3d(0, -6px, 0) !important;
    background: #ffffff !important;
    box-shadow: 
      0 30px 70px rgba(255, 255, 255, 0.25),
      0 0 60px rgba(255, 255, 255, 0.2),
      inset 0 2px 12px rgba(255, 255, 255, 1) !important;
  }
  .btn-cloud-morph:hover::after {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    filter: blur(24px);
    opacity: 1;
  }
}

/* High-End Circular Floating Action Button (大型・円形おしゃれ追従CTA) */
.floating-circle-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: rgba(16, 16, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 255, 255, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  cursor: pointer;
}

/* Subtle outer aura ring that pulses gently */
.floating-circle-cta::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: circlePulse 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes circlePulse {
  0% { transform: scale(0.96); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.8; border-color: rgba(255, 255, 255, 0.35); }
  100% { transform: scale(0.96); opacity: 0.3; }
}

.floating-circle-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-circle-text {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .floating-circle-cta:hover {
    transform: translateY(-5px) scale(1.06);
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 
      0 20px 45px rgba(0, 0, 0, 0.7),
      0 0 35px rgba(255, 255, 255, 0.35);
  }
  .floating-circle-cta:hover .floating-circle-icon {
    transform: translateY(-2px) scale(1.1);
    color: #0a0a0c;
  }
  .floating-circle-cta:hover .floating-circle-icon path {
    stroke: #0a0a0c;
  }
  .floating-circle-cta:hover .floating-circle-text {
    color: #0a0a0c;
  }
  .floating-circle-cta:hover::before {
    border-color: rgba(255, 255, 255, 0.6);
  }
}

@media (max-width: 768px) {
  .floating-circle-cta {
    bottom: 22px;
    right: 20px;
    width: 62px;
    height: 62px;
  }
  .floating-circle-icon {
    width: 20px;
    height: 20px;
  }
  .floating-circle-text {
    font-size: 8px;
  }
}



/* Downscaled Atmospheric Showcase Display (コンパクト展示台) */
.seamless-img {
  width: 100% !important;
  height: auto !important;
  max-width: 360px !important;
  max-height: 240px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.03) !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  filter: brightness(0.92) contrast(1.05) !important;
  transition: all 0.4s ease !important;
}

.seamless-mockup-wrapper:hover .seamless-img {
  filter: brightness(1) contrast(1.08) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-4px) scale(1.02) !important;
}

.seamless-mockup {
  padding: 10px 0 !important;
  width: auto !important;
}

.showcase-visual {
  gap: 24px !important;
}

@media (max-width: 768px) {
  .seamless-img {
    max-width: 280px !important;
    max-height: 190px !important;
  }
}

/* Large Ultra-Tactile Circular Contact Button (88px 大口径) */
.floating-circle-cta {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  z-index: 9999 !important;
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: rgba(14, 14, 18, 0.94) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.75),
    0 0 30px rgba(255, 255, 255, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform: translateZ(0) !important;
  cursor: pointer !important;
}

.floating-circle-cta::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: circlePulse 3s infinite ease-in-out;
  pointer-events: none;
}

.floating-circle-icon {
  width: 28px !important;
  height: 28px !important;
}

.floating-circle-text {
  font-family: var(--font-en);
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

@media (hover: hover) {
  .floating-circle-cta:hover {
    transform: translateY(-6px) scale(1.07) !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 
      0 25px 60px rgba(0, 0, 0, 0.8),
      0 0 45px rgba(255, 255, 255, 0.4) !important;
  }
  .floating-circle-cta:hover .floating-circle-icon path {
    stroke: #0a0a0c !important;
  }
  .floating-circle-cta:hover .floating-circle-text {
    color: #0a0a0c !important;
  }
}

@media (max-width: 768px) {
  .floating-circle-cta {
    bottom: 24px !important;
    right: 20px !important;
    width: 74px !important;
    height: 74px !important;
  }
  .floating-circle-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .floating-circle-text {
    font-size: 9px !important;
  }
}

/* Lab Aesthetics: Online Status Beacon & Technical Tags */
.lab-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  margin-bottom: 2px;
  backdrop-filter: blur(8px);
}

.lab-beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px #ffffff; }
  100% { opacity: 0.4; transform: scale(0.85); }
}

.lab-beacon-text {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.lab-spec-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 12px;
  border-radius: 4px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

/* Contain hover light ripple strictly inside button boundary */
.ripple-shine, 
.btn-special-float, 
.btn-gentle-float, 
.btn-primary, 
.btn-secondary {
  overflow: hidden !important;
  position: relative !important;
  transform: translateZ(0); /* Clean GPU containment */
}

.ripple-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}

@media (hover: hover) {
  .ripple-shine:hover::before {
    left: 180%;
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Showcase Alignment & Identical 3-Image Sizing Uniformity */


/* Flawless Showcase Alternating Layout (ゼロ空白・左右バランス完全調和) */
.feature-showcase {
  max-width: 940px !important;
  margin: 80px auto 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 120px !important;
}

/* Base item: Visual is on the LEFT (340px), Content on the RIGHT (1fr) */
.showcase-item {
  display: grid !important;
  grid-template-columns: 340px 1fr !important;
  gap: 48px !important;
  align-items: center !important;
}

.showcase-item .showcase-visual {
  order: 1 !important;
  width: 340px !important;
}

.showcase-item .showcase-content {
  order: 2 !important;
  padding: 0 !important;
}

/* Reverse item: Content on the LEFT (1fr), Visual on the RIGHT (340px) */
.showcase-item.reverse {
  grid-template-columns: 1fr 340px !important;
  gap: 48px !important;
}

.showcase-item.reverse .showcase-content {
  order: 1 !important;
}

.showcase-item.reverse .showcase-visual {
  order: 2 !important;
}

/* Perfectly sized and contained images */
.seamless-mockup-wrapper {
  display: block !important;
  width: 340px !important;
  height: 215px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
  background: #111115 !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.seamless-mockup {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

.seamless-img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.showcase-actions {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: 14px !important;
}

.showcase-actions .btn-special-float {
  width: 100% !important;
  max-width: 340px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
}

/* Mobile & Tablet Responsive */
@media (max-width: 820px) {
  .showcase-item, .showcase-item.reverse {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .showcase-item .showcase-visual, 
  .showcase-item.reverse .showcase-visual {
    order: 1 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  .showcase-item .showcase-content, 
  .showcase-item.reverse .showcase-content {
    order: 2 !important;
    text-align: center !important;
  }
  .seamless-mockup-wrapper {
    width: 100% !important;
    max-width: 320px !important;
    height: 200px !important;
  }
  .showcase-highlights {
    text-align: left !important;
    display: inline-block !important;
  }
}

/* Ultra-Luxury Frosted Glass Lab Button (フロストクリスタル・すりガラス仕様) */
.btn-special-float, 
.btn-gentle-float,
.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.45) !important; /* Top crystal highlight */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  padding: 13px 28px !important;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

@media (hover: hover) {
  .btn-special-float:hover, 
  .btn-gentle-float:hover,
  .btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: #ffffff !important;
    box-shadow: 
      0 15px 40px rgba(0, 0, 0, 0.7),
      0 0 25px rgba(255, 255, 255, 0.15),
      inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px) scale(1.015) !important;
  }
}

/* Elegant Frosted White Cloud Button (一番下の雲ボタンもおしゃれな半透明発光雲へ) */
.btn-cloud-morph {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 255, 255, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
}

@media (hover: hover) {
  .btn-cloud-morph:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    border-top: 2px solid #ffffff !important;
    color: #ffffff !important;
    box-shadow: 
      0 25px 60px rgba(0, 0, 0, 0.7),
      0 0 45px rgba(255, 255, 255, 0.2),
      inset 0 2px 6px rgba(255, 255, 255, 0.7) !important;
  }
}

/* Unified Frosted Crystal Glass Lab Button (.btn-lab-glass) */
.btn-lab-glass {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 340px !important;
  padding: 13px 26px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transform: translateZ(0);
}

.btn-lab-glass svg {
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .btn-lab-glass:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 
      0 15px 40px rgba(0, 0, 0, 0.7),
      0 0 25px rgba(255, 255, 255, 0.2),
      inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px) scale(1.02) !important;
  }
  .btn-lab-glass:hover svg {
    transform: translateX(4px);
  }
}

/* Enlarge Floating Circular CTA to 108px (PC) with Tactile Scale */
.floating-circle-cta {
  width: 120px !important;
  height: 120px !important;
  bottom: 36px !important;
  right: 36px !important;
  gap: 5px !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(255, 255, 255, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.45) !important;
}

.floating-circle-cta::before {
  top: -10px !important;
  left: -10px !important;
  right: -10px !important;
  bottom: -10px !important;
}

.floating-circle-icon {
  width: 38px !important;
  height: 38px !important;
}

.floating-circle-text {
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  font-weight: 800 !important;
}

/* Strict Mobile Responsive Balance (375px - 768px) */
@media (max-width: 768px) {
  .floating-circle-cta {
    width: 68px !important;
    height: 68px !important;
    bottom: 20px !important;
    right: 18px !important;
    gap: 3px !important;
  }
  .floating-circle-icon {
    width: 22px !important;
    height: 22px !important;
  }
  .floating-circle-text {
    font-size: 8px !important;
    letter-spacing: 0.12em !important;
  }
  .hero {
    min-height: 80vh !important;
    padding-top: 110px !important;
    padding-bottom: 50px !important;
  }
  .hero-logo-main img {
    max-width: min(82vw, 300px) !important;
  }
  .btn-lab-glass {
    max-width: 300px !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
  }
}
