﻿/* ====================
   Base
==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #020817;
    color: #f9fafb;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background: radial-gradient(circle at top, #0f172a 0, #020817 55%, #000 100%);
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

    .section-head h2 {
        font-size: 32px;
        margin-bottom: 8px;
        letter-spacing: 0.08em;
    }

    .section-head p {
        color: #9ca3af;
    }

    .section-head.align-left {
        text-align: left;
    }

/* ====================
   Header
==================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(2, 8, 23, 0.96), rgba(2, 8, 23, 0.7), transparent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo-area img {
        width: 40px;
        height: 40px;
    }

.logo-text {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

    .nav a {
        position: relative;
        color: #e5e7eb;
    }

        .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #22d3ee, #4f46e5);
            border-radius: 999px;
            transition: width 0.2s ease;
        }

        .nav a:hover::after {
            width: 100%;
        }

/* ====================
   Hero
==================== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: radial-gradient(circle at top, #1d4ed8 0, transparent 40%), radial-gradient(circle at 20% 80%, #22d3ee 0, transparent 45%), #020817;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.14), transparent 55%), radial-gradient(circle at 0% 100%, rgba(79, 70, 229, 0.18), transparent 60%);
    opacity: 0.85;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
    gap: 40px;
    align-items: center;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.2;
    margin: 8px 0 12px;
}

    .hero-text h1 span {
        background: linear-gradient(120deg, #f97316, #facc15);
        -webkit-background-clip: text;
        color: transparent;
    }

.hero-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a5b4fc;
}

.hero-sub {
    color: #e5e7eb;
    max-width: 520px;
    font-size: 14px;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* hero card */
.hero-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25), 0 22px 45px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card-title {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 12px;
}

.hero-card ul {
    padding-left: 18px;
    margin: 0 0 10px;
    font-size: 14px;
}

.hero-card-note {
    font-size: 12px;
    color: #9ca3af;
}

/* ====================
   Buttons
==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border 0.12s ease;
}

    .btn.primary {
        background: radial-gradient(circle at 0 0, #22d3ee, #4f46e5);
        color: #f9fafb;
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
    }

        .btn.primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 40px rgba(37, 99, 235, 0.75);
        }

    .btn.ghost {
        background: transparent;
        border-color: rgba(148, 163, 184, 0.6);
        color: #e5e7eb;
    }

        .btn.ghost:hover {
            background: rgba(15, 23, 42, 0.8);
        }

    .btn.full {
        width: 100%;
    }

/* ====================
   Service
==================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}

.section:not(.section-dark) .card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), rgba(15, 23, 42, 0.96));
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.service-card p {
    font-size: 14px;
    color: #e5e7eb;
}

.service-card ul {
    font-size: 13px;
    color: #9ca3af;
    padding-left: 18px;
}

/* ====================
   Works
==================== */
.works-block + .works-block {
    margin-top: 40px;
}

.works-label {
    font-size: 16px;
    color: #a5b4fc;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.works-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .works-card-header h3 {
        margin: 0;
    }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.tag-neon {
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.9));
    border-color: rgba(56, 189, 248, 0.7);
}

.works-meta {
    font-size: 13px;
    color: #9ca3af;
}

.works-points {
    font-size: 13px;
    color: #e5e7eb;
    padding-left: 18px;
}

.works-note {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* Mimic grid */
.mimic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mimic-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

.mimic-card ul {
    font-size: 13px;
    color: #e5e7eb;
    padding-left: 18px;
}

.mimic-card p {
    font-size: 13px;
    color: #9ca3af;
}

/* ====================
   About
==================== */
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1.4fr);
    gap: 30px;
    align-items: flex-start;
}

.about-text p {
    color: #e5e7eb;
    font-size: 14px;
}

.about-name {
    margin-top: 22px;
    font-size: 14px;
}

    .about-name span {
        font-size: 18px;
        font-weight: 600;
    }

.about-side-card {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.96));
    border-radius: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

    .about-side-card h3 {
        margin-top: 0;
    }

    .about-side-card ul {
        font-size: 14px;
        color: #e5e7eb;
        padding-left: 18px;
    }

/* ====================
   Contact
==================== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
    gap: 26px;
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.contact-note {
    font-size: 13px;
    color: #9ca3af;
}

.field {
    margin-bottom: 14px;
}

    .field label {
        display: block;
        font-size: 13px;
        margin-bottom: 4px;
    }

    .field input,
    .field select,
    .field textarea {
        width: 100%;
        padding: 9px 10px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.7);
        background: rgba(15, 23, 42, 0.9);
        color: #f9fafb;
        font-size: 13px;
    }

        .field input:focus,
        .field select:focus,
        .field textarea:focus {
            outline: none;
            border-color: #22d3ee;
            box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4);
        }

.form-message {
    margin-top: 8px;
    font-size: 13px;
    min-height: 18px;
}

.sns-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 14px;
}

.sns-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a5b4fc;
}

/* ====================
   Footer
==================== */
.site-footer {
    padding: 24px 0 30px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    background: #020617;
}

    .site-footer p {
        margin: 0;
        text-align: center;
        font-size: 12px;
        color: #6b7280;
    }

/* ====================
   Utilities
==================== */
@media (max-width: 900px) {
    .hero-inner,
    .service-grid,
    .mimic-grid,
    .about-layout,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav {
        display: none; /* MVPなのでPCメイン。スマホナビは後で余裕があれば実装 */
    }

    .hero {
        padding-top: 120px;
    }

    .hero-card {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 64px 0;
    }

    .card {
        padding: 18px 18px 16px;
    }
}
