/* ==================== */
/* Reset & Base Styles */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B9D;
    --primary-dark: #FF4081;
    --secondary-color: #8B5CF6;
    --accent-color: #FFC107;
    --cyan-color: #06B6D4;
    --orange-color: #FF6B35;
    --green-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #FFF9F0;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --white: #FFFFFF;
    --border-color: #FFE5E5;
    --shadow: 0 4px 6px rgba(255, 107, 157, 0.15);
    --shadow-lg: 0 10px 25px rgba(255, 107, 157, 0.2);
    --shadow-colorful: 0 8px 32px rgba(139, 92, 246, 0.25);
}

html {
    scroll-behavior: smooth;
}

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

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

/* ==================== */
/* Navigation */
/* ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--cyan-color)) 1;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FF6B9D 0%, #C471ED 35%, #12D8FA 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ==================== */
/* Buttons */
/* ==================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #FFC107, #FF6B9D);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6);
    transition: left 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 107, 157, 0.5);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* ==================== */
/* Sections */
/* ==================== */
.section {
    padding: 100px 0;
}

.section-image {
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-colorful);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.section-image:hover img {
    transform: scale(1.05);
}

.section-alt {
    background: linear-gradient(to bottom, #FFF9F0 0%, #FFE5F5 100%);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

/* ==================== */
/* Card Grid */
/* ==================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: calc(100% + 80px);
    margin: -40px -40px 24px -40px;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--cyan-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colorful);
    border-color: var(--primary-color);
}

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

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.35);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 107, 157, 0.5);
}

/* Different gradient colors for each card icon */
.card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #FF6B9D, #F093FB);
}

.card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
}

.card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #FFC107, #FF6B35);
}

.card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, #10B981, #06B6D4);
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== */
/* Timeline */
/* ==================== */
.timeline {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-colorful);
    border-left: 5px solid var(--cyan-color);
}

.timeline-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.timeline-time {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 70px;
    font-size: 18px;
}

.timeline-content {
    color: var(--text-light);
}

/* ==================== */
/* Recruit Section */
/* ==================== */
.recruit-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-colorful);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--cyan-color)) 1;
}

.recruit-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recruit-content {
    display: grid;
    gap: 32px;
}

.recruit-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.recruit-item ul {
    list-style: none;
    padding-left: 0;
}

.recruit-item ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--text-light);
}

.recruit-item ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.recruit-cta {
    text-align: center;
    margin-top: 40px;
}

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

.company-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.company-table tr:last-child {
    border-bottom: none;
}

.company-table td {
    padding: 24px 32px;
}

.company-table .label {
    font-weight: 600;
    color: var(--text-dark);
    width: 160px;
    background-color: var(--bg-light);
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* ==================== */
/* Page Header */
/* ==================== */
.page-header {
    background: linear-gradient(135deg, #FF6B9D 0%, #C471ED 35%, #12D8FA 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 20px;
    color: var(--white);
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 2px;
}

/* ==================== */
/* Content Box */
/* ==================== */
.content-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-colorful);
    border: 2px solid var(--border-color);
}

/* ==================== */
/* Contact Page */
/* ==================== */
.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.35);
}

.contact-text {
    text-align: center;
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.contact-email {
    text-align: center;
    margin-bottom: 40px;
}

.contact-email h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE5F5 100%);
    transition: all 0.3s ease;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colorful);
}

.email-link i {
    font-size: 20px;
}

.contact-note {
    background: #F0F9FF;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--cyan-color);
}

.contact-note p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-note i {
    color: var(--cyan-color);
}

/* ==================== */
/* Privacy Policy Page */
/* ==================== */
.policy-content {
    text-align: left;
}

.policy-intro {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 48px;
    text-align: center;
    font-weight: 500;
}

.policy-section {
    margin-bottom: 40px;
    padding: 32px;
    background: linear-gradient(135deg, #FFF9F0 0%, #F0F9FF 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.policy-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-section h3 i {
    color: var(--primary-color);
}

.policy-section p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    margin: 0;
}

.policy-footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.policy-footer p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ==================== */
/* Table Link */
/* ==================== */
.table-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.table-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

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

.hero-content h1 {
    animation: fadeInUp 1s ease, float 3s ease-in-out infinite 1s;
}

.hero-content .btn {
    animation: fadeInUp 1.2s ease;
}

/* ==================== */
/* Responsive */
/* ==================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        gap: 16px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .card-grid,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 32px;
    }
    
    .recruit-box {
        padding: 32px 24px;
    }
    
    .company-table td {
        padding: 16px;
        display: block;
        width: 100%;
    }
    
    .company-table .label {
        background: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    
    .timeline {
        padding: 24px;
    }
    
    .section-image {
        margin-bottom: 40px;
    }
    
    .card-image {
        height: 180px;
        margin: -32px -32px 20px -32px;
        width: calc(100% + 64px);
    }
    
    .footer-links {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .content-box {
        padding: 32px 24px;
    }
    
    .email-link {
        font-size: 18px;
        padding: 12px 24px;
        flex-direction: column;
        gap: 8px;
    }
    
    .policy-section {
        padding: 24px 20px;
    }
}