:root {
    --primary: #1a1a2e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --gradient: linear-gradient(135deg, #667eea 0%, #e94560 100%);
    --white: #ffffff;
    --gray: #f8f9fa;
    --text: #1a1a2e;
    --text-light: #6c757d;
    --radius: 12px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-img-footer {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.4rem;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--gradient);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--accent);
    font-size: 1.1rem;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 50%, #fce4ec 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-label {
    display: inline-block;
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.3;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.float-card {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 500;
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 120px;
    animation-delay: 0.5s;
}

.card-3 {
    top: 200px;
    right: 20px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2rem;
}

/* Services */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    background: var(--gray);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    background: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--gray);
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

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

.company-table th,
.company-table td {
    padding: 16px 0;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.company-table th {
    width: 120px;
    color: var(--text-light);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--gradient);
    color: white;
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
}

.stat-num {
    font-size: 4rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 40px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.footer-brand .logo-mark {
    background: white;
    color: var(--primary);
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-visual {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Works Page */
.page-hero {
    padding: 140px 0 80px;
    background: var(--gray);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.works-section {
    padding: 80px 0;
}

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

.work-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.work-category {
    display: inline-block;
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.work-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.work-result {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.work-result .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.work-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.work-tags li {
    background: var(--gray);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav-list a.active {
    color: var(--accent);
}

/* LP Works Section */
.lp-works {
    padding: 80px 0;
    background: var(--gray);
}

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

.lp-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.lp-preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-preview-content {
    text-align: center;
    color: white;
}

.lp-preview-content span {
    font-size: 3rem;
    display: block;
    margin-bottom: 8px;
}

.lp-preview-content p {
    font-size: 1rem;
    font-weight: 500;
}

.lp-info {
    padding: 24px;
}

.lp-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.lp-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.lp-link {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}