/* ============================================================
   MIE LLC — top.css
   トップページ（MIE.html）固有スタイル
   ============================================================ */

/* ── HERO ── */
.hero-section { background: #2a2a2a; }
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(42,42,42, 0.0)  0%,
        rgba(42,42,42, 0.0) 50%,
        rgba(42,42,42, 0.88) 100%
    );
}

/* ── SVG アニメーション ── */
@keyframes pulse-ring {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50%       { opacity: 0.40; transform: scale(1.05); }
}
@keyframes float-dot {
    0%   { transform: translateY(0px) translateX(0px); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(-320px) translateX(var(--dx, 0px)); opacity: 0; }
}
@keyframes draw-line {
    from { stroke-dashoffset: 600; opacity: 0; }
    10%  { opacity: 1; }
    to   { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes blink-city {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}
@keyframes glow-local {
    0%, 100% { filter: drop-shadow(0 0 8px #FFF700bb); }
    50%      { filter: drop-shadow(0 0 24px #FFF700ff); }
}
@keyframes scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.ring-pulse   { animation: pulse-ring 4s ease-in-out infinite;       transform-origin: center; }
.ring-pulse-2 { animation: pulse-ring 4s ease-in-out infinite 1.3s;  transform-origin: center; }
.ring-pulse-3 { animation: pulse-ring 4s ease-in-out infinite 2.6s;  transform-origin: center; }
.line-draw   { stroke-dasharray: 600; animation: draw-line 3s ease-out         forwards; }
.line-draw-2 { stroke-dasharray: 600; animation: draw-line 3s ease-out 0.4s   forwards; opacity: 0; }
.line-draw-3 { stroke-dasharray: 600; animation: draw-line 3s ease-out 0.8s   forwards; opacity: 0; }
.line-draw-4 { stroke-dasharray: 600; animation: draw-line 3s ease-out 1.2s   forwards; opacity: 0; }
.city-blink  { animation: blink-city 3.5s ease-in-out infinite; }
.local-glow  { animation: glow-local 2.5s ease-in-out infinite; }
.dot-1 { --dx: -30px; animation: float-dot 4.0s ease-in-out infinite 0.0s; }
.dot-2 { --dx:  10px; animation: float-dot 4.0s ease-in-out infinite 0.8s; }
.dot-3 { --dx:  40px; animation: float-dot 4.0s ease-in-out infinite 1.6s; }
.dot-4 { --dx: -15px; animation: float-dot 4.0s ease-in-out infinite 2.4s; }
.dot-5 { --dx:  20px; animation: float-dot 4.0s ease-in-out infinite 3.2s; }

/* ── FADE-UP (ヒーローテキスト) ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 1s ease forwards; }
.delay-1 { animation-delay: 0.15s; opacity: 0; }
.delay-2 { animation-delay: 0.35s; opacity: 0; }
.delay-3 { animation-delay: 0.55s; opacity: 0; }
.delay-4 { animation-delay: 0.75s; opacity: 0; }

/* ── SCROLL INDICATOR ── */
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
.scroll-indicator { animation: scrollBounce 2s infinite; }

/* ── STEP CARD ── */
.step-card {
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
}

/* ── STUDIO CARD (トップ & サービスページ共通) ── */
.studio-card {
    border: 1px solid var(--color-border);
    transition: box-shadow 0.4s, transform 0.4s;
}
.studio-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

/* ── ECOSYSTEM ── */
.eco-ring {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}
.eco-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 96px; height: 96px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
}
.eco-node {
    position: absolute;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}
.eco-node:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: scale(1.06);
}

/* ── PHILOSOPHY LINE ── */
.philosophy-rule {
    width: 1px;
    height: 4rem;
    background: linear-gradient(to bottom, #1a1a1a, transparent);
    margin: 0 auto;
}

/* ── MOBILE MENU (トップページ上書き) ── */
.mobile-sub {
    background: rgba(255,230,0,0.25);
    border-left: 2px solid #FFF700;
}

/* ── SERVICE EN LABEL ── */
.service-en {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b0b0b0;
}

/* ── STEP CARD DARK (ダーク背景用) ── */
.step-card-dark {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2.5rem;
}

/* ── SECTION ACCENT LINE ── */
.section-accent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.section-accent::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: #FFF700;
    flex-shrink: 0;
}

/* ── STAT ITEM ── */
.stat-item {
    border-left: 2px solid #FFF700;
    padding-left: 1.5rem;
}

/* ── YELLOW TAG ── */
.yellow-tag {
    display: inline-block;
    background: #FFF700;
    color: #111111;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
}

/* ── MARQUEE TICKER ── */
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(255,247,0,0.15);
    border-bottom: 1px solid rgba(255,247,0,0.15);
    background: #3a3a3a;
    padding: 1rem 0;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2.5rem;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,247,0,0.45);
}
.ticker-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FFF700;
    opacity: 0.4;
    flex-shrink: 0;
}
