@charset "UTF-8";

/* ==========================================================================
   統合報告書2026 人財育成活動事例 (style_human_resource_development.css)
   ========================================================================== */

/* 記事コンテンツ内の全 <header>：共通CSS base.css の header { position: fixed; } を包括的に無効化 */
.hrd_article header {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    transition: none !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* base.css の header::before（下部罫線）を記事内 header では非表示 */
.hrd_article header::before {
    display: none !important;
}

/* 記事全体ラッパー */
.hrd_article {
    position: relative;
    z-index: 0;
    color: #333;
    line-height: 1.85;
}

.hrd_article > .inner {
    box-sizing: border-box;
    width: min(calc(100% - 8rem), 120rem);
    margin: 0 auto;
    padding-bottom: 8rem;
}

/* 記事内イントロヘッダー */
.hrd_article__intro {
    padding: 5rem 0 6rem;
    border-bottom: 1px solid rgba(27, 34, 76, 0.16);
}

.hrd_article__intro_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44rem;
    align-items: center;
    gap: 5rem;
}

.hrd_article__intro_main {
    min-width: 0;
}

.hrd_article__category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin: 0 0 1.8rem;
}

.hrd_article__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.4rem;
    background: #d96b27;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 0.3rem;
}

.hrd_article__english {
    margin: 0;
    color: #d96b27;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hrd_article__intro h2 {
    margin: 0 0 2.8rem;
    color: #1b224c;
    font-size: 3.2rem;
    line-height: 1.5;
    font-weight: 700;
}

.hrd_article__subtitle {
    display: block;
    margin-bottom: 0.6rem;
    color: #d96b27;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 700;
}

.hrd_article__lead p {
    margin: 0 0 1.8rem;
    font-size: 1.6rem;
    line-height: 2;
}

.hrd_article__lead p:last-child {
    margin-bottom: 0;
}

/* イントロ集合写真＋登壇者バッジ */
.hrd_article__hero_photo {
    margin: 0;
}

.hrd_article__hero_photo_image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 0.4rem;
    border: 1px solid rgba(27, 34, 76, 0.12);
    background: #f7f6f2;
    box-shadow: 0 4px 16px rgba(27, 34, 76, 0.06);
}

.hrd_article__hero_photo_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hrd_photo_badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.hrd_photo_badge {
    padding: 1.2rem 1.4rem;
    background: #d96b27;
    border-radius: 0.4rem;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.hrd_photo_badge__role {
    display: block;
    font-size: 1.2rem;
    line-height: 1.4;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.hrd_photo_badge__name {
    display: block;
    margin: 0.3rem 0 0.2rem;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.04em;
}

.hrd_photo_badge__en {
    display: block;
    font-size: 1.15rem;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* 記事本文幅：読みやすい 94rem（左右端を統一） */
.hrd_article__body {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 94rem);
    margin: 0 auto;
    padding-top: 2rem;
}

/* セクション大見出し（共通CSSのsectionパディングをリセットして左右端を94remに揃える） */
.hrd_section {
    margin-top: 6.5rem;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
}

.hrd_section > h3 {
    margin: 0 0 3.5rem;
    padding: 0.6rem 0 0.6rem 1.8rem;
    border-left: 0.4rem solid #d96b27;
    color: #1b224c;
    font-size: 2.6rem;
    line-height: 1.55;
    font-weight: 700;
}

/* 質問セクション */
.hrd_qa {
    margin-bottom: 4.5rem;
}

.hrd_qa:last-child {
    margin-bottom: 0;
}

.hrd_qa__question {
    margin: 0 0 2.2rem;
    color: #1b224c;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.6;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(27, 34, 76, 0.2);
}

.hrd_speech {
    margin: 0 0 2rem;
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
}

.hrd_speech:last-child {
    margin-bottom: 0;
}

.speaker {
    display: inline-block;
    min-width: 4.5em;
    padding: 0.2rem 0.8rem;
    margin-right: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    border-radius: 0.3rem;
    color: #fff;
    vertical-align: 0.1em;
}

.speaker--ehama {
    background: #d96b27;
}

.speaker--yokoi {
    background: #1b224c;
}

/* メディアレイアウト（PC：画像左・文章右、モバイル：画像上・文章下） */
.hrd_media_row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36rem;
    gap: 4rem;
    align-items: start;
    margin: 2.5rem 0 0;
    box-sizing: border-box;
}

.hrd_media_row--left {
    grid-template-columns: 36rem minmax(0, 1fr);
}

.hrd_media_content {
    min-width: 0;
}

.hrd_photo_card {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(27, 34, 76, 0.12);
    border-radius: 0.4rem;
    background: #f7f6f2;
    box-sizing: border-box;
}

/* 建物以外の画像：おおむね 16:10 に統一 */
.hrd_photo_card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hrd_photo_card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hrd_photo_card figcaption {
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    color: #555;
    background: #fff;
    text-align: center;
    border-top: 1px solid rgba(27, 34, 76, 0.08);
}

/* ==========================================================================
   レスポンシブ表示（@media (width <= 768px)）
   モバイルでは画像上・文章下を基本とする
   ========================================================================== */

@media (width <= 768px) {
    .hrd_article > .inner {
        width: calc(100% - 5rem);
        padding: 3rem 0 5rem;
    }

    .hrd_article__intro {
        padding: 2rem 0 4rem;
    }

    .hrd_article__badge {
        font-size: 2rem;
        padding: 0.5rem 1.6rem;
    }

    .hrd_article__english {
        font-size: 2.2rem;
    }

    .hrd_article__intro h2 {
        font-size: 3.6rem;
        margin-bottom: 2.5rem;
    }

    .hrd_article__subtitle {
        font-size: 2.4rem;
        margin-bottom: 0.8rem;
    }

    .hrd_article__intro_grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hrd_article__lead p {
        font-size: 2.6rem;
        line-height: 1.9;
    }

    .hrd_article__hero_photo {
        width: 100%;
        margin: 0 auto;
    }

    .hrd_photo_badges {
        gap: 1.4rem;
        margin-top: 1.6rem;
    }

    .hrd_photo_badge {
        padding: 1.6rem 1rem;
    }

    .hrd_photo_badge__role {
        font-size: 1.8rem;
        line-height: 1.35;
    }

    .hrd_photo_badge__name {
        font-size: 2.6rem;
        margin: 0.4rem 0 0.2rem;
    }

    .hrd_photo_badge__en {
        font-size: 1.6rem;
    }

    .hrd_article__body {
        width: 100%;
        padding-top: 1rem;
    }

    .hrd_section {
        margin-top: 5rem;
    }

    .hrd_section > h3 {
        margin-bottom: 2.5rem;
        font-size: 3.2rem;
        line-height: 1.5;
        padding-left: 1.5rem;
    }

    .hrd_qa {
        margin-bottom: 3.5rem;
    }

    .hrd_qa__question {
        font-size: 2.8rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .hrd_speech {
        font-size: 2.6rem;
        line-height: 1.9;
        margin-bottom: 2.5rem;
    }

    .speaker {
        font-size: 2.2rem;
        padding: 0.3rem 1.2rem;
        margin-right: 1rem;
        margin-bottom: 0.6rem;
    }

    /* モバイルでは画像上・文章下を基本とする */
    .hrd_media_row,
    .hrd_media_row--left {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        margin: 2.5rem 0 0;
    }

    .hrd_media_row .hrd_photo_card,
    .hrd_media_row--left .hrd_photo_card {
        order: -1;
        width: 100%;
    }

    .hrd_photo_card__image {
        aspect-ratio: 16 / 10;
    }

    .hrd_photo_card figcaption {
        font-size: 2rem;
        padding: 1rem 1.4rem;
    }
}
