/* ============================================
   MangaXX Top Page - Sorajima Style
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a1a;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.section-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 3rem;
}

.accent {
    color: #0066cc;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.btn-ghost:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #1a1a1a;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-list a {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #666;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: #1a1a1a;
}

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

.nav-contact {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50px;
}

.nav-contact:hover {
    background: #333;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

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

.hero-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #0066cc;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s 0.1s ease-out both;
}

.hero-title .accent {
    display: inline;
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 2;
    color: #666;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s 0.2s ease-out both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.3s ease-out both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 1s 1s ease-out both;
}

.scroll-indicator span {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
}

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

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

/* ============================================
   Mission Section
   ============================================ */
.mission {
    padding: 10rem 0;
    background: #fff;
    text-align: center;
}

.mission-statement {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 8rem 0;
    background: #f5f5f5;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #0066cc;
}

.feature-num {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-num {
    color: #0066cc;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-text {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.8;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 8rem 0;
    background: #fff;
}

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

.service-card {
    background: #fafafa;
    padding: 3rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
}

.service-card:hover {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: #0066cc;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-text {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
}

.service-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #0066cc;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Recruit Section
   ============================================ */
.recruit {
    padding: 8rem 0;
    background: #f5f5f5;
}

.recruit-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.recruit-content .section-title {
    margin-bottom: 1.5rem;
}

.recruit-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
}

.recruit-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recruit-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.recruit-link:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.recruit-link:hover .recruit-link-label,
.recruit-link:hover .recruit-link-title {
    color: #fff;
}

.recruit-link:hover svg {
    stroke: #fff;
    transform: translateX(4px);
}

.recruit-link-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recruit-link-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    transition: color 0.3s ease;
}

.recruit-link-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.recruit-link svg {
    width: 24px;
    height: 24px;
    stroke: #1a1a1a;
    transition: all 0.3s ease;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 8rem 0;
    background: #1a1a1a;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 5rem 0 2rem;
    background: #0a0a0a;
    color: #fff;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

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

.footer-col h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: #fff;
}

.footer-col address {
    font-style: normal;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recruit-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 1rem 1.5rem;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero-inner {
        padding: 0 1.5rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 5rem 0;
    }

    .mission {
        padding: 6rem 0;
    }

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

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

    .service-card {
        padding: 2rem;
    }

    .recruit-links {
        gap: 0.75rem;
    }

    .recruit-link {
        padding: 1.5rem;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-col:last-child {
        grid-column: span 2;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .mission-statement {
        font-size: 1.25rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-col:last-child {
        grid-column: span 1;
    }
}
