/* 採用詳細ページ専用スタイル (recruit.css) */

/* ========================================
   ヘッダー固定 - 採用ページ専用
   ======================================== */
/* 採用ページでは常にヘッダーを不透明に */
.header {
    background: rgba(10, 22, 40, 0.98) !important; /* 暗いネイビー背景 */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ナビゲーションメニューの間隔を調整 */
.header .nav-menu {
    gap: 24px !important; /* デフォルトの40pxから24pxに縮小 */
}

.header .logo img {
    filter: brightness(0) invert(1); /* ロゴを白く */
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important; /* ナビリンクを白く */
    font-size: 14px !important; /* フォントサイズを少し小さく */
}

.header .nav-link:hover {
    color: var(--cyan-accent) !important;
}

/* ドロップダウンメニューのスタイル */
.header .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.header .dropdown-toggle i {
    color: rgba(255, 255, 255, 0.7);
}

/* お問い合わせボタン */
.header .btn-contact {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-accent)) !important;
    color: #FFFFFF !important; /* 白色で明瞭に */
    border: none !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    white-space: nowrap;
    font-weight: 600 !important; /* フォントを太く */
    box-shadow: 0 2px 8px rgba(184, 147, 90, 0.4) !important;
}

.header .btn-contact:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(184, 147, 90, 0.6) !important;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-light)) !important;
}

/* ハンバーガーメニュー */
.header .hamburger span {
    background: rgba(255, 255, 255, 0.9);
}

/* ========================================
   記事レイアウト
   ======================================== */

/* ニュース記事レイアウト */
.news-article {
    background: var(--navy-primary);
    min-height: 100vh;
    padding-top: 80px !important; /* ヘッダーの高さ分のスペースを確保 */
    margin-top: 0 !important;
}

/* パンくずナビゲーション */
.breadcrumb {
    background: var(--navy-dark);
    padding: 20px 0;
    padding-top: 20px !important; /* 固定ヘッダー下の余白を確保 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--cyan-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* 記事ヘッダー */
.article-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.article-category {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--cyan-accent), var(--blue-accent));
    color: var(--navy-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 24px;
}

.article-category.career-category {
    background: linear-gradient(135deg, var(--purple-accent), var(--pink-accent));
}

.article-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 20px;
    color: var(--gold-light);
    font-weight: 500;
}

/* ヒーロー画像 */
.article-hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* コンテンツエリア */
.article-content {
    background: var(--white);
    padding: 80px 0;
}

.article-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* リード文 */
.article-body .lead {
    font-size: 18px;
    line-height: 1.9;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 48px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(168, 85, 247, 0.05));
    border-left: 4px solid var(--cyan-accent);
    border-radius: 8px;
}

/* 見出し */
.article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 60px 0 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--cyan-accent);
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gold-primary);
}

.article-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-primary);
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--purple-accent);
}

/* 段落 */
.article-body p {
    font-size: 16px;
    line-height: 1.9;
    color: #34495e;
    margin-bottom: 24px;
}

/* リスト */
.article-body ul,
.article-body ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-body ul li,
.article-body ol li {
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 12px;
}

.article-body ul li {
    list-style: none;
    position: relative;
    padding-left: 24px;
}

.article-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--cyan-accent);
    font-weight: bold;
}

.article-body ol li {
    padding-left: 8px;
}

/* 強調テキスト */
.article-body strong {
    font-weight: 700;
    color: var(--navy-dark);
}

/* リンク */
.article-body a {
    color: var(--cyan-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: var(--purple-accent);
    text-decoration: underline;
}

/* 情報ボックス */
.info-box,
.contact-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(168, 85, 247, 0.05));
    border: 2px solid var(--cyan-accent);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
}

.info-box h3,
.contact-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-box h3 i,
.contact-box h3 i {
    color: var(--cyan-accent);
    font-size: 24px;
}

.info-box p,
.contact-box p {
    margin-bottom: 16px;
}

.info-box ul {
    margin: 0;
}

.info-box ul li {
    margin-bottom: 12px;
}

.contact-box {
    text-align: center;
}

.contact-box h3 {
    justify-content: center;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan-accent), var(--blue-accent));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--navy-dark);
    border: 2px solid var(--navy-dark);
}

.btn-secondary:hover {
    background: var(--navy-dark);
    color: var(--white);
}

/* 記事フッター */
.article-footer {
    background: var(--white);
    padding: 40px 0 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
}

.article-share span {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.facebook:hover {
    background: #365899;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.linkedin:hover {
    background: #006399;
    transform: translateY(-2px);
}

.article-footer .container {
    text-align: center;
}

/* 関連記事 */
.related-articles {
    background: var(--navy-primary);
    padding: 80px 0;
}

.related-articles h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 48px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.related-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-accent);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.related-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--purple-accent), var(--pink-accent));
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 16px;
    margin-bottom: 16px;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.4;
}

.related-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.related-link {
    color: var(--cyan-accent);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.related-card:hover .related-link {
    gap: 12px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .article-title {
        font-size: 36px;
    }

    .article-subtitle {
        font-size: 16px;
    }

    .article-hero-image {
        height: 300px;
    }

    .article-body h2 {
        font-size: 26px;
    }

    .article-body h3 {
        font-size: 20px;
    }

    .info-box,
    .contact-box {
        padding: 24px;
    }

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