@charset "UTF-8";

/* Root Variables */

@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

:root {
    --font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-size-base: 14px;
    --font-size-small: 12px;
    --font-size-large: 16px;
    --color-primary: #007bff;
    --color-secondary: #6c757d;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    --color-light: #f8f9fa;
    --color-dark: #343a40;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #6c757d;
    --color-border: #dee2e6;
    --color-price: #f74e1b;
    --border-radius: 4px;
    --spacing-small: 5px;
    --spacing-medium: 10px;
    --spacing-large: 15px;

     --noto: "Noto Sans JP", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic,
          "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3",
          "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}



/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-dark);
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.pc {display:block !important;}
.sp {display:none !important;}
.body_gas .top_re {display:none;}

@media screen and (max-width: 480px) {
.pc {display:none !important;}
.sp {display:block !important;}
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.card-image {
    cursor: pointer;
    transition: 0.3s;
}

.card-image:hover {
    opacity: 0.7;
}

/* Header Styles (100% Width) */
.site-header {
    /* background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); */
    color: var(--color-black);
    padding: var(--spacing-large) 0;
    width: 100%;
    font-family: var(--noto);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-medium);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
}
.header-left .header-title{
  display:none;
}


.header-left img{
    width: 280px;
    height: auto;
}

.header-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-white);
    padding: var(--spacing-small);
}

.header-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.header-title .subtitle {
    font-size: var(--font-size-small);
    opacity: 0.9;
    margin-top: 2px;
}

.header-right {
    display: flex;
    gap: var(--spacing-medium);
}

.header-right a {
    color: var(--color-black);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--color-black);
    border-radius: var(--border-radius);
    transition: all 0.3s;
    font-weight: bold;
}

.header-right a:hover {
    background: rgba(255,255,255,0.2);
}

/* Main Banner (100% Width) */
.main-banner {
    width: 100%;
    height: 200px;
    /* background: linear-gradient(45deg, #ff6b6b, #4ecdc4); */
    /* background: url(./img/dmmbg.png) repeat-x; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* opacity: 0.3; */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/dmmbg.png);
    background-size: contain;
    background-position: center;
    filter: brightness(0.55); /* ここに好きなフィルターを指定 */
    z-index: 0;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 1;
    position: relative;
    font-family: var(--noto);
    font-weight: 900;
}

.banner-content h2 {
    font-size: 36px;
    margin: 0 0 10px;
    font-weight:bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 18px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Main Container (1000px Fixed Width) */
.main-container {
    max-width: 1000px;
    margin: 20px auto 0;
    background: var(--color-white);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-height: 500px;
}

/* News Section */
.news-section {
    padding: 5px 2% 10px;
    border-bottom: 1px solid var(--color-border);
}

.news-title {
    text-align: left;
    /* margin-bottom: var(--spacing-small); */
    font-size: 14px;
    font-weight: bold;
    color: var(--color-dark);
    font-family: var(--noto);
    margin: 0;
    padding: 5px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-large);
}

.news-item {
    /* background: var(--color-light); */
    padding: 2px 15px;
    border-radius: var(--border-radius);
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-item:hover {
    transform: translateY(-2px);
}

.news-item h3 {
    margin: 0;
    font-size: 12px;
    color: var(--color-primary);
    line-height: 1.4;
}

.news-date {
    font-size: var(--font-size-small);
    color: var(--color-gray);
    margin-bottom: 0px;
    padding: 0 10px 0 0px;
}

/* Search Section (Unified) */
.search-section {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    margin: var(--spacing-large);
    padding: var(--spacing-large) 7%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-row {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-medium);
    gap: var(--spacing-medium);
}

.search-row:last-child {
    margin-bottom: 0;
}

.search-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
}

.search-group.full-width {
    width: 100%;
}

.search-label {
    font-weight: bold;
    color: var(--color-dark);
    min-width: 120px;
    font-size: var(--font-size-base);
}

/* Display Mode Selector */
.display-mode-selector {
    display: flex;
    gap: var(--spacing-medium);
}

.display-mode-selector label {
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
    font-weight: normal;
    cursor: pointer;
}

.display-mode-selector input[type="radio"] {
    margin: 0;
}

.mode-icon {
    font-size: 16px;
    margin-right: var(--spacing-small);
}

/* Search Input */
.search-input-group {
    display: flex;
    gap: var(--spacing-small);
    flex: 1;
}

.search-input-group input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
}

.search-input-group .search-btn {
    padding: 8px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: bold;
    font-size: var(--font-size-base);
    min-width: 80px;
}

.search-input-group .search-btn:hover {
    background: #0056b3;
}

.search-input-group .clear-btn {
    padding: 8px 16px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-family);
}

.search-input-group .clear-btn:hover {
    background: #5a6268;
}

.search-input-group button {
    padding: 8px 16px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-family);
}

/* Popular Keywords */
.popular-keywords {
    display: flex;
    gap: var(--spacing-small);
    flex-wrap: wrap;
}

.keyword-btn {
    background: var(--color-white);
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: var(--font-size-small);
    cursor: pointer;
    transition: all 0.3s;
}

.keyword-btn:hover,.keyword-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Tag Filters */
.tag-filters {
    display: flex;
    gap: var(--spacing-small);
    flex-wrap: wrap;
}

.tag-filter-btn {
    padding: 4px 12px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: var(--font-size-small);
    transition: all 0.3s;
    font-family: var(--font-family);
}

.tag-filter-btn:hover {
    background: #5a6268;
}

.tag-filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}


/* 最新弾タグを目立たせるスタイル */
.tag-filter-btn.filter-btn-strong {
    background: #f7af43;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    border: 2px solid transparent;
    position: relative;
    animation: subtle-pulse 2s ease-in-out infinite;
}

.tag-filter-btn.filter-btn-strong:hover {
    background: linear-gradient(135deg, #ff5252, #ff9800);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
}

.tag-filter-btn.filter-btn-strong.active {
    background: linear-gradient(135deg, #e53935, #f57c00);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Group Select */
.group-select-wrapper {
    flex: 1;
}

.group-select-wrapper select {
    width: 100%;
    padding: 8px 12px 8px 33px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    /* font-weight: bold; */
    /* font-size: var(--font-size-large); */
    background: var(--color-white);
    height: 50px;
}

/* Page Top Button */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.page-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.page-top-text {
    font-size: 8px;
    margin-top: 2px;
}

/* Table Container */
.table_div_type1 {
    margin: var(--spacing-large);
    font-size: var(--font-size-base);
}

/* Table Header - List Style */
.table_div_type1.txt_list .thead .tr1 {
    display: flex;
    width: 100%;
    padding: 7px 0;
    background: #535252;
    color: var(--color-white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.table_div_type1.txt_list .thead .tr1 .th {
    text-align: center;
    padding: var(--spacing-small);
}

.table_div_type1.txt_list .thead .tr1 .th.th1 {
    width: 60px;
}

.table_div_type1.txt_list .thead .tr1 .th.th2 {
    flex: 1;
}

.table_div_type1.txt_list .thead .tr1 .th.th3 {
    width: 130px;
}

.table_div_type1.txt_list .thead .tr1 .th.th4 {
    width: 120px;
}

/* Table Body - List Style */
.table_div_type1.txt_list .tbody .tr {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-medium) 0;
    color: var(--color-dark);
}

.table_div_type1.txt_list .tbody .tr .td {
    padding: var(--spacing-small);
    text-align: left;
}

.table_div_type1.txt_list .tbody .tr .td.td1 {
    display: flex;
    width: 60px;
    justify-content: center;
}

.table_div_type1.txt_list .tbody .tr .td.td1 img {
    height: 60px;
    width: 40px;
    object-fit: contain;
}

.table_div_type1.txt_list .tbody .tr .td2-4_wrap {
    display: flex;
    flex: 1;
    align-items: center;
}

.table_div_type1.txt_list .tbody .tr .td.td2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-small);
}

.table_div_type1.txt_list .tbody .tr .td.td2 .card_name {
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 3px;
    line-height: 1.3;
}

.table_div_type1.txt_list .tbody .tr .td.td3 {
    width: 130px;
    font-size: var(--font-size-small);
    display: flex;
    align-items: center;
    justify-content: center;
}

.table_div_type1.txt_list .tbody .tr .td.td4 {
    width: 120px;
    font-size: var(--font-size-small);
    text-align: center;
}

/* Picture Style Layout */
.table_div_type1.pics_list .tbody {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-medium);
    padding: var(--spacing-medium) 0;
}

.table_div_type1.pics_list .tbody .tr {
    display: flex;
    flex-direction: column;
    border-bottom: none;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.table_div_type1.pics_list .tbody .tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.table_div_type1.pics_list .tbody .tr .td.td1 {
    display: block;
    width: 100%;
    padding: 0;
    flex-shrink: 0;
}

.table_div_type1.pics_list .tbody .tr .td.td1 img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.table_div_type1.pics_list .tbody .tr .td2-4_wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: var(--spacing-small);
    flex: 1;
}

.table_div_type1.pics_list .tbody .tr .td.td2 {
    display: block;
    width: 100%;
    padding: 0 0 var(--spacing-small) 0;
    font-size: var(--font-size-small);
    line-height: 1.2;
    flex: 1;
}

.table_div_type1.pics_list .tbody .tr .td.td2 .card_name {
    font-size: var(--font-size-small);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--spacing-small);
    height: 3.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.table_div_type1.pics_list .tbody .tr .td.td3 {
    width: 100%;
    font-size: 10px;
    padding: 0;
    margin: 0 0 var(--spacing-small) 0;
    text-align: center;
    height: auto;
}

.table_div_type1.pics_list .tbody .tr .td.td4 {
    display: block;
    width: 100%;
    text-align: center;
    padding: var(--spacing-small) 0 0 0;
    font-size: var(--font-size-small);
    /* border-top: 1px solid var(--color-border); */
    margin-top: auto;
}

.table_div_type1.pics_list .thead .tr1 {
    display: none;
}

/* Price Style */
.table_div_type1.txt_list .tbody .tr .td.td4 .price {
    color: var(--color-price);
    font-weight: 900;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.table_div_type1.txt_list .tbody .tr .td.td4 .price::before {
    content: "¥";
    font-size: 14px;
    font-weight: normal;
}

.table_div_type1.pics_list .tbody .tr .td.td4 .price {
    color: var(--color-price);
    font-weight: 900;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.table_div_type1.pics_list .tbody .tr .td.td4 .price::before {
    content: "¥";
    font-size: 12px;
    font-weight: normal;
}

.table_div_type1 .tbody .tr .td.td4 .yen {
    font-size: var(--font-size-small);
    color: var(--color-dark);
}

.price-label {
    display: inline-block;
    background: var(--color-success);
    color: var(--color-white);
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 2px;
    margin-right: var(--spacing-small);
    font-weight: bold;
}

/* Labels */
.label {
    display: inline-block;
    padding: 2px 6px;
    border-radius: var(--border-radius);
    font-size: 10px;
    color: var(--color-white);
    margin-right: var(--spacing-small);
}

.label.category {
    background: var(--color-info);
    position: relative;
}

.label.category::before {
    content: "🎴";
    margin-right: 2px;
}

.label.price_txt {
    display: none;
}

/* Custom Tags */
.custom-tags {
    margin-top: 0;
}

.custom-tag {
    display: inline-block;
    padding: 2px var(--spacing-small);
    margin: 2px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--color-white);
    font-weight: bold;
}

.custom-tag.buying-boost {
    background-color: #ff4757;
}

.custom-tag.latest {
    background-color: #2ed573;
}

.custom-tag.initial {
    background-color: #3742fa;
}

.custom-tag.high-value {
    background-color: #ffa502;
}

.custom-tag.supply {
    background-color: #747d8c;
}

.custom-tag.unopened-box {
    background-color: #5f27cd;
}

/* Hidden State */
.tr.hidden {
    display: none !important;
}

/* Responsive Styles */
@media screen and (max-width: 1000px) {
    .main-container {
        max-width: 95%;
        margin: 0 auto;
    }

    .header-content {
        flex-direction: column;
        gap: var(--spacing-medium);
        text-align: center;
    }

    .header-left {
        flex-direction: column;
        gap: var(--spacing-small);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .table_div_type1.pics_list .tbody {
        grid-template-columns: repeat(4, 1fr);
    }

    .search-section {
        margin: var(--spacing-medium);
    }
}

/* 
============================================
スマホでの画像表示改善 (768px以下)
2024年追加: スマホユーザー向けの画像表示最適化
============================================
*/
@media screen and (max-width: 768px) {
    .main-container {
        max-width: 100%;
        margin: 0;
    }

    .header-logo img {
        width: 50px;
        height: 50px;
    }

    .header-title h1 {
        font-size: 20px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .search-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-small);
    }

    .search-label {
        min-width: auto;
        margin-bottom: var(--spacing-small);
    }

    /* 画像形式：2列グリッドで画像を大きく表示 */
    .table_div_type1.pics_list .tbody {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px 8px;
    }

    .table_div_type1.pics_list .tbody .tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s;
        margin-bottom: 0;
    }

    .table_div_type1.pics_list .tbody .tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* 画像部分：アスペクト比を保持してしっかりとしたサイズで表示 */
    .table_div_type1.pics_list .tbody .tr .td.td1 {
        display: block;
        width: 100%;
        padding: 0;
        aspect-ratio: 2.5/3.5;
        overflow: hidden;
        background: #f8f9fa;
        flex-shrink: 0;
    }

    .table_div_type1.pics_list .tbody .tr .td.td1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .table_div_type1.pics_list .tbody .tr:hover .td.td1 img {
        transform: scale(1.05);
    }

    /* コンテンツ部分：余白を最小限に */
    .table_div_type1.pics_list .tbody .tr .td2-4_wrap {
        display: flex;
        flex-direction: column;
        padding: 8px;
        flex: 1;
        gap: 4px;
    }

    /* 商品名：適切なサイズと行数制限 */
    .table_div_type1.pics_list .tbody .tr .td.td2 {
        flex: 1;
        margin-bottom: 0;
        padding: 0;
    }

    .table_div_type1.pics_list .tbody .tr .td.td2 .card_name {
        font-size: 12px;
        font-weight: bold;
        line-height: 1.2;
        margin-bottom: 4px;
        height: auto;
        max-height: 2.4em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
    }

    /* カテゴリ部分 */
    .table_div_type1.pics_list .tbody .tr .td.td3 {
        margin-bottom: 4px;
        text-align: center;
        padding: 0;
    }

    .table_div_type1.pics_list .tbody .tr .td.td3 .label.category {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 10px;
    }

    /* 価格部分：目立つように */
    .table_div_type1.pics_list .tbody .tr .td.td4 {
        text-align: center;
        padding: 4px 0 0 0;
        border-top: 1px solid #e9ecef;
        margin-top: auto;
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .price {
        color: #f74e1b;
        font-weight: 900;
        font-size: 16px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .price::before {
        content: "¥";
        font-size: 12px;
        font-weight: normal;
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .yen {
        font-size: 12px;
        color: #333;
        margin-left: 2px;
    }

    /* カスタムタグ：スマホ用調整 */
    .table_div_type1.pics_list .tbody .tr .custom-tag {
        font-size: 8px;
        padding: 1px 4px;
        margin: 1px 1px 1px 0;
        border-radius: 6px;
    }

    /* 既存のリスト形式スタイル（変更なし） */
    .table_div_type1.pics_list .tbody .tr .td.td4 .price-label {
        display: none;
    }

    .table_div_type1.txt_list .tbody .tr {
        display: flex;
        align-items: center;
        padding: var(--spacing-medium);
        border-bottom: 1px solid var(--color-border);
    }

    .table_div_type1.txt_list .tbody .tr .td {
        padding: var(--spacing-small);
    }

    .table_div_type1.txt_list .tbody .tr .td.td1 {
        width: 80px;
        flex-shrink: 0;
    }

    .table_div_type1.txt_list .tbody .tr .td.td1 img {
        width: 60px;
        height: auto;
    }

    .table_div_type1.txt_list .tbody .tr .td2-4_wrap {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: space-between;
    }

    .table_div_type1.txt_list .tbody .tr .td.td2 {
        flex: 1;
        padding-right: var(--spacing-medium);
    }

    .table_div_type1.txt_list .tbody .tr .td.td2 .card_name {
        font-size: var(--font-size-base);
        font-weight: bold;
        margin-bottom: var(--spacing-small);
        line-height: 1.3;
    }

    .table_div_type1.txt_list .tbody .tr .td.td2 .custom-tags {
        margin-top: var(--spacing-small);
    }

    .table_div_type1.txt_list .tbody .tr .td.td3 {
        width: auto;
        margin-right: var(--spacing-medium);
    }

    .table_div_type1.txt_list .tbody .tr .td.td4 {
        width: 100px;
        text-align: right;
        flex-shrink: 0;
    }

    .table_div_type1.txt_list .thead .tr1 {
        display: none;
    }
}

/* 
============================================
より小さい画面（480px以下）での最適化
============================================
*/
@media screen and (max-width: 480px) {

    /* News Section */
.news-section {
   display:none;
}

    .header-content {
        padding: 0 var(--spacing-small);
        gap: 0px;
    }

    .header-logo img {
        width: 40px;
        height: 40px;
    }

    .header-title h1 {
        font-size: 18px;
    }

    .header-right {
        flex-direction: row;
        gap: var(--spacing-small);
    }

    .main-banner {
        height: 120px;
    }

    .banner-content h2 {
        font-size: 20px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .search-section {
        margin: var(--spacing-small);
        padding: var(--spacing-small);
    }

.site-header {
    padding: 5px 0 8px;
}

.header-left img{
    width: 200px;
    height: auto;
}


.banner-content {
    padding:0 5%;

}

.header-right a {
    padding: 5px 16px;
    border: 1px solid grey;
    font-weight: 600;
}



    /* 画像形式：480px以下でのさらなる最適化 */
    .table_div_type1.pics_list .tbody {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px 6px;
    }

    .table_div_type1.pics_list .tbody .tr .td2-4_wrap {
        padding: 6px;
        gap: 3px;
    }

    .table_div_type1.pics_list .tbody .tr .td.td2 .card_name {
        font-size: 11px;
        max-height: 2.2em;
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .price {
        font-size: 14px;
    }

    .table_div_type1 {
        margin: var(--spacing-small);
    }

    .table_div_type1.txt_list .tbody .tr {
        display: flex;
        align-items: center;
        padding: var(--spacing-medium);
        border-bottom: 1px solid var(--color-border);
    }

    .table_div_type1.txt_list .tbody .tr .td.td1 {
        width: 120px;
        flex-shrink: 0;
    }

    .table_div_type1.txt_list .tbody .tr .td.td1 img {
        width: 100%;
        height: auto;
    }

    .table_div_type1.txt_list .tbody .tr .td2-4_wrap {
        display: flex;
        flex: 1;
        align-items: center;
        gap: var(--spacing-small);
    }

    .table_div_type1.txt_list .tbody .tr .td.td2 {
        flex: 1;
        min-width: 0;
        padding: 0;
    }

    .table_div_type1.txt_list .tbody .tr .td.td2 .card_name {
        font-size: var(--font-size-small);
        font-weight: bold;
        margin-bottom: var(--spacing-small);
        line-height: 1.2;
    }

    .table_div_type1.txt_list .tbody .tr .td.td2 .custom-tags {
        margin-top: var(--spacing-small);
    }

    .table_div_type1.txt_list .tbody .tr .td.td3 {
        display: none;
    }

    .table_div_type1.txt_list .tbody .tr .td.td4 {
        width: 80px;
        text-align: right;
        flex-shrink: 0;
    }

    .lightbox-content {
        width: 95%;
        max-width: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .page-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        position: fixed;
    }
}

@media screen and (max-width: 480px) {
    /* 検索ボックスのスマホ対応 */
    .search-row {
        flex-direction: row;
        align-items: stretch;
        gap: var(--spacing-small);
    }
    
    .search-group.full-width {
        display: flex;
        width: 100%;
        align-items: stretch;
        align-items: center;
    }
    
    .search-input-group {
        display: flex;
        width: 100%;
        gap: 0;
    }
    
    .search-input-group input[type="text"] {
        flex: 1;
        width: 75%;
        padding: 8px 12px;
        border: 1px solid var(--color-border);
        border-radius: var(--border-radius);
        font-size: 14px;
    }
    
    .search-buttons {
        display: flex;
        flex-direction: column;
        width: 25%;
        gap: 2px;
        margin-left: 4px;
    }
    
    .search-input-group .search-btn {
        padding: 6px 8px;
        background: var(--color-primary);
        color: var(--color-white);
        border: none;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-family: var(--font-family);
        font-weight: bold;
        font-size: 12px;
        min-height: 35px;
        flex: 2;
        width: 100%;
        box-sizing: border-box;
        min-width: 50px;
    }
    
    .search-input-group .clear-btn {
        padding: 4px 8px;
        background: var(--color-secondary);
        color: var(--color-white);
        border: none;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-family: var(--font-family);
        font-size: 11px;
        min-height: 25px;
        flex: 1;
    }
    
    /* タグフィルターの横スクロール対応 */
    .tag-filters {
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: auto;
        scrollbar-color: #ccc transparent;
    }
    
    .tag-filters::-webkit-scrollbar {
        height: 4px;
    }
    
    .tag-filters::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .tag-filters::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }
    
    .tag-filters::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
    
    .tag-filter-btn {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 12px;
        min-width: max-content;
        white-space: nowrap;
    }
    
    .tag-filter-btn.filter-btn-strong {
        flex-shrink: 0;
        min-width: max-content;
    }

      /* タグフィルターの横スクロール対応 */
    .tag-filters {
        overflow-x: scroll; /* autoからscrollに変更 */
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 10px; /* スクロールバー分の余白を増加 */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: auto; /* thinからautoに変更 */
        scrollbar-color: #999 #f1f1f1; /* より目立つ色に変更 */
    }
    
    .tag-filters::-webkit-scrollbar {
        height: 8px; /* 4pxから8pxに拡大 */
    }
    
    .tag-filters::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
        border: 1px solid #ddd; /* 境界線追加 */
    }
    
    .tag-filters::-webkit-scrollbar-thumb {
        background: #999; /* #cccからより濃い#999に変更 */
        border-radius: 4px;
        border: 1px solid #777; /* 境界線追加 */
    }
    
    .tag-filters::-webkit-scrollbar-thumb:hover {
        background: #666; /* #999からより濃い#666に変更 */
    }

}

/* 
============================================
デスクトップでの既存スタイルを維持
============================================
*/
@media screen and (min-width: 769px) {
    .table_div_type1.pics_list .tbody {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (min-width: 1001px) {
    .table_div_type1.pics_list .tbody {
        grid-template-columns: repeat(6, 1fr);
    }
}



/* 
============================================
 買取表の表示
============================================
*/
.breadcrumb {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: bold;
}

.kaitori-notes {
    margin: 40px 15px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.kaitori-notes h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.note-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.note-item h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.note-item p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .kaitori-notes {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
  .breadcrumb {
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 0px;
}
.search-label {
    min-width: 85px;
    font-size: 12px;
}
    
}





/* 
============================================
 仮想スクロール用CSS - minified 
============================================
*/
.virtual-hidden{visibility:hidden!important;overflow:hidden}
#virtual-scroll-loader{text-align:center;padding:40px;background:rgba(255,255,255,0.9);border-radius:8px;margin:20px auto;max-width:300px;box-shadow:0 2px 10px rgba(0,0,0,0.1)}
.loader-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid var(--color-primary);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 15px}
@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
#virtual-scroll-loader p{margin:0;color:#666;font-size:14px}
.card-image{transition:opacity 0.3s}
.card-image.loaded{opacity:1}
.tbody .tr{min-height:auto;transition:opacity 0.3s,transform 0.3s}

/* フィルタリング結果表示 */
.filter-result-info {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ローディング中のオーバーレイ */
#virtual-scroll-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* スマホでのローディング表示最適化 */
@media screen and (max-width: 480px) {
    #virtual-scroll-loader {
        width: 90%;
        max-width: 300px;
    }
}



/* 
============================================
1. 最新弾お知らせセクション（新規追加）
============================================
*/
.latest-announcement {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    margin: var(--spacing-large);
    border-radius: var(--border-radius);
    padding: var(--spacing-large);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
    color: white;
    font-family: var(--noto);
}

.announcement-icon {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.announcement-text {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.4;
}

.tag-highlight {
    background: rgba(255,255,255,0.8);
    color: #ff4757;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 900;
    text-shadow: none;
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3); 
    }
    100% { 
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5); 
    }
}

/* 
============================================
2. 表示形式切り替えの新しいスタイル（カード一覧上部）
============================================
*/
.card-list-header {
    margin: var(--spacing-large);
    margin-bottom: 0;
    padding-bottom: var(--spacing-medium);
    border-bottom: 2px solid var(--color-border);
}

.display-mode-selector-wrapper {
    display: flex;
    justify-content: flex-end;
}

.display-mode-selector {
    display: flex;
    gap: var(--spacing-small);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.display-mode-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: normal;
    background: transparent;
    border: 1px solid transparent;
}

.display-mode-option:hover {
    background: var(--color-light);
}

.display-mode-option input[type="radio"] {
    display: none;
}

.display-mode-option input[type="radio"]:checked + .mode-icon-img + .mode-text {
    color: #fff;
    font-weight: bold;
}

.display-mode-option input[type="radio"]:checked {
    background: var(--color-primary);
    color: white;
}

.display-mode-option:has(input[type="radio"]:checked) {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.mode-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.display-mode-option:has(input[type="radio"]:checked) .mode-icon-img {
    filter: brightness(0) invert(1);
}

.mode-text {
    font-size: var(--font-size-small);
    font-weight: 500;
}

/* 既存のsearch-section内のDisplay Mode Selectorを非表示 */
.search-section .display-mode-selector {
    display: none;
}

/* 
============================================
3. 480px以下での人気キーワードの横スクロール対応
============================================
*/
@media screen and (max-width: 480px) {
    .popular-keywords {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }



    
    .popular-keywords::-webkit-scrollbar {
        height: 4px;
    }
    
    .popular-keywords::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .popular-keywords::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }
    
    .popular-keywords::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
    
    .keyword-btn {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 12px;
        min-width: max-content;
    }
}

@media screen and (max-width: 480px) {
    /* 人気キーワードの横スクロール対応 */
    .popular-keywords {
        overflow-x: scroll; /* autoからscrollに変更 */
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 10px; /* スクロールバー分の余白を増加 */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: auto; /* thinからautoに変更 */
        scrollbar-color: #999 #f1f1f1; /* より目立つ色に変更 */
    }
    
    .popular-keywords::-webkit-scrollbar {
        height: 8px; /* 4pxから8pxに拡大 */
    }
    
    .popular-keywords::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
        border: 1px solid #ddd; /* 境界線追加 */
    }
    
    .popular-keywords::-webkit-scrollbar-thumb {
        background: #999; /* #cccからより濃い#999に変更 */
        border-radius: 4px;
        border: 1px solid #777; /* 境界線追加 */
    }
    
    .popular-keywords::-webkit-scrollbar-thumb:hover {
        background: #666; /* #999からより濃い#666に変更 */
    }
    
}

/* 
============================================
4. 480px以下での3列グリッド表示とスタイル調整
============================================
*/
@media screen and (max-width: 480px) {
    /* 表示形式切り替えのスマホ対応 */
    .card-list-header {
        margin: var(--spacing-small);
        margin-bottom: 0;
    }
    
    .display-mode-selector-wrapper {
        justify-content: end;
    }
    
    .display-mode-selector {
        padding: 2px;
    }
    
    .display-mode-option {
        padding: 6px 10px;
        gap: 4px;
    }
    
    .mode-icon-img {
        width: 16px;
        height: 16px;
    }
    
    .mode-text {
        font-size: 11px;
    }

    /* 画像形式：480px以下で3列グリッド */
    .table_div_type1.pics_list .tbody {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px 4px;
    }

    .table_div_type1.pics_list .tbody .tr .td2-4_wrap {
        padding: 4px;
        gap: 2px;
    }

    .table_div_type1.pics_list .tbody .tr .td.td2 .card_name {
        font-size: 10px;
        max-height: 2em;
        line-height: 1.1;
        margin-bottom: 2px;
        -webkit-line-clamp: 2;
    }

    .table_div_type1.pics_list .tbody .tr .td.td3 {
        margin-bottom: 2px;
    }

    .table_div_type1.pics_list .tbody .tr .td.td3 .label.category {
        font-size: 8px;
        padding: 1px 4px;
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .price {
        font-size: 13px;
        font-weight: 800;
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .price::before {
        font-size: 10px;
    }

    .table_div_type1.pics_list .tbody .tr .td.td4 .yen {
        font-size: 10px;
    }

    /* カスタムタグをさらに小さく */
    .table_div_type1.pics_list .tbody .tr .custom-tag {
        font-size: 7px;
        padding: 1px 3px;
        margin: 1px 1px 1px 0;
        border-radius: 4px;
    }

    /* 画像のアスペクト比を維持 */
    .table_div_type1.pics_list .tbody .tr .td.td1 {
        aspect-ratio: 2.5/3.5;
        overflow: hidden;
        background: #f8f9fa;
    }
}

/* 
============================================
5. 最新弾お知らせセクションのスマホ対応
============================================
*/
@media screen and (max-width: 480px) {
    .latest-announcement {
        margin: var(--spacing-small);
        padding: var(--spacing-medium);
    }
    
    .announcement-content {
        gap: var(--spacing-small);
    }
    
    .announcement-icon {
        width: auto;
        height: 60px;
    }
    
    .announcement-text {
        font-size: 14px;
    }
    
    .tag-highlight {
        padding: 1px 6px;
        font-size: 13px;
    }
}


/* 
============================================
検索結果が見つからない場合のメッセージスタイル
============================================
*/
.no-results-message {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.no-results-content {
    text-align: center;
    max-width: 600px;
}

.no-results-title {
    font-size: 18px;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: bold;
    line-height: 1.4;
}

.no-results-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* 
============================================
検索状態表示セクション
============================================
*/
.search-status-section {
    margin: var(--spacing-large);
    margin-top: 0;
    margin-bottom: var(--spacing-medium);
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    display: none;
}

.search-status-content {
    font-size: 14px;
    color: #333;
    font-family: var(--noto);
}

.search-status-content strong {
    color: var(--color-primary);
    font-weight: bold;
}

.status-tag {
    background: var(--color-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 2px;
}

.status-search {
    background: var(--color-success);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 2px;
}

/* 
============================================
タグボタンのアクティブ状態をより明確に
============================================
*/
.tag-filter-btn {
    padding: 6px 12px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: var(--font-size-small);
    transition: all 0.3s ease;
    font-family: var(--font-family);
    position: relative;
    border: 2px solid transparent;
}

.tag-filter-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.tag-filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: #0056b3;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.tag-filter-btn.active::before {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 最新弾タグのアクティブ状態 */
.tag-filter-btn.filter-btn-strong.active {
    background: linear-gradient(135deg, #e53935, #f57c00);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    animation: none; /* アクティブ時はアニメーションを停止 */
}

.tag-filter-btn.filter-btn-strong.active::before {
    background: #4caf50;
}

/* 
============================================
人気キーワードボタンのアクティブ状態
============================================
*/
.keyword-btn {
    background: var(--color-white);
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: var(--font-size-small);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.keyword-btn:hover {
    background: var(--color-light);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.keyword-btn.active {
    background: var(--color-success);
    color: var(--color-white);
    border-color: #1e7e34;
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

.keyword-btn.active::before {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-primary);
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 
============================================
スマホでの検索状態表示
============================================
*/
@media screen and (max-width: 480px) {
    .search-status-section {
        margin: var(--spacing-small);
        margin-top: 0;
        margin-bottom: var(--spacing-small);
        padding: var(--spacing-small);
    }
    
    .search-status-content {
        font-size: 12px;
    }
    
    .status-tag, .status-search {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .no-results-message {
        padding: 40px 15px;
        margin: 15px 0;
    }
    
    .no-results-title {
        font-size: 16px;
    }
    
    .no-results-subtitle {
        font-size: 13px;
    }
}


/* 
============================================
検索結果なしメッセージの修正版
============================================
*/
.no-results-message {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    /* table内での表示を改善 */
    position: relative;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

/* table内での表示時の追加スタイル */
.table_div_type1 .no-results-message {
    margin: 20px 15px;
    width: calc(100% - 30px);
}

.no-results-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.no-results-title {
    font-size: 18px;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: bold;
    line-height: 1.4;
}

.no-results-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* 
============================================
検索状態表示セクションの背景追加
============================================
*/
.search-status-section {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-left: 4px solid var(--color-primary);
    margin: var(--spacing-large);
    margin-top: 0;
    margin-bottom: var(--spacing-medium);
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
}

/* 
============================================
スマホでの検索結果なしメッセージの調整
============================================
*/
@media screen and (max-width: 480px) {
    .no-results-message {
        padding: 40px 15px;
        margin: 15px 5px;
        width: calc(100% - 10px);
    }
    
    .table_div_type1 .no-results-message {
        margin: 15px 5px;
        width: calc(100% - 10px);
    }
    
    .no-results-title {
        font-size: 16px;
    }
    
    .no-results-subtitle {
        font-size: 13px;
    }
}