/* コンサルタント紹介ページの「あなたのキャリアを担当するコンサルタント」 2026-10-06
   BPO納品にデザインが無いため、サイトの紺色・赤・明朝体に合わせて作成。
   パソコンは2列、スマホは1列。カードの高さはそろえ、相談ボタンは下端に置く */

.faCst {
    max-width: 1045px;
    margin: 96px auto 40px;
}

/* 見出し */
.faCstHead {
    text-align: center;
    margin-bottom: 44px;
}

.faCstEn {
    margin: 0 0 8px;
    font-size: 15px;
    letter-spacing: 0.24em;
    color: #e6081f;
}

.faCstTitle {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #0a1b5c;
}

.faCstLead {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5070;
}

/* 並べ方 */
.faCstList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

/* 1人だけのときは真ん中に置く */
.faCstList.isSingle {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

/* カード */
.faCstCard {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px -18px rgba(10, 27, 92, 0.35), 0 0 0 1px rgba(10, 27, 92, 0.06);
}

/* 上の紺の帯。写真と名前 */
.faCstHero {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 22px;
    padding: 28px 28px 24px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px),
        linear-gradient(135deg, #0a1b5c 0%, #1b2f78 100%);
    color: #ffffff;
}

.faCstHero::after {
    content: "";
    position: absolute;
    left: 28px;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #e6081f;
}

.faCstPhoto {
    flex: 0 0 132px;
    width: 132px;
    aspect-ratio: 3 / 4;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.faCstPhoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.faCstId {
    min-width: 0;
    padding-bottom: 4px;
}

.faCstRole {
    margin: 0 0 4px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.faCstName {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.faCstYears {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.faCstYears span {
    margin-left: 8px;
    font-weight: 700;
    color: #ffffff;
}

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

.faCstTags li {
    padding: 2px 11px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.7;
    color: #ffffff;
}

/* 3つの数字 */
.faCstStats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-bottom: 1px solid #e6e9f2;
}

.faCstStats div {
    padding: 18px 6px 16px;
    text-align: center;
}

.faCstStats div + div {
    border-left: 1px solid #e6e9f2;
}

.faCstStats dt {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #6b7290;
}

.faCstStats dd {
    margin: 2px 0 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #0a1b5c;
    white-space: nowrap;
}

.faCstStats dd small {
    margin-left: 2px;
    font-size: 14px;
    font-weight: 700;
}

/* 本文 */
.faCstBody {
    padding: 6px 28px 0;
}

.faCstBlock h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #0a1b5c;
}

.faCstBlock h4::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6e9f2;
}

.faCstBlock p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #333333;
    white-space: pre-line;
}

/* 経歴は年表の形 */
.faCstTimeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faCstTimeline li {
    position: relative;
    padding: 0 0 10px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

.faCstTimeline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #0a1b5c;
    background: #ffffff;
    box-sizing: border-box;
}

.faCstTimeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 4px;
    top: calc(0.6em + 9px);
    bottom: 0;
    width: 1px;
    background: #c9cfe0;
}

.faCstTimeline li:last-child {
    padding-bottom: 0;
}

.faCstTimeline li:last-child::before {
    background: #0a1b5c;
}

/* 仕事にかける思いは引用の形 */
.faCstMessage {
    position: relative;
    margin: 0;
    padding: 18px 20px 18px 50px;
    border-radius: 8px;
    background: #f4f6fb;
    font-size: 15px;
    line-height: 1.9;
    color: #1d2650;
}

.faCstMessage::before {
    content: "\201C";
    position: absolute;
    left: 14px;
    top: 4px;
    font-size: 54px;
    line-height: 1;
    color: #e6081f;
    opacity: 0.85;
}

.faCstStyle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 22px 0 0;
    font-size: 15px;
    color: #333333;
}

.faCstStyle .label {
    padding: 3px 12px;
    border-radius: 4px;
    background: #0a1b5c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
}

/* 相談ボタン。カードの下端にそろえる
   色と矢印はサイトのほかのボタンと同じ。青のボタンは、パソコンで乗せると黒に変わる */
.faCstBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: auto 28px 28px;
    padding: 16px 20px;
    border-radius: 6px;
    background: #152a8c;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.faCstBody + .faCstBtn {
    margin-top: 28px;
}

/* 本文の下を伸ばして、ボタンをカードの下端にそろえる */
.faCstBody {
    flex: 1;
}

.faCstBtn .arrow {
    display: inline-block;
    width: 27px;
    height: 13px;
    background: url(../images/common/icon-arrow-link.png) no-repeat center / 100%;
    filter: brightness(0) invert(1);
}

@media (min-width: 769px) {
    .faCstBtn:hover {
        background: #2b201f;
        color: #ffffff;
    }
}

@media (max-width: 991px) {
    .faCstList,
    .faCstList.isSingle {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .faCst {
        margin-top: 60px;
    }

    .faCstHead {
        margin-bottom: 28px;
    }

    .faCstEn {
        font-size: 13px;
    }

    .faCstTitle {
        font-size: 23px;
    }

    .faCstLead {
        font-size: 14px;
        text-align: left;
    }

    .faCstHero {
        gap: 16px;
        padding: 22px 18px 20px;
    }

    .faCstHero::after {
        left: 18px;
    }

    .faCstPhoto {
        flex-basis: 100px;
        width: 100px;
    }

    .faCstName {
        font-size: 22px;
    }

    .faCstStats div {
        padding: 14px 4px 12px;
    }

    .faCstStats dt {
        font-size: 11px;
        letter-spacing: 0;
    }

    .faCstStats dd {
        font-size: 26px;
    }

    .faCstStats dd small {
        font-size: 12px;
    }

    .faCstBody {
        padding: 4px 18px 0;
    }

    .faCstBlock p,
    .faCstTimeline li,
    .faCstMessage,
    .faCstStyle {
        font-size: 14px;
    }

    .faCstMessage {
        padding: 14px 14px 14px 40px;
    }

    .faCstMessage::before {
        left: 10px;
        font-size: 44px;
    }

    .faCstBtn {
        margin: auto 18px 22px;
    }

    .faCstBody + .faCstBtn {
        margin-top: 24px;
    }
}
