/*
Theme Name: recruit-operation.jp
Theme URI: https://recruit-operation.jp
Author: recruit-operation.jp
Description: 求人AI自動リライト＆承認管理システム 採用サイト用カスタムテーマ
Version: 1.0
Text Domain: chiba-kogyo-theme
*/

/* ==========================================================================
   有限会社千葉工業 採用特設サイト スタイルシート
   コンセプトカラー：紺色（Navy Blue）を基調とした信頼感と力強さのあるデザイン
   ========================================================================== */

/* CSS Reset & Variables */
:root {
    --navy-dark: #0a192f;
    --navy-main: #0f2347;
    --navy-light: #1b365d;
    --navy-accent: #254b7c;
    --accent-gold: #e6a100;
    --accent-gold-hover: #d49200;
    --accent-gold-light: #fff8e6;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 2px 4px rgba(10, 25, 47, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 25, 47, 0.08);
    --shadow-lg: 0 10px 25px rgba(10, 25, 47, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* ヘッダーがsticky（常に上部固定）のため、アンカーリンクの飛び先がヘッダーの下に隠れてしまう。
   id付き要素すべてに、その分の余白（スクロールマージン）を確保しておく。 */
[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 768px) {
    [id] {
        scroll-margin-top: 75px;
    }
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-navy {
    background-color: var(--navy-dark);
}

.text-white {
    color: #ffffff !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--accent-gold);
}

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

.brand-logo {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    font-weight: 500;
}

.logo-main {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.main-nav a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--accent-gold);
    color: var(--navy-dark) !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(230, 161, 0, 0.4);
}

.nav-btn:hover {
    background-color: #ffffff;
    color: var(--navy-dark) !important;
    transform: translateY(-2px);
}

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

.hamburger-menu span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1504917599217-d4dc5ebe6122?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.88) 0%, rgba(15, 35, 71, 0.82) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(230, 161, 0, 0.25);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.hero-title .highlight {
    color: var(--accent-gold);
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #f1f5f9;
    margin-bottom: 45px;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(230, 161, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 161, 0, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--navy-dark);
    transform: translateY(-3px);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--navy-dark);
    font-size: 1.1rem;
    padding: 16px 30px;
}

.btn-gold:hover {
    background-color: #ffffff;
    color: var(--navy-dark);
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

/* Quick Info Bar */
.quick-info-bar {
    background-color: var(--navy-main);
    color: #ffffff;
    border-bottom: 3px solid var(--accent-gold);
    padding: 25px 0;
}

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

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.info-item:last-child {
    border-right: none;
}

.info-item i {
    font-size: 2.2rem;
    color: var(--accent-gold);
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text .label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.info-text .value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
}

.info-text .value small {
    font-size: 0.9rem;
    font-weight: 500;
}


/* Section 1: Business & Strengths */
.about-overview {
    margin-bottom: 60px;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-box {
    padding: 40px;
}

.about-text-box h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.about-text-box p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.strength-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 4px solid var(--navy-main);
    transition: var(--transition);
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-gold);
}

.card-num {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(10, 25, 47, 0.08);
}

.card-icon {
    width: 65px;
    height: 65px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--navy-main);
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
}

.strength-card h3 {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.strength-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Section 2: Recruit Requirements */
.recruit-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.recruit-header {
    background-color: var(--navy-main);
    color: #ffffff;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid var(--accent-gold);
}

.badge-status {
    background-color: var(--accent-gold);
    color: var(--navy-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
}

.recruit-job-title {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Table Style for Indeed Scraper & Semantic HTML */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
    padding: 22px 30px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.recruit-table th {
    width: 22%;
    background-color: #f1f5f9;
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid var(--border-color);
}

.recruit-table td {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.recruit-table tr:last-child th,
.recruit-table tr:last-child td {
    border-bottom: none;
}

.salary-highlight {
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.salary-highlight strong {
    font-size: 1.5rem;
    color: #d97706;
}

.note {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 5px 0;
}

.list-styled {
    margin: 10px 0;
    padding-left: 20px;
}

    /* Section 3: Company Profile */
    .info-table {
        width: 100%;
        border-collapse: collapse;
        background: var(--bg-white);
        box-shadow: var(--shadow-sm);
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border-color);
    }

    .info-table th,
    .info-table td {
        padding: 18px 25px;
        border-bottom: 1px solid var(--border-color);
        font-size: 0.95rem;
    }

    .info-table th {
        width: 30%;
        background-color: var(--navy-main);
        color: #ffffff;
        font-weight: 700;
        text-align: left;
        vertical-align: top;
    }

    .info-table td {
        color: var(--text-primary);
        line-height: 1.7;
    }

    .info-table tr:last-child th,
    .info-table tr:last-child td {
        border-bottom: none;
    }

    .company-map-box {
        height: 100%;
    }

    .map-placeholder {
        background: var(--navy-dark);
        color: #ffffff;
        padding: 35px;
        border-radius: var(--radius);
        text-align: center;
        box-shadow: var(--shadow-md);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .map-icon {
        font-size: 2.5rem;
        color: var(--accent-gold);
        margin-bottom: 15px;
    }

    .map-placeholder h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .map-address {
        font-size: 1rem;
        margin-bottom: 5px;
        color: #cbd5e1;
    }

    .map-sub {
        color: var(--accent-gold);
        margin-bottom: 20px;
    }

    .map-img {
        border-radius: var(--radius);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }

    /* Section 4: Entry Form & Contact */
    .entry-wrapper {
        align-items: flex-start;
    }

    .tel-entry-box {
        background: rgba(255, 255, 255, 0.05);
        padding: 40px;
        border-radius: var(--radius);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tel-entry-box h3 {
        font-size: 1.4rem;
        color: #ffffff;
        margin-bottom: 15px;
    }

    .tel-entry-box p {
        color: #cbd5e1;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .tel-number {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--accent-gold);
        background: rgba(230, 161, 0, 0.1);
        padding: 12px 25px;
        border-radius: 50px;
        border: 1px solid var(--accent-gold);
        margin-bottom: 10px;
        transition: var(--transition);
    }

    .tel-number:hover {
        background: var(--accent-gold);
        color: var(--navy-dark);
    }

    .tel-hours {
        font-size: 0.85rem;
        color: var(--text-light);
    }

    .flow-box {
        margin-top: 35px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .flow-box h4 {
        font-size: 1.1rem;
        color: #ffffff;
        margin-bottom: 20px;
    }


    /* Entry Form */
    .form-box {
        background: var(--bg-white);
        padding: 40px;
        border-radius: var(--radius);
        color: var(--text-primary);
        box-shadow: var(--shadow-lg);
    }

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

    .grid-2col-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .form-group label {
        display: block;
        font-weight: 700;
        font-size: 0.9rem;
        margin-bottom: 8px;
        color: var(--navy-dark);
    }

    .required {
        color: #ef4444;
        font-size: 0.85rem;
        font-weight: 600;
        margin-left: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        font-family: inherit;
        font-size: 0.95rem;
        transition: var(--transition);
        background-color: #f9fafb;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--navy-main);
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(15, 35, 71, 0.1);
    }

    .form-privacy {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;
        font-size: 0.9rem;
    }

    .form-privacy input {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    /* Footer */
    .site-footer {
        background-color: #0f2347; /* ヘッダーと同じダークネイビー */
        color: #ffffff;
        padding-top: 60px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-logo {
        display: block;
        font-size: 1.3rem;
        font-weight: 900;
        color: #ffffff;
        margin-bottom: 12px;
    }

    .footer-info p {
        font-size: 0.88rem;
        margin-bottom: 4px;
        color: #f8fafc; /* 読みやすい明るいカラー */
    }

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

    .footer-links a {
        color: #ffffff; /* リンク文字も白色 */
        font-size: 0.9rem;
        transition: opacity 0.2s ease;
    }

    .footer-links a:hover {
        opacity: 0.75; /* ホバー時に少し透明度が変わる見やすいスタイル */
        color: #ffffff;
    }

    .footer-copyright {
        padding: 24px 0;
        text-align: center;
        font-size: 0.82rem;
        color: #cbd5e1;
    }

    .footer-legal-links {
        margin-top: 10px !important;
        margin-bottom: 0;
    }

    .footer-legal-links a {
        color: #94a3b8;
        font-size: 0.78rem;
        text-decoration: underline;
        transition: color 0.2s ease;
    }

    .footer-legal-links a:hover {
        color: #ffffff;
    }

    .footer-legal-sep {
        color: #475569;
        margin: 0 10px;
        font-size: 0.78rem;
    }

    /* ==========================================================================
   画像1再現：TOPページ求人カードスタイル (Job Card)
   ========================================================================== */
    .job-card-box {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        border-top: 5px solid #0f2347;
        /* 力強い紺色のアクセント */
        overflow: hidden;
        margin-bottom: 30px;
        transition: var(--transition);
        display: flex;
        flex-direction: column;
    }

    .job-card-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(15, 35, 71, 0.12);
        border-color: #e6a100;
        /* ホバー時はゴールドを効かせる */
    }

    .job-card-top-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        background-color: #f8fafc;
        border-bottom: 1px solid #f1f5f9;
    }

    .job-dept-badge {
        background-color: #eff6ff;
        color: #1e40af;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .job-dept-badge.badge-management {
        background-color: #faf5ff;
        color: #5b21b6;
    }

    .job-post-date {
        font-size: 0.8rem;
        color: #64748b;
    }

    .job-card-header {
        padding: 22px 25px 10px;
        border-bottom: none;
    }

    .status-badge {
        background-color: #ef4444;
        color: #ffffff;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 2px 10px;
        border-radius: 4px;
        display: inline-block;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .status-badge.status-orange {
        background-color: #f97316;
    }

    .job-card-title {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--navy-dark);
        line-height: 1.45;
    }

    .job-card-body {
        padding: 10px 25px 25px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .job-meta-grid {
        background-color: #f8fafc;
        padding: 15px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
        border: 1px solid #f1f5f9;
    }

    .meta-grid-item {
        display: flex;
        align-items: center;
    }

    .meta-label {
        width: 90px;
        font-size: 0.78rem;
        font-weight: 700;
        color: #475569;
        background-color: #e2e8f0;
        text-align: center;
        padding: 3px 6px;
        border-radius: 4px;
        margin-right: 15px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .meta-value {
        color: #1e293b;
        font-size: 0.92rem;
        font-weight: 600;
    }

    .meta-value.value-highlight {
        color: #d94814;
        font-weight: 800;
        font-size: 1rem;
    }

    .job-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 18px;
    }

    .tag-pill {
        display: inline-block;
        font-size: 0.78rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 4px;
        border: none;
        transition: var(--transition);
    }

    .tag-pill.pill-blue {
        background-color: #eff6ff;
        color: #1d4ed8;
    }

    .tag-pill.pill-purple {
        background-color: #faf5ff;
        color: #6d28d9;
    }

    .tag-pill.pill-green {
        background-color: #f0fdf4;
        color: #15803d;
    }

    .tag-pill.pill-orange {
        background-color: #fff7ed;
        color: #c2410c;
    }

    .tag-pill.pill-teal {
        background-color: #f0fdfa;
        color: #0f766e;
    }

    .job-summary {
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 22px;
        flex-grow: 1;
    }

    .summary-lead {
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 6px;
        font-size: 0.92rem;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .job-card-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        padding-top: 10px;
    }

    .btn-job-apply {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 12px 15px;
        background-color: #d94814;
        /* 添付画像の鮮やかなオレンジボタン */
        color: #ffffff;
        font-weight: 700;
        font-size: 1rem;
        border-radius: 6px;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(217, 72, 20, 0.2);
        transition: var(--transition);
        border: none;
        cursor: pointer;
        gap: 6px;
    }

    .btn-job-apply:hover {
        background-color: #b83a0e;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(217, 72, 20, 0.35);
    }



    /* ==========================================================================
   画像2再現：求人詳細ページスタイル (Job Detail Page)
   ========================================================================== */
    .breadcrumb-bar {
        background-color: #f1f5f9;
        border-bottom: 1px solid #e2e8f0;
        padding: 12px 0;
        font-size: 0.88rem;
    }

    .breadcrumbs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
        color: #64748b;
    }

    .breadcrumbs a {
        color: var(--navy-main);
        text-decoration: none;
    }

    .breadcrumbs a:hover {
        color: var(--accent-gold);
    }

    .detail-header-card {
        background: #ffffff;
        padding: 35px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
        margin-bottom: 40px;
    }

    .detail-tags {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .tag-badge {
        font-size: 0.82rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 4px;
    }

    .bg-navy-badge {
        background-color: var(--navy-main);
        color: #ffffff;
    }

    .bg-gold-badge {
        background-color: var(--accent-gold);
        color: var(--navy-dark);
    }

    .bg-gray-badge {
        background-color: #e2e8f0;
        color: #334155;
    }

    .detail-job-title {
        font-size: 2rem;
        font-weight: 900;
        color: var(--navy-dark);
        margin-bottom: 15px;
    }

    .detail-job-lead {
        font-size: 1.05rem;
        color: var(--text-secondary);
        line-height: 1.8;
    }

    /* Visual Gallery */
    .detail-visual-section {
        margin-bottom: 50px;
    }

    .sub-section-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--navy-dark);
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 2px solid var(--navy-main);
        padding-bottom: 10px;
    }

    .sub-section-title i {
        color: var(--accent-gold);
    }

    .visual-gallery-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 220px);
        gap: 15px;
    }

    .gallery-item {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }

    .gallery-item.main-item {
        grid-row: span 2;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.04);
    }

    .img-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(transparent, rgba(10, 25, 47, 0.85));
        color: #ffffff;
        padding: 20px 15px 10px;
        font-size: 0.88rem;
        font-weight: 500;
    }

    /* 画像2再現：スペックテーブル (Detail Spec Table) */
    .detail-table-wrapper {
        margin-bottom: 60px;
    }

    .detail-spec-table {
        width: 100%;
        border-collapse: collapse;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid #cbd5e1;
    }

    .detail-spec-table th,
    .detail-spec-table td {
        padding: 22px 28px;
        border-bottom: 1px solid #e2e8f0;
        vertical-align: top;
        font-size: 0.98rem;
    }

    .detail-spec-table th {
        width: 20%;
        background-color: #eef2ff;
        /* 画像2のような淡いブルー背景 */
        color: #1e293b;
        font-weight: 700;
        text-align: left;
        white-space: nowrap;
        border-right: 1px solid #cbd5e1;
    }

    .detail-spec-table td {
        color: #334155;
        line-height: 1.85;
    }

    .detail-spec-table tr:last-child th,
    .detail-spec-table tr:last-child td {
        border-bottom: none;
    }

    .font-lg {
        font-size: 1.25rem;
    }

    .font-sm {
        font-size: 0.88rem;
    }

    .color-sub {
        color: #64748b;
    }

    .mt-10 {
        margin-top: 10px;
    }

    .detail-bullet-list {
        padding-left: 20px;
    }

    .detail-bullet-list li {
        list-style-type: disc;
        margin-bottom: 4px;
    }

    .detail-benefits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 20px;
    }

    .detail-benefits-grid li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    @media (max-width: 768px) {
        .visual-gallery-grid {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
        }

        .gallery-item.main-item {
            grid-row: span 1;
            height: 250px;
        }

        .gallery-item {
            height: 200px;
        }

        .detail-spec-table th,
        .detail-spec-table td {
            display: block;
            width: 100%;
        }

        .detail-spec-table th {
            border-right: none;
            border-bottom: none;
            background-color: #eef2ff;
            padding: 15px 20px 8px;
        }

        .detail-spec-table td {
            padding: 8px 20px 20px;
        }

        .detail-benefits-grid {
            grid-template-columns: 1fr;
        }

        .btn-job-apply,
        .btn-job-detail {
            width: 100%;
        }

        .job-card-actions {
            flex-direction: column;
        }
    }

    .btn-job-apply:hover {
        background-color: #b83a0e;
        color: #ffffff;
        transform: translateY(-2px);
    }

    .btn-job-detail {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 12px 15px;
        background-color: #ffffff;
        color: #0f2347;
        border: 2px solid #0f2347;
        /* 画像1の青枠ボタン */
        font-weight: 700;
        font-size: 1rem;
        border-radius: 6px;
        text-decoration: none;
        transition: var(--transition);
        gap: 6px;
    }

    .btn-job-detail:hover {
        background-color: #0f2347;
        color: #ffffff;
        transform: translateY(-2px);
    }


    /* Responsive Styles */
    @media (max-width: 992px) {
        .grid-2col {
            grid-template-columns: 1fr;
        }

        .strengths-grid {
            grid-template-columns: 1fr;
        }

        .hero-title {
            font-size: 2.2rem;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .info-item {
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            padding: 15px 0;
        }

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

        .benefits-list {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .site-header {
            height: 65px;
        }

        .hamburger-menu {
            display: block;
        }

        .hamburger-menu.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        .main-nav {
            position: fixed;
            top: 65px;
            left: 0;
            width: 100%;
            background-color: var(--navy-dark);
            padding: 30px 20px;
            box-shadow: var(--shadow-lg);
            transform: translateY(-150%);
            transition: transform 0.4s ease;
        }

        .main-nav.open {
            transform: translateY(0);
        }

        .main-nav ul {
            flex-direction: column;
            align-items: stretch;
            gap: 15px;
        }

        .main-nav a {
            display: block;
            padding: 10px;
            text-align: center;
            font-size: 1.05rem;
        }

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

        .hero-subtitle {
            font-size: 0.98rem;
        }

        .hero-actions {
            flex-direction: column;
        }

        .btn {
            width: 100%;
        }

        .recruit-header {
            flex-direction: column;
            align-items: flex-start;
            padding: 20px;
        }

        .recruit-table th,
        .recruit-table td {
            display: block;
            width: 100%;
        }

        .recruit-table th {
            border-right: none;
            border-bottom: none;
            padding: 15px 20px 5px;
            background-color: transparent;
            color: var(--navy-main);
            font-size: 1.05rem;
        }

        .recruit-table td {
            padding: 5px 20px 20px;
        }

        .recruit-table tr {
            border-bottom: 1px solid var(--border-color);
            display: block;
        }

        .info-table th,
        .info-table td {
            display: block;
            width: 100%;
        }

        .info-table th {
            padding: 12px 20px 5px;
        }

        .info-table td {
            padding: 5px 20px 15px;
        }

        .grid-2col-inner {
            grid-template-columns: 1fr;
        }

        .tel-entry-box,
        .form-box {
            padding: 25px;
        }

        .tel-number {
            font-size: 1.35rem;
        }

        .section-padding {
            padding: 60px 0;
        }
    }

    .flow-steps {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .flow-steps li {
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.05);
        padding: 12px 20px;
        border-radius: var(--radius);
    }

    .step-num {
        width: 32px;
        height: 32px;
        background-color: var(--accent-gold);
        color: var(--navy-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .step-text {
        display: flex;
        flex-direction: column;
    }

    .step-text strong {
        font-size: 0.95rem;
        color: #ffffff;
    }

    .step-text span {
        font-size: 0.8rem;
        color: #94a3b8;
    }

.list-styled li {
    list-style-type: disc;
    margin-bottom: 6px;
}

.salary-details {
    margin-top: 10px;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.salary-details li {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.88rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.recruit-cta {
    background-color: var(--bg-light);
    padding: 35px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-message {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--navy-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy-dark);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

.header-white .section-tag {
    color: var(--accent-gold);
}

.header-white .section-title {
    color: #ffffff;
}

.header-white .section-desc {
    color: #cbd5e1;
}

.main-nav a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.main-nav a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--accent-gold);
    color: var(--navy-dark) !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(230, 161, 0, 0.4);
}

.nav-btn:hover {
    background-color: #ffffff;
    color: var(--navy-dark) !important;
    transform: translateY(-2px);
}

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

.hamburger-menu span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ==========================================================================
   求人カード：横並びグリッドレイアウト（最大2列）
   ========================================================================== */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .job-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   添付画像再現：採用応募フォームカード (Custom Apply Form Card)
   ========================================================================== */
.custom-apply-form-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    margin: 40px auto;
    max-width: 860px;
    font-family: var(--font-family);
}

.form-card-header {
    background-color: #3b82f6;
    /* 添付画像の爽やかで清潔感あるブルー */
    padding: 24px;
    text-align: center;
}

.form-card-header h2 {
    color: #ffffff !important;
    font-size: 1.8rem;
    /* Slightly larger for English title */
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
}

.form-card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 1px;
}

.form-card-breadcrumb {
    background-color: #fcfcfc;
    padding: 12px 24px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #64748b;
}

.form-card-breadcrumb span {
    font-weight: 500;
}

.form-card-body {
    padding: 35px 40px 45px;
}

.form-instruction {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 25px;
}

.image-style-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
    min-height: 70px;
}

.form-row:first-of-type {
    border-top: none;
}

.form-label-cell {
    width: 220px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    padding-right: 15px;
    flex-shrink: 0;
}

.form-input-cell {
    flex-grow: 1;
}

.form-control-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-custom:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

.form-submit-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-confirm-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: #007bff;
    /* 添付画像の「確認画面へ」ブルーボタン */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-confirm-custom:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .form-card-body {
        padding: 25px 20px;
    }

    .form-row {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0;
    }

    .form-label-cell {
        width: 100%;
        margin-bottom: 8px;
        padding-right: 0;
    }
}

/*
Theme Name: 千葉工業 採用サイト
Author: 橋口
Version: 1.0


/* ==========================================================================
   新：横長求人カードスタイル
   ========================================================================== */
.recruit-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.recruit-horizontal-card {
    background: #ffffff;
    border-radius: 16px;
    border: 4px solid #0f2347; /* ネイビーの太い外枠 */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 35, 71, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(15, 35, 71, 0.15);
}

/* メインエリア */
.card-main-area {
    display: flex;
    flex-direction: row;
    min-height: 380px;
}

/* 左側：画像エリア */
.card-left-image {
    width: 35%;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.card-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.recruit-horizontal-card:hover .card-left-image img {
    transform: scale(1.05);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 35, 71, 0.45); /* ネイビー半透明オーバーレイ */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-catchphrase {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    background: rgba(15, 35, 71, 0.3);
    backdrop-filter: blur(2px);
}

/* 右側：情報エリア */
.card-right-info {
    width: 65%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.card-dept-badge {
    background-color: #eff6ff;
    color: #0f2347;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
}

.card-reg-date {
    font-size: 0.8rem;
    color: #64748b;
}

.card-job-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f2347;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

/* 雇用・時間メタ */
.card-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    color: #334155;
}

.meta-icon {
    font-size: 1.1rem;
    margin-right: 8px;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.meta-label-new {
    font-weight: 700;
    color: #0f2347;
    margin-right: 5px;
}

.meta-desc {
    font-weight: 500;
}

/* 特徴タグ */
.card-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* 仕事内容 */
.card-job-description {
    margin-top: auto;
    border-top: 1px dashed #cbd5e1;
    padding-top: 15px;
}

.desc-title {
    font-weight: 700;
    color: #0f2347;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.desc-bullets {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.desc-bullets li {
    margin-bottom: 4px;
}

/* 最下部：3つの均等ボタン */
.card-bottom-buttons {
    background-color: #f8fafc; /* グレー背景の帯 */
    border-top: 1px solid #cbd5e1;
    display: flex;
    width: 100%;
}

.card-btn {
    flex: 1;
    text-align: center;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
}

/* ボタン1：応募する */
.btn-apply {
    background-color: #0f2347; /* ダークネイビー */
    color: #ffffff !important;
}

.btn-apply:hover {
    background-color: #1e3a6d;
}

/* ボタン2：詳細をみる */
.btn-detail {
    background-color: #ffffff; /* 白背景 */
    color: #000000 !important;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
}

.btn-detail:hover {
    background-color: #f1f5f9;
}

/* ボタン3：一度話を聞いてみる */
.btn-contact {
    background-color: #e0f2fe; /* ライトブルー */
    color: #0369a1 !important; /* 青文字 */
}

.btn-contact:hover {
    background-color: #bae6fd;
}

/* レスポンシブ：タブレット以下 */
@media (max-width: 991px) {
    .card-main-area {
        flex-direction: column;
    }
    
    .card-left-image {
        width: 100%;
        height: 240px;
    }
    
    .card-right-info {
        width: 100%;
        padding: 24px;
    }
}

/* スマホ表示対応 */
@media (max-width: 600px) {
    .card-bottom-buttons {
        flex-direction: column;
    }
    
    .btn-detail {
        border-left: none;
        border-right: none;
        border-top: 1px solid #cbd5e1;
        border-bottom: 1px solid #cbd5e1;
    }
    
    .image-catchphrase {
        font-size: 1.8rem;
    }
}



/* ==========================================================================
   強みセクションの数字装飾
   ========================================================================== */
.strength-num {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #e6a100 !important; /* ゴールド/アクセントカラー */
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
    margin-right: 15px;
    display: inline-block;
}



/* ==========================================================================
   スマートフォン表示（SP）崩れの根本対策レスポンシブスタイル
   ========================================================================== */
@media (max-width: 768px) {
    /* ヘッダーの高さ・位置を完全に固定化 */
    .site-header {
        height: 65px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .header-inner {
        height: 65px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 会社名エリアの縮小・左配置 */
    .brand-logo {
        max-width: calc(100% - 130px) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .logo-sub {
        font-size: 0.62rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .logo-main {
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
    }

    /* PCナビゲーションの非表示化 */
    .main-nav {
        position: fixed !important;
        top: 65px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 65px) !important;
        background-color: rgba(10, 25, 47, 0.98) !important;
        padding: 30px 20px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
        transform: translateY(-150%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: block !important;
        z-index: 999 !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
    }

    .main-nav.open {
        transform: translateY(0) !important;
    }

    .main-nav ul {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav li {
        width: 100% !important;
        text-align: center !important;
    }

    .main-nav a {
        display: block !important;
        padding: 10px !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* 独自：ヘッダー右端のコンパクトな「応募」ボタン */
    .sp-header-apply-btn {
        display: inline-block !important;
        background-color: #ffd700 !important;
        color: #000000 !important;
        font-weight: 800 !important;
        font-size: 0.78rem !important;
        padding: 6px 12px !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        margin-right: 10px !important;
        box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3) !important;
        border: none !important;
    }

    /* ドロワー内の応募ボタンを目立たせる */
    .main-nav .nav-btn, .main-nav .btn-yellow {
        background-color: #ffd700 !important;
        color: #000000 !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 12px 24px !important;
        font-size: 1rem !important;
        margin-top: 10px !important;
        display: inline-block !important;
        width: auto !important;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
    }

    .hamburger-menu {
        display: block !important;
        z-index: 1001 !important;
    }

    /* メインコンテンツ全体のSP横幅・余白・文字サイズの最適化 */
    body {
        padding-top: 65px !important; /* ヘッダーがfixedなので重なり防止 */
        overflow-x: hidden !important;
    }

    .container, .hero-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    /* 見出しサイズの自動縮小 */
    h1, .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    h2, .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    /* 3つの強みカードの縦並び化 */
    .strength-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    /* メイン紹介カードのSP調整 */
    .about-main-card {
        flex-direction: column !important;
        width: 100% !important;
    }

    .about-image {
        width: 100% !important;
        height: 220px !important;
    }

    .about-info-text {
        width: 100% !important;
        padding: 24px 16px !important;
    }

    .about-subtitle {
        font-size: 1.25rem !important;
    }

    /* 会社概要テーブルの縦並び化 */
    .company-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .profile-table, .profile-table tbody, .profile-table tr, .profile-table th, .profile-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .profile-table tr {
        border-bottom: 1px solid #cbd5e1 !important;
        padding: 12px 0 !important;
    }

    .profile-table th {
        font-size: 0.9rem !important;
        font-weight: bold !important;
        color: #0f2347 !important;
        padding: 0 0 4px 0 !important;
        background: none !important;
        border: none !important;
    }

    .profile-table td {
        font-size: 0.9rem !important;
        padding: 0 !important;
        border: none !important;
        color: #475569 !important;
    }


    /* 求人カードのSP（スマホ）1カラム最適化 */
    .recruit-horizontal-card {
        border-radius: 12px !important;
        margin-bottom: 25px !important;
    }

    .card-main-area {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .card-left-image {
        width: 100% !important;
        height: 180px !important;
        min-height: auto !important;
    }

    .card-left-image img {
        border-radius: 12px 12px 0 0 !important;
    }

    .card-right-info {
        width: 100% !important;
        padding: 16px 20px !important;
    }

    .card-job-title {
        font-size: 1.25rem !important;
        margin-bottom: 12px !important;
    }

    .card-meta-item {
        font-size: 0.85rem !important;
        flex-wrap: wrap !important;
    }

    .desc-bullets {
        padding-left: 15px !important;
        font-size: 0.82rem !important;
    }

    .card-bottom-buttons {
        flex-direction: column !important;
        border-top: 1px solid #cbd5e1 !important;
    }

    .card-bottom-buttons .card-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.88rem !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #cbd5e1 !important;
    }

    .card-bottom-buttons .card-btn:last-child {
        border-bottom: none !important;
    }
}

*/