/* ============================================
   AdLink Group - Premium Design System
   Light Theme - Brand Color: #00A0E9
   ============================================ */

/* ============================================
   AdLink Group - Premium Design System
   Light Theme - Brand Color: #00A0E9
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Noto+Sans+JP:wght@300;400;500;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
/* --- Smooth scroll offset for fixed header --- */
/* Japanese natural phrase-based line-breaking (文節単位で折り返し) */
body { word-break: auto-phrase; line-break: strict; overflow-wrap: normal; }
:target {
  scroll-margin-top: 80px;
}
section[id] {
  scroll-margin-top: 80px;
}
#hero {
  scroll-margin-top: 0; /* Hero should land at exact top */
}

/* --- Base --- */
:root {
    --color-primary: #1A1C1E;
    --color-accent: #7C8794;
    --color-accent-deep: #5C6672;
    --gold: #8A93A0;
    --gold-light: #C3CAD3;
    --gold-deep: #5C6672;
    --silver: #C4C9CF;
    --platinum: #E4E7EA;
    --surface-light: #FAFBFC;
    --surface-white: #ffffff;
    --surface-card: rgba(255, 255, 255, 0.72);
    --surface-subtle: #EEF0F2;
    --glass-bg: rgba(255, 255, 255, 0.68);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-blur: blur(24px);
    --gradient-accent: linear-gradient(135deg, #9AA3AE 0%, #6C7682 100%);
    --gradient-gold: linear-gradient(135deg, #DDE1E5 0%, #AEB6C0 45%, #7C8794 100%);
    --gradient-text: linear-gradient(135deg, #363B41 0%, #1A1C1E 100%);
    --border-subtle: rgba(30, 34, 40, 0.10);
    --border-accent: rgba(124, 135, 148, 0.38);
    --shadow-accent: 0 8px 26px rgba(90, 100, 115, 0.18);
    --shadow-accent-lg: 0 16px 44px rgba(90, 100, 115, 0.24);
    --shadow-md: 0 4px 24px rgba(40, 50, 65, 0.07);
    --shadow-lg: 0 12px 48px rgba(40, 50, 65, 0.10);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDPGothic', 'Yu Gothic', 'Noto Sans JP', sans-serif;
    --font-serif: 'Cormorant Garamond', 'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --container-max: 1280px;
    --container-padding: 24px;
    --container-narrow: 800px;
    --section-spacing: clamp(50px, 7vw, 100px);
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 72px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-pill: 980px;
    --ease-out: cubic-bezier(0.15, 0, 0.15, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.4s;
    --text-primary: #23262A;
    --text-secondary: #545B63;
    --text-tertiary: #8B9199;
    --text-muted: #7E848C;
    --text-accent: #66707C;
    --text-inverse: #ffffff;
    --surface-dark: #1A1C1E;
    --surface-dark-pure: #0D0E10;
}

/* Micro-interactions moved to CSS */
.btn, .editorial-item, .card {
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.btn:hover, .editorial-item:hover {
    transform: scale(1.02);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #ffffff; /* 鬮｢・ｭ隴ｴ・ｧ陷搾ｽｹ驛｢・ｧ陋幢ｽｵ繝ｻ繧会ｽｹ・ｧ郢晢ｽｻ繝ｻ繧会ｽｹ・ｧ郢晢ｽｻ遯ｶ・ｲ鬮ｫ遨ゑｽｹ譏ｶ譁｡驛｢・ｧ闕ｵ譎｢・ｽ閧ｲ・ｸ・ｺ郢晢ｽｻ遶企ｦｴ・ｨ・ｾ闕ｵ蜉ｱ繝ｻ髯具ｽｹ郢晢ｽｻ*/
    scrollbar-gutter: stable;
    /* iOS Safariの自動文字拡大を無効化：実機とPC検証の改行・サイズを一致させる */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body { font-family: var(--font-sans); background: #ffffff;
    color: var(--text-primary);
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.03em;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3%3C/filter%3%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3%3C/svg%3");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* JavaScript Particle Background */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    /* Hero video/overlay sits above this, so it won't bleed through */
    pointer-events: none;
    opacity: 1;
}

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out),
        opacity var(--duration-fast) var(--ease-out);
}

a:hover {
    opacity: 0.8;
}

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

ul,
ol {
    list-style: none;
}

::selection {
    background: rgba(0, 160, 233, 0.15);
    color: var(--text-primary);
}

/* ---------- Layout ---------- */
.section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- Typography System ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-title .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
    font-weight: 400;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(40px, 6vw, 80px) 0;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-alt {
    background: var(--surface-light);
}

.section-dark {
    background: var(--surface-dark);
    color: #ffffff;
}

.section-dark .section-label {
    color: var(--color-accent);
}

.section-dark .section-label::before {
    background: var(--color-accent);
}

.section-dark .section-title {
    color: #ffffff;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--duration-base) var(--ease-out);
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-lg);
    color: #fff;
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-accent);
    border: 1.5px solid var(--border-accent);
    padding: 13px 32px;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
    color: var(--text-accent);
    opacity: 1;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-inverse);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    padding: 13px 32px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-inverse);
    opacity: 1;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-accent);
    padding: 14px 4px;
}

.btn-ghost:hover {
    opacity: 0.7;
    color: var(--text-accent);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn .arrow {
    transition: transform var(--duration-fast) var(--ease-out);
    font-weight: 300;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--duration-base) var(--ease-out);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Light header for light pages */
.header-light {
    background: transparent;
}

.header-light.scrolled {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    max-width: none;
    margin: 0;
    padding: 0 clamp(24px, 3.2vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo:hover {
    opacity: 1;
}

.logo img { height: 80px !important; width: auto; display: block; opacity: 1; }


.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 24px; /* 驍ｵ・ｺ髴郁ｲｻ・ｽ閾･・ｸ・ｺ繝ｻ・ｫ髣厄ｽｴ陷ｻ・ｵ繝ｻ・｣髴郁ｲｻ・ｽ螳夲ｽｬ蝠上・隨ｳ繝ｻ・ｸ・ｺ陝ｶ蜻ｻ・ｽ繝ｻ*/
    transition: color var(--duration-fast) var(--ease-out);
    letter-spacing: 0.02em;
}

.nav a:hover {
    color: var(--text-primary);
    opacity: 1;
}

/* Dropdown / Business Menu */
.nav-item {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    min-width: 220px;
    padding: 12px 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-submenu a:hover {
    background: #f5f5f7;
    color: var(--text-primary);
}

/* Light header for light pages (About, BE WORK, etc.) */
.header-light .nav a {
    color: var(--text-secondary) !important;
}

.header-light .nav a:hover {
    color: var(--text-primary);
}

.header-light .nav a.active {
    color: var(--color-accent);
    font-weight: 500;
}

.nav-cta {
    margin-left: 12px;
}

.nav-cta .btn-primary {
    background: #f5f5f7 !important; /* 鬮ｫ蜍溘・繝ｻ・ｪ髢ｧ・ｴ・つ繝ｻ・ｧ驛｢・ｧ陝ｶ譎｢・ｽ・ｫ陋滂ｽ･繝ｻ竏ｫ・ｹ・ｧ闕ｵ譏ｶ陞ｺ驛｢・ｧ遶丞｣ｹ繝ｻApple鬯ｯ螟ｲ・ｽ・ｨ驛｢・ｧ繝ｻ・ｰ驛｢譎｢・ｽ・ｬ驛｢譎｢・ｽ・ｼ鬮｢・ｭ隴ｴ・ｧ陷搾ｽｹ */
    color: #1d1d1f !important;      /* 髫ｴ竏壹・繝ｻ・ｭ髣埼豪讓ｪ驛｢・ｧ陝ｶ譎｢・ｽ・ｻ陋幢ｽｵ遶企豪・ｸ・ｺ陷会ｽｱ遯ｶ・ｻ鬮｢・ｭ隴ｴ・ｧ陷搾ｽｹ驍ｵ・ｺ繝ｻ・ｨ髯ｷ・ｷ霑ｹ螟よｨｪ驍ｵ・ｺ繝ｻ・ｫ驍ｵ・ｺ繝ｻ・ｪ驛｢・ｧ闕ｵ譏ｴ繝ｻ驛｢・ｧ髮区ｧｫ・ｱ鬥ｴ・ｩ蛹・ｽｽ・ｿ */
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.nav-cta .btn-primary:hover {
    background: #e8e8ed !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1002;
}

.menu-toggle span {
    width: 20px;
    height: 1.2px;
    background: #1d1d1f;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    padding: 120px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1d1d1f;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu-footer .btn-primary {
    width: 100%;
    justify-content: center;
    background: #1d1d1f !important;
    color: #ffffff !important;
    padding: 16px;
    border-radius: 30px;
}

body.no-scroll {
    overflow: hidden !important;
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .header-inner {
        height: 64px;
    }
}

.header-light .menu-toggle span {
    background: var(--text-primary);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION (SPLIT LAYOUT)
   ============================================ */
/* ============================================
   HERO SECTION (3D PARALLAX WRAPPER)
   ============================================ */
.hero-3d-wrapper { position: relative; width: 100%; background-color: #ffffff;
}

.hero-sticky-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    perspective: 1500px;
}

.hero-grid-bg.pattern-b {
    position: absolute;
    top: -50%;
    left: -30%;
    width: 160%;
    height: 250%; /* Taller to allow Y-axis scrolling */
    display: flex;
    justify-content: center;
    gap: 3vw;
    z-index: 0;
    transform: skewY(-12deg) translateZ(-1000px); /* Pattern B starts far away in 3D space */
    opacity: 0; /* Handled by GSAP */
    pointer-events: none;
    transform-style: preserve-3d;
}

.hero-grid-col {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    width: 18%;
    /* Start off-screen vertically, will be scrubbed by GSAP */
    will-change: transform;
}

/* Offset columns so they don't look perfectly aligned */
.col-1 { margin-top: 10%; }
.col-2 { margin-top: -5%; }
.col-3 { margin-top: 5%; }
.col-4 { margin-top: -10%; }
.col-5 { margin-top: 15%; }

.grid-item {
    width: 100%;
    aspect-ratio: 4 / 5; /* Taller image frames */
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.hero-grid-col {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    width: 18%;
    /* Start off-screen vertically, will be scrubbed by GSAP */
    will-change: transform;
}

/* Offset columns so they don't look perfectly aligned */
.col-1 { margin-top: 10%; }
.col-2 { margin-top: -5%; }
.col-3 { margin-top: 5%; }
.col-4 { margin-top: -10%; }
.col-5 { margin-top: 15%; }

.grid-item {
    width: 100%;
    aspect-ratio: 4 / 5; /* Taller image frames */
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.grid-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    filter: saturate(1.1) contrast(1.1);
}

.hero-main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

/* Hero Crossfade Initial Visual */
.hero-crossfade {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.hero-crossfade-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: crossfade 10s infinite;
}

.hero-crossfade-img.img-1 {
    animation-delay: 0s;
}

.hero-crossfade-img.img-2 {
    animation-delay: 5s;
    opacity: 0;
}

@keyframes crossfade {
    0% { opacity: 1; transform: scale(1); }
    40% { opacity: 1; transform: scale(1.05); }
    50% { opacity: 0; transform: scale(1.05); }
    90% { opacity: 0; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Dark background with subtle gradient accent */
.hero-bg-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(0, 210, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0, 119, 182, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #050B14 0%, #0A1628 50%, #050B14 100%) !important;
    z-index: 0;
}

/* Background Orbs (Global Premium MoyaMoya) */
.page-bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 1; /* 驛｢・ｧ繝ｻ・ｻ驛｢・ｧ繝ｻ・ｯ驛｢・ｧ繝ｻ・ｷ驛｢譎｢・ｽ・ｧ驛｢譎｢・ｽ・ｳ鬮｢・ｭ隴ｴ・ｧ陷搾ｽｹ(1)驍ｵ・ｺ繝ｻ・ｨ髯ｷ・ｷ隶呵ｶ｣・ｽ・ｭ陝ｲ・ｨ・ゑｽｰ驍ｵ・ｺ隴擾ｽｴ郢晢ｽｻ髣包ｽｳ驗呻ｽｫ遶企ｦｴ・ｩ貅ｷ隱ｿ繝ｻ・ｽ繝ｻ・ｮ驍ｵ・ｺ陷会ｽｱ・つ遶丞｣ｹ・・Δ譎｢・ｽ・ｳ驛｢譏ｴ繝ｻ・趣ｽｦ驛｢譏ｴ繝ｻ2髣比ｼ夲ｽｽ・･髣包ｽｳ郢晢ｽｻ驍ｵ・ｺ繝ｻ・ｮ髣包ｽｳ闕ｵ譏ｶ繝ｻ驍ｵ・ｺ陷ｷ・ｶ繝ｻ繝ｻ*/
    pointer-events: none;
    overflow: hidden;
}

.page-bg-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6; /* 髣包ｽｳ陜難ｽｼ・つ闕ｵ蜉ｱ繝ｻ髯溯ｶ｣・ｽ・ｦ驛｢・ｧ陷代・・ｽ・ｸ驗呻ｽｫ繝ｻ・｡驍ｵ・ｺ繝ｻ・ｦ雎ｼ・ｶ繝ｻ・ｲ驛｢・ｧ髮区ｩｸ・ｽ・ｼ繝ｻ・ｷ驍ｵ・ｺ闕ｳ蟯ｩ繝ｻ驛｢・ｧ郢晢ｽｻ*/
    will-change: transform, opacity;
}

.page-bg-orbs .orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation: orbFloat 35s ease-in-out infinite;
}

.page-bg-orbs .orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--color-accent-deep) 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    animation: orbFloat 45s ease-in-out infinite reverse;
}

.page-bg-orbs .orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #2D9CDB 0%, transparent 70%);
    top: 50%;
    left: 30%;
    opacity: 0.2;
    animation: orbFloat 30s ease-in-out infinite 5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Background Scrolling Text (AdLink Global) */
.bg-scrolling-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    user-select: none;
    opacity: 0.04; /* 鬯ｮ・ｱ隶抵ｽｫ繝ｻ・ｸ繝ｻ・ｸ驍ｵ・ｺ繝ｻ・ｫ髫ｰ證ｦ・ｽ・ｧ驍ｵ・ｺ陋ｹ・ｻ繝ｻ竏ｫ・ｸ・ｺ繝ｻ・ｪ鬯ｨ・ｾ闕ｵ蜉ｱ繝ｻ髯溯ｶ｣・ｽ・ｦ */
}

.scrolling-text-inner {
    display: flex;
    animation: textScroll 120s linear infinite;
    gap: 40px;
}

.scrolling-text-item {
    font-family: 'Inter', sans-serif;
    font-size: 25vw; /* 鬨ｾ蛹・ｽｽ・ｻ鬯ｮ・ｱ繝ｻ・｢髯晢ｽｷ郢晢ｽｻ遶頑･｢・ｽ・｢隲帷腸・ｧ驍ｵ・ｺ雋・ｽｷ繝ｻ・ｷ繝ｻ・ｨ髯樊ｻゑｽｽ・ｧ驍ｵ・ｺ繝ｻ・ｪ驛｢・ｧ繝ｻ・ｵ驛｢・ｧ繝ｻ・､驛｢・ｧ繝ｻ・ｺ */
    font-weight: 300;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-accent);
    line-height: 1;
}

@keyframes textScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .scrolling-text-item {
        font-size: 40vw; /* 驛｢・ｧ繝ｻ・ｹ驛｢譎・ｽｧ・ｭ郢晢ｽｻ驍ｵ・ｺ繝ｻ・ｧ驍ｵ・ｺ繝ｻ・ｯ鬨ｾ・ｶ繝ｻ・ｸ髯昴・・ｽ・ｾ鬨ｾ・ｧ郢晢ｽｻ遶企豪・ｹ・ｧ陋ｹ・ｻ繝ｻ鬘俶｣斐・・ｧ驍ｵ・ｺ鬮ｦ・ｪ繝ｻ・･ */
    }
    .scrolling-text-inner {
        animation-duration: 80s;
    }
}

/* Split Grid Container */
.hero-split-layout {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: clamp(600px, 85vh, 900px);
    min-height: clamp(600px, 85svh, 900px);
    padding: 0 clamp(24px, 4vw, 64px);
    gap: clamp(32px, 4vw, 64px);
}

/* ---- Left Column: Text ---- */
.hero-text-column {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 0 50px;
}

.hero-text-inner {
    max-width: 560px;
}

/* Section Label */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    opacity: 0.85;
}

.hero-label-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--color-accent);
}

/* Logo Shards Container */
.hero-logo-shards-v2 {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 20px;
    overflow: visible;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #f8fafc !important;
    margin: 0;
    white-space: nowrap;
    visibility: hidden; /* JS驍ｵ・ｺ隰疲ｺｷ蛻晞辧雜｣・ｽ・ｧ驍ｵ・ｺ繝ｻ・ｫ髯具ｽｻ繝ｻ・ｶ髯溷桁・ｽ・｡驍ｵ・ｺ陷ｷ・ｶ繝ｻ迢暦ｽｸ・ｺ雋・∞・ｽ竏ｬ蟠戊ｭ弱・・・恆・･繝ｻ・ｶ髫ｲ・ｷ闕ｵ譏ｴ繝ｻ鬯ｮ・ｱ隶壹・・ｽ・｡繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--color-accent);
}

/* Description */
.hero-edge-gravity .hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 2;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    letter-spacing: 0.03em;
    text-align: left;
    max-width: 100%;
}

/* Action Buttons */
.hero-edge-gravity .hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-edge-gravity .hero-actions .btn-primary {
    padding: 13px 28px;
    font-size: 0.9rem;
}

.hero-edge-gravity .hero-actions .btn-outline {
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 28px;
    font-size: 0.9rem;
}

.hero-edge-gravity .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

/* Stats Grid - Horizontal in left column */
.hero-edge-gravity .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-edge-gravity .hero-stat-card {
    text-align: center;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-edge-gravity .hero-stat-card:last-child {
    border-right: none;
}

.hero-edge-gravity .stat-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #00D2FF 0%, #5CE5E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-edge-gravity .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.hero-edge-gravity .stat-sub {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---- Right Column: Video ---- */
.hero-video-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 80px;
    position: relative;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 75vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(0, 210, 255, 0.08);
}

.hero video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    display: block;
}

/* Subtle cyan glow behind the video card */
.hero-video-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), transparent 40%, rgba(0, 119, 182, 0.1));
    z-index: -1;
    pointer-events: none;
}

/* Logo shard animation pieces */
.logo-shard {
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none;
    will-change: transform, opacity;
    image-rendering: auto;
}


/* ============================================
   SERVICE PAGE HERO (SPLIT)
   ============================================ */
.hero-service {
    padding-top: 140px;
    padding-bottom: 80px;
}

.service-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

.service-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-visual-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-visual-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 16 / 10;
    background: #f5f5f7; /* Apple style light grey */
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.service-visual-container:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.1),
        0 1px 3px rgba(0,0,0,0.04);
}

.service-visual-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}

.service-visual-container:hover img {
    transform: scale(1.04);
}

/* Logo variant: for assets that need padding (like logos on transparent/white) */
.service-visual-container.is-logo {
    padding: 10%;
    background: var(--surface-white);
}

.service-visual-container.is-logo img {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.04));
}

/* Glass variant for more premium feel */
.service-visual-container.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .service-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .service-text-column {
        align-items: center;
    }
    .section-subtitle.container-narrow {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    .service-visual-container {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }
}

/* ============================================
   MAGAZINE / EDITORIAL SYSTEM
   ============================================ */
.font-serif {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* MAGAZINE EDITORIAL HERO */
.editorial-hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 40px;
    overflow: hidden;
}

.editorial-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: flex-start;
    gap: 0;
}

.editorial-text-column {
    padding-right: 60px;
    position: relative;
    z-index: 10;
}

.editorial-visual-column {
    position: relative;
    z-index: 5;
    margin-left: -20px; /* Greatly Reduced Overlap */
}

.editorial-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    writing-mode: vertical-rl;
    position: absolute;
    left: -60px;
    top: 0;
}

.editorial-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    color: var(--text-primary);
    white-space: nowrap;
}

.editorial-title .accent {
    font-style: italic;
    font-weight: 400;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 0.15em; /* Prevents italic slant clipping */
}

.editorial-lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 50px;
}

.editorial-visual-frame {
    width: 100%;
    aspect-ratio: 1 / 1; /* More balanced square format */
    max-height: 520px; /* Prevent vertical stretching on large screens */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 40px 40px 80px rgba(0,0,0,0.1);
    position: relative;
}

.editorial-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Editorial */
@media (max-width: 1024px) {
    .editorial-visual-column {
        margin-left: 0;
    }
    .editorial-label {
        position: static;
        writing-mode: horizontal-tb;
        margin-bottom: 20px;
    }
    .editorial-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .editorial-text-column {
        padding-right: 0;
    }
    .editorial-visual-frame {
        aspect-ratio: 16 / 10;
    }
}

/* MAGAZINE EDITORIAL ACCENTS (Quotes & Bubbles) */
.editorial-quote {
    position: relative;
    padding: 30px 0;
    margin: 0;
    text-align: center;
}

.editorial-quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.editorial-quote::before,
.editorial-quote::after {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--color-accent);
    opacity: 0.1;
    position: absolute;
    z-index: 0;
    line-height: 1;
}

.editorial-quote::before {
    content: '驕ｯ・ｶ郢晢ｽｻ;
    top: -10px;
    left: 5%;
}

.editorial-quote::after {
    content: '驕ｯ・ｶ郢晢ｽｻ;
    bottom: -30px;
    right: 5%;
}

.editorial-bubble {
    display: inline-block;
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    max-width: 240px;
    z-index: 20;
}

/* Horizontal Tail */
.editorial-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 30px;
    width: 16px;
    height: 16px;
    background: inherit;
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    transform: rotate(45deg);
    z-index: -1;
}

.editorial-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 3px;
    margin-bottom: 8px;
}

/* Animations */
.animate-float {
    animation: editorialFloat 8s ease-in-out infinite;
}

@keyframes editorialFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* MAGAZINE SECTION GRID (Feature List) */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 16px;
}

.editorial-card {
    position: relative;
    padding-top: 30px;
    border-top: 1.5px solid var(--border-subtle);
    transition: all 0.6s var(--ease-out);
}

.editorial-card:hover {
    border-top-color: var(--color-accent);
}

.editorial-card-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Base styling for the abstract edge typography */
.hero-edge-text {
    position: absolute;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: clamp(100px, 15vw, 220px);
    line-height: 0.8;
    color: var(--color-primary);
    opacity: 0.04;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -0.05em;
    z-index: 0;
    user-select: none;
    will-change: transform;
}

.hero-edge-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    margin-left: -4vw;
}

.hero-edge-right {
    right: -4vw;
    top: 50%;
    transform: translateY(-50%);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-split-layout {
        gap: 32px;
    }

    .hero-video-wrapper {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 900px) {
    .hero-edge-text {
        font-size: clamp(80px, 15vw, 120px);
        opacity: 0.03;
    }

    .hero-edge-left {
        margin-left: -8vw;
    }

    .hero-edge-right {
        right: -8vw;
    }
}

@media (max-width: 768px) {
    .hero-split-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding: 0 24px;
    }

    .hero.hero-edge-gravity {
        min-height: auto;
    }

    .hero-text-column {
        padding: 100px 0 0;
        order: 1;
    }

    .hero-video-column {
        padding: 0 0 60px;
        order: 2;
    }

    .hero-video-wrapper {
        aspect-ratio: 16 / 10;
        max-height: 50vh;
        border-radius: 16px;
    }

    .hero-edge-text {
        display: none;
    }

    .hero-edge-gravity .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .hero-edge-gravity .hero-stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hero-edge-gravity .hero-actions {
        justify-content: center;
    }

    .hero-edge-gravity .hero-description {
        text-align: center;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-logo-shards-v2 {
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
        white-space: normal;
    }
}

@media (max-width: 500px) {
    .hero-text-column {
        padding: 90px 0 0;
    }

    .hero-edge-gravity .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-edge-gravity .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero Bottom Fade - extends below hero section boundary */
.hero-bottom-fade {
    display: none; /* 驛｢・ｧ繝ｻ・ｪ驛｢譎｢・ｽ・ｼ驛｢譎・§繝ｻ蟶晢ｽｩ蛹・ｽｽ・ｮ驛｢・ｧ闕ｵ譏ｶ陞ｺ驛｢・ｧ郢晢ｽｻ隰ｦ・ｼ鬮ｯ・ｦ繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ */
}

/* Services section overlaps hero from above with white gradient */
section#services::before {
    display: none; /* 驛｢・ｧ繝ｻ・ｪ驛｢譎｢・ｽ・ｼ驛｢譎・§繝ｻ蟶晢ｽｩ蛹・ｽｽ・ｮ驛｢・ｧ闕ｵ譏ｶ陞ｺ驛｢・ｧ郢晢ｽｻ隰ｦ・ｼ鬮ｯ・ｦ繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ */
}

/* Bridge div between hero and services - in the normal document flow */
.hero-to-section-fade {
    display: none; /* 驛｢・ｧ繝ｻ・ｪ驛｢譎｢・ｽ・ｼ驛｢譎・§繝ｻ蟶晢ｽｩ蛹・ｽｽ・ｮ驛｢・ｧ闕ｵ譏ｶ陞ｺ驛｢・ｧ郢晢ｽｻ隰ｦ・ｼ鬮ｯ・ｦ繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ */
}

/* ============================================
   EDITORIAL SPLIT LAYOUT (Premium Zigzag)
   ============================================ */
.editorial-list {
    display: flex;
    flex-direction: column;
    gap: clamp(80px, 12vw, 140px);
}

.editorial-item {
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
    position: relative;
}

.editorial-item.reverse {
    flex-direction: row-reverse;
}

.editorial-item .editorial-image {
    flex: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--duration-base) var(--ease-out);
}

.editorial-item .editorial-image:hover {
    transform: translateY(-4px);
}

.editorial-item .editorial-content {
    flex: 1;
}

@media (max-width: 992px) {
    .editorial-item {
        flex-direction: column;
        text-align: center;
    }
}

.feature-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--duration-base) var(--ease-out);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-subtle);
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   STATS
   ============================================ */
/* ============================================
   RESPONSIVE & UTILITIES (Refined)
   ============================================ */
img,
video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right var(--duration-base) var(--ease-out);
    }
    .nav.active { right: 0; }
    .nav a { font-size: 1.2rem; padding: 16px; width: 100%; text-align: center; }
}

.cost-bar-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cost-bar-value {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

.cost-bar-value.accent {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.cost-bar-track {
    width: 100%;
    height: 12px;
    background: #EAF0F6;
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.cost-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    position: relative;
    width: 0%;
    /* Initialize at 0 for animation if possible, or set value right away */
    transition: width 1.5s var(--ease-out);
}

.cost-bar-fill.standard {
    background: #A0B2C6;
    width: 100%;
    /* Represents 32% proportionally (full bar) */
}

/* For animation, we use GSAP or an active class, but hardcoding width is fine as fallback */
.cost-bar-fill.custom {
    background: var(--gradient-accent);
    width: 46%;
    /* 15 is slightly less than half of 32 (15/32 = ~46.8%) */
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* ============================================
   SERVICE DETAILS
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4.5vw, 3.3rem);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.service-icon-lg {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
        text-align: center;
    }
    .service-detail.reverse {
        direction: ltr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #ffffff !important; /* 驛｢譎渉・･郢晢ｽ｣驛｢謨鳴驛｢譎｢・ｽ・ｼ驍ｵ・ｺ繝ｻ・ｨ髯ｷ・ｷ陟募具ｽｧ鬩榊・蝮ｩ陷環驍ｵ・ｺ繝ｻ・ｫ鬩搾ｽｨ繝ｻ・ｱ髣包ｽｳ・つ */
    background: #ffffff !important;
    color: var(--text-primary);
    padding: var(--space-2xl) 0 40px;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-subtle);
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 320px;
    margin-top: 24px;
}

.footer-nav h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 320px;
    margin-top: 24px;
}

.footer-nav h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---------- Forms & Contact ---------- */
.contact-form {
    max-width: 700px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-subtle);
    background: var(--surface-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--duration-fast) var(--ease-out);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 160, 233, 0.1);
    background: #fff;
}

.form-submit {
    margin-top: 40px;
    text-align: center;
}

.form-submit .btn {
    min-width: 240px;
}

/* Custom Select Arrow */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2386868b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    padding-right: 48px;
}
/* ============================================
   LOGO TICKER SECTION (ANIMATED)
   ============================================ */
.logo-ticker-section {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 30px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 5;
    margin-top: -1px; /* Overlap border with hero if needed */
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    width: 100%;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    padding-right: 50px;
}

.ticker-content span {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(40px, 8vw, 80px);
    text-transform: uppercase;
    color: var(--color-primary);
    opacity: 0.1;
    margin-right: 50px;
    letter-spacing: -0.02em;
    user-select: none;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Background scrolling text injected by JS - Hiding to prevent glitch if still exists */
.bg-scrolling-text {
    display: none !important;
}


/* ============================================
   BENTO-STYLE SERVICE GRID (PREMIUM)
   ============================================ */
.service-grid-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
    margin-top: 40px;
}

.bento-card {
    grid-column: span 12;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transition: all 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    min-height: 360px;
    cursor: pointer;
}

.bento-card .bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: transform 0.8s var(--ease-out);
}

.bento-card .bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* 驛｢譏ｴ繝ｻ郢晢ｽｵ驛｢・ｧ繝ｻ・ｩ驛｢譎｢・ｽ・ｫ驛｢譏ｴ繝ｻ*/
    filter: brightness(0.9);
}

/* 髣包ｽｳ隶朱｡伜樺鬨ｾ蛹・ｽｽ・｣驛｢・ｧ繝ｻ・ｫ驛｢譎｢・ｽ・ｼ驛｢譎擾ｽｳ・ｨ郢晢ｽｻ髫ｴ繝ｻ・ｽ・ｰ鬨ｾ蛹・ｽｽ・ｻ髯ｷ蜻亥ｾ励・・ｼ鬩帚・繝ｻ髣皮甥ﾂ・･遯ｶ・ｳ郢晢ｽｻ陝ｲ・ｨ繝ｻ螳夲ｽｭ蟠｢ﾂ鬯ｩ蛹・ｽｽ・ｩ驍ｵ・ｺ繝ｻ・ｫ鬮ｯ・ｦ繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ */
#realestate .bento-bg img {
    object-fit: cover;
    object-position: center center;
}

/* 髯ｷ謇假ｽｽ・ｯ髫ｶ魃会ｽｽ・ｭ髫ｰ・ｾ繝ｻ・ｯ髫ｰ・ｽ繝ｻ・ｴ驛｢・ｧ繝ｻ・ｫ驛｢譎｢・ｽ・ｼ驛｢譎擾ｽｳ・ｨ郢晢ｽｻ髫ｴ繝ｻ・ｽ・ｰ鬨ｾ蛹・ｽｽ・ｻ髯ｷ蜑・ｽｸ螂・ｽｽ螳夲ｽｭ蟠｢ﾂ鬯ｩ蛹・ｽｽ・ｩ驍ｵ・ｺ繝ｻ・ｫ鬮ｯ・ｦ繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ郢晢ｽｻ陋ｹ・ｻ邵ｺ蟶ｷ・ｹ譎・ｽｧ・ｭ郢晢ｽｻ驛｢譎冗樟郢晢ｽｵ驛｢・ｧ繝ｻ・ｩ驛｢譎｢・ｽ・ｳ驍ｵ・ｺ繝ｻ・ｮ髯ｷ闌ｨ・ｽ・ｨ髯橸ｽｳ繝ｻ・ｹ驛｢・ｧ陞ｳ螟ｲ・ｽ・｡繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ郢晢ｽｻ郢晢ｽｻ*/
#sidejob .bento-bg img {
    object-fit: cover;
    object-position: 90% 90%; /* 髯ｷ・ｿ繝ｻ・ｳ髣包ｽｳ闕ｵ譏ｴ繝ｻ驛｢・ｧ繝ｻ・ｹ驛｢譎・ｽｧ・ｭ郢晢ｽｻ驛｢譎冗樟郢晢ｽｵ驛｢・ｧ繝ｻ・ｩ驛｢譎｢・ｽ・ｳ驛｢・ｧ髮区ｨ樒・髯ｷ驛√＃陜趣ｽｪ驍ｵ・ｺ繝ｻ・ｫ鬮ｯ・ｦ繝ｻ・ｨ鬩穂ｼ夲ｽｽ・ｺ */
}

.bento-card:hover .bento-bg {
    transform: scale(1.05);
}

.bento-card .bento-overlay {
    position: absolute;
    inset: 0;
    /* Two-way gradient for top and bottom legibility */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,1) 100%);
}

.bento-card .bento-header, .bento-card .bento-footer {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.bento-card .bento-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
}

.bento-card h3 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 480px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out) 0.1s;
}

.bento-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.bento-card .bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.bento-card:hover .bento-link {
    opacity: 1;
}

/* Bento Sizing - 2:3 Strategic Layout (v90.34) */
@media (min-width: 1024px) {
    .bento-card:nth-child(1) { grid-column: span 6; min-height: 420px; } /* Inbound */
    .bento-card:nth-child(2) { grid-column: span 6; min-height: 420px; } /* EC Site */
    .bento-card:nth-child(3) { grid-column: span 4; min-height: 380px; } /* Real Estate */
    .bento-card:nth-child(4) { grid-column: span 4; min-height: 380px; } /* Side Job */
    .bento-card:nth-child(5) { grid-column: span 4; min-height: 380px; } /* BE WORK */
}


@media (max-width: 1024px) {
    .service-grid-bento { gap: 20px; }
    .bento-card { grid-column: span 12; min-height: 320px; padding: 30px; }
    .bento-card p { opacity: 1; transform: none; }
}


/* ============================================
   APPLE-STYLE VISION & VISION STATS
   ============================================ */
.vision-section {
    padding: clamp(100px, 15vw, 180px) 0;
    background: #ffffff;
    text-align: center;
}

.vision-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    display: block;
}

.vision-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    max-width: 1200px;
    margin: 0 auto 60px;
    display: block;
    text-align: center;
}

.vision-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 80px;
    display: block;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.vision-title span.accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 80px;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-stat-item {
    padding: 30px;
}

.vision-stat-value {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.vision-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   GLASSMORPHIC CTA SECTION
   ============================================ */
.cta-section-premium {
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
    overflow: hidden;
}

.cta-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-2xl);
    padding: clamp(50px, 8vw, 100px);
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.cta-glass-card h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.cta-glass-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: #000000;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    border: none;
}

.btn-apple:hover {
    transform: scale(1.03);
    background: #222222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .vision-stats { grid-template-columns: 1fr; gap: 20px; }
    .cta-glass-card { padding: 40px 24px; border-radius: var(--radius-xl); }
}


/* ============================================
   REFINED CINEMATIC HERO ELEMENTS
   ============================================ */
.hero-video-wrapper {
    position: relative;
    border-radius: 32px; /* Apple-style deep radius */
    box-shadow: 0 50px 100px rgba(0,0,0,0.4);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg); /* Subtle 3D angle */
    transition: transform 1s var(--ease-out);
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

/* Minimalist Stats Row */
.hero-stats-minimal {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item-minimal {
    display: flex;
    flex-direction: column;
}

.stat-item-minimal .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item-minimal .stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
}

/* Scroll Hint Animation */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation: scrollLineRun 2.5s ease-in-out infinite;
}

@keyframes scrollLineRun {
    0% { top: -100%; }
    50%, 100% { top: 100%; }
}

@media (max-width: 768px) {
    .hero-stats-minimal { gap: 24px; justify-content: center; }
    .hero-video-wrapper { transform: none; border-radius: 20px; }
}


/* ============================================
   FINAL HERO FIXES (v78)
   ============================================ */
.hero {
    position: relative;
    overflow: visible !important; /* Allow scroll hint to show */
}

/* Force horizontal layout for stats */
.hero-stats-minimal {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: clamp(20px, 4vw, 50px) !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-top: 50px !important;
    width: 100% !important;
}

.stat-item-minimal {
    display: flex !important;
    flex-direction: column !important;
    min-width: 100px;
}

.stat-item-minimal .stat-value {
    font-size: clamp(28px, 4vw, 42px) !important; /* Larger and responsive */
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

/* Ensure Scroll Hint visibility */
.scroll-hint {
    position: absolute !important;
    bottom: 60px !important; /* Slightly higher to avoid fade */
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important; /* Highest priority */
    pointer-events: none;
    visibility: visible !important;
    opacity: 0.8 !important;
}

.scroll-line {
    width: 1px !important;
    height: 70px !important;
    background: linear-gradient(to bottom, #ffffff, rgba(255,255,255,0)) !important;
}

@media (max-width: 768px) {
    .hero-stats-minimal { 
        justify-content: center !important;
        gap: 30px !important;
    }
    .scroll-hint { bottom: 40px !important; }
}


/* ============================================
   SILVER BRIDGE TICKER (v79)
   ============================================ */
.logo-ticker-section {
    background: linear-gradient(135deg, #e5e5e7 0%, #f5f5f7 100%) !important; border-top: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.05); padding: 60px 0 !important;
}

.ticker-content span {
    color: #1d1d1f !important; opacity: 0.12 !important; letter-spacing: 0.05em !important;
}


/* ============================================
   APPLE-STYLE LIGHT HERO REDESIGN (v80)
   ============================================ */

/* Redefine Hero Base */
.hero {
    background-color: #f5f5f7 !important; /* Apple Studio White */
    color: #1d1d1f !important; /* Charcoal Text */
}

.hero-bg-dark {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%) !important;
}

/* Update Typography for Light Background */
.hero-label {
    color: #0071e3 !important; /* Apple Blue Accent */
}

.hero-label-line {
    background: #0071e3 !important;
}

.hero-title {
    color: #1d1d1f !important;
}

.hero-title span {
    color: #0071e3 !important;
}

.hero-description {
    color: rgba(29, 29, 31, 0.7) !important;
}

/* Update Stats for Light Background */
.hero-stats-minimal .stat-value {
    color: #1d1d1f !important;
}

.hero-stats-minimal .stat-label {
    color: rgba(29, 29, 31, 0.5) !important;
}

.hero-stats-minimal {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Update Scroll Hint for Light Background */
.scroll-hint {
    opacity: 0.4 !important;
}

.scroll-line {
    background: linear-gradient(to bottom, #1d1d1f, rgba(29, 29, 31, 0)) !important;
}

.scroll-line::after {
    background: #1d1d1f !important;
}

/* Update Background Orbs to Pastel */
.page-bg-orbs .orb-1 {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.05) 0%, transparent 70%) !important;
}

.page-bg-orbs .orb-2 {
    background: radial-gradient(circle, rgba(255, 105, 180, 0.03) 0%, transparent 70%) !important;
}

.page-bg-orbs .orb-3 {
    background: radial-gradient(circle, rgba(0, 210, 255, 0.04) 0%, transparent 70%) !important;
}

/* Adjust Video Wrapper Shadow for Light Background */
.hero-video-wrapper {
    box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important;
}


/* ============================================
   WORLD-CLASS FINAL POLISH (v81)
   ============================================ */

/* Bento Card Refinement */
.bento-card {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15) !important;
}

.bento-bg img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bento-card:hover .bento-bg img {
    transform: scale(1.1) !important;
}

/* Protective Gradient for Text Legibility */
.bento-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, transparent 70%) !important;
    opacity: 0.8;
}

.bento-content h3, .bento-content .bento-number, .bento-content p, .bento-link {
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Rich Footer Layout */
.footer {
    background: #fbfbfd !important;
    padding: 100px 0 60px !important;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-rich-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: #515154;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #0071e3;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #86868b;
    margin-top: 24px;
    max-width: none;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.social-icon {
    font-size: 1.2rem;
    color: #86868b;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #1d1d1f;
}

.footer-bottom-bar {
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #86868b;
}

.footer-links {
    display: flex;
    gap: 24px;
}

@media (max-width: 992px) {
    .footer-rich-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand-column { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
    .footer-tagline { max-width: 100%; }
}

@media (max-width: 576px) {
    .footer-rich-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand-column { grid-column: span 1; }
    .footer-column ul { margin-bottom: 24px; }
    .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
}


/* ============================================
   MONOCHROME PRESTIGE REFINEMENT v84
   ============================================ */

/* Hero Title Sync */
.hero-title span {
    color: var(--color-accent) !important;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Strategic Monochrome Accents: Hero Stats */
.hero-stats-minimal .stat-value {
    color: #1d1d1f !important;
    font-weight: 700;
}

/* Strategic Monochrome Accents: Bento Cards */
.bento-number {
    color: #1d1d1f !important;
    font-weight: 800;
    opacity: 0.9;
}

.bento-link .arrow {
    color: #1d1d1f !important;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-link .arrow {
    transform: translateX(5px);
}

/* The .accent class used in section titles */
.accent {
    color: #1d1d1f !important;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    font-weight: 800;
}

.accent::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30%;
    height: 3px;
    background: #1d1d1f;
    border-radius: 2px;
    opacity: 0.9;
}


/* ============================================
   FV CLARITY REFINEMENT v86
   ============================================ */

.hero-industries {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    max-width: 420px; /* PC驍ｵ・ｺ繝ｻ・ｧ驍ｵ・ｺ繝ｻ・ｮ驛｢譎√・・主ｸｷ・ｹ譎｢・ｽ・ｳ驛｢・ｧ繝ｻ・ｹ鬮ｫ・ｱ繝ｻ・ｿ髫ｰ・ｨ繝ｻ・ｴ */
}

@media (max-width: 768px) {
    .hero-industries {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

.hero-industries span {
    grid-column: span 2; /* Default for 3 items / row */
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    padding: 8px 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Row 1 (Main Pillars): 2 items spanning 3 cols each (v90.34) */
.hero-industries span:nth-child(1),
.hero-industries span:nth-child(2) {
    grid-column: span 3;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .hero-industries span:nth-child(1),
    .hero-industries span:nth-child(2) {
        grid-column: span 1;
    }
}

.hero-industries span:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.hero-label {
    color: var(--color-accent) !important;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero-description {
    max-width: 580px;
    margin-bottom: 32px !important;
}

/* Enhancing the Hero Visual for clarity */
.hero-video-wrapper video {
    filter: brightness(0.7) contrast(1.1) grayscale(0.2);
}

.hero-video-wrapper::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

/* --- Footer Logo Polish v90.5 --- */
.footer-brand-column .logo {
    display: inline-block;
    margin-bottom: 24px;
    transition: opacity 0.3s ease;
}

.footer-brand-column .logo:hover {
    opacity: 0.8;
}

.footer-brand-column .logo img { height: 80px !important; width: auto; display: block; opacity: 1; }

@media (max-width: 768px) {
    .footer-brand-column .logo {
        margin-bottom: 20px;
    }
    .footer-brand-column .logo img { height: 80px !important; width: auto; display: block; opacity: 1; }
}

/* ============================================
   OFFICIAL BRANDS GALLERY (v90.42)
   ============================================ */

.section-brands {
    padding: 120px 0;
    background-color: var(--background);
}

.brands-header {
    text-align: center;
    margin-bottom: 40px;
}

.brands-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--text-main);
}

.brands-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.brand-gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.brand-caption {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.02em;
    text-align: center;
}

.brand-gallery-item {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    aspect-ratio: 1 / 1;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

.img-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-gallery-item:hover .img-placeholder img {
    transform: scale(1.03);
}

.placeholder-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
    .brands-gallery {
        grid-template-columns: 1fr;
    }
    .brand-gallery-item {
        aspect-ratio: auto;
        height: 350px;
    }
}

/* ============================================
   HERO 50/50 SPLIT (Premium Original Layout)
   ============================================ */
.hero-5050 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    overflow: hidden;
    background-color: #050B14;
}

.hero-5050-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 2;
}

.hero-5050-right {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10% 6%;
    background: linear-gradient(135deg, rgba(5,11,20,0.8) 0%, rgba(10,22,40,0.95) 100%);
    z-index: 2;
}

.hero-5050-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    z-index: 10;
}

.hero-5050-left .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transform: scale(1.05);
    animation: slowPan 20s ease-in-out infinite alternate;
}

@keyframes slowPan {
    0% { transform: scale(1.05) translateX(0); }
    100% { transform: scale(1.05) translateX(-2%); }
}

.hero-5050-left .hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0) 60%, rgba(5, 11, 20, 0.6) 100%);
}

.hero-5050-right .hero-content-inner {
    position: relative;
    z-index: 10;
}

.hero-5050-right .hero-label {
    margin-bottom: 24px;
    font-size: 0.8rem;
    color: var(--color-accent) !important;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero-5050-right .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 5.5vw, 6rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 32px;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

.hero-5050-right .hero-title span {
    font-style: italic;
    font-weight: 400;
    color: var(--color-accent) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.hero-5050-right .hero-description {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 48px;
    max-width: 500px;
    letter-spacing: 0.05em;
}

.hero-5050-right .hero-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.hero-5050-right .hero-industries span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
}

.hero-5050-right .hero-industries span:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

@media (max-width: 968px) {
    .hero-5050 {
        flex-direction: column;
        height: auto;
    }
    .hero-5050-divider {
        display: none;
    }
    .hero-5050-left {
        height: 55vh;
        flex: none;
    }
    .hero-5050-left .hero-visual-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(5, 11, 20, 1) 100%);
    }
    .hero-5050-right {
        height: auto;
        padding: 0 8% 15%;
        text-align: center;
        align-items: center;
        background: #050B14;
    }
    .hero-5050-right .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-5050-right .hero-industries {
        justify-content: center;
    }
}








/* Premium Organic Floating Animation */
@keyframes premiumFloat1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  33% { transform: translate3d(1vw, -1.5vh, 0) scale(1.02) rotate(1deg); }
  66% { transform: translate3d(-0.5vw, 1vh, 0) scale(0.98) rotate(-0.5deg); }
}

@keyframes premiumFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  33% { transform: translate3d(-1vw, 1vh, 0) scale(0.98) rotate(-1deg); }
  66% { transform: translate3d(0.5vw, -1.5vh, 0) scale(1.01) rotate(0.5deg); }
}

.grid-item {
  animation: premiumFloat1 12s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Stagger timings and alternate directions for a highly organic feel */
.hero-grid-col:nth-child(even) .grid-item {
  animation-name: premiumFloat2;
}

.grid-item:nth-child(1) { animation-duration: 10s; animation-delay: -2s; }
.grid-item:nth-child(2) { animation-duration: 14s; animation-delay: -5s; }
.grid-item:nth-child(3) { animation-duration: 11s; animation-delay: -1s; }
.grid-item:nth-child(4) { animation-duration: 13s; animation-delay: -4s; }

/* Prevent transition conflicts during GSAP scroll animations */
.bento-card.animating, .editorial-item.animating {
  transition: none !important;
}

/* Ensure #services overlaps the pinned hero when pulled up */
#services {
  position: relative;
  z-index: 10;
  background-color: #ffffff !important;
}


/* ============================================================
   LUXURY THEME OVERRIDES — Warm Ivory / Platinum / Champagne Gold
   (appended; highest cascade priority)
   ============================================================ */
html { background: #FAFBFC !important; }
body { background: #FAFBFC !important; color: var(--text-primary); }

/* Warm the base surfaces (were pure white / apple grey) */
.hero-3d-wrapper { background-color: #FAFBFC !important; }
.vision-section { background: #FAFBFC !important; }
#services { background-color: #FAFBFC !important; }
.footer { background: #FAFBFC !important; background-color: #FAFBFC !important; border-top: 1px solid var(--border-subtle); }
.hero { background-color: #FAFBFC !important; color: var(--text-primary) !important; }
.hero-bg-dark { background: linear-gradient(135deg, #FFFFFF 0%, #EEF0F2 100%) !important; }
.editorial-visual-frame { background: #EEF0F2 !important; }

/* Section labels & titles -> gold eyebrow, warm charcoal titles */
.section-label { color: var(--gold-deep) !important; }
.section-label::before { background: var(--gradient-gold) !important; }
.section-title { color: var(--text-primary); font-weight: 300; }

/* Hero (index glass) hardcoded apple-blue -> gold */
.hero-label { color: var(--gold-deep) !important; }
.hero-label-line { background: var(--gradient-gold) !important; }
.hero-title { color: var(--text-primary) !important; }
.hero-title span { color: var(--gold) !important; -webkit-text-fill-color: var(--gold) !important; background: none !important; }
.hero-name-highlight, .hero-5050-right .hero-title span { background: var(--gradient-gold) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }

/* Scroll hint line -> gold */
.scroll-line { background: linear-gradient(to bottom, var(--gold), rgba(124,135,148,0)) !important; }
.scroll-line::after { background: var(--gold) !important; }

/* Logo ticker -> warm platinum band, gold-tinted watermark */
.logo-ticker-section { background: linear-gradient(135deg, #EFEBE1 0%, #F7F4EC 100%) !important; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.ticker-content span { color: var(--gold-deep) !important; opacity: 0.14 !important; }

/* Background orbs -> champagne / platinum */
.page-bg-orbs .orb-1 { background: radial-gradient(circle, rgba(124,135,148,0.06) 0%, transparent 70%) !important; }
.page-bg-orbs .orb-2 { background: radial-gradient(circle, rgba(196,201,207,0.10) 0%, transparent 70%) !important; }
.page-bg-orbs .orb-3 { background: radial-gradient(circle, rgba(124,135,148,0.07) 0%, transparent 70%) !important; }

/* Primary buttons -> deep warm charcoal w/ gold hover; apple CTA warm */
.btn-primary { background: var(--gradient-text) !important; color: #fff !important; box-shadow: var(--shadow-accent); border: 1px solid rgba(124,135,148,0.22); }
.btn-primary:hover { background: var(--gradient-gold) !important; color: #20242A !important; box-shadow: var(--shadow-accent-lg); }
.btn-outline { color: var(--gold-deep); border-color: var(--border-accent); }
.btn-outline:hover { background: rgba(124,135,148,0.07); border-color: var(--gold); color: var(--gold-deep); }
.btn-apple { background: #20242A !important; border: 1px solid rgba(124,135,148,0.30); }
.btn-apple:hover { background: #2C323A !important; box-shadow: 0 12px 34px rgba(90,100,115,0.18) !important; }

/* Nav cta pill -> subtle gold border */
.nav-cta .btn-primary { background: transparent !important; color: var(--text-primary) !important; border: 1px solid var(--border-accent) !important; }
.nav-cta .btn-primary:hover { background: rgba(124,135,148,0.08) !important; }

/* Vision stat numbers -> gold */
.vision-stat-value { color: var(--gold-deep) !important; }

/* Editorial card numbers & bento numbers -> gold */
.editorial-card-number { color: var(--gold) !important; }

/* Cost bars (realestate) -> silver / gold */
.cost-bar-fill.standard { background: #C9C4B8 !important; }

/* Focus ring -> gold */
:focus-visible { outline-color: var(--gold) !important; }

/* ============================================================
   FOOTER — luxury white / silver refinement
   ============================================================ */
.footer{ background:#F4F5F7 !important; background-color:#F4F5F7 !important;
  border-top:1px solid rgba(90,100,115,.12) !important; padding:110px 0 56px !important; }
.footer-tagline{ color:#6B7480 !important; font-size:.92rem !important; line-height:1.9 !important; letter-spacing:.01em; }
.footer-column h4{ font-family:var(--font-sans); font-size:.72rem !important; font-weight:600 !important;
  letter-spacing:.24em !important; text-transform:uppercase; color:#9AA3AE !important; margin-bottom:22px !important; }
.footer-column ul li{ margin-bottom:14px !important; }
.footer-column ul li a{ color:#4A525C !important; font-size:.92rem !important; letter-spacing:.01em;
  position:relative; transition:color .35s ease; }
.footer-column ul li a:hover{ color:#20242A !important; }
.footer-bottom-bar{ border-top:1px solid rgba(90,100,115,.12) !important; padding-top:30px !important; }
.footer-copy{ color:#8A93A0 !important; letter-spacing:.02em; }
.footer-links span{ color:#9AA3AE !important; font-family:var(--font-serif); font-style:italic; font-size:.9rem; letter-spacing:.01em; }
.footer-brand-column .logo img{ opacity:.9; }

/* ============================================================
   FOOTER v2 — editorial columns + full-height rules + watermark
   ============================================================ */
.footer{ padding:0 !important; overflow:hidden; }
.ftr{ position:relative; padding:clamp(64px,8vw,120px) clamp(24px,6vw,90px) clamp(70px,9vw,120px);
  min-height:600px; }
.ftr-inner{ position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); }
/* full-height vertical rules between the three columns */
.ftr::before, .ftr::after{ content:""; position:absolute; top:0; bottom:0; width:1px;
  background:rgba(90,100,115,.14); z-index:1; }
.ftr::before{ left:33.333%; } .ftr::after{ left:66.666%; }
.ftr-col{ padding:0 clamp(22px,3.2vw,52px); }
.ftr-col:first-child{ padding-left:0; }

/* column 1 — big nav */
.ftr-nav{ display:flex; flex-direction:column; gap:clamp(14px,1.6vw,22px); }
.ftr-nav a{ font:600 clamp(1rem,1.35vw,1.28rem)/1 var(--font-sans); letter-spacing:.14em;
  color:#5C6672; text-decoration:none; width:max-content; transition:color .35s ease, letter-spacing .35s ease; }
.ftr-nav a:hover{ color:#20242A; letter-spacing:.2em; }

/* shared column headings */
.ftr-col h4{ font:600 .72rem/1 var(--font-sans); letter-spacing:.26em; text-transform:uppercase;
  color:#5C6672; margin:0 0 24px; }

/* column 2 — business list + social */
.ftr-biz ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.ftr-biz ul li a{ font:400 .95rem/1 var(--font-sans); letter-spacing:.01em; color:#4A525C;
  text-decoration:none; transition:color .35s ease; }
.ftr-biz ul li a:hover{ color:#20242A; }
.ftr-follow{ display:flex; align-items:center; gap:16px; margin-top:34px; flex-wrap:wrap; }
.ftr-follow__label{ font:600 .68rem/1 var(--font-sans); letter-spacing:.24em; text-transform:uppercase; color:#9AA3AE; }
.ftr-follow a{ font:500 .86rem/1 var(--font-sans); letter-spacing:.04em; color:#5C6672; text-decoration:none;
  padding-bottom:2px; border-bottom:1px solid transparent; transition:border-color .3s ease, color .3s ease; }
.ftr-follow a:hover{ color:#20242A; border-color:currentColor; }

/* column 3 — contact */
.ftr-contact__lead{ margin:0 0 26px; font:400 .95rem/1.9 var(--font-sans); color:#4A525C; }
.ftr-contact__btn{ display:inline-flex; align-items:center; gap:10px; padding:15px 30px; border-radius:980px;
  background:#20242A; color:#F7F9FB; text-decoration:none; font:500 .92rem/1 var(--font-sans); white-space:nowrap;
  will-change:transform; transition:background .35s ease; }
.ftr-contact__btn:hover{ background:#2C323A; }
.ftr-contact__meta{ margin:30px 0 0; font:400 .8rem/1.85 var(--font-sans); color:#8A93A0; letter-spacing:.01em; }

/* giant watermark */
.ftr-mark{ position:absolute; right:clamp(24px,6vw,90px); bottom:clamp(6px,2vw,26px); z-index:0;
  white-space:nowrap; font:300 clamp(1rem,4vw,4.25rem)/.9 var(--font-sans); letter-spacing:-.02em;
  color:rgba(90,100,115,.09); pointer-events:none; user-select:none; }

/* copyright */
.ftr-base{ position:absolute; left:clamp(24px,6vw,90px); bottom:clamp(22px,3vw,40px); z-index:3;
  font:500 .74rem/1 var(--font-sans); letter-spacing:.04em; color:#8A93A0; }

@media (max-width:992px){
  .ftr-inner{ grid-template-columns:1fr 1fr; gap:48px 0; }
  .ftr::before{ left:50%; } .ftr::after{ display:none; }
  .ftr-contact{ grid-column:span 2; padding-left:0; }
  .ftr-mark{ opacity:.85; }
  .ftr{ padding-bottom:150px; }
}
@media (max-width:576px){
  .ftr-inner{ grid-template-columns:1fr; gap:40px; }
  .ftr::before, .ftr::after{ display:none; }
  .ftr-col{ padding:0; }
  .ftr-contact{ grid-column:span 1; }
  .ftr-base{ position:static; margin-top:48px; }
  .ftr-mark{ position:static; transform:none; margin-top:40px; display:block; }
  .ftr{ padding-bottom:clamp(48px,9vw,80px); }
}

/* .accent — solid champagne-gold text (no gradient box, no underline bar) */
.accent { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; color: var(--gold-deep) !important; }
.accent::after { display: none !important; }
.section-title .accent, .vision-title span.accent, .editorial-title .accent { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; color: var(--gold-deep) !important; }

/* ============================================================
   SPRINGS-STYLE CINEMATIC CHAPTERS (faithful port of springs.estate)
   Full-viewport scene, full-bleed background image, giant one-word
   serif title overlaid, eyebrow subtitle, poetic caption offset to the
   opposite corner. Scroll-reveal + slow zoom. Fonts reuse --font-serif.
   ============================================================ */

/* ---- Big centered intro statement (springs "Open the doors...") ---- */
.spx-intro { background:#FAFBFC; padding: clamp(120px,22vh,260px) 0; }
.spx-intro__inner { max-width: 1200px; margin:0 auto; padding:0 clamp(24px,5vw,72px); text-align:center; }
.spx-intro__eyebrow { display:inline-flex; align-items:center; gap:14px; font:600 0.78rem/1 var(--font-sans); letter-spacing:0.28em; text-transform:uppercase; color:var(--gold-deep); }
.spx-intro__eyebrow::before, .spx-intro__eyebrow::after { content:""; width:40px; height:1px; background:var(--gradient-gold); }
.spx-intro__title { font-family:var(--font-serif); font-weight:500; font-size:clamp(2.2rem,5.4vw,4.8rem); line-height:1.12; letter-spacing:-0.01em; color:var(--text-primary); margin:28px 0 0; text-wrap:balance; }
.spx-intro__title .em { font-style:italic; color:var(--gold-deep); }
.spx-intro__text { max-width:52ch; margin:26px auto 0; font:400 1.05rem/1.95 var(--font-sans); color:var(--text-secondary); }

/* Sub-page hero variant — a touch taller headline, top offset for header */
.spx-scene--hero .spx-scene__inner { padding-top:clamp(150px,20vh,240px); }

/* ---- Full-viewport cinematic scene (springs Wellness/Nature layout) ---- */
.spx-scene { position:relative; min-height:100vh; overflow:hidden; isolation:isolate; }

/* ---- Pinned stage: viewport stays fixed, scenes cross-fade on scroll (GSAP-pinned) ---- */
.spx-pin { position:relative; }
.spx-pin__stage { height:100vh; overflow:hidden; background:#101317; }
.spx-pin [data-pin-scene]{ position:absolute; inset:0; min-height:0; opacity:0; visibility:hidden;
  transition:opacity .9s ease, visibility .9s ease; }
.spx-pin [data-pin-scene].is-active{ opacity:1; visibility:visible; }
.spx-pin__progress{ position:absolute; left:50%; bottom:30px; transform:translateX(-50%); z-index:6;
  display:flex; gap:10px; pointer-events:none; }
.spx-pin__dot{ width:7px; height:7px; border-radius:50%; background:rgba(251,247,238,.28); transition:all .5s ease; }
.spx-pin__dot.is-on{ background:var(--gold-light); transform:scale(1.25); }
.spx-scene__bg { position:absolute; inset:0; z-index:0; overflow:hidden; background:#101317; }
.spx-scene__bg img { width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.06); transition:transform 2.4s cubic-bezier(.16,1,.3,1); }
.spx-scene.is-in .spx-scene__bg img { transform:scale(1); }

/* ---- Split mask-reveal halves (springs scroll reveal) — clip-path driven ---- */
.spx-half { position:absolute; inset:0; background:
  repeating-linear-gradient(45deg, #1c2024 0px, #1c2024 2px, #232830 2px, #232830 4px),
  linear-gradient(135deg, #242a31 0%, #161a1f 100%);
  box-shadow: inset 0 0 0 1px rgba(196,201,207,.12);
  will-change: clip-path;
  transition: clip-path 1.5s cubic-bezier(.16,1,.3,1); }

.spx-scene__bg .spx-half--b { display:none; }

/* VERTICAL: top & bottom halves grow from the edges to meet at center */
.spx-scene--rv-vert .spx-half--b { display:block; }
.spx-scene--rv-vert .spx-half--a { clip-path: inset(0 0 100% 0); }   /* hidden (top) */
.spx-scene--rv-vert .spx-half--b { clip-path: inset(100% 0 0 0); }   /* hidden (bottom) */
.spx-scene--rv-vert.is-in .spx-half--a { clip-path: inset(0 0 50% 0); }
.spx-scene--rv-vert.is-in .spx-half--b { clip-path: inset(50% 0 0 0); }

/* HORIZONTAL: left & right halves grow inward to meet at center */
.spx-scene--rv-horiz .spx-half--b { display:block; }
.spx-scene--rv-horiz .spx-half--a { clip-path: inset(0 100% 0 0); }  /* hidden (left) */
.spx-scene--rv-horiz .spx-half--b { clip-path: inset(0 0 0 100%); }  /* hidden (right) */
.spx-scene--rv-horiz.is-in .spx-half--a { clip-path: inset(0 50% 0 0); }
.spx-scene--rv-horiz.is-in .spx-half--b { clip-path: inset(0 0 0 50%); }

/* UP: single panel wipes upward from the bottom edge */
.spx-scene--rv-up .spx-half--a { clip-path: inset(100% 0 0 0); }     /* hidden */
.spx-scene--rv-up.is-in .spx-half--a { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce){
  .spx-half { transition:none !important; }
  .spx-scene--rv-vert .spx-half--a { clip-path: inset(0 0 50% 0); }
  .spx-scene--rv-vert .spx-half--b { clip-path: inset(50% 0 0 0); }
  .spx-scene--rv-horiz .spx-half--a { clip-path: inset(0 50% 0 0); }
  .spx-scene--rv-horiz .spx-half--b { clip-path: inset(0 0 0 50%); }
  .spx-scene--rv-up .spx-half--a { clip-path: inset(0 0 0 0); }
}
.spx-scene__scrim { position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(18,15,10,0.55) 0%, rgba(18,15,10,0.18) 26%, rgba(18,15,10,0.20) 56%, rgba(18,15,10,0.74) 100%); }
.spx-scene__grain { position:absolute; inset:0; z-index:1; opacity:.06; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.spx-scene__inner { position:relative; z-index:2; width:100%; min-height:100vh; max-width:1680px; margin:0 auto;
  padding:clamp(110px,15vh,190px) clamp(28px,5.5vw,100px) clamp(70px,11vh,120px); }

/* descriptive paragraph — offset to the left, upper-middle (springs text-t1) */
.spx-scene__lead { position:absolute; left:clamp(28px,5.5vw,100px); top:clamp(150px,30vh,320px);
  max-width:34ch; font:400 clamp(1rem,1.35vw,1.2rem)/1.9 var(--font-sans); color:rgba(250,246,238,0.9);
  text-shadow:0 1px 20px rgba(0,0,0,.35);
  transition:opacity 1.1s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.scene-js .spx-scene:not(.is-in) .spx-scene__lead { opacity:0; transform:translateY(26px); }

/* giant word block — bottom-right, poetic subtitle above (springs g1 + text-c1) */
.spx-scene__title { position:absolute; right:clamp(24px,5.5vw,100px); bottom:clamp(84px,13vh,140px); text-align:right;
  transition:opacity 1.1s ease .1s, transform 1.2s cubic-bezier(.16,1,.3,1) .1s; }
.scene-js .spx-scene:not(.is-in) .spx-scene__title { opacity:0; transform:translateY(30px); }
.spx-scene__poetic { display:block; font-family:var(--font-serif); font-style:italic;
  font-size:clamp(1.15rem,2vw,1.9rem); line-height:1.3; color:#C3CAD3; margin-bottom:10px; }
.spx-scene__word { font-family:var(--font-serif); font-weight:500; font-size:clamp(3.6rem,12vw,11rem);
  line-height:0.86; letter-spacing:-0.02em; color:#F7F9FB; margin:0; text-shadow:0 8px 50px rgba(0,0,0,.3); }

/* bottom-left: index + discover link */
.spx-scene__foot { position:absolute; left:clamp(28px,5.5vw,100px); bottom:clamp(48px,8vh,80px);
  display:flex; align-items:center; gap:22px;
  transition:opacity 1s ease .2s, transform 1s cubic-bezier(.16,1,.3,1) .2s; }
.scene-js .spx-scene:not(.is-in) .spx-scene__foot { opacity:0; transform:translateY(20px); }
.spx-scene__idx { font:600 0.8rem/1 var(--font-sans); letter-spacing:0.26em; text-transform:uppercase; color:var(--gold-light); }

/* left-variant: mirror (word bottom-left, lead upper-right) */
.spx-scene--left .spx-scene__title { right:auto; left:clamp(28px,5.5vw,100px); text-align:left; }
.spx-scene--left .spx-scene__lead { left:auto; right:clamp(28px,5.5vw,100px); text-align:right; }
.spx-scene--left .spx-scene__foot { left:auto; right:clamp(28px,5.5vw,100px); flex-direction:row-reverse; }

/* Discover pill on imagery */
.spx-discover { display:inline-flex; align-items:center; gap:10px; padding:13px 26px; border:1px solid rgba(251,247,238,0.4); border-radius:980px; color:#F7F9FB; font:500 0.9rem/1 var(--font-sans); letter-spacing:0.02em; text-decoration:none; transition:all .4s ease; background:rgba(251,247,238,0.04); backdrop-filter:blur(4px); }
.spx-discover:hover { background:var(--gradient-gold); color:#1C1A16; border-color:transparent; transform:translateY(-2px); }
.spx-discover .arw { transition:transform .3s ease; }
.spx-discover:hover .arw { transform:translateX(4px); }

/* ---- Centered full-bleed scene content (intro / vision / contact over imagery) ---- */
.spx-scene__center { position:relative; z-index:2; min-height:100vh; max-width:1080px; margin:0 auto;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:clamp(110px,15vh,190px) clamp(24px,5vw,72px);
  transition:opacity 1.1s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.scene-js .spx-scene:not(.is-in) .spx-scene__center { opacity:0; transform:translateY(30px); }
.spx-c-eyebrow { display:inline-flex; align-items:center; gap:14px; font:600 0.78rem/1 var(--font-sans);
  letter-spacing:.28em; text-transform:uppercase; color:var(--gold-light); margin-bottom:26px; }
.spx-c-eyebrow::before, .spx-c-eyebrow::after { content:""; width:40px; height:1px; background:var(--gold-light); }
.spx-c-title { font-family:var(--font-serif); font-weight:500; font-size:clamp(2.2rem,5.6vw,4.8rem);
  line-height:1.14; letter-spacing:-0.01em; color:#F7F9FB; margin:0; text-wrap:balance; text-shadow:0 8px 50px rgba(0,0,0,.35); }
.spx-c-title .em { font-style:italic; color:#C3CAD3; }
.spx-c-text { max-width:60ch; margin:30px auto 0; font:400 clamp(1rem,1.35vw,1.18rem)/1.95 var(--font-sans);
  color:rgba(250,246,238,0.9); text-shadow:0 1px 20px rgba(0,0,0,.35); }
.spx-c-stats { display:flex; gap:clamp(36px,6vw,90px); margin-top:52px; flex-wrap:wrap; justify-content:center; }
.spx-c-stat { display:flex; flex-direction:column; align-items:center; gap:8px; }
.spx-c-stat b { font-family:var(--font-serif); font-weight:500; font-size:clamp(2.6rem,5vw,4rem); line-height:1; color:#F7F9FB; }
.spx-c-stat span { font:600 0.72rem/1 var(--font-sans); letter-spacing:.22em; text-transform:uppercase; color:var(--gold-light); }
.spx-c-actions { margin-top:44px; }
.spx-c-actions .spx-discover { padding:16px 34px; font-size:0.98rem; }

@media (max-width:768px){
  .spx-scene__inner { padding:120px 24px 80px; }
  .spx-scene__lead, .spx-scene--left .spx-scene__lead { position:static; max-width:100%; text-align:left; margin-bottom:40vh; }
  .spx-scene__title, .spx-scene--left .spx-scene__title { left:24px; right:24px; text-align:left; }
  .spx-scene__word { font-size:clamp(3.4rem,20vw,6rem); }
  .spx-scene__foot, .spx-scene--left .spx-scene__foot { left:24px; right:auto; flex-direction:row; }
}


/* ============================================================
   SPRINGS-STYLE HERO — tilted drifting photo mosaic
   (rows of images marquee horizontally, whole mosaic tilted;
   warm scrim; eyebrow center-left; giant serif headline bottom-right)
   ============================================================ */
.lux-hero{ position:relative; height:100vh; min-height:640px; overflow:hidden; background:#F4F5F7; }
.lux-hero__mosaic{ position:absolute; top:50%; left:50%; width:240%; height:auto;
  transform:translate(-50%,-50%) rotate(-8deg); display:flex; flex-direction:column; gap:1.4vw; z-index:0; }
.lux-hero__row{ display:flex; gap:1.4vw; flex:none; width:max-content; height:66vh; will-change:transform; }
.lux-hero__row--l{ animation:luxRowL 60s linear infinite; }
.lux-hero__row--r{ animation:luxRowR 72s linear infinite; }
.lux-hero__row--l2{ animation:luxRowL 84s linear infinite; }
.lux-hero__row--r2{ animation:luxRowR 96s linear infinite; }
.lux-hero__tile{ flex:none; height:66vh; aspect-ratio:16/10; width:auto;
  border-radius:4px; overflow:hidden; box-shadow:0 30px 70px rgba(90,100,115,.18);
  background:linear-gradient(135deg,#FCFDFE 0%,#E4E8ED 55%,#CDD3DA 100%); border:1px solid rgba(255,255,255,.7);
  display:flex; align-items:center; justify-content:center; }
.lux-hero__tile::after{ content:""; width:34px; height:34px; border:1px solid rgba(196,201,207,.30); border-radius:50%; }
.lux-hero__tile[data-img]::after{ content:""; width:auto; height:auto; border:0; border-radius:0;
  font:600 .66rem/1 var(--font-sans); letter-spacing:.28em; color:rgba(90,100,115,.5); }
.lux-hero__tile img{ width:100%; height:100%; object-fit:cover; display:block; }
@keyframes luxRowL{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes luxRowR{ from{transform:translateX(-50%)} to{transform:translateX(0)} }
@media (prefers-reduced-motion: reduce){ .lux-hero__row{ animation:none !important; } }

.lux-hero__tint{ position:absolute; inset:0; z-index:1; background:
  radial-gradient(130% 90% at 74% 88%, rgba(244,245,247,.10) 0%, rgba(240,242,245,.72) 78%),
  linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(248,249,251,.30) 26%, rgba(240,242,245,.34) 60%, rgba(232,235,239,.66) 100%); }
.lux-hero__grain{ position:absolute; inset:0; z-index:1; opacity:.06; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.lux-hero__content{ position:absolute; inset:0; z-index:3; pointer-events:none; }
.lux-hero__eyebrow{ position:absolute; left:clamp(28px,6vw,110px); top:44%; transform:translateY(-50%);
  max-width:min(48em,74vw); color:var(--text-secondary); font-family:var(--font-sans);
  font-size:clamp(.98rem,1.35vw,1.2rem); line-height:1.75; letter-spacing:.01em; text-shadow:0 1px 20px rgba(255,255,255,.6); }
.lux-hero__ki{ display:block; font-size:.76rem; font-weight:600; letter-spacing:.3em; text-transform:uppercase; color:var(--text-tertiary); margin-bottom:18px; }
.lux-hero__headline{ position:absolute; right:clamp(24px,5.5vw,100px); bottom:clamp(76px,11vh,132px);
  text-align:right; font-family:var(--font-serif); font-weight:500; font-size:clamp(2.6rem,6.4vw,6.6rem);
  line-height:.9; letter-spacing:-.01em; color:#2A2E34; text-shadow:0 8px 40px rgba(255,255,255,.5); }
.lux-hero__headline .it{ font-style:italic; color:#8A93A0; }

/* Hero headline gloss — base text stays solid; a light streak passes over it */
.lux-hero__headline .up, .lux-hero__headline .it{ position:relative; }
@media (prefers-reduced-motion: no-preference){
  .lux-hero__headline .up::after, .lux-hero__headline .it::after{
    content:attr(data-txt); position:absolute; left:0; top:0; white-space:nowrap;
    pointer-events:none;
    background-image:linear-gradient(105deg, transparent 40%, rgba(255,255,255,.9) 50%, transparent 60%);
    background-repeat:no-repeat; background-size:250% 100%; background-position:130% 0;
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    animation:heroGloss 4.8s ease-in-out infinite;
  }
  .lux-hero__headline .it::after{ font-style:italic; animation-delay:.3s; }
  /* Plain (single-word) hero headlines on service pages */
  .lux-hero__headline[data-txt]::after{
    content:attr(data-txt); position:absolute; right:0; top:0; white-space:nowrap; pointer-events:none;
    background-image:linear-gradient(105deg, transparent 40%, rgba(255,255,255,.85) 50%, transparent 60%);
    background-repeat:no-repeat; background-size:250% 100%; background-position:130% 0;
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
    animation:heroGloss 4.8s ease-in-out infinite;
  }
  @keyframes heroGloss{
    0%{ background-position:130% 0; }
    55%,100%{ background-position:-30% 0; }
  }
}
.lux-hero__down{ position:absolute; left:clamp(28px,6vw,110px); bottom:44px; z-index:3;
  width:46px; height:46px; border:1px solid rgba(90,100,115,.4); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:#3A4048; text-decoration:none; pointer-events:auto;
  transition:all .4s ease; }
.lux-hero__down:hover{ background:#2A2E34; color:#F7F9FB; border-color:transparent; }
.lux-hero__down span{ animation:luxBob 2s ease-in-out infinite; }
@keyframes luxBob{ 0%,100%{ transform:translateY(-3px) } 50%{ transform:translateY(3px) } }

@media (max-width:768px){
  .lux-hero__mosaic{ width:300%; transform:translate(-50%,-50%) rotate(-9deg); }
  .lux-hero__eyebrow{ top:auto; bottom:50%; transform:none; max-width:80%; }
  /* 事業ページFVのコピーはさらに上へ */
  .lux-hero--page .lux-hero__eyebrow{ bottom:58%; }
  .lux-hero__headline{ font-size:clamp(3rem,16vw,5rem); }
}

@media (max-width: 480px) {
  .spl-word { font-size: clamp(3rem, 12vw, 4rem); }
}




/* Subtle water ripple layer (site-wide, cursor) — fixed, above content, non-interactive */
.lux-ripple-layer{ position:fixed; inset:0; z-index:60; pointer-events:none; overflow:hidden; }
.lux-ripple{ position:absolute; width:26px; height:26px; margin:-13px 0 0 -13px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.30) 0%, rgba(200,210,222,.20) 40%, rgba(255,255,255,0) 70%);
  mix-blend-mode:soft-light;
  animation:luxRipple 2.1s cubic-bezier(.16,.7,.3,1) forwards; will-change:transform,opacity; }
@keyframes luxRipple{ 0%{ transform:scale(.5); opacity:0 } 16%{ opacity:.8 } 100%{ transform:scale(14); opacity:0 } }
@media (prefers-reduced-motion: reduce){ .lux-ripple-layer{ display:none; } }

/* Blank placeholder background for scenes (no image yet) */
.spx-scene__bg--blank{ background:
  repeating-linear-gradient(45deg, #1c2024 0px, #1c2024 2px, #232830 2px, #232830 4px),
  linear-gradient(135deg, #242a31 0%, #161a1f 100%); }
.spx-scene__bg--blank::after{ content:""; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font:600 0.8rem/1 var(--font-sans); letter-spacing:.3em; color:rgba(196,201,207,.38); }

/* ============================================================
   PSX — Springs-style multi-layer parallax scenes
   (blocks move at different speeds & directions, recomposing collage)
   JS drives transforms; CSS = composed/resting layout only.
   ============================================================ */
.psx{ position:absolute; inset:0; overflow:hidden; will-change:transform; }
.psx > *{ will-change:transform, opacity; }

/* Solid feature panel (text side) */
.psx-panel{ position:absolute; top:0; bottom:0; width:50%;
  background:linear-gradient(150deg,#20242A 0%,#191C21 55%,#121418 100%); }
.psx--right .psx-panel{ left:0; }
.psx--left  .psx-panel{ right:0; }

/* Primary image block */
.psx-imgA{ position:absolute; top:0; bottom:0; width:56%; box-shadow:0 40px 90px rgba(20,26,34,.35); }
.psx--right .psx-imgA{ right:0; }
.psx--left  .psx-imgA{ left:0; }

/* Secondary offset image block */
.psx-imgB{ position:absolute; width:30%; height:46%; bottom:9%; box-shadow:0 30px 70px rgba(20,26,34,.4); z-index:3; }
.psx--right .psx-imgB{ left:36%; }
.psx--left  .psx-imgB{ right:36%; }

/* Airy silver placeholder */
.psx-ph{ position:absolute; inset:0; overflow:hidden;
  background:linear-gradient(135deg,#EEF1F4 0%,#D8DDE3 55%,#C4CBD2 100%);
  display:flex; align-items:center; justify-content:center; }
.psx-ph::before{ content:""; position:absolute; inset:12px; border:1px solid rgba(255,255,255,.55); }
.psx-ph::after{ content:""; font:600 .72rem/1 var(--font-sans); letter-spacing:.3em; color:rgba(90,100,115,.42); }

/* Giant serif word (over image side) */
.psx-word{ position:absolute; bottom:7%; margin:0; z-index:4;
  font-family:var(--font-serif); font-weight:500; font-size:clamp(3.4rem,10vw,10rem);
  line-height:.86; letter-spacing:-.02em; color:#23262A; }
.psx--right .psx-word{ right:3.5%; text-align:right; }
.psx--left  .psx-word{ left:3.5%;  text-align:left; }
.psx-word .pk{ display:block; font-family:var(--font-sans); font-weight:600;
  font-size:clamp(.7rem,1vw,.82rem); letter-spacing:.26em; text-transform:uppercase;
  color:var(--gold-deep); margin-bottom:14px; }

/* Text block (on the panel side) */
.psx-lead{ position:absolute; top:32%; width:37%; z-index:4; color:#C3CAD3; }
.psx--right .psx-lead{ left:6.5%; }
.psx--left  .psx-lead{ right:6.5%; text-align:right; }
.psx-eyebrow{ display:inline-flex; align-items:center; gap:12px; font:600 .74rem/1 var(--font-sans);
  letter-spacing:.26em; text-transform:uppercase; color:#9AA3AE; margin-bottom:20px; }
.psx-eyebrow::before{ content:""; width:34px; height:1px; background:#7C8794; }
.psx--left .psx-eyebrow{ flex-direction:row-reverse; }
.psx-lead p{ margin:0; font:400 clamp(1rem,1.25vw,1.16rem)/1.9 var(--font-sans); color:rgba(226,231,236,.86); }
.psx-lead .psx-idx{ display:block; margin-top:22px; font:600 .78rem/1 var(--font-sans); letter-spacing:.24em; color:#8A93A0; }
.psx-lead .psx-more{ display:inline-flex; align-items:center; gap:9px; margin-top:26px; padding:12px 24px;
  border:1px solid rgba(196,201,207,.4); border-radius:980px; color:#EDF0F3; text-decoration:none;
  font:500 .88rem/1 var(--font-sans); transition:all .4s ease; }
.psx-lead .psx-more:hover{ background:#EDF0F3; color:#20242A; border-color:transparent; }

/* Center scenes (intro / vision / contact) */
.psx--center .psx-panel, .psx--center .psx-imgB, .psx--center .psx-word{ display:none; }
.psx--center .psx-imgA{ inset:0; width:100%; }
.psx--center .psx-ph{ background:linear-gradient(150deg,#E7EBEF 0%,#CFD5DC 60%,#B9C1CA 100%); }
.psx-center{ position:absolute; inset:0; z-index:4; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; padding:0 clamp(24px,6vw,90px); }
.psx-center .psx-eyebrow{ color:#5C6672; }
.psx-center .psx-eyebrow::before, .psx-center .psx-eyebrow::after{ content:""; width:34px; height:1px; background:#7C8794; }
.psx-c-title{ font-family:var(--font-serif); font-weight:500; font-size:clamp(2.2rem,5.4vw,4.6rem);
  line-height:1.14; letter-spacing:-.01em; color:#23262A; margin:6px 0 0; text-wrap:balance; }
.psx-c-title .em{ color:#5C6672; }
.psx-c-text{ max-width:64ch; margin:26px auto 0; font:400 clamp(1rem,1.3vw,1.15rem)/1.9 var(--font-sans); color:#545B63; }
.psx-c-stats{ display:flex; gap:clamp(34px,6vw,86px); margin-top:46px; flex-wrap:wrap; justify-content:center; }
.psx-c-stats b{ display:block; font-family:var(--font-serif); font-weight:500; font-size:clamp(2.4rem,4.5vw,3.6rem); line-height:1; color:#23262A; }
.psx-c-stats span{ font:600 .7rem/1 var(--font-sans); letter-spacing:.2em; text-transform:uppercase; color:#7C8794; margin-top:8px; display:block; }
.psx-c-cta{ display:inline-flex; align-items:center; gap:10px; margin-top:40px; padding:16px 34px;
  border-radius:980px; background:#20242A; color:#F7F9FB; text-decoration:none; font:500 .98rem/1 var(--font-sans); transition:all .4s ease; }
.psx-c-cta:hover{ background:#2C323A; transform:translateY(-2px); }

/* ============================================================
   Contact / center scene — ambient playfulness & motion
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  .spl--center .psx-center{ overflow:visible; }
  /* breathing light bloom behind the headline */
  .spl--center .psx-center::before{
    content:""; position:absolute; z-index:0; pointer-events:none;
    width:min(64vw,760px); aspect-ratio:1/1; border-radius:50%;
    left:50%; top:46%; transform:translate(-50%,-50%);
    background:radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(226,231,236,.34) 42%, rgba(226,231,236,0) 70%);
    animation:contactBloom 9s ease-in-out infinite;
  }
  .spl--center .psx-center > *{ position:relative; z-index:1; }
  @keyframes contactBloom{
    0%,100%{ transform:translate(-53%,-50%) scale(1);    opacity:.7; }
    50%    { transform:translate(-46%,-54%) scale(1.16); opacity:1;  }
  }
  /* gentle float on the headline */
  .spl--center .psx-c-title{ animation:contactFloat 7s ease-in-out infinite; will-change:transform; }
  @keyframes contactFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
  /* silver sheen sweeping across the italic phrase */
  .spl--center .psx-c-title .em{
    background:linear-gradient(100deg,
      #3D444D 0%, #3D444D 40%,
      #7C8794 48%, #AEB6C0 50%, #7C8794 52%,
      #3D444D 60%, #3D444D 100%);
    background-size:230% 100%;
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    animation:contactSheen 6.5s ease-in-out infinite;
  }
  @keyframes contactSheen{ 0%{ background-position:125% 0; } 55%,100%{ background-position:-45% 0; } }
  /* eyebrow flanking lines gently breathe */
  .spl--center .psx-eyebrow::before, .spl--center .psx-eyebrow::after{
    animation:contactRule 6s ease-in-out infinite; transform-origin:center;
  }
  @keyframes contactRule{ 0%,100%{ transform:scaleX(.7); opacity:.55; } 50%{ transform:scaleX(1.35); opacity:1; } }
  /* CTA: idle breathing glow + hover shimmer sweep */
  .spl--center .psx-c-cta{ position:relative; overflow:hidden; animation:ctaBreathe 4.5s ease-in-out infinite; }
  @keyframes ctaBreathe{ 0%,100%{ box-shadow:0 8px 24px rgba(32,36,42,.18); } 50%{ box-shadow:0 12px 34px rgba(32,36,42,.30); } }
  .spl--center .psx-c-cta::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(115deg, transparent 32%, rgba(255,255,255,.32) 50%, transparent 68%);
    transform:translateX(-130%);
  }
  .spl--center .psx-c-cta:hover::after{ animation:ctaSweep .9s ease; }
  @keyframes ctaSweep{ to{ transform:translateX(130%); } }
}

/* ============================================================
   STK — faithful springs system:
   CSS sticky "curtain" sections (previous stays pinned, next slides
   over it) + per-layer scroll keyframes (blocks rise at different
   speeds/offsets). JS only scrubs transforms; pinning is pure CSS.
   ============================================================ */
.stk{ position:relative; }
.stk-stack{ position:relative; }

/* ---- A: fully-locked stage. One sticky element keeps the viewport frame
   rock-fixed; scenes are absolutely stacked and only the image halves move
   to assemble in place. Nothing translates as a whole. ---- */
.lock{ position:relative; }
.lock__stage{ height:100vh; overflow:hidden;
  background:linear-gradient(150deg,#20242A 0%,#181B20 60%,#121418 100%); }
.lock__scene{ position:absolute; inset:0; overflow:hidden; background:transparent;
  visibility:hidden; /* 初回描画時に後半シーンの画像が一瞬全面に見えるバグ対策：
                        スクロール演出スクリプトが inline style で表示制御する */ }
.lock__scene.is-light{ background:transparent; }
.lock__scene .stk__pin{ position:absolute; inset:0; overflow:hidden; }
.stk-sec{ position:sticky !important; top:0 !important; height:100vh; overflow:hidden; background:#FAFBFC; }
.stk-sec.stk--dark{ background:linear-gradient(150deg,#20242A 0%,#181B20 60%,#121418 100%); }
.stk__pin{ position:absolute; inset:0; overflow:hidden; }

/* --- ONE image assembled from two converging halves (springs effect) --- */
.stk-bg{ position:absolute; inset:0; z-index:2; }
.stk-half{ position:absolute; overflow:hidden; will-change:transform; }
.stk-half--l{ top:0; bottom:0; left:0; width:50.05%; }
.stk-half--r{ top:0; bottom:0; right:0; width:50.05%; }
.stk-half--t{ left:0; right:0; top:0; height:50.05%; }
.stk-half--b{ left:0; right:0; bottom:0; height:50.05%; }
/* the sheet inside each half is a full-viewport image; halves show their part */
.stk-sheet{ position:absolute; width:100vw; height:100vh; top:0; left:0;
  background:linear-gradient(118deg,#EEF1F4 0%,#D8DDE3 48%,#BFC7CF 100%); }
.stk-half--r .stk-sheet{ left:auto; right:0; }
.stk-half--b .stk-sheet{ top:auto; bottom:0; }
/* 事業ページFVの写真：coverの中央切り抜きで上部（エッフェル塔頂部など）が
   見切れるため、表示基準を少し上寄りにして頂部を残す */
.lux-hero--page .stk-sheet[data-img]{ background-position:center !important; }
/* ヘッダー：透明に戻す（ぼかしは無し・画像がそのまま透ける） */
.header, .header.scrolled, .header-light, .header-light.scrolled{
  background:transparent !important; background-color:transparent !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  border-bottom:1px solid transparent !important; box-shadow:none !important; }
.stk-sheet::before{ content:""; position:absolute; inset:28px; border:1px solid rgba(255,255,255,.6); }
.stk-sheet::after{ content:""; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font:600 .78rem/1 var(--font-sans); letter-spacing:.34em; color:rgba(90,100,115,.4); }
/* single big sheet sliding horizontally */
.stk-slide{ position:absolute; inset:0; overflow:hidden; will-change:transform; }
.stk-slide .stk-sheet{ width:100%; height:100%; }

/* legacy block placeholders (still used by statement scenes' small imagery if any) */
.stk-imgA{ position:absolute; top:0; bottom:0; width:50%; left:0; z-index:2; }
.stk--rev .stk-imgA{ left:auto; right:0; }
.stk-imgB{ position:absolute; width:34%; height:44%; bottom:0; left:32%; z-index:3;
  box-shadow:0 30px 70px rgba(16,20,26,.35); }
.stk--rev .stk-imgB{ left:auto; right:32%; }
.stk-ph{ position:absolute; inset:0; overflow:hidden;
  background:linear-gradient(135deg,#EEF1F4 0%,#D8DDE3 55%,#C4CBD2 100%); }
.stk-ph::before{ content:""; position:absolute; inset:12px; border:1px solid rgba(255,255,255,.55); }
.stk-ph::after{ content:""; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font:600 .72rem/1 var(--font-sans); letter-spacing:.3em; color:rgba(90,100,115,.42); }

/* --- giant word (springs Wellness/Nature) --- */
.stk-word{ position:absolute; bottom:5%; right:3.5%; z-index:4; margin:0; text-align:right;
  font-family:var(--font-serif); font-weight:500; font-size:clamp(3.6rem,11vw,11rem);
  line-height:.86; letter-spacing:-.02em; color:#23262A; }
.stk--rev .stk-word{ right:auto; left:3.5%; text-align:left; }
.stk-word .pk{ display:block; font-family:var(--font-sans); font-weight:600;
  font-size:clamp(.68rem,.95vw,.8rem); letter-spacing:.26em; text-transform:uppercase;
  color:#5C6672; margin-bottom:14px; }

/* --- caption paragraph (over the imagery, springs style) --- */
.stk-cap{ position:absolute; top:30%; left:6%; width:31%; z-index:4; color:#2A2E34; }
.stk--rev .stk-cap{ left:auto; right:6%; text-align:right; }
.stk-cap p{ margin:0; font:400 clamp(.98rem,1.2vw,1.12rem)/1.9 var(--font-sans); }
.stk-cap .stk-idx{ display:block; margin-bottom:16px; font:600 .76rem/1 var(--font-sans); letter-spacing:.24em; color:#5C6672; }
.stk-cap .stk-more{ display:inline-flex; align-items:center; gap:9px; margin-top:24px; padding:12px 24px;
  border:1px solid rgba(90,100,115,.35); border-radius:980px; color:#2A2E34; text-decoration:none;
  font:500 .86rem/1 var(--font-sans); transition:all .4s ease; background:rgba(255,255,255,.4); }
.stk-cap .stk-more:hover{ background:#20242A; color:#F2F5F8; border-color:transparent; }

/* --- statement (intro) : panel with big serif text + stacked images --- */
.stk-panel-text{ position:absolute; top:0; bottom:0; left:0; width:50%; z-index:4;
  display:flex; flex-direction:column; justify-content:center; padding:0 clamp(28px,5vw,84px); }
.stk--dark .stk-panel-text{ color:#F2F5F8; }
.stk-st-title{ font-family:var(--font-serif); font-weight:500; font-size:clamp(2rem,4.6vw,4.2rem);
  line-height:1.16; letter-spacing:-.01em; margin:18px 0 0; color:#F2F5F8; text-wrap:balance; }
.stk-st-title .em{ font-style:italic; color:#C3CAD3; }
.stk-eyebrow{ display:inline-flex; align-items:center; gap:12px; font:600 .74rem/1 var(--font-sans);
  letter-spacing:.26em; text-transform:uppercase; color:#9AA3AE; }
.stk-eyebrow::before{ content:""; width:34px; height:1px; background:#7C8794; }
.stk-st-text{ margin:24px 0 0; font:400 clamp(.98rem,1.2vw,1.12rem)/1.9 var(--font-sans); color:rgba(226,231,236,.85); max-width:44ch; }
.stk-st-stats{ display:flex; gap:clamp(28px,4vw,64px); margin-top:40px; flex-wrap:wrap; }
.stk-st-stats b{ display:block; font-family:var(--font-serif); font-weight:500; font-size:clamp(2.2rem,4vw,3.4rem); line-height:1; color:#F2F5F8; }
.stk-st-stats span{ font:600 .68rem/1 var(--font-sans); letter-spacing:.2em; text-transform:uppercase; color:#8A93A0; margin-top:8px; display:block; }
.stk-st-cta{ display:inline-flex; align-items:center; gap:10px; margin-top:38px; padding:15px 32px; align-self:flex-start;
  border-radius:980px; background:#F2F5F8; color:#20242A; text-decoration:none; font:500 .95rem/1 var(--font-sans); transition:all .4s ease; }
.stk-st-cta:hover{ background:#C3CAD3; transform:translateY(-2px); }
/* two stacked image blocks on the right of statement scenes */
.stk-imgT{ position:absolute; right:0; top:0; width:50%; height:55%; z-index:2; }
.stk-imgU{ position:absolute; right:0; bottom:0; width:42%; height:48%; z-index:3; box-shadow:0 30px 70px rgba(16,20,26,.3); }

@media (max-width:820px){
  .stk-imgA{ width:100%; height:52%; bottom:0; top:auto; }
  .stk-imgB{ display:none; }
  .stk-cap, .stk--rev .stk-cap{ left:24px; right:24px; top:10%; width:auto; text-align:left; }
  .stk-word{ font-size:clamp(3rem,15vw,5.5rem); }
  .stk-panel-text{ width:100%; padding:0 24px; }
  .stk-imgT,.stk-imgU{ display:none; }
}

@media (max-width:820px){
  .psx-panel{ width:100%; }
  .psx-imgA{ width:100%; height:56%; top:auto; bottom:0; }
  .psx--right .psx-imgA, .psx--left .psx-imgA{ left:0; right:0; }
  .psx-imgB{ display:none; }
  .psx-word{ font-size:clamp(3rem,15vw,5rem); bottom:auto; top:40%; }
  .psx--right .psx-word,.psx--left .psx-word{ left:24px; right:24px; text-align:left; }
  .psx-lead{ width:auto; left:24px; right:24px; top:9%; text-align:left; }
  .psx--left .psx-lead{ text-align:left; }
}


/* ---- Stylish scene details (business pages) ---- */
.stk-chips{ display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }
.stk--rev .stk-chips{ justify-content:flex-end; }
.stk-chips span{ padding:8px 16px; border:1px solid rgba(90,100,115,.32); border-radius:980px;
  font:500 .78rem/1 var(--font-sans); letter-spacing:.06em; color:#5C6672; background:rgba(255,255,255,.55); }

/* Ghost outline numeral, drifts slightly slower than content */
.stk-num{ position:absolute; top:5%; right:3%; z-index:3; margin:0; pointer-events:none;
  font-family:var(--font-serif); font-weight:500; font-size:clamp(9rem,26vw,24rem); line-height:.8;
  color:transparent; -webkit-text-stroke:1px rgba(90,100,115,.20); }
.stk--rev .stk-num{ right:auto; left:3%; }
.stk-sec.stk--dark .stk-num{ -webkit-text-stroke:1px rgba(196,201,207,.14); }

/* Hairline over caption for editorial feel */
.stk-cap{ padding-top:18px; border-top:1px solid rgba(90,100,115,.25); }
.stk-sec.stk--dark .stk-cap{ border-top-color:rgba(196,201,207,.2); }


/* ============================================================
   SPLIT-ASSEMBLE (v5) — one image splits into halves that drift in
   from different directions and lock into a single seamless image.
   Locked stage; scenes stack, each assembles over the previous.
   ============================================================ */
.spl{ position:absolute; inset:0; overflow:hidden; }
.spl-img{ position:absolute; inset:0; overflow:hidden; z-index:1; }
.spl-img::after{ content:""; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font:600 .72rem/1 var(--font-sans); letter-spacing:.3em; color:rgba(90,100,115,.4); z-index:2; pointer-events:none;
  opacity:var(--asm,1); }   /* ラベルは画像の組み上がりに連動して現れる（前のシーンの文字に被らない） */
.spl-half{ position:absolute; overflow:hidden; will-change:transform; }
.spl-half .spl-sheet{ position:absolute; left:0; top:0; width:100%; height:100%;
  background:linear-gradient(135deg,#EEF1F4 0%,#DadfE5 48%,#C4CBD2 100%); }
/* vertical split (top / bottom halves) */
.spl-half--vt{ left:0; right:0; top:0; height:50%; }
.spl-half--vt .spl-sheet{ height:200%; top:0; }
.spl-half--vb{ left:0; right:0; bottom:0; height:50%; }
.spl-half--vb .spl-sheet{ height:200%; top:-100%; }
/* horizontal split (left / right halves) */
.spl-half--hl{ top:0; bottom:0; left:0; width:50%; }
.spl-half--hl .spl-sheet{ width:200%; left:0; }
.spl-half--hr{ top:0; bottom:0; right:0; width:50%; }
.spl-half--hr .spl-sheet{ width:200%; left:-100%; }
/* single full sweep */
.spl-half--full{ inset:0; }

.spl-scrim{ position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(180deg,rgba(18,15,10,.38) 0%,rgba(18,15,10,.08) 28%,rgba(18,15,10,.10) 58%,rgba(18,15,10,.56) 100%); }

.spl-word{ position:absolute; bottom:7%; margin:0; z-index:4; will-change:transform,opacity;
  font-family:var(--font-serif); font-weight:500; font-size:clamp(3.4rem,10vw,10rem);
  line-height:.86; letter-spacing:-.02em; color:#FBF7EE; text-shadow:0 8px 50px rgba(0,0,0,.3); }
@media (prefers-reduced-motion: no-preference){
  .spl-word::after{
    content:attr(data-txt); position:absolute; left:0; top:0; white-space:nowrap; pointer-events:none;
    background-image:linear-gradient(105deg, transparent 40%, rgba(255,255,255,.92) 50%, transparent 60%);
    background-repeat:no-repeat; background-size:250% 100%; background-position:130% 0;
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
    animation:splWordSheen 5.2s ease-in-out infinite; }
  .spl--left .spl-word::after{ left:auto; right:0; }
  @keyframes splWordSheen{ 0%{ background-position:130% 0; } 55%,100%{ background-position:-30% 0; } }
}
.spl--right .spl-word{ right:3.5%; text-align:right; }
.spl--left  .spl-word{ left:3.5%;  text-align:left; }
.spl-word .pk{ display:block; font-family:var(--font-sans); font-weight:600;
  font-size:clamp(.7rem,1vw,.82rem); letter-spacing:.26em; text-transform:uppercase; color:#EBD8AF; margin-bottom:14px; }

.spl-cap{ position:absolute; top:32%; width:min(88vw,680px); z-index:4; color:#EAEFF4; will-change:transform,opacity; }
.spl-cap::before{ content:""; position:absolute; z-index:-1; inset:-120px -260px -130px -200px;
  background:radial-gradient(130% 120% at 16% 48%, rgba(10,12,16,.44) 0%, rgba(10,12,16,.18) 50%, rgba(10,12,16,0) 80%);
  filter:blur(60px); pointer-events:none; }
.spl--left .spl-cap::before{ background:radial-gradient(130% 120% at 84% 48%, rgba(10,12,16,.44) 0%, rgba(10,12,16,.18) 50%, rgba(10,12,16,0) 80%); }
.spl--right .spl-cap{ left:6.5%; }
.spl--left  .spl-cap{ right:6.5%; text-align:right; }
.spl-cap .spl-eyebrow{ display:inline-flex; align-items:center; gap:12px; font:600 .74rem/1 var(--font-sans);
  letter-spacing:.26em; text-transform:uppercase; color:#F0DCAF; margin-bottom:18px; text-shadow:0 1px 3px rgba(0,0,0,.9),0 2px 16px rgba(0,0,0,.7); }
.spl-cap .spl-eyebrow::before{ content:""; width:34px; height:1px; background:currentColor; opacity:.7; }
.spl--left .spl-cap .spl-eyebrow{ flex-direction:row-reverse; }
.spl-cap p{ margin:0; font:400 clamp(1rem,1.25vw,1.16rem)/1.9 var(--font-sans); color:rgba(244,247,250,.97); text-shadow:0 1px 3px rgba(0,0,0,.9),0 2px 20px rgba(0,0,0,.7); }
.spl-cap .spl-more{ display:inline-flex; align-items:center; gap:9px; margin-top:24px; padding:12px 24px;
  border:1px solid rgba(247,250,252,.42); border-radius:980px; color:#F7FAFC; text-decoration:none;
  font:500 .88rem/1 var(--font-sans); transition:all .4s ease; background:rgba(247,250,252,.05); }
.spl-cap .spl-more:hover{ background:var(--gradient-gold); color:#1C1A16; border-color:transparent; }

/* center scenes reuse psx-center visuals — light stage matching the site's paper tone */
.spl--center .spl-word{ display:none; }
.spl--center .spl-half .spl-sheet{ background:linear-gradient(150deg,#F7F8FA 0%,#EEF1F4 58%,#E3E7EC 100%); }

/* ---------- JP/EN language toggle ---------- */
.header-actions{ display:flex; align-items:center; gap:0; }
.lang-toggle{ display:inline-flex; align-items:center; gap:7px; margin-left:22px; font:600 .74rem/1 var(--font-sans); letter-spacing:.06em; }
.lang-toggle button{ background:none; border:0; padding:2px 1px; cursor:pointer; font:inherit; letter-spacing:inherit; color:var(--text-tertiary); transition:color .2s ease; }
.lang-toggle button:hover{ color:var(--text-primary); }
.lang-toggle button.is-active{ color:var(--color-accent-deep); font-weight:700; }
.lang-toggle .lang-sep{ color:var(--text-tertiary); opacity:.45; }

/* ---------- Brand list (ec.html) ---------- */
.brandlist{ background:#FAFBFC; padding:clamp(80px,10vw,140px) 0; position:relative; }
.brandlist__inner{ max-width:var(--container-max); margin:0 auto; padding:0 var(--container-padding); }
.brandlist__head{ text-align:center; margin-bottom:clamp(40px,5vw,64px); }
.brandlist__eyebrow{ display:inline-flex; align-items:center; gap:12px; font:600 .74rem/1 var(--font-sans);
  letter-spacing:.26em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:20px; }
.brandlist__eyebrow::before,.brandlist__eyebrow::after{ content:""; width:34px; height:1px; background:var(--gradient-gold); opacity:.8; }
.brandlist__title{ font-family:var(--font-serif); font-weight:500; font-size:clamp(2.2rem,4.5vw,3.4rem);
  line-height:1.14; letter-spacing:.01em; color:var(--text-primary); margin:0 0 16px; }
.brandlist__lead{ font-size:clamp(.95rem,1.2vw,1.08rem); line-height:1.9; color:var(--text-secondary); max-width:640px; margin:0 auto; }
.brandlist__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:clamp(12px,1.4vw,20px); }
/* A–Z index style */
.brandlist__index{ display:flex; flex-direction:column; gap:clamp(44px,5vw,80px); text-align:left; }
.bl-group{ display:block; }
.bl-letter{ font:700 clamp(1.3rem,2vw,1.7rem)/1 var(--font-sans); color:var(--text-primary); letter-spacing:.02em;
  padding-bottom:16px; margin-bottom:clamp(22px,2.4vw,34px); border-bottom:1px solid rgba(30,34,40,.1); }
.bl-items{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(18px,2vw,30px) clamp(20px,2.4vw,40px); }
.bl-item{ font:500 clamp(.98rem,1.15vw,1.12rem)/1.35 var(--font-sans); color:var(--text-primary); letter-spacing:.01em;
  transition:color .25s ease; cursor:default; }
.bl-item:hover{ color:var(--gold-deep); }
@media(max-width:900px){ .bl-items{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .bl-items{ grid-template-columns:repeat(2,1fr); } }
.brand-cell{ position:relative; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; text-align:center;
  padding:18px; background:#fff; border:1px solid rgba(30,34,40,.08); border-radius:14px;
  box-shadow:0 2px 14px rgba(40,50,65,.04); transition:transform .35s var(--ease-out,ease), box-shadow .35s ease, border-color .35s ease; }
.brand-cell:hover{ transform:translateY(-4px); box-shadow:0 14px 40px rgba(40,50,65,.10); border-color:rgba(124,135,148,.4); }
.brand-cell__name{ font-family:var(--font-serif); font-weight:500; font-size:1.18rem; color:var(--text-primary); letter-spacing:.02em; }
.brand-cell__ph{ font:600 .68rem/1.4 var(--font-sans); letter-spacing:.22em; text-transform:uppercase; color:var(--text-tertiary); opacity:.5; }
.brandlist__note{ margin-top:clamp(28px,3vw,44px); text-align:center; font-size:.85rem; color:var(--text-tertiary); letter-spacing:.02em; }
@media(max-width:520px){ .brandlist__grid{ grid-template-columns:repeat(2,1fr); } }

/* 携帯専用の手動改行（PCでは無効） */
br.mbr{ display:none; }

/* ============================================================
   MOBILE / 携帯 — split-stage scroll-jack fallback
   On phones the GSAP ScrollTrigger pin (data-pin-scroll) is skipped,
   so the locked scenes reflow into normal, fully-scrollable panels:
   image banner → word → caption. Fixes the "plugin doesn't work on
   mobile" behaviour (scroll-jacking + dynamic-toolbar viewport jumps).
   ============================================================ */
@media (max-width: 900px){
  /* overflow-x:hidden は position:sticky を無効化するため、同等の clip に置換 */
  html, body{ overflow-x:clip; }
  /* iOSツールバー伸縮時のスクロール巻き戻り対策：
     smoothだとブラウザ内部のスクロール補正までアニメし「一瞬最下部へ戻る」ように見える */
  html{ scroll-behavior:auto; }
  body{ overflow-anchor:none; }
  /* 100vhはアドレスバー伸縮で変動して揺れるため、安定単位svhに固定 */
  /* アドレスバーが隠れた時に下に白い帯が出ないよう、常に最大高（lvh）で画面を覆う */
  .lux-hero{ height:100vh; height:100lvh; min-height:560px; }
  .stk-sheet{ height:100vh; height:100lvh; }
  /* ステージをstickyで画面に固定し、PC版と同じく「前の画面が留まったまま
     上に次の画像の破片が右上・左下から飛来して組み上がる」を再現。
     スクロール連動は各ページの data-pin-scroll フォールバックが担う */
  /* ステージ固定はJS（pinエミュレーション）が担う。stickyは初期描画用の保険 */
  .lock{ position:relative !important; }
  .lock__stage{ position:sticky; top:0; height:100vh !important; height:100lvh !important;
    overflow:hidden !important; background:transparent !important; }
  .lock__scene{ position:absolute !important; inset:0 !important; }
  /* スマホは縦長で左右が大きく切れるため、東京タワーが入るよう表示位置を右へ寄せる */
  .spl-img[data-img="00"] .spl-sheet{ background-position:72% center !important; }
  /* Travel（IMAGE 02）：左端の人物が入るよう表示位置を左へ寄せる */
  .spl-img[data-img="02"] .spl-sheet{ background-position:30% center !important; }
  /* EC（03）：女性の左側を主役に */
  .spl-img[data-img="03"] .spl-sheet{ background-position:40% center !important; }
  /* Real Estate（04）：やや左寄りに */
  .spl-img[data-img="04"] .spl-sheet{ background-position:43% center !important; }
  /* BE WORK ロゴ（IMAGE 05）：横長のため縦画面ではcoverだと左右が切れる。全体が入るcontainに */
  .spl-img[data-img="05"] .spl-sheet,
  .stk-sheet[data-img="05"],
  [data-img="05"]:not(.spl-img):not(.lux-hero__tile){ background-size:contain !important;
    background-position:center !important; background-color:#FFFFFF !important;
    background-repeat:no-repeat !important; }

  /* PC同様、画像は全面。見出しは下部コーナー、本文は上部に重なる */
  .spl-word{ font-size:clamp(2.5rem,12.5vw,4.6rem); bottom:6%; }
  .spl--right .spl-word{ right:5%; }
  .spl--left  .spl-word{ left:5%; }
  .spl-cap{ top:14%; width:86vw; }
  .spl--right .spl-cap{ left:7vw; }
  .spl--left  .spl-cap{ right:7vw; }
  /* 改行は「、」「。」の直後のみ（文中の途切れを禁止）。収まらない場合のみ例外的に折り返し */
  /* 「、」は非表示のまま改行候補点に：1行に収まるならそのまま1行、
     収まらないときだけここで折り返す（行末に「、」は出ない。PCは通常表示） */
  .spl-cap p .cbr, .lux-hero__eyebrow .cbr{ font-size:0; }
  /* フォントを画面幅連動（vw）に：機種が違っても1行の文字数が同じになり、
     改行位置が全端末で統一される（iPhone8/SEの字余り解消） */
  br.mbr{ display:inline; }
  .spl-cap p{ font-size:clamp(9px,3.15vw,14px); line-height:1.85; text-wrap:balance;
    word-break:keep-all; overflow-wrap:anywhere; }
  .lux-hero__eyebrow{ font-size:clamp(10px,3.45vw,15px) !important; text-wrap:balance; word-break:keep-all; overflow-wrap:anywhere; }

  /* center (intro) scene keeps its centered overlay */
  .psx-center{ padding:64px 24px; }
}

/* ============================================================
   MOBILE / 携帯 — inline two-column grids collapse to one column.
   About page (会社概要) was cramming all text into a ~190px column,
   making every section far too tall and narrow. Contact form fields
   likewise stack instead of squeezing side-by-side.
   ============================================================ */
@media (max-width: 768px){
  .about-sec__grid{ grid-template-columns:1fr !important; gap:16px !important; }
  .about-sec .about-num{ padding-top:0 !important; }
  .about-sec [data-info-row]{ grid-template-columns:1fr !important; gap:6px !important; }
}
@media (max-width: 600px){
  .contact-form__row{ grid-template-columns:1fr !important; }
}

/* IMAGE挿入（img-insert.js）：画像が入ったらラベル・枠を消す */
.spl-img.has-img::after{ content:none !important; }
.lux-hero__tile.has-img::after{ content:none !important; }
.has-img .spl-sheet::before, .has-img .spl-sheet::after{ content:none !important; }

/* IMAGE 00：中央シーンに写真が入った時の文字の可読性
   （写真の上に暗めのスクリムを敷き、文字を白系＋シャドウに反転） */
.spl--center .spl-img.has-img::before{ content:""; position:absolute; inset:0; z-index:3; pointer-events:none;
  background:radial-gradient(90% 72% at 50% 50%, rgba(12,16,22,.58) 0%, rgba(12,16,22,.34) 62%, rgba(12,16,22,.22) 100%); }
.spl--center .spl:has(.spl-img.has-img) .psx-center .psx-eyebrow{ color:rgba(240,243,247,.88); }
.spl--center .spl:has(.spl-img.has-img) .psx-center .psx-eyebrow::before,
.spl--center .spl:has(.spl-img.has-img) .psx-center .psx-eyebrow::after{ background:rgba(240,243,247,.6); }
.spl--center .spl:has(.spl-img.has-img) .psx-c-title{ color:#F7F9FB; text-shadow:0 2px 26px rgba(8,12,18,.55), 0 1px 3px rgba(8,12,18,.4); }
.spl--center .spl:has(.spl-img.has-img) .psx-center::before{ display:none; } /* 光のブルームは写真上では消す */

/* IMAGE 00に写真がある時：.em のシルバーグラデ文字（暗色）も白系シーンに差し替え */
@media (prefers-reduced-motion: no-preference){
  .spl--center .spl:has(.spl-img.has-img) .psx-c-title .em{
    background:linear-gradient(100deg,
      #F7F9FB 0%, #F7F9FB 40%,
      #FFFFFF 48%, #FFFFFF 52%,
      #F7F9FB 60%, #F7F9FB 100%);
    background-size:230% 100%;
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
  }
}
.spl--center .spl:has(.spl-img.has-img) .psx-c-title .em{ color:#F7F9FB; }
/* :has非対応ブラウザ向けの保険：JSがクラスを親シーンにも付ける */
.spl--center.scene-has-img .spl-img::before{ content:""; position:absolute; inset:0; z-index:3; pointer-events:none;
  background:radial-gradient(90% 72% at 50% 50%, rgba(12,16,22,.58) 0%, rgba(12,16,22,.34) 62%, rgba(12,16,22,.22) 100%); }
.spl--center.scene-has-img .psx-eyebrow{ color:rgba(240,243,247,.88) !important; }
.spl--center.scene-has-img .psx-eyebrow::before, .spl--center.scene-has-img .psx-eyebrow::after{ background:rgba(240,243,247,.6) !important; }
.spl--center.scene-has-img .psx-c-title{ color:#F7F9FB !important; text-shadow:0 2px 26px rgba(8,12,18,.55), 0 1px 3px rgba(8,12,18,.4); }
.spl--center.scene-has-img .psx-c-title .em{ background:none !important; -webkit-text-fill-color:#F7F9FB !important; color:#F7F9FB !important; }
.spl--center.scene-has-img .psx-center::before{ display:none; }

/* ============================================
   SOFT WAVE BACKGROUND — テキスト中心のページ（会社概要/プライバシー/お問い合わせ）
   画面中央にきれいなサイン波を3層。ゆっくり横に流れる。
   ============================================ */
.wavebg{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; background:#FAFBFC; }
.wavebg svg{ position:absolute; left:50%; top:50%; width:300vw; height:200vh; }
.wavebg__l1{ transform:translate(-50%,-50%); }
.wavebg__l2{ transform:translate(-50%,-50%) scaleY(-1); }
.wavebg svg path{ fill:none; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.wavebg__l1 path{ stroke:#DFE3E8; stroke-width:1.4; opacity:.95; animation:waveFlow 24s linear infinite; }
.wavebg__l2 path{ stroke:#E6E9ED; stroke-width:1.4; opacity:.9;  animation:waveFlow 34s linear infinite reverse; }
@keyframes waveFlow{
  from{ transform:translateX(0); }
  to  { transform:translateX(-1440px); }
}
body.has-wavebg{ background:#FAFBFC; }
body.has-wavebg .header,
body.has-wavebg .about-sec,
body.has-wavebg .footer,
body.has-wavebg .contact-sec{ position:relative; z-index:1; }
/* 波が透けるよう、テキストページのセクション背景は透明にする */
body.has-wavebg .about-sec,
body.has-wavebg .contact-sec,
body.has-wavebg section,
body.has-wavebg .container{ background:transparent !important; }
/* 直線の区切り線は波の湾曲を邪魔するので出さない */
body.has-wavebg .about-sec,
body.has-wavebg .contact-sec,
body.has-wavebg section{ border-top:0 !important; border-bottom:0 !important; }
@media (prefers-reduced-motion: reduce){ .wavebg svg path{ animation:none !important; } }
@media (max-width:768px){
  .wavebg svg{ width:560vw; height:200vh; }
  .wavebg__l1{ transform:translate(-50%,-50%); }
  .wavebg__l2{ transform:translate(-50%,-50%) scaleY(-1); }
}
