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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1e40af;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 15rem 0 40px;
    text-align: center;
    margin-top: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.company-info {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-style: italic;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #f97316;
    color: white;
}

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

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: #fff;
}

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

.stat-card {
    background: #eff6ff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

/* Jobs Section */
.jobs {
    padding: 80px 0;
    background: #f9fafb;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Technology Tabs */
.tech-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tab {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.tech-tab.active, .tech-tab:hover {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}

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

.job-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.job-tech {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-description {
    color: #666;
    margin-bottom: 1rem;
}

.job-salary {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.job-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.job-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.job-btn {
    width: 100%;
    background: #1e40af;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.job-btn:hover {
    background: #1d4ed8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* Support Section */
.support {
    padding: 80px 0;
    background: #f9fafb;
}

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

.support-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.support-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-step h3 {
    color: #333;
    margin-bottom: 1rem;
}

.support-step p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-form {
    background: #f9fafb;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Webkit用のスクロールバースタイル */
.contact-form::-webkit-scrollbar {
    width: 8px;
}

.contact-form::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.contact-form::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.contact-form::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.contact-form iframe {
    width: 100% !important;
    height: 1131px;
    border: none;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-height: 800px;
    transition: height 0.3s ease;
    overflow: visible;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f9fafb
}

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

.testimonial-card {
    background: #eff6ff;
    padding: 2rem;
    border-radius: 12px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #93c5fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e40af;
    margin-right: 1rem;
}

.user-info h4 {
    color: #333;
    margin-bottom: 0.2rem;
}

.user-info p {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-card > p {
    color: #374151;
    margin-bottom: 1rem;
    font-style: italic;
}

.rating {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f9fafb;
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #666;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #eff6ff;
    border-radius: 12px;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.faq-cta {
    margin-top: 2rem;
    padding: 1.5rem;
}

.faq-cta p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e40af;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form {
        max-width: 90%;
        padding: 2.5rem;
        max-height: 85vh;
    }
    
    .contact-form iframe {
        min-height: 700px;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    /* .navbar {
        display: none;
    } */

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .nav-menu.active {
        display: none;
    }

    .hero {
        padding: 12rem 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 10px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .contact-form iframe {
        width: 100%;
        height: 500px;
    }

    .tech-tabs {
        gap: 0.5rem;
    }

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

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

    .company-table-container {
        margin: 0 10px;
    }

    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .company-info-item {
        text-align: left;
    }

    .info-value {
        font-size: 0.9rem;
    }

    .faq-cta {
        padding: 2rem 1rem;
    }

    .faq-cta p {
        font-size: 0.9rem;
    }

    .nav-logo {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    /* .hero {
        padding: 40px 0 30px;
    } */

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .company-info {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

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

    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 8px;
        max-width: calc(100% - 1rem);
        max-height: 75vh;
        overflow-y: auto;
    }

    .contact-form iframe {
        min-height: 500px;
        height: auto !important;
    }

    .faq-cta {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .faq-cta p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .company-table-container {
        max-width: 100%;
    }

    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .company-info-item {
        padding: 0.8rem;
    }

    .info-value {
        font-size: 0.85rem;
    }

    .address-detail {
        font-size: 0.8rem;
    }

    .nav-logo {
        height: 30px;
    }
}

/* Company Info Section */
.company {
    padding: 60px 0;
    background: white;
}

.company-table-container {
    max-width: 700px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.company-table th {
    background: #f8fafc;
    padding: 0.6rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    width: 40%;
    font-size: 0.75rem;
}

.company-table td {
    padding: 0.6rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    line-height: 1.6;
    font-size: 0.8rem;
}

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

.address-item {
    margin-bottom: 1rem;
}

.address-item:last-child {
    margin-bottom: 0;
}

.address-item strong {
    color: #1e40af;
    font-size: 0.8rem;
}
