/* root */

:root {
    --primary-color: #4f2204;
    --primary-dark: #3d1a03;
    --secondary-color: #64748b;
    --accent-color: #d97706;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --black: #000000;
    --white-2: #fbfbfb;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #8d4b1f 0%, #8b4513 100%);
    --gradient-secondary: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

iframe {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    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-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 55px;
    width: auto;
    padding-top: 2px;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: -5px;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* ===== HERO SECTIONS ===== */
.hero,
.services-hero,
.about-hero,
.contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero {
    background: linear-gradient(135deg, #7c380a, #86400e, #6b3106, #8b4513);
    background-size: 400% 400%;
    /* animation: gradientShift 12s ease-in-out infinite; */
}

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

.hero::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 45%,
        rgba(255, 255, 255, 0.1) 48%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 52%,
        transparent 55%,
        transparent 100%
    );
    animation: lightSweep 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

.services-hero,
.about-hero,
.contact-hero {
    padding: 120px 0 80px;
    min-height: auto;
}

.hero::before,
.services-hero::before,
.about-hero::before,
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.services-hero .hero-content,
.category-hero .hero-content,
.news-hero .hero-content,
.about-hero .hero-content,
.contact-hero .hero-content,
.recruit-hero .hero-content,
.apply-hero .hero-content,
.privacy-hero .hero-content {
    display: block;
    text-align: center;
    grid-template-columns: none;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.mobile-break {
    display: none;
}

.services-hero .hero-title,
.about-hero .hero-title,
.contact-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description,
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb a:hover {
    opacity: 0.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    animation: pulse 1s infinite;
}

.btn-call-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-secondary i{
    width: 15px;
    margin-right: 0.5rem;
}

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

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

/* ===== HERO VISUAL ===== */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

.card-4 {
    top: 5%;
    right: 25%;
    animation-delay: 6s;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== SERVICES PAGE SPECIFIC ===== */

/* Services Hero Section */
.services-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.services-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.services-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.services-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb span {
    color: var(--white);
}

.hero-breadcrumb a:hover {
    opacity: 0.7;
}

.services-overview {
    padding: 6rem 0;
    background: var(--gray-50);
}


.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.overview-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.overview-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.service-details {
    padding: 6rem 0;
}

.service-item {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-item.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.service-item.reverse .service-content {
    direction: rtl;
}

.service-item.reverse .service-text {
    direction: ltr;
}

.service-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.service-process {
    margin-top: 2rem;
}

.service-process h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.step.animate {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.step-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}


.service-results {
    margin-top: 2rem;
}

.service-results h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.result-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.result-item.animate {
    opacity: 1;
    transform: scale(1);
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* ===== SERVICE VISUAL MOCKUPS ===== */
.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.visual-mockup {
    width: 100%;
    max-width: 350px;
}

.device-mockup {
    background: #333;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.device-screen {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    min-height: 300px;
}

.mockup-header {
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    margin-bottom: 20px;
}

.mockup-text {
    height: 16px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 12px;
}

.mockup-text:first-child {
    width: 80%;
}

.mockup-text:last-child {
    width: 60%;
}

.mockup-image {
    height: 120px;
    background: var(--gray-100);
    border-radius: 8px;
    margin-top: 20px;
}

.ecommerce-mockup {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    min-height: 300px;
}

.ec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.ec-logo {
    width: 80px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 4px;
}

.ec-cart {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.ec-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-item {
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    transition: all 0.8s ease;
}

.product-item.product-active {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: var(--gradient-primary);
}

.marketing-mockup {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid var(--gray-100);
}


.chart-container {
    flex: 1;
    display: flex;
    align-items: end;
    padding: 20px 0;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    width: 100%;
    height: 150px;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease-out;
    transition: all 0.8s ease;
    transform-origin: bottom;
}

.bar.bar-active {
    transform: scaleY(1.1);
    background: var(--gradient-secondary);
    box-shadow: 0 4px 8px rgba(79, 34, 4, 0.3);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
}

.social-icons i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.social-icons i:nth-child(1) { animation-delay: 0s; }
.social-icons i:nth-child(2) { animation-delay: 0.5s; }
.social-icons i:nth-child(3) { animation-delay: 1s; }
.social-icons i:nth-child(4) { animation-delay: 1.5s; }

.social-icons i:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.company-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    min-width: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

.about-visual {
    position: relative;
}

.about-image {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

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

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 4rem 0;
    background: var(--text-dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: scale(1);
    animation: bounceIn 0.8s ease-out;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin-left: 0.2rem;
}

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

/* ===== NEWS SECTION ===== */
.news {
    padding-bottom: 6rem;
    background: var(--white);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.news-item {
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.news-item:hover {
    transform: translateX(5px);
    border-top: 1px var(--shadow-md);
    box-shadow: var(--shadow-md);
    background: var(--white-2);
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 80px;
}

.news-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    width: 5rem;
    text-align: center;
}

.category-release,
.category-リリース {
    background: var(--primary-color);
    color: var(--white);
}

.category-info,
.category-お知らせ {
    background: var(--accent-color);
    color: var(--white);
}

.category-blog,
.category-ブログ {
    background: #10b981;
    color: var(--white);
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.news-more {
    text-align: center;
}

.news-more .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.news-more .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== NEWS LINK STYLES ===== */
.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.news-link .news-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.news-link:hover .news-title {
    color: var(--primary-color);
}

/* ===== NEWS DETAIL PAGE ===== */
.news-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.news-content {
    padding: 4rem 0;
    background: var(--white);
}

.news-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-article {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    min-height: auto;
    height: fit-content;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.article-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Apply category colors to article categories */
.article-category.category-release,
.article-category.category-リリース {
    background: var(--primary-color);
    color: var(--white);
}

.article-category.category-info,
.article-category.category-お知らせ {
    background: var(--accent-color);
    color: var(--white);
}

.article-category.category-achievement,
.article-category.category-実績 {
    background: #10b981;
    color: var(--white);
}

.article-category.category-blog,
.article-category.category-ブログ {
    background: #10b981;
    color: var(--white);
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.article-image {
    margin-bottom: 2rem;
}

.news-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    min-height: auto;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.publish-info {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.publish-info p {
    margin: 0.5rem 0;
}

.article-actions {
    text-align: center;
}

.article-actions .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.article-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== NEWS SIDEBAR ===== */
.news-sidebar {
    padding: 2rem;
}

.sidebar-section {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-news-list > a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sidebar-news-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.sidebar-news-list > a:hover .sidebar-news-item {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.sidebar-news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.sidebar-news-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.sidebar-news-list > a:hover .sidebar-news-title {
    color: var(--primary-color);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    text-decoration: none;
    color: inherit;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.category-badge:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

/* Apply category colors to sidebar category badges */
.category-badge.category-release,
.category-badge.category-リリース {
    background: var(--primary-color);
    color: var(--white);
}

.category-badge.category-info,
.category-badge.category-お知らせ {
    background: var(--accent-color);
    color: var(--white);
}

.category-badge.category-achievement,
.category-badge.category-実績 {
    background: #10b981;
    color: var(--white);
}

.category-badge.category-blog,
.category-badge.category-ブログ {
    background: #10b981;
    color: var(--white);
}

/* ===== CATEGORY PAGE ===== */
.category-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.category-content {
    padding: 4rem 0;
    background: var(--white);
}

.category-filter {
    margin-bottom: 3rem;
    text-align: center;
}

.category-filter h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-tab.active .category-badge {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.category-tab:hover .category-badge {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-badge.category-all {
    background: var(--text-dark);
    color: var(--white);
}

.results-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.results-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-content {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 3rem;
    max-width: 400px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-results-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-results-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
}

.results-info {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    display: inline-block;
}

.results-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN FOR CATEGORY PAGE ===== */
@media (max-width: 768px) {
    .category-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0.75rem;
        justify-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .category-badge {
        width: 100%;
        min-width: 160px;
        text-align: center;
    }
    
    .category-tab.active .category-badge {
        transform: none;
        box-shadow: 0 0 6px rgba(79, 34, 4, 0.4), 0 0 16px rgba(79, 34, 4, 0.2);
        border: 2px solid var(--white);
    }
    
    .category-tab:hover .category-badge {
        transform: none;
        box-shadow: 0 0 4px rgba(79, 34, 4, 0.3);
    }
    
    .category-filter h2 {
        font-size: 1.3rem;
    }
    
    .results-header h3 {
        font-size: 1.1rem;
    }
    
    .no-results-content {
        padding: 2rem;
    }
}

/* ===== RESPONSIVE DESIGN FOR NEWS DETAIL ===== */
@media (max-width: 768px) {
    .news-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-article {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .news-sidebar {
        padding: 0;
    }
    
    .sidebar-section {
        padding: 1.5rem;
    }
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.contact-cta .cta-content {
    text-align: center;
}

.contact-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta .cta-buttons,
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-cta .cta-buttons .btn,
.cta-buttons .btn {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
}

/* ===== ABOUT PAGE STYLES ===== */

/* About Hero Section */
.about-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.about-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.company-overview {
    padding: 6rem 0;
    background: var(--white);
}

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

.overview-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.overview-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stat-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 1s; }
.stat-card:nth-child(4) { animation-delay: 1.5s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    animation-play-state: paused;
}

.mission-vision {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.mission-card,
.vision-card,
.values-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.mission-card.animate,
.vision-card.animate,
.values-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.mission-card::before,
.vision-card::before,
.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mission-card:hover::before,
.vision-card:hover::before,
.values-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-card:hover .card-icon,
.vision-card:hover .card-icon,
.values-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    background: var(--gradient-secondary);
}

.mission-card h3,
.vision-card h3,
.values-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-card h4,
.vision-card h4,
.values-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p,
.values-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.company-info {
    padding: 3rem 1rem;
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.info-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.info-table th,
.info-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease;
}

.info-table tr.animate th,
.info-table tr.animate td {
    opacity: 1;
    transform: translateX(0);
}

.info-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
    min-width: 120px;
}

@media (max-width: 768px) {
    .info-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }
    
    .info-table table {
        table-layout: fixed;
        width: 100%;
        max-width: 100%;
    }
    
    .info-table th {
        width: 30%;
        min-width: 0;
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .info-table td {
        width: 70%;
        word-break: break-all;
        overflow-wrap: anywhere;
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
        hyphens: auto;
        white-space: normal;
    }
}

.info-table td {
    color: var(--text-light);
    line-height: 1.6;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: var(--gray-50);
    transform: translateX(5px);
}

.office-map {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.access-info {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
}

.access-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.access-info ul {
    list-style: none;
    padding: 0;
}

.access-info li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.access-info li::before {
    content: '🚇';
    position: absolute;
    left: 0;
    top: 0;
}

.access-info strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== COMPANY HISTORY ===== */
.company-history {
    padding: 6rem 0;
    background: var(--gray-50);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    width: 100%;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: all 0.8s ease;
}

.timeline-item.animate {
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 0 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: var(--white);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 6rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--gray-50);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.member-photo {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.photo-placeholder i {
    font-size: 2rem;
    color: var(--white);
}

.member-photo:hover .photo-placeholder {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-methods {
    padding: 6rem 0;
    background: var(--gray-50);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.method-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.method-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.method-icon i {
    font-size: 2rem;
    color: var(--white);
}

.method-card:hover .method-icon {
    transform: scale(1.2) rotate(10deg);
    background: var(--gradient-secondary);
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-number a,
.contact-email a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.contact-number a:hover,
.contact-email a:hover {
    color: var(--accent-color);
}

.contact-hours {
    margin-top: 1rem;
}

.contact-hours p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== OFFICE INFO ===== */
.office-info {
    padding: 6rem 0;
    background: var(--white);
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.detail-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.detail-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.detail-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-list li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.5;
}

.access-list li::before {
    content: '🚇';
    position: absolute;
    left: 0;
    top: 0;
}

.access-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.form-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 1rem auto 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.form-row {
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.form-group.animate {
    opacity: 1;
    transform: translateY(0);
}

.form-group.half {
    flex: 0 0 calc(50% - 1rem);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.required {
    color: #ef4444;
    font-weight: bold;
}

.name-inputs {
    display: flex;
    gap: 1rem;
}

.name-inputs input {
    flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 34, 4, 0.1);
    transform: scale(1.02);
}

.form-group input.error {
    border-color: #ef4444;
}

.form-group input.success {
    border-color: #10b981;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    font-weight: normal;
}

.checkbox-item:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: var(--white);
}

.checkmark::after {
    content: '';
    font-size: 12px;
    font-weight: bold;
    color: transparent;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
}

.checkbox-item input[type="checkbox"]:checked ~ * {
    color: var(--primary-color);
    font-weight: 600;
}

.privacy-check {
    border: none;
    padding: 1rem 0;
    background: none;
    font-size: 14px;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 14px;
}

.privacy-link:hover {
    color: var(--accent-color)
}

.char-counter {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.form-note {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.form-note h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-note li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.form-note li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 6rem 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid var(--gray-200);
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    /* background: var(--white); */
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

/* ===== LOADING AND SUCCESS STATES ===== */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-success {
    background: #10b981;
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.form-error {
    background: #ef4444;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-error.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-info-footer i {
    color: var(--accent-color);
    width: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スクロールアニメーション */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
}

.animate-left {
    transform: translateX(-50px);
}

.animate-left.animate {
    transform: translateX(0);
}

.animate-right {
    transform: translateX(50px);
}

.animate-right.animate {
    transform: translateX(0);
}

.animate-up {
    transform: translateY(50px);
}

.animate-up.animate {
    transform: translateY(0);
}

/* 採用情報アコーディオン */
.recruit-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.recruit-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.recruit-item:hover {
    box-shadow: var(--shadow-xl);
}

/* 採用ページ用のrecruit-header */
.recruit-accordion .recruit-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.recruit-accordion .recruit-header:hover {
    background: var(--gray-50);
}

.recruit-accordion .recruit-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recruit-accordion .recruit-header .position-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.recruit-accordion .position-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.employment-type {
    background: var(--gray-100);
    color: var(--text-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.position-badge {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.recruit-accordion .click-hint {
    color: var(--text-light);
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.8;
    text-align: right;
    margin-left: auto;
    order: 999;
}

.click-hint .desktop-text {
    display: inline;
}

.click-hint .mobile-text {
    display: none;
}

@media (max-width: 768px) {
    .click-hint .desktop-text {
        display: none;
    }
    
    .click-hint .mobile-text {
        display: inline;
    }
}

.recruit-accordion .toggle-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 1rem;
}

.recruit-accordion .recruit-item.active .toggle-icon {
    transform: rotate(180deg);
}

/* 採用ページのアコーディオン用 */
.recruit-accordion .recruit-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.recruit-accordion .recruit-item.active .recruit-content {
    max-height: 2000px;
}

.recruit-table-container {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 2rem;
    border-top: 1px solid var(--gray-200);
}

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

.recruit-table th,
.recruit-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top;
}

.recruit-table th {
    background: var(--gray-50);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    width: 200px;
    min-width: 150px;
}

.recruit-table td {
    color: var(--text-dark);
    line-height: 1.7;
}

.recruit-table td p {
    margin: 0 0 1rem 0;
}

.recruit-table td p:last-child {
    margin-bottom: 0;
}

.recruit-table td strong {
    font-weight: 700;
    color: var(--primary-color);
}

.recruit-table tbody tr:last-child th,
.recruit-table tbody tr:last-child td {
    border-bottom: none;
}

.recruit-table tbody tr:hover {
    background: var(--gray-50);
}

.recruit-apply-section {
    text-align: center;
    padding: 2rem 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recruit-header {
        padding: 1.5rem;
    }
    
    .recruit-header .position-title {
        font-size: 1.4rem;
    }
    
    .position-info {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .click-hint {
        font-size: 0.75rem;
    }
    
    .recruit-table {
        font-size: 0.9rem;
    }
    
    .recruit-table th,
    .recruit-table td {
        padding: 1rem;
    }
    
    .recruit-table th {
        width: 120px;
        min-width: 100px;
        font-size: 1rem;
    }
    
    .recruitment-mockup {
        padding: 15px;
        min-height: 250px;
    }
    
    .recruit-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .recruit-subtitle {
        font-size: 0.8rem;
    }
    
    .recruit-content {
        gap: 10px;
    }
    
    .recruit-section {
        padding: 12px;
        gap: 12px;
    }
    
    .recruit-section i {
        font-size: 1rem;
    }
    
    .recruit-section span {
        font-size: 0.8rem;
    }
    
    .visual-mockup {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .service-visual {
        padding: 1rem 0;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 34, 4, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 34, 4, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 34, 4, 0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-5px) scale(1.02); 
    }
}

@keyframes float-mobile {
    0%, 100% { 
        transform: translateY(0px) scale(0.8); 
    }
    50% { 
        transform: translateY(-5px) scale(0.8); 
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes growUp {
    from { height: 0 !important; }
}

/* ===== RECRUITMENT MOCKUP ===== */
.recruitment-mockup {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    direction: ltr;
}

.recruitment-mockup,
.recruitment-mockup *,
.recruitment-mockup .recruit-header,
.recruitment-mockup .recruit-content,
.recruitment-mockup .recruit-section {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
}

.recruitment-mockup .recruit-content {
    display: flex !important;
    max-height: none !important;
    overflow: visible !important;
}

.recruitment-mockup .recruit-section {
    display: flex !important;
}

/* recruitment-mockup用のrecruit-header */
.recruitment-mockup .recruit-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruitment-mockup .recruit-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
    display: block;
    width: 100%;
}

.recruitment-mockup .recruit-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    direction: ltr;
    unicode-bidi: normal;
    display: block;
    width: 100%;
}

.recruitment-mockup .recruit-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    flex: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
}

.recruitment-mockup .recruit-section {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px !important;
    background: var(--gray-50) !important;
    border-radius: 8px !important;
    border-left: 4px solid var(--primary-color) !important;
    transition: all 0.8s ease !important;
    /* cursor: pointer; */
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 50px !important;
    transform: none !important;
}

.recruitment-mockup .recruit-section.section-active {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    transform: translateX(5px) !important;
    transition: all 0.8s ease !important;
}

.recruitment-mockup .recruit-section i {
    font-size: 1.2rem !important;
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.recruitment-mockup .recruit-section.section-active i {
    color: var(--white) !important;
}

.recruitment-mockup .recruit-section span {
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

/* ===== INSTALLATION MOCKUP ===== */
.installation-mockup {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.installation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.device-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--gray-50);
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    /* cursor: pointer; */
}

/* .device-box:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
} */

.device-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

/* .device-box:hover i {
    color: var(--white);
} */

.device-box span {
    font-size: 0.8rem;
    font-weight: 500;
}

.installation-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.5s ease;
}

.process-step:nth-child(1) .step-number {
    animation: processStep1 12s ease-in-out infinite;
}

.process-step:nth-child(3) .step-number {
    animation: processStep2 12s ease-in-out infinite;
}

.process-step:nth-child(5) .step-number {
    animation: processStep3 12s ease-in-out infinite;
}

@keyframes processStep1 {
    0% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
    8.33%, 16.66% {
        background: var(--primary-color);
        color: var(--white);
        transform: scale(1.1);
    }
    25%, 91.66% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
    100% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
}

@keyframes processStep2 {
    0%, 25% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
    33.33%, 50% {
        background: var(--primary-color);
        color: var(--white);
        transform: scale(1.1);
    }
    58.33%, 100% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
}

@keyframes processStep3 {
    0%, 58.33% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
    66.66%, 83.33% {
        background: var(--primary-color);
        color: var(--white);
        transform: scale(1.1);
    }
    91.66%, 100% {
        background: var(--gray-200);
        color: var(--text-light);
        transform: scale(1);
    }
}

.process-step.active .step-number {
    background: var(--primary-color);
    color: var(--white);
}

.process-step span {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: color 0.5s ease;
}

.process-step:nth-child(1) span {
    animation: processStepText1 12s ease-in-out infinite;
}

.process-step:nth-child(3) span {
    animation: processStepText2 12s ease-in-out infinite;
}

.process-step:nth-child(5) span {
    animation: processStepText3 12s ease-in-out infinite;
}

@keyframes processStepText1 {
    0% {
        color: var(--text-light);
        font-weight: 400;
    }
    8.33%, 16.66% {
        color: var(--primary-color);
        font-weight: 600;
    }
    25%, 91.66% {
        color: var(--text-light);
        font-weight: 400;
    }
    100% {
        color: var(--text-light);
        font-weight: 400;
    }
}

@keyframes processStepText2 {
    0%, 25% {
        color: var(--text-light);
        font-weight: 400;
    }
    33.33%, 50% {
        color: var(--primary-color);
        font-weight: 600;
    }
    58.33%, 100% {
        color: var(--text-light);
        font-weight: 400;
    }
}

@keyframes processStepText3 {
    0%, 58.33% {
        color: var(--text-light);
        font-weight: 400;
    }
    66.66%, 83.33% {
        color: var(--primary-color);
        font-weight: 600;
    }
    91.66%, 100% {
        color: var(--text-light);
        font-weight: 400;
    }
}

.process-arrow {
    color: var(--text-light);
    font-weight: bold;
}

/* ===== PHONE MODAL ===== */
.phone-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.phone-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-modal-content {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.phone-modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

.phone-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.phone-modal-body {
    padding: 1rem;
    text-align: center;
}

.company-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.phone-number i {
    color: var(--accent-color);
}

.phone-info {
    text-align: left;
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.phone-info p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.phone-note {
    color: var(--primary-color);
    font-weight: 500;
}

.phone-modal-footer {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    background: var(--gray-50);
}

.phone-modal-footer .btn {
    flex: 1;
    justify-content: center;
}

.phone-modal-footer .btn i {
    width: 15px;
    margin-right: 5px;
}

.phone-modal-footer .btn-secondary {
    background: var(--white);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.phone-modal-footer .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .phone-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .phone-modal-footer {
        flex-direction: column;
    }
    
    .phone-number {
        font-size: 1.25rem;
    }
}

/* ===== RECRUIT PAGE STYLES ===== */
.recruit-hero {
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.recruit-overview {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.positions-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.position-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.position-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.position-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.position-content {
    margin-bottom: 2rem;
}

.position-details {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-line;
}

.position-footer {
    text-align: center;
}

.no-positions {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.no-positions-content i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.no-positions-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-positions-content p {
    color: var(--text-light);
    font-size: 1rem;
}

.company-culture {
    padding: 4rem 0;
    background: var(--gray-50);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.culture-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.culture-icon i {
    font-size: 2rem;
    color: var(--white);
}

.culture-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.culture-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.recruit-flow {
    padding: 4rem 0;
    background: var(--white);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.flow-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.flow-arrow {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ===== CALLCENTER MOCKUP ===== */
.callcenter-mockup {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.call-interface {
    padding: 15px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.call-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.status-indicator.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

.caller-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.support-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    transition: all 0.8s ease;
}

.category-item.category-active {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateX(5px);
}

.category-item i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: color 0.8s ease;
}

.category-item.category-active i {
    color: var(--white);
}

.category-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.privacy-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.privacy-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.privacy-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.privacy-content {
    padding: 6rem 0;
    background: var(--white);
}

.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.policy-intro {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.policy-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    /* border-bottom: 1px solid var(--gray-200); */
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.policy-list li {
    background: var(--gray-50);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.company-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.company-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.company-info i {
    color: var(--accent-color);
    width: 20px;
}

.company-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: var(--accent-color);
}

.policy-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
    margin-top: 3rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-text {
    color: var(--text-light);
    font-weight: 500;
}

/* ===== MOBILE PHONE BUTTON ===== */
.mobile-phone-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .mobile-phone-button {
        display: block;
    }
    
    .footer {
        padding-bottom: 80px;
    }
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 16px 20px;
    padding-bottom: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.phone-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.phone-btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn i {
    font-size: 1.2rem;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10001;
    transition: width 0.1s ease;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}


/* ===== ACCESSIBILITY ===== */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* General responsive improvements */
img {
    max-width: 100%;
    height: auto;
}

.container {
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        z-index: 999;
        gap: 1rem;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
        border-radius: 8px;
        margin: 0 1rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .services-hero .hero-title,
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .services-hero .hero-subtitle,
    .about-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        padding: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
    }
    
    .service-item.reverse .service-content {
        direction: ltr;
    }
    
    .service-visual {
        display: none;
    }
    
    .service-text {
        min-height: auto;
    }
    
    .service-text h3 {
        font-size: 2rem;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline {
        margin: 2rem 0;
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 40px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .timeline-date {
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .timeline-item .timeline-content::before {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .office-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        flex: 1;
    }
    
    .name-inputs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .tech-stack {
        grid-template-columns: repeat(3, 1fr);
    }
    
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .services-hero,
    .about-hero,
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    
    .hero-content {
        padding: 80px 20px 40px;
    }
    
    .hero-title,
    .services-hero .hero-title,
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2rem;
        line-height: 2;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* フローティングカードの位置調整 */
    .card-1 {
        top: 5%;
        left: 5%;
        transform: scale(0.8);
        animation: float-mobile 6s ease-in-out infinite;
        animation-delay: 0s;
    }
    
    .card-2 {
        top: 60%;
        right: 5%;
        transform: scale(0.8);
        animation: float-mobile 6s ease-in-out infinite;
        animation-delay: 2s;
    }
    
    .card-3 {
        bottom: 5%;
        left: 10%;
        transform: scale(0.8);
        animation: float-mobile 6s ease-in-out infinite;
        animation-delay: 4s;
    }
    
    .card-4 {
        top: 13%;
        right: 15%;
        transform: scale(0.8);
        animation: float-mobile 6s ease-in-out infinite;
        animation-delay: 6s;
    }
    
    .mobile-break {
        display: inline;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .contact-info-footer {
        text-align: center;
    }
    
    .contact-info-footer p {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-item {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        text-align: left;
        padding: 1.5rem;
    }
    
    .news-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .news-item .news-date {
        min-width: auto;
        margin: 0;
        flex-shrink: 0;
        text-align: left;
    }
    
    .news-item .news-category {
        margin: 0;
        flex-shrink: 0;
        text-align: center;
    }
    
    .news-item .news-title {
        margin: 0;
        font-size: 1rem;
        line-height: 1.4;
        text-align: left;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-hero,
    .about-hero,
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .services-hero .hero-title,
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .overview-content h2 {
        font-size: 2rem;
    }
    
    .mission-card,
    .vision-card,
    .values-card {
        padding: 2rem 1.5rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .method-card {
        padding: 2rem 1.5rem;
    }
    
    .detail-item {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
    }
    
    .chart-bars {
        height: 100px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta .cta-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== ACCESSIBILITY - REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION COLOR ===== */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== FOCUS STYLES ===== */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== RECRUIT APPLY FORM STYLES ===== */
.apply-hero {
        padding: 8rem 0 4rem;
        background: var(--gradient-primary);
        color: var(--white);
        text-align: center;
    }

.apply-form {
    padding: 4rem 0;
    background: var(--gray-50);
    position: relative;
    z-index: 10;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 15;
}

.step-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 20;
    opacity: 1;
    transform: none;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 25;
}

.step-indicator .step.active .step-number {
    background: var(--primary-color);
    color: var(--white);
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    z-index: 25;
}

.step-indicator .step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--secondary-color);
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.step-line.active {
    background: var(--primary-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.form-container h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.form-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.apply-form-content {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
    position: relative;
    z-index: 4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 34, 4, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-messages {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.error {
    color: #dc2626;
    margin: 0;
}

.form-actions {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.confirm-content {
    margin: 2rem 0;
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.confirm-table th,
.confirm-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.confirm-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--primary-color);
    width: 30%;
}

.confirm-table td {
    color: var(--text-dark);
}

.confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.confirm-actions .btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--gray-200);
}

.confirm-actions .btn-secondary:hover {
    background: var(--gray-100);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.complete-content {
    text-align: center;
    padding: 2rem 0;
}

.complete-icon {
    margin-bottom: 1.5rem;
}

.complete-icon i {
    font-size: 4rem;
    color: #10b981;
}

.complete-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.complete-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.complete-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.complete-actions .btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--gray-200);
}

.complete-actions .btn-secondary:hover {
    background: var(--gray-100);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

/* 目立つ応募・送信ボタン */
.btn-apply,
.btn-form-submit {
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.2rem;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: none;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.btn-apply:hover,
.btn-form-submit:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(79, 34, 4, 0.4);
}


@media (max-width: 768px) {
    .step-indicator {
        padding: 0 1rem;
    }
    
    .step-line {
        margin: 0 0.5rem;
    }
    
    .form-container {
        /* margin: 0 1rem; */
        padding: 0.5rem;
    }
    
    .confirm-table th,
    .confirm-table td {
        padding: 0.75rem;
    }
    
    .confirm-table th {
        width: 35%;
    }
    
    .confirm-actions,
    .complete-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .confirm-actions .btn,
    .complete-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}