@charset='utf-8';


@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

/* =1 body
------------------------------------------------------------ */

        /* -------------------------------------------------------------------------- */
        /* 1. RESET & BASE                                                            */
        /* -------------------------------------------------------------------------- */
        *, ::before, ::after {
            box-sizing: border-box;
            border-width: 0;
            border-style: solid;
            border-color: #e2e8f0;
        }
        html, body {
            height: 100%;
            margin: 0;
        }
        body {
            display: flex;
            flex-direction: column;
        }

        main {
            flex: 1;
        }
        html {
            line-height: 1.5;
            -webkit-text-size-adjust: 100%;
            -moz-tab-size: 4;
            tab-size: 4;
            font-family: 'Noto Sans JP', sans-serif;
        }
        body {
            margin: 0;
            line-height: inherit;
            background: #f8fafc;
            background-image: radial-gradient(circle at 50% 0%, rgba(202, 19, 65, 0.04) 0%, transparent 50%);
            color: #1e293b;
            /*min-height: 100vh;*/
            padding-top: 55px;
        }
        a { color: inherit; text-decoration: inherit; }
        button { background-color: transparent; border: none; padding: 0; }
        button:not(:disabled), select:not(:disabled) {
            cursor: pointer; 
        }
        table { border-collapse: collapse; text-indent: 0; border-color: inherit; }
        h1, h2, h3, h4, p { margin: 0; font-size: inherit; font-weight: inherit; }

        :root {
            --brand-red: #ca1341;
            --brand-red-hover: #b01038;
            --bg-light: #f8fafc;
            --text-main: #1e293b;
            --text-muted: rgb(100, 116, 139); 
            --glass-bg: rgba(255, 255, 255, 0.98);
            --card-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
            --gold: #eab308;
            --blue: #3b82f6;
        }


        /* -------------------------------------------------------------------------- */
        /* 2. UTILITIES                                                               */
        /* -------------------------------------------------------------------------- */
        .flex { display: flex; }
        .flex-col { flex-direction: column; }
        .items-center { align-items: center; }
        .items-end { align-items: flex-end; }
        .items-baseline { align-items: baseline; }
        .justify-between { justify-content: space-between; }
        .justify-center { justify-content: center; }
        .gap-2 { gap: 0.5rem; }
        .gap-3 { gap: 0.75rem; }
        .gap-4 { gap: 1rem; }
        .gap-6 { gap: 1.2rem; }
        .gap-8 { gap: 2rem; }
        .w-full { width: 100%; }
        .h-full { height: 100%; }
        .ml-auto { margin-left: auto; }
        .mt-1 { margin-top: 0.25rem; }
        .mt-1\.5 { margin-top: 0.375rem; }
        .mt-2 { margin-top: 0.5rem; }
        .mt-6 { margin-top: 1.5rem; }
        .mb-2 { margin-bottom: 0.5rem; }
        .mb-6 { margin-top: 1rem; margin-bottom: 1rem; }
        .mb-10 { margin-bottom: 0; }
        .mb-12 { margin-bottom: 3rem; }
        .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
        .py-4 { padding-top: 0rem; padding-bottom: 0rem; }
        .px-6 { padding-left: 1rem; padding-right: 1rem; }
        .pb-1\.5 { padding-bottom: 0.375rem; }
        .pb-6 { padding-bottom: 1.5rem; }
        .border-b { border-bottom: 1px solid #e2e8f0; }
        .border-r { border-right: 1px solid #e2e8f0; }
        .font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
        .whitespace-nowrap { white-space: nowrap; }

        .container-wide {
            max-width: 1440px;
            min-width: 1000px;
            margin: 0 auto;
            width: 100%;
        }

        /* -------------------------------------------------------------------------- */
        /* 3. HEADER & NAV                                                            */
        /* -------------------------------------------------------------------------- */
        .global-header {
            position: fixed;
            top: 0; left: 0; right: 0;
            height: 55px;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            z-index: 1001;
            display: flex;
            align-items: center;
            padding: 0 0.75rem 0 1.5rem;
        }

        .logo-area { width: 190px; flex-shrink: 0; display: flex; align-items: center; }
        .logo-main-text { font-size: 1.875rem; font-weight: 900; font-style: italic; color: #ca1341; }
        .logo-divider { margin-left: 0.75rem; padding-left: 0.75rem; border-left: 1px solid #e2e8f0; }
        .logo-sub-text { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #94a3b8; line-height: 1.25; }

        .nav-item {
            position: relative;
            padding: 0 1.0rem;
            height: 55px;
            display: flex;
            align-items: center;
            font-size: 1.1rem;
            font-weight: 700;
            color: #1e293b;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            white-space: nowrap;
            user-select: none; /* テキスト選択防止（タブレット用） */
        }
        .nav-item:hover, .nav-item.is-open { color: #ca1341; }
        .nav-item::after {
            content: ""; position: absolute; bottom: 0; left: 0.4rem; right: 0.4rem;
            height: 4px; background: #ca1341; transform: scaleX(0);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border-radius: 4px 4px 0 0;
        }
        .nav-item:hover::after, .nav-item.is-open::after { transform: scaleX(1); }

        .nav-item-active { color: #ca1341; }

        .dropdown-pane {
            position: absolute; top: 55px; left: 0; background: #fff;
            border: 1px solid #e2e8f0; border-radius: 0 0 20px 20px;
            box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
            display: none; padding: 0.75rem; z-index: 999;
            opacity: 0; transform: translateY(10px); transition: all 0.2s;
        }
        
        /* マウスオーバーまたは.is-openクラスが付与された時に表示
           ※PCではホバー、タブレットではクリック（クラス付与）で動作 
        */
        .nav-item:hover .dropdown-pane,
        .nav-item.is-open .dropdown-pane { 
            display: block; 
            opacity: 1; 
            transform: translateY(0); 
        }

        .submenu-grid { 
            display: grid; 
            grid-template-columns: repeat(2, minmax(max-content, 1fr)); 
            gap: 0.25rem 0.75rem; }
        .submenu-link {
            display: flex; align-items: center; padding: 0.5rem 0.75rem; font-size: 1.0rem;
            color: #1e293b; border-radius: 10px; transition: all 0.2s; white-space: nowrap;
            text-decoration: inherit;
        }
        .submenu-link:hover { background: #f1f5f9; color: #ca1341; }

        .sub-nav-bar { position: relative; height: 60px; z-index: 1000; display: flex; align-items: center; }
        .sub-nav-border::after {
            content: ""; display: block; width: 100%; height: 1px; background: #e2e8f0;
            position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); max-width: 1440px;
        }

	.sub-nav-title { font-size:1.25rem; color: var(--brand-red); font-weight: 900; }


        .subnav-link { color: #0f172a; font-size:13px; font-weight: 600; }
        .subnav-link:hover { color: #0f172a; text-decoration:underline; }

        .btn-logout {
            padding: 0.2rem 0.6rem; 
            border: 1px solid #e2e8f0; 
            border-radius: 8px;
            font-size: 0.75rem; 
            font-weight: 700; 
            color: #64748b; 
            transition: all 0.2s;
            white-space: nowrap;
        }
        .btn-logout:hover { background: #f8fafc; color: #ca1341; border-color: #ca1341; }

        .header_menu_item, .header_submenu_item {
            display: flex;
            flex-direction: column;
            margin: auto 0;
        }
        .header_menu_icon {
            font-size: 10px;
            margin-left: 8px;
            opacity: 0.5;
        }
        .header_submenu_icon {
            width: 24px;
            opacity: 0.4;
        }
        #header_move_to_real {
            width: min-content;
        }

        /* -------------------------------------------------------------------------- */
        /* 4. CARDS & TABLES                                                          */
        /* -------------------------------------------------------------------------- */
        .glass-card { 
            background: #fff; 
            border: 1px solid #e2e8f0; 
            border-radius: 20px; 
            box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03); 
            overflow: hidden; 
            
        }
        #wrapper_condition_search, #wrapper_spno_search {
            padding: 1rem;
        }
        .result_list {
            padding: 0;
        }
        .info-header {
            background-color: #fff;
            background-image: radial-gradient(at 0% 0%, rgba(202, 19, 65, 0.08) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(202, 19, 65, 0.05) 0px, transparent 50%);
            color: #ca1341; padding: 0.3rem 1.5rem; border-bottom: 1px solid rgba(226, 232, 240, 0.8); text-align: left;
        }
        .info-header-content { display: flex; justify-content: space-between; align-items: center; }
        #wrapper_header-main-title {
            display: flex;
            flex-direction: row;
        }
        .header-main-title { font-size: 1.3rem; font-weight: 900; letter-spacing: 0.1em; }
        .header-sub-schedule {
            display: flex; align-items: center; flex-wrap: wrap;
            margin: 0 20px;
            font-size: 0.85rem; font-weight: 700; color: #ca1341; background: rgba(255, 255, 255, 0.6);
            padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(202, 19, 65, 0.2);
        }
        .header-sub-schedule > span {
            white-space: nowrap;
        }
        #header_logo, #footer_logo {
            width: 160px;
        }

        #wrapper_info-table {
            margin-top: 1rem; 
        }
        .info-table {width: 100%; border-collapse: separate; border-spacing: 0; }
        .info-table td { padding: 0.5rem 1.5rem; vertical-align: middle; border-right: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
        .info-table td.no-padding { padding: 0 !important; }
        .info-table tr:last-child td { border-bottom: none; }
        .info-table td:last-child { border-right: none; }

        .td_open_oshirase_file {
            width: 160px;
            text-align: center;
            padding: unset;
        }
        .open_oshirase_file {
            padding: 0.3rem 0.6rem;
            border: 1px solid #ca1341;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 700;
            color: #ca1341;
            transition: all 0.2s;
            display: inline-flex;
        }
        .open_oshirase_file:hover {
            cursor: pointer;
            background: #fff5f7;
            transform: translateY(-1px);
        }
        .wrapper_oshirase_title {
            line-height: 1.625;
        }


        .nested-detail-table { width: 100%; height: 100%; border-collapse: collapse; font-size: 16px; }
        .nested-detail-table th { text-align: center; padding: 0.25rem 1rem; background: #f8fafc; border-bottom: 1px solid #f1f5f9; border-right: 1px solid #f1f5f9; color: #1e293b; font-weight: 900; }
        .nested-detail-table td { padding: 0.2rem 1rem !important; border-bottom: 1px solid #f1f5f9 !important; border-right: 1px solid #f1f5f9 !important; text-align:center }
        .nested-detail-table td.cornername { text-align:left; }

        /* -------------------------------------------------------------------------- */
        /* 5. SPECIFIC ELEMENTS                                                       */
        /* -------------------------------------------------------------------------- */
        .contact-card { 
            white-space: nowrap;
            background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); min-width: 260px; }
        .contact-title-area { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; padding-bottom: 0rem; border-bottom: 1px solid #f8fafc; }
        
        .contact-icon { color: #ca1341; opacity: 0.6; font-size: 1rem; }
        .contact-text { font-size: 1.2rem; font-weight: 900; color: #ca1341; letter-spacing: 0.05em; }

        .btn-account { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 15px; font-weight: 900; color: #1e293b; transition: all 0.2s; }
        .btn-account:hover { border-color: #ca1341; color: #ca1341; background: #f8fafc; }

        .btn-action-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 240px; padding: 12px 0; background: #ca1341; border: 1px solid #ca1341; border-radius: 12px; font-size: 18px; font-weight: 900; color: #fff; transition: all 0.2s; }
        .btn-action-primary:hover { background: #b01038; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(202, 19, 65, 0.2); }

        .btn-action-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 240px; padding: 6px 0; background: #fff; border: 1px solid #ca1341; border-radius: 12px; font-size: 18px; font-weight: 900; color: #ca1341; transition: all 0.2s; }
        .btn-action-secondary:hover { background: #fff5f7; transform: translateY(-1px); }
        #auction_schedule_button {
            width: 300px;
            font-size: 15px;
            padding: 3px;
            white-space: nowrap;
        }
        .btn-action-download { 
            display: inline-flex; 
            align-items: center; 
            justify-content: center; 
            gap: 10px; 
            width: 230px; 
            margin-top:10px; 
            padding: 10px 0; 
            background: #fff; 
            border: 1px solid #ca1341; 
            border-radius: 12px; 
            font-size: 15px; 
            font-weight: 900; 
            color: #ca1341; 
            transition: all 0.2s; 
        }
        .btn-action-download:hover { background: #fff5f7; transform: translateY(-1px); }

        .btn-remote { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 6px; margin-top: 10px; background: #1e293b; color: #fff; border-radius: 10px; font-size: 16px; font-weight: 900; transition: all 0.2s; }

        .btn-menu-item { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem 1.25rem; font-size: 17px; font-weight: 700; color: #1e293b; transition: all 0.2s; text-decoration: none; }
        .btn-menu-item:hover { border-color: #ca1341; color: #ca1341; background: #fff5f7; transform: translateY(-1px); }
        .btn-menu_icon {
            font-size: 12px;
            opacity: 0.5;
        }
        .menu-title-section { display: flex; align-items: center; gap: 2rem; margin-bottom: 2rem; }
        .menu-title-line { height: 1px; background: #e2e8f0; flex-grow: 1; }
        .menu-title-text { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em; color: #1e293b; }

        .site-footer { margin-top: 10px; padding: 10px 0 5px; background: #fff; border-top: 1px solid #e2e8f0; min-width: 1200px; }
        .footer-logo-text { font-size: 1.6rem; font-weight: 900; font-style: italic; color: #ca1341; margin: auto 5px; line-height: 1; }
        .footer-address { font-size: 15px; color: #1e293b; }
        .footer-contact-info { font-size: 14px; color: #1e293b;  }
        .footer-copyright { text-align: right; font-size: 13px; color: #64748b; line-height: 1.6; }
        #footer-left {
            display: flex;
        }

        /* -------------------------------------------------------------------------- */
        /* 6. TYPOGRAPHY & RESPONSIVE                                                 */
        /* -------------------------------------------------------------------------- */
        .text-xs { font-size: 0.75rem; }
        .text-sm { font-size: 0.875rem; }
        .text-base { font-size: 1rem; }
        .text-lg { font-size: 1.125rem; }
        .text-xl { font-size: 1.25rem; }
        .text-2xl { font-size: 1.5rem; }
        .font-bold { font-weight: 700; }
        .font-black { font-weight: 900; }
        .font-medium { font-weight: 500; }
        .tracking-tight { letter-spacing: -0.025em; }
        .tracking-wider { letter-spacing: 0.05em; }
        .tracking-widest { letter-spacing: 0.1em; }
        .italic { font-style: italic; }
        .text-slate-400 { color: #94a3b8; }
        .text-slate-500 { color: #64748b; }
        .text-slate-700 { color: #334155; }
        .text-slate-800 { color: #1e293b; }
        .text-slate-900 { color: #0f172a; }
	.text-blue { color: #0369a1; }

        .top-gridmenu { display: grid; }
        /*@media (min-width: 768px) {*/
            .md\:flex-row { flex-direction: row; }
            .md\:items-center { align-items: center; }
            .md\:items-start { align-items: flex-start; }
            .md\:mt-0 { margin-top: 0; }
            .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
        /*}*/


        /* --- 見出し: 中央寄せ、文字のみ、余白大 --- */
        .header-minimal {
            margin-top: 0; /* 上の余白をさらに拡大 */
            margin-bottom: 0.2rem;
            text-align: center; /* 中央寄せ */
        }
        .header-minimal h2 {
            font-size: 1.5rem; /* さらに大きく */
            font-weight: 900;
            color: var(--text-main);
            letter-spacing: -0.01em;
            margin: 0;
        }

        .sub-header {
            margin-top: 1rem;
            margin-bottom: 0.5rem;
            font-size: 25px;
            font-weight: 900;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .sub-header::before {
            content: "";
            width: 6px;
            height: 28px;
            background: var(--brand-red);
            border-radius: 2px;
        }



/* --- アカウント情報セクション用追加CSS --- */
        .account-table {
            width: 100%;
            border-collapse: collapse;
        }
        .account-table th {
            width: 215px;
            background: #f8fafc;
            color: var(--text-main);
            font-weight: 900;
            text-align: left;
            padding: 0.8rem 1.5rem;
            border-bottom: 1px solid #f1f5f9;
        }
        .account-table td {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #f1f5f9;
            color: var(--text-main);
            font-weight: 400;
        }
        .account-table tr:last-child th,
        .account-table tr:last-child td {
            border-bottom: none;
        }
        .btn-pw-change {
            margin-left: 15px;
            display: inline-flex;
            align-items: center;
            padding: 3px 16px;
            background: #1e293b;
            color: #fff;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 700;
            transition: all 0.2s;
        }
        .btn-pw-change:hover {
            background: var(--brand-red);
        }

        .account-note {
            margin-top: 1.5rem;
            font-size: 16px;
            color: var(--text-muted);
            font-weight: 700;
		    text-align:center;
        }

        /* 入力フォームのスタイル */
        .form-input-basic {
            width: 100%;
            max-width: 400px;
            padding: 10px 16px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.2s;
        }
        .form-input-basic:focus {
            outline: none;
            border-color: var(--brand-red);
            box-shadow: 0 0 0 3px rgba(202, 19, 65, 0.1);
        }
        .form-input-note {
            display: block;
            margin-top: 6px;
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 500;
        }
        #confirm_new_password_td {
            display: flex;
        }





/* --- 出品車両検索セクション用追加CSS --- */

        .search-filter-label { font-size: 13px; font-weight: 900; color: #64748b; margin-bottom: 4px; display: block; }
        .search-filter-label02 { font-size: 13px; font-weight: 900; color: #64748b; margin-right:15px; margin-bottom: 4px; display: inline-block; }
        
        /* 依頼箇所：横並び用スタイル */
        .inline-filter-group { display: flex; align-items: center; gap: 12px; }
        .inline-filter-group .search-filter-label { margin-bottom: 0; min-width: 60px; }

        .search-filter-select, .search-filter-input { 
            width: 100%; border: 1px solid #e2e8f0; padding: 0.5rem; border-radius: 8px; font-size: 0.8125rem; 
            background-color: #f8fafc; cursor: pointer;
        }
        .search-filter-input { cursor: text; }
        .search-range-separator { font-size: 12px; color: #94a3b8; font-weight: 700; }

        .section-divider {
            margin-top: 1.5rem;
            padding-top: 1.25rem;
            border-top: 1px solid #f1f5f9;
        }

        /* 複数選択擬似プルダウン (Multiselect Dropdown) */
        .multiselect-container {
            position: relative;
            width: 100%;
        }
        .multiselect-trigger {
            width: 100%; border: 1px solid #e2e8f0; padding: 0.5rem; border-radius: 8px; font-size: 0.8125rem; 
            background-color: #f8fafc; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
            min-height: 38px;
        }
        .multiselect-trigger::after {
            content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.6rem; color: #64748b;
        }
        .multiselect-dropdown, .multiselect-dropdown_small {
            height: 250px;
            top: 110%; left: 0; width: 100%; 
            background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            background-color: #f8fafc;
            display: block;
        }
        .multiselect-dropdown_top {
            background-color: #eff4ff;
        }   
        .multiselect-dropdown {
            max-height: 300px;
        }
        .multiselect-dropdown_small {
            max-height: 180px;
        }
        .wrapper_list {
            overflow-y: auto;
            height: calc(100% - 34px); /* 上のボタン分を引く */
        }
        .multiselect-dropdown.active { display: block; }
        .multiselect-item {
            padding: 0.2rem 0.35rem; display: flex; align-items: center; gap: 10px;
            font-size: 0.8125rem; color: #334155; transition: background 0.15s;
            cursor: pointer;
        }
        /*.multiselect-item:hover { background: #f8fafc; }*/
        .multiselect-item input[type="checkbox"] {
            width: 16px; height: 16px; accent-color: #ca1341; cursor: pointer;
        }
        .multiselect-divider {
            height: 1px; background: #f1f5f9; margin: 4px 0;
        }
        /* 「すべて選択」ラベルのスタイル調整 */
        .multiselect-all-label { 
            font-weight: 900; 
            color: #334155; 
        }

        /* Button styles */
        .btn-search-main {
            padding: 0.2rem 1.5rem; display: flex; align-items: center;
            background: #ca1341; color: #fff;  border-radius: 12px; 
            font-weight: 900; font-size: 0.875rem; box-shadow: 0 4px 12px rgba(202, 19, 65, 0.2);
            transition: all 0.2s;
        }
        .btn-search-main:hover { background: #b01038; transform: translateY(-1px); }
        .btn-reset-secondary {
            padding: 0.2rem 1.5rem; display: flex; align-items: center;
            background: #fff; color: #64748b; border-radius: 12px;
            font-weight: 900; font-size: 0.875rem; border: 1px solid #e2e8f0;
            transition: all 0.2s;
        }
        .btn-reset-secondary:hover { background: #f1f5f9; border-color: #cbd5e1; }
        .wrapper_btn-search_text {
            display: flex; 
            flex-direction: column; 
            margin-left: 5px;
        }
        .btn-search-main_icon {
            font-size: 18px;
        }



        /* 表示情報バー */
        .listing-info-bar { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0.5rem 0.3rem; }
        .result-count-group { display: flex; align-items: baseline; gap: 12px; }
        .result-count { font-size: 1.25rem; font-weight: 900; color: #64748b; }
        .result-count span { color:  var(--brand-red); font-size: 2.5rem; margin: 0 4px; }
        #result-pagination-info { font-size: 0.8125rem; font-weight: 700; color: #94a3b8; }

        .listing-actions { display: flex; align-items: center; gap: 1.5rem; }
        .per-page-select { font-size: 0.8125rem; font-weight: 900; color: #64748b; display: flex; align-items: center; gap: 8px; }
        .per-page-select select { border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 12px; font-size: 0.8125rem; font-weight: 900; color: #1e293b; outline: none; background: #fff; cursor: pointer; }

        /* 表示情報バーのボタン */
        .btn-output {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 6px 16px; border-radius: 8px; font-size: 0.8125rem; font-weight: 900;
            background: #fff; border: 1px solid #e2e8f0; color: #334155;
            transition: all 0.2s; cursor: pointer;
        }
        .btn-output:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); }
        .btn-output i { font-size: 0.875rem; color: #64748b; }

        .text-xl { font-size: 1.25rem; }
        .font-black { font-weight: 900; }

        /* ページナビゲーション */
        .page-navigation {
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 0 1rem;
            gap: 1rem;
        }
        
        .btn-nav {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 8px 12px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            color: var(--text-main);
            font-size: 1.0rem;
            font-weight: 600;
            transition: all 0.2s;
            line-height: 1; /* ←これ重要 */
        }
        .btn-nav:not(:disabled):hover {
            color: #ca1341;
            transform: translateY(-1px);
        }
        .btn-nav:disabled {  background: #dddddd; color: #475569; }
        .btn-nav i { 
		    font-size: 0.75rem;
	        color: #ca1341;
			display: flex;
			align-items: center;
        }
        .page-text-label {
            font-size: 0.9375rem;
            font-weight: 600;
            color: #1e293b;
            margin: 0 1.5rem;
            min-width: 100px;
            text-align: center;
        }




.list_table01{
width: 100%;
border-collapse: separate;
border-spacing: 0;
	transition: all .3s linear;
	table-layout: fixed; /* ←これ追加 */
}

.list_table01 thead th {
background: #0369a1;
padding: 0.5rem 0.4rem;
text-align: left;
font-size: 14px;
font-weight: 900;
/*
color: var(--text-muted);
*/
color: #fff;
border: 1px solid #e2e8f0;
white-space: nowrap;
vertical-align:center;
	transition: all .3s linear;
}

.list_table01 tbody td {
    height: 44px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    border: 1px solid #e2e8f0;
    white-space: normal;
	transition: all .3s linear;
    padding: 0 0.4rem;

}
.list_table01 tbody td.sp_list_kibou_price {
    font-size: medium;
}
.list_table01 tbody td.sp_list_n1_price {
    font-size: large;
    color: red;
}
.table_list_a{
    transition: all .3s linear;
}
#wrapper_syaryoList .table_list_a:hover .list_table01 {
	background-color: #fff9fa;
	transition: all .3s linear;
}
.list_table01_odd {
    background-color: #eff4ff;
}
.list_table01_even {
    background-color: #fff;
}
.list_table01_odd:hover, .list_table01_even:hover {
    cursor: pointer;
}

.list_td_center{
	text-align:center!important;
}
.list_td01 {
	width: 116px !important;
	padding: 0 !important;
}
.list_td01 img{
	width: 100%;
/*  height: stretch;    */
    display: block;
    border-radius: 0; 
    object-fit: cover; 
    border: none; 
}
.list_td02{
/*
	color: var(--brand-red)!important;
	font-weight: 900!important;
*/
}
.list_td_star{
	width: 70px !important;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important; 
}

        /* Sort Box - 密着させるための設定 */
        .sort-arrows {
            display: inline-flex;
            flex-direction: column;
            vertical-align: middle;
            margin-left: 0px;
            gap: 2px;
            line-height: 0; /* 文字列としての高さを排除 */
	float:right;
        }
        .sort-arrows button {
            border: none;
            background: none;
            padding: 0;
            margin: 0;
            height: 8px; /* ボタン自体の高さをフォントサイズより小さく設定して密着させる */
            font-size: 13px;
            color: white;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: visible; /* アイコンがはみ出ても表示 */
        }
        .sort-arrows button i {
            display: block;
            line-height: 1;
        }
        .sort-arrows button:hover {
            color: #8acdff;
        }


        .star-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
            gap: 5px;
            justify-items: center;
            width: fit-content;
            margin: 0 auto;
        }

        .btn-star {
            position: relative;
            width: 27px;
            height: 27px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #cbd5e1;
            transition: 0.2s;
            padding: 0;
        }
        .btn-star i {
            font-size: 27px;
        }

        .btn-star .star-label {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -45%);
            font-size: 14px;
            font-weight: 900;
            color: #fff;
            pointer-events: none;
            z-index: 1;
        }

        .btn-star:not(.active) .star-label {
            color: #94a3b8;
        }

        .btn-star.active { color: var(--gold); }
        .btn-star.active .star-label { color: #fff; }
        .btn-star:hover { /*color: var(--gold); transition: 0.2s;*/ }
        .btn-star:hover .star-label { color: #fff; transition: 0.2s; }




        /* 車両タイトルエリア */
        .vehicle-header { margin: 10px; }
        .stat-badges { display: flex; gap: 16px; margin-left: 8px; }
        .stat-badge { display: flex; align-items: center; gap: 4px; color: #64748b; font-size: 16px; font-weight: 700; }
	.fa-eye-color { color: var(--brand-red); }
	.fa-star-color { color: var(--gold); }
        .vehicle-title { font-size: 40px; font-weight: 900; letter-spacing: -1px; color: var(--text-main); lineHeight: 1.2; margin-bottom: 5px; text-align:left; }
        .vehicle-text01 { font-size: 16px; font-weight: 600; color: var(--text-main); lineHeight: 1.2; margin-bottom: 15px; text-align:left; }
	.vehicle-text01 span { color: var(--text-muted);}

        /* ボタンアクションバー */
        .action-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; }
        .spacer { flex-grow: 1; }

        .btn-base { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; border-radius: 6px; font-size: 14px; font-weight: 700; border: 1px solid #e2e8f0; background: #fff; color: #475569; transition: all 0.2s; gap: 6px; text-decoration: none; }
        .btn-base:not(:disabled):hover {  transform: translateY(-1px); border-color: var(--brand-red); }

        .btn-base:disabled {  background: #dddddd; color: #475569; }
        .wrapper_btn-base_text {
            display: flex; flex-direction: column;
        }
        .btn-return-primary { background: var(--text-main); color: #fff; border: none; }
        .btn-return-primary:hover { background:var(--brand-red); }

        /* A, B, C, D スターバッジ */
        .star-badge { position: relative; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; padding: 0; }
        .star-badge .label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -40%); font-size: 10px; font-weight: 900; color: #1e293b; pointer-events: none; }

        /* レイアウト */
        .content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; margin-top: 20px; }
        
        /* @media (max-width: 1024px) { .content-grid { grid-template-columns: 1fr; } } */

        /* 写真ギャラリー */
        .gallery-container { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.05); position: relative; }
        .main-display-wrapper { position: relative; width: 100%; height: 600px; background: #000; overflow: hidden; }
        .main-display { width: 100%; height: 100%; display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
        .main-display img { width: 100%; height: 100%; object-fit: contain; flex-shrink: 0; }
        
        .nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); color: #1e293b; border: none; width: 44px; height: 70px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 20; transition: all 0.3s; backdrop-filter: blur(4px); }
        .nav-arrow.prev { left: 0; border-radius: 0 12px 12px 0; }
        .nav-arrow.next { right: 0; border-radius: 12px 0 0 12px; }

        .thumb-section { padding: 15px 20px; background: #fff; display: flex; align-items: center; gap: 10px; border-top: 1px solid #f1f5f9; }
        .thumb-viewport { flex-grow: 1; overflow-x: auto; white-space: nowrap; scroll-behavior: smooth; padding:5px 15px; }
        .thumb-list { display: inline-flex; gap: 12px; }
        .thumb-item { width: 110px; height: 75px; flex-shrink: 0; border-radius: 10px; overflow: hidden; border: 3px solid transparent; cursor: pointer; transition: all 0.2s; }
        .thumb-item.active { border-color: var(--brand-red); transform: scale(1.05); }
        .thumb-item img { width: 100%; height: 100%; object-fit: cover; }

        /* サイドバー */
        .sidebar { display: flex; flex-direction: column; gap: 20px; }
        .info-card { background: #fff; border-radius: 20px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; padding:15px; }
        .bid-card { border: 2px solid #e11d48; }
        
        .bid-info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .bid-info-label { display: flex; flex-direction: column; text-align: left; font-size: 15px; color: var(--text-muted); font-weight: 700; }
        .bid-info-value { font-size: 18px; font-weight: 900; color: #1e293b; text-align: right; }
        
        #bid-input-btn-wrapper {
            width: 100%;
            margin: 5px 0px;
            display: flex;
        }
        .bid-input-wrapper { position: relative; margin-right: 5px;}
        .bid-input { 
            width: 200px;
            padding: 5px; 
            font-size: 24px; 
            font-weight: 900; 
            border: 2px solid #e2e8f0; 
            border-radius: 12px; 
            color: #1e293b; 
            outline: none; 
        }
        .bid-input:focus { border-color: var(--brand-red); }
        .bid-unit { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 900; }

	.bid-info-gold { font-size:24px; color:var(--gold)!important; }
	.bid-info-red { font-size:24px; color:var(--brand-red)!important; }

        .bid-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #ca1341; border: 1px solid #ca1341; border-radius: 12px; font-size: 18px; font-weight: 900; color: #fff; transition: all 0.2s; }
        .bid-btn:hover { background: #b01038; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(202, 19, 65, 0.2); }

        .cancel-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 2px 5px; background: #fff; border: 1px solid #ca1341; border-radius: 12px; font-size: 18px; font-weight: 900; color: #ca1341; transition: all 0.2s; }
        .cancel-btn:hover { background: #fff5f7; transform: translateY(-1px); }


        /* --- 料金案内用追加CSS --- */

        .price-table01 {
            width: 100%;
            border-collapse: collapse;
        }
        .price-table01 th {
            background: #f8fafc;
            color: var(--text-main);
            font-weight: 900;
            text-align: left;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #f1f5f9;
        }
        .price-table01 td {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #f1f5f9;
            color: var(--text-main);
            font-weight: 400;
        }
        .price-table01 tr:last-child th,
        .price-table01 tr:last-child td {
            border-bottom: none;
        }
        .price-table01 .price_td01{
            width: 300px;
        }

        .price-note01 {
            margin-top: 0.5rem;
            font-size: 16px;
            color: var(--text-muted);
            font-weight: 700;
		    text-align:left;
        }
        .price-note02 {
            font-size: 21px;
            color: var(--brand-red);
            font-weight: 700;
		text-align:left;
        }








        /* 車両情報テーブル */
        .specs-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e2e8f0; border: 1px solid #e2e8f0; }
        @media (max-width: 768px) { .specs-table { grid-template-columns: 1fr; } }
        .spec-item { display: flex; background: #fff; }
        .spec-label { width: 110px; background: #f8fafc; padding: 5px 5px; font-size: 13px; font-weight: 700; color: #64748b; display: flex; flex-direction: column; align-items: center; border-right: 1px solid #e2e8f0; }
        .spec-value { flex: 1; padding: 8px 12px; font-size: 15px; font-weight: 700; color: #1e293b; display: flex; align-items: center; }
 


        /*　お気に入り・アラームリスト */
        .status-button {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 0.75rem 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
            transition: all 0.2s ease;
            min-width: 130px;
            justify-content: center;
        }
        .status-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px -2px rgba(202, 19, 65, 0.1);
        }
        .icon-stack {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
        }
        .icon-stack i {          
            font-size: 2rem;
        }
        .icon-stack-star i {
            color: var(--gold);
        }
        .icon-stack-bell i {
            color: var(--blue);
        }
        .icon-stack .stack-text {
            position: absolute;
            top: 52%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1rem;
            font-weight: 900;
            color: #fff;
            z-index: 1;
        }
        .bookmark_selected {
            background-color: #ffbebe;
        }





        #header_userInfo {
            padding: 0 5px;
        }
        #header_userid, #header_username {
            font-size: 18px;
            font-weight: 600;
            color: #454545;
            white-space: nowrap;
        }


        .btn-bell {
            font-size: 24px;
            color: #cbd5e1;
            transition: 0.2s;
            padding: 0px;
        }
        .btn-bell.active { color: var(--blue); }
        .btn-bell:hover { /*color: var(--blue);*/ }


        #span_cnt_all {
            font-size: 28px;
            font-weight: bold;
            color: #ff0000;
        }
        #move_to_real {
            width: 320px;
            font-size: 24px;
        }
        #move_to_howToUse {
            width: 320px;
            height: 40px;
            font-size: 18px;
            margin-top: 15px;
        }
        #wrapper_real_contact {
            display: flex;
            flex-direction: row;
        }
        #wrapper_real {
            padding: 1rem;
            display: flex;
            flex-direction: column;
        }
        #wrapper_spno_search {
            display: none;
        } 
        .wrapper_search_title {
            margin-bottom: 5px;
        }
        .search_title_on {
            font-weight: 900;
            font-size: 1.1rem;
            color: #ca1341;
        }
        .search_title_off {
            font-weight: 600;
            font-size: 1.0rem;
            color: #6e7b8d;
            text-decoration: underline;
        }
        .search_title_off:hover {
            color: #4c4c4c;
        }
        

        .btn-all, .btn-clear {
            border: none; 
            line-height: 19px;
            margin: 0 10px;
            padding: 0 5px;
            border-radius: 6px;
            color: #ffffff;
            display: inline-flex;
            align-items: center;
        }
        .btn-all {
            background-color: #6e7b8d;
        }
        .btn-clear {
            background-color: #949494;
        }
        #wrapper_result {
            display: none;
            scroll-margin-top: 55px;
        }
        .span_teisei {
            padding: 0 3px;
            margin-left: 5px;
            background-color: red;
            color: white;
        }
        .span_urikiri {
            padding: 0 3px;
            margin-left: 5px;
            background-color: white;
            color: red;
            border: 1px solid red;
            white-space: nowrap;
        }
        .span_jisyaSyuppin {
            padding: 0 2px;
            margin-left: 3px;
            background-color: white;
            color: rgb(31, 188, 0);
            border: 1px solid rgb(31, 188, 0);
            white-space: nowrap;
        }
        .span_jisyaRakusatsu {
            padding: 0 3px;
            margin-left: 5px;
            background-color: white;
            color: rgb(255, 170, 0);
            border: 1px solid rgb(255, 170, 0);
            white-space: nowrap;
        }
        td:has(.btn-bookmark) {
            padding: 0px;
        }
        .syaken_kudo_dividingSpace {
            height: 20px;
        }

        /* home */
        #sp_num:hover, .tr_cornerList:hover {
            cursor: pointer;
            background-color: #e2e8f0;
        }
        #sp_num {
            line-height: 1.25; 
            text-align: center;
            background-color: #fff5f7;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
        }

        #open_qr {
            display: flex;
            width: 120px;
            height: 60px;
            margin: auto 20px;
            background: #fff;
            color: #64748b;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-weight: 900;
            font-size: 1rem;
            border: 2px solid #64748b;
            transition: all 0.2s;
        }
        #open_qr:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }
        #open_qr i {
            font-size: 2.5rem;
            color: #64748b;
            width: 40px;
            margin: auto;
        }
        #wrapper_userInfo {
            position: relative;
            display: flex;
            flex-direction: row;
            white-space: nowrap;
        }
        #wrapper_qr {
            position: absolute; 
            top: -180px; 
            left: 300px; 
            border: 5px #1e293b solid;
            border-radius: 25px;
            display: none;
            flex-direction: column;
            background-color: rgb(255, 255, 255);
            z-index: 100;
        }
        #wrapper_qr_userid {
            font-size: 18px;
            font-weight: 900;
            margin: 20px auto 0 auto;
            width: 200px;
            text-align: center;
        }
        #wrapper_qr img {
            margin: 20px 40px;

        }
        #close_qr {
            margin:0 auto 20px auto ;
        }



        /* detail */
        #wrapper_moveSp {
            display: flex;
        }
        #wrapper_moveSp, #wrapper_moveSp > th, #wrapper_moveSp, td {
            
        }
        #wrapper_bookmark {
            display: none;
        }
        #wrapper_bookmark button {
            margin: 0 3px;
        }
        #wrapper_spInfo {
            margin: 20px 0;
        }
        .sub-header02 {
            font-size: 1.2rem;
            font-weight: 600;
            color: #000;
            margin: 0;
        }
        #wrapper_inbid {
            display: none;
        }

        .wrapper_similarCars {
            display: none;
            margin: 15px 0;
        }
        #similarCars *:hover {
            cursor: unset;
        }

        #wrapper_n1_button {
            margin: auto;
            display: none;
            flex-direction: column;
        }
        #n1_info {
            display: none;    
        }
        #button_n1_purchase {
            width: 200px;
            font-size: 24px;
            margin: auto;
            padding: 6px;
        }
        #wrapper_n1_cancel_policy {
            display: flex;
            flex-direction: column;
        }


        /* inbid_history */
        #inbid_history {
            border-collapse: collapse;
            margin: 10px 0;
            width: 100%;
            font-size: 15px;
        }
        #inbid_history th {
            background: #ffd4d4;
        }
        #inbid_history, #inbid_history th, #inbid_history td {
            border: 1px solid rgba(255, 201, 201, 0.8)
        }
        .inbHis_inbid_price {
            text-align: right;
            width: 100px;
        }
        .inbHis_userid {
            width: 50px;
        }
        .inbHis_fz_insdate {
            text-align: left;
            width: 152px;
        }
        .inbHis_state {
            width: 75px;
        }
        #sp_info_message {
            font-size: 18px;
            color: #000;
            font-weight: 700;
        }

        /* 自社 */
        #list_kaisai {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 8px 12px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            color: var(--text-main);
            font-size: 1.0rem;
            font-weight: 600;
            transition: all 0.2s;
            line-height: 1;
        }

        #wrapper_seisansyo_table {
            margin: 0;
        }

        /* 精算書 */
        #seisansyo_table_tbody td {
            font-size: 18px;
            height: 45px !important;
        }

        .miseri {
            color: #334155 !important;
        }
        .nagare {
            color: #6400ff !important;
        }
        .rakusatu {
            color: #ff0000 !important;
        }
        .syoudan-rakusatu {
            color: #ff0000 !important;
        }
        .torikesi {
            color: #334155 !important;
        }



        /* alarm非表示 */
        .sp_list_alarm {
            display: none;
        }
        .btn-bell {
            display: none;
        }
        .bookmark[data-column="alarm"] {
            display: none;
        }
        

        /* 車両リストのヘッダーのボーダー */
        #sp_list_header .sp_list_kaisai,
        #sp_list_header .sp_list_spno,
        #sp_list_header .sp_list_img,
        #sp_list_header .sp_list_syamei,
        #sp_list_header .sp_list_grade,
        #sp_list_header .sp_list_soko,
        #sp_list_header .sp_list_haiki,
        #sp_list_header .sp_list_shift,
        #sp_list_header .sp_list_drive,
        #sp_list_header .sp_list_seritime,
        #sp_list_header .sp_list_serikekka,
        #sp_list_header .sp_list_bookmark,
        #sp_list_header .sp_list_kibou_price,
        #sp_list_header .sp_list_inbState,
        #sp_list_header .sp_list_n1_state {
            border-top: none;
        }
        #sp_list_header .sp_list_kaisai,
        #sp_list_header .sp_list_corner {
            border-left: none;
        }
        #sp_list_header .sp_list_bookmark,
        #sp_list_header .sp_list_kibou_price,
        #sp_list_header .sp_list_inbPrice,
        #sp_list_header .sp_list_inbState {
            border-right: none;
        }

        #sp_list_header .sp_list_shift {
            letter-spacing: -0.05em;
        }

        /* 英語 */
        .header_menu_title_en {
            font-size: 13px;
            text-align: center;
        }
        .header_submenu_title_en {
            font-size: 12px; 
            color: #999999;
        }
        #btn-logout_title_en {
            font-size: 10px;
            text-align: center;
        }
        .header-minimal_span_en {
            font-size: 20px;
        }
        .header-main-title_en {
            font-size: 15px;
        }
        #real_text_en {
            font-size: 18px;
        }
        #move_to_howToUse_title_en {
            font-size: 14px;
        }
        #contact-text_title_en {
            font-size: 14px;
        }
        #schedule_title_en {
            font-size: 13px;
        }
        #account_info_title_en {
            font-size: 14px;
        }
        #total_vehicles_title_en {
            font-size: 12px;
            white-space: nowrap;
        }
        #auction_starts_title_en {
            font-size: 12px;
        }
        #spList_pdf_title_en {
            font-size: 12px;
        }
        .menu-title-text_title_en {
            font-size: 20px;
        }
        .btn-menu-item_title_en {
            font-size: 14px;
            margin-left: 5px;
        }
        .search-filter-label_en {
            font-size: 11px;
        }
        .btn-all_en {
            margin-left: 5px;
            font-size: 11px;
        }
        .btn-search-main_en {
            font-size: 12px;
        }
        .account-table_title_en {
            font-size: 12px;
        }
        #hidden_password_text_en {
            font-size: 14px;
        }
        #change_password_title_en {
            font-size: 11px;
        }
        #account-not_text_en {
            font-size: 14px;
        }
        .bid-info-label_en {
            font-size: 12px;
        }
        .wrapper_bid-btn_text {
            display: flex;
            flex-direction: column;
        }
        .bid-btn_text_en {
            font-size: 13px;
        }
        #n1_cancel_policy_text_en {
            font-size: 14px;
        }
        .spec-label_text_en {
            font-size: 11px;
        }
        #vehicle_info_text_en {
            font-size: 15px;
        }
        #same_mode_text_en {
            font-size: 16px;
        }
        .btn-base_text_en {
            font-size: 12px;
        }