/* 
    Enakat Corporate Design System 
    Modern, Premium, and Trustworthy
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Colors */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #ec4899;
    --accent-glow: rgba(236, 72, 153, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-main: #020617;
    --bg-card: rgba(30, 41, 59, 0.5);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-padding: 100px 5%;
    --container-max: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

.hero-text{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    background: #020617;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

header.scrolled {
    padding: 15px 5%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.7)), url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

/* About Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.section-title span {
    color: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    padding: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    font-size: 0.75rem;
    background: var(--glass);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

/* Company Table */
.company-info {
    max-width: 800px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--glass-border);
}

.info-table th, .info-table td {
    padding: 20px;
    text-align: left;
}

.info-table th {
    width: 30%;
    color: var(--accent);
    font-weight: 600;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 60px 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition-smooth);
    text-align: left;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* ハンバーガーボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .services-grid { grid-template-columns: 1fr; }

    .hamburger {
        display: flex;
    }

    nav {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #020617;
        border-bottom: 1px solid var(--glass-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        z-index: 999;
    }

    nav.open {
        max-height: 320px;
        padding: 8px 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 16px 5%;
        font-size: 1.05rem;
        opacity: 1;
        border-bottom: 1px solid var(--glass-border);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }
}
