/* =====================================================
   mycom モダンテーマ v3 - カスタムCSS
   AdminLTE 4 上のオーバーレイ（共通リソース非改変）
   2026-03-06 Full Redesign
   モダン・スタイリッシュ・統一感を重視
   ===================================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    --mycom-primary: #1e293b;
    --mycom-primary-light: #334155;
    --mycom-primary-dark: #0f172a;
    --mycom-accent: #6366f1;
    --mycom-accent-hover: #4f46e5;
    --mycom-accent-soft: rgba(99, 102, 241, 0.06);
    --mycom-accent-ring: rgba(99, 102, 241, 0.18);
    --mycom-accent-light: #eef2ff;
    --mycom-text: #0f172a;
    --mycom-text-secondary: #475569;
    --mycom-text-muted: #94a3b8;
    --mycom-bg: #f8fafc;
    --mycom-card-bg: #ffffff;
    --mycom-border: #e2e8f0;
    --mycom-border-light: #f1f5f9;
    --mycom-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --mycom-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --mycom-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --mycom-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --mycom-radius: 0.625rem;
    --mycom-radius-lg: 0.75rem;
    --mycom-radius-sm: 0.375rem;
    --mycom-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --mycom-font: 'Noto Sans JP', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mycom-success: #10b981;
    --mycom-success-hover: #059669;
    --mycom-danger: #ef4444;
    --mycom-danger-hover: #dc2626;
    --mycom-warning: #f59e0b;
    --mycom-warning-hover: #d97706;
    --mycom-info: #3b82f6;
    --mycom-th-bg: #f8fafc;
    --mycom-th-text: #475569;
    --mycom-th-border: #e2e8f0;
}

/* --- 全体ベース --- */
body {
    font-family: var(--mycom-font) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    color: var(--mycom-text);
    background: var(--mycom-bg);
    line-height: 1.65;
}

/* --- ヘッダー（main-header）--- 固定ヘッダー --- */
.main-header {
    max-height: none;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
}

.main-header .logo {
    background: linear-gradient(135deg, var(--mycom-primary-dark) 0%, var(--mycom-primary) 100%) !important;
    color: #fff !important;
    font-size: 0.9rem;
    height: 50px;
    line-height: 1.3;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 230px;
    z-index: 1036;
}

.main-header .logo em,
.main-header .logo .logo-subtitle {
    font-style: normal;
    font-size: 0.72rem;
    opacity: 0.7;
    display: block;
    letter-spacing: 0.04em;
}

.main-header .logo .logo-lg span,
.main-header .logo .logo-sitename {
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.15rem;
}

.main-header .navbar {
    background: linear-gradient(135deg, var(--mycom-primary) 0%, var(--mycom-primary-light) 100%) !important;
    border: none !important;
    min-height: 50px;
    height: 50px;
    box-shadow: none;
    margin-left: 230px;
}

.main-header .navbar .nav>li>a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 15px 1rem;
    transition: var(--mycom-transition);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 20px;
}

.main-header .navbar .nav>li>a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.navbar-custom-menu .dropdown-toggle {
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 50px;
}

.navbar-custom-menu .dropdown-toggle .fa {
    font-size: 1rem;
}

.navbar-custom-menu .dropdown-toggle .caret {
    margin-left: 4px;
}

.main-header .sidebar-toggle {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--mycom-transition);
}

.main-header .sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* --- サイドバー --- */
.main-sidebar {
    background: linear-gradient(180deg, var(--mycom-primary-dark) 0%, #1a2332 60%, var(--mycom-primary) 100%) !important;
    border-right: none;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.05);
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1035;
    overflow-y: auto;
    padding-top: 50px;
}

/* サイドバーメニューのはみ出し防止 */
.sidebar-menu>li>a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-menu>li>a {
    color: rgba(255, 255, 255, 0.65) !important;
    padding: 0.7rem 1rem 0.7rem 1.15rem !important;
    border-left: 3px solid transparent;
    transition: var(--mycom-transition);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    font-weight: 400;
    text-decoration: none !important;
    border-bottom: none !important;
}

.sidebar-menu>li>a:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(99, 102, 241, 0.12) !important;
    border-left-color: rgba(99, 102, 241, 0.5);
}

.sidebar-menu>li.active>a {
    color: #fff !important;
    background: rgba(99, 102, 241, 0.2) !important;
    border-left-color: var(--mycom-accent) !important;
    font-weight: 500;
}

.sidebar-menu>li>a>i,
.sidebar-menu>li>a>.fa {
    width: 22px;
    text-align: center;
    margin-right: 8px;
    opacity: 0.55;
    font-size: 0.88rem;
    transition: var(--mycom-transition);
}

.sidebar-menu>li>a:hover>i,
.sidebar-menu>li>a:hover>.fa,
.sidebar-menu>li.active>a>i {
    opacity: 0.9;
}

.sidebar-menu>li.header {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1.25rem 1.15rem 0.5rem;
    font-weight: 600;
}

/* --- メインコンテンツ --- */
.content-wrapper,
.right-side {
    background: var(--mycom-bg) !important;
}

.content-header {
    padding: 1rem 1.25rem 0.5rem;
}

.content-header>h1 {
    font-size: 1.15rem !important;
    font-weight: 700;
    color: var(--mycom-text);
    letter-spacing: -0.01em;
}

.content {
    padding: 0.5rem 1.25rem 1.5rem;
}

/* --- breadcrumb改善 --- */
.breadcrumb {
    font-size: 0.78rem;
    color: var(--mycom-text-muted);
}

.breadcrumb a {
    color: var(--mycom-accent) !important;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--mycom-accent-hover) !important;
}

/* --- box → card スタイル改善 --- */
.box {
    border-radius: var(--mycom-radius-lg) !important;
    border: 1px solid var(--mycom-border) !important;
    box-shadow: var(--mycom-shadow) !important;
    transition: var(--mycom-transition);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--mycom-card-bg);
}

.box:hover {
    box-shadow: var(--mycom-shadow-md) !important;
}

.box .box-header {
    background: #fff;
    border-bottom: 1px solid var(--mycom-border) !important;
    padding: 0.9rem 1.25rem;
}

.box .box-header .box-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mycom-text);
    letter-spacing: -0.01em;
}

.box .box-header>.fa,
.box .box-header>i {
    color: var(--mycom-accent);
}

.box .box-body {
    padding: 1.25rem 1.5rem;
}

.box .box-footer {
    border-top: 1px solid var(--mycom-border) !important;
    padding: 0.85rem 1.25rem;
    background: #fafbfc !important;
}

.box-primary {
    border-top: 3px solid var(--mycom-accent) !important;
}

.box-success {
    border-top: 3px solid var(--mycom-success) !important;
}

.box-warning {
    border-top: 3px solid var(--mycom-warning) !important;
}

.box-danger {
    border-top: 3px solid var(--mycom-danger) !important;
}

.box-info {
    border-top: 3px solid var(--mycom-info) !important;
}

/* --- タブ改善 --- */
.nav-tabs-custom {
    border-radius: var(--mycom-radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--mycom-shadow) !important;
    border: 1px solid var(--mycom-border) !important;
    margin-bottom: 1.5rem;
    background: var(--mycom-card-bg);
}

.nav-tabs-custom>.nav-tabs {
    background: #fff;
    border-bottom: 2px solid var(--mycom-border) !important;
    padding: 0;
}

.nav-tabs-custom>.nav-tabs>li>a {
    color: var(--mycom-text-muted) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.85rem 1.35rem;
    transition: var(--mycom-transition);
    border: none !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px;
    letter-spacing: 0.01em;
}

.nav-tabs-custom>.nav-tabs>li>a:hover {
    color: var(--mycom-text) !important;
    background: var(--mycom-accent-light) !important;
    border-bottom-color: var(--mycom-accent) !important;
}

.nav-tabs-custom>.nav-tabs>li.active>a,
.nav-tabs-custom>.nav-tabs>li>a.active {
    border-top: none !important;
    border-bottom: 2px solid var(--mycom-accent) !important;
    color: var(--mycom-accent) !important;
    font-weight: 600;
    background: #fff !important;
}

.nav-tabs-custom>.tab-content {
    padding: 1.5rem;
}

/* ===== テーブル改善 ===== */
.table>thead>tr>th {
    background: var(--mycom-th-bg) !important;
    color: var(--mycom-th-text) !important;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    border: none !important;
    border-bottom: 2px solid var(--mycom-th-border) !important;
}

.table>tbody>tr>td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--mycom-border-light) !important;
    border-top: none !important;
    vertical-align: middle;
    font-size: 0.875rem;
    color: var(--mycom-text-secondary);
}

.table>tbody>tr:hover {
    background: var(--mycom-accent-soft) !important;
}

.table>tbody>tr:last-child>td {
    border-bottom: none !important;
}

.table-bordered {
    border: 1px solid var(--mycom-border) !important;
    border-radius: var(--mycom-radius);
    overflow: hidden;
}

.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th {
    background: var(--mycom-th-bg) !important;
    color: var(--mycom-th-text) !important;
    font-weight: 600;
    font-size: 0.82rem;
    border-bottom: 2px solid var(--mycom-th-border) !important;
}

.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
    border-color: var(--mycom-border-light) !important;
}

/* --- フォーム改善 --- */
.form-control {
    border-radius: var(--mycom-radius-sm) !important;
    border: 1px solid var(--mycom-border) !important;
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    transition: var(--mycom-transition);
    background: #fff;
    height: auto;
    line-height: 1.5;
    color: var(--mycom-text);
}

.form-control:focus {
    border-color: var(--mycom-accent) !important;
    box-shadow: 0 0 0 3px var(--mycom-accent-ring) !important;
    outline: none;
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

select.form-control {
    appearance: auto;
    padding-right: 2.25rem;
}

/* --- ボタン改善 --- */
.btn {
    border-radius: var(--mycom-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: var(--mycom-transition);
    letter-spacing: 0.01em;
    line-height: 1.5;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--mycom-accent) !important;
    border-color: var(--mycom-accent) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--mycom-accent-hover) !important;
    border-color: var(--mycom-accent-hover) !important;
}

.btn-success {
    background: var(--mycom-success) !important;
    border-color: var(--mycom-success) !important;
    color: #fff !important;
}

.btn-success:hover {
    background: var(--mycom-success-hover) !important;
    border-color: var(--mycom-success-hover) !important;
}

.btn-danger {
    background: var(--mycom-danger) !important;
    border-color: var(--mycom-danger) !important;
    color: #fff !important;
}

.btn-danger:hover {
    background: var(--mycom-danger-hover) !important;
    border-color: var(--mycom-danger-hover) !important;
}

.btn-warning {
    background: var(--mycom-warning) !important;
    border-color: var(--mycom-warning) !important;
    color: #fff !important;
}

.btn-warning:hover {
    background: var(--mycom-warning-hover) !important;
    border-color: var(--mycom-warning-hover) !important;
}

.btn-default {
    background: #fff !important;
    border-color: var(--mycom-border) !important;
    color: var(--mycom-text-secondary) !important;
}

.btn-default:hover {
    background: var(--mycom-bg) !important;
    border-color: #cbd5e0 !important;
    color: var(--mycom-text) !important;
}

.btn-info {
    background: var(--mycom-info) !important;
    border-color: var(--mycom-info) !important;
    color: #fff !important;
}

.btn-info:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

/* --- チェックボックス/ラジオボタン群 (こだわり等) --- */
.btn_checkbox .btn,
.btn_radio .btn {
    background-color: #fff !important;
    color: var(--mycom-text-secondary) !important;
    border-color: var(--mycom-border) !important;
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--mycom-radius-sm) !important;
    transition: var(--mycom-transition);
    font-weight: 400;
}

.btn_checkbox .btn:hover,
.btn_radio .btn:hover {
    background-color: var(--mycom-accent-light) !important;
    border-color: var(--mycom-accent) !important;
    color: var(--mycom-accent) !important;
    transform: none;
    box-shadow: none;
}

.btn_checkbox .btn-primary.active,
.btn_checkbox .btn-primary:active,
.btn_checkbox .btn-success.active,
.btn_checkbox .btn-success:active,
.btn_checkbox .btn-info.active,
.btn_checkbox .btn-info:active,
.btn_radio .btn-primary.active,
.btn_radio .btn-primary:active,
.btn_radio .btn-success.active,
.btn_radio .btn-success:active,
.btn_radio .btn-info.active,
.btn_radio .btn-info:active {
    background-color: var(--mycom-accent) !important;
    border-color: var(--mycom-accent) !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px var(--mycom-accent-ring) !important;
}

.btn_checkbox .btn-default.active,
.btn_checkbox .btn-default:active,
.btn_radio .btn-default.active,
.btn_radio .btn-default:active {
    background-color: var(--mycom-accent-light) !important;
    border-color: var(--mycom-accent) !important;
    color: var(--mycom-accent) !important;
}

.btn_radio_3col,
.btn_radio_2col {
    border-radius: var(--mycom-radius-sm);
    overflow: hidden;
}

.btn_radio_3col>.btn,
.btn_radio_2col>.btn {
    border-radius: 0 !important;
}

.btn_radio_3col>.btn:first-child,
.btn_radio_2col>.btn:first-child {
    border-radius: var(--mycom-radius-sm) 0 0 var(--mycom-radius-sm) !important;
}

.btn_radio_3col>.btn:last-child,
.btn_radio_2col>.btn:last-child {
    border-radius: 0 var(--mycom-radius-sm) var(--mycom-radius-sm) 0 !important;
}

/* --- callout/info改善 --- */
.callout,
.callout-info {
    border-radius: var(--mycom-radius) !important;
    background: var(--mycom-accent-light) !important;
    border: 1px solid #c7d2fe !important;
    border-left: 4px solid var(--mycom-accent) !important;
    color: var(--mycom-text) !important;
    padding: 1rem 1.25rem !important;
}

/* --- ログインページ改善 --- */
.login-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 70%, #4f46e5 100%) !important;
    min-height: 100vh;
}

.login-logo a {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.5rem !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
}

.login-logo em {
    font-style: normal;
    display: block;
    font-size: 0.78rem;
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.login-box-body {
    border-radius: var(--mycom-radius-lg) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 2.25rem !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
}

.login-box-body .form-control {
    border-radius: var(--mycom-radius-sm) !important;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
}

.login-box-body .btn {
    width: 100% !important;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--mycom-radius-sm);
}

.login-box-msg {
    font-weight: 500;
    color: var(--mycom-text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* --- ラベル/バッジ改善 --- */
.label {
    border-radius: var(--mycom-radius-sm);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    padding: 0.25em 0.6em;
}

.label-danger {
    background: var(--mycom-danger) !important;
}

.label-warning {
    background: var(--mycom-warning) !important;
}

.label-success {
    background: var(--mycom-success) !important;
}

.label-primary {
    background: var(--mycom-accent) !important;
}

.label-info {
    background: var(--mycom-info) !important;
}

/* --- 必須バッジ --- */
span.label.label-danger {
    padding: 0.2em 0.5em;
    font-size: 0.65rem;
    vertical-align: middle;
    border-radius: 0.25rem;
    font-weight: 700;
}

/* --- フッター改善 --- */
.main-footer {
    background: #fff !important;
    border-top: 1px solid var(--mycom-border) !important;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
    color: var(--mycom-text-muted);
}

/* --- ユーザーメニュー --- */
.user-menu .dropdown-menu {
    border-radius: var(--mycom-radius) !important;
    box-shadow: var(--mycom-shadow-lg) !important;
    border: 1px solid var(--mycom-border) !important;
}

.user-menu .user-header {
    background: linear-gradient(135deg, var(--mycom-primary-dark) 0%, var(--mycom-primary) 100%);
    color: #fff;
    padding: 1rem;
    border-radius: var(--mycom-radius) var(--mycom-radius) 0 0;
}

.user-menu .user-header p {
    color: #fff;
    font-size: 0.85rem;
}

/* --- 求人リスト改善 --- */
.oubo_nav>ul>li>a {
    border-radius: var(--mycom-radius-sm);
    transition: var(--mycom-transition);
}

/* --- action links --- */
a.action01,
a.action02,
a.action03,
a.action04,
a.action05,
a.action06,
a.action07,
a.action08 {
    color: var(--mycom-accent) !important;
    transition: var(--mycom-transition);
    font-size: 0.85rem;
    font-weight: 500;
}

a.action01:hover,
a.action02:hover,
a.action03:hover,
a.action04:hover,
a.action05:hover,
a.action06:hover,
a.action07:hover,
a.action08:hover {
    color: var(--mycom-accent-hover) !important;
}

/* --- リンク改善 --- */
a {
    color: var(--mycom-accent);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--mycom-accent-hover);
    text-decoration: none;
}

/* --- スクロールバー --- */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- アニメーション --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

.box,
.nav-tabs-custom {
    animation: fadeInUp 0.2s ease-out;
}

/* --- page_subhead改善 --- */
.page_subhead02 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mycom-text);
    border-bottom: 2px solid var(--mycom-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.page_subhead03 {
    color: var(--mycom-accent) !important;
    font-weight: 600;
}

.page_subhead04 {
    background-color: var(--mycom-accent-light) !important;
    border-radius: var(--mycom-radius-sm);
}

/* --- エラーリスト改善 --- */
.error_list li {
    border-radius: var(--mycom-radius-sm);
    border: 1px solid #fecaca;
    background-color: #fef2f2 !important;
    color: var(--mycom-danger) !important;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
}

.note_error {
    border-radius: var(--mycom-radius-sm);
    border: 1px solid #fecaca;
    background-color: #fef2f2 !important;
}

/* --- note_text --- */
.note_text {
    color: var(--mycom-text-muted) !important;
    font-size: 0.78rem;
}

/* --- list_disc改善 --- */
.list_disc>li {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.65;
}

.list_disc>li:before {
    color: var(--mycom-accent) !important;
    font-size: 0.55rem;
}

/* --- コンテンツ間の間隔調整 --- */
.col-xs-12 {
    margin-bottom: 0.35rem;
}

.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row>[class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* --- ページテキスト調整 --- */
.page_text {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--mycom-text-secondary);
}

/* --- メッセージログ改善 --- */
.oubo_message_log {
    border: 1px solid var(--mycom-border) !important;
    border-radius: var(--mycom-radius);
    background-color: var(--mycom-bg) !important;
}

.oubo_message_log_msg {
    border: 1px solid var(--mycom-border) !important;
    border-radius: var(--mycom-radius) !important;
    box-shadow: var(--mycom-shadow) !important;
    background-color: #fff !important;
}

.oubo_mail_body {
    border: 1px solid var(--mycom-border) !important;
    border-radius: var(--mycom-radius);
    background: var(--mycom-bg) !important;
}

/* --- search_item_dl改善 --- */
.search_item_dl {
    border-bottom-color: var(--mycom-border) !important;
    padding-bottom: 0.5rem;
}

/* --- ボタンボックス --- */
.btn_box {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- paginationスタイル --- */
.pagination>li>a,
.pagination>li>span {
    color: var(--mycom-accent);
    border-color: var(--mycom-border);
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--mycom-radius-sm) !important;
    margin: 0 0.15rem;
    transition: var(--mycom-transition);
}

.pagination>li>a:hover {
    background: var(--mycom-accent-light);
    border-color: var(--mycom-accent);
    color: var(--mycom-accent-hover);
}

.pagination>.active>a,
.pagination>.active>span {
    background: var(--mycom-accent) !important;
    border-color: var(--mycom-accent) !important;
    color: #fff !important;
}

/* --- mycom_box01改善 --- */
.mycom_box01 {
    margin-bottom: 1.25rem;
}

/* --- お知らせテーブル内のthカラー --- */
.box-success .table-bordered>tbody>tr>th {
    background: var(--mycom-th-bg) !important;
    color: var(--mycom-th-text) !important;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- ファイルアップロードボタン --- */
input[type="file"] {
    font-size: 0.85rem;
    padding: 0.25rem;
}

/* --- select2互換 --- */
.select2-container .select2-selection {
    border-radius: var(--mycom-radius-sm) !important;
    border-color: var(--mycom-border) !important;
    min-height: 38px;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .content {
        padding: 0.5rem 1rem 1.5rem;
    }

    .content-header {
        padding: 1rem 1rem 0.5rem;
    }

    .content-header>h1 {
        font-size: 1.1rem !important;
    }

    .main-header .logo {
        width: auto;
    }

    .box .box-body {
        padding: 1rem;
    }

    .nav-tabs-custom>.tab-content {
        padding: 1rem;
    }

    .table>thead>tr>th,
    .table>tbody>tr>td {
        padding: 0.5rem 0.65rem;
        font-size: 0.8rem;
    }

    /* スマホヘッダー白枠除去 */
    .main-header {
        position: fixed !important;
        left: 0;
        right: 0;
    }

    .main-header .navbar {
        margin-left: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .main-header .logo {
        border: none !important;
    }

    /* スマホタブ対応 */
    .mycom-tabs-modern .nav-tabs {
        flex-wrap: nowrap;
    }

    .mycom-tabs-modern .nav-tabs>li>a {
        padding: 0.6rem 0.35rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .mycom-tab-badge {
        font-size: 0.62rem;
        padding: 0.05rem 0.3rem;
        min-width: 16px;
    }

    .content-wrapper {
        margin-top: 50px !important;
    }
}

/* --- コンテンツの最大幅制御 --- 解除してフル幅に */

/* --- 印刷対応 --- */
@media print {

    .main-sidebar,
    .main-header,
    .main-footer {
        display: none !important;
    }

    .content-wrapper {
        margin-left: 0 !important;
    }

    .box {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}


/* =====================================================
   v4 新コンポーネント - MyCom UI/UX 大改修
   ===================================================== */

/* --- ヘッダー企業名 --- */
.navbar-custom-menu .dropdown-toggle .caret {
    margin-left: 5px;
}

/* --- box/card コンパクト化 --- */
.box {
    margin-bottom: 0.75rem;
}

.box .box-body {
    padding: 0.75rem 1rem;
}

.box .box-header {
    padding: 0.6rem 1rem;
}

/* --- テーブル: admin風のth濃色+細い線 --- */
.table-bordered {
    border: 1px solid var(--mycom-border) !important;
}

.table-bordered>thead>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tbody>tr>td {
    border-color: var(--mycom-border) !important;
    border-width: 1px !important;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table_edit>tbody>tr>th {
    background: var(--mycom-th-bg) !important;
    color: var(--mycom-th-text) !important;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}

.table>tbody>tr:hover {
    background-color: var(--mycom-accent-soft) !important;
}

/* --- CTA ボタン（求人広告を作る） --- */
.mycom-cta-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--mycom-radius);
    margin-bottom: 1rem;
    transition: var(--mycom-transition);
    box-shadow: var(--mycom-shadow-md);
    letter-spacing: 0.02em;
}

.mycom-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--mycom-shadow-lg);
}

/* --- モダンタブ --- */
.mycom-tabs-modern {
    background: var(--mycom-card-bg);
    border-radius: var(--mycom-radius-lg);
    box-shadow: var(--mycom-shadow);
    overflow: visible;
    margin-bottom: 1.25rem;
}

.mycom-tabs-modern .nav-tabs {
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    background: var(--mycom-primary);
    border-radius: var(--mycom-radius-lg) var(--mycom-radius-lg) 0 0;
    display: flex;
}

.mycom-tabs-modern .nav-tabs>li {
    margin-bottom: 0;
    flex: 1;
}

.mycom-tabs-modern .nav-tabs>li>a {
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--mycom-transition);
    background: transparent !important;
    text-decoration: none !important;
    text-align: center;
    font-size: 0.88rem;
}

.mycom-tabs-modern .nav-tabs>li:first-child>a {
    border-radius: var(--mycom-radius-lg) 0 0 0 !important;
}

.mycom-tabs-modern .nav-tabs>li:last-child>a {
    border-radius: 0 var(--mycom-radius-lg) 0 0 !important;
}

.mycom-tabs-modern .nav-tabs>li>a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08) !important;
}

.mycom-tabs-modern .nav-tabs>li.active>a,
.mycom-tabs-modern .nav-tabs>li.active>a:hover,
.mycom-tabs-modern .nav-tabs>li.active>a:focus {
    color: var(--mycom-primary) !important;
    background: var(--mycom-card-bg) !important;
    font-weight: 600;
    border-radius: var(--mycom-radius-lg) var(--mycom-radius-lg) 0 0 !important;
}

.mycom-tab-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: 0.3rem;
    min-width: 20px;
    text-align: center;
}

.mycom-tabs-modern .nav-tabs>li>a .mycom-tab-badge {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.mycom-tabs-modern .nav-tabs>li.active>a .mycom-tab-badge {
    background: var(--mycom-accent-soft);
    color: var(--mycom-accent);
}

.mycom-tabs-modern .tab-content {
    padding: 1rem 1.25rem 1.5rem;
    background: var(--mycom-card-bg);
    border-radius: 0 0 var(--mycom-radius-lg) var(--mycom-radius-lg);
}

/* --- セクションタイトル --- */
.mycom-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mycom-text);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--mycom-border);
}

/* --- 求人カード --- */
.mycom-job-card {
    background: var(--mycom-card-bg);
    border: 1px solid var(--mycom-border);
    border-radius: var(--mycom-radius);
    margin-bottom: 0.75rem;
    transition: var(--mycom-transition);
    overflow: hidden;
}

.mycom-job-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--mycom-shadow-md);
}

.mycom-job-card-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--mycom-border-light);
    background: #fafbfd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mycom-job-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mycom-accent);
    text-decoration: none;
}

.mycom-job-title:hover {
    text-decoration: underline;
}

.mycom-job-kikan {
    font-size: 0.78rem;
    color: var(--mycom-text-muted);
}

.mycom-job-card-body {
    padding: 0.75rem 1rem;
}

.mycom-job-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.mycom-job-stat {
    font-size: 0.85rem;
    color: var(--mycom-text-secondary);
}

.mycom-job-stat strong {
    color: var(--mycom-text);
}

.mycom-job-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.mycom-job-actions .btn {
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--mycom-radius-sm);
}

.mycom-job-note {
    font-size: 0.75rem;
    color: var(--mycom-text-muted);
    margin: 0;
}

/* --- アウトラインボタン --- */
.btn-outline-primary {
    color: var(--mycom-accent);
    border: 1px solid var(--mycom-accent);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--mycom-accent);
    color: #fff;
}

.btn-outline-secondary {
    color: var(--mycom-text-secondary);
    border: 1px solid var(--mycom-border);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--mycom-text-secondary);
    color: #fff;
}

.btn-outline-success {
    color: var(--mycom-success);
    border: 1px solid var(--mycom-success);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--mycom-success);
    color: #fff;
}

.btn-outline-danger {
    color: var(--mycom-danger);
    border: 1px solid var(--mycom-danger);
    background: transparent;
}

.btn-outline-danger:hover {
    background: var(--mycom-danger);
    color: #fff;
}

.btn-outline-info {
    color: var(--mycom-info);
    border: 1px solid var(--mycom-info);
    background: transparent;
}

.btn-outline-info:hover {
    background: var(--mycom-info);
    color: #fff;
}

/* --- 検索バー --- */
.mycom-search-bar {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: var(--mycom-radius);
    border: 1px solid var(--mycom-border);
}

.mycom-search-field {
    flex: 1;
    min-width: 150px;
}

.mycom-search-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mycom-text-secondary);
    margin-bottom: 0.25rem;
}

.mycom-search-field .btn {
    margin-top: 1.15rem;
}

/* --- モダンセレクト --- */
.mycom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.75rem center/12px 12px;
    padding-right: 2.25rem;
    border: 1px solid var(--mycom-border);
    border-radius: var(--mycom-radius-sm);
    cursor: pointer;
    transition: var(--mycom-transition);
}

.mycom-select:focus {
    border-color: var(--mycom-accent);
    box-shadow: 0 0 0 3px var(--mycom-accent-ring);
}

/* 260916 select.form-control（appearance:auto）との競合で矢印が二重表示・全幅になっていたのを修正 */
select.form-control.mycom-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    display: inline-block;
    width: auto;
    min-width: 260px;
    max-width: 100%;
    padding: 0.45rem 2.25rem 0.45rem 0.85rem;
    line-height: 1.4;
    vertical-align: middle;
}
select.form-control.mycom-select::-ms-expand { display: none; }
.table_oubo_status .mycom-select { margin-top: 0.4rem; }
/* 260916 非会員応募者：メッセージボード非表示時の案内 */
.mycom-guest-notice { background: #fff8e1; border: 1px solid #f0d27a; border-radius: var(--mycom-radius-sm); padding: 1rem 1.25rem; font-size: 0.9rem; line-height: 1.8; }
.mycom-guest-notice .mycom-guest-contact { margin: 0.5rem 0 0; padding: 0.75rem 1rem; background: #fff; border-radius: var(--mycom-radius-sm); border: 1px solid var(--mycom-border); }
.mycom-guest-notice .mycom-guest-contact dt { font-weight: 600; margin-top: 0.3rem; }
.mycom-guest-notice .mycom-guest-contact dd { margin: 0 0 0.2rem 1em; }
.mycom-guest-notice .mycom-guest-contact a { color: var(--mycom-accent); text-decoration: underline; }

/* --- 応募者カード --- */
.mycom-oubo-card {
    background: var(--mycom-card-bg);
    border: 1px solid var(--mycom-border);
    border-radius: var(--mycom-radius);
    margin-bottom: 0.5rem;
    transition: var(--mycom-transition);
    cursor: pointer;
}

.mycom-oubo-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--mycom-shadow-md);
}

.mycom-oubo-card-header {
    padding: 0.6rem 0.85rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--mycom-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mycom-oubo-card-job {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mycom-oubo-card-id {
    font-size: 0.7rem;
    color: var(--mycom-text-muted);
    background: var(--mycom-border-light);
    padding: 0.1rem 0.5rem;
    border-radius: var(--mycom-radius-sm);
}

.mycom-oubo-card-jobname {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mycom-text);
}

.mycom-oubo-card-date {
    font-size: 0.75rem;
    color: var(--mycom-text-muted);
}

.mycom-oubo-card-body {
    padding: 0.6rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mycom-oubo-card-applicant a {
    color: var(--mycom-accent);
    font-weight: 500;
    text-decoration: none;
}

.mycom-oubo-card-applicant a:hover {
    text-decoration: underline;
}

.mycom-oubo-card-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* --- 応募メッセージ メニューナビ --- */
.mycom-oubo-nav {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.mycom-oubo-nav .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--mycom-radius-sm);
}

.mycom-oubo-info {
    font-size: 0.82rem;
    color: var(--mycom-text-secondary);
    margin-bottom: 0.5rem;
}

.mycom-oubo-info .oubo_info {
    margin-right: 1.5rem;
}

/* --- LINE風チャットUI --- */
.mycom-chat-box .box-body {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 320px);
    min-height: 400px;
}

.mycom-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f0f2f5;
    scroll-behavior: smooth;
}

.mycom-chat-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--mycom-text-muted);
}

.mycom-chat-empty i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
}

.mycom-chat-msg {
    display: flex;
    margin-bottom: 0.75rem;
}

.mycom-chat-msg-me {
    justify-content: flex-end;
}

.mycom-chat-msg-other {
    justify-content: flex-start;
}

.mycom-chat-msg-bubble {
    max-width: 75%;
    padding: 0.6rem 0.85rem;
    border-radius: 1.1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    word-break: break-word;
}

.mycom-chat-msg-me .mycom-chat-msg-bubble {
    background: var(--mycom-accent);
    color: #fff;
    border-bottom-right-radius: 0.2rem;
}

.mycom-chat-msg-other .mycom-chat-msg-bubble {
    background: #fff;
    color: var(--mycom-text);
    border-bottom-left-radius: 0.2rem;
    border: 1px solid #e5e7eb;
}

.mycom-chat-msg-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
    font-size: 0.68rem;
    opacity: 0.7;
}

.mycom-chat-msg-me .mycom-chat-msg-meta {
    color: rgba(255, 255, 255, 0.7);
}

.mycom-chat-msg-other .mycom-chat-msg-meta {
    color: var(--mycom-text-muted);
}

.mycom-chat-msg-name {
    font-weight: 500;
}

/* --- チャット入力エリア --- */
.mycom-chat-input {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--mycom-border);
    background: #fff;
}

.mycom-chat-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.mycom-chat-textarea {
    flex: 1;
    resize: none;
    border-radius: 1.2rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.88rem;
    min-height: 44px;
    max-height: 120px;
    border: 1px solid var(--mycom-border) !important;
    transition: var(--mycom-transition);
}

.mycom-chat-textarea:focus {
    border-color: var(--mycom-accent) !important;
    box-shadow: 0 0 0 3px var(--mycom-accent-ring) !important;
}

.mycom-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    background: var(--mycom-accent) !important;
    border-color: var(--mycom-accent) !important;
    transition: var(--mycom-transition);
}

.mycom-chat-send:hover {
    background: var(--mycom-accent-hover) !important;
    border-color: var(--mycom-accent-hover) !important;
    transform: scale(1.05);
}

/* --- サイドバーアンダーバー削除 --- */
.sidebar-menu>li>a,
.sidebar-menu>li>a:hover,
.sidebar-menu>li>a:focus {
    text-decoration: none !important;
}

.sidebar-menu li {
    border-bottom: none !important;
}

/* --- テーブル余白削減 --- */
.table>thead>tr>th,
.table>tbody>tr>th,
.table>tbody>tr>td {
    padding: 0.5rem 0.65rem !important;
}

/* --- コンテンツ余白調整 --- */
.page_text {
    margin-bottom: 0.5rem;
}

.btn_box {
    margin: 0.75rem 0;
}

.mb10 {
    margin-bottom: 0.5rem !important;
}

/* --- レスポンシブ --- */
@media (max-width: 991px) {
    .mycom-search-bar {
        flex-direction: column;
    }

    .mycom-job-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .mycom-chat-box .box-body {
        height: auto;
        min-height: 350px;
    }
}

/* --- content-wrapper ヘッダー固定対応 --- */
.content-wrapper {
    margin-top: 50px;
}

/* --- 受付中止ボタン: 右端に小さく配置 --- */
.mycom-oubo-stop-wrap {
    text-align: right;
    margin-bottom: 0.5rem;
}

.mycom-oubo-stop-btn {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.6rem !important;
    opacity: 0.7;
    transition: var(--mycom-transition);
}

.mycom-oubo-stop-btn:hover {
    opacity: 1;
}

/* --- スカウト候補者カード --- */
.mycom-scout-card {
    background: var(--mycom-card-bg);
    border: 1px solid var(--mycom-border);
    border-radius: var(--mycom-radius);
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    transition: var(--mycom-transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mycom-scout-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--mycom-shadow-md);
}

.mycom-scout-card-main {
    flex: 1;
    min-width: 200px;
}

.mycom-scout-card-id {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mycom-text);
    margin-bottom: 0.15rem;
}

.mycom-scout-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--mycom-text-secondary);
    flex-wrap: wrap;
}

.mycom-scout-card-pr {
    flex: 2;
    font-size: 0.82rem;
    color: var(--mycom-text-secondary);
    min-width: 200px;
    line-height: 1.5;
    max-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mycom-scout-card-action .btn {
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: var(--mycom-radius-sm);
}

/* --- 文字数カウンター --- */
.mycom-charcount-wrap {
    position: relative;
}

.mycom-charcount {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--mycom-text-muted);
    margin-top: 0.2rem;
}

.mycom-charcount.is-over {
    color: var(--mycom-danger) !important;
    font-weight: 600;
}

.mycom-charcount .current {
    font-weight: 500;
}

/* ===================================================
   v8 タブUI — プレミアムグラスモーフィズムタブ
   =================================================== */

/* --- ロゴのアンダーバー（下線）除去 --- */
.main-header .logo,
.main-header .logo a,
.main-header .logo:hover,
.main-header .logo:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* --- タブ全体 --- */
.mycom-tabs-modern {
    margin-top: 1rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mycom-tabs-modern>.nav.nav-tabs {
    border-bottom: none !important;
    display: flex !important;
    gap: 0;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: 14px 14px 0 0;
    position: relative;
}

.mycom-tabs-modern>.nav.nav-tabs>li {
    flex: 1;
    margin-bottom: 0;
}

.mycom-tabs-modern>.nav.nav-tabs>li>a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-right: 0 !important;
    line-height: 1.3 !important;
    position: relative;
    letter-spacing: 0.02em;
}

/* タブ間の微妙な区切り線 */
.mycom-tabs-modern>.nav.nav-tabs>li+li>a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.mycom-tabs-modern>.nav.nav-tabs>li:first-child>a {
    border-radius: 14px 0 0 0 !important;
}

.mycom-tabs-modern>.nav.nav-tabs>li:last-child>a {
    border-radius: 0 14px 0 0 !important;
}

/* ホバー時 — 発光エフェクト */
.mycom-tabs-modern>.nav.nav-tabs>li>a:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.mycom-tabs-modern>.nav.nav-tabs>li>a:hover::before {
    opacity: 0;
}

/* アクティブタブ — グラスモーフィズム */
.mycom-tabs-modern>.nav.nav-tabs>li.active>a,
.mycom-tabs-modern>.nav.nav-tabs>li.active>a:hover,
.mycom-tabs-modern>.nav.nav-tabs>li.active>a:focus {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(79, 70, 229, 0.9) 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.mycom-tabs-modern>.nav.nav-tabs>li.active+li>a::before {
    opacity: 0;
}

/* アクティブタブ下部のインジケーター */
.mycom-tabs-modern>.nav.nav-tabs>li.active>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: #fff;
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}

/* バッジ */
.mycom-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 12px;
    font-size: 0.72rem !important;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.mycom-tabs-modern>.nav.nav-tabs>li>a .mycom-tab-badge {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mycom-tabs-modern>.nav.nav-tabs>li.active>a .mycom-tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.mycom-tabs-modern>.tab-content {
    background: #fff;
    border: 1px solid var(--mycom-border);
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 1.25rem 1.5rem;
}

/* タブレスポンシブ（スマホ対応） */
@media (max-width: 768px) {
    .mycom-tabs-modern>.nav.nav-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        border-radius: 10px 10px 0 0;
    }

    .mycom-tabs-modern>.nav.nav-tabs>li>a {
        padding: 10px 8px !important;
        font-size: 0.78rem !important;
        white-space: nowrap;
    }

    .mycom-tab-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.68rem !important;
        padding: 0 5px;
    }

    .mycom-tabs-modern {
        border-radius: 10px;
    }

    .mycom-tabs-modern>.tab-content {
        border-radius: 0 0 10px 10px;
        padding: 1rem;
    }
}

/* ===================================================
   v8 効果測定チャートUI
   =================================================== */

.kouka-date-range {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--mycom-radius);
    border: 1px solid var(--mycom-border);
}

.kouka-date-form {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.kouka-date-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kouka-date-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mycom-text-secondary);
}

.kouka-date-field input[type="date"] {
    width: 160px;
}

.kouka-date-sep {
    padding-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--mycom-text-muted);
    font-weight: 600;
}

.kouka-presets {
    flex-direction: row !important;
    gap: 0.35rem !important;
    align-items: flex-end !important;
    padding-bottom: 0;
}

.kouka-presets .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
}

.kouka-chart-wrap {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #fff;
    border-radius: var(--mycom-radius);
    border: 1px solid var(--mycom-border);
    box-shadow: var(--mycom-shadow);
    min-height: 300px;
    position: relative;
}

.kouka-table-wrap {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .kouka-date-form {
        flex-direction: column;
        align-items: stretch;
    }

    .kouka-date-field input[type="date"] {
        width: 100%;
    }

    .kouka-date-sep {
        text-align: center;
        padding: 0;
    }

    .kouka-chart-wrap {
        padding: 0.75rem;
        min-height: 200px;
    }
}