*, *::before, *::after {
    box-sizing: border-box;
}
body {
    background-color: transparent;
    margin: 0;
    padding: 0;
    color: #333333;
    line-height: 1.6;
}
.rcx-site-container {
    max-width: 1370px;
    margin: 0 auto;
    padding: 0 15px;
}
.rcx-main-layout {
    display: flex;
    gap: 30px;
}
.rcx-content-area {
    flex: 1;
    min-width: 0;
}
.rcx-sidebar-area {
    width: 300px;
    flex-shrink: 0;
}
.rcx-main-banner {
    position: relative;
    background-color: #111111;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}
.rcx-banner-link {
    display: block;
    text-decoration: none;
    color: #ffffff;
}
.rcx-banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
}
.rcx-banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rcx-banner-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}
.rcx-banner-text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}
.rcx-label-pickup {
    display: inline-block;
    background-color: #dd2c00;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.rcx-banner-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.rcx-banner-description {
    font-size: 13px;
    color: #cccccc;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rcx-section-box {
    margin-bottom: 40px;
}
.rcx-section-headline {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333333;
    color: #111111;
}
.rcx-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.rcx-item-card {
    display: block;
    text-decoration: none;
    color: #333333;
    background-color: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 6px;
    overflow: hidden;
}
.rcx-item-card:hover {
    opacity: 0.85;
}
.rcx-thumbnail-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #e1e4e6;
    overflow: hidden;
}
.rcx-thumbnail-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04); /*サムネイルで上部に黒い隙間ができるバグを消す用*/
}
.rcx-genre-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}
.rcx-item-info {
    padding: 8px;
}
.rcx-item-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 0px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rcx-item-price {
    font-size: 11px;
    color: #666666;
}
.rcx-notice-container {
    background-color: #ffffff;
    border: 1px solid #e1e4e6;
    border-radius: 6px;
    padding: 15px;
}
.rcx-sidebar-headline {
    font-size: 14px;
    font-weight: bold;
    border-left: 4px solid black;
    padding-left: 8px;
    color: black;
}
.rcx-notice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rcx-notice-item {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: #333333;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e1e4e6;
}
.rcx-notice-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.rcx-notice-item:hover .rcx-notice-title {
    color: #0044cc;
    text-decoration: underline;
}
.rcx-notice-img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #e1e4e6;
}
.rcx-notice-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rcx-notice-body {
    flex: 1;
    min-width: 0;
}
.rcx-notice-meta {
    margin-bottom: 2px;
}
.rcx-label-pr {
    display: inline-block;
    color: black;
    border: 1px solid #cccccc;
    font-size: 10px;
    padding: 0 3px;
    border-radius: 2px;
    line-height: 1.2;
}
.rcx-notice-title {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rcx-loading-text {
    font-size: 12px;
    color: #888888;
    grid-column: 1 / -1;
    padding: 10px 0;
    text-align: center;
    width: 100%; 
}
.rcx-error-text {
    font-size: 12px;
    color: #dd2c00;
    grid-column: 1 / -1;
    padding: 10px 0;
}
.rcx-all-watch {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cccccc;
    background: transparent;
    color: #0f1111;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.rcx-all-watch:hover {
    background-color: #f5f5f7 !important;
    border-color: #d1d1d6;
}
.rcx-aboutus-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cccccc;
    background: transparent;
    color: #0f1111;
    padding: 6px 14px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    width: 180px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.rcx-aboutus-btn:hover {
    background-color: #f5f5f7 !important;
    border-color: #d1d1d6;
}

/* 検索窓全体のコンテナ */
.rcx-search-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
}

/*入力エリア*/
.rcx-search-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-family: inherit;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e1e4e6;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: all 0.2s ease;
}
.rcx-search-input::placeholder {
    color: #888888;
}
.rcx-search-input:focus {
    border-color: #cccccc;
    background-color: #fbfbfb;
}

/*検索ボタン*/
.rcx-search-button {
    height: 38px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    background-color: transparent;
    color: #0f1111;
    border: 1px solid #cccccc;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.rcx-search-button:hover {
    background-color: #0f1111;
    color: #ffffff;
    border-color: #0f1111;
}


@media (max-width: 900px) {
     .rcx-main-layout {
         flex-direction: column;
     }
     .rcx-sidebar-area {
         width: 100%;
     }
     .rcx-banner-image-wrapper {
         height: 240px;
     }
     .rcx-banner-title {
         font-size: 18px;
     }
}

/*Phones*/
@media (max-width: 767px) {
    .rcx-list-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        gap: 15px;
    }
    .rcx-list-grid .rcx-item-card {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }
}

/*bookmark*/
.fav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    gap: 16px;
}
.fav-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    word-break: break-all;
}
.fav-link:hover {
    text-decoration: underline;
}
.empty-message {
    color: #888888;
    font-size: 14px;
}

/*Menu CSS*/
.rcx-tab-panel {
display: none;
    padding: 16px 0 80px 0;
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;display: none;
    padding: 16px 0 80px 0;
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;
}
.rcx-tab-panel--active {
    display: block;
}

.rcx-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1370px;
    padding-left: 15px;
    padding-right: 15px;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid #e1e4e6;
    display: flex;
    z-index: 1000;
}

.rcx-bottom-nav__item {
flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    border: none;
    background: none;
    font-size: 11px;
    font-weight: 500;
    font-family: inherit;
    color: #666666;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.rcx-bottom-nav__item:hover {
    color: #f5f5f5;
}

.rcx-bottom-nav__item--active {
    color: #0f1111;
    font-weight: 700;
}

/*Relicxys-TitleUI*/

