/* ========================================
 * 3. Front Page Styles (Fixed: Final CTA Title Break & Color)
 * ファイル: 03_front-page.css
 * Description: 末尾CTAの改行、文字サイズ、ボタン色を修正
 * ======================================== */

/* --- ユーティリティ & 共通設定 --- */
:root {
    --primary-color: #2D4A43;       /* 深緑 */
    --primary-dark: #1a2f2a;
    --secondary-color: #C0A375;     /* ゴールド */
    --text-main: #333333;           /* メインテキスト（黒） */
    --text-light: #666666;          /* サブテキスト（グレー） */
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* モバイル表示制御 */
.show-on-mobile { display: none !important; }
.hide-on-mobile { display: block !important; }
.mobile-br { display: none; }

@media (max-width: 991px) {
    .show-on-mobile { display: block !important; }
    .hide-on-mobile { display: none !important; }
}

@media (max-width: 768px) {
    .mobile-br { display: block; }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    min-height: 650px;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: -1px;
    color: var(--text-main);
    overflow: hidden;
}

/* オーバーレイ: 洗練された白ベース（透過度調整済み） */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 45%, 
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 1;
    backdrop-filter: blur(2px);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 左カラム：統計情報 (PCのみ) */
.hero-stats-col {
    flex: 0 0 280px;
    padding-right: 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.stat-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
    background: rgba(45, 74, 67, 0.08);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 2px;
    font-weight: 500;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-accent, sans-serif);
    color: var(--primary-color);
}

.stat-unit {
    font-size: 14px;
    font-weight: 500;
    margin-left: 4px;
    color: var(--text-main);
}

.stats-footnote {
    font-size: 11px;
    color: #6e6e6e;
    margin-top: 24px;
    line-height: 1.4;
}

/* 右カラム：メインコンテンツ */
.hero-main-col {
    flex: 1;
    padding-left: 80px;
}

.hero-title {
    margin-bottom: 32px;
    line-height: 1.4;
}

.hero-title-sub {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 20px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding-left: 60px;
}

.hero-title-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45px;
    height: 1px;
    background-color: var(--secondary-color);
}

.hero-title-main {
    display: block;
    font-size: clamp(24px, 5vw, 60px); 
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: keep-all; 
    overflow-wrap: break-word;
}

.title-line {
    display: inline-block;
}

.hero-catchphrase {
    font-size: 18px;
    margin-bottom: 48px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-footnote {
    font-size: 12px;
    margin-bottom: 20px;
    color: #6e6e6e;
}

/* 書類添削・面接対策のサポート訴求（CTA直上） */
.hero-support-note {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-support-note strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-support-note {
        font-size: 13px;
        text-align: center;
    }
}

/* CTAボタン */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 18px 48px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(45, 74, 67, 0.25);
}

.btn-hero-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(45, 74, 67, 0.35);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid #d0d0d0;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* お問い合わせ情報 */
.hero-contact-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    width: fit-content;
}

.contact-label {
    font-size: 13px;
    color: #6e6e6e;
    font-weight: 500;
}

.contact-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: var(--font-accent, sans-serif);
    transition: color 0.3s;
}

.contact-number:hover {
    color: var(--primary-color);
}

/* ========================================
   Trust Bar Section
   ======================================== */
.hero-trust-bar {
    background-color: var(--white);
    padding: 80px 0;
    border-bottom: 1px solid var(--bg-light);
}

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

.trust-item {
    text-align: center;
    padding: 0 20px;
}

.trust-item .trust-icon {
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-flex;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: translateY(-5px);
}

.trust-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Jobs Section (Slider & Card Styles)
   ======================================== */
.jobs-section {
    background-color: var(--bg-light);
    padding: 120px 0;
    overflow: hidden;
}

/* スライダー全体のラッパー */
.jobs-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 60px;
    padding: 20px 0;
}

/* スクロール領域 */
.jobs-slider-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.jobs-slider-track::-webkit-scrollbar {
    display: none;
}

/* 各カードアイテム */
.jobs-slider-item {
    flex: 0 0 340px;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

/* Job Card */
.jobs-section .job-card {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid transparent !important;
    position: relative !important;
    min-height: 380px !important;
}

.jobs-section .job-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(45, 74, 67, 0.15) !important;
    border-color: var(--secondary-color) !important;
}

.jobs-section .job-card-header {
    padding: 24px 24px 16px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    background-color: #fff !important;
}

.jobs-section .job-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.5 !important;
    transition: color 0.3s !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 3em !important;
}

.jobs-section .job-card:hover .job-card-title {
    color: var(--primary-color) !important;
}

.jobs-section .job-card-company {
    font-size: 13px !important;
    color: #6e6e6e !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.jobs-section .job-card-company::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.jobs-section .job-card-meta {
    padding: 12px 24px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    background-color: #fff !important;
    min-height: 44px;
}

.jobs-section .job-meta-badge {
    display: inline-block !important;
    padding: 4px 10px !important;
    background: #f0f4f3 !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    color: var(--text-light) !important;
    font-weight: 500 !important;
    border: 1px solid #e0e6e4 !important;
}

.jobs-section .job-card-body {
    padding: 16px 24px 24px !important;
    flex-grow: 1 !important;
    background-color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.jobs-section .job-card-summary {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 0 !important;
}

.jobs-section .job-summary-item {
    font-size: 13px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px dashed #eee !important;
    padding-bottom: 8px !important;
}

.jobs-section .job-summary-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.jobs-section .job-summary-label {
    color: #6e6e6e !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.jobs-section .job-summary-value {
    color: var(--text-main) !important;
    font-weight: 600 !important;
    text-align: right !important;
}

.jobs-section .job-card-footer {
    padding: 12px 24px !important;
    border-top: 1px solid #f5f5f5 !important;
    background: #fafafa !important;
    text-align: right !important;
}

.jobs-section .job-card-date {
    font-size: 11px !important;
    color: #6e6e6e !important;
    margin: 0 !important;
}

/* ========================================
   Job Card C (Pattern C Style - Front Page)
   ======================================== */
.job-card-c {
    display: block;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.job-card-c:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(45, 74, 67, 0.15);
    border-color: var(--secondary-color);
}

.job-card-c .card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
    color: #6e6e6e;
}

.job-card-c .job-id {
    font-weight: 600;
    color: var(--secondary-dark);
    letter-spacing: 0.05em;
}

.job-card-c .job-date {
    color: #6e6e6e;
}

.job-card-c .card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    transition: color 0.3s;
}

.job-card-c:hover .card-title {
    color: var(--primary-color);
}

.job-card-c .card-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    font-size: 13px;
}

.job-card-c .info-label {
    color: #6e6e6e;
    font-weight: 500;
}

.job-card-c .info-val {
    color: var(--text-main);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-card-c .salary-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* フェードマスク */
.slider-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.mask-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.mask-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.jobs-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-outline-primary {
    display: inline-block;
    padding: 16px 60px;
    border: 1px solid #d0d0d0;
    color: var(--text-main);
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    background: var(--white);
}

.btn-outline-primary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.no-jobs-message {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    color: var(--text-light);
    box-shadow: var(--shadow-soft);
}

/* ========================================
   Services Section (Clean Look)
   ======================================== */
.services-section {
    padding: 120px 0;
    background-color: var(--white);
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 100px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-text {
    flex: 1;
}

.service-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

/* タイトル下線：ゴールドで細く */
.service-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.service-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 40px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0A375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ========================================
   Positions Section
   ======================================== */
.positions-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.positions-wrapper {
    background: var(--white);
    padding: 80px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.positions-category {
    margin-bottom: 60px;
}

.positions-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: var(--secondary-color);
    margin-right: 16px;
}

.positions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.positions-list li {
    font-size: 14px;
    background-color: var(--white); 
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid #eee;
    font-weight: 500;
}

.positions-list li:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(45, 74, 67, 0.05);
}

/* ========================================
   Case Studies Section
   ======================================== */
.case-studies-section {
    padding: 120px 0;
    background-color: var(--white);
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.case-study-card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-study-header {
    margin-bottom: 24px;
    text-align: center;
}

.case-job-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 18px;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.case-study-salary-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.salary-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.1em;
}

.salary-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

.salary-before {
    font-size: 16px;
    color: #6e6e6e;
    text-decoration: line-through;
}

.salary-arrow {
    font-size: 16px;
    /* 転職前→後を示す矢印。#ccc は白地で 1.6:1 とほぼ見えず意味が伝わらない */
    color: var(--text-muted, #5f5f5f);
}

.salary-after {
    font-size: 24px;
    color: var(--primary-color);
}

.case-study-summary {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* ========================================
   Flow Section (Minimal & Clean)
   ======================================== */
.flow-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.flow-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* タイムラインの縦線 */
.flow-timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 40px;
    bottom: 40px;
    width: 1px;
    background-color: #ddd;
    z-index: 0;
}

.flow-step {
    position: relative;
    display: flex;
    gap: 60px;
    margin-bottom: 64px;
    z-index: 1;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-icon-box {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.step-label {
    font-size: 10px;
    font-weight: 700;
    color: #6e6e6e;
    margin-bottom: 2px;
}

.step-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-accent, sans-serif);
}

.flow-content {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

/* 左側のアクセントライン */
.flow-content::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 4px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 0 4px 4px 0;
}

.flow-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.flow-content p {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    color: var(--text-light);
}

/* ========================================
   Expert Column Section (Front Page)
   ======================================== */
.expert-column-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.column-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.column-card-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

.column-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(45, 74, 67, 0.15);
    border-color: var(--secondary-color);
}

.column-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-card-content {
    position: relative;
    padding: 28px 28px 28px 32px;
}

/* 画像を持たないテキスト主体カードのため、左に細いアクセントバーで存在感を出す */
.column-card-content::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--secondary-color);
}

.column-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.column-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.column-card-item:hover .column-card-title {
    color: var(--primary-color);
}

.column-card-date {
    font-size: 12px;
    color: #6e6e6e;
    font-family: var(--font-accent, sans-serif);
}

.column-cta {
    text-align: center;
}

.no-column-message {
    text-align: center;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 15px;
    border: 1px dashed #ddd;
}

/* Expert Column Responsive */
@media (max-width: 991px) {
    .expert-column-section {
        padding: 80px 0;
    }

    .column-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .expert-column-section {
        padding: 60px 0;
    }

    .column-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .column-card-content {
        padding: 20px;
    }

    .column-card-title {
        font-size: 15px;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    background-color: var(--white);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 30px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.q-text {
    font-size: 16px;
    font-weight: 700;
    padding-right: 30px;
    line-height: 1.6;
    color: var(--text-main);
}

.toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.toggle-icon::before { width: 16px; height: 1px; }
.toggle-icon::after { width: 1px; height: 16px; }

.faq-question.active .toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer-inner {
    padding: 0 0 30px;
    font-size: 15px;
    line-height: 2;
    color: var(--text-light);
}

/* ========================================
   Final CTA Section (Corporate-LP Color)
   ======================================== */
.final-cta-section {
    padding: 120px 0;
    background-color: var(--bg-light); /* 背景を明るく */
    text-align: center;
    color: var(--text-main); /* テキスト色を暗く */
}

.final-cta-section .section-title {
    color: var(--primary-color); /* タイトルを深緑に */
    margin-bottom: 24px;
    font-size: 32px; /* 文字サイズを少し小さく調整 */
}

.final-cta-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 56px;
    color: var(--text-light);
}

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

.final-cta-section .btn-large {
    padding: 20px 60px;
    font-size: 18px;
    border-radius: 4px;
}

/* ボタン色反転 (背景が明るいため) */
.final-cta-section .btn-hero-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 30px rgba(45, 74, 67, 0.2);
}

.final-cta-section .btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.final-cta-section .btn-hero-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.final-cta-section .btn-hero-secondary:hover {
    background: rgba(45, 74, 67, 0.05);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content-wrapper {
        flex-direction: column;
    }

    .hero-stats-col {
        display: none;
    }

    .hero-main-col {
        padding-left: 0;
    }

    .hero-title-sub {
        display: inline-block;
        margin-bottom: 16px;
        padding-left: 0;
    }
    
    .hero-title-sub::before { display: none; }

    .hero-cta-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .btn-hero-primary, 
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-contact-info {
        margin: 0 auto;
        border-top: none;
        flex-direction: column;
        gap: 4px;
    }

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

    .service-item,
    .service-item.reverse {
        flex-direction: column;
        gap: 24px;
        text-align: left;
    }

    .service-item .service-text {
        order: -1;
    }

    .service-image {
        width: 100%;
    }

    .flow-timeline::before {
        left: 20px;
    }

    .flow-icon-box {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .step-label { display: none; }
    .step-num { font-size: 16px; }

    .flow-step {
        gap: 20px;
    }
    
    .flow-content {
        padding: 24px;
    }
    
    /* Jobs Slider (Mobile) */
    .jobs-slider-item {
        flex: 0 0 85%; /* スマホでは画面幅の85% */
        max-width: 320px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .hero-title-main {
        font-size: 28px;
    }

    .positions-wrapper {
        padding: 30px 20px;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-section .btn-large {
        width: 100%;
        max-width: 320px;
    }
    
    /* 非常に小さい画面用 */
    @media (max-width: 480px) {
        .hero-title-main {
            font-size: 24px; /* 改行崩れ防止のための最小サイズ */
        }
    }
}

/* ========================================
   Catchphrase with Award Badge (Hero Section)
   ======================================== */
.hero-catchphrase-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.hero-catchphrase {
    margin: 0 !important;
    flex-shrink: 0;
}

.hero-award-badge {
    width: 180px;
    flex-shrink: 0;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.hero-award-badge img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.hero-award-badge:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* タブレット */
@media (max-width: 991px) {
    .hero-catchphrase-wrapper {
        gap: 20px;
    }

    .hero-award-badge {
        width: 150px;
    }
}

/* モバイル */
@media (max-width: 768px) {
    .hero-catchphrase-wrapper {
        flex-direction: column;
        align-items: center; /* 中央揃えに変更 */
        gap: 16px;
    }

    .hero-award-badge {
        width: 160px;
    }
}

/* 非常に小さい画面 */
@media (max-width: 480px) {
    .hero-award-badge {
        width: 140px;
    }
}

/* モバイル下部固定CTAバーのスタイルは 02_layout.css に集約（全ページ共通） */

/* ========================================
 * セクションCTA（対応職種・成功事例セクション下）
 * ======================================== */
.section-cta {
    margin-top: 48px;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(45, 74, 67, 0.04) 0%, rgba(192, 163, 117, 0.06) 100%);
    border-radius: 12px;
    border: 1px solid rgba(192, 163, 117, 0.18);
}

.section-cta-lead {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.7;
}

.btn-section-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    padding: 16px 32px;
    background-color: var(--secondary-dark);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(138, 109, 59, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-section-cta:hover,
.btn-section-cta:focus {
    background-color: #75612f;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(192, 163, 117, 0.45);
    color: #fff;
}

.btn-section-cta .arrow-icon {
    transition: transform 0.25s ease;
}

.btn-section-cta:hover .arrow-icon {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .section-cta {
        padding: 24px 16px;
        margin-top: 32px;
    }
    .section-cta-lead {
        font-size: 14px;
    }
    .btn-section-cta {
        min-width: 0;
        width: 100%;
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* ========================================
 * Corporate Services Branch (企業向け：2サービス分岐)
 * ======================================== */
.corp-services-section {
    background: var(--bg-primary);
}

.corp-services-branch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.corp-service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid #e7e2d8;
    border-top: 4px solid var(--primary-color);
    border-radius: 14px;
    padding: 38px 34px 34px;
    box-shadow: 0 6px 24px rgba(45, 74, 67, 0.06);
    transition: var(--transition-base);
}

/* 採用代行カードはゴールドのアクセントで分岐を視覚的に区別 */
.corp-service-card.corp-service-rpo {
    border-top-color: var(--secondary-color);
}

.corp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(45, 74, 67, 0.13);
}

.corp-service-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    background: var(--bg-light);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 22px;
}

.corp-service-rpo .corp-service-label {
    color: var(--secondary-dark);
}

.corp-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--bg-light);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.corp-service-rpo .corp-service-icon {
    color: var(--secondary-dark);
}

.corp-service-title {
    font-size: 23px;
    margin: 0 0 12px;
    color: var(--primary-color);
}

.corp-service-desc {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.corp-service-points {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1 1 auto;
}

.corp-service-points li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-color);
    border-bottom: 1px solid #f0ece3;
}

.corp-service-points li:last-child {
    border-bottom: none;
}

.corp-service-points li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 1.05em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.corp-service-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.corp-service-rpo .corp-service-link {
    color: var(--secondary-dark);
}

.corp-service-link .arrow {
    transition: transform 0.2s ease;
}

.corp-service-card:hover .corp-service-link .arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .corp-services-branch {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .corp-service-card {
        padding: 30px 24px 28px;
    }

    .corp-service-title {
        font-size: 21px;
    }
}

/* 業界別の入口（企業向けサービス2枚の直下）。カードを増やさず1行の導線で足す */
.corp-services-industries {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 24px;
    margin: 32px 0 0;
}

.corp-services-industries-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--secondary-dark);
}

.corp-services-industries a {
    position: relative;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.corp-services-industries a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    border-bottom: 1px solid #d9e1dd;
    transition: border-color 0.25s ease;
}

.corp-services-industries a:hover::after,
.corp-services-industries a:focus::after {
    border-color: var(--secondary-color);
}

/* --- 企業求人（企業名公開）ピックアップ --- */
.front-openjobs-section {
  background: var(--bg-secondary);
}
.front-openjobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.front-openjob-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 24px 22px;
  color: inherit;
  transition: var(--transition-base);
}
.front-openjob-card:hover {
  border-color: var(--secondary-light);
  box-shadow: 0 12px 28px var(--shadow-hover);
  transform: translateY(-3px);
}
.front-openjob-company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.front-openjob-company::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--secondary-color);
}
.front-openjob-title {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary-color);
}
.front-openjob-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.front-openjob-salary { font-weight: 700; color: var(--secondary-dark); }

@media (max-width: 900px) {
  .front-openjobs-grid { grid-template-columns: 1fr; }
}
