/* 採用情報ページ専用CSS - 堂島フロント企画 */
/* style.cssの後に読み込まれる採用ページ専用スタイル */

:root {
  /* カラーパレット - 企業サイトと統一 */
  --primary-gold: #b8860b;
  --secondary-gold: #8b6914;
  --accent-gold: #d4af37;
  --text-white: #2c2c2c;
  --text-gray: #555;
}

/* 基本設定 - グローバルリセットは削除（style.cssで定義済み） */
body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    background: #f8f8f8;
    color: #2a2a2a;
    overflow-x: hidden;
}

/* モバイルメニューのbox-sizing修正 */
.mobile-menu,
.mobile-menu *,
.mobile-menu-nav,
.mobile-menu-link {
    box-sizing: border-box !important;
}

/* 採用ページ専用のcontainerクラス（ヘッダーには影響しない） */
main .container,
footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダーは navigation.css と style.css から継承 */

/* ヒーローセクション */
.hero {
    background: #f8f9fa;
    text-align: center;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    /* コンパクトな高さに調整 */
    min-height: 400px !important; /* デスクトップ：コンパクトサイズ */
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem 1rem !important; /* 最小パディング確保 */
    margin-top: 80px !important; /* デスクトップ：固定ヘッダー分のマージン */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2rem;  /* 2.4rem → 2rem */
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;  /* 20px → 15px */
    line-height: 1.3;
}

.hero p {
    font-size: 1rem;  /* 1.1rem → 1rem */
    color: #343a40 !important;  /* コントラスト改善: #6c757d → より濃いグレー */
    max-width: 600px;
    margin: 0 auto 20px;  /* 30px → 20px */
    line-height: 1.6;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}



/* 募集職種セクション */
.positions {
    padding: 60px 0;
    background: #ffffff;
}


.positions h2 {
    text-align: center;
    font-size: 2rem;
    color: #495057;
    margin-bottom: 50px;
    font-weight: 600;
}

.positions-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 60px;
    font-style: italic;
}


.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.position-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(212, 175, 55, 0.15);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.position-card:hover::before {
    left: 100%;
}

.position-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25), 
                0 10px 20px rgba(0, 0, 0, 0.4);
}


.position-card h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.position-card p {
    color: #555555;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.salary {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

/* カードオーバーレイ */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.position-card:hover .card-overlay {
    opacity: 1;
}

/* 職種カードグリッド */
.position-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.position-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.position-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #8b7355;
}

.position-card h3 {
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.position-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.position-card .position-type {
    background: #8b7355;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
}

.salary-range {
    background: #f8f9fa;
    color: #495057;
    font-size: 1em;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.click-hint {
    background: #8b7355;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.position-card:hover .click-hint {
    background: #6d5a43;
    transform: scale(1.05);
}

/* 職種詳細セクション */
.position-details-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #8b7355;
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.position-details-section h3 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
}

.position-detail-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 35px;
}

/* コンパクト詳細セクション */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #8b7355;
}

.detail-header h4 {
    font-size: 1.5em;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.detail-header .position-type {
    background: #8b7355;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.salary-compact {
    background: #f8f9fa;
    color: #495057;
    font-size: 0.9em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.detail-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item-compact {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.detail-item-compact h5 {
    color: #8b7355;
    font-size: 1em;
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-item-compact p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9em;
}

/* 職種詳細カード（レガシー） */
.position-detail-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.position-header {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.position-header h3 {
    font-size: 1.3rem;
    color: #495057;
    margin: 0;
    font-weight: 600;
}

.salary-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.hourly-rate {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.monthly-estimate {
    font-size: 0.85rem;
    color: #6c757d;
}

.position-content {
    padding: 30px;
}

.position-description {
    margin-bottom: 30px;
}

.position-description p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

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

.duties, .requirements {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.duties h4, .requirements h4 {
    font-size: 1rem;
    color: #495057;
    margin: 0 0 15px 0;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.duties ul, .requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.duties li, .requirements li {
    padding: 6px 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.duties li::before, .requirements li::before {
    content: '•';
    color: #adb5bd;
    position: absolute;
    left: 0;
    top: 6px;
}



/* 選考順序セクション */
.selection-process {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}


.selection-process h2 {
    text-align: center;
    font-size: 2rem;
    color: #495057;
    margin-bottom: 20px;
    font-weight: 600;
}


.process-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 40px;
    font-weight: 400;
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    max-width: 300px;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #495057;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}


.process-step h3 {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-description {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.step-time {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.process-arrow {
    font-size: 1.5rem;
    color: #adb5bd;
    align-self: center;
    font-weight: normal;
}





.highlight-box h4 {
    color: #2a2a2a;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight-box p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(255, 215, 0, 0.08));
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
}

.process-cta p {
    font-size: 1.2rem;
    color: #2a2a2a;
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e6c547, var(--primary-gold));
}

/* 応募フォームセクション */
.application-form {
    padding: 100px 0;
    background: linear-gradient(
        180deg, 
        #f8f8f8 0%, 
        #ffffff 30%, 
        #f0f0f0 70%,
        #e8e8e8 100%
    );
    position: relative;
}

.application-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.application-form h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 60px;
    position: relative;
}

.application-form h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold), var(--primary-gold));
}

#recruitForm {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    color: #2a2a2a;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    accent-color: var(--accent-gold);
    transform: scale(1.2);
}

.privacy-policy {
    border-top: 2px solid #333;
    padding-top: 20px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e6c547, var(--primary-gold));
}

/* フッター */
footer {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(40, 40, 40, 0.9) 100%);
    padding: 4rem 2rem 2rem;
    position: relative;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.company-info h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.company-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 800px;
    }
    
}

/* レスポンシブデザイン - 新レイアウト対応 */
@media (max-width: 768px) {
    .position-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 350px;
    }
    
    .position-card {
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .position-card h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .position-info {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .click-hint {
        padding: 6px 14px;
        font-size: 0.8em;
    }
    
    .detail-grid-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .position-detail-section {
        padding: 20px 15px;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .detail-header h4 {
        font-size: 1.3em;
    }
    
    .header-info {
        align-items: flex-start;
        gap: 8px;
    }
    
    .detail-item-compact {
        padding: 12px;
    }
    
    .detail-section-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .back-to-positions {
        padding: 8px 16px;
        font-size: 0.85em;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    header nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        min-height: 350px !important; /* タブレット：コンパクトサイズ */
        padding: 1.5rem 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 70px !important; /* タブレット：固定ヘッダー分のマージン */
    }

    .hero h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        color: #343a40 !important;  /* コントラスト改善 */
        line-height: 1.7 !important;
        margin-bottom: 0 !important;
    }

    .hero-highlights {
        gap: 20px;
        margin-top: 25px;
    }

    .highlight-item {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    .positions,
    .selection-process,
    .application-form {
        padding: 60px 0;
    }
    
    .positions h2,
    .selection-process h2,
    .application-form h2 {
        font-size: 2rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .process-step {
        max-width: none;
        min-width: auto;
        width: 100%;
    }

    .process-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }


    .process-cta {
        padding: 30px 20px;
    }

    .process-cta p {
        font-size: 1.1rem;
    }
    
    .positions-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
    }
    
    .position-card {
        padding: 30px 20px;
    }
    
    .tap-hint {
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
    
    .position-detail h4 {
        font-size: 1.1rem;
    }
    
    .salary-highlight {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    
    #recruitForm {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 300px !important; /* モバイル：コンパクトサイズ */
        padding: 1rem 0.75rem !important;
        margin-top: 70px !important; /* モバイル：固定ヘッダー分のマージン */
    }

    .hero h2 {
        font-size: 1.6rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero p {
        font-size: 0.9rem !important;
        color: #343a40 !important;  /* コントラスト改善 */
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .hero-highlights {
        gap: 15px;
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    .highlight-item {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .positions h2,
    .selection-process h2,
    .application-form h2 {
        font-size: 1.8rem;
    }

    .process-cta {
        padding: 25px 15px;
    }

    .process-cta p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .process-step {
        padding: 30px 20px;
    }

    .step-icon {
        font-size: 2.5rem;
    }
    
    .position-card {
        padding: 25px 15px;
    }
    
    .position-card h3 {
        font-size: 1.3rem;
    }
    
    
    #recruitForm {
        padding: 20px 15px;
    }
    
    .qualifications {
        flex-direction: column;
        gap: 10px;
    }
    
    .qualification-tag {
        text-align: center;
    }
}

/* ========================================
   ヘッダー調整（採用ページ専用）
   ======================================== */

/* モバイル・タブレットでのヘッダー修正 */
header nav {
    justify-content: space-between !important;
}

@media (max-width: 1023px) {
    header nav {
        justify-content: space-between !important;
    }
}

/* ========================================
   先達詳細セクション内リンクボックス
   ======================================== */

.detail-link-box {
    margin-top: 20px;
    padding: 22px;
    background: #fffbf5;
    border: 1px solid #e8d5b7;
    border-left: 5px solid var(--primary-gold);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.08);
    transition: all 0.3s;
}

.detail-link-box:hover {
    border-left-width: 7px;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
    transform: translateX(3px);
}

.detail-link-box p {
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.detail-link-arrow {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.2s, color 0.2s;
}

.detail-link-arrow:hover {
    color: var(--secondary-gold);
    transform: translateX(4px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .detail-link-box {
        padding: 18px;
    }

    .detail-link-box p {
        font-size: 0.85rem;
    }
}