/* 採用ページ専用CSS */
/* Version 2.65.0 - 2026-07-15 */
/* 地域別採用ページのレスポンシブ対応: 募集職種、1日の流れ、応募方法、アクセス */
/* 追加修正: 18:00横幅統一、応募アイコン最適化、アクセスセクション完全対応 */

.page-header {
    margin-top: 80px;
    background: linear-gradient(135deg, #2C7A7B 0%, #1a5f61 100%);
    color: #ffffff;
    text-align: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2C7A7B 0%, #4FD1C5 50%, #F6AD55 100%);
    opacity: 0.8;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.page-header p {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.95;
    letter-spacing: 0.1em;
    margin: 0;
}

.page-header .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    margin: 0;
}

/* メッセージセクション */
.recruit-message {
    text-align: center;
}

.message-content {
    max-width: 800px;
    margin: 40px auto 0;
    line-height: 2;
    color: #666666;
}

.message-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* 職種選択ボタン */
.job-category-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.job-category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 30px 40px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #4FD1C5;
    border-radius: 12px;
    text-decoration: none;
    color: #2C7A7B;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 122, 123, 0.2);
}

.job-category-btn i {
    font-size: 2.5rem;
    color: #F6AD55;
    margin-bottom: 15px;
}

.job-category-btn span {
    display: block;
}

.job-category-btn:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #F6AD55 0%, #FBD38D 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(246, 173, 85, 0.4);
}

.job-category-btn:hover i {
    color: #ffffff;
}

/* 募集職種 */
.job-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 140px; /* ヘッダー分のマージン */
}

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

.job-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
}

.job-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2C7A7B, #4FD1C5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.job-title-area h3 {
    font-size: 1.8rem;
    color: #2C7A7B;
    margin-bottom: 8px;
}

.job-type {
    color: #666666;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
}

.job-body {
    padding: 20px 0;
}

.job-section {
    margin-bottom: 30px;
}

.job-section h4 {
    color: #2C7A7B;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #333333;
    line-height: 1.7;
}

.job-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4FD1C5;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 詳細情報 */
.job-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.detail-label {
    font-weight: 600;
    color: #2C7A7B;
    min-width: 120px;
    flex-shrink: 0;
}

.detail-value {
    color: #333333;
    line-height: 1.7;
}

/* 福利厚生 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.benefit-item {
    background: #ffffff;
    padding: 35px 25px 45px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2C7A7B, #4FD1C5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.benefit-item h4 {
    color: #2C7A7B;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: #666666;
    line-height: 1.8;
}

/* 応募方法 */
.application-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.application-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2C7A7B, #4FD1C5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.app-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.application-card h3 {
    color: #2C7A7B;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.application-card p {
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.phone-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: #2C7A7B;
    color: #ffffff;
    transform: translateX(5px);
}

.phone-link span {
    color: #666666;
    font-size: 0.9rem;
}

.phone-link:hover span {
    color: #ffffff;
}

.phone-link strong {
    color: #2C7A7B;
    font-size: 1.2rem;
}

.phone-link:hover strong {
    color: #ffffff;
}

.phone-note {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 15px;
}

/* 応募の流れ */
.application-note {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.application-note h4 {
    color: #2C7A7B;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.application-note ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.application-note ol li {
    padding: 10px 0;
    color: #333333;
    line-height: 1.7;
}

.note-text {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* モバイル固定応募ボタン */
.mobile-apply-btn {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 997; /* scroll-to-topより下に */
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.mobile-apply-btn.show {
    opacity: 1;
    transform: translateX(0);
}

.mobile-apply-btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F6AD55 0%, #FBD38D 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(246, 173, 85, 0.5);
    transition: all 0.3s ease;
}

.mobile-apply-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(246, 173, 85, 0.7);
}

.mobile-apply-btn i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.mobile-apply-btn span {
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* レスポンシブ */
@media (max-width: 968px) {
    .job-header {
        flex-direction: column;
        text-align: center;
    }
    
    .job-icon {
        width: 70px;
        height: 70px;
    }
    
    .job-icon i {
        font-size: 2rem;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .application-methods {
        grid-template-columns: 1fr;
    }
    
    /* インラインスタイルの上書き */
    div[style*="display: flex"][style*="gap: 30px"] {
        gap: 20px !important;
    }
    
    div[style*="max-width: 800px"] {
        padding: 0 20px !important;
    }
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 86px;
        height: 240px;
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .job-category-buttons {
        gap: 15px;
        margin: 30px 0 40px;
    }
    
    .job-category-btn {
        min-width: 140px;
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .job-category-btn i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .job-card {
        padding: 25px;
        scroll-margin-top: 100px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 40px;
    }
    
    .application-card {
        padding: 30px 20px;
    }
    
    /* モバイル固定応募ボタンを表示 */
    .mobile-apply-btn {
        display: block;
    }
    
    /* 1日の流れセクションのレスポンシブ対応 */
    .schedule-list > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .schedule-list > div[style*="display: flex"] > div[style*="width: 50px"] {
        width: 40px !important;
        height: 40px !important;
        align-self: flex-start !important;
    }
    
    .schedule-list > div[style*="display: flex"] > div[style*="width: 50px"] i {
        font-size: 18px !important;
    }
    
    .schedule-list > div[style*="display: flex"] > div[style*="flex: 1"] {
        padding: 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .schedule-list > div[style*="display: flex"] h4 {
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }
    
    .schedule-list > div[style*="display: flex"] p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* 応募方法セクションのレスポンシブ対応 */
    div[style*="display: grid"][style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* アクセスセクションのレスポンシブ対応 */
    div[style*="display: flex"][style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 24px !important;
    }
    
    /* アクセス情報カードのレスポンシブ */
    div[style*="display: flex"][style*="gap: 15px"] {
        gap: 12px !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] > div[style*="width: 40px"] {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] > div[style*="width: 40px"] i {
        font-size: 1rem !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"][style*="padding: 15px"] {
        padding: 12px !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* 駅アイコンのレスポンシブ */
    div[style*="width: 80px"][style*="height: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    div[style*="width: 80px"][style*="height: 80px"] i {
        font-size: 1.8rem !important;
    }
    
    /* Google Maps */
    div[style*="height: 300px"] {
        height: 250px !important;
    }
    
    /* 募集職種カードのレスポンシブ */
    .job-card div[style*="display: flex"][style*="gap: 20px"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .job-card div[style*="width: 80px"][style*="height: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    .job-card div[style*="width: 80px"][style*="height: 80px"] i {
        font-size: 2rem !important;
    }
    
    .job-card h3 {
        font-size: 1.5rem !important;
    }
    
    .job-card h4 {
        font-size: 1.1rem !important;
    }
    
    .job-card table {
        font-size: 0.95rem !important;
    }
    
    .job-card table td:first-child {
        width: 100px !important;
        font-size: 0.9rem !important;
    }
    
    /* 応募方法のカード */
    div[style*="padding: 40px"] {
        padding: 24px !important;
    }
    
    div[style*="padding: 35px"] {
        padding: 20px !important;
    }
    
    div[style*="padding: 30px"] {
        padding: 18px !important;
    }
    
    /* 応募方法のアイコン円形 */
    div[style*="width: 90px"][style*="height: 90px"] {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto 20px !important;
    }
    
    div[style*="width: 90px"][style*="height: 90px"] i {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .job-category-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .job-category-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .mobile-apply-btn {
        right: 15px;
        bottom: 95px;
        z-index: 996;
    }
    
    .mobile-apply-btn a {
        width: 65px;
        height: 65px;
    }
    
    /* 1日の流れ：さらに小さい画面用 */
    .schedule-list > div[style*="display: flex"] {
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    
    .schedule-list > div[style*="display: flex"] > div[style*="width: 50px"] {
        width: 36px !important;
        height: 36px !important;
    }
    
    .schedule-list > div[style*="display: flex"] > div[style*="width: 50px"] i {
        font-size: 16px !important;
    }
    
    .schedule-list > div[style*="display: flex"] > div[style*="flex: 1"] {
        padding: 14px !important;
    }
    
    .schedule-list > div[style*="display: flex"] h4 {
        font-size: 0.95rem !important;
    }
    
    .schedule-list > div[style*="display: flex"] p {
        font-size: 0.85rem !important;
    }
    
    /* セクションタイトル調整 */
    .section-title h2 {
        font-size: 1.6rem !important;
    }
    
    .section-title p {
        font-size: 0.95rem !important;
    }
    
    /* 駅アイコンをさらに小さく */
    div[style*="width: 80px"][style*="height: 80px"] {
        width: 50px !important;
        height: 50px !important;
    }
    
    div[style*="width: 80px"][style*="height: 80px"] i {
        font-size: 1.5rem !important;
    }
    
    /* パディング調整 */
    div[style*="padding: 25px"] {
        padding: 16px !important;
    }
    
    div[style*="padding: 40px"] {
        padding: 20px !important;
    }
    
    /* 応募方法のアイコンをさらに小さく */
    div[style*="width: 90px"][style*="height: 90px"] {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 16px !important;
    }
    
    div[style*="width: 90px"][style*="height: 90px"] i {
        font-size: 1.8rem !important;
    }
    
    /* アクセス情報カードをさらに小さく */
    div[style*="display: flex"][style*="gap: 15px"] > div[style*="width: 40px"] {
        width: 32px !important;
        height: 32px !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] > div[style*="width: 40px"] i {
        font-size: 0.9rem !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] {
        gap: 10px !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"][style*="padding: 15px"] {
        padding: 10px !important;
    }
    
    div[style*="display: flex"][style*="gap: 15px"] p {
        font-size: 0.85rem !important;
    }
    
    /* Google Maps高さ調整 */
    div[style*="height: 300px"] {
        height: 200px !important;
    }
    
    .mobile-apply-btn i {
        font-size: 1.3rem;
    }
    
    .mobile-apply-btn span {
        font-size: 0.6rem;
    }
}
