/* ==========================================================================
   archive-professional.css — 専任講師一覧ページ
   ========================================================================== */

/* --------------------------------------------------------------------------
   共通変数
   -------------------------------------------------------------------------- */
:root {
    --pf-red: #C0401A;
    --pf-dark: #333333;
    --pf-body: rgb(89, 89, 89);
    --pf-gray-bg: #f5f5f5;
    --pf-border: #e8e8e8;
    --pf-text-muted: #888888;
    --pf-inner-max: 980px;
    --pf-section-py: 88px;
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */
.pf-hero {
    background-color: #ffffff;
    border-bottom: 1px solid var(--pf-border);
    padding: 80px 0;
    text-align: center;
}

.pf-hero__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.pf-hero__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pf-red);
    margin-bottom: 20px;
}

.pf-hero__heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--pf-dark);
    letter-spacing: 0.08em;
    line-height: 1.25;
    margin: 0 0 28px;
}

.pf-hero__rule {
    width: 48px;
    height: 3px;
    background-color: var(--pf-red);
    margin: 0 auto 36px;
}

.pf-hero__desc {
    font-size: 16px;
    color: var(--pf-body);
    line-height: 2;
    margin: 0;
}

/* --------------------------------------------------------------------------
   講師一覧
   -------------------------------------------------------------------------- */
.pf-list {
    background-color: var(--pf-gray-bg);
    padding: var(--pf-section-py) 0;
}

.pf-list__inner {
    max-width: var(--pf-inner-max);
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.pf-list__empty {
    text-align: center;
    color: var(--pf-text-muted);
    font-size: 15px;
    padding: 80px 0;
}

/* --------------------------------------------------------------------------
   グリッド
   -------------------------------------------------------------------------- */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* --------------------------------------------------------------------------
   カード
   -------------------------------------------------------------------------- */
.pf-card {
    background-color: #ffffff;
    border: 1px solid var(--pf-border);
    border-top: 3px solid var(--pf-red);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* --- 写真エリア --- */
.pf-card__photo-wrap {
    position: relative;
    height: 260px;
    background-color: #e8e8e8;
    overflow: hidden;
    flex-shrink: 0;
}

.pf-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.pf-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eeeeee;
}

.pf-card__photo-placeholder svg {
    width: 72px;
    height: 72px;
    color: #cccccc;
}

/* --- バッジ --- */
.pf-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
}

.pf-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.pf-badge--bddc {
    background-color: var(--pf-red);
    color: #ffffff;
}

.pf-badge--dxdc {
    background-color: #333333;
    color: #ffffff;
}

/* --- カードボディ --- */
.pf-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* --- 肩書き・名前 --- */
.pf-card__identity {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.pf-card__company {
    font-size: 12px;
    font-weight: 700;
    color: var(--pf-text-muted);
    margin: 0 0 8px;
    line-height: 1.6;
}

.pf-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pf-dark);
    letter-spacing: 0.08em;
    margin: 0;
    line-height: 1.3;
}

/* --- メタ情報 --- */
.pf-card__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* パーパス */
.pf-card__purpose {
    background-color: #fffaf8;
    border-left: 3px solid var(--pf-red);
    padding: 12px 14px;
}

.pf-card__purpose-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #bbbbbb;
    margin-bottom: 5px;
}

.pf-card__purpose-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--pf-red);
    line-height: 1.7;
    margin: 0;
}

/* 専門分野タグ */
.pf-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--pf-red);
    background-color: #fdf3ef;
    border: 1px solid #f5d9cf;
    padding: 4px 12px;
    border-radius: 2px;
    line-height: 1.5;
}

/* 対応地域 */
.pf-card__location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 14px;
    color: #666666;
}

.pf-card__location svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #aaaaaa;
}

/* --- 詳細ボタン --- */
.pf-card__btn {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--pf-dark);
    border: 1px solid #cccccc;
    padding: 14px;
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pf-card__btn:hover {
    background-color: var(--pf-red);
    color: #ffffff;
    border-color: var(--pf-red);
}

/* --------------------------------------------------------------------------
   ページネーション
   -------------------------------------------------------------------------- */
.pf-pagination {
    margin-top: 64px;
    text-align: center;
}

.pf-pagination .nav-links {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.pf-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pf-dark);
    border: 1px solid var(--pf-border);
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pf-pagination .page-numbers.current,
.pf-pagination .page-numbers:hover {
    background-color: var(--pf-red);
    border-color: var(--pf-red);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.pf-cta {
    background-color: #1a1a1a;
    padding: var(--pf-section-py) 0;
    text-align: center;
}

.pf-cta__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.pf-cta__heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.pf-cta__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
    margin: 0 0 40px;
}

.pf-cta__btn {
    display: inline-block;
    background-color: var(--pf-red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 18px 56px;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.pf-cta__btn:hover {
    background-color: #a83516;
    color: #ffffff;
    opacity: 0.95;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .pf-hero__inner,
    .pf-list__inner,
    .pf-cta__inner {
        padding-left: 32px;
        padding-right: 32px;
    }

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

@media (max-width: 768px) {
    :root {
        --pf-section-py: 48px;
    }

    .pf-hero__inner,
    .pf-list__inner,
    .pf-cta__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pf-hero__desc {
        font-size: 15px;
    }

    .pf-hero__desc br {
        display: none;
    }

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

    .pf-card__photo-wrap {
        height: 240px;
    }

    .pf-card__body {
        padding: 20px;
    }

    .pf-cta__heading {
        font-size: 1.375rem;
    }
}
