.logo img {
    width: 100%;
    max-width: 225px;
    vertical-align: text-top;
    margin-left: 5px;
    margin-top: 5px;
}

/* 先輩社員の声部分 ↓ */
/* カルーセル全体のコンテナをフレックスボックス化 */
.index_carousel {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    /* アイテムが増えたら折り返しを許可 */
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 個別のアイテム（item1など）の挙動を調整 */
.index_carousel .item {
    float: none !important;
    /* TCD標準の横並び設定を解除 */
    display: inline-block !important;
    margin: 10px !important;
    /* アイテム同士の隙間 */
    width: 500px !important;
    /* 150px〜300px程度、デザインに合わせて調整してください */
}

/* スライダー用のライブラリ（Slick）が動いている場合の対策 */
.index_carousel .slick-track {
    display: flex !important;
    justify-content: center !important;
    transform: none !important;
    width: auto !important;
}

/* .index_carousel .item {
    float: none !important;
    display: inline-block !important;
    margin: 10px !important;
    width: 800px !important;
} */

.animate_background .image {
    /* background-size: contain !important; */
}


/* 先輩社員の声部分 ↑ */


.index_content2 .image_content {
    width: 100%;
    height: 580px;
    margin: 0 0 50px 0;
    position: relative;
}

/* タイトル本体（バーのベース） */
/* カルーセル内のタイトル位置を微調整 */
.index_carousel .index_cb_header {
    padding-top: 40px;
    padding-bottom: 20px;
}

/* タイトルエリア全体の調整 */
.index_cb_header {
    overflow: hidden;
    /* バーが画面右端からはみ出るのを防ぐ */
    padding: 20px 0 !important;
    text-align: center;
    margin-bottom: unset !important;
}

/* タイトル本体（バーのベース） */
.index_cb_header .catch {
    position: relative;
    display: inline-block;
    padding: 15px 60px;
    /* 文字の周りの余白 */
    color: #fff !important;
    font-size: 30px;
    font-weight: bold;
    z-index: 1;
}

/* 右端まで伸びる背景バー */
.index_cb_header .catch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw;
    /* 画面幅の2倍の長さを確保（右へ突き抜ける） */
    height: 100%;
    background-color: #007bff;
    /* 大城組様のコーポレートカラーに合わせて変更してください */
    transform: skewX(-20deg);
    /* 平行四辺形に傾ける */
    transform-origin: left bottom;
    z-index: -1;
}

/* タイトル本体（バーのベース） */

/* --- フリースペース用 3列バナー --- */

/* コンテナ全体（3つを横に並べる） */
.custom_works_grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    /* バナー同士の隙間 */
    width: 100%;
    margin: 0 auto;
}

/* 各バナーの枠 */
.custom_work_item {
    position: relative;
    display: block;
    width: calc(33.333% - 10px);
    /* 3等分して隙間を引く */
    overflow: hidden;
    /* はみ出した画像を隠す */
    text-decoration: none !important;
}

/* 背景画像エリア */
.custom_work_item .work_img {
    width: 100%;
    padding-top: 110%;
    /* ここの数字で縦横比を調整（100%で正方形、数字を大きくすると縦長になります） */
    background-size: cover;
    background-position: center center;
    transition: transform 0.5s ease;
    min-height: 360px;
    /* ホバー時にゆっくり動かす */
}

/* 画像に薄い黒のグラデーションをかける（白い文字を読みやすくするため） */
.custom_work_item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* テキストを配置するエリア */
.custom_work_item .work_text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    z-index: 2;
    box-sizing: border-box;
}

/* 説明文 */
.custom_work_item .desc {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* 文字に影をつけて視認性アップ */
}

/* サブタイトル */
.custom_work_item .sub {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #eee;
}

/* メインタイトル */
.custom_work_item .title {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    color: #fff !important;
}

/* PCでマウスを乗せた時（ホバー）の動き：画像だけが少し拡大する */
.custom_work_item:hover .work_img {
    transform: scale(1.05);
}

/* アイコンとテキストを横並びにして中央に揃える */
.custom_work_item .title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    /* 左揃え。中央にしたい場合は center */
}

/* アイコン自体のスタイル調整 */
.custom_work_item .title .material-icons {
    margin-right: 10px;
    /* 文字との隙間 */
    font-size: 28px;
    /* アイコンの大きさ */
    color: #00BFFF;
    /* アイコンの色（大城組様のスカイブルー） */
    vertical-align: middle;
}

.title_size_k {
    font-size: 3.0rem !important;
}

.index_free_space {
    padding: 50px 0;
}

.main_color {
    background-color: #007bff !important;
}

.blog_list_front .category a {
    background: #2e7d32;
}

.custom_concept_section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.concept_flex {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.concept_image {
    flex: 1;
    transform: translateX(-50px);
    /* 少し左にはみ出させてダイナミックに */
    opacity: 0.9;
}

.concept_text {
    flex: 1;
    text-align: left;
    /* background-image: url('../img_k/footer_bkimg.jpg'); */
}

.concept_text h2 {
    font-size: 2.4rem;
    line-height: 1.8;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.concept_text h2 span {
    font-size: 20px;
    color: #666;
    display: block;
    margin-top: 15px;
}

#footer {
    margin-top: 80px;
}

#footer {
    /* 背景画像の設定 */
    background-image: url('../img_k/footer_bkimg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* 視差効果（不要なら削除してください） */

    /* 円弧デザインとレイアウト */
    border-radius: 80% 80% 0 0 / 50px 50px 0 0;
    /* margin-top: -30px; */
    position: relative;
    z-index: 1;
    /* フィルターより下に配置 */
    overflow: hidden;
    padding-top: 60px;
    /* 上部の余白 */
}

/* 青いフィルター（オーバーレイ）を擬似要素で作成 */
#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(242, 242, 242, 0.8);
    /* 青いフィルターの色と濃さ */
    z-index: -1;
    /* 背景画像とコンテンツの間に配置 */
}

/* フッター内部の文字がフィルターの下に隠れないように調整 */
#footer_inner {
    position: relative;
    z-index: 2;
}

.pc #global_menu>ul>li>a {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 4px 4px 10px rgba(0, 0, 0, 0.3);
}

/* フッター歴史バナー全体のレイアウト */
.footer_history_banners {
    display: flex;
    justify-content: center;
    /* 中央寄せ */
    gap: 20px;
    /* バナー同士の隙間 */
    margin-top: 30px;
    margin-bottom: 50px;
    /* 住所・電話番号との間の余白 */
    width: 100%;
}

/* 各バナーのスタイル */
.history_banner {
    flex: 0 1 280px;
    /* 最大幅280pxで可変 */
    transition: opacity 0.3s ease;
}

.history_banner img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    /* 境界線（画像2のイメージに合わせる） */
}

/* ホバー時の演出 */
.history_banner:hover {
    opacity: 0.8;
}

#footer_inner {
    padding: 100px 0 20px;
}


.index_blog_list {
    padding: unset;
}

/* スマホでは縦並びに戻す */
@media screen and (max-width: 1050px) {
    .concept_flex {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .concept_image {
        transform: none;
        width: 100%;
    }

    .concept_text {
        text-align: center;
    }
}


/* スマホ表示での調整 */
@media screen and (max-width: 1050px) {
    .custom_work_item .title .material-icons {
        font-size: 24px;
    }
}

/* --- 1050px以下のレスポンシブ（スマホ・タブレット対応） --- */
@media screen and (max-width: 767px) {
    .custom_works_grid {
        flex-direction: column;
        /* 縦並びに変更 */
        gap: 30px;
        /* 縦の隙間を広げる */
        padding: 0 15px;
        /* 画面の左右に少し余白を作る */
    }

    .custom_work_item {
        width: 100%;
        /* 横幅いっぱいにする */
    }

    .custom_work_item .work_img {
        padding-top: 60%;
        /* スマホでは縦長すぎないよう、少し横長（長方形）に調整 */
    }

    .title_size_k {
        font-size: 2.2rem !important;
        text-align: left !important;
    }
}

/* スマホ表示での調整（文字サイズダウン） */
@media screen and (max-width: 767px) {
    .index_cb_header .catch {
        font-size: 20px;
        padding: 10px 30px;
    }

    .index_cb_header .catch::before {
        left: -10px;
        /* スマホでは少し左にずらしてバランス調整 */
    }

    .concept_text h2 {
        text-align: left;
    }
}

/* ----------------------------------
   レスポンシブ対応（横幅480px以下）
----------------------------------- */
@media screen and (max-width: 480px) {
    .footer_history_banners {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
        /* 中央揃え */
        gap: 15px;
        /* 縦に並んだ時の隙間 */
    }

    .history_banner {
        flex: none;
        width: 100%;
        /* 横幅いっぱいに */
        max-width: 300px;
        /* スマホで見やすい最大幅 */
    }
}