/* 基本リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f7f7;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ヘッダー */
.header {
    background-color: #2e7d32;
    background-image:
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    color: white;
    padding: 10px 0;
    text-align: center;
}
.header h1 {
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 20px;
}
.header-cta {
    background-color: #7cb342;
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

/* 共通セクションスタイル */
.section {
    padding: 60px 0;
    text-align: center;
}
.section h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2e7d32;
    border-bottom: 3px solid #2e7d32;
    display: inline-block;
    padding-bottom: 5px;
}
.dark-bg {
    background-color: #e9ecef;
}

/* CTAボタン共通スタイル */
.cta-button {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
    padding: 15px 20px;
    background-color: #fc6703;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.cta-button:hover {
    background-color: #2e7d32;
}

/* 1. メインビジュアル/ヒーローセクション */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/main.jpg') center/cover;
    color: white;
    padding: 80px 0;
}
.hero-main-catch {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px #000;
}
.hero-sub-catch {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.hero-note {
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #7cb342;
    color: white;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
}

/* 2. 給与セクション */
.salary-section h4 {
    font-size: 1.5rem;
    margin-top: 30px;
    color: #2e7d32;
}
.salary-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.salary-item {
    background-color: #fff;
    border: 3px solid #2e7d32;
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
}
.salary-item .label {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}
.salary-item .value {
    font-size: 1.8rem;
    color: #28a745;
    font-weight: 900;
}
.salary-item.night {
    border-color: #2e7d32;
}
.salary-item.night .value {
    color: #1b5e20;
}
.monthly-income {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto;
}
.income-total {
    font-size: 1.8rem;
    color: #1b5e20;
    font-weight: bold;
    margin: 10px 0;
}

/* 3. 仕事内容セクション */
.work-flow {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}
.work-step {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.step-icon {
    font-size: 2rem;
    color: white;
    background-color: #2e7d32;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 10px;
}
.work-step h4 {
    color: #2e7d32;
    margin-bottom: 5px;
}
.work-point {
    margin-top: 20px;
    font-weight: bold;
    color: #2e7d32;
}

/* 4. シフトセクション */
.shift-section {
    position: relative;
    background: url('img/bg_sec2.jpg') center/cover fixed;
    color: white;
}

.shift-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.shift-section .container {
    position: relative;
    z-index: 2;
}

.shift-section h3 {
    color: white;
    border-bottom-color: white;
}

.shift-flex {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}
.shift-card {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    min-width: 45%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.shift-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid;
}
.shift-card.day h4 {
    border-color: #ffc107;
    color: #ffc107;
}
.shift-card.night h4 {
    border-color: #2e7d32;
    color: #2e7d32;
}
.shift-card ul {
    list-style: none;
}
.shift-card li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}
.shift-card li::before {
    content: '▶';
    color: #28a745;
    position: absolute;
    left: 0;
}
.shift-note {
    margin: 10px 0;
    color: #f0f0f0;
}
.shift-note.high-priority {
    font-weight: bold;
    color: #e0470b;
}

/* 5. 勤務地セクション */
.location-section {
    background-color: #f7f7f7;
    background-image:
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.location-section .company-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.access-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}
.access-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.access-item h4 {
    color: #2e7d32;
    margin-bottom: 5px;
}
.map-link {
    display: inline-block;
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #2e7d32;
    margin-top: 10px;
}

/* 7. 待遇・福利厚生セクション */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.benefit-item {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}
.note-small {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #6c757d;
}

/* 8. 応募を求めている方へセクション */
.target-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 20px auto 0;
}
.target-list li {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #ffc107;
    font-size: 1.1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.target-list li strong {
    color: #2e7d32;
}

/* 9. 選考プロセスセクション */
.entry-flow-section {
    position: relative;
    background: url('img/bg_sec.jpg') center/cover no-repeat;
    color: white;
}

.entry-flow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.entry-flow-section .container {
    position: relative;
    z-index: 2;
}

.entry-flow-section h3 {
    color: white;
    border-bottom-color: white;
}

.flow-steps {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
}
.flow-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 20px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.flow-icon {
    font-size: 2rem;
    color: white;
    background-color: #2e7d32;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto 10px;
}
.flow-step h4 {
    color: #2e7d32;
    margin-bottom: 5px;
}
.highlight-text {
    font-weight: bold;
    color: #2e7d32;
}
.flow-note {
    margin-top: 30px;
    font-style: italic;
    color: #f0f0f0;
}

/* CTAセクション (最下部) */
.cta-section {
    background-color: #7b857b;
    background-image:
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    color: white;
    padding: 40px 0;
    text-align: center;
}
.cta-message {
    font-size: 1.5rem;
    font-weight: bold;
}
.final-cta {
    background-color: #fc6703;
    color: white;
    font-size: 1.5rem;
}

/* フッター */
.footer {
    padding: 15px 0;
    background-color: #2e7d32;
    color: #e8f5e9;
    font-size: 0.8rem;
    text-align: center;
}

/* レスポンシブ対応 (モバイルファースト) */
@media (max-width: 768px) {
    .hero-main-catch {
        font-size: 2rem;
    }
    .salary-box {
        flex-direction: column;
        align-items: center;
    }
    .salary-item {
        width: 100%;
        max-width: 300px;
    }
    .work-flow, .shift-flex, .access-info, .flow-steps {
        flex-direction: column;
        gap: 20px;
    }
    .work-step, .shift-card, .access-item {
        width: 100%;
        max-width: none;
    }
    .shift-card {
        text-align: center;
    }
    .shift-card li {
        text-align: center;
        padding-left: 0;
    }
    .shift-card li::before {
        display: none;
    }
    .header-cta {
        display: none; /* スマホではヒーローのCTAを強調 */
    }
    .section h3 {
        font-size: 1.5rem;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background-color: #2e7d32;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s;
}
.hamburger-menu:hover {
    background-color: #1b5e20;
}
.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Global Navigation */
.global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.95);
    z-index: 999;
    padding-top: 80px;
    transition: right 0.4s;
}
.global-nav.active {
    right: 0;
}
.global-nav ul {
    list-style: none;
}
.global-nav li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 25px;
    transition: background-color 0.3s;
}
.global-nav li a:hover {
    background-color: #1b5e20;
}

/* Page Top Button */
.page-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    width: 50px;
    height: 50px;
    background-color: #2e7d32;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}
.page-top-button:hover {
    background-color: #1b5e20;
}

/* Image Slider */
.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
}
.slide img {
    width: 100%;
    display: block;
}
.slider .prev,
.slider .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}
.slider .prev {
    left: 0;
}

.slider .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.slider .prev:hover,
.slider .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* おすすめポイント */
.recommend-points {
    margin-top: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.recommend-points h4 {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 20px;
}
.points-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.point-tag {
    background-color: #e8f5e9;
    color: #1b5e20;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 広告バナー */
.promo-banner {
    background-color: #fffde7;
    border-top: 2px solid #ffc107;
    border-bottom: 2px solid #ffc107;
    padding: 15px 10px;
    text-align: center;
}
.promo-text {
    color: #FF0000;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.promo-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.promo-link:hover {
    text-decoration: underline;
}