@charset "utf-8";

/* ==========================================================================
   1. Reset & Base Settings (基本設定)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* レイアウト崩れ防止に追加推奨 */
}

html, body {
    height: 100%;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    font-size: 15px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #333;
}

/* リンク・画像・リストの基本 */
a {
    color: #6200EE;
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
}
a:hover {
    text-decoration: none;
}

img {
    vertical-align: middle;
    border: 0;
    width: auto;
    height: auto;
    max-width: 100%; /* 画像のはみ出し防止 */
}

ul, ol {
    list-style: none;
}

/* 見出し (Headings) */
h1 { font-size: 3em; line-height: 1; }
h2 { font-size: 2.3em; line-height: 1.3333; margin-bottom: 1em; position: relative; text-align: center; letter-spacing: 1px; }
h3 { font-size: 2.3em; line-height: 1; margin-bottom: 2em; }
h4, h5, h6 { font-size: 1.4em; line-height: 1.5; margin-bottom: 0.5em; }
p { font-size: 16px; }

@media (max-width: 900px) {
    html { font-size: 87.5%; }
    h3 { font-size: 1.6em; }
    h4, h5, h6 { font-size: 1.4em; margin-bottom: 0.7em; }
}


/* ==========================================================================
   2. Utilities (ユーティリティクラス)
   ========================================================================== */
/* マージン・パディング制御 */
.mt0 { margin-top: 0 !important; }
.mt05 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mt15 { margin-top: 15px !important; }
.mt20 { margin-top: 20px !important; }
.mt25 { margin-top: 25px !important; }
.mt30 { margin-top: 30px !important; }
.mt35 { margin-top: 35px !important; }
.mt40 { margin-top: 40px !important; }

.mb0 { margin-bottom: 0 !important; }
.mb05 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb25 { margin-bottom: 25px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb35 { margin-bottom: 35px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb45 { margin-bottom: 45px !important; }
.mb50 { margin-bottom: 50px !important; }
.mb80 { margin-bottom: 80px !important; }
.mb100 { margin-bottom: 100px !important; }

.mr0 { margin-right: 0 !important; }
.mr05 { margin-right: 5px !important; }
.mr10 { margin-right: 10px !important; }
.mr15 { margin-right: 15px !important; }
.mr20 { margin-right: 20px !important; }
.mr25 { margin-right: 25px !important; }
.mr30 { margin-right: 30px !important; }

.ml0 { margin-left: 0 !important; }
.ml05 { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.ml15 { margin-left: 15px !important; }
.ml20 { margin-left: 25px !important; }
.ml25 { margin-left: 25px !important; }
.ml30 { margin-left: 30px !important; }

.pt0 { padding-top: 0 !important; }
.pt05 { padding-top: 5px !important; }
.pt10 { padding-top: 10px !important; }
.pt15 { padding-top: 15px !important; }
.pt20 { padding-top: 20px !important; }
.pt25 { padding-top: 25px !important; }
.pt30 { padding-top: 30px !important; }
.pt35 { padding-top: 35px !important; }
.pt40 { padding-top: 40px !important; }

.pb0 { padding-bottom: 0 !important; }
.pb05 { padding-bottom: 5px !important; }
.pb10 { padding-bottom: 10px !important; }
.pb15 { padding-bottom: 15px !important; }
.pb20 { padding-bottom: 20px !important; }
.pb25 { padding-bottom: 25px !important; }
.pb30 { padding-bottom: 30px !important; }
.pb35 { padding-bottom: 35px !important; }
.pb40 { padding-bottom: 40px !important; }

.mh500 { min-height: 500px !important; }

/* 配置・表示系 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text_right { text-align: right; padding-right: 100px; }
.break-word { word-wrap: break-word; }
.clearfloat { clear: both; }

/* スクリーンリーダー用（非表示） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

/* スクロール調整 */
section[id] { scroll-margin-top: 100px; }


/* ==========================================================================
   3. Header (ヘッダーエリア)
   ========================================================================== */
/* --- 全画面共通設定 --- */
header {
    height: 60px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0px 15px;
    position: fixed;
    top: 0;
    display: flex;
    font-size: 1em;
    box-sizing: border-box;
}

.logo { float: left; }
nav { margin: 0 0 0 auto; }

.logo img {
    width: 163px;
}

/* =========================================================
   PC用ヘッダースタイル (1000px以上)
   ========================================================= */
@media (min-width: 1000px) {
    header {
        background-color: rgba(255, 255, 255, .95);
        border-radius: 6px;
        align-items: center;
        margin-top: 8px;
        max-width: 92%;
    }

    /* SP用要素を非表示 */
    .sp-nav, #hamburger { display: none; }

    /* --- PCナビゲーション基本 --- */
    #header .pc-nav ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    #header .pc-nav > ul > li > a {
        display: block;
        position: relative; /* アニメーション下線の基準点 */
        text-decoration: none;
        line-height: 20px;
        padding: 0 20px;
        color: #000;
        transition: color .3s;
        margin: 16px 0;
    }

    /* ホバー時の文字色変更 */
    #header .pc-nav > ul > li > a:hover,
    #header.transform .pc-nav > ul > li > a:hover { 
        color: #6EAE43; 
    }

    /* ★ 左から伸びるアニメーション下線の設定 ★ */
    #header .pc-nav > ul > li > a::after {
        content: '';
        position: absolute;
        /* 余白(padding-left: 20px)の分だけずらし、文字の左端からスタートさせる */
        left: 20px; 
        bottom: -5px; 
        width: 0;
        height: 2px;
        background-color: #6EAE43;
        transition: width 0.3s ease;
    }

    /* ホバー時に下線を伸ばす（左右の余白合計40px分を引いて文字幅に合わせる） */
    #header .pc-nav > ul > li > a:hover::after {
        width: calc(100% - 40px);
    }

    /* お問い合わせボタン（赤色強調）*/
    #header .pc-nav ul li a.nav-contact-btn {
        background-color: #DB1034;
        color: #ffffff;
        padding: 10px 24px;
        border-radius: 4px;
        font-weight: bold;
        margin: 5px 0;
        transition: background-color 0.3s ease, opacity 0.3s ease;
        line-height: 1.2;
    }
    #header .pc-nav ul li a.nav-contact-btn:hover {
        background-color: #b00d2a;
        color: #ffffff;
        opacity: 1;
    }
    /* ボタンには下線アニメーションを適用しない */
    #header .pc-nav ul li a.nav-contact-btn::after {
        display: none; 
    }

    /* --- PC: ドロップダウン & メガメニュー --- */
    #header .pc-nav ul li.has-dropdown {
        position: relative;
    }

    #header .pc-nav .pc-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 25px rgba(0,0,0,0.15);
        border-radius: 0 0 8px 8px;
        z-index: 100;
        min-width: 240px;
        padding: 15px 0;
        border-top: 3px solid #6EAE43;
    }

    #header .pc-nav ul li.has-dropdown:hover .pc-dropdown {
        display: block;
        animation: fadeIn 0.2s ease-out;
    }

    /* メガメニュー */
    #header .pc-nav .pc-mega-menu {
        width: max-content; 
        max-width: 90vw; 
        left: 50%;
        transform: translateX(-30%);
        padding: 40px;
    }
    
    #header .pc-nav ul li.has-dropdown:hover .pc-mega-menu {
        display: flex;
        justify-content: flex-start; 
        gap: 40px; 
    }

    .mega-column {
        flex: none; 
        min-width: 180px; 
    }

    .mega-title {
        font-size: 1rem;
        font-weight: bold;
        color: #6EAE43;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 2px solid #f0f0f0;
        text-align: left;
    }

    /* ドロップダウン内のリンク */
    #header .pc-nav .pc-dropdown ul {
        display: block; 
        padding: 0;
        margin: 0;
    }

    #header .pc-nav .pc-dropdown li {
        width: 100%;
        border: none;
        display: block;
    }

    #header .pc-nav .pc-dropdown a {
        padding: 8px 15px;
        font-size: 0.95em;
        color: #333;
        margin: 0;
        text-align: left;
        display: block;
        line-height: 1.4;
        transition: all 0.2s;
        border-radius: 4px;
        box-sizing: border-box; 
    }

    #header .pc-nav .pc-dropdown a:hover {
        background-color: #f0f8eb; 
        color: #6EAE43 !important;
        transform: none; 
        padding-left: 20px; 
        padding-right: 10px; 
    }

    /* サブメニューのリンクにはアニメーション下線を出さない */
    #header .pc-nav .pc-dropdown a::after {
        display: none;
    }
}


/* =========================================================
   スマホ用ヘッダースタイル (999px以下)
   ========================================================= */
@media (max-width: 999px) {
    /* PC用要素を非表示 */
    .pc-nav { display: none; }

    /* --- ハンバーガーメニュー --- */
    #hamburger {
        background-color: transparent;
        position: relative;
        cursor: pointer;
        margin: 0 0 0 auto;
        height: 60px;
        width: 60px;
    }

    .icon span {
        position: absolute;
        left: 15px;
        width: 30px;
        height: 4px;
        background-color: #6EAE43;
        border-radius: 8px;
        transition: ease 0.75s;
    }
    .icon span:nth-of-type(1) { top: 16px; }
    .icon span:nth-of-type(2) { top: 28px; }
    .icon span:nth-of-type(3) { bottom: 16px; }

    .close span:nth-of-type(1) { transform: rotate(45deg); top: 28px; }
    .close span:nth-of-type(2) { opacity: 0; }
    .close span:nth-of-type(3) { transform: rotate(-45deg); top: 28px; }

    /* --- SPナビゲーション本体 --- */
    .sp-nav {
        display: none; 
        top: 60px;
        left: 0px;
        position: fixed; 
        z-index: 10;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(34, 49, 52, 0.95);
        overflow-y: auto;
    }
    .sp-nav.active {
        display: block;
    }

    #header ul { 
        flex-direction: column; 
        list-style: none;
        padding: 0;
        margin: 0;
    }
    #header li { border-top: solid 0.5px rgba(255, 255, 255, 0.6); }
    #header a { 
        display: block;
        text-align: center; 
        color: #fff; 
        padding: 15px 0;
        text-decoration: none;
    }
    
    #header.transform span { background-color: black; }

    /* --- SP: アコーディオンメニュー --- */
    .sp-accordion-trigger {
        display: block;
        padding: 15px 0;
        color: #fff;
        text-align: center;
        cursor: pointer;
        position: relative;
        font-weight: bold;
    }

    .sp-accordion-trigger::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5em;
        font-weight: normal;
        transition: transform 0.3s;
    }

    .sp-accordion-trigger.is-open::after {
        content: '-';
    }

    #header .sp-nav .sp-submenu {
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0;
        flex-direction: column;
    }

    #header .sp-nav .sp-submenu.is-open {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .sp-submenu-header {
        color: #6EAE43;
        font-weight: bold;
        font-size: 0.9em;
        padding: 15px 0 5px 20px;
        text-align: left;
        border-top: none !important;
        border-bottom: none !important;
    }

    #header .sp-nav .sp-submenu li {
        border-top: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    #header .sp-nav .sp-submenu a {
        padding: 12px 0 12px 40px;
        font-size: 0.95em;
        text-align: left;
        color: #ddd;
    }
}

/* =========================================================
   アニメーションキーフレーム
   ========================================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   4. Footer (フッターエリア)
   ========================================================================== */
#footer, footer { width: 100%; }

.footer-upper-outer { background-color: #30302f; }
.fnav-main {
    width: 1000px;
    margin: 0 auto;
    padding: 21px 10px 16px;
    color: #fff;
}
.fnav-main ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align: center;
    display: table;
    width: 100%;
}
.fnav-main li {
    float: left;
    width: 110px;
    padding: 2px 0;
    border-left: 1px solid #b7b7b7;
}
/* 個別幅調整 */
.fnav-main li:nth-child(3) { width: 145px; }
.fnav-main li:nth-child(4) { width: 120px; }
.fnav-main li:nth-child(5) { width: 146px; }
.fnav-main li:nth-child(6) { width: 125px; }
.fnav-main li:last-child { border-right: 1px solid #b7b7b7; }
.fnav-main a { display: block; color: #fff; }

.footer-middle-outer { background-color: #232323; }
.footer-middle-inner {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 10px 28px;
    color: #fff;
}

/* サブナビゲーション */
.fnav-sub { float: left; margin: 0 0 10px 0; }
.fnav-sub ul { margin-bottom: 0; padding-left: 0; }
.fnav-sub li { float: left; margin: 0 12px 0 0; }
.fnav-sub a {
    display: block;
    background-image: url("../../../../../../image/item-arrow04.png");
    background-repeat: no-repeat;
    background-position: 10px 0.7em;
    background-size: 16px auto;
    padding: 8px 0 13px 34px;
    color: #fff;
}

/* ユーティリティナビ (SNS等) */
.foot-utility-nav { float: right; margin: 0; padding-left: 0; list-style: none; }
.foot-utility-nav li { display: inline-block; margin: 0 0 0 14px; }
.foot-utility-nav a { display: inline-block; background-repeat: no-repeat; width: 36px; height: 36px; background-size: 36px 36px; }

/* アイコン画像指定 */
.foot-utility-nav li:first-child a { background-image: url("../../../../../../image/item-mail.png"); }
.foot-utility-nav li:nth-child(2) a { background-image: url("../../../../../../image/item-global.png"); }
.foot-utility-nav li:nth-child(3) a { background-image: url("../../../../../../image/item-member.png"); }
.foot-utility-nav li:nth-child(4) a { background-image: url("../../../../../../image/item-global2.png"); }

.foot-utility-nav a.youtube-icon { background-image: url("../../../../../../image/item-youtube.png"); width: 73px; height: 30px; background-size: 73px 30px; }
.foot-utility-nav a.facebook-icon { background-image: url("../../../../../../image/item-facebook.png"); width: 30px; height: 30px; background-size: 30px 30px; }
.foot-utility-nav a.instagram-icon { background-image: url("../../../../../../image/item-instagram.png"); width: 30px; height: 30px; background-size: 30px 30px; margin: -3px 0; }

/* 会社情報 */
.company-info { clear: both; overflow: hidden; }
.company-info__name { margin: 0 0 6px 0; font-size: 1.42857em; font-weight: bold; }
.company-info__address { float: left; margin: 0 40px 0 0; font-size: 1.14286em; }
.company-info__inquiry { display: none; }

.footer-bottom-outer { clear: both; background-color: #000; }
.footer-bottom-inner { margin: 0 auto; padding: 26px 10px 62px; text-align: center; color: #fff; }
.copyright { font-size: 0.92857em; }

/* Footer Responsive */
@media (max-width: 1009px) {
    .fnav-main, .footer-middle-inner { width: 100%; }
    .fnav-main li { width: 12.5%; padding: 0; }
    .fnav-main a { padding: 4px 0; }
}
@media (max-width: 900px) {
    .fnav-main { padding: 0; }
    .fnav-main ul { text-align: left; }
    .fnav-main li { width: 50%; margin: 0; border-right: 1px solid #626261; border-bottom: 1px solid #626261; border-left: none; }
    .fnav-main li:nth-child(2n) { border-right: none; }
    .fnav-main a { padding: 16px 9px; }

    .fnav-sub { float: none; margin: 0 0 35px 0; }
    .fnav-sub li { float: none; margin: 0; }
    .fnav-sub a { background-position: 12px .95em; padding: 12px 0 12px 35px; }

    .foot-utility-nav { float: none; margin: 0 0 20px 10px; }
    .foot-utility-nav li { margin: 0 10px 0 0; }
    
    .company-info { margin: 0 10px; }
    .company-info__address { float: none; margin: 0 0 20px 0; }
    .company-info__inquiry { display: block; }

    .fnav-main li:nth-child(3),
    .fnav-main li:nth-child(4),
    .fnav-main li:nth-child(5),
    .fnav-main li:nth-child(6){
        width: 50%;
    }
}


/* ==========================================================================
   5. Common Components (共通コンポーネント)
   ========================================================================== */
/* ページトップボタン */
.page-top {
    position: fixed; bottom: 14px; right: 0; z-index: 20;
}
.page-top a {
    display: inline-block;
    background-image: url("../image/btn-page-top.png");
    background-repeat: no-repeat;
    width: 66px; height: 87px;
}

/* フローティングバナー */
.floating-banner { position: fixed; z-index: 99999; }
.floating-banner.pc { width: 300px; bottom: 120px; right: -55px; }
.floating-banner:hover { opacity: 0.5; transition: 0.3s; }
.floating-banner.sp { display: none; }

@media (max-width: 900px) {
    .page-top a { display: none; }
    .floating-banner.pc { display: none; }
    .floating-banner.sp { display: inline-block; width: 100vw; bottom: 0; right: 0; }
    .floating-banner.sp img { max-width: 100%; }
}

/* ボタン (汎用) */
.btn-fanuc {
    display: inline-block;
    background-repeat: no-repeat; background-position: 15px center; background-size: 20px 20px;
    padding: 12px 16px 12px 55px;
    vertical-align: middle; font-size: 1.105em; border-radius: 4px;
}
.btn-fanuc:hover { text-decoration: none; }
.btn-fanuc--yellow {
    background-color: #eccb00; background-image: url(../image/item-arrow05.png); color: #000;
}
.btn-fanuc--yellow:hover { background-color: #ffdc01; color: #000; }

.link_button {
    display: inline-block; padding: 23px 23px; font-size: 22px; font-weight: 700;
    color: rgba(255,255,255,1.0); background-color: #6200EE;
    border-radius: 7px; box-shadow: 0 7px 4px -5px rgba(0, 0, 0, .5);
    transition: all 0.3s; align-items: center; justify-content: center; margin: 0 0 20px;
}
.link_button:hover { color: #fff; background-color: #320671; }

.btn-more {
    display: inline-block; width: 300px; padding: 18px 0;
    font-size: 18px; font-weight: bold; color: #000;
    background-color: rgb(255, 215, 2); border-radius: 50px;
    position: relative; transition: all 0.3s ease; box-shadow: 0 4px 0 rgb(200, 170, 0);
}
.btn-more:hover {
    opacity: 1 !important; background-color: rgb(255, 225, 50);
    transform: translateY(-3px); box-shadow: 0 7px 0 rgb(200, 170, 0);
}
.btn-more::after { content: '>'; position: absolute; right: 25px; }



/* ========================================================= */
/* 自由配置ボタン (.CRX_H_btn) */
/* ========================================================= */
.CRX_H_btn {
    border: none;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 5px;
    border-radius: 50px;
    /* 正規のボタンに合わせて、背景色の変化をなめらかにする */
    transition: background-color 0.3s ease; 
}

/* ホバー共通設定（浮き上がりなし） */
.CRX_H_btn:hover {
    transform: none;
}

/* --- カラー：グリーン --- */
.CRX_H_color-green {
    background-color: #6EAE43;
    color: #ffffff;
}

.CRX_H_color-green:hover {
    background-color: #5a9632; /* 正規のホバー色に統一 */
    color: #ffffff;
}

/* --- カラー：ホワイト --- */
.CRX_H_color-white {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ddd;
}

.CRX_H_color-white:hover {
    background-color: #f2f2f2; /* ホバーで少し暗く */
    color: #000000;
}

/* --- カラー：イエロー --- */
.CRX_H_color-yellow {
    background-color: #FFD702;
    color: #ffffff;
}

.CRX_H_color-yellow:hover {
    background-color: #e6c200; /* ホバーで少し暗く */
    color: #ffffff;
}

/* --- サイズ設定 --- */
.CRX_H_size-small {
    padding: 8px 16px;
    font-size: 12px;
}

.CRX_H_size-medium {
    padding: 12px 24px;
    font-size: 16px;
}

.CRX_H_size-large {
    padding: 16px 32px;
    font-size: 20px;
}

/* --- 配置設定 --- */
.CRX_H_btn-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.CRX_H_align-left {
    justify-content: flex-start;
}

.CRX_H_align-center {
    justify-content: center;
}

.CRX_H_align-right {
    justify-content: flex-end;
}


/* ==========================================================================
   6. Top Page Sections (トップページエリア) - 決定版 (CRXグリーン統一)
   ========================================================================== */

/* --- ヒーローセクション全体 --- */
.crx-hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh; /* 画面の85%以上の高さ */
    background-color: #000;
    color: #fafafa;
    display: flex;
    align-items: center; 
    padding-top: 80px; 
    box-sizing: border-box;
}

/* --- 背景スライダー --- */
.crx-hero-bg-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: bgFade 15s infinite;
}
.hero-bg-item:nth-child(1) { animation-delay: 0s; }
.hero-bg-item:nth-child(2) { animation-delay: 5s; }
.hero-bg-item:nth-child(3) { animation-delay: 10s; }

@keyframes bgFade {
    0% { opacity: 0; transform: scale(1.05); }
    10% { opacity: 1; transform: scale(1); }
    33% { opacity: 1; transform: scale(1); }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

/* --- オーバーレイ --- */
.crx-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* --- コンテンツ配置 (PC) --- */
.crx-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
}

/* 左カラム (テキスト) */
.crx-hero-text-col {
    width: 55%;
    padding-right: 20px;
}

/* 右カラム (画像) */
.crx-hero-img-col {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ロボット画像 */
.hero-robot-img {
    max-height: 60vh; 
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    opacity: 0;
    animation: robotSlideUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    transform: translateY(50px);
}

@keyframes robotSlideUp {
    to { transform: translateY(0); opacity: 1; }
}

/* テキスト装飾関連 */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* ★追加 */
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.hero-title {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* ★追加 */
    font-size: clamp(1.5rem, 5vw, 4.0rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: left;
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
}

.hero-line-1 {
    display: inline-block;
    white-space: nowrap;
}

.hero-line-2 {
    display: inline-block;
    white-space: nowrap;
}

/* ★修正: 黄色ではなくCRXグリーンに変更 */
.text-green {
    color: #6EAE43; /* CRX Green */
    font-size: 1.05em; 
}

.hero-lead {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* ★追加 */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-align: left;
}

/* --- ボタン群のレイアウト --- */
.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* --- 1. プライマリーボタン--- */
.crx-btn-hero-primary {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* ★追加 */
    background-color: #6EAE43; /* CRX Green */
    color: #fff;
    padding: 18px 40px;
    min-width: 320px;
    justify-content: center;
    border-radius: 50px; 
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(110, 174, 67, 0.3); /* 緑色の影 */
}

.crx-btn-hero-primary:hover {
    background-color: #5a9632; /* 少し濃い緑 */
    color: #fff;
    transform: none;
}

.crx-btn-hero-primary .arrow {
    margin-left: 10px;
    font-weight: normal;
}

/* --- 2. セカンダリーボタン (活用事例：白枠) --- */
.crx-btn-hero-secondary {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* ★追加 */
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    min-width: 240px; 
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.crx-btn-hero-secondary:hover {
    background-color: #fff;
    color: #333;
    transform: none;
}

/* --- レスポンシブ (スマホ対応) --- */
@media (max-width: 900px) {
    .crx-hero-section {
        min-height: auto;
        height: auto;
        align-items: flex-start; 
        padding-top: 100px;
        padding-bottom: 60px;
        background-color: #333;
    }
    .crx-hero-bg-slider { height: 100%; min-height: 500px; }
    .crx-hero-content {
        flex-direction: column-reverse; 
        height: auto;
    }
    .crx-hero-text-col {
        width: 100%;
        padding-right: 0;
        margin-top: 30px; 
        text-align: center;
    }
    .crx-hero-text-col h1 { font-size: 2.0rem; text-align: center; }
    .hero-lead { text-align: center; font-size: 1rem; }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .crx-btn-hero-primary, 
    .crx-btn-hero-secondary {
        width: 100%;
        max-width: none;
        min-width: 0;
        justify-content: center;
    }
    .crx-hero-img-col {
        width: 90%;
        margin-bottom: 10px;
    }
    .hero-robot-img {
        max-height: 350px;
        transform: translateY(0);
    }
}

/* =========================================================
   Why CRX? Section (CRXグリーン統一)
   ========================================================= */

/* セクション共通設定 */
.crx-section {
    padding: 100px 0;
}
.crx-bg-light {
    background-color: #f9f9f9;
}

/* タイトル周り */
.crx-section-header {
    margin-bottom: 60px;
    text-align: center;
}
.crx-title-en {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}
.crx-title-ja {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: bold;
}
.crx-title-line {
    width: 60px;
    height: 4px;
    background-color: #6EAE43; /* CRX Green */
    margin: 0 auto;
    border-radius: 2px;
}

/* 3カラムグリッド */
.crx-features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: stretch;
}

/* 各カード (ホバー削除済み) */
.crx-feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
}

/* アイコンボックス */
.feature-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-green { background-color: #e6f5d0; }
.color-yellow { background-color: #fffacd; }
.color-red { background-color: #ffe0e0; }

.feature-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

/* 英語見出し */
.crx-feature-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    line-height: 1.2;
}

/* 日本語見出し */
.feature-lead {
    font-size: 1.3rem;
    font-weight: bold;
    color: #6EAE43; /* CRX Green */
    margin-bottom: 20px;
}

/* 詳細説明文 */
.feature-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    text-align: left;
    letter-spacing: 0.02em;
}

/* スマホ対応 */
@media (max-width: 900px) {
    .crx-section {
        padding: 60px 0;
    }
    .crx-title-en {
        font-size: 2.2rem;
    }
    .crx-features-grid {
        flex-direction: column;
        gap: 20px;
    }
    .crx-feature-card {
        padding: 30px 20px;
    }
    .feature-lead {
        font-size: 1.2rem;
    }
}


/* =========================================================
   Why CRX? - 追加コンテンツ (修正版)
   ========================================================= */

/* --- YouTube動画エリア (PCでの表示崩れ対策済み) --- */

/* 1. 外側の枠：横幅を制限し、中央に寄せる */
.crx-video-container-outer {
    width: 100%;
    max-width: 800px;    /* PCでの最大幅 */
    margin: 60px auto 0; /* 上に余白、左右中央 */
}

/* 2. 内側の枠：16:9の比率を強制する */
.crx-video-inner-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 (9 ÷ 16 = 0.5625) */
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* iframe本体：内側の枠いっぱいに広げる */
.crx-video-inner-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* =========================================================
   導入実績ロゴエリア (修正版)
   ========================================================= */

.crx-trusted-section {
    /* ヒーローの直下なのでマージンは0 */
    margin-top: 0;
    
    /* 上下の余白を確保 */
    padding-top: 60px;
    padding-bottom: 60px;
    
    /* ★背景を「真っ白」にして、次のグレーのセクションと差をつける */
    background-color: #ffffff; 
    
    /* 下に薄い線を入れて区切りを明確に */
    border-bottom: 1px solid #eee;
    
    text-align: center;
    overflow: hidden;
}

.trusted-title {
    font-size: 0.9rem;
    color: #888; /* グレーにして控えめに */
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

/* --- (以下、アニメーション部分は変更なし) --- */
.crx-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.crx-marquee-row {
    display: flex;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.crx-marquee-content {
    display: flex;
    align-items: center;
    gap: 80px; 
    padding-right: 80px;
}
.crx-marquee-content img {
    height: 40px; 
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4; 
    transition: opacity 0.3s;
}
.scroll-left .crx-marquee-content {
    animation: marquee-left 20s linear infinite;
    width: max-content;
}
.scroll-right .crx-marquee-content {
    animation: marquee-right 20s linear infinite;
    width: max-content;
}
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* =========================================================
   対応作業一覧 (Capabilities Grid) - 可変個数・中央揃え対応版
   ========================================================= */

/* コンテナ (Flexboxに変更) */
.app-icon-grid {
    display: flex;
    flex-wrap: wrap;        /* 折り返しを許可 */
    justify-content: center; /* ★ここが重要：アイテムを中央揃えにする */
    gap: 15px;              /* アイテム間の隙間 */
    margin-top: 30px;
}

/* 各アイテムのスタイル (幅計算で列数を制御) */
.app-icon-grid .cap-item {
    position: relative;
    /* --- PC設定 (5列) --- */
    /* 100% ÷ 5 = 20%。そこから隙間分(15px*4/5)を引く計算 */
    width: calc(20% - 12px);
    
    /* アスペクト比で正方形を維持 */
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    
    /* 背景色：明るいグラデーション */
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #e0e0e0;
    
    /* 縦積み・中央揃え */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ホバー時の演出 */
.app-icon-grid .cap-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #6EAE43; 
    background: linear-gradient(145deg, #ffffff, #ffffff);
    z-index: 2;
}

/* アイコン画像のコンテナ */
.cap-icon-img-box {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.app-icon-grid .cap-item:hover .cap-icon-img-box {
    transform: scale(1.1);
}

/* アイコン画像本体 */
.cap-icon-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); 
}

/* テキストコンテナ */
.app-icon-grid .cap-text {
    width: 100%;
    padding: 0 2px;
}

/* メインタイトル (日本語) */
.app-icon-grid .cap-text h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* サブタイトル (英語) */
.app-icon-grid .cap-text p {
    font-size: 0.65rem;
    margin: 0;
    color: #888;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- レスポンシブ --- */

/* タブレット (3列にする場合) */
@media (max-width: 1024px) {
    .app-icon-grid .cap-item {
        /* 100% ÷ 3 = 33.33%。隙間調整 */
        width: calc(33.33% - 10px);
    }
}

/* スマホ (3列キープ) */
@media (max-width: 600px) {
    .app-icon-grid {
        gap: 8px; /* 隙間を詰める */
    }

    .app-icon-grid .cap-item {
        /* スマホでも3列維持 */
        width: calc(33.33% - 6px);
        border-radius: 8px;
        padding: 10px 5px;
    }

    /* Flexboxなら自動で中央揃えになるので、個別の指定(last-child等)は不要になります！ */

    .cap-icon-img-box {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;
    }

    .app-icon-grid .cap-text h3 {
        font-size: 0.7rem;
        margin-bottom: 0;
        white-space: normal;
        word-wrap: break-word;
    }

    .app-icon-grid .cap-text p {
        font-size: 0.55rem;
        display: block;
    }
}


/* =========================================================
   Latest Info Sections (Flex Header Style) - 修正版
   ========================================================= */

/* 区切り線 */
.section-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 0;
    width: 100%;
}

/* --- ヘッダーデザイン (変更なし) --- */
.crx-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}
.crx-title-en {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
    margin: 0;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    letter-spacing: 0.02em;
}
.crx-title-ja {
    font-size: 1rem;
    color: #888;
    margin: 5px 0 0 5px;
    font-weight: bold;
}
.crx-link-arrow {
    font-weight: bold;
    color: #6EAE43;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
}
.crx-link-arrow:hover {
    color: #5a9632;
    text-decoration: underline;
}
.crx-link-arrow .arrow {
    margin-left: 8px;
	font-size: 1.3rem;
    transition: transform 0.3s;
}
.crx-link-arrow:hover .arrow {
    transform: translateX(5px);
}

/* --- グリッドレイアウト --- */
.crx-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* --- カードデザイン (修正版) --- */
.crx-card-item {
    position: relative; /* ★追加: 優先アイコンを絶対配置するための基準点 */
    background: #fff;
    border: 1px solid #eee; /* 通常時の枠線 */
    border-radius: 8px;
    overflow: hidden;
    /* 影は控えめに */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    /* transitionからtransformを削除 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.crx-card-item:hover {
    transform: none !important;
    border-color: #6EAE43 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

/* ★追加: 優先表示のアイコン（左上に配置） */
.crx-priority-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px; /* サイズは必要に応じて調整してください */
    height: auto;
    z-index: 10;
    pointer-events: none; /* クリックの邪魔にならないようにする */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* 画像エリア */
.crx-card-image {
    width: 100%;
    height: auto!important;
    min-height: 1px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
}
.crx-card-image img {
    width: 100%;             /* 横幅は親要素に合わせる */
    height: auto !important; /* 高さは画像の比率を維持 */
    object-fit: contain;     /* 念のため、比率を崩さない設定 */
    display: block;          /* 下部の隙間を消す */
}
/* ★ホバー時の画像拡大は維持 */
.crx-card-item:hover .crx-card-image img {
    transform: scale(1.02);
}

/* コンテンツエリア */
.crx-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せ */
}

/* バッジを包むコンテナ（無くても良いですがあると整理しやすい） */
.crx-badge-wrapper {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* バッジ同士の隙間 */
	min-height: 30px; 
    align-content: flex-start;
    justify-content: center; /* もしバッジを中央揃えにしたい場合はこれも追加 */
}

/* バッジ本体 */
.crx-card-badge {
    display: inline-block;
    background-color: #dcedc8;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;  
    /* gap非対応ブラウザ用 */
    margin-right: 5px; 
    margin-bottom: 5px;
    border: 1px solid #c5e1a5; 
}

/* ★追加: 会社名 */
.crx-card-company {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: bold;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    width: 100%;
}

/* タイトル */
.crx-card-content h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 10px;
    line-height: 1.5;
    color: #111;
    width: 100%;
}

/* 説明文 */
.crx-card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    width: 100%;
}

/* 日付 */
.crx-card-date {
    font-size: 0.8rem;
    color: #aaa;
    text-align: right;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: auto;
    width: 100%;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .crx-section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .crx-link-arrow {
        align-self: flex-end;
    }
}



/* ==========================================================================
   7. Product & Solutions (製品・ソリューション)
   ========================================================================== */
#product_area { padding: 90px 0; }
#product_area .product-block {
    background: white; position: relative; transition: all 0.3s ease;
}
#product_area .product-block:hover { background: #cccccc; }
#product_area.usecase .product-block { border-radius: 10px; }
#product_area .product-block + .product-block { margin-top: 10px; }
#product_area.usecase .product-block + .product-block { margin-top: 30px; }

#product_area .product-body { padding: 10px 45px; }
#product_area .product-ttl { font-size: 25px; }
#product_area .product-image img { width: 100%; object-fit: cover; border-radius: 8px; }

/* 矢印アイコン */
#product_area .uc-arrow::before {
    content: ''; position: absolute; width: 40px; height: 40px;
    border: 1px solid #333; border-radius: 50%;
}
#product_area .uc-arrow::after {
    content: ''; position: absolute; width: 14px; height: 14px;
    border-width: 1px 1px 0 0; border-style: solid;
    border-color: #333 #333 transparent transparent; transform: rotate(45deg);
}

@media (min-width: 901px) {
    #product_area .product-block { display: flex; padding: 2%; }
    #product_area .product-image img { width: 200px; }
    #product_area .product-link { position: absolute; right: 20px; bottom: 20px; }
    
    #product_area .uc-arrow::before { top: 80%; right: 27px; transform: translateY(-80%); }
    #product_area .uc-arrow::after { top: calc(73% - 1px); right: 52px; transform: rotate(45deg) translateY(-73%); }
}

@media (max-width: 900px) {
    #product_area { padding: 40px 0; }
    #product_area.usecase .product-block { display: block; }
    #product_area .product-body { padding: 10px 20px; }
}

/* Newmark & Tag */
#product_area .newmark::before {
    position: absolute; content: "2025年12月"; top: 0; right: 0;
    background-color: #FFD702; padding: 5px 25px; font-weight: 600;
}
span.tag-box { padding: 3px 18px; background-color: #FFD702; border-radius: 3px; }


/* ==========================================================================
   8. Article & List Components (記事・一覧・カード)
   ========================================================================== */
/* =========================================================
   Case Studies (活用事例) デザイン
   ========================================================= */

/* ヘッダーの左右配置 (タイトル左、ボタン右) */
.crx-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 下揃え */
    margin-bottom: 40px;
    border-bottom: 2px solid #eee; /* 下線で区切る */
    padding-bottom: 15px;
}

/* 「もっと見る」リンク */
.crx-link-arrow {
    font-weight: bold;
    color: #6EAE43; /* FANUC Green */
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}
.crx-link-arrow:hover {
    color: #5a9632;
    text-decoration: underline;
}
.crx-link-arrow .arrow {
    margin-left: 5px;
    transition: transform 0.3s;
}
.crx-link-arrow:hover .arrow {
    transform: translateX(5px); /* 矢印だけ動く */
}

/* --- カードグリッド (共通) --- */
.crx-card-grid {
    display: grid;
    /* 画面幅に応じてカラム数を自動調整 (最小300px) */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* カード単体 */
.crx-card-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee; /* 薄い枠線 */
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* 高さを揃える */
}

.crx-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #6EAE43; /* ホバー時に枠を緑に */
}

/* カード画像エリア */
.crx-card-image {
    width: 100%;
    height: 200px; /* 高さを固定 */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}
.crx-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を保ってトリミング */
    transition: transform 0.5s;
}
.crx-card-item:hover .crx-card-image img {
    transform: scale(1.05); /* 画像ズーム */
}

/* カテゴリラベル (画像の上に重ねる) */
.crx-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FFD702; /* FANUC Yellow */
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

/* カード本文エリア */
.crx-card-content {
    padding: 20px;
    flex-grow: 1; /* 下部を揃えるために伸ばす */
    display: flex;
    flex-direction: column;
}

.crx-card-content h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
    /* 2行で切る */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.crx-card-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1; /* 余白を埋める */
}

.crx-card-footer {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.crx-card-date {
    font-size: 0.8rem;
    color: #999;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .crx-section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .crx-link-arrow {
        align-self: flex-end; /* 右寄せ */
    }
}

/* アニメーション用クラス */
.first-view { animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards; }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

.fadein { opacity: 0.1; transform: translate(0, 50px); transition: all 500ms; }
.fadein.scrollin { opacity: 1; transform: translate(0, 0); }


/* =========================================================
   【追加】共通レイアウトコンテナ (幅1200px制限)
   ========================================================= */
.crx-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;      /* 左右中央寄せ */
    padding: 0 20px;     /* 左右の内側余白（スマホ対策） */
    box-sizing: border-box;
}

/* PCサイズ以上では余白を少し調整 */
@media (min-width: 1000px) {
    .crx-container {
        padding: 0 30px; /* PCでは少し広めに */
    }
}



/* =========================================================
   フローティングメニュー
   (PC: 全体引き出しスライド / SP: タップ展開ポップアップ)
   ========================================================= */

/* --- コンテナ全体 --- */
#crx-floating-container {
    position: fixed;
    right: 0;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右端揃え */
    gap: 10px;
    pointer-events: none; /* エリア外のクリックを透過 */
}

/* --- PC版では親トリガーボタン（「サポートメニュー」）は不要なため非表示 --- */
.crx-support-trigger {
    display: none;
}

/* =========================================================
   ★ PC版：全体引き出しスライドのスタイル
   ========================================================= */
/* --- メニュー群のラッパー --- */
.crx-support-content {
    pointer-events: auto; /* クリック・ホバー有効 */
    display: flex;
    flex-direction: column;
    gap: 2px; /* アイコン間のわずかな隙間 */
    
    /* 全体スライドのギミック */
    width: 220px; /* 展開時の全体の幅 */
    /* 220px(全体) - 60px(アイコン) = 160px分を画面の右外に隠す */
    transform: translateX(160px); 
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); /* スムーズなスライド */
}

/* メニューのどこかにカーソルが乗ったら、全体を画面内に引き出す */
.crx-support-content:hover {
    transform: translateX(0);
}

/* --- 各メニュー項目 --- */
.CRX_menu-item-square {
    display: flex;
    flex-direction: row; /* ★アイコンが左、テキストが右 */
    align-items: center;
    width: 100%; /* 親(220px)の幅に合わせる */
    height: 60px;
    background-color: #fff;
    color: #333 !important;
    text-decoration: none;
    border: 1px solid #ddd;
    border-right: none; /* 画面右端に張り付くため右側の線は消す */
    border-radius: 5px 0 0 5px; /* 左側だけ角丸 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.2s, color 0.2s; /* ホバー時の色変更のみアニメーション */
}

/* 個別ホバー時の色変化 */
.CRX_menu-item-square:hover {
    background-color: #6EAE43; /* FANUC Green */
    color: #fff !important;
    border-color: #6EAE43;
}

/* アイコンの枠 (サイズを60x60に固定) */
.crx-icon-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

/* 画像アイコンを利用する場合のサイズ指定 */
.crx-img-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* テキスト装飾 */
.crx-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せ（アイコンのすぐ右） */
    padding-left: 10px; /* アイコンとの余白 */
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
    opacity: 1; /* 画面外に隠れているだけなので、文字は常に表示状態でOK */
}

/* --- トップへ戻るボタン --- */
.crx-float-top {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-right: 5px; /* 上の60px幅アイコンと中心が合うように微調整 */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.crx-float-top.is-visible {
    opacity: 0.8;
    transform: translateY(0);
}
.crx-float-top:hover {
    opacity: 1;
    background-color: #000;
}

.crx-arrow-up {
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 6px;
}


/* =========================================================
   ★ スマホ対応 (768px以下)
   タップで展開するポップアップ仕様 (旧ベースと同じ動き)
   ========================================================= */
@media (max-width: 768px) {
    #crx-floating-container {
        bottom: 20px;
    }

    /* 1. SP用の親トリガーボタン（「サポートメニュー」）を表示 */
    .crx-support-trigger {
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60px;  /* ★80pxから60pxへ縮小 */
        height: 60px; /* ★80pxから60pxへ縮小 */
        background-color: #333;
        color: #fff;
        border-radius: 5px;
        margin-right: 10px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        position: relative;
        z-index: 2;
    }
    .crx-trigger-icon {
        font-size: 18px; /* ★ボタン縮小に伴い24pxから18pxへ調整 */
        font-weight: bold;
        line-height: 1;
        margin-bottom: 2px; /* ★余白を少し詰める */
    }
    .crx-trigger-text {
        font-size: 9px; /* ★ボタン縮小に伴い11pxから9pxへ調整 */
        font-weight: bold;
        text-align: center;
        line-height: 1.2;
    }

    /* 2. メニュー群は最初は見えないように隠し、トリガーの上に配置 */
    .crx-support-content {
        position: absolute;
        /* ★ボタン縮小に伴い高さ再計算 */
        /* 計算: トップへ戻る(50px) + 余白(10px) + トリガー(60px) + 余白(10px) = 130px */
        bottom: 130px; 
        right: 10px;
        gap: 5px;
        width: auto; 
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px); 
        transition: all 0.3s ease;
        z-index: 1;
    }

    /* トリガーがタップされて JSで is-open が付与されたら表示 */
    .crx-support-content.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* 3. 各メニュー項目のデザイン（SP用：左にアイコン、右に文字で固定） */
    .CRX_menu-item-square {
        width: 170px; /* 横幅固定 */
        height: 45px;
        border-right: 1px solid #ddd; 
        border-radius: 4px; 
    }

    /* SPではホバーで横に伸ばさない(少し上に浮くアクションのみ) */
    .CRX_menu-item-square:hover {
        transform: translateY(-2px);
    }

    .crx-icon-wrapper {
        width: 45px;
        height: 45px;
        border-right: 1px solid #eee; 
    }
    .crx-img-icon {
        width: 24px; 
        height: 24px;
    }

    .crx-text {
        padding-left: 10px;
        font-size: 12px;
    }

    /* 4. トップへ戻るボタンの位置微調整 */
    .crx-float-top {
        /* ★トリガー(60px)の中央と合わせるための再計算 */
        /* トリガー右余白10px + (トリガー60px - トップへ戻る50px) / 2 = 15px */
        margin-right: 15px; 
    }
}




/* =========================================================
   4. Lineup Slider Section (修正版：タイトル統一・画像拡大・ズーム演出)
   ========================================================= */

/* スライダーコンテナ */
.crx-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
}

/* スライダーレール */
.crx-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

/* 矢印ボタン */
.crx-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    color: #333;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.crx-slider-arrow:hover {
    background-color: #6EAE43;
    color: #fff;
    border-color: #6EAE43;
}
.crx-slider-arrow.left { left: 0; }
.crx-slider-arrow.right { right: 0; }


/* --- ラインアップカードデザイン --- */

.crx-lineup-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

/* カード本体 */
.crx-lineup-card {
    background: #fff;

    /* ★ 幅の指定を柔軟に変更 */
    width: 100%;
    max-width: 340px; 
    margin: 0 auto;

    /* ★ 追加: リンクタグの中で高さを目一杯広げる */
    flex-grow: 1;
    
    min-height: 560px;
    /* height: 100%; は不要 */

    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* ホバー時のカード本体（移動なし、枠線と影のみ変化） */
.crx-lineup-card:hover {
    border-color: #6EAE43; /* 緑の枠線 */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: none; /* 移動させない */
}

/* 画像ラッパー（ズームのはみ出し防止用） */
.lineup-img-wrap {
    width: 100%;
    height: 280px; /* ★画像エリアを大幅に拡大 (元220px) */
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 拡大時にはみ出さないようにする */
}

/* 画像 */
.lineup-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease; /* 滑らかにズーム */
}

/* ★ホバー時に画像だけズーム */
.crx-lineup-card:hover .lineup-img-wrap img {
    transform: scale(1.1);
}

/* 機種名 */
.crx-lineup-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 20px;
    color: #333;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    text-align: center;
	
/* ★修正: flexを削除し、ブロック要素として高さを固定する */
    display: block;
    min-height: 4.2rem; /* 約2行分の高さ（行間によって微調整してください） */
    line-height: 1.3;   /* 行間を少し詰めて2行をまとまり良く見せる */
    
    /* 文字が変なところで折り返されないようにする設定 */
    word-break: keep-all; 
    overflow-wrap: break-word;
}

.i-char, .i_char {
    margin: 0 .03em;
    font-family: "Book Antiqua", "Times New Roman", Georgia, serif;
    font-size: 1.28571em;
    font-style: italic;
    font-weight: bold;
}

/* スペック表 */
.crx-lineup-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    color: #555;
    margin-top: auto;
}
.crx-lineup-card table td {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.crx-lineup-card table tr:last-child td {
    border-bottom: none;
}
.crx-lineup-card table td:first-child {
    text-align: left;
    color: #888;
}
.crx-lineup-card table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #333;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

/* 「一覧を見る」カード */
.crx-lineup-all {
    background: #fcfcfc;
    width: 340px;
    height: 560px; /* 本体と同じ高さ */
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6EAE43;
    font-weight: bold;
    font-size: 1.3rem;
    transition: background-color 0.3s, border-color 0.3s;
    box-sizing: border-box;
}
.crx-lineup-all:hover {
    background: #f0fdf0;
    border-color: #6EAE43;
}

/* =========================================================
   ユーティリティクラス (Utility)
   ========================================================= */

/* PCでは非表示（スマホでのみ表示） */
.sp-only {
    display: none;
}

/* スマホでは非表示（PCでのみ表示） */
.pc-only {
    display: block;
}

/* --- スマホ・タブレット時の切り替え (900px以下) --- */
@media (max-width: 900px) {
    .sp-only {
        display: block; /* または inline */
    }
    .pc-only {
        display: none;
    }
}


/* =========================================================
   5. Operation (UI/UX) Section
   ========================================================= */

.crx-ux-wrapper {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 80px; /* 上下の間隔 */
}

/* 各行のデザイン */
.crx-ux-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* 逆配置 (画像左・テキスト右) */
.crx-ux-row.reverse {
    flex-direction: row-reverse;
}

/* テキストエリア */
.crx-ux-text {
    flex: 1;
}

.ux-step {
    display: inline-block;
    color: #6EAE43; /* CRX Green */
    font-weight: bold;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #6EAE43;
}

.crx-ux-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #333;
}

.crx-ux-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* チェックリスト */
.crx-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.crx-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}
.crx-check-list li:last-child {
    margin-bottom: 0;
}

.crx-check-list li::before {
    content: '✔'; /* チェックマーク */
    position: absolute;
    left: 0;
    top: 0;
    color: #6EAE43;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* 画像および動画エリア */
.crx-ux-image {
    flex: 1.2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* img と video の両方に適用する */
.crx-ux-image img,
.crx-ux-image video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    object-fit: cover; /* 動画の比率崩れを防ぐために追加をおすすめします */
}


/* スマホ対応 */
@media (max-width: 900px) {
    .crx-ux-row,
    .crx-ux-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .crx-ux-text h3 {
        font-size: 1.6rem;
    }
    
    .crx-ux-image {
        width: 100%;
    }
}


/* =========================================================
   6. Support Section (タイトルデザイン統一版)
   ========================================================= */
/* グループ全体を左揃えに */
.support-header-group {
    text-align: left;
    margin-bottom: 20px;
}

/* 英語タイトルクラス（ここでは日本語「サービス&サポート」を表示） */
.support-header-group .crx-title-en {
    text-align: left;
    margin-bottom: 5px;
    /* もし日本語フォントを優先したい場合は以下を有効化 */
    /* font-family: "Noto Sans JP", sans-serif; */
}

/* 日本語タイトルクラス（ここでは英語「Service & Support」を表示） */
.support-header-group .crx-title-ja {
    text-align: left;
    margin-bottom: 15px;
}

/* 緑のライン（幅100%に上書き） */
.support-header-group .crx-title-line {
    width: 100%;       /* 幅いっぱい */
    margin: 0 0 30px;  /* 上0、左右0、下30px */
}

/* --- スマホ対応 (上書き) --- */
@media (max-width: 900px) {
    /* スマホでは中央揃えに戻す */
    .support-header-group {
        text-align: center;
    }
    .support-header-group .crx-title-en,
    .support-header-group .crx-title-ja {
        text-align: center;
    }
    .support-header-group .crx-title-line {
        margin: 0 auto 30px; /* 中央配置 */
        width: 100%; /* スマホでも幅いっぱいのままにするか、60pxに戻すか */
        max-width: 100%;
    }
}

/* ラッパー：左右均等割り付け */
.crx-support-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 20px 0;
}

/* 左側：テキストエリア */
.crx-support-text {
    flex: 1;
    max-width: 50%;
}

/* ★追加: キャッチコピー（元 support-title） */
.support-catch-copy {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    line-height: 1.4;
    margin: 0 0 30px;
}

/* ポイント部分 */
.support-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ccc;
}

.s-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #6EAE43;
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* 説明文 */
.support-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ボタン (ヒーローエリア統一) */
.crx-btn-support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6EAE43; /* CRX Green */
    color: #fff;
    padding: 18px 40px;
    min-width: 320px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(110, 174, 67, 0.3);
    border: none;
}

.crx-btn-support:hover {
    background-color: #5a9632;
    color: #fff;
    transform: none;
}

.crx-btn-support .arrow {
    margin-left: 10px;
    font-weight: normal;
}


/* 右側：画像エリア */
.crx-support-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.crx-support-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* スマホ対応 */
@media (max-width: 900px) {
    .crx-support-wrapper {
        flex-direction: column;
        /* gap: 40px; を残すと要素間の隙間が広くなりすぎるため調整 */
        gap: 20px; 
    }

    /* .crx-support-text の「箱」を無効化し、中身を直接 Flex アイテムにする */
    .crx-support-text {
        display: contents;
    }

    /* ▼ 各要素に1〜6の順番（order）を明示的に指定する */
    .support-header-group {
        order: 1; /* 1番目：タイトル */
        width: 100%;
    }
  
    .support-catch-copy {
        order: 2; /* 2番目：キャッチコピー */
        width: 100%;
        font-size: 1.5rem;
    }
	
    .crx-support-image {
        order: 3; /* 3番目：画像 */
        width: 100%;
        justify-content: center;
        margin-bottom: 10px; /* 画像と下の要素の間の余白調整 */
    }

    .support-points {
        order: 4; /* 4番目：ポイント（✔リスト） */
        width: 100%;
        justify-content: center; 
    }
    
    .support-desc {
        order: 5; /* 5番目：解説 */
        text-align: left;
        width: 100%;
    }
    
    .crx-btn-support {
        order: 6; /* 6番目：ボタン */
        width: 100%;
        min-width: 0; 
        box-sizing: border-box;
    }

    /* --- 以下、既存のスマホ用上書きスタイル --- */
    .support-header-group h2,
    .support-header-group p {
        text-align: center !important;
    }
    .support-header-group .crx-title-line {
        margin: 0 auto 30px !important;
    }
}


/* =========================================================
   7. Catalog Section (サポートの左右反転版)
   ========================================================= */

/* カタログセクション用の調整クラス */
.catalog-swap {
    /* 必要に応じて微調整があればここに記述 */
}

/* カタログの場合、画像は「左寄せ（スタート位置）」にする */
.catalog-swap .crx-support-image {
    justify-content: flex-start; /* 右寄せ(flex-end)を打ち消して左寄せに */
}


/* =========================================================
   9. Footer CTA Section (All Left Aligned)
   ========================================================= */

/* セクション全体 */
.crx-cta-section {
    background-color: #222;
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ラッパー (画像 | コンテンツ) */
.cta-modern-wrapper {
    display: flex;
    align-items: center;       /* 上下中央揃え */
    justify-content: center;   /* 左右中央寄せ */
    gap: 80px;                 /* 画像とテキストの間隔 */
}

/* --- ① 左側：正方形画像エリア --- */
.cta-square-image {
    flex: 0 0 380px;           /* サイズ固定 */
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}

.cta-square-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-modern-wrapper:hover .cta-square-image {
    transform: rotate(0) scale(1.02);
}

/* --- ② 右側：コンテンツエリア (文章 + ボタン) --- */
.cta-text-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;    /* 縦積み */
    align-items: flex-start;   /* ★修正: 左揃え */
}

/* 英語サブタイトル (左揃え) */
.cta-sub {
    display: block;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    color: #6EAE43; /* CRX Green */
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: left;
}

/* メインタイトル (左揃え) */
.cta-modern-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    font-feature-settings: "palt";
    text-align: left; /* ★左揃え */
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

/* 説明文 (左揃え) */
.cta-modern-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 0;
    text-align: left; /* ★左揃え */
}

/* --- ボタンデザイン (左揃え) --- */
.crx-btn-cta-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* 配置調整: 上に余白 (左右autoを削除して左寄せにする) */
    margin-top: 40px; 
    
    background-color: #6EAE43; /* CRX Green */
    color: #fff;               /* 文字色：白 */
    
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    padding: 22px 60px;
    border-radius: 50px;
    
    /* 影（緑色の発光） */
    box-shadow: 0 10px 30px rgba(110, 174, 67, 0.4); 
    
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

.crx-btn-cta-modern:hover {
    transform: none; /* 浮き上がりなし */
    background-color: #5a9632; 
    color: #fff;
}

.crx-btn-cta-modern .arrow {
    margin-left: 15px;
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.crx-btn-cta-modern:hover .arrow {
    transform: translateX(5px);
}


/* --- スマホ対応 (Responsive) --- */
@media (max-width: 900px) {
    .crx-cta-section {
        padding: 60px 0;
    }

    .cta-modern-wrapper {
        flex-direction: column; /* 縦積み */
        gap: 40px;
        text-align: center;
    }

    .cta-text-content {
        align-items: center; /* スマホでは全体を中央揃え */
        text-align: center;
        padding: 0 20px;
    }

    .cta-sub,
    .cta-modern-title, 
    .cta-modern-desc {
        text-align: center; /* スマホでは中央揃え */
    }

    .cta-square-image {
        flex: 0 0 300px;
        height: 300px;
        transform: rotate(0);
        margin: 0 auto;
    }
    
    .crx-btn-cta-modern {
        width: 100%; /* 幅いっぱい */
        box-sizing: border-box;
        margin-top: 30px;
    }
}

/* ==========================================================================
   10. Sub-Page Styles (下層ページ共通)
   ========================================================================== */

/* --- Page Hero (下層ページヘッダー) --- */
.crx-page-hero {
    width: 100%;
    background-color: #222; /* ダークグレー背景 */
    color: #fff;
    
    /* ヘッダー(約60~80px)の高さを考慮した余白 */
    padding-top: 140px; 
    padding-bottom: 60px;
    
    position: relative;
    overflow: hidden;
}

/* 左右レイアウトのラッパー */
.page-hero-wrapper {
    display: flex;
    align-items: center; /* 上下中央揃え */
    justify-content: space-between;
    gap: 40px;
}

/* --- 左側：テキストエリア --- */
.page-hero-text {
    flex: 1;
    max-width: 600px;
}

/* 英語タイトル (DIN Font) */
.page-hero-title-en {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    color: #fff;
}

/* 日本語サブタイトル */
.page-hero-title-ja {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ccc; /* 白すぎないグレー */
    margin-bottom: 20px;
}

/* アクセントライン (CRXグリーン) */
.page-hero-line {
    width: 80px;
    height: 6px;
    background-color: #6EAE43;
    border-radius: 3px;
}

/* --- 右側：画像エリア --- */
.page-hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    position: relative;
}

.page-hero-image img {
    width: 100%;
    max-width: 500px; /* 画像が大きくなりすぎないように制限 */
    height: auto;
    object-fit: contain;
    
    /* 登場アニメーション (ふわっと浮き出る) */
    opacity: 0;
    transform: translateX(20px);
    animation: heroImageFadeIn 1s ease-out forwards;
}

@keyframes heroImageFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* --- スマホ対応 (Responsive) --- */
@media (max-width: 900px) {
    .crx-page-hero {
        padding-top: 120px; /* スマホヘッダー分 */
        padding-bottom: 40px;
        text-align: center;
    }

    .page-hero-wrapper {
        flex-direction: column-reverse; /* 画像を上に、文字を下に */
        gap: 30px;
    }

    .page-hero-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* 中央揃え */
    }

    .page-hero-title-en {
        font-size: 3rem;
    }

    .page-hero-image {
        justify-content: center;
        width: 80%;
    }
}


/* =========================================================
   11. Lineup Grid Layout (下層ページ用グリッド)
   ========================================================= */

.crx-lineup-grid {
    display: flex; /* grid から flex に変更 */
    flex-wrap: wrap; /* 折り返しを許可 */
    justify-content: center; /* ★これが各行の中央寄せを実現します */
    gap: 30px 20px; /* カード同士の間隔（縦 横） */
    margin: 0 auto;
    max-width: 1200px; /* 全体の最大幅 */
    padding: 20px 0;
}

.crx-lineup-link {
    /* カード1枚の幅を固定または指定する */
    flex: 0 0 320px; 
    text-decoration: none;
    color: inherit;
}

/* カード自体の調整（トップページのスタイルを継承しつつ微調整） */
.crx-lineup-grid .crx-lineup-card {
    /* 幅はグリッド側で制御するため100%に */
    width: 100%;
    height: 100%;
    min-height: 540px; /* 高さを揃える */
    margin: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .crx-lineup-grid {
        /* スマホでは1カラム */
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
        gap: 30px;
    }
}

/* =========================================
   活用事例ページ専用スタイル
   ========================================= */

/* コントロールパネル（フィルター&ソート） */
.app-controls-wrapper {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #eee;
}

/* フィルターの各行 */
.filter-row {
    display: flex;
    align-items: flex-start; /* ラベルとボタンの位置合わせ */
    margin-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
}
.filter-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* ラベル（工程、用途、機種） */
.filter-label {
    font-weight: bold;
    font-size: 0.95rem;
    min-width: 60px;
    padding-top: 6px; /* ボタンとの高さ合わせ */
    color: #333;
    margin-right: 15px;
}

/* ボタン群のラッパー */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

/* フィルターボタン */
.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
}

.filter-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

/* ---------------------------------------------------
   活用事例ページ専用スタイル (更新版)
--------------------------------------------------- */

/* (既存のスタイルを維持しつつ、色のみ変更) */

/* フィルターボタンのアクティブ色を黄緑に変更 */
.filter-btn.active {
    background: #6EAE43; /* FANUCのコーポレートカラーに近い黄緑 */
    border-color: #6EAE43;
    color: #fff; /* 文字色は白が見やすい */
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* ホバー時の挙動も少し調整 */
.filter-btn:hover {
    background: #f4f8f0; /* 薄い緑 */
    border-color: #6EAE43;
    color: #333;
}
.filter-btn.active:hover {
    background: #5a9632; /* 少し濃い緑 */
    color: #fff;
}


/* ---------------------------------------------------
   ページネーション
--------------------------------------------------- */
.crx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px; /* 四角めのデザイン */
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.page-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

/* 現在のページ */
.page-btn.active {
    background: #6EAE43; /* 黄緑 */
    border-color: #6EAE43;
    color: #fff;
    font-weight: bold;
    pointer-events: none; /* クリック無効化 */
}

/* ソートエリア */
.sort-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右寄せ */
    font-size: 0.9rem;
}

.crx-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-left: 10px;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
}

/* カードグリッドレイアウト */
.crx-card-grid {
    display: grid;
    /* カードの最小幅を300pxとし、画面幅に応じて自動で列数を調整 */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* データなしメッセージ */
.no-data {
    text-align: center;
    padding: 50px;
    color: #999;
    grid-column: 1 / -1; /* 全幅を使う */
    font-size: 1rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column; /* 縦並び */
    }
    .filter-label {
        margin-bottom: 8px;
    }
    .sort-container {
        justify-content: flex-start; /* 左寄せ */
    }
}


/* =========================================
   製品詳細ページ用スタイル
   ========================================= */

.breadcrumb-area {
    /* 背景色を透明にして、ヘッダー下の空間に馴染ませる */
    background: #f9f9f9; 
    
    /* ヘッダーが浮いている分、少し余白を多めに取って被りを防ぐ */
    padding-top: 120px; 
    padding-bottom: 10px;
    
    /* 枠線も削除してスッキリさせる */
    border-bottom: none;
}

/* リスト全体のスタイル */
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* 欧文フォントを優先 */
}

/* 各項目のスタイル */
.breadcrumb-list li {
    font-size: 0.8rem; /* 少し小さめにして控えめに */
    color: #888;       /* 薄めのグレー */
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
}

/* 区切り文字を「>」からスラッシュ「/」に変更してモダンに */
.breadcrumb-list li::after {
    content: "/";
    margin: 0 12px; /* 間隔を少し広めに */
    color: #ccc;    /* 区切り線はさらに薄く */
    font-size: 0.75rem;
}

.breadcrumb-list li:last-child::after {
    content: none;
}

/* リンクのスタイル */
.breadcrumb-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

/* ホバー時はブランドカラー（緑） */
.breadcrumb-list a:hover {
    color: #6EAE43;
    text-decoration: none; /* 下線は出さない */
}

/* 現在地（最後の項目） */
.breadcrumb-list li:last-child {
    font-weight: bold;
    color: #333; /* 黒に近い色で強調 */
    pointer-events: none; /* クリック不可に */
}

/* ヒーローセクション */
.product-hero {
    background: #fafafa;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}
.product-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.product-tag {
    display: inline-block;
    background: #eee;
    color: #555;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.product-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1;
}
.product-catch {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}
.product-specs-highlight {
    /* flex から grid に変更して2列レイアウトを作成 */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 均等な2列に分割 */
    gap: 20px 40px; /* 縦の隙間を20px、横の隙間を40pxと広めに確保 */
    list-style: none;
    padding: 20px 0;
    margin-bottom: 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-specs-highlight li {
    display: flex;
    flex-direction: column;
    /* 長いテキストが入っても折り返して綺麗に収まるように設定 */
    word-break: break-word; 
}

.product-specs-highlight .label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.product-specs-highlight .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1.2; /* 複数行になった場合の見栄えを調整 */
}
.product-actions {
    display: flex;
    gap: 15px;
}
.product-hero-image img {
    max-width: 100%;
    height: auto;
    /* ドロップシャドウなどで立体感を出すとリッチになります */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* --- スペック表（基本設定） --- */
.spec-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    
    /* 横スクロール用の設定（スマホ時に表がはみ出さないようにする保険） */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.crx-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.crx-spec-table th, 
.crx-spec-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.crx-spec-table th {
    width: 30%;
    color: #666;
    font-weight: normal;
}

.crx-spec-table td {
    font-weight: bold;
    color: #333;
}

.crx-spec-table tr:last-child th,
.crx-spec-table tr:last-child td {
    border-bottom: none;
}


/* ==========================================================================
   【新規追加】3列・複数モデル比較用（.compare-table）の拡張設定
   ========================================================================== */
.crx-spec-table.compare-table {
    min-width: 600px; /* スマホでも文字が潰れすぎないよう、テーブル全体の最小幅を確保 */
}

/* 比較用のヘッダー行（1行目） */
.crx-spec-table.compare-table thead th,
.crx-spec-table.compare-table thead td {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    background: #fcfcfc;
    border-bottom: 2px solid #6EAE43; /* ブランドカラーの緑で仕切りを強調 */
    text-align: center; /* モデル名は中央揃えが見やすい */
}

/* 比較表の項目名列（左端） */
.crx-spec-table.compare-table thead th {
    text-align: left;
    font-size: 0.95rem;
    color: #666;
}

.crx-spec-table.compare-table th {
    width: 24%; /* 項目名はやや狭めに */
    font-weight: bold; /* 比較表なので項目も少し目立たせる */
}

/* 比較表のデータ列（Type-X / Type-V） */
.crx-spec-table.compare-table td {
    width: 38%; /* 残りの76%を2等分 */
    font-weight: normal; /* 情報量が多いため、通常の太さにして視認性を向上 */
    text-align: center; /* 比較データは中央揃えが美しい */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .product-hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }
	.product-specs-highlight {
        grid-template-columns: 1fr; 
        gap: 20px;
        text-align: center;
    }
    .product-actions {
        justify-content: center;
    }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
	.spec-table-wrapper {
        padding: 20px;
    }

    /* 既存の2列スペック表（.compare-table がついていない表）は、
      今まで通りスマホで縦並びのカード風UIにします。
    */
    .crx-spec-table:not(.compare-table) th, 
    .crx-spec-table:not(.compare-table) td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    
    .crx-spec-table:not(.compare-table) th {
        border-bottom: none;
        padding-bottom: 0;
        font-size: 0.85rem;
    }
    
    .crx-spec-table:not(.compare-table) td {
        border-bottom: 1px solid #eee;
        padding-top: 5px;
    }

    /* 3列比較表（.compare-table）は、縦並びにせず「テーブル構造」を維持します。
      枠外にはみ出た分は横スクロールしてスワイプで比較できるようになり、劇的に見やすくなります。
    */
    .crx-spec-table.compare-table {
        display: table;
    }
    
    .crx-spec-table.compare-table tr {
        display: table-row;
    }
    
    .crx-spec-table.compare-table th,
    .crx-spec-table.compare-table td {
        display: table-cell;
        padding: 12px 10px;
        font-size: 0.85rem; /* スマホ用に文字サイズを微調整 */
    }
	.breadcrumb-area {
        padding-top: 100px; /* スマホヘッダーの高さに合わせて調整 */
    }
    .breadcrumb-list li {
        font-size: 0.75rem;
    }
}

/* =========================================
   タブ切り替えセクション (幅修正・中央揃え版)
   ========================================= */

/* --- 共通: タブナビゲーション --- */
.crx-tab-nav {
    display: flex;
    justify-content: center; /* リスト全体を中央寄せ */
    list-style: none;
    padding: 0;
    margin: 0 auto 50px auto;
    border-bottom: 2px solid #ddd;
    max-width: 900px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.tab-item {
    /* 文字を上下左右中央に配置 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    padding: 15px 30px;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    white-space: nowrap;
    min-width: 120px;
    box-sizing: border-box; /* パディングを含めて計算 */
}

.tab-item:hover { color: #333; }
.tab-item.is-active { color: #6EAE43; }

.tab-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #6EAE43;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.tab-item.is-active::after { transform: scaleX(1); }

/* パネル表示アニメーション */
.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.tab-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


/* --- TAB 1: 基本仕様 --- */
.spec-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    border-top: 3px solid #6EAE43; /* 上部にアクセント */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.crx-spec-table { width: 100%; border-collapse: collapse; }
.crx-spec-table th, .crx-spec-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.crx-spec-table th { width: 30%; color: #666; font-weight: normal; background: #fafafa; }
.crx-spec-table td { font-weight: bold; color: #333; }


/* --- TAB 2: 外観 (スタイリッシュグリッド) --- */
.appearance-gallery-wrapper {
    display: grid;
    /* 大きく見せるため 2列グリッド */
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.app-gal-item {
    position: relative;
    overflow: hidden;
    /* アスペクト比を16:9に近い形にしてスタイリッシュに */
    aspect-ratio: 16 / 9;
    background: #000; /* 画像ロード前は黒 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.app-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.95;
}

/* --- 画像が1つしかない場合の追加スタイル --- */
.app-gal-item:only-child {
    grid-column: 1 / -1; /* グリッドの全幅（2列分）を使用 */
    max-width: 800px;    /* 画像が大きくなりすぎるのを防ぐ（お好みで調整してください） */
    margin: 0 auto;      /* 中央寄せ */
    width: 100%;
}

/* キャプションオーバーレイ */
.app-gal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    pointer-events: none;
}

.app-gal-caption {
    font-size: 0.9rem;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    letter-spacing: 0.05em;
    font-weight: 500;
}


/* --- TAB 3: 構成機材 (見切れ修正版) --- */
.equipment-row-list {
    width: 100%; /* 親要素にフィットさせる */
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.equip-row {
    width: 100%; /* 横幅いっぱい */
    display: flex;
    align-items: center; /* 垂直中央揃え */
    flex-wrap: nowrap; /* 折り返し禁止 */
    
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
    box-sizing: border-box; /* パディングを含める */
}

.equip-row:last-child {
    border-bottom: none;
}

.equip-image-col {
    /* 幅40%固定 */
    flex: 0 0 40%; 
    max-width: 40%;
    
    /* 余白を含めて計算 */
    box-sizing: border-box; 
    padding-right: 30px;
	padding-left: 10px; 
    
    background: #fff;
}

.equip-image-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    display: block; /* 画像下の隙間消し */
}

/* --- 画像がない場合のタイポグラフィ枠 --- */
.equip-no-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* 主張しないごく薄いグレー */
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    
    /* --- タイポグラフィ設定（Adobe Fonts） --- */
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; 
    font-size: 1.25rem;
    font-weight: 600; /* ミディアム〜セミボールド推奨 */
    color: #b0b0b0; /* テキストが目立ちすぎないよう、上品なグレーに */
    letter-spacing: 0.2em; /* 文字間隔を広めに取ると「ロゴ・図版」っぽくなります */
    text-transform: uppercase; /* 入力が小文字でも強制的に大文字へ変換 */
}

.equip-text-col {
    /* 残り60%を埋める */
    flex: 1; 
    max-width: 55%; /* はみ出し防止の保険 */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.equip-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

.equip-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #6EAE43;
    margin-right: 10px;
    border-radius: 2px;
    flex-shrink: 0; /* 線が潰れないように */
}

.equip-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}


/* --- TAB 4: ダウンロード (変更なし) --- */
.download-links-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}
.dl-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.2s;
}
.dl-card:hover { border-color: #6EAE43; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.dl-icon { background: #eee; padding: 10px; font-weight: bold; margin-right: 20px; color: #555; }
.dl-text h4 { margin: 0; color: #333; }
.dl-text p { margin: 0; color: #999; font-size: 0.8rem; }
.dl-arrow { margin-left: auto; color: #6EAE43; }


/* --- スマホ対応 (レスポンシブ) --- */
@media (max-width: 768px) {
	.crx-tab-nav {
        /* スマホでは2列グリッド */
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border-bottom: none;
    }
    .tab-item {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 12px;
        font-size: 0.9rem;
        /* スマホでも中央揃え */
        justify-content: center; 
        min-width: auto;
    }
    .tab-item.is-active {
        background: #6EAE43;
        color: #fff;
        border-color: #6EAE43;
    }
    .tab-item::after { display: none; }
	
	    /* 外観: 1列表示 */
    .appearance-gallery-wrapper {
        grid-template-columns: 1fr;
    }

    /* 構成機材: 縦積みに変更 */
    .equip-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }
    
    .equip-image-col {
        /* 幅100%に変更 */
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
		padding-left: 0;
        margin-bottom: 15px;
    }
    
    .equip-text-col {
        /* 幅100%に変更 */
        flex: 0 0 100%;
        max-width: 100%;
		padding-right: 10px;
		padding-left: 10px;
    }

    .equip-title {
        font-size: 1.2rem;
    }
}

/* =========================================
   ボタンデザインの修正 (詳細ページ用)
   ========================================= */

/* --- ボタンコンテナ: 縦並びにする設定 --- */
.product-actions {
    display: flex;
    flex-direction: column; /* 縦並び */
    gap: 15px; /* ボタン間の余白 */
    margin-top: 30px;
    align-items: flex-start; /* 左寄せ（中央寄せしたい場合は center） */
    width: 100%;
}

/* 共通のボタンベーススタイル（トップページのHeroボタンと形状を合わせる） */
.crx-btn-primary,
.crx-btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* 丸みのある形状 */
    font-size: 1.1rem;
    padding: 16px 40px;
    min-width: 280px; /* 幅を広めに確保 */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    line-height: 1.2;
    transform: none !important; /* 動きを無効化 */
}

/* --- 1. プライマリーボタン (導入のご相談) --- */
.crx-btn-primary {
    background-color: #6EAE43; /* CRX Green */
    color: #fff; /* 文字は白 */
    border: 2px solid #6EAE43;
    box-shadow: 0 4px 6px rgba(110, 174, 67, 0.3); /* 緑色の影 */
}

.crx-btn-primary:hover {
    background-color: #5a9632; /* 少し濃い緑 */
    border-color: #5a9632;
    color: #fff;
}

/* --- 2. セカンダリーボタン (カタログDL - 白背景用) --- */
.crx-btn-secondary {
    background-color: #fff; /* 白背景 */
    color: #555; /* グレー文字 */
    border: 2px solid #ccc; /* グレー枠線 */
}

.crx-btn-secondary:hover {
    background-color: #f9f9f9; /* ほんのりグレー */
    border-color: #6EAE43; /* ホバー時は緑枠 */
    color: #6EAE43; /* 文字も緑 */
}

/* アイコン調整 */
.crx-btn-secondary.icon-pdf::before {
    content: "📄";
    margin-right: 8px;
    font-size: 1.2em;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .product-actions {
        align-items: center; /* スマホでは中央寄せ */
        width: 100%;
    }
    .crx-btn-primary,
    .crx-btn-secondary {
        width: 90%; /* 幅いっぱい */
        max-width: 320px;
    }
}






/* SEO記事はここから */

/* ========================================================= */
/* 共有ボタン */
/* ========================================================= */
.share-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    align-items: center;
    float: right;
}

.share-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, opacity 0.3s;
    margin: 0 3px 0 3px;
}

.share-button.x-twitter img {
    width: 70%;
    height: 70%;
}

.share-button.facebook img {
    width: 82%;
    height: 82%;
}

.share-button.line img {
    width: 87%;
    height: 87%;
}

.share-button:hover {
    opacity: 0.7;
}

/* ========================================================= */
/* 1. ベースレイアウト & 記事共通スタイル (PC優先) */
/* ========================================================= */
.crx_article {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    line-height: 1.7;
    color: #444;
    display: flex; 
    align-items: flex-start;
    gap: 30px; 
}

.crx_article_content {
    flex-grow: 1;
    max-width: 900px; 
    margin: 0;
    order: 1;
}

.crx_toc_sidebar_wrapper {
    display: block; 
    width: 100%;
    order: 0;
}

/* ========================================================= */
/* ヒーロー画像エリア（黒グラデーション & サブタイトル対応版） */
/* ========================================================= */
.crx_article .crx_article_hero {
    position: relative;
    width: 100%;
    padding-top: 40%; 
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.crx_article .crx_article_hero_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9); 
}

.crx_article .crx_article_hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.5) 40%, 
        rgba(0, 0, 0, 0) 100% 
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
    text-align: left;
    box-sizing: border-box;
}

.crx_article .hero-text-group {
    max-width: 90%;
}

.crx_article .crx_article_hero h1 {
    font-size: 3.2em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    background: none;
    padding: 0;
    border: none;
}

.crx_article .hero-subtitle {
    font-size: 1.4em;
    font-weight: 400;
    color: #eeeeee;
    margin: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .crx_article .crx_article_hero {
        padding-top: 65%; 
    }
    .crx_article .crx_article_hero_overlay {
        padding: 20px;
        background: linear-gradient(
            to top, 
            rgba(0, 0, 0, 0.95) 0%, 
            rgba(0, 0, 0, 0.6) 60%, 
            rgba(0, 0, 0, 0) 100%
        );
    }
    .crx_article .crx_article_hero h1 {
        font-size: 1.8em;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    .crx_article .hero-subtitle {
        font-size: 0.95em;
        line-height: 1.4;
    }
    .crx_article .hero-text-group {
        max-width: 100%;
    }
}

/* ========================================================= */
/* 更新日ボックスのデザイン */
/* ========================================================= */
.crx_article_update_date {
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
    float: left;
    background-color: #DAEEC1;
    color: #000000;
    padding: 5px 15px;
    border-radius: 4px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;

    font-size: 0.9em;
    font-weight: 600;
}

.crx_article_update_date p {
    margin: 0;
    line-height: 1.5;
}

.crx_article_pege {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================= */
/* 2. 見出しスタイル */
/* ========================================================= */
.crx_article h1,
.crx_article h2,
.crx_article h3,
.crx_article h4 {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    line-height: 1.3;
}

/* h2: セクション見出し (緑のアクセント) */
.crx_article h2 {
    border-bottom: 3px solid #6EAE43;
    background-color: #f7fcf4;
    padding: 15px 20px;
    margin-bottom: 30px;
    margin-top: 40px;
    font-size: 1.8em;
    color: #333333;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: left;
    scroll-margin-top: 100px; 
    box-sizing: border-box;
    width: 100%;
}

.crx_article h2::before {
    content: '■';
    color: #6EAE43;
    margin-right: 10px;
    font-size: 0.9em;
    vertical-align: middle;
}

/* h3: メインの見出し (左側に青線) */
.crx_article h3 {
    padding: 10px 0;
    margin: 30px 0 15px 0;
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    border-left: 6px solid #4a7bb0;
    padding-left: 15px;
    line-height: 1.2;
}

/* h4: サブタイトル (下に青い二重線) */
.crx_article h4 {
    padding: 5px 0;
    margin: 25px 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #4a7bb0;
    border-bottom: 3px double #e0e0e0;
    line-height: 1.4;
}

/* ========================================================= */
/* 3. 目次 (TOC) スタイル (PC追従&モバイル埋め込み) */
/* ========================================================= */
.crx_article_toc {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box; 
    padding: 20px;
}

.crx_article_toc .toc_toggle_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    padding-bottom: 8px; 
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 15px;
}

.crx_article_toc .toc_title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.05em;
    text-align: left;
}

.crx_article_toc .toggle-icon {
    font-size: 0.9em;
    font-weight: bold;
    color: #6EAE43;
    line-height: 1;
}

.crx_article_toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crx_article_toc li {
    width: 100%;
    line-height: 1.5;
    margin-bottom: 8px;
    border-left: 3px solid transparent;
    transition: border-left 0.2s;
}

.crx_article_toc a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 0.95em;
    background-color: #f7fcf4;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-left 0.2s;
    margin-bottom: 8px;
}

.crx_article_toc li:hover {
    border-left-color: #6EAE43;
}

.crx_article_toc a:hover {
    color: #6EAE43;
    background-color: #e6f1e6;
    font-weight: 600;
}

.crx_article_toc ul.toc_list_content {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: none; 
    overflow: visible;
    opacity: 1;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
}

.crx_toc_cta {
    display: none; 
    box-sizing: border-box;
}

.crx_toc_cta a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative; 
    z-index: 1;
    transition: transform 0.3s ease;
}

.crx_toc_cta_image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.crx_toc_cta a:hover {
    transform: scale(1.05);
}

/* ========================================================= */
/* 4. PC向け設定 (min-width: 769px) - サイドフロート（追従）を実現 */
/* ========================================================= */
@media (min-width: 1200px) {
    .crx_toc_sidebar_wrapper {
        display: flex;
        flex-direction: column;
        width: 300px;
        flex-shrink: 0;
        order: 2;
        position: sticky;
        top: 100px; 
        margin-top: 50px;
    }
    .crx_article_toc {
        width: 100%;
        position: static;
        margin-top: 0;
        margin-bottom: 0;
        padding: 20px;
    }
    .crx_article_toc .toc_toggle_header {
        cursor: default;
        justify-content: center;
    }
    .crx_article_toc .toc_list_content {
        display: block !important;
    }   
    .crx_toc_cta {
        display: block;
        width: 100%;
        margin-top: -20px;
    }
    .crx_article_content {
        order: 1;
    }
}

@media (max-width: 1200px) {
    .crx_article {
        flex-direction: column;
        margin: 50px auto;
        padding: 0 15px;
        gap: 20px;
        display: flex;
    }
    .crx_toc_sidebar_wrapper {
        display: none !important;
    }
    .crx_article_content {
        order: 1; 
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ========================================================= */
/* 5. モバイルレスポンシブ調整 (max-width: 768px) - 本文中に埋め込み */
/* ========================================================= */
@media (max-width: 768px) {
    .crx_article {
        flex-direction: column;
        margin: 50px auto;
        padding: 0 15px;
        gap: 20px;
        display: flex;
    }
    .crx_toc_sidebar_wrapper {
        display: none !important;
    }
    .crx_article_content {
        order: 1; 
        max-width: 100%;
        margin: 0 auto;
    }
    .crx_article .crx_article_hero h1 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .crx_article h2 {
        font-size: 1.6em;
        padding: 12px 15px;
    }
    .crx_article h3 {
        font-size: 1.4em;
        border-left-width: 4px;
        padding-left: 10px;
        margin: 20px 0 10px 0;
    }
    .crx_article h4 {
        font-size: 1.1em;
        border-bottom-width: 2px;
        margin: 15px 0 8px 0;
    }
    .crx_article_update_date {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 0.7em;
        font-weight: 500;
        width: 220px;
        float: none;
    }
}

/* ==================================== */
/* 基本となる装飾スタイル */
/* ==================================== */
.decorative-border {
    height: auto;
    max-width: 500px; 
}

.decorative-border img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.decorative-border.is-small {
    max-width: 400px;
}

.decorative-border.is-medium {
    max-width: 500px;
}

.decorative-border.is-large {
    max-width: 100%;
}

.decorative-border.is-center {
    margin-left: auto;
    margin-right: auto;
    float: none; 
}

.decorative-border.is-float-left {
    float: left;
    margin-right: 20px; 
    margin-bottom: 10px;
}

.decorative-border.is-float-right {
    float: right;
    margin-left: 20px; 
    margin-bottom: 10px;
}

.image-caption-outer {
    margin-top: 5px; 
    margin-bottom: 5px;
    font-size: 16px;
    font-style: italic;
    color: #555;
}

.decorative-border.is-center + .image-caption-outer {
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.decorative-border a:hover img {
    transform: scale(1.03);
}





/* ========================================================= */
/* テーブル全体の共通スタイル (ノイズ除去・ハイライト版) */
/* ========================================================= */
.crx_article_tabel.table-modern-simple {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 40px 0;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    color: #222;
    background-color: #ffffff;
}

/* ヘッダー全体 (グレーで統一して落ち着かせる) */
.crx_article_tabel.table-modern-simple thead th {
    padding: 16px 10px;
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.4;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    color: #333;
}

.crx_article_tabel.table-modern-simple thead th:first-child {
    width: 18%;
    background-color: #f8f9fa; /* 青を削除 */
}

/* ヘッダー内の画像 */
.crx_article_tabel.table-modern-simple thead img {
    margin-top: 8px;
    width: 50px !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================= */
/* ★ 主役である「協働ロボット」の列だけを上品に強調 */
/* ========================================================= */
.crx_article_tabel.table-modern-simple .col-cobot,
.crx_article_tabel.table-modern-simple td:nth-child(3) {
    background-color: #f4f9f1; /* 極薄いグリーン */
    border-left: 2px solid #6EAE43;
    border-right: 2px solid #6EAE43;
}

.crx_article_tabel.table-modern-simple thead .col-cobot {
    border-top: 2px solid #6EAE43;
}

.crx_article_tabel.table-modern-simple tbody tr:last-child td:nth-child(3) {
    border-bottom: 2px solid #6EAE43;
}

/* ========================================================= */
/* ボディ部分 (行ヘッダーとデータセル) */
/* ========================================================= */
.crx_article_tabel.table-modern-simple tbody th,
.crx_article_tabel.table-modern-simple tbody td {
    padding: 16px 12px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
    font-size: 1.05em;
    line-height: 1.5;
    background-color: #ffffff; /* 水色の背景を削除し白に統一 */
}

/* 行ヘッダー (グラデーションを削除してシンプルに) */
.crx_article_tabel.table-modern-simple tbody th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 700;
    text-align: left;
    padding-left: 20px;
    font-size: 1.1em;
}

/* 評価記号のスタイル */
.crx_article_tabel.table-modern-simple td span {
    font-size: 1.6em;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    line-height: 1;
}

/* 評価記号のカラー統一 */
.crx_article_tabel.table-modern-simple td .excellent {
    color: #6EAE43; /* グリーン */
}

.crx_article_tabel.table-modern-simple td .good {
    color: #6EAE43; /* グリーン */
}

.crx_article_tabel.table-modern-simple td .poor {
    color: #C32C30; /* レッド */
}

/* 評価の補足テキスト */
.crx_article_tabel.table-modern-simple td > br + * {
    font-size: 0.85em;
    color: #666;
}

/* ========================================================= */
/* モバイル対応 (レスポンシブ) */
/* ========================================================= */
@media (max-width: 768px) {
    .crx_article_tabel.table-modern-simple {
        margin: 10px 0 30px 0;
    }
    .crx_article_tabel.table-modern-simple thead th {
        font-size: 1em;
        padding: 10px 5px;
    }
    .crx_article_tabel.table-modern-simple thead img {
        width: 35px !important;
    }
    .crx_article_tabel.table-modern-simple tbody th {
        font-size: 0.95em;
        padding-left: 8px;
        width: 25%;
    }
    .crx_article_tabel.table-modern-simple tbody td {
        font-size: 0.85em;
        padding: 10px 6px;
    }
    .crx_article_tabel.table-modern-simple td span {
        font-size: 1.3em;
        margin-bottom: 2px;
    }
    .crx_article_tabel.table-modern-simple td > br + * {
        font-size: 0.75em;
    }
}
/* =========================================
   記事目次 (TOC) - スマホ対応用トグル
   ========================================= */
.toc_toggle_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    cursor: default;
}

.toggle-icon {
    display: none;
}

@media (max-width: 1200px) {
    .crx_article_toc {
        margin-top: 30px;
        margin-bottom: 30px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
    }
    .toc_toggle_header {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        background: #f9f9f9;
        border-bottom: 1px solid transparent;
        transition: all 0.3s;
    }
    .toc_toggle_header.is-active {
        background: #f0f0f0;
        border-bottom: 1px solid #ddd;
    }
    .toggle-icon {
        display: block;
        transition: transform 0.3s ease;
    }
    .toc_toggle_header.is-active .toggle-icon {
        transform: rotate(180deg);
    }
    .toc_list_content {
        display: none; 
        padding: 15px;
        border-top: 1px solid #eee;
    }
    .toc_list_content.is-open {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================================= */
/* 6. メディアブロック (1列ワイドカード型・ボタン対応版) */
/* ========================================================= */
.media-wrapper-crx {
    /* ▼ 横幅を少し小さくし、中央寄せにする設定を追加 */
    max-width: 750px; 
    margin: 0 auto 30px auto; 
    
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden; /* 角丸を効かせるため */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* H3を見出し付きのカードヘッダーに変更 */
.crx_article h3.media-block-title-crx {
    margin: 0;
    padding: 16px 20px;
    font-size: 1.3em;
    font-weight: 700;
    color: #222;
    background-color: #f8f9fa; /* 薄いグレー背景 */
    border-bottom: 1px solid #eaeaea; /* 下線で区切る */
    border-left: 6px solid #4a7bb0; /* ファナックイエローのアクセント */
}

/* 画像とテキストのコンテナ */
.media-block-content-crx {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.media-block-content-crx img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

/* テキストとボタンのラッパー */
.media-block-text-crx {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.media-block-text-crx p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.7;
    color: #444;
}

/* PC向けの横並び設定 */
@media (min-width: 768px) {
    .media-block-content-crx {
        flex-direction: row;
        align-items: center;
        padding: 24px;
        gap: 30px;
    }
    
    .media-block-content-crx img {
        width: 35%; /* 少し小さくして控えめに */
        max-width: 280px;
        flex-shrink: 0;
    }
    
    .media-block-text-crx {
        width: 65%; /* 画像が小さくなった分、テキストエリアを広げる */
        padding-top: 0;
    }
}

/* ========================================================= */
/* YouTube埋め込み専用スタイル */
/* ========================================================= */
.article_youtube {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.article_youtube iframe {
    width: 100%;
    max-width: 800px; 
    height: auto;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ========================================================= */
/* ステップボックス */
/* ========================================================= */
.step-section_stepbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; 
    padding: 15px 0; 
    background-color: #ffffff; 
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

.step-box_stepbox {
    background: #ffffff;
    color: #000000;
    border: 1px solid #e0e0e0; 
    border-radius: 6px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
    transition: box-shadow 0.2s ease; 
    padding: 12px 18px;
    width: 100%;
    max-width: 600px;
    min-height: 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-box_stepbox:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-title_stepbox {
    font-size: 1.15em;
    margin-bottom: 4px; 
    font-weight: 700;
    color: #222222;
}

.step-desc_stepbox {
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
    color: #444444;
}

.step-arrow_stepbox {
    font-size: 1.2em; 
    color: #6EAE43; 
    margin: -5px 0; 
}

/* 段階的なアクセントカラー */
.step-section_stepbox .step-box_stepbox:nth-of-type(1)  { border-left: 5px solid hsl(95, 50%, 25%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(3)  { border-left: 5px solid hsl(95, 50%, 35%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(5)  { border-left: 5px solid hsl(95, 50%, 45%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(7)  { border-left: 5px solid hsl(95, 50%, 55%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(9)  { border-left: 5px solid hsl(95, 50%, 65%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(11) { border-left: 5px solid hsl(95, 50%, 75%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(13) { border-left: 5px solid hsl(95, 50%, 85%); }
.step-section_stepbox .step-box_stepbox:nth-of-type(15) { border-left: 5px solid hsl(95, 50%, 90%); }

/* ========================================================= */
/* CTAバナー */
/* ========================================================= */
.ad-wrapper_robot_article {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    background-color: transparent;
}

.ad-banner_robot_article {
    position: relative;
    width: 95%;
    max-width: 1000px;
    min-height: 220px;
    background-image: url('../../assets/images/resources/fanuc_image.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 40px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #FFD702;
}

.ad-banner_robot_article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.ad-content_robot_article {
    position: relative;
    z-index: 1;
}

.ad-title_robot_article {
    font-size: 2.4em;
    font-weight: bold;
    color: #FFD702;
    margin-bottom: 16px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.ad-text_robot_article {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.ad-button_robot_article {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0;
    text-align: center;
    padding: 16px 36px;
    background-color: #FFD702;
    color: #000;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.ad-button_robot_article::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

.ad-button_robot_article:hover {
    background-color: #e6c200;
    transform: none;
    box-shadow: none;
}

.ad-button_robot_article:hover::after {
    opacity: 1;
    right: 20px;
}

/* ========================================================= */
/* 自由配置ボタン (.CRX_H_btn) */
/* ========================================================= */
.CRX_H_btn {
    border: none;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 5px;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.CRX_H_btn:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.CRX_H_color-green {
    background-color: #6EAE43;
    color: #FFF;
}

.CRX_H_color-white {
    background-color: #FFF;
    color: #000;
    border: 1px solid #ddd;
}

.CRX_H_color-yellow {
    background-color: #FFD702;
    color: #000;
}

.CRX_H_size-small {
    padding: 8px 16px;
    font-size: 12px;
}

.CRX_H_size-medium {
    padding: 12px 24px;
    font-size: 16px;
}

.CRX_H_size-large {
    padding: 16px 32px;
    font-size: 20px;
}

.CRX_H_btn-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.CRX_H_align-left {
    justify-content: flex-start;
}

.CRX_H_align-center {
    justify-content: center;
}

.CRX_H_align-right {
    justify-content: flex-end;
}








/* =========================================================
   ソリューション選択エリア (2カラム・スタイリッシュ版)
   ========================================================= */

.solutions-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左右均等割り */
    gap: 30px; /* カード間の隙間 */
    margin-top: 20px;
}

/* --- カード共通スタイル --- */
.sol-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
}

/* ホバー時 */
.sol-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 画像エリア (16:9固定) */
.sol-img-box {
    width: 100%;
    aspect-ratio: 16 / 9; /* 比率を固定 */
    overflow: hidden;
    background-color: #eee;
}

.sol-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sol-card:hover .sol-img-box img {
    transform: scale(1.05); /* ホバーで画像ズーム */
}

/* コンテンツエリア */
.sol-content {
    flex: 1;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.sol-text-group {
    flex: 1;
}

.sol-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* 英語フォント */
}

.sol-subtitle {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.sol-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.sol-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s;
}

.sol-card:hover .sol-arrow {
    transform: translateX(5px);
}


/* --- 左：プラグイン (Standard Style) --- */
.card-plugin {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
}

.card-plugin .sol-title {
    color: #333333; /* 英語タイトルは薄く背景っぽく */
}

.card-plugin .sol-subtitle {
    color: #333;
}


/* --- 右：パッケージ (Emphasized Style / 黄緑背景) --- */
.card-package {
    /* CRXグリーン(#6EAE43)をベースにしたグラデーション */
    background: linear-gradient(135deg, #6EAE43 0%, #6EA330 100%);
    color: #ffffff; /* 文字は白抜き */
    border: none; /* 枠線なしで色面を強調 */
}

.card-package .sol-title {
    color: rgba(255,255,255,0.81); /* 白の透過 */
}

.card-package .sol-subtitle {
    color: #fff;
}

.card-package .sol-desc {
    color: rgba(255, 255, 255, 0.95);
}

.card-package .sol-arrow {
    color: #fff;
    background: rgba(255,255,255,0.2); /* 丸い背景を追加 */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


/* --- スマホ対応 (縦並び) --- */
@media (max-width: 768px) {
    .solutions-split-grid {
        grid-template-columns: 1fr; /* 1カラム */
        gap: 20px;
    }
    
    .sol-content {
        padding: 20px;
    }
    
    /* スマホでもパッケージを目立たせるために順序を変えるならここで order を指定 */
    /* .card-package { order: -1; } とするとパッケージが上に来ます */
}



/* =========================================
   スタートアップガイド専用スタイル
   ========================================= */

/* ナビゲーション (Sticky) */
.startup-nav-sticky {
    position: sticky;
    top: 80px; /* ヘッダーの高さに合わせて調整 */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.startup-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto; /* スマホで横スクロール */
}

.startup-nav-list li {
    flex-shrink: 0;
}

.startup-nav-list a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #666;
    font-weight: bold;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.startup-nav-list a .num {
    color: #ccc;
    font-size: 0.85rem;
    margin-right: 5px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

.startup-nav-list a:hover,
.startup-nav-list a.active {
    color: #333;
    border-bottom-color: #6EAE43;
}
.startup-nav-list a:hover .num { color: #6EAE43; }


/* 動画セクション */
.startup-body {
    padding-top: 50px;
    padding-bottom: 50px;
}

.startup-step-section {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    scroll-margin-top: 140px; /* アンカーリンクのズレ補正 */
}

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-label {
    display: inline-block;
    background: #6EAE43;
    color: #fff;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

.step-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 800;
}

.step-header p {
    color: #666;
    line-height: 1.6;
}


/* 動画グリッド (レスポンシブ対応 - Flexbox版) */
.video-grid-responsive {
    display: flex;           /* GridからFlexboxに変更 */
    flex-wrap: wrap;         /* 折り返しを許可 */
    justify-content: center; /* ★ここが重要：アイテムを中央寄せにする */
    gap: 30px;               /* アイテム間の隙間 */
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    
    /* ★2列にするための幅計算 */
    /* ( 全体100% - 隙間30px ) ÷ 2 */
    width: calc((100% - 30px) / 2);
    
    /* 念のため、極端に小さくならないように最小幅を設定 */
    min-width: 300px; 
    /* ※もしコンテナ幅が狭すぎて300px確保できない場合は折り返されます */
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9比率 */
    height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    font-size: 0.95rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 動画番号のバッジ */
.v-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #eee;
    color: #666;
    font-size: 0.8rem;
    border-radius: 50%;
    flex-shrink: 0;
}


/* スマホ対応 */
@media (max-width: 768px) {  
	.startup-step-section {
        padding: 25px;
    }
    
    .video-grid-responsive {
        /* スマホの隙間調整 */
        gap: 25px;
    }
    
    .video-card {
        /* スマホは強制的に1列 (幅100%) */
        width: 100%;
        min-width: auto; /* 最小幅制限を解除 */
    }
    
    .step-header h2 { font-size: 1.6rem; }
}


/* =========================================
   MyFANUC 誘導CTA (幅修正・画像対応版)
   ========================================= */

.myfanuc-promo-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.myfanuc-card {
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px; /* 内側の余白 */
    color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid #444;
    gap: 40px; /* 左右の隙間 */
}

/* --- 左側：テキスト --- */
.myfanuc-content {
    flex: 1; /* 余ったスペースを使う */
    min-width: 0; /* フレックスアイテムの縮小を許可 */
}

/* エンブレム（ロゴ） */
.myfanuc-emblem-box {
    margin-bottom: 25px;
}
.emblem-img {
    height: 40px; /* ロゴの高さ調整 (適宜変更してください) */
    width: auto;
    display: block;
}

.myfanuc-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    color: #fff;
	text-align: left;
}

.text-yellow {
    color: #FFD702; /* ファナックイエロー */
}

.myfanuc-desc {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

/* ボタン */
.myfanuc-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-myfanuc-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFD702;
    color: #000;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-myfanuc-primary:hover {
    box-shadow: 0 5px 15px rgba(255, 236, 0, 0.3);
}

.btn-myfanuc-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #fff;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #666;
    transition: all 0.2s;
}
.btn-myfanuc-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}


/* --- 右側：16:9写真 --- */
.myfanuc-visual {
    /* 幅を固定 (全体の45%程度) */
    flex: 0 0 45%; 
    max-width: 500px;
}

.visual-aspect-box {
    position: relative;
    width: 100%;
    /* 16:9のアスペクト比を維持 */
    padding-bottom: 56.25%; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid #555;
    background: #000;
}

.main-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- スマホ対応 --- */
@media (max-width: 900px) {
    .myfanuc-card {
        flex-direction: column-reverse; /* 画像を上に、テキストを下に */
        padding: 30px;
        gap: 30px;
        text-align: center;
    }

    .myfanuc-content {
        width: 100%;
    }
	
	 .myfanuc-title {
		text-align: center;
	}

    .myfanuc-emblem-box {
        display: flex;
        justify-content: center; /* ロゴ中央寄せ */
    }

    .myfanuc-visual {
        flex: auto;
        width: 100%;
        max-width: 100%;
    }

    .myfanuc-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .btn-myfanuc-primary,
    .btn-myfanuc-secondary {
        width: 100%;
    }
}



/* --- Article Area Layout --- */
#article_area {
    background: -moz-linear-gradient(top left, #F8F8F8, #E3DCDC);
    background: -webkit-linear-gradient(top left, #F8F8F8, #E3DCDC);
    background: linear-gradient(to bottom right, #F8F8F8, #E3DCDC);
    width: 100%;
    padding: 90px 0;
}

#article_area .contents_inner {
    width: 95%; /* スマホでは画面幅の95% */
    max-width: 1000px; /* PCでは最大1000px（他のエリアと統一） */
    margin: 0 auto;
    padding: 1%; /* 他のエリアのpaddingに合わせる */
    box-sizing: border-box;
}

/* --- Article Block Styles (共通設定) --- */
#article_area .article-block {
    display: block;      /* 常に縦積み（画像が上、文字が下） */
    background: white;
    position: relative;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* 修正：浮き上がり停止、背景色のみ変更 */
#article_area .article-block:hover {
    background: #cccccc;
    transform: none; /* 浮き上がり停止 */
    opacity: 1;
}
/* 修正：画像リンクは透過ルールを適用 */
#article_area a:hover img {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#article_area.usecase .article-block {
    border-radius: 10px;
    overflow: hidden;
    height: 620px; /* カードの高さを揃える */
}

/* --- Image Styles --- */
#article_area .article-image {
    width: 100%;
    margin: 0;
    line-height: 0; /* 画像下の隙間消し */
}

#article_area .article-image img {
    width: 100%;
    height: auto; /* 比率を維持 */
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

/* --- Inner Content Styles --- */
#article_area .article-body {
    padding: 20px 30px 60px 30px; /* 下に矢印用の余白を確保 */
}

/* --- Date Styles --- */
#article_area .article-date {
    font-size: 14px;       /* 文字サイズ */
    color: #666;           /* グレー文字 */
    margin: 0 0 10px 0;    /* タイトルとの余白 */
    font-family: din-2014, noto-sans-cjk-jp, sans-serif; /* 数字が綺麗なフォント（サイトで読み込まれていれば） */
    font-weight: 500;
    letter-spacing: 0.05em;
}

#article_area .article-ttl {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

#article_area.usecase .article-ttl {
    color: #000;
}

#article_area.usecase .article-ttl span {
    font-size: 1rem;
}

#article_area .article-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* --- Arrow Icon Styles --- */
#article_area .uc-arrow::before {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border: 1px solid #333;
    border-radius: 50%;
}

#article_area .uc-arrow::after {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 34px;
    width: 12px;
    height: 12px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #333 #333 transparent transparent;
    transform: rotate(45deg);
}


/* --- スマホ専用レイアウト --- */
@media (max-width: 899px) {
    #article_area .article-block + .article-block {
        margin-top: 30px; /* カード間の余白 */
    }
    
    #article_area .article-date {
        font-size: 13px;
    }
}


/* --- PC専用レイアウト（横に2つ並ぶ） --- */
@media (min-width: 900px) {
    
    /* コンテナをFlexボックスにして横並びにする */
    #article_area .contents_inner {
        width: 1000px; /* ★重要：PC時は1000pxに固定 */
        display: flex;
        justify-content: space-between; /* 両端に配置 */
        flex-wrap: wrap; /* 3つ以上になったら折り返し */
        align-items: stretch; /* 高さを揃える */
    }

    /* 各カードの幅設定 */
    #article_area .article-block {
        width: 48%; /* 2カラムにする */
        margin-top: 0; /* マージンリセット */
        margin-bottom: 40px; /* 下の余白 */
        display: flex;        /* カード内もFlexにして */
        flex-direction: column; /* 縦積みに固定 */
    }

    /* テキスト部分を伸ばしてボタン位置を揃える */
    #article_area .article-body {
        flex-grow: 1; /* 余白があれば下に伸ばす */
    }

    #article_area.usecase .article-ttl {
        font-size: 24px;
    }
}


/* =========================================
   FAQ セクション (CSSのみ・チェックボックス方式)
   ========================================= */

.crx-faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    border-top: 1px solid #eee;
}

/* FAQ アイテム */
.faq-item {
    border-bottom: 1px solid #eee;
    background: #fff;
}

/* 動作制御用のチェックボックス（非表示） */
.faq-toggle {
    display: none;
}

/* --- 質問エリア (ラベル) --- */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 25px 20px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    user-select: none; /* 連続クリック時の選択防止 */
}

.faq-question:hover {
    background-color: #fafafa;
}

/* Qマーク */
.q-label {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    font-weight: 800;
    color: #6EAE43; /* CRXグリーン */
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 質問テキスト */
.q-text {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
    flex: 1;
    line-height: 1.5;
}

/* 開閉アイコン (+/-) */
.q-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

.q-icon::before,
.q-icon::after {
    content: '';
    position: absolute;
    background-color: #ccc;
    transition: transform 0.3s ease, background-color 0.3s;
}

/* 横棒 */
.q-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* 縦棒 */
.q-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}


/* --- 回答エリア (アニメーション部分) --- */
.faq-answer {
    max-height: 0; /* 最初は高さ0 */
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-answer-inner {
    padding: 0 20px 30px 20px;
    display: flex;
    align-items: flex-start;
}

/* Aマーク */
.a-label {
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    font-weight: 800;
    color: #ddd;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: -2px;
}

.a-text {
    flex: 1;
}

.a-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.faq-link {
    display: inline-block;
    margin-top: 10px;
    color: #6EAE43;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
}
.faq-link:hover {
    text-decoration: underline;
}


/* =========================================
   開閉状態のスタイル制御 (CSSロジック)
   ========================================= */

/* チェックされた時：回答エリアを開く */
.faq-toggle:checked ~ .faq-answer {
    max-height: 500px; /* 十分な高さを指定 */
    opacity: 1;
}

/* チェックされた時：質問エリアのデザイン変更 */
.faq-toggle:checked ~ .faq-question {
    background-color: #fbfbfb;
    /* 左に緑のライン */
    padding-left: 16px; 
    border-left: 4px solid #6EAE43;
}

/* チェックされた時：アイコンを回転させてマイナス(-)にする */
.faq-toggle:checked ~ .faq-question .q-icon::before {
    background-color: #6EAE43;
    transform: translateY(-50%) rotate(180deg);
}

.faq-toggle:checked ~ .faq-question .q-icon::after {
    background-color: #6EAE43;
    transform: translateX(-50%) rotate(90deg); /* 90度回して横棒と重ねる */
}


/* --- スマホ対応 --- */
@media (max-width: 600px) {
    .q-label, .a-label {
        margin-right: 15px;
        font-size: 1rem;
    }
    .q-text {
        font-size: 0.95rem;
    }
    .faq-question {
        padding: 20px 15px;
    }
    .faq-answer-inner {
        padding: 0 15px 25px 15px;
    }
}



/* =========================================
   課題提起セクション (Issues)
   ========================================= */

#welding-issues {
    padding: 80px 0;
}

/* グリッドレイアウト */
.issue-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* 課題カード */
.issue-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    width: calc((100% - 60px) / 3); /* 3列計算 */
    min-width: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    text-align: center;
}

/* アイコンエリア */
.issue-icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    background: #f4f9ed; /* 薄いグリーンの背景 */
    border-radius: 50%;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


.issue-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    /* アイコン画像がない場合のフォールバック装飾 */
    display: block; 
}

/* タイトル */
.issue-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* 強調マーカー（下線風） */
.issue-title .highlight {
    background: linear-gradient(transparent 60%, #e6f2d6 60%);
}

/* 説明文 */
.issue-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
    text-align: left; /* 読みやすさのため左寄せ */
}


/* --- スマホ対応 --- */
@media (max-width: 900px) {
    .issue-card {
        width: 100%; /* 1列表示 */
        max-width: 500px;
        padding: 30px 20px;
    }
    
    .issue-text {
        text-align: center; /* スマホなら中央寄せでもOK */
    }
}

/* =========================================
   課題提起セクション：解決宣言ブロック
   ========================================= */

.issue-solution-block {
    margin-top: 80px;
    text-align: center;
    position: relative;
	padding: 0 20px; /* スマホでの横はみ出し防止 */
}

/* 白いワイドバー */
.solution-inner {
    background: #fff;
    display: flex; /* 横並びレイアウト */
    align-items: center;
    justify-content: center;
    gap: 20px; /* 文字間の隙間 */
    
    width: 100%;
    max-width: 900px; /* 横幅を広く設定 */
    margin: 0 auto; /* 中央寄せ */
    
    padding: 35px 40px; /* 高さを出す */
    border-radius: 80px; /* 両端を丸く */
    box-shadow: 0 15px 40px rgba(134,189,64,0.06); /* グリーンの影を薄く入れる */
    border: 2px solid #6EAE43;
    
    position: relative;
    z-index: 2;
}

.solution-sub {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    margin: 0;
    white-space: nowrap; /* 改行させない */
}

.solution-main {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin: 0;
    line-height: 1;
    white-space: nowrap; /* 改行させない */
}

/* "CRX" の文字色 */
.text-crx-green {
    color: #6EAE43;
}


/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .issue-solution-block {
        margin-top: 50px;
    }

    .solution-inner {
        flex-direction: column; /* スマホでは縦並びに戻す */
        gap: 10px;
        padding: 25px 20px;
        border-radius: 16px; /* 角丸を少し四角く */
        width: 100%;
    }

    .solution-sub {
        font-size: 0.95rem;
        white-space: normal;
    }

    .solution-main {
        font-size: 1.5rem;
        white-space: normal;
        line-height: 1.3;
    }
}


/* =========================================
   活用事例セクション：2列レイアウト（左：テキスト / 右：YouTube）
   ========================================= */

/* 親要素（フレックスコンテナ） */
.case-intro-block {
    display: flex;             /* 横並びにする */
    justify-content: space-between; /* 左右に配置 */
    align-items: center;       /* ★重要：垂直方向の中央揃え */
    gap: 5%;                   /* 左右の間隔 */
    
    max-width: 1000px;
    margin: 0 auto 80px auto;
    padding-bottom: 40px;
    border-bottom: none;
    text-align: left;
}

/* --- 左カラム：テキスト群 --- */
.intro-text-column {
    flex: 1;                   /* 余った幅を占有 */
    max-width: 55%;            /* テキスト側の最大幅 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* タイトル (h3) */
.case-intro-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    line-height: 1.5;
    margin-bottom: 25px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
}

/* 説明文 (p) */
.case-intro-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    font-weight: 500;
    margin: 0;
}

/* --- 右カラム：YouTube動画 --- */
.intro-youtube-column {
    flex: 0 0 40%;             /* 動画幅を40%に固定 */
    margin: 0;                 /* 親要素のマージンをリセット */
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =========================================
   最終調整版：上段中央タイトル / 下段2列（テキスト狭・動画広）
   ========================================= */

/* 1. 親要素 */
.case-intro-block {
    display: block;
    max-width: 1000px;
    margin: 0 auto 80px auto;
    padding-bottom: 40px;
    border-bottom: none;
    text-align: left; /* ここは左のままでOK（子が上書きします） */
}

/* 2. タイトル：中央揃えに変更 */
.case-intro-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    line-height: 1.5;
    margin-bottom: 35px;
    font-family: din-2014, noto-sans-cjk-jp, sans-serif;
    width: 100%;
    text-align: center; /* ★変更点：中央揃えにする */
}

/* 3. 下段のラッパー（横並び） */
.intro-body-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px; /* 間隔 */
}

/* 左：説明文（幅を狭くする） */
.case-intro-desc {
    flex: 1;
    max-width: 40%;      /* ★変更点：50% から 40% に狭くする */
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    font-weight: 500;
    margin: 0;
}

/* 右：YouTube動画エリア（幅を広くする） */
.case-intro-block_youtube {
    flex: 0 0 55%;       /* ★変更点：45% から 55% に広くする */
    display: flex;
    justify-content: center;
}

/* YouTubeのサイズ調整 */
.case-intro-block_youtube iframe {
    width: 100%;
    /* max-width: 800px; ←削除（親要素の55%に合わせて目一杯広げるため）*/
    aspect-ratio: 16 / 9; /* 16:9比率を維持 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: auto; /* aspect-ratioが効かない古いブラウザ用保険 */
}


/* --- スマホ対応（768px以下） --- */
/* ※ここに変更はありませんが、念のため載せておきます */
@media (max-width: 768px) {
    .intro-body-flex {
        display: block; 
    }

    .case-intro-desc {
        max-width: 100%; /* スマホでは幅制限を解除 */
        margin-bottom: 30px;
    }

    .case-intro-block_youtube {
        width: 100%;
        flex: none;
    }

    .case-intro-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 20px;
        text-align: left; /* スマホでは左寄せに戻すのが一般的ですが、中央のままが良ければこの行を削除してください */
    }
    
    .case-intro-title br {
        display: none;
    }
}


/* ===================================================================
   CRX 活用事例 汎用デザインCSS
   =================================================================== */

.crx_case_studies-wrapper {
	font-family: din-2014, noto-sans-cjk-jp, sans-serif;
	color: #333;
	background-color: #fcfcfc;
	line-height: 1.8;
}

/* 1. ヒーローセクション */
.crx_case_studies-hero {
	position: relative;
	padding: 80px 0;
	background-color: #fff;
	overflow: hidden;
	border-bottom: 1px solid #eee;
}
.crx_case_studies-hero-inner {
	display: flex;
	align-items: center;
	gap: 40px;
	position: relative;
	z-index: 2;
}
.crx_case_studies-hero-text { flex: 1; }
.crx_case_studies-hero-tag {
	display: inline-block;
	background: #6EAE43;
	color: #fff;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: bold;
	margin-bottom: 20px;
}
.crx_case_studies-hero-title {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 20px;
	color: #111;
}
.crx_case_studies-hero-subtitle {
	font-size: 1.15rem;
	color: #666;
	margin-bottom: 30px;
}
.crx_case_studies-hero-image {
	flex: 1;
	position: relative;
}
.crx_case_studies-hero-image img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* 2. ハイライト（サマリー&課題・効果） */
.crx_case_studies-highlight-section {
	background: #fff;
	padding: 60px 0;
	box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.crx_case_studies-highlight-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
}

/* 左側: プロフィール */
.crx_case_studies-profile {
	background: #f9f9f9;
	padding: 30px;
	border-radius: 12px;
	border: 1px solid #eee;
}
.crx_case_studies-profile-item {
	margin-bottom: 20px;
}
.crx_case_studies-profile-item:last-child { margin-bottom: 0; }
.crx_case_studies-profile-label {
	font-size: 0.85rem; color: #888; margin-bottom: 5px; display: block;
}
.crx_case_studies-profile-value {
	font-size: 1.05rem; font-weight: bold; color: #222;
}

/* 右側: Before/After リスト */
.crx_case_studies-points {
	display: flex; gap: 30px;
}
.crx_case_studies-point-col {
	flex: 1;
	padding: 25px;
	border-radius: 12px;
}
.crx_case_studies-point-col.is-before {
	background: #fdf2f2;
	border-left: 4px solid #d9534f;
}
.crx_case_studies-point-col.is-after {
	background: #f4f9ed;
	border-left: 4px solid #6EAE43;
}
.crx_case_studies-point-title {
	font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; display: flex; align-items: center; gap: 10px;
}
.is-before .crx_case_studies-point-title { color: #d9534f; }
.is-after .crx_case_studies-point-title { color: #6EAE43; }
.crx_case_studies-point-list {
	list-style: none; padding: 0; margin: 0;
}
.crx_case_studies-point-list li {
	position: relative; padding-left: 1.2rem; margin-bottom: 10px; font-size: 0.95rem; color: #444;
}
.crx_case_studies-point-list li::before {
	content: '・'; position: absolute; left: 0;
}

/* 汎用セクション設定 */
.crx_case_studies-section { padding: 80px 0; }
.crx_case_studies-heading { text-align: center; margin-bottom: 50px; }
.crx_case_studies-heading-en {
	font-size: 1rem; color: #6EAE43; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px;
}
.crx_case_studies-heading-ja { font-size: 2rem; font-weight: 800; }

/* 3. 現場の声 (Interviews) */
.crx_case_studies-voice-wrapper { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto;}
.crx_case_studies-voice-card {
	display: flex; background: #fff; border-radius: 16px; padding: 40px; gap: 40px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.03); align-items: center; border: 1px solid #eee;
}
.crx_case_studies-voice-profile { flex-shrink: 0; width: 180px; text-align: center; }
.crx_case_studies-voice-img {
	width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
	margin-bottom: 15px; border: 3px solid #f0f0f0;
}
.crx_case_studies-voice-name { font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }
.crx_case_studies-voice-title { font-size: 0.85rem; color: #888; }
.crx_case_studies-voice-comment { flex: 1; position: relative; }
.crx_case_studies-voice-comment::before {
	content: '“'; font-size: 6rem; color: #f0f0f0; position: absolute;
	top: -30px; left: -20px; font-family: din-2014, noto-sans-cjk-jp, sans-serif; z-index: 1; line-height: 1;
}
.crx_case_studies-voice-text {
	font-size: 1.15rem; line-height: 1.8; font-weight: bold; color: #333; position: relative; z-index: 2;
}

/* 4. システム構成 & 企業情報 */
.crx_case_studies-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 40px;
}
.crx_case_studies-info-box {
	background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 30px;
}
.crx_case_studies-info-box h3 {
	font-size: 1.4rem; font-weight: bold; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #6EAE43;
}
/* テーブル用 */
.crx_case_studies-system-table { width: 100%; border-collapse: collapse; }
.crx_case_studies-system-table th, .crx_case_studies-system-table td {
	padding: 15px 0; border-bottom: 1px dashed #eee; text-align: left; vertical-align: top;
}
.crx_case_studies-system-table th { width: 30%; color: #666; font-weight: normal; font-size: 0.95rem;}
.crx_case_studies-system-table td { font-weight: bold; color: #222; }

/* レスポンシブ */
@media (max-width: 900px) {
	.crx_case_studies-hero-inner { flex-direction: column; }
	.crx_case_studies-highlight-grid { grid-template-columns: 1fr; }
	.crx_case_studies-points { flex-direction: column; gap: 20px; }
	.crx_case_studies-voice-card { flex-direction: column; text-align: center; }
	.crx_case_studies-voice-comment::before { left: 50%; transform: translateX(-50%); top: -40px; }
	.crx_case_studies-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.crx_case_studies-hero-title { font-size: 1.8rem; }
}


/* --- ヒーローセクション用 --- */
.crx_pack-hero-title {
	font-size: 2.5rem;
	margin-bottom: 10px;
}
.crx_pack-hero-company {
	font-size: 1.2rem;
	margin-left: 10px;
	font-weight: normal;
	color: #666;
}
.crx_pack-hero-catch {
	font-size: 1.4rem;
}
.crx_pack-hero-desc {
	margin-bottom: 20px;
	line-height: 1.8;
	color: #555;
}
.crx_pack-spec-value {
	font-size: 1.1rem;
}

.crx_pack-video-wrapper {
	margin-top: 100px;
}

/* --- タブ・仕様セクション用 --- */
.crx_pack-tab-lead {
	text-align: center;
	margin-bottom: 30px;
	color: #555;
}
.crx_pack-spec-note {
	font-size: 0.85rem;
	color: #666;
	margin-top: 15px;
}

/* --- サクセスストーリーセクション用 --- */
.crx_pack-success-section {
	background-color: #f2f5f8;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}
.crx_pack-success-desc {
	margin-top: 15px;
}

.crx_pack-success-card {
	max-width: 1000px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* サクセスストーリー：左側（画像） */
.crx_pack-success-img-col {
	flex: 1;
	min-width: 300px;
	position: relative;
}
.crx_pack-success-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 350px;
}
.crx_pack-success-img-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
	color: #fff;
	padding: 40px 25px 25px;
}
.crx_pack-success-tag {
	display: inline-block;
	background: #6EAE43;
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.crx_pack-success-industry {
	font-size: 0.95rem;
	font-weight: bold;
	margin-bottom: 5px;
	color: #ddd;
}
.crx_pack-success-company-name {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: 1px;
}

/* サクセスストーリー：右側（テキスト） */
.crx_pack-success-text-col {
	flex: 1.5;
	padding: 45px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.crx_pack-success-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 25px;
	line-height: 1.5;
	color: #111;
}
.crx_pack-success-features {
	display: flex;
	gap: 10px;
	margin-bottom: 25px;
	flex-wrap: wrap;
}
.crx_pack-success-feature-badge {
	background: #f4f9ed;
	color: #6a9632;
	border: 1px solid #cce3b1;
	padding: 6px 14px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: bold;
}
.crx_pack-success-summary-text {
	font-size: 1rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 25px;
}
.crx_pack-success-quote {
	background: #fafafa;
	border-left: 4px solid #6EAE43;
	padding: 20px 25px;
	margin-bottom: 35px;
	border-radius: 0 8px 8px 0;
}
.crx_pack-success-quote-text {
	font-size: 1.05rem;
	font-style: italic;
	color: #333;
	font-weight: bold;
	line-height: 1.6;
	margin-bottom: 10px;
}
.crx_pack-success-quote-author {
	text-align: right;
	font-size: 0.9rem;
	color: #777;
}
.crx_pack-btn-large {
	display: inline-block;
	padding: 14px 30px;
	font-size: 1.05rem;
}

/* サクセスストーリー：レスポンシブ */
@media (max-width: 768px) {
	.crx_pack-success-card {
		flex-direction: column;
	}
	.crx_pack-success-text-col {
		padding: 30px 20px;
	}
	.crx_pack-success-title {
		font-size: 1.3rem;
	}
}



/* =========================================
   Robot Finder CSS - ファナックグリーン仕様 (コンパクト・追従なし版)
========================================= */

/* レイアウト全体 */
.crx_finder_section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

/* 上下配置のためのコンテナ */
.crx_finder_layout_top {
    display: flex;
    flex-direction: column;
    gap: 40px; 
}

/* ---------------- 上部（検索エリア） ---------------- */
.crx_finder_search_area {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    /* ※スクロール追従（sticky）と高さ制限を解除しました */
}

/* ▼ タイトルとリセットボタンを横並びにするコンテナ ▼ */
.crx_finder_title_row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 下揃えでラインに合わせる */
    margin-bottom: 12px;
    border-bottom: 2px solid #6EAE43; 
    padding-bottom: 5px;
}

/* タイトル自体の装飾 */
.crx_finder_title {
    font-size: 1.1rem; 
    font-weight: 700;
    margin: 0; 
    padding: 0;
    border: none;
}

/* タイトル横に移動したリセットボタン（極小サイズ） */
.crx_finder_reset_btn_top {
    display: inline-block;
    padding: 4px 10px; 
    font-size: 0.75rem; 
    background: transparent;
    border: 1px solid #999;
    color: #555;
    border-radius: 4px; 
    cursor: pointer;
    transition: 0.2s;
    font-weight: normal;
}
.crx_finder_reset_btn_top:hover {
    background: #f0f0f0;
    color: #333;
}

/* 開閉トグルボタンのラッパー（右寄せでコンパクトに） */
.crx_finder_toggle_wrapper {
    text-align: right;
    margin: 5px 0 0; 
}

/* 開閉トグルボタン本体 */
.crx_finder_toggle_btn {
    background: none;
    border: none;
    color: #6EAE43;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}
.crx_finder_toggle_btn:hover {
    color: #5a9632;
}

/* 詳細フィルターエリア */
.crx_finder_advanced_filters {
    border-top: 1px dashed #ddd;
    padding-top: 15px; 
    margin-top: 5px;   
}

/* フィルターの行 */
.crx_finder_filter_row {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    margin-bottom: 10px;
}

/* PC・タブレット時の横並び設定 */
@media (min-width: 992px) {
    .crx_finder_filter_row {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px; 
    }
    
    .crx_finder_filter_group {
        flex: 1;
        margin-bottom: 0; 
    }
    
    /* 詳細フィルター内のグループは折り返しを許可 */
    .crx_finder_advanced_filters .crx_finder_filter_row {
        flex-wrap: wrap; 
    }
    .crx_finder_advanced_filters .crx_finder_filter_group {
        flex: 1 1 30%; 
        min-width: 300px;
    }
}

.crx_finder_label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px; 
    font-size: 0.9rem;
}

.crx_finder_val_text {
    font-weight: 400;
    color: #555;
    float: right;
}

/* ---------------- スライダーUI ---------------- */
.crx_finder_slider_container {
    position: relative;
    width: 100%;
    height: 30px;
}
.crx_finder_track_bg {
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}
.crx_finder_track_active {
    position: absolute;
    height: 6px;
    background-color: #6EAE43; 
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.crx_finder_range {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none; 
    z-index: 2;
}
.crx_finder_range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #6EAE43; 
    pointer-events: auto; 
    cursor: pointer;
}

/* ---------------- タグ（チェックボックス）UI ---------------- */
.crx_finder_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.crx_finder_tag {
    cursor: pointer;
}
.crx_finder_tag input[type="checkbox"] {
    display: none; 
}
.crx_finder_tag span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.2s;
    background-color: #fff;
    user-select: none; /* ダブルクリック時のテキスト選択を防ぐ */
}
.crx_finder_tag span:hover {
    border-color: #6EAE43;
    color: #6EAE43;
}
.crx_finder_tag input[type="checkbox"]:checked + span {
    background-color: #6EAE43; 
    color: #fff;
    border-color: #6EAE43; 
}
.crx_finder_tag input[type="checkbox"]:checked + span:hover {
    color: #fff; 
}

/* ---------------- 下部（検索結果メインエリア） ---------------- */
.crx_finder_main_top {
    width: 100%;
    min-height: 500px; 
}
.crx_finder_header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    text-align: center; 
}
.crx_finder_count {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}
.crx_finder_count span {
    color: #e60012; 
    font-size: 1.8rem;
    margin: 0 8px;
}

/* =========================================
   グリッドレイアウト（結果表示）
========================================= */
.crx_finder_grid {
    display: grid;
    grid-template-columns: minmax(auto, 340px);
    justify-content: center;
    gap: 24px;
}
@media (min-width: 768px) {
    .crx_finder_grid {
        grid-template-columns: repeat(auto-fit, 340px);
        gap: 30px;
    }
}
.crx_finder_grid .crx-lineup-card {
    width: 100%; 
    height: auto; 
    min-height: 560px; 
    display: flex;
    flex-direction: column;
}
.crx_finder_grid .crx-lineup-card .crx-badge-wrapper {
    margin-top: auto !important; 
}
	
/* =========================================
   ロボットファインダー バナー広告 CSS (カード同等デザイン)
========================================= */

/* セクション全体の余白 */
.crx-finder-banner-wrap {
    padding: 10px 0px 40px 0;
    background-color: transparent;
}

/* バナー本体（リンクタグ） */
.crx-finder-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 30px;
    text-decoration: none;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
}

/* ホバー時のエフェクト（本体移動なし） */
.crx-finder-banner:hover {
    border-color: #6EAE43; /* ★緑の枠線 */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* 影を濃く */
    transform: none; /* ★移動させない */
}

/* 左側：テキストエリア */
.banner-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding-right: 20px;
}

/* アクセントのバッジ */
.banner-badge {
    background: #6EAE43; 
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* ★メインタイトル（大きく目立たせる） */
.banner-title {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

/* ★説明文（タイトルからずらして配置） */
.banner-desc {
    font-size: 1.05rem;
    font-weight: bold;
    color: #555;
    margin: 0 0 16px 0;
}

/* 右下の「検索する」テキスト */
.banner-action {
    font-weight: bold;
    color: #6EAE43;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}
.banner-action .arrow {
    margin-left: 5px;
    transition: transform 0.3s;
}

/* 右側：画像エリア */
.banner-img-area {
    flex-shrink: 0;
    width: 50%;
    max-width: 450px; 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden; /* ★ズーム時にはみ出すのを防ぐ */
}

.banner-img-area img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease; /* ★画像ズーム用のアニメーション */
}

/* ★ホバー時に画像だけズーム（カードと同じ動き） */
.crx-finder-banner:hover .banner-img-area img {
    transform: scale(1.05);
}

/* =========================================
   スマホ用レスポンシブ設定
========================================= */
@media (max-width: 768px) {
    .crx-finder-banner {
        flex-direction: column-reverse; /* 画像を上、テキストを下 */
        padding: 25px 20px;
        text-align: center;
    }
    .banner-text-area {
        padding-right: 0;
        align-items: center;
        margin-top: 20px;
    }
    .banner-title {
        font-size: 1.6rem;
    }
    .banner-desc {
        font-size: 0.95rem;
    }
    .banner-img-area {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}
	