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

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.company-name {
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav a:hover {
    opacity: 0.8;
}

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

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

/* ファーストビュー */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 150px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9);
    padding: 60px 20px 20px;
    max-width: 900px;
    margin-bottom: 100px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9);
}

.hero-title .highlight {
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9);
    display: inline-block;
}

.hero-text {
    font-size: 1.3rem;
    line-height: 2;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9);
}

/* スライダー（ファーストビュー下部） */
.hero .slider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
}

.hero .slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.hero .slide {
    flex-shrink: 0;
    width: 250px;
    margin: 0 10px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero .slider:hover .slider-track {
    animation-play-state: paused;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #667eea;
    font-weight: bold;
}

/* こんな方歓迎 */
.welcome {
    background: white;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.welcome-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: transform 0.3s;
}

.welcome-card:hover {
    transform: translateY(-10px);
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: bold;
}

/* 会社について・おわりに */
.about, .outro {
    background: white;
}

.about-image, .outro-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    aspect-ratio: 4/3;
}

.about-image img, .outro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text, .outro-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

.about-text p, .outro-text p {
    margin-bottom: 30px;
}

/* 仕事内容 */
.business {
    background: #f8f9fa;
}

.business-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

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

.business-item.reverse {
    direction: rtl;
}

.business-item.reverse > * {
    direction: ltr;
}

.business-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    aspect-ratio: 4/3;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #667eea;
    font-weight: bold;
}

.business-content p {
    font-size: 1.1rem;
    line-height: 2;
}

/* CTA */
.cta {
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* カードグリッド */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #667eea;
    font-weight: bold;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.9;
}

/* 1日の流れ */
.schedule {
    background: white;
}

.schedule-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.schedule-content {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* 募集要項 */
.requirements {
    background: #f8f9fa;
}

.requirements-content {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.requirement-item {
    margin-bottom: 50px;
}

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

.requirement-item h3 {
    font-size: 1.6rem;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: bold;
}

.requirement-item h4 {
    font-size: 1.2rem;
    color: #764ba2;
    margin: 20px 0 10px;
    font-weight: bold;
}

.requirement-item p {
    font-size: 1.05rem;
    line-height: 1.9;
}

/* フォーム */
.contact {
    background: white;
}

.contact-form {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.honeypot {
    display: none;
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s;
        gap: 0;
    }

    .nav.active {
        left: 0;
    }

    .nav a {
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        font-size: 1.1rem;
    }

    .hero {
        min-height: 600px;
        padding-bottom: 120px;
    }

    .hero-content {
        padding: 40px 20px 20px;
        margin-bottom: 80px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.6;
    }

    .hero-title .highlight {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .hero .slider {
        padding: 15px 0;
    }

    .hero .slider-track {
        animation: scroll 20s linear infinite;
    }

    .hero .slide {
        width: 200px;
        margin: 0 8px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .business-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .business-item.reverse {
        direction: ltr;
    }

    .business-item .business-image {
        order: 1;
    }

    .business-item .business-content {
        order: 2;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card .card-image {
        order: 1;
    }

    .card .card-content {
        order: 2;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .schedule-card {
        padding: 30px 20px;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 0;
    }

    .schedule-time {
        font-size: 1.2rem;
    }

    .schedule-content {
        font-size: 1rem;
    }

    .requirements-content {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 40px 20px;
    }
}
