@charset "UTF-8";


/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Colors - UZUZ inspired palette */
    --color-bg: #f5f5f0;
    --color-bg-alt: #eae9e4;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-accent: #e85a2c;
    --color-accent-hover: #d14a1c;
    --color-border: #d4d4d0;
    --color-white: #ffffff;
    
    /* Typography */
    --font-gothic: 'BIZ UDPGothic','Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    --font-mincho: 'Shippori Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    --font-hina: 'Hina Mincho', serif;
    --font-tiktok: 'TikTok Sans', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;
    --header-height: 80px;

    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-gothic);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* ============================================
   Physics Canvas
   ============================================ */
#physics-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ============================================
   Header
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

#header.scrolled {
    background-color: #1a1a1a;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Scrolled header text color */
#header.scrolled .nav-desktop a {
    color: var(--color-white);
}

#header.scrolled .nav-contact {
    border-color: var(--color-white);
}

#header.scrolled .nav-contact:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

#header.scrolled .menu-btn span {
    background-color: var(--color-white);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 60px;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 24px;
    }
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: opacity var(--transition-normal);
}

.nav-desktop {
    display: block;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
}

.nav-desktop ul {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-desktop a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-contact {
    padding: 12px 28px;
    border: 1px solid var(--color-text);
    transition: all var(--transition-normal);
}

.nav-contact:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.nav-contact::after {
    display: none !important;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 101;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.menu-btn.active span:first-child {
    transform: translateY(11px) rotate(45deg);
}

.menu-btn.active span:last-child {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 99;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    margin: 32px 0;
}

.mobile-menu a {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    padding: 0 24px;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title {
    font-family: var(--font-mincho);
    font-size: clamp(36px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.7s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.9s;
}

.hero-description {
    font-size: 20px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 1.1s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 1.3s;
}

.hero-cta:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.8s;
}

.hero-scroll span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text), transparent);
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================================
   Section Common
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-header {
    margin-bottom: 80px;
}

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

.section-number {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-mincho);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background-color: var(--color-bg-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.about-headline {
    font-family: var(--font-mincho);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 32px;
}

.about-headline .highlight {
    color: var(--color-accent);
}

.about-description {
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-card {
    padding: 48px;
    background-color: var(--color-white);
    border-left: 4px solid var(--color-accent);
}

.about-card-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.about-card-text {
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-light);
}

/* ============================================
   Services Section - Sticky Scroll
   ============================================ */
.services {
    background-color: var(--color-bg);
    padding-bottom: 0;
}

.sticky-scroll-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 968px) {
    .sticky-scroll-wrapper {
        grid-template-columns: 1fr;
    }
}

.sticky-left {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background-color: var(--color-text);
    color: var(--color-bg);
}

@media (max-width: 968px) {
    .sticky-left {
        position: relative;
        height: auto;
        padding: 80px 24px;
    }
}

.sticky-content {
    max-width: 400px;
}

.sticky-title {
    font-family: var(--font-mincho);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 24px;
}

.sticky-description {
    font-size: 15px;
    line-height: 2;
    opacity: 0.8;
}

.services-right {
    padding: 120px 60px;
}

@media (max-width: 768px) {
    .services-right {
        padding: 60px 24px;
    }
}

.service-item {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--color-border);
    margin-bottom: 24px;
    transition: color var(--transition-normal);
}

.service-item:hover .service-number {
    color: var(--color-accent);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.service-description {
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 500px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    padding: 8px 16px;
    background-color: var(--color-bg-alt);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ============================================
   Works Section
   ============================================ */
.works {
    background-color: var(--color-bg-alt);
}

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

@media (max-width: 968px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

.work-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.work-image {
    position: absolute;
    inset: 0;
    background-color: var(--color-text);
    transition: transform var(--transition-slow);
}

.work-item:hover .work-image {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 60%);
}

.work-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
}

.work-category {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.work-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-white);
}

/* ============================================
   Central Engine Section
   ============================================ */
.central-engine {
    background-color: var(--color-text);
    color: var(--color-white);
    overflow: hidden;
}

.central-engine .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.central-engine .section-number {
    color: rgba(255, 255, 255, 0.4);
}

.central-engine .section-title {
    color: var(--color-white);
}

.engine-container {
    position: relative;
    padding: 40px 0;
}

/* Particles */
.engine-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.engine-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: engineParticle 12s infinite linear;
}

.engine-particles span:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; }
.engine-particles span:nth-child(2) { left: 85%; top: 30%; animation-delay: 1.5s; }
.engine-particles span:nth-child(3) { left: 20%; top: 75%; animation-delay: 3s; }
.engine-particles span:nth-child(4) { left: 80%; top: 70%; animation-delay: 4.5s; }
.engine-particles span:nth-child(5) { left: 50%; top: 15%; animation-delay: 6s; }
.engine-particles span:nth-child(6) { left: 50%; top: 85%; animation-delay: 7.5s; }
.engine-particles span:nth-child(7) { left: 30%; top: 50%; animation-delay: 9s; }
.engine-particles span:nth-child(8) { left: 70%; top: 50%; animation-delay: 10.5s; }

@keyframes engineParticle {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(2); opacity: 0.8; }
}

/* Main Visual */
.engine-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .engine-visual {
        max-width: 340px;
    }
}

/* Rings */
.engine-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-svg {
    width: 100%;
    height: 100%;
}

.ring-outer {
    width: 100%;
    height: 100%;
    animation: ringRotate 20s linear infinite;
}

.ring-middle {
    width: 80%;
    height: 80%;
    animation: ringRotate 15s linear infinite reverse;
}

.ring-inner {
    width: 60%;
    height: 60%;
    animation: ringRotate 10s linear infinite;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ring-path-blue,
.ring-path-gold {
    stroke-dasharray: 660;
    stroke-dashoffset: 0;
}

/* Core */
.engine-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-pulse {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(232, 90, 44, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.core-center {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ffffff 0%, #fff5e6 30%, #ffd699 60%, #e85a2c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(232, 90, 44, 0.6),
        0 0 60px rgba(232, 90, 44, 0.4),
        0 0 90px rgba(232, 90, 44, 0.2);
}

.core-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    padding: 10px;
}

.core-main {
    font-family: var(--font-mincho);
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.1em;
}

.core-sub {
    font-size: clamp(10px, 2vw, 12px);
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* Labels */
.engine-labels {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.label-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: labelFade 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Development labels - positioned on the left */
.labels-dev .label-item:nth-child(1) { top: 15%; left: 5%; }
.labels-dev .label-item:nth-child(2) { top: 35%; left: 0; }
.labels-dev .label-item:nth-child(3) { top: 55%; left: 0; }
.labels-dev .label-item:nth-child(4) { top: 75%; left: 5%; }

/* Business labels - positioned on the right */
.labels-biz .label-item:nth-child(1) { top: 15%; right: 5%; flex-direction: row-reverse; }
.labels-biz .label-item:nth-child(2) { top: 35%; right: 0; flex-direction: row-reverse; }
.labels-biz .label-item:nth-child(3) { top: 55%; right: 0; flex-direction: row-reverse; }
.labels-biz .label-item:nth-child(4) { top: 75%; right: 5%; flex-direction: row-reverse; }

@media (max-width: 600px) {
    .labels-dev .label-item:nth-child(1) { left: -5%; }
    .labels-dev .label-item:nth-child(2) { left: -10%; }
    .labels-dev .label-item:nth-child(3) { left: -10%; }
    .labels-dev .label-item:nth-child(4) { left: -5%; }
    
    .labels-biz .label-item:nth-child(1) { right: -5%; }
    .labels-biz .label-item:nth-child(2) { right: -10%; }
    .labels-biz .label-item:nth-child(3) { right: -10%; }
    .labels-biz .label-item:nth-child(4) { right: -5%; }
}

.label-dot {
    width: 10px;
    height: 10px;
    background: #7087FA;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(112, 135, 250, 0.6);
    flex-shrink: 0;
}

.label-dot.gold {
    background: #FABB70;
    box-shadow: 0 0 10px rgba(250, 187, 112, 0.6);
}

.label-text {
    font-size: clamp(11px, 2.5vw, 13px);
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

@keyframes labelFade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Category Labels */
.category-label {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

.category-dev {
    bottom: 5%;
    left: 10%;
}

.category-biz {
    bottom: 5%;
    right: 10%;
}

@media (max-width: 600px) {
    .category-dev { left: 5%; }
    .category-biz { right: 5%; }
}

/* Description */
.engine-description {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.engine-description p {
    font-size: clamp(14px, 3vw, 18px);
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.engine-description .highlight {
    color: var(--color-accent);
    font-weight: 700;
}

/* Legacy - keep for compatibility */
.fusion-core {
    display: none;
        margin: 0;
    }
}

.core-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(232, 90, 44, 0.3) 0%, transparent 70%);
    animation: coreBreath 3s ease-in-out infinite;
}

@keyframes coreBreath {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.core-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.core-svg {
    width: 100%;
    height: 100%;
}

.core-labels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.core-label {
    font-family: var(--font-mincho);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
    animation: coreLabel 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@media (max-width: 968px) {
    .core-label {
        font-size: 13px;
    }
}

@keyframes coreLabel {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.energy-streams {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.stream {
    opacity: 0.6;
    animation: streamFlow 3s ease-in-out infinite;
}

.stream-blue-2, .stream-green-2 {
    animation-delay: 1.5s;
}

@keyframes streamFlow {
    0%, 100% {
        stroke-dasharray: 400;
        stroke-dashoffset: 400;
        opacity: 0.3;
    }
    50% {
        stroke-dasharray: 400;
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
}

.fusion-description {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fusion-description p {
    font-size: 18px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.fusion-description .highlight {
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .fusion-description p {
        font-size: 15px;
    }
    
    .sp-br {
        display: inline;
    }
}

/* ============================================
   Company Section
   ============================================ */
.company {
    background-color: var(--color-bg);
}

.company-table {
    max-width: 800px;
}

.company-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .company-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.company-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.company-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
}

.contact .section-number,
.contact .section-title {
    color: var(--color-text);
}

.contact-lead {
    text-align: center;
    font-size: 16px;
    line-height: 2;
    opacity: 0.8;
    margin-bottom: 60px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 16px;
    transition: border-color var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 245, 240, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all var(--transition-normal);
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background-color: var(--color-accent-hover);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 60px 0;
    border-top: 1px solid rgba(245, 245, 240, 0.1);
    z-index: 99;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
}

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

.footer-copyright {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

/* ============================================
   Scroll Animations
   ============================================ */
.js-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-bg);
    padding: 60px 50px;
    border-radius: 4px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-white);
}

.modal-title {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.modal-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.modal-close-btn {
    padding: 16px 48px;
    background: var(--color-text);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-normal);
}

.modal-close-btn:hover {
    background: var(--color-accent);
}

/* Submit Button Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading span {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
