@charset "UTF-8";
/**
 * ============================================
 * レスポンシブCSS (introduction ページ専用)
 * ============================================
 * PC（デスクトップ）: 1025px以上
 * タブレット: 769px ~ 1024px
 * スマートフォン: 768px以下
 */

/* ============================================
 * PC向け基本スタイル（新HTML構造対応）
 * ============================================ */
/* .el_parent {
    background-image: url("../images/header_bk.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} */

br.sp {
    display: none;
}

.bl_jobType_list_item_headBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.bl_jobType_list_item_headBox_txtWrap {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* カルーセル画像のアスペクト比保持 */
.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.bl_jobType_list_item_headBox_chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.bl_jobType_list_item.is-open .bl_jobType_list_item_headBox_chevron {
    transform: rotate(180deg);
}

/* 画像拡大モーダル (共通) */
.bl_image_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-height: 90vh;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.bl_image_modal.is-active {
    visibility: visible;
    opacity: 1;
}

.bl_image_modal_inner {
    position: relative;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.js_imageModalCloseBtn {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}

.bl_image_modal_scroll {
    overflow-x: auto;
    /* 横スクロール有効 */
    -webkit-overflow-scrolling: touch;
    max-height: 80vh;
    overflow-y: auto;
}

.bl_image_modal_scroll img {
    height: 80vh;
    /* 高さ基準で表示 */
    width: auto;
    max-width: none;
    /* 幅制限解除 */
    min-width: 100%;
    /* 最低でも画面幅 */
    transition: opacity 0.5s ease;
}

.bl_image_modal_inner.is-loading img {
    opacity: 0;
}

.bl_image_modal_note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}

.bl_image_modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.bl_image_modal_bg.is-active {
    visibility: visible;
    opacity: 1;
}

/* ============================================
 * タブレット (769px ~ 1024px)
 * ============================================ */
@media only screen and (min-width: 769px) and (max-width: 1024px) {

    /* カルーセル */
    .slider-wrap {
        padding: 16px 0 24px;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-slide img {
        width: auto;
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }

    /* 職種紹介 */
    .bl_jobType {
        padding: 24px;
    }

    .bl_jobType_list_item_headBox_head {
        font-size: 2.6rem;
    }

    /* キャリア・未来セクション */
    .bl_career,
    .bl_future {
        padding: 24px;
    }
}

/* ============================================
 * スマートフォン (768px以下)
 * ============================================ */
@media only screen and (max-width: 768px) {
    br.sp {
        display: block;
    }

    .hp_px_sp_2 {
        text-align: left;
    }

    .bl_mv_ttl {
        font-size: 3.8rem;
        text-align: center;
    }

    .el_link_btn a {
        line-height: 40px;
    }

    /* --- メインビジュアル --- */
    .bl_mv.layout02.introduction {
        padding: 90px 12px 20px;
    }

    .bl_mv.layout02.introduction .bl_mv_content {
        text-align: center;
    }

    .bl_mv.layout02.introduction .bl_mv_ttl {
        font-size: 4.2rem;
    }

    .bl_mv.layout02.introduction .bl_mv_ttl_txt {
        font-size: 1.8rem;
        line-height: 1.7;
        margin-top: 12px;
    }

    /* --- カルーセル --- */
    .slider-wrap {
        padding: 16px 0 20px;
    }

    .swiper {
        overflow: hidden;
        padding: 0 10%;
    }

    .swiper-slide {
        opacity: 0.3;
        transform: scale(0.85);
        transition: opacity 0.3s, transform 0.3s;
    }

    .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
    }

    .swiper-pagination {
        margin-top: 16px;
    }

    /* --- 職種紹介セクション --- */
    .bl_jobType {
        padding: 20px 12px;
    }

    .bl_section_head {
        gap: 6px;
        text-align: center;
    }

    .el_head_txt {
        font-size: 1.8rem;
    }

    .bl_jobType_list {
        margin-top: 16px;
    }

    /* --- アコーディオン（カテゴリ） --- */
    .bl_jobType_list_item {
        margin-bottom: 10px;
    }

    .bl_jobType_list_item_headBox {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        cursor: pointer;
    }

    .bl_jobType_list_item_headBox_txtWrap {
        flex: 1;
    }

    .bl_jobType_list_item_headBox_head {
        font-size: 2.4rem;
        font-weight: bold;
        margin: 0;
    }

    .bl_jobType_list_item_headBox_txt {
        font-size: 1.2rem;
        margin-top: 4px;
        color: #555;
    }

    .bl_jobType_list_item_headBox_chevron {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        margin-left: 12px;
        transition: transform 0.3s;
    }

    .bl_jobType_list_item.is-open .bl_jobType_list_item_headBox_chevron {
        transform: rotate(180deg);
    }

    /* --- 職種ボタン（アコーディオン内） --- */
    .bl_jobType_list_item_acdMenu {
        padding: 8px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .bl_jobType_list_item_acdMenu_modalBtn {
        padding: 12px 8px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bl_jobType_list_item_acdMenu_modalBtn_head {
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: center;
        width: 100%;
    }

    .bl_jobType_list_item_acdMenu_modalBtn_head picture {
        display: block;
        width: 100%;
    }

    .bl_jobType_list_item_acdMenu_modalBtn_head img {
        width: 36px;
        height: 36px;
        margin: 0 auto;
    }

    .bl_jobType_list_item_acdMenu_modalBtn_head_txt {
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1.3;
    }

    /* スマートフォンでは「詳しく見る」を非表示 */
    .bl_jobType_list_item_acdMenu_modalBtn_guide {
        display: none;
    }

    /* --- モーダル --- */
    .bl_modal {
        width: 100%;
        padding: 20px 10px;
    }

    .bl_modal_inner {
        padding: 0;
    }

    .bl_modal_headBox {
        padding: 16px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
    }

    .bl_modal_headBox_head img {
        width: 32px;
        height: 32px;
    }

    .bl_modal_headBox_head_txt {
        font-size: 1.5rem;
    }

    .bl_modal_closeBtn {
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .bl_modal_summary {
        flex-direction: column;
    }

    .bl_modal_image {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: relative;
        height: 240px;
        background-color: #000;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden;
    }

    .bl_modal_image::before {
        content: "";
        position: absolute;
        top: -15%;
        left: -15%;
        width: 130%;
        height: 130%;
        background-image: inherit;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(15px);
        opacity: 0.6;
        z-index: 0;
    }

    .bl_modal_image img,
    .bl_modal_image picture {
        position: relative;
        z-index: 1;
        width: auto !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block;
        transition: opacity 0.5s ease;
    }

    .bl_modal_image.is-loading img {
        opacity: 0;
    }

    /* モバイルではPCのフェードは完全に消す */
    .bl_modal_image::after {
        display: none !important;
    }

    .bl_modal_summary_txtBox {
        padding: 32px 24px;
        text-align: center;
    }

    .bl_modal_summary_txtBox_txt {
        font-size: 1.5rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 32px;
        text-align: left;
    }

    .bl_modal_summary_btn {
        margin-top: 12px;
    }

    .bl_modal_summary_btn a {
        font-size: 1.3rem;
        padding: 10px 20px;
    }

    /* --- キャリアアップ --- */
    .bl_career {
        padding: 20px 12px;
    }

    .el_sub_head {
        font-size: 1.5rem;
        text-align: center;
    }

    .bl_career_card {
        margin-top: 16px;
    }

    .bl_career_card_inner {
        padding: 12px;
    }

    .bl_career_card_img {
        /* overflow-x: auto; 削除 */
        text-align: center;
    }

    .bl_career_card_img img {
        /* min-width: 500px; 削除 */
        width: 100%;
        height: auto;
        cursor: pointer;
        /* クリック可能を示す */
    }

    .bl_career_scroll_txt {
        font-size: 1.1rem;
        text-align: center;
        color: #888;
        margin-top: 6px;
    }

    .el_link_btn {
        margin-top: 16px;
    }

    .el_link_btn a {
        font-size: 1.3rem;
        padding: 10px 24px;
    }

    /* --- 建設業の未来 --- */
    .bl_future {
        padding: 20px 0;
    }

    .bl_future_headBox {
        padding: 80px 12px 100px;
        position: relative;
        z-index: 0;
        isolation: isolate; /* Safariのブレンドモード/重ね合わせバグ対策 */
        /* スタッキングコンテキスト生成 */
    }

    .bl_future_headBox .el_black_bg {
        position: relative;
        z-index: 1; /* 背景画像より前に表示 */
    }

    .bl_future_headBox .el_bgContent {
        display: block;
        width: 100%;
        height: 100%; /* 親要素に合わせる */
        position: absolute;
        top: 0; /* 追加: 高さを確定させる */
        left: 0;
        z-index: 0; /* -1から0に変更し、Safariでの消失を防止 */
        pointer-events: none; /* 背面画像がクリックを邪魔しないように */
    }

    .bl_future_headBox .el_bgContent img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        /* 形に合わせて引き伸ばす */
    }

    .el_txt.decoration02 {
        font-size: 3.8rem;
        text-align: center;
        display: flex;
        align-items: center;
    }

    .el_head_note.large {
        font-size: 1.3rem;
        text-align: center;
    }

    .el_head_note.large {
        font-size: 1.8rem;
        font-weight: bold;
        color: #525252;
        line-height: 1;
        text-align: center;
        margin-top: 24px;
    }

    .bl_future_summary {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding: 0 12px;
    }

    .bl_future_summary_item {
        width: 100%;
    }

    .bl_future_summary_box {
        padding: 12px;
    }

    .bl_future_summary_box_num img {
        width: 18px;
        height: 18px;
    }

    .bl_future_summary_box_txtBox_head {
        font-size: 1.6rem;
    }

    .bl_future_summary_box_txtBox_txt {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    /* --- CCUS --- */
    .bl_future_article {
        margin-top: 12px;
        padding: 12px;
    }

    .bl_future_article_head {
        font-size: 1.5rem;
    }

    .bl_future_article_head_txt {
        font-size: 1.7rem;
    }

    .bl_future_article_img {
        margin: 12px 0;
    }

    .bl_future_article_img img {
        width: 140px;
    }

    .bl_check_list li {
        font-size: 1.6rem;
    }

    .bl_future_article_txt {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    /* --- グラフ --- */
    .bl_future_grah {
        padding: 16px 12px;
    }

    .bl_grah {
        overflow-x: auto;
    }

    .bl_grah canvas {
        min-width: 280px;
    }

    .bl_grah_txt {
        font-size: 1.1rem;
    }

    .bl_future_grah_note {
        font-size: 1rem;
        line-height: 1.5;
    }

    .bl_future_grah_conditions {
        margin-top: 12px;
    }

    .bl_future_grah_conditions_inner {
        padding: 10px;
    }

    .bl_future_grah_conditions_head {
        font-size: 1.3rem;
    }

    .bl_future_grah_conditions_list li {
        font-size: 1.6rem;
    }

    /* --- 収入予測 --- */
    .bl_future_change {
        padding: 16px 12px;
    }

    .bl_future_change_grah {
        gap: 12px;
    }

    .bl_future_change_grah_card {
        width: 100%;
    }

    .bl_future_change_grah_card_head {
        font-size: 1.3rem;
    }

    .bl_future_change_grah_content_list {
        gap: 10px;
    }

    .bl_future_change_grah_content_list_year {
        font-size: 1.2rem;
    }

    .bl_future_change_grah_content_list_yen {
        font-size: 1.5rem;
    }

    /* --- ポイント --- */
    .bl_future_point {
        padding: 16px 12px;
    }

    .bl_future_point_more {
        flex-direction: column;
        gap: 10px;
    }

    .bl_future_point_more_head {
        font-size: 1.5rem;
    }

    .bl_future_point_more_txtBox_txt {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .bl_future_point_more_txtBox_note {
        font-size: 1.1rem;
    }

    .bl_future_point_list {
        margin-top: 12px;
    }

    .bl_future_point_list_head {
        font-size: 1.8rem;
    }

    .bl_future_point_list_content_txt {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    /* --- フッター --- */
    .bl_footer {
        padding: 20px 12px;
    }

    .bl_footer_detailBox {
        flex-direction: column;
        gap: 16px;
    }

    .bl_footer_ttl {
        font-size: 1.6rem;
    }

    .bl_footer_txt {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .bl_footer_info {
        margin-top: 8px;
    }

    .bl_footer_info_ttl {
        font-size: 1.1rem;
    }

    .bl_footer_info_txt {
        font-size: 1.3rem;
    }

    .bl_footer_sns_list {
        gap: 12px;
        justify-content: center;
    }

    .bl_footer_sns_list li a img {
        width: 26px;
        height: 26px;
    }

    .bl_footer_copylight {
        font-size: 1rem;
        margin-top: 16px;
    }
}

/* ============================================
 * 小型スマートフォン (480px以下)
 * ============================================ */
@media only screen and (max-width: 480px) {

    .bl_mv.layout02.introduction .bl_mv_ttl {
        margin-top: 6rem;
        margin-bottom: 2rem;
        font-size: 3rem;
    }

    .bl_mv.layout02.introduction .bl_mv_ttl_txt {
        font-size: 1.8rem;
    }

    .bl_jobType_list_item_headBox_head {
        font-size: 2.6rem;
    }

    .bl_jobType_list_item_acdMenu_modalBtn_head_txt {
        font-size: 1.3rem;
    }

    .swiper-slide img {
        max-width: 220px;
    }

    .bl_modal {
        width: 100%;
        padding: 10px 5px;
    }

    .bl_modal_image {
        /* max-width: 200px; */
        position: relative;
        height: 30vh;
    }
}