/* ===================================
   株式会社ゼータ Corporate Website
   Zeta Gundam Inspired Color Scheme
   =================================== */

/* ===================================
   カラー変数定義
   =================================== */
:root {
    /* メインカラー（信頼と革新） */
    --deep-blue: #0A1F44;           /* ディープブルー - 濃紺 */
    --deep-blue-light: #1A3A5F;     /* ライトディープブルー */
    --deep-blue-dark: #051428;      /* ダークディープブルー */
    --pure-white: #FFFFFF;          /* ピュアホワイト */
    --off-white: #F8F9FA;           /* オフホワイト */
    
    /* アクセントカラー（活力と警告） */
    --bright-red: #E63946;          /* ブライトレッド - 鮮やかな赤 */
    --bright-red-hover: #D62828;    /* ホバー時のレッド */
    --bright-yellow: #FFD60A;       /* ブライトイエロー - 鮮やかな黄 */
    --bright-yellow-hover: #FFC300; /* ホバー時のイエロー */
    
    /* グレースケール */
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, var(--deep-blue) 0%, var(--deep-blue-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--bright-red) 0%, var(--bright-yellow) 100%);
    --gradient-hero: linear-gradient(135deg, var(--deep-blue-dark) 0%, var(--deep-blue) 50%, var(--deep-blue-light) 100%);
    
    /* シャドウ */
    --shadow-sm: 0 2px 4px rgba(10, 31, 68, 0.1);
    --shadow-md: 0 4px 12px rgba(10, 31, 68, 0.15);
    --shadow-lg: 0 8px 24px rgba(10, 31, 68, 0.2);
    --shadow-xl: 0 16px 48px rgba(10, 31, 68, 0.25);
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   リセット & ベーススタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background-color: var(--pure-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--deep-blue);
    letter-spacing: 0.05em;
    margin: 0;
}

.logo-accent {
    color: var(--bright-red);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: -0.25rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bright-red);
    transition: var(--transition-base);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-blue);
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* AI Animation */
.ai-animation {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.ai-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 0;
    left: 0;
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    top: 50px;
    left: 50px;
    animation: rotate 15s linear infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 100px;
    left: 100px;
    animation: rotate 10s linear infinite;
}

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

.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--pure-white);
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.5);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(230, 57, 70, 0.5); }
    50% { box-shadow: 0 0 80px rgba(230, 57, 70, 0.8); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0%, 100% { height: 40px; opacity: 0.3; }
    50% { height: 60px; opacity: 1; }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: var(--bright-red);
    color: var(--pure-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--bright-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.btn-secondary:hover {
    background: var(--pure-white);
    color: var(--deep-blue);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Section共通スタイル
   =================================== */
.section {
    padding: 6rem 2rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(255, 214, 10, 0.1) 100%);
    color: var(--bright-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===================================
   Products Section
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--pure-white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    border-color: var(--bright-red);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.product-card-featured {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--pure-white);
}

.product-card-featured .product-title,
.product-card-featured .product-description {
    color: var(--pure-white);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--bright-yellow);
    color: var(--deep-blue);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.product-image {
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bright-red);
    margin-bottom: 1.5rem;
}

.product-card-featured .product-image {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bright-yellow);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.4rem 1rem;
    background: var(--gray-100);
    color: var(--deep-blue);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

.product-card-featured .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bright-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.product-card-featured .product-link {
    color: var(--bright-yellow);
}

.product-link:hover {
    gap: 1rem;
}

/* ===================================
   Technology Section
   =================================== */
.technology {
    background: var(--off-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.tech-category {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.tech-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tech-category-title i {
    color: var(--bright-red);
    font-size: 1.5rem;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list i {
    color: var(--bright-red);
    font-size: 0.9rem;
}

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

.tech-highlight-card {
    text-align: center;
    padding: 2rem;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--pure-white);
}

.tech-highlight-card h4 {
    font-size: 1.25rem;
    color: var(--deep-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.tech-highlight-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   Vision Section
   =================================== */
.vision {
    background: var(--gradient-primary);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.vision-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.vision-text .section-label {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bright-yellow);
}

.vision-text .section-title {
    color: var(--pure-white);
}

.vision-description {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.vision-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vision-point {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.vision-point i {
    font-size: 1.8rem;
    color: var(--bright-yellow);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.vision-point h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.vision-point p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.vision-visual {
    position: relative;
    height: 400px;
}

.vision-shape {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 0;
    right: 50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 0;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 180px;
    height: 180px;
    top: 200px;
    right: 100px;
    animation: float 7s ease-in-out infinite;
}

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

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--off-white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--bright-red);
    margin-bottom: 1rem;
}

.contact-info-card h4 {
    font-size: 1.1rem;
    color: var(--deep-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.contact-info-card p {
    color: var(--gray-700);
    line-height: 1.7;
}

.contact-info-card a {
    color: var(--bright-red);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-form {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--bright-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: var(--transition-fast);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--deep-blue);
    color: var(--pure-white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--bright-yellow);
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--bright-yellow);
    font-weight: 700;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--pure-white);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--bright-red);
    transform: translateY(-3px);
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .ai-animation {
        width: 300px;
        height: 300px;
    }
    
    .circle-1 { width: 300px; height: 300px; }
    .circle-2 { width: 220px; height: 220px; top: 40px; left: 40px; }
    .circle-3 { width: 140px; height: 140px; top: 80px; left: 80px; }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .vision-visual {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--pure-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .products-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .ai-animation {
        width: 250px;
        height: 250px;
    }
    
    .circle-1 { width: 250px; height: 250px; }
    .circle-2 { width: 180px; height: 180px; top: 35px; left: 35px; }
    .circle-3 { width: 110px; height: 110px; top: 70px; left: 70px; }
    
    .ai-core {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}