/*
Theme Name: Yoru Portal Theme
Theme URI: https://yoruno.jp
Description: YORUNOポータル専用のオリジナルテーマ（ラグジュアリーデザイン）
Author: YORUNO
Version: 1.0
*/

/* ============================================
   YORUNO - WORLD CLASS LUXURY DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #08090c;
    --bg-secondary: #0d0e12;
    --gold-primary: #c9a86c;
    --gold-light: #e8d5b0;
    --gold-dark: #8a7348;
    --white: #fafafa;
    --gray-100: #e5e5e5;
    --gray-200: #cccccc;
    --gray-300: #999999;
    --gray-400: #666666;
    --gray-500: #444444;
    --gray-600: #2a2a2a;
    --gray-700: #1a1a1a;
    
    --font-jp: "Shippori Mincho", "Yu Mincho", "ヒラギノ明朝 ProN", serif;
    --font-en: "Montserrat", sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

/* ============================================
   WRAPPER & RESETS
   ============================================ */

#yoruno-luxury-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--bg-primary);
    color: var(--white);
    font-family: var(--font-en);
    overflow-x: hidden;
    cursor: none;
}

#yoruno-luxury-wrapper *:last-child { margin-bottom: 0 !important; }

#yoruno-luxury-wrapper h1, #yoruno-luxury-wrapper h2, #yoruno-luxury-wrapper h3, 
#yoruno-luxury-wrapper h4, #yoruno-luxury-wrapper h5, #yoruno-luxury-wrapper h6 {
    margin: 0 !important;
    padding: 0 !important; 
    border: none !important; 
    background: none !important;
    box-shadow: none !important;
}
#yoruno-luxury-wrapper h1::before, #yoruno-luxury-wrapper h2::before, #yoruno-luxury-wrapper h3::before,
#yoruno-luxury-wrapper h1::after, #yoruno-luxury-wrapper h2::after, #yoruno-luxury-wrapper h3::after {
    display: none !important;
    content: none !important;
}

#yoruno-luxury-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.custom-cursor {
    pointer-events: none;
    position: fixed;
    z-index: 99999;
    mix-blend-mode: difference;
}
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}
.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--gold-primary);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.loading-logo {
    display: flex;
    gap: 4px;
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.loading-logo span {
    opacity: 0;
    transform: translateY(20px);
    animation: loadChar 0.5s var(--ease-out-expo) forwards;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.loading-logo span:nth-child(1) { animation-delay: 0.1s; }
.loading-logo span:nth-child(2) { animation-delay: 0.15s; }
.loading-logo span:nth-child(3) { animation-delay: 0.2s; }
.loading-logo span:nth-child(4) { animation-delay: 0.25s; }
.loading-logo span:nth-child(5) { animation-delay: 0.3s; }
.loading-logo span:nth-child(6) { animation-delay: 0.35s; }

@keyframes loadChar {
    to { opacity: 1; transform: translateY(0); }
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--gray-600);
    border-radius: 2px;
    overflow: hidden;
}
.loading-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    animation: loadProgress 1.5s var(--ease-in-out) forwards;
}
@keyframes loadProgress {
    to { width: 100%; }
}

.loading-screen.loaded {
    animation: fadeOutLoader 0.8s var(--ease-out-expo) forwards;
    animation-delay: 1.6s;
}
@keyframes fadeOutLoader {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ============================================
   BACKGROUND SYSTEM
   ============================================ */

.luxury-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#dust-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.bg-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}
.orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.4) 0%, transparent 70%);
    animation: floatOrb 20s ease-in-out infinite;
}
.orb-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    left: -100px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.2) 0%, transparent 70%);
    animation: floatOrb 25s ease-in-out infinite reverse;
}
.orb-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 10%;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
    animation: floatOrb 15s ease-in-out infinite;
}

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

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(201, 168, 108, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 108, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

/* ============================================
   HEADER
   ============================================ */

.yoruno-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 60px;
    height: 90px;
    display: flex;
    align-items: center;
}

.header-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0.9) 0%, rgba(8, 9, 12, 0) 100%);
    pointer-events: none;
}

.header-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 10;
}
.logo-icon {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.header-logo:hover .logo-icon {
    opacity: 1;
    transform: rotate(10deg);
}
.logo-text {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--white) 30%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 50px;
}

.nav-item {
    text-decoration: none;
    padding: 10px 0;
    position: relative;
}
.nav-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-200);
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transform: translateX(-50%);
    transition: width 0.4s var(--ease-out-expo);
}
.nav-item:hover .nav-text { color: var(--white); }
.nav-item:hover::after { width: 100%; }

.header-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--bg-primary);
    overflow: hidden;
    z-index: 10;
}
.header-cta .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    z-index: -1;
    transition: transform 0.4s var(--ease-out-expo);
}
.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}
.header-cta:hover::before { left: 100%; }
.header-cta:hover .cta-bg { transform: scale(1.05); }
.header-cta .cta-text { position: relative; z-index: 2; }
.header-cta .cta-icon {
    position: relative;
    z-index: 2;
    display: flex;
    transition: transform 0.3s ease;
}
.header-cta:hover .cta-icon { transform: translateX(4px); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 50px;
    height: 50px;
    background: none;
    border: 1px solid var(--gray-500);
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: border-color 0.3s ease;
}
.mobile-menu-btn:hover { border-color: var(--gold-primary); }
.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 12px;
}
.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-primary);
    transition: all 0.4s var(--ease-out-expo);
}
.hamburger span:first-child { top: 0; }
.hamburger span:last-child { bottom: 0; }
.mobile-menu-btn.active .hamburger span:first-child {
    top: 50%;
    transform: rotate(45deg);
}
.mobile-menu-btn.active .hamburger span:last-child {
    bottom: 50%;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.active {
    pointer-events: auto;
    opacity: 1;
}
.mobile-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 12, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease-out-expo);
}
.mobile-menu.active .mobile-menu-bg {
    transform: translateY(0);
}
.mobile-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 400px;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 25px 0;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-600);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    transition-delay: calc(var(--i) * 0.1s + 0.3s);
}
.mobile-menu.active .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav-num {
    font-size: 0.65rem;
    color: var(--gold-primary);
    letter-spacing: 0.2em;
}
.mobile-nav-text {
    font-family: var(--font-jp);
    font-size: 1.8rem;
    color: var(--white);
}
.mobile-nav-sub {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.15em;
}
.mobile-cta-btn {
    margin-top: 40px;
    padding: 20px;
    background: var(--gold-primary);
    color: var(--bg-primary);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    transition-delay: calc(var(--i) * 0.1s + 0.3s);
}
.mobile-menu.active .mobile-cta-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 100px;
    overflow: hidden;
}

/* フローティング絵文字 */
.floating-emojis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.float-emoji {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 2rem;
    opacity: 0.15;
    animation: floatEmoji var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}
@keyframes floatEmoji {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% { 
        transform: translateY(-20px) rotate(10deg) scale(1.1);
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-10px) rotate(-5deg) scale(1);
        opacity: 0.2;
    }
    75% { 
        transform: translateY(-25px) rotate(5deg) scale(1.05);
        opacity: 0.15;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-headline {
    font-family: var(--font-jp) !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.05em;
}
.headline-row {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
}
.headline-row:first-child {
    animation-delay: 1.8s;
}
.headline-row.row-accent {
    animation-delay: 2s;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Logo Display */
.hero-logo-display {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
    animation-delay: 2.2s;
}
.hero-yoruno {
    font-family: var(--font-en);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--white) 20%, var(--gold-primary) 60%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(201, 168, 108, 0.3));
    display: inline-block;
    animation: logoGlow 4s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(201, 168, 108, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 50px rgba(201, 168, 108, 0.5));
        transform: scale(1.02);
    }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray-200);
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
    animation-delay: 2.4s;
}
.hero-desc strong {
    color: var(--white);
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
    animation-delay: 2.6s;
}

.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}
.hero-btn.primary {
    color: var(--bg-primary);
}
.hero-btn.primary .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    z-index: -1;
    transition: transform 0.4s var(--ease-out-expo);
}
.hero-btn.primary:hover .btn-bg {
    transform: scale(1.05);
}
.hero-btn.primary .btn-arrow {
    transition: transform 0.3s ease;
}
.hero-btn.primary:hover .btn-arrow {
    transform: translateX(5px);
}
.hero-btn.secondary {
    color: var(--white);
    border: 1px solid var(--gray-500);
}
.hero-btn.secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    position: relative;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}
@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    writing-mode: vertical-rl;
    animation: textPulse 2s ease-in-out infinite;
}
@keyframes textPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   HERO MARQUEE - 強調版
   ============================================ */

.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, 
        rgba(201, 168, 108, 0.05) 0%, 
        rgba(201, 168, 108, 0.1) 50%, 
        rgba(201, 168, 108, 0.05) 100%
    );
    border-top: 1px solid rgba(201, 168, 108, 0.3);
    border-bottom: 1px solid rgba(201, 168, 108, 0.3);
}

.marquee-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--bg-primary) 0%, 
        transparent 10%, 
        transparent 90%, 
        var(--bg-primary) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.marquee-inner {
    padding: 25px 0;
}

.marquee-track {
    display: flex;
    animation: marquee 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    white-space: nowrap;
    text-transform: uppercase;
}

.marquee-icon {
    color: var(--gold-primary);
    font-size: 0.7rem;
    animation: sparkle 2s ease-in-out infinite;
}

.marquee-dot {
    width: 5px;
    height: 5px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0.6;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    position: relative;
    z-index: 2;
    padding: 150px 60px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
}
.section-num {
    font-size: 0.9rem;
    color: var(--gold-primary);
    letter-spacing: 0.2em;
    font-weight: 600;
}
.section-title {
    font-family: var(--font-jp) !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    color: var(--white) !important;
}
.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gray-600), transparent);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-main {
    margin-bottom: 80px;
}

.about-headline {
    font-family: var(--font-jp) !important;
    font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 50px !important;
    text-align: center;
}
.about-headline span {
    display: block;
}
.about-headline .accent {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-family: var(--font-jp);
    font-size: 1rem;
    line-height: 2.2;
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.about-text p {
    margin-bottom: 25px;
}
.about-text .highlight {
    color: var(--white);
    font-size: 1.1rem;
}
.about-text strong {
    color: var(--gold-primary);
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}
.feature-card {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}
.feature-card:hover {
    border-color: rgba(201, 168, 108, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}
.feature-card:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}
.feature-num-wrap {
    margin-bottom: 5px;
}
.feature-num {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}
.feature-num small {
    font-size: 1.5rem;
}
.feature-label {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 500;
}
.feature-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    position: relative;
    z-index: 2;
    padding: 100px 60px 150px;
}

.services-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 2;
    margin-bottom: 60px;
}

.service-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    padding: 40px;
    text-decoration: none;
    display: block;
    transition: all 0.4s var(--ease-out-expo);
}
.service-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}
.service-card:not(.card-coming-soon):not(.card-fun):hover {
    transform: translateY(-5px);
}
.service-card:not(.card-coming-soon):not(.card-fun):hover .card-bg {
    border-color: rgba(201, 168, 108, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.service-card .card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}
.card-num {
    font-size: 0.7rem;
    color: var(--gray-500);
    letter-spacing: 0.1em;
}
.card-icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 108, 0.1);
    border: 1px solid rgba(201, 168, 108, 0.2);
    transition: all 0.3s ease;
}
.service-card:not(.card-coming-soon):not(.card-fun):hover .card-icon-wrap {
    background: rgba(201, 168, 108, 0.2);
    border-color: var(--gold-primary);
}
.card-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}
.service-card:not(.card-coming-soon):hover .card-icon {
    animation: iconWiggle 0.5s ease;
}
@keyframes iconWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg) scale(1.2); }
    50% { transform: rotate(10deg) scale(1.2); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

.card-body { flex: 1; }
.card-title {
    font-family: var(--font-jp) !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--white) !important;
    margin-bottom: 8px !important;
    transition: color 0.3s ease;
}
.service-card:not(.card-coming-soon):not(.card-fun):hover .card-title { color: var(--gold-primary) !important; }
.card-sub {
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-600);
}
.card-desc-main {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 500;
}
.card-features li {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.8;
    padding-left: 15px;
    position: relative;
}
.card-features li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}
.card-features-coming li {
    color: var(--gray-500);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-600);
}
.card-link {
    font-size: 0.8rem;
    color: var(--white);
    letter-spacing: 0.08em;
}
.card-arrow {
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}
.service-card:hover .card-arrow { transform: translateX(5px); }

/* Large Card */
.card-large {
    grid-column: span 2;
    min-height: 450px;
}

/* Coming Soon Card */
.card-coming-soon {
    pointer-events: none;
}
.card-coming-soon .card-content { opacity: 0.4; }
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 9, 12, 0.6);
    z-index: 10;
}
.coming-soon-badge {
    padding: 15px 35px;
    border: 2px solid var(--gold-primary);
    transform: rotate(-5deg);
}
.coming-soon-badge span {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    display: block;
}
.dev-loader {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}
.dev-loader span {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: devPulse 1.4s ease-in-out infinite;
}
.dev-loader span:nth-child(2) { animation-delay: 0.2s; }
.dev-loader span:nth-child(3) { animation-delay: 0.4s; }
@keyframes devPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Fun Card (エンタメカード) */
.card-fun {
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.05) 0%, rgba(201, 168, 108, 0.02) 100%);
    border: 1px dashed rgba(201, 168, 108, 0.3);
    cursor: default;
}
.card-fun .card-bg {
    display: none;
}
.card-fun-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    text-align: center;
}
.card-fun-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: rocketBounce 2s ease-in-out infinite;
}
@keyframes rocketBounce {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}
.card-fun-text {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.6;
}
.card-fun-text span {
    color: var(--gold-primary);
    font-weight: 500;
}
.card-fun-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.card-fun-dots span {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}
.card-fun-dots span:nth-child(2) { animation-delay: 0.2s; }
.card-fun-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    z-index: 2;
    padding: 150px 60px;
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.cta-orb-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.2) 0%, transparent 70%);
}
.cta-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
}

.cta-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 108, 0.2);
}

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

.cta-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    margin-bottom: 25px;
    display: block;
}

.cta-headline {
    font-family: var(--font-jp) !important;
    font-size: clamp(1.6rem, 3vw, 2.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 40px !important;
}
.cta-line {
    display: block;
}
.cta-line.accent {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* イケてるチャット風相談例 */
.cta-chat-examples {
    margin-bottom: 35px;
}
.cta-chat-title {
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}
.cta-chat-bubbles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}
.chat-bubble {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.15) 0%, rgba(201, 168, 108, 0.08) 100%);
    border: 1px solid rgba(201, 168, 108, 0.25);
    border-radius: 20px 20px 20px 4px;
    text-align: left;
    animation: bubbleIn 0.5s var(--ease-out-expo) forwards;
    animation-delay: calc(var(--delay) * 0.15s);
    opacity: 0;
    transform: translateX(-20px);
}
.cta-section.in-view .chat-bubble {
    opacity: 1;
    transform: translateX(0);
}
@keyframes bubbleIn {
    to { opacity: 1; transform: translateX(0); }
}
.chat-bubble:nth-child(even) {
    align-self: flex-end;
    border-radius: 20px 20px 4px 20px;
}
.bubble-text {
    font-size: 0.9rem;
    color: var(--white);
    line-height: 1.5;
}

.cta-desc {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 15px;
}
.cta-desc strong {
    color: var(--white);
}
.cta-free {
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-main-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-primary);
    overflow: hidden;
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 108, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(201, 168, 108, 0); }
}
.cta-main-btn .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    z-index: -1;
    transition: transform 0.4s var(--ease-out-expo);
}
.cta-main-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}
.cta-main-btn:hover .btn-shine { left: 100%; }
.cta-main-btn:hover .btn-bg { transform: scale(1.03); }
.cta-main-btn .btn-text { position: relative; z-index: 2; }
.cta-main-btn .btn-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.cta-main-btn:hover .btn-arrow { transform: translateX(5px); }

/* ============================================
   FOOTER
   ============================================ */

.yoruno-footer {
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
    padding: 80px 60px 40px;
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-600);
}

.footer-brand { max-width: 400px; }
.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--white) 30%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-tagline {
    font-family: var(--font-jp);
    font-size: 0.85rem;
    color: var(--gold-primary);
}
.footer-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-sns {
    display: flex;
    gap: 15px;
}
.sns-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-600);
    color: var(--gray-400);
    transition: all 0.3s ease;
}
.sns-btn svg { 
    width: 18px;
    height: 18px; 
    transition: transform 0.3s ease;
}
.sns-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-3px);
}
.sns-btn:hover svg {
    animation: snsWiggle 0.4s ease;
}
@keyframes snsWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.footer-nav-group {
    display: flex;
    gap: 80px;
}
.footer-nav h4 {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    color: var(--gold-primary) !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid var(--gray-600) !important;
}
.footer-nav li { margin-bottom: 15px; }
.footer-nav li:last-child { margin-bottom: 0; }
.footer-nav a {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}
.copyright {
    font-size: 0.75rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border: 1px solid transparent;
}
.back-to-top:hover { 
    color: var(--gold-primary); 
    border-color: rgba(201, 168, 108, 0.3);
}
.back-to-top svg { 
    transition: transform 0.3s ease;
    animation: arrowBounce 2s ease-in-out infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.back-to-top:hover svg { 
    animation: none;
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .card-large { grid-column: span 2; grid-row: span 1; }
    .feature-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    
    /* エンタメカード */
    .card-fun-inner { min-height: 180px; }
    .card-fun-emoji { font-size: 2.5rem; }
    .card-fun-text { font-size: 1rem; }
}

@media (max-width: 900px) {
    .header-nav, .header-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu { display: block; }
    .yoruno-header { padding: 0 30px; height: 70px; }
    .hero-section { padding: 100px 25px 80px; }
    .about-section { padding: 100px 25px; }
    .services-section { padding: 80px 25px 120px; }
    .cta-section { padding: 100px 25px; }
    .yoruno-footer { padding: 60px 25px 30px; }
    .scroll-indicator { left: 25px; bottom: 100px; }
    .feature-cards { grid-template-columns: 1fr; gap: 15px; }
    .feature-card { padding: 35px 25px; }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .section-line { display: none; }
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .marquee-item {
        font-size: 0.8rem;
        padding: 0 25px;
    }
    .marquee-inner { padding: 18px 0; }
    
    /* フローティング絵文字を縮小 */
    .float-emoji { font-size: 1.5rem; opacity: 0.1; }
}

@media (max-width: 768px) {
    .custom-cursor { display: none; }
    #yoruno-luxury-wrapper { cursor: auto; }
    
    .floating-emojis { display: none; }
    
    .service-grid { grid-template-columns: 1fr; }
    .card-large { grid-column: span 1; min-height: auto; }
    .service-card { padding: 30px; }
    
    /* エンタメカード - モバイル */
    .card-fun { padding: 25px; }
    .card-fun-inner { 
        min-height: 150px; 
        padding: 20px 0;
    }
    .card-fun-emoji { 
        font-size: 2.2rem; 
        margin-bottom: 15px;
    }
    .card-fun-text { 
        font-size: 0.95rem; 
        line-height: 1.5;
    }
    .card-fun-dots { 
        margin-top: 15px; 
        gap: 6px;
    }
    .card-fun-dots span {
        width: 6px;
        height: 6px;
    }
    
    .hero-headline { font-size: 1.6rem !important; }
    .hero-yoruno { font-size: 2.5rem; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 35px; }
    .hero-cta-group { flex-direction: column; gap: 15px; }
    .hero-btn { width: 100%; justify-content: center; padding: 16px 30px; }
    
    .about-headline { font-size: 1.4rem !important; }
    .about-text { font-size: 0.95rem; }
    
    .footer-main { flex-direction: column; gap: 40px; }
    .footer-nav-group { flex-direction: column; gap: 35px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .cta-container { padding: 40px 25px; }
    .cta-headline { font-size: 1.3rem !important; }
    .cta-chat-bubbles { max-width: 100%; }
    .chat-bubble { padding: 10px 16px; }
    .bubble-text { font-size: 0.85rem; }
    .cta-btn-group { flex-direction: column; }
    .cta-main-btn { width: 100%; justify-content: center; padding: 18px 30px; }
    
    .scroll-indicator { display: none; }
    
    .marquee-inner { padding: 15px 0; }
    .marquee-item {
        font-size: 0.75rem;
        padding: 0 20px;
    }
    
    /* 開発中バッジ - モバイル */
    .coming-soon-badge {
        padding: 12px 25px;
    }
    .coming-soon-badge span {
        font-size: 0.9rem;
    }
    .dev-loader span {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 1.4rem !important; }
    .hero-yoruno { font-size: 2rem; }
    .hero-logo-display { margin-bottom: 30px; }
    
    .feature-num { font-size: 2.8rem; }
    .feature-label { font-size: 0.9rem; }
    
    .card-title { font-size: 1.3rem !important; }
    .card-desc-main { font-size: 0.95rem; }
    .card-features li { font-size: 0.8rem; }
    
    .loading-logo { font-size: 2rem; }
    
    /* エンタメカード - 小画面 */
    .card-fun { padding: 20px; }
    .card-fun-inner { min-height: 130px; }
    .card-fun-emoji { font-size: 2rem; margin-bottom: 12px; }
    .card-fun-text { font-size: 0.9rem; }
    
    /* チャットバブル - 小画面 */
    .chat-bubble { padding: 10px 14px; }
    .bubble-text { font-size: 0.8rem; }
    .cta-chat-title { font-size: 0.85rem; }
}