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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    color: #1a1a1a;
    background: #f7f9fc;
}

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

/* Header */
header {
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

nav {
    padding: 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    padding: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #666;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #5856d6;
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(190, 200, 210, 0.9) 0%, rgba(175, 188, 205, 0.8) 50%, rgba(160, 175, 195, 0.7) 100%), url('assets/images/hero3.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    filter: brightness(0.9);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(180, 190, 205, 0.3);
    z-index: 1;
}

/* Hero Left Side */
.hero-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    padding: 80px 40px;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    max-width: 500px;
    margin-left: auto;
    margin-right: 60px;
}

.hero-heading {
    font-size: 2.6rem;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.hero-title {
    font-weight: 800;
    color: #2c3e50;
    display: inline-block;
    letter-spacing: -0.8px;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2.5s ease-in-out 0.5s both;
}

.hero-title::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #2c3e50;
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-weight: 400;
    font-size: 1.1rem;
    color: #555;
}

.hero-btn {
    display: inline-block;
    padding: 14px 30px;
    border: none;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ff6b35;
    box-shadow: none;
}

.hero-btn:hover {
    background: #ff5722;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

/* Hero Right Side */
.hero-right {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero-image-gradient {
    display: none;
}

/* Particle Animation */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.particles {
    width: 100%;
    height: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    color: #5856d6;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #5856d6, #4c4acf);
    border-radius: 2px;
}

/* Service Section */
.service {
    background: #f7f9fc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
}

.service-item:hover {
    border-color: rgba(0,0,0,0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.9);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: #5856d6;
    stroke-width: 1.5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-item h3 {
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.service-item p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* About Section */
.about {
    background: linear-gradient(rgba(190, 200, 210, 0.9), rgba(175, 188, 205, 0.95)), url('assets/images/footer.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.about th,
.about td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.about th {
    width: 35%;
    font-weight: 500;
    color: #666;
    font-size: 0.95rem;
}

.about td {
    color: #1a1a1a;
    font-weight: 400;
}

/* Contact Section */
.contact {
    background: #f7f9fc;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5856d6;
    background: #fff;
}

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

.submit-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: inherit;
    width: 100%;
}

.submit-btn:hover {
    background: #ff5722;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Footer */
footer {
    background: linear-gradient(rgba(34, 44, 63, 0.9), rgba(34, 44, 63, 0.95)), url('assets/images/footer.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.5)), url('assets/images/recruit-bk.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 100px;
    text-align: center;
    color: white;
    position: relative;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.8px;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Recruit Sections */
.recruit-intro {
    background: #f8f9fa;
    padding: 100px 0;
}

.recruit-content {
    max-width: 760px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.recruit-description h3 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 20px;
}

.recruit-description h3:first-child {
    margin-top: 0;
}

.recruit-description h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3f8efc, #4b6cb7);
    border-radius: 2px;
}

.recruit-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.recruit-description ul {
    color: #666;
    line-height: 1.8;
    padding-left: 0;
    list-style: none;
}

.recruit-description li {
    margin-bottom: 1rem;
    padding-left: 24px;
    position: relative;
}

.recruit-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3f8efc;
    font-weight: bold;
}

/* Work Style Section */
.work-style {
    background: white;
    padding: 100px 0;
}

.work-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.work-style-item {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.work-style-item:hover {
    background: white;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.work-style-icon {
    margin-bottom: 2rem;
}

.work-style-icon svg {
    color: #3f8efc;
    stroke-width: 1.5;
    width: 52px;
    height: 52px;
}

.work-style-item h3 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.work-style-item p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Recruit Conditions */
.recruit-conditions {
    background: #f8f9fa;
    padding: 100px 0;
}

.conditions-table {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    border: 1px solid #eee;
}

.condition-row {
    display: flex;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.condition-row:last-child {
    border-bottom: none;
}

.condition-row:hover {
    background-color: #f8f9fa;
}

.condition-row.highlight {
    background: linear-gradient(135deg, #3f8efc, #4b6cb7);
    color: white;
}

.condition-row.highlight:hover {
    background: linear-gradient(135deg, #357ae8, #4060a8);
}

.condition-label {
    flex: 1;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #fff;
    border-right: 1px solid #eee;
}

.condition-row.highlight .condition-label {
    background: linear-gradient(135deg, #3f8efc, #4b6cb7);
    color: white;
}

.condition-value {
    flex: 2;
    padding: 1.2rem 1.5rem;
    color: #555;
}

.condition-row.highlight .condition-value {
    color: white;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
        padding: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-bottom: none;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .hero {
        flex-direction: column;
    }
    
    .hero-left {
        padding: 60px 20px;
    }
    
    .hero-text-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .hero-right {
        height: 400px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .work-style-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work-style-item {
        padding: 2.5rem 2rem;
    }
    
    .recruit-content {
        padding: 40px 30px;
    }
    
    .condition-row {
        flex-direction: column;
    }
    
    .condition-label {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}