/* ========================================
   ブログ・人材ページ専用スタイル
   ======================================== */

/* パンくずリスト */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    font-size: 10px;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

/* フィルターセクション */
.filter-section {
    background-color: var(--bg-white);
    padding: 30px 0;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label i {
    color: var(--primary-color);
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-base);
    background-color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.1);
}

/* 人材一覧セクション */
.talents-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

/* 人材カード */
.talent-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.talent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.talent-badge {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.talent-badge-overseas {
    background-color: var(--secondary-color);
}

.talent-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid var(--border-color);
}

.video-badge {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.video-badge i {
    font-size: 14px;
}

.video-note {
    font-size: 11px;
    opacity: 0.9;
    margin-left: 4px;
}

.talent-id {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.talent-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--primary-color);
}

.talent-content {
    padding: 25px;
    flex: 1;
}

.talent-info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label i {
    color: var(--primary-color);
    font-size: 14px;
}

.info-value {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.info-value.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.skill-tag {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.talent-profile {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.talent-profile h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.talent-profile h4 i {
    color: var(--primary-color);
}

.talent-profile p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
}

.talent-footer {
    padding: 0 25px 25px;
}

.talent-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.2);
}

.talent-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 186, 181, 0.35);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.talent-cta-btn:active {
    transform: translateY(0);
}

.talent-cta-btn i {
    font-size: 16px;
}


.video-disclaimer {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.btn-small {
    padding: 12px 25px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
}

/* 結果なしメッセージ */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-results i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results p {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results-sub {
    font-size: 15px;
    opacity: 0.8;
}

/* カテゴリータブ */
.category-tabs {
    background-color: var(--bg-white);
    padding: 20px 0;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-color);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* 記事一覧セクション */
.articles-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* 記事カード */
.article-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.meta-date,
.meta-read {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 15px;
}

.article-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--bg-white);
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-section .btn {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* フェードアニメーション */
.talent-card.hidden,
.article-card.hidden {
    display: none;
}

/* ローディング状態 */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.loading i {
    font-size: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

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

    .filter-section {
        position: static;
    }

    .filter-wrapper {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .category-tabs {
        position: static;
        padding: 15px 0;
    }

    .tabs {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        white-space: nowrap;
        padding: 8px 20px;
        font-size: 14px;
    }

    .talents-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .talent-info-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 26px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .talent-card,
    .article-card {
        border-radius: 8px;
    }

    .talent-header,
    .talent-content,
    .talent-footer,
    .article-content {
        padding: 20px;
    }

    .talent-id,
    .article-title {
        font-size: 18px;
    }

    .cta-title {
        font-size: 24px;
    }
}

/* ========================================
   記事詳細ページスタイル
   ======================================== */

/* 記事ヘッダー */
.article-detail {
    padding: 40px 0 80px;
    background-color: var(--bg-light);
}

.article-header {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.article-category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-main-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.article-meta-info {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-light);
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.article-tags-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 記事本文 */
.article-body {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.article-section {
    margin-bottom: 50px;
}

.article-section:last-child {
    margin-bottom: 0;
}

.article-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.article-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.article-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 30px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 25px 0 15px;
}

.article-section p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 20px;
}

.article-section ul,
.article-section ol {
    margin: 20px 0 20px 25px;
}

.article-section li {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 12px;
    padding-left: 10px;
}

.article-section ul li {
    list-style-type: none;
    position: relative;
}

.article-section ul li::before {
    content: '●';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.article-section ol {
    counter-reset: list-counter;
    list-style: none;
}

.article-section ol li {
    counter-increment: list-counter;
    position: relative;
}

.article-section ol li::before {
    content: counter(list-counter) '.';
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: -30px;
}

.article-section strong {
    font-weight: 700;
    color: var(--dark-color);
}

.article-section a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.article-section a:hover {
    color: var(--accent-color);
}

/* 情報ボックス */
.note-box {
    background-color: #E8F4FD;
    border-left: 5px solid #2196F3;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.note-box i {
    color: #2196F3;
    font-size: 20px;
    margin-top: 3px;
}

.warning-box {
    background-color: #FFF4E5;
    border-left: 5px solid #FF9800;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.warning-box i {
    color: #FF9800;
    font-size: 20px;
    margin-top: 3px;
}

/* チェックリストボックス */
.checklist-box {
    background-color: #F5F9F5;
    border: 2px solid #4CAF50;
    padding: 30px;
    margin: 25px 0;
    border-radius: 12px;
}

.checklist-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-box h4 i {
    color: #4CAF50;
    font-size: 20px;
}

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

.checklist li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
}

.checklist li::before {
    content: '☐';
    font-size: 20px;
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* 参考リンク */
.reference-links {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.reference-links li {
    margin-bottom: 15px;
    padding-left: 0;
}

.reference-links li::before {
    display: none;
}

.reference-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-color);
}

.reference-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateX(5px);
}

.reference-links i {
    font-size: 16px;
}

.reference-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
}

/* 記事CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    color: var(--bg-white);
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(10, 186, 181, 0.3);
}

.article-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.article-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.article-cta .btn {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.article-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 関連記事 */
.related-articles {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related-articles h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.related-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    display: block;
}

.related-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}



.related-card h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--dark-color);
    margin: 0;
}



/* レスポンシブ対応（記事詳細） */
@media (max-width: 768px) {
    .article-header,
    .article-body,
    .article-cta,
    .related-articles {
        padding: 30px 25px;
    }

    .article-main-title {
        font-size: 26px;
    }

    .article-section h2 {
        font-size: 22px;
    }

    .article-section h3 {
        font-size: 19px;
    }

    .article-meta-info {
        flex-direction: column;
        gap: 10px;
    }

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

    .checklist-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .article-header,
    .article-body,
    .article-cta,
    .related-articles {
        padding: 25px 20px;
    }

    .article-main-title {
        font-size: 22px;
    }

    .article-section h2 {
        font-size: 20px;
    }

    .article-section h3 {
        font-size: 18px;
    }

    .article-section p,
    .article-section li {
        font-size: 15px;
    }

    .note-box,
    .warning-box {
        padding: 15px 20px;
        flex-direction: column;
    }
}