body::before {
    background-image: url(../img_k/okimap_bk2.png);
    background-position: center;
    background-repeat: no-repeat;
    /* background-size: cover; */
    /* -webkit-background-size: cover; */
    -moz-background-size: cover;
    -o-background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
    padding: 3% 0;
    content: "";
    z-index: -10;
}


.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;
}

/* --- 工事実績などの青い見出しバーの下に光るラインを追加 --- */

/* 見出しの基準点の設定（念のため） */
.index_cb_header .catch {
    position: relative !important;
    font-size: 2.5rem !important;
}

/* 光るグラデーションラインの追加 */
.index_cb_header .catch::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    /* 背景の青い帯（::before）と全く同じ幅・角度に合わせるのがポイント */
    width: 200vw;
    height: 10px;
    /* 線の太さ */
    transform: skewX(-20deg);
    transform-origin: left bottom;
    z-index: 0;
    /* 青い背景(-1)の上、文字より下のレイヤーに配置 */

    /* 光るグラデーション（大城組ブルー × 水色 × 黄色） */
    background: linear-gradient(to right,
            #0063A7 0%,
            /* 大城組ブルー */
            #00A0E9 25%,
            /* 水色 */
            #FFD700 50%,
            /* 鮮やかな黄色 */
            #00A0E9 75%,
            /* 水色 */
            #0063A7 100%
            /* 大城組ブルー */
        );
    background-size: 200% auto;
    animation: shineLine 4s linear infinite;
    /* 左から右へ流れる */
}

/* ※ヘッダーのカスタマイズで既に @keyframes shineLine を追加している場合は、
   以下の3行は省略してもそのまま同じ動きを使い回してくれます */
@keyframes shineLine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: 0% center;
    }
}


/* タイトル本体（バーのベース） */

/* --- フリースペース用 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: rgba(255, 255, 255, 0.5);
    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;
}


/* --- 案A：和モダン・カギ括弧フレーム --- */
.concept_text {
    flex: 1;
    text-align: left;
    position: relative;
    /* 必須：枠線の基準点になります */
    padding: 38px 38px;
    /* 枠線と文字がぶつからないように内側に余白を作る */
    background-color: transparent;
}

/* 左上のアクセント線 */
.concept_text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 3px solid #000;
    /* 大城組ブルー */
    border-left: 3px solid #000;
}

/* 右下のアクセント線 */
.concept_text::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
}

.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/osg_b.png');
    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.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;
}


/* --- パートナーページ：タイトルバーとリード文 --- */

/* 1枚目画像の横長ブルーバー */
.partner_simple_title_bar {
    background-color: #4da6ff;
    /* 現行サイトに近い明るいブルー */
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    padding: 18px 30px;
    margin-bottom: 40px;
    width: 100%;
}

/* 1枚目画像の中央揃えテキスト */
.partner_intro_text {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* --- パートナーページ：ボタンエリア --- */

.partner_doc_section {
    margin-bottom: 60px;
}

.partner_doc_title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #4da6ff;
    /* タイトルバーと同じ色 */
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.partner_doc_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.partner_doc_links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    text-decoration: none;
    font-weight: normal;
    transition: opacity 0.3s ease;
    line-height: 1.6;
}

.partner_doc_links a:hover {
    opacity: 0.8;
}

.btn_excel,
.btn_pdf {
    width: calc(50% - 10px);
    color: #fff !important;
}

.btn_excel {
    background-color: #315c36;
    /* Excelの緑 */
}

.btn_pdf {
    background-color: #213c84;
    /* PDFの青 */
}

.btn_example {
    width: 40%;
    margin-top: 10px;
    background-color: #fff;
    color: #315c36 !important;
    border: 1px solid #315c36;
}

/* --- 派手でかっこいい！ブルー強調型お問い合わせフォーム --- */

/* 1. TCDの不要な枠線を強制リセット */
body #main_content .wpcf7,
body .post_content .wpcf7,
body .wpcf7 {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

/* 2. フォーム全体（ブルーのトップラインと影で存在感を出す） */
.custom-corporate-form {
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 99, 167, 0.15);
    /* 影も少し青みがからせる */
    border: 1px solid #e0e6ed;
    border-top: 6px solid #0063A7;
    /* 上部に太いブルーのアクセントライン */
    overflow: hidden;
}

/* 3. 各行の設定 */
.custom-corporate-form .form-row {
    display: flex;
    border-bottom: 1px solid #e0e6ed;
}

.custom-corporate-form .form-row:last-child {
    border-bottom: none;
}

/* 4. 項目名（左側のエリア）★ここを大胆なブルーグラデーションに★ */
.custom-corporate-form .form-label {
    width: 32%;
    background: linear-gradient(135deg, #0063A7 0%, #004575 100%);
    /* 大城組ブルーのグラデーション */
    padding: 30px 25px;
    display: flex;
    align-items: flex-start;
    font-weight: 700;
    color: #ffffff;
    /* 青背景に映える白文字 */
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.6;
    border-right: 1px solid #003a63;
}

/* 5. 「必須」バッジ（青背景に負けない白バッジ×青文字） */
.custom-corporate-form .req-badge {
    background-color: #ffffff;
    color: #0063A7;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: 1px;
}

/* 6. 入力エリア（右側のエリア） */
.custom-corporate-form .form-input {
    width: 68%;
    padding: 25px 30px;
    background-color: #f8fbff;
    /* 入力側もうっすらと青みを入れる */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 7. 入力ボックス自体のデザイン */
.custom-corporate-form input[type="text"],
.custom-corporate-form input[type="email"],
.custom-corporate-form input[type="tel"],
.custom-corporate-form textarea {
    width: 100% !important;
    padding: 16px 18px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    font-size: 16px !important;
    color: #1e293b !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 入力中（フォーカス時）の強烈な青発光エフェクト */
.custom-corporate-form input:focus,
.custom-corporate-form textarea:focus {
    background-color: #ffffff !important;
    border-color: #0063A7 !important;
    box-shadow: 0 0 0 4px rgba(0, 99, 167, 0.2) !important;
    outline: none !important;
}

/* テキストエリアの高さ */
.custom-corporate-form textarea {
    min-height: 220px !important;
    resize: vertical !important;
}

/* 注意書きの赤文字（少し暗めの赤にして見やすく） */
.custom-corporate-form .red-note {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #d32f2f;
    font-weight: bold;
}

/* --- 8. 送信ボタン（さらに派手なエフェクト） --- */
.messageBtn {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.messageBtn input[type="submit"] {
    background: linear-gradient(135deg, #0077c9 0%, #004575 100%) !important;
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: bold !important;
    letter-spacing: 3px !important;
    padding: 22px 50px !important;
    height: auto !important;
    /* ★追加：TCDの高さ制限を解除 */
    line-height: 1 !important;
    /* ★追加：行間をリセットして完璧な中央寄せに */
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(0, 99, 167, 0.3) !important;
    -webkit-appearance: none !important;
}

/* ホバー時に大きく光って浮き上がる */
.messageBtn input[type="submit"]:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(0, 99, 167, 0.5) !important;
}

#main_contents-contact {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

/* --- お問い合わせフォーム タイトル装飾 --- */
.form-header-title {
    text-align: center;
    margin-bottom: 40px;
}

.form-header-title .eng-title {
    display: block;
    font-size: 42px;
    /* 大きくしてインパクトを出す */
    font-weight: bold;
    color: #0063A7;
    /* 大城組ブルー */
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.form-header-title .jp-title {
    display: inline-block;
    font-size: 14px;
    color: #666;
    letter-spacing: 3px;
    margin-top: 5px;
}

/* --- 個人情報保護方針リンクボタン --- */
.privacy-policy-wrap {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-policy-wrap .privacy-note {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.privacy-policy-wrap .privacy-btn {
    display: inline-block;
    padding: 14px 50px;
    background-color: #ffffff;
    color: #0063A7;
    border: 2px solid #0063A7;
    /* 白背景に青い枠線で「送信」と区別する */
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* マウスを乗せた時の動き（色が反転する） */
.privacy-policy-wrap .privacy-btn:hover {
    background-color: #0063A7;
    color: #ffffff;
    text-decoration: none;
}

.gmap {
    width: 100%;
    margin-bottom: -8px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

/* #header {
    background-color: #fff !important;
    height: 70px;
    border-top: 3px solid #0063A7;
    box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
} */

.pc #global_menu>ul>li>a {
    height: 65px;
}

.rinen-fontfamily {
    font-family: 'HG行書体', serif;
    font-weight: normal;
}

#return_top {
    z-index: 9999999;
}

#blur_bg {
    position: unset !important;
}

.text_shadow_k {
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8), 0px 0px 5px rgba(255, 255, 255, 0.6);
}

/* ========================================================
   案B＋C統合版：すりガラス × 黄色アクセントの光るライン
======================================================== */

/* 1. ヘッダー全体のベース（すりガラス効果：透明度0.4） */
#header {
    background-color: rgba(255, 255, 255, 0.4) !important;
    /* ★透明度0.4のまま */
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    height: 70px !important;
    border-top: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    position: absolute !important;
}

/* 2. ヘッダー【上部】に光るグラデーションの線を引く */
#header::after {
    content: "";
    position: absolute;
    top: 0;
    /* ★ここを変更：bottom: 0; から top: 0; にして上に配置 */
    left: 0;
    width: 100%;
    height: 5px;
    /* 線の太さ */
    /* 青〜水色〜黄色〜水色〜青（横方向のグラデーション） */
    background: linear-gradient(to right,
            #0063A7 0%,
            /* 大城組ブルー */
            #00A0E9 25%,
            /* 水色 */
            #FFD700 50%,
            /* 鮮やかな黄色 */
            #00A0E9 75%,
            /* 水色 */
            #0063A7 100%
            /* 大城組ブルー */
        );
    background-size: 200% auto;
    animation: shineLine 4s linear infinite;
    /* 4秒かけて流れる */
}

/* 3. 左から右へ光が流れるアニメーションの設定（そのまま） */
@keyframes shineLine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* 4. メニュー文字の極薄い影（そのまま） */
#global_menu>ul>li>a {
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

#page_header_catch {
    text-shadow: 1px 1px 30px #4da6ff, -1px 1px 30px #4da6ff, 1px -1px 30px #4da6ff, -1px -1px 30px #4da6ff !important;
}

.work_area .child_category_list .headline {
    background-color: #fff;
}

.work_list .item .title span {
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8), 0px 0px 5px rgba(255, 255, 255, 0.6);
}


#footer_logo .logo {
    width: 100%;
    height: 100px;
}

#index_slider .caption {
    padding: 0;
    width: 800px;
    margin: auto;
    position: absolute;
    text-align: center;
    z-index: 4;
    left: 1%;
    right: unset;
    top: unset;
    bottom: 1%;
    text-align: left;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#index_slider .desc {
    /* font-size: 80px;
    color: #FFFFFF;
    text-shadow: 3px 3px 3px #545454; */
    font-family: 'Yuji Syuku', serif !important;
    font-weight: normal !important;
}

#blog_list .category a,
#single_category a {
    color: #fff !important;
    background: #000000;
}

#blog_list .excerpt {
    background-color: #fff !important;
}

.single_bk {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.5% !important;
    width: 1000px;
}

#page_header.small {
    display: block !important;
    height: 250px !important;
}

#post_title_area .title {
    background-color: #304ffe;
    text-indent: 1rem;
    color: #fff;
}

#single_work_title_area {
    background-color: rgba(255, 255, 255, 0.7);
}

#next_prev_post2 .title_area {
    background-color: rgba(255, 255, 255, 0.7);
}

/* --- 9. スマホ対応 --- */
@media screen and (max-width: 768px) {
    .custom-corporate-form {
        border-radius: 8px;
    }

    .custom-corporate-form .form-row {
        flex-direction: column;
    }

    .custom-corporate-form .form-label {
        width: 100%;
        padding: 20px;
        border-right: none;
    }

    .custom-corporate-form .form-input {
        width: 100%;
        padding: 20px;
    }

    .messageBtn input[type="submit"] {
        width: 100% !important;
        padding: 20px 0 !important;
    }
}


@media screen and (max-width: 768px) {
    .partner_simple_title_bar {
        font-size: 16px;
        padding: 15px 20px;
    }

    .partner_intro_text {
        font-size: 15px;
        text-align: left;
        /* スマホでは左揃えの方が見やすいです */
    }

    .btn_excel,
    .btn_pdf,
    .btn_example {
        width: 100%;
    }
}


/* スマホでは縦並びに戻す */
@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;
    }

    #main_contents-contact {
        padding: 60px 0;
    }

    .wpcf7 form {
        margin: unset !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;
        /* スマホで見やすい最大幅 */
    }
}