/* 
   ==========================================================================
   CLEAN CORPORATE AVANT-GARDE THEME (LIGHT) - RESTORED & UPDATED
   ========================================================================== 
*/
:root {
    --bg-color: #ffffff;
    --bg-grid: #f5f5f5;
    --text-main: #111111;
    --text-dim: #555555;
    --cyan: #00c3ff; /* Cyan */
    --yellow: #d4d400; /* Darker yellow for white bg contrast */
    --accent-gradient: linear-gradient(135deg, #00c3ff 0%, #e6e600 100%);
    --line: rgba(0,0,0,0.08);
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-header: 'Oswald', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
}

html, body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-jp);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: 0.1s ease-out;
}

body.hovered .cursor-circle {
    width: 60px;
    height: 60px;
    border-color: var(--cyan);
    background: rgba(0, 195, 255, 0.05);
}

body.hovered .cursor-dot {
    background: var(--cyan);
}

/* Loading Curtain */
.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s var(--ease);
    
    /* Fallback Animation: Auto-hide after 4s even if JS fails */
    animation: curtainSafety 0s linear 4s forwards; 
}

.curtain.loaded {
    transform: translateY(-100%);
    animation: none; /* Disable fallback if JS works */
}

@keyframes curtainSafety {
    to { visibility: hidden; opacity: 0; pointer-events: none; }
}

.curtain-logo {
    font-family: var(--font-header);
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    color: #000;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 20px;
}

.curtain-bar {
    width: 200px;
    height: 2px;
    background: #eee;
    position: relative;
    overflow: hidden;
}

.curtain-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #000;
    animation: loadBar 2s var(--ease) forwards;
}

@keyframes loadBar { to { width: 100%; } }

/* Backgrounds */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.5;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: -1;
    pointer-events: none;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.03) 120%);
    z-index: -1;
    pointer-events: none;
}

/* Typography & Utils */
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.mono-tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.1em; font-weight: 700; }
.text-yellow { color: #b3b300; }
.text-cyan { color: var(--cyan); }
.overflow-hide { overflow: hidden; }

/* Navigation */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-logo {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: #000;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-symbol { color: var(--cyan); margin-right: 10px; }

.menu-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: none;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-icon span {
    width: 30px;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

.menu-btn:hover .menu-icon span:first-child { width: 20px; }
.menu-btn:hover .menu-icon span:last-child { width: 30px; margin-left: -10px; }

/* Fullscreen Menu */
.fs-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease);
}

.fs-menu.active { transform: translateY(0); }

.fs-links { display: flex; flex-direction: column; align-items: center; gap: 2rem; }

.fs-link {
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px #ccc;
    position: relative;
    transition: 0.3s;
}

.fs-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: #000;
    transition: width 0.5s var(--ease);
    white-space: nowrap;
}

.fs-link:hover { -webkit-text-stroke-color: #000; }
.fs-link:hover::before { width: 100%; }

/* Hero Section Layout */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: visible;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
    width: 100%;
    overflow: visible;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-header);
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.85;
    font-weight: 700;
    color: #000;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.reveal-char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-jp {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--text-dim);
    margin-bottom: 4rem;
    font-weight: 500;
}

.btn-glitch {
    display: inline-block;
    font-family: var(--font-mono);
    padding: 15px 40px;
    border: 1px solid #000;
    color: #000;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    transition: 0.3s;
    background: transparent;
}

.btn-glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-101%);
    transition: transform 0.3s var(--ease);
}

.btn-glitch:hover::before {
    transform: translateX(0);
}

/* Hero Visual (Right Side) - "The Network Sphere" */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}

#hero-swirl {
    width: 100%;
    height: 100%;
    cursor: crosshair;
    overflow: visible;
}

/* Service Section */
.service { padding: 150px 0; background: #fafafa; }

.section-header {
    margin-bottom: 5rem;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.section-num {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--cyan);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-header);
    font-size: 4rem;
    line-height: 1;
    color: #000;
}

/* Saiyou Boost Hero */
.saiyou-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 4rem;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.saiyou-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cyan);
}

.saiyou-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.saiyou-logo {
    width: 100%;
    max-width: 400px;
    min-width: 250px;
    height: auto;
    filter: grayscale(0%);
}

.saiyou-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.saiyou-tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

.saiyou-target {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .saiyou-target {
        white-space: normal;
    }
}

.saiyou-highlight {
    color: var(--cyan);
    position: relative;
}

.saiyou-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin: 2rem 0;
    font-weight: 400;
}

.saiyou-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 20px 40px;
    background: #000;
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    width: fit-content;
    border: none;
    cursor: none;
}

.saiyou-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    transition: left 0.4s var(--ease);
    z-index: 0;
}

.saiyou-cta-btn span,
.saiyou-cta-btn .btn-arrow {
    position: relative;
    z-index: 1;
}

.saiyou-cta-btn:hover::before {
    left: 0;
}

.saiyou-cta-btn:hover {
    transform: translateX(10px);
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.4s var(--ease);
}

.saiyou-cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.service-subtitle {
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 3rem;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 5px 30px rgba(0,0,0,0.03);
}

.service-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 195, 255, 0.1);
    transform: translateY(-5px);
}

.card-line {
    width: 100%;
    height: 1px;
    background: #eee;
    margin-bottom: 2rem;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.card-id {
    font-family: var(--font-mono);
    color: #ccc;
}

.card-head h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.card-tags {
    margin-top: 2rem;
    display: flex;
    gap: 10px;
}

.card-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border: 1px solid #ddd;
    padding: 4px 8px;
    color: var(--text-dim);
}

/* Case Studies Ticker & Grid */
.cases { padding: 0 0 100px; background: #fff; border-top: none; overflow: hidden; }

.marquee-container {
    padding: 6rem 0;
    margin-bottom: 4rem;
    position: relative;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    transform: skewY(-3deg);
    margin-top: -5rem;
    z-index: 1;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 40s linear infinite;
}

.marquee-track.reverse {
    animation-direction: reverse;
    animation-duration: 50s;
    margin-top: -2vw;
}

.marquee-text {
    font-family: var(--font-header);
    font-size: 9vw;
    line-height: 0.9;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #e0e0e0;
    margin-right: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.marquee-text .slash {
    color: var(--cyan);
    -webkit-text-stroke: 0;
    opacity: 0.5;
}

.marquee-text.solid {
    font-size: 6vw;
    color: #000;
    -webkit-text-stroke: 0;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.marquee-text .hollow {
    color: transparent;
    -webkit-text-stroke: 1px #000;
    opacity: 0.3;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.33%); }
}

/* Result Header */
.result-header {
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.result-jp {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #000;
}

.result-en {
    font-family: var(--font-header);
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transform: translateY(-2px);
}

/* Case Grid */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.case-stat-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.case-stat-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.case-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 195, 255, 0.1);
    border-color: var(--cyan);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.metric-name {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.trend-badge {
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
}

.trend-badge.down {
    color: var(--cyan);
    background: rgba(0, 195, 255, 0.1);
}

.trend-badge.up {
    color: #000;
    background: var(--yellow);
}

.card-main {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.big-figure {
    font-family: var(--font-header);
    font-size: 5rem;
    font-weight: 700;
    line-height: 0.9;
    color: #000;
    letter-spacing: -0.02em;
}

.unit {
    font-size: 2rem;
    margin-left: 5px;
    font-weight: 400;
}

.diff-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-dim);
    transform: translateY(-10px);
}

.card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
}

.compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-header);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.val-old {
    color: #aaa;
    text-decoration: line-through;
}

.arrow {
    color: var(--cyan);
    font-size: 1.2rem;
}

.val-new {
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--cyan);
    transform: translateX(-100%);
    transition: transform 1s var(--ease);
}

.fill.up {
    background: #000;
    background: linear-gradient(90deg, var(--yellow), #000);
}

.case-stat-card.in-view .fill {
    transform: translateX(0);
}

.trusted-area { text-align: center; }
.mono-label { font-family: var(--font-mono); color: var(--text-dim); margin-bottom: 3rem; display: block; }

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Light Mode Logo Styles */
.logo-box img {
    height: 50px;
    filter: grayscale(100%) brightness(0); 
    opacity: 0.3;
    transition: 0.3s;
}

.logo-box:hover img { 
    opacity: 1; 
    filter: grayscale(0%); 
}

/* About */
.about { padding: 150px 0 75px 0; background: #fff; }

.vision-wrapper {
    margin-bottom: 8rem;
    border-left: 2px solid var(--cyan);
    padding-left: 40px;
}

.vision-large {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.1; 
    transition: opacity 0.5s;
    color: #000;
    letter-spacing: -0.02em;
}

.vision-large.active { opacity: 1; }

.vision-sub {
    font-family: var(--font-header);
    font-size: 1rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-top: 1rem;
}

/* Values Grid - Avant-Garde Layout */
.values-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 8rem;
}

.value-card {
    background: #fff;
    padding: 3rem 2rem;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #000;
}

.v-head {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.v-num {
    font-family: var(--font-header);
    font-size: 3rem;
    font-weight: 700;
    color: #eee;
    line-height: 1;
    margin-right: 1rem;
    transition: 0.3s;
}

.value-card:hover .v-num {
    color: var(--cyan);
    transform: translateX(5px);
}

.v-line {
    flex-grow: 1;
    height: 1px;
    background: #eee;
    transition: 0.3s;
    transform-origin: left;
}

.value-card:hover .v-line {
    background: #000;
    transform: scaleX(1.1);
}

.v-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.v-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.v-deco {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translate(20px, 20px);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
}

.value-card:hover .v-deco {
    opacity: 1;
    transform: translate(0, 0);
}

.company-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
}

.company-data.in-view { opacity: 1; transform: translateY(0); }

.data-row { display: flex; flex-direction: column; gap: 10px; }
.data-row span:first-child { font-family: var(--font-mono); color: var(--text-dim); font-size: 0.8rem; font-weight: 700; }
.data-row span:last-child { font-weight: 500; }

/* Member Section */
.member {
    padding: 75px 0;
    background: #fff;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s var(--ease);
}

.member-image-wrapper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 50%;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s var(--ease);
    transform: scale(1);
    border-radius: 50%;
}

.member-card:hover .member-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-card:hover .member-image-wrapper {
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 195, 255, 0.1);
}

.member-info {
    width: 100%;
}

.member-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.member-name-jp {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-name-en {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Map Section */
.map-section { 
    padding: 75px 0 150px 0; 
    background: #fff; 
    position: relative;
}

.map-header {
    margin-bottom: 5rem;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.map-wrapper {
    width: 100%;
}

.map-container {
    position: relative;
    width: 100%;
    height: 333px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s var(--ease);
    filter: grayscale(100%);
}

.map-container:hover {
    box-shadow: 0 20px 60px rgba(0, 195, 255, 0.1);
    border-color: var(--cyan);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-section .company-data {
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
}

/* Office Gallery */
.office-gallery {
    width: 100%;
    height: 333px;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    border: 1px solid #eee;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.gallery-track {
    display: flex;
    width: fit-content;
    height: 100%;
    animation: galleryScroll 60s linear infinite;
    will-change: transform;
}

.gallery-item {
    flex-shrink: 0;
    width: auto;
    height: 100%;
    margin-right: 1rem;
}

.gallery-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

@keyframes galleryScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Contact */
.contact { padding: 100px 0 150px; background: #f5f5f5; position: relative; }
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.big-h2 {
    font-family: var(--font-header);
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: #000;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.input-wrap { position: relative; }
.input-wrap label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.input-wrap input, .input-wrap textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    color: #000;
    font-size: 1.2rem;
    border-radius: 0;
}

.input-wrap input:focus, .input-wrap textarea:focus { outline: none; }

.focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: 0.4s var(--ease);
}

.input-wrap input:focus ~ .focus-line, 
.input-wrap textarea:focus ~ .focus-line { width: 100%; }

.submit-cyber {
    background: #000;
    color: #fff;
    border: none;
    padding: 20px;
    font-family: var(--font-mono);
    font-weight: 700;
    position: relative;
    cursor: none;
    transition: 0.3s;
}

.submit-cyber:hover {
    background: var(--cyan);
    color: #fff;
    transform: translateX(10px);
}

.corner-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #fff;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* Footer */
.footer { padding: 2rem 0; border-top: 1px solid #eee; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); }

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: -2rem;
    }
    
    .hero-meta {
        justify-content: center;
    }

    .hero-title { font-size: 4rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-layout { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .saiyou-hero { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .saiyou-logo-wrapper { padding: 1rem; }
    .saiyou-logo { 
        max-width: 300px;
        min-width: 200px;
        width: auto;
    }
    .case-grid { grid-template-columns: 1fr; }
    .company-data { grid-template-columns: 1fr; gap: 2rem; }
    .marquee-text { font-size: 15vw; }
    .marquee-text.solid { font-size: 10vw; }
    .big-figure { font-size: 4rem; }
    .map-container { height: 250px; }
    .office-gallery { height: 250px; }
    .member-grid { grid-template-columns: 1fr; gap: 3rem; }
    .member-image-wrapper { max-width: 250px; }
}
