/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00a8ff, #0066cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00a8ff;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.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><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2300a8ff;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%230066cc;stop-opacity:0.05"/></linearGradient></defs><circle cx="20" cy="20" r="15" fill="url(%23grad1)"/><circle cx="80" cy="80" r="25" fill="url(%23grad1)"/><circle cx="70" cy="30" r="10" fill="url(%23grad1)"/></svg>');
    opacity: 0.3;
}

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

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #00a8ff, #0066cc);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #00a8ff;
}

.btn-secondary:hover {
    background: #00a8ff;
    color: #ffffff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.3);
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    border: 2px solid rgba(0, 168, 255, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #00a8ff, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 4px;
}

.icon-cloud::before { content: '☁'; font-size: 1.5rem; }
.icon-server::before { content: '⚙'; font-size: 1.5rem; }
.icon-consulting::before { content: '💡'; font-size: 1.5rem; }
.icon-education::before { content: '📚'; font-size: 1.5rem; }

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
}

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

.company-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list {
    display: grid;
    gap: 1.5rem;
}

.info-list dt {
    font-weight: 700;
    color: #00a8ff;
    margin-bottom: 0.5rem;
}

.info-list dd {
    color: #ffffff;
    font-size: 1.1rem;
}

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

.company-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #00a8ff, #0066cc);
    border-radius: 20px;
    position: relative;
    opacity: 0.8;
}

.company-graphic::before {
    content: 'KQS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0f0f0f;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item h3 {
    color: #00a8ff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #ffffff;
    font-size: 1.1rem;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.contact-item a:hover {
    color: #00a8ff;
}

/* Form Styles */
.form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a8ff;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 0 20px;
}

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

.footer-info h3,
.footer-services h4,
.footer-contact h4 {
    color: #00a8ff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-info p,
.footer-services li,
.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services {
        padding: 60px 0;
    }

    .about,
    .contact {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .company-info,
    .form {
        padding: 2rem 1.5rem;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
    }

    .company-graphic {
        width: 250px;
        height: 250px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.feature-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.3);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: #00a8ff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

/* Footer links */
.footer-services ul {
    list-style: none;
}

.footer-services a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-services a:hover {
    color: #00a8ff;
}

/* Page specific styles */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Vision Section */
.vision {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.vision-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2);
}

.vision-card h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.vision-card p {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Company Stats Section */
.company-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #00a8ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Access Section */
.access {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.access-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-card h3 {
    color: #00a8ff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.access-card p {
    color: #b0b0b0;
    line-height: 1.8;
}

/* Service Details Section */
.service-details {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.service-detail-content:nth-child(even) {
    direction: rtl;
}

.service-detail-content:nth-child(even) > * {
    direction: ltr;
}

.service-detail-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #00a8ff;
}

.service-detail-text p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.service-features li {
    color: #ffffff;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    color: #00a8ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #00a8ff, #0066cc);
    border-radius: 20px;
    opacity: 0.2;
    position: relative;
}

/* Contact Page Specific */
.contact-page {
    padding: 100px 0;
    background: #0f0f0f;
}

.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-section h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.contact-method h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: #b0b0b0;
}

.contact-method a {
    color: #00a8ff;
    text-decoration: none;
}

.contact-method a:hover {
    color: #ffffff;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
}

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

.process-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00a8ff, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 1.5rem;
}

.process-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.process-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-section h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form-section > p {
    color: #b0b0b0;
    margin-bottom: 2rem;
}

/* Consultation Info */
.consultation-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.consultation-info h3 {
    color: #00a8ff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.consultation-info p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.consultation-topics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.consultation-topics li {
    color: #ffffff;
    padding: 0.5rem;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #0f0f0f;
}

.faq-content {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    color: #00a8ff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #b0b0b0;
    line-height: 1.8;
}

/* Checkbox styles */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 0.9rem;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #00a8ff;
    border-color: #00a8ff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
}

.checkbox-label a {
    color: #00a8ff;
    margin-left: 0.5rem;
    text-decoration: none;
}

.checkbox-label a:hover {
    color: #ffffff;
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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