@charset "UTF-8";

/* WB-CareerTech Custom Hero Section Styles */

/* =========================================
   Reset & Global
   ========================================= */
* {
    box-sizing: border-box;
}

body.home #wrapper,
body.page #wrapper {
    overflow-x: hidden;
}

body.home #contents,
body.page #contents {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide Default Theme Elements on Front Page */
body.home #header-box,
body.home .jin-breadcrumb,
body.home .bread_crumb {
    display: none !important;
}

/* =========================================
   Header Section
   ========================================= */
.top-page-header {
    background: #fff;
    padding: 20px 0;
    width: 100%;
    position: relative;
    z-index: 100;
}

.top-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-logo img {
    width: auto;
    display: block;
}

/* Navigation Menu */
.top-nav-menu {
    display: flex;
    align-items: center;
}

.top-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.top-nav-list li {
    margin: 0;
}

.top-nav-list a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.top-nav-list a:hover {
    opacity: 0.7;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
}

/* Mobile Menu Overlay - Full Screen Style */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 20px;
}

.mobile-menu-logo img {
    width: auto;
}

.mobile-menu-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-fullscreen-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-fullscreen-nav-list li {
    margin-bottom: 20px;
}

.mobile-fullscreen-nav-list a {
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    transition: color 0.3s;
}

.mobile-fullscreen-nav-list a:hover {
    color: #4CAF50;
}

.mobile-fullscreen-nav-list .nav-en {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.mobile-fullscreen-nav-list .nav-jp {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.mobile-fullscreen-nav-list a:hover .nav-jp {
    color: #4CAF50;
}

/* Mobile Nav Dropdown */
.mobile-nav-dropdown {
    position: relative;
}

.mobile-nav-dropdown-toggle {
    cursor: pointer;
}

.mobile-nav-dropdown > .dropdown-arrow {
    font-size: 12px;
    margin-left: 8px;
    color: #999;
    cursor: pointer;
    padding: 8px 12px;
}

.mobile-nav-dropdown > .dropdown-arrow:hover {
    color: #4CAF50;
}

.mobile-nav-dropdown-menu {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    display: none;
}

.mobile-nav-dropdown-toggle .dropdown-arrow:hover + .mobile-nav-dropdown-menu,
.mobile-nav-dropdown.active .mobile-nav-dropdown-menu,
.mobile-nav-dropdown-menu:hover {
    display: block;
}

.mobile-nav-dropdown-menu li {
    margin-bottom: 10px !important;
}

.mobile-nav-dropdown-menu a {
    font-size: 14px !important;
    color: #666 !important;
    padding-left: 20px;
}

.mobile-nav-dropdown-menu a:hover {
    color: #4CAF50 !important;
}

.mobile-menu-footer {
    padding: 30px;
    text-align: center;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
    color: #4CAF50;
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: #e53935;
}

.mobile-menu-close .close-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: border-color 0.3s;
}

.mobile-menu-close:hover .close-icon {
    border-color: #e53935;
}

.mobile-menu-close .close-text {
    font-size: 10px;
    letter-spacing: 1px;
}

/* =========================================
   Fixed Scroll Header (PC)
   ========================================= */
.fixed-scroll-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    padding: 15px 0;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fixed-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-logo img {
    width: auto;
}

.fixed-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 0;
}

.fixed-menu-btn .menu-icon {
    font-size: 20px;
    line-height: 1;
}

.fixed-menu-btn:hover {
    opacity: 0.7;
}

/* =========================================
   Full Screen Menu Overlay (PC)
   ========================================= */
.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fullscreen-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu-header {
    padding: 20px 40px;
}

.fullscreen-logo img {
    width: auto;
}

.fullscreen-menu-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.fullscreen-nav-list li {
    margin-bottom: 25px;
}

.fullscreen-nav-list a {
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: baseline;
    gap: 15px;
    transition: color 0.3s;
}

.fullscreen-nav-list a:hover {
    color: #4CAF50;
}

.fullscreen-nav-list .nav-en {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.fullscreen-nav-list .nav-jp {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.fullscreen-nav-list a:hover .nav-jp {
    color: #4CAF50;
}

.fullscreen-menu-footer {
    padding: 40px;
    text-align: center;
}

.fullscreen-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    color: #4CAF50;
    transition: color 0.3s, border-color 0.3s;
}

.fullscreen-menu-close:hover {
    color: #e53935;
}

.fullscreen-menu-close .close-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    transition: border-color 0.3s;
}

.fullscreen-menu-close:hover .close-icon {
    border-color: #e53935;
}

.fullscreen-menu-close .close-text {
    font-size: 12px;
    letter-spacing: 1px;
}

/* Subpage Menu Button - Always visible on PC */
.subpage-menu-btn {
    display: flex !important;
}

/* Hide fixed header on mobile */
@media (max-width: 768px) {
    .fixed-scroll-header {
        display: none;
    }
    
    .fullscreen-menu-overlay {
        display: block;
        opacity: 0;
        visibility: hidden;
    }
    
    .fullscreen-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .subpage-menu-btn {
        display: none !important;
    }
}

.top-breadcrumb-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px 20px;
    width: 100%;
	  overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* 導航條捲軸：預設隱藏，滑動時或懸停時顯示 */
.top-breadcrumb-wrapper {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.top-breadcrumb-wrapper.is-scrolling,
.top-breadcrumb-wrapper:hover {
    scrollbar-color: #abb8c3 #f1f1f1;
}

.top-breadcrumb-wrapper::-webkit-scrollbar {
    height: 6px;
}

.top-breadcrumb-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.top-breadcrumb-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
}

.top-breadcrumb-wrapper.is-scrolling::-webkit-scrollbar-thumb,
.top-breadcrumb-wrapper:hover::-webkit-scrollbar-thumb {
    background: #888;
}

.top-breadcrumb-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.top-breadcrumb {
    font-size: 16px;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.top-breadcrumb a {
    color: #333;
    text-decoration: none;
}

.top-breadcrumb .sep {
    margin: 0 8px;
    color: #333;
}

.top-breadcrumb .current-page {
    color: #4CAF50;
    font-weight: normal;
}

/* =========================================
   Hero Section
   ========================================= */
.top-hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}

.hero-bg-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
    /* Removed overflow: hidden to allow shadows */
}

.hero-bg-image {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Overlay Content on Image */
.hero-overlay-content {
    position: absolute;
    bottom: 10%;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Title Box (Bottom Left) */
.hero-title-wrapper {
    flex: 0 0 auto;
    background: #fff;
    padding: 25px 40px;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 130px;
    /* Lift up to align with strap attachment */
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.hero-logo-icon {
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.hero-title-text {
    font-size: 72px;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.5px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
}

.hero-subtitle {
    margin: 10px 0 0 65px;
    /* Indent to align with text (Logo 50px + Gap 15px) */
    font-size: 26px;
    color: #000;
    font-weight: 500;
    text-align: right;
}

/* Description Box (Bottom Right) */
.hero-description {
    flex: 0 0 auto;
    background: #fff;
    padding: 30px 40px;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: right;
    margin-bottom: -100px;
    max-width: fit-content;
}

.hero-description p {
    margin: 0;
    font-size: 26px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

/* Responsive Styles for Hero Section */
@media (max-width: 960px) {
    .hero-bg-image {
        min-height: 300px;
    }

    .hero-overlay-content {
        position: relative;
        bottom: auto;
        flex-direction: column;
        align-items: center;
        padding: 0;
        background: #fff;
        margin-top: -5px;
        pointer-events: auto;
    }

    .hero-title-wrapper,
    .hero-description {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        padding: 30px 20px;
        text-align: center;
        margin-bottom: 0;
        /* Reset margins for mobile */
    }

    .hero-title-wrapper {
        padding-bottom: 0;
    }

    .hero-title {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-subtitle {
        text-align: center;
        margin: 10px 0 0 0;
        /* Reset margin for mobile */
    }

    .hero-description {
        text-align: center;
        padding-top: 20px;
    }

    .hero-title-text {
        font-size: 32px;
    }

    .hero-logo-icon {
        width: 40px;
    }
}

:root {
    --site-width: 1440;
    --site-horizontal-ratio: calc(100vw / var(--site-width));
}

/* =========================================
   Content Layout (Main + Sidebar)
   ========================================= */
.content-wrapper {
    max-width: calc(1000 * var(--site-horizontal-ratio));
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

@media (max-width: 1800px) {
    .content-wrapper {
        max-width: calc(1300 * var(--site-horizontal-ratio));
    }
}

.main-content {
    flex: 1;
    min-width: 0;
    /* Prevent flex child from overflowing */
}

.content-sidebar {
    flex: 0 0 380px;
    width: 380px;
}

/* =========================================
   Section Titles (Common)
   ========================================= */
.operator-title,
.pickup-title,
.new-articles-title,
.main-category-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
    display: block;
    width: 100%;
}

.operator-title::after,
.pickup-title::after,
.new-articles-title::after,
.main-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4CAF50 0%, #4CAF50 30%, #e0e0e0 30%, #e0e0e0 100%);
}

/* =========================================
   Operator Info Section
   ========================================= */
.operator-info-section {
    margin-bottom: 60px;
}

/* .operator-title style moved to Common above */

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

.operator-list li {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    font-weight: 500;
}

.operator-list li:before {
    content: "・";
    margin-right: 5px;
    color: #333;
    font-weight: bold;
}

.operator-label {
    min-width: fit-content;
    white-space: nowrap;
}

.operator-value {
    word-break: break-all;
}

.operator-value a {
    color: #0091d3 !important;
    text-decoration: none;
}

.operator-value a:hover {
    text-decoration: underline;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Sidebar Categories Widget */
.sidebar-categories {
    background: #fff;
}

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

.sidebar-category-list li {
    border-bottom: 1px solid #eee;
    margin: 0;
}

.sidebar-category-list li:last-child {
    border-bottom: none;
}

.sidebar-category-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
    position: relative;
}

.sidebar-category-list a:hover {
    color: #4CAF50;
    background-color: #f9f9f9;
    padding-left: 25px;
    /* Slight indent on hover */
}

/* Add arrow icon for categories if desired, or keep simple */
.sidebar-category-list a:before {
    content: "›";
    position: absolute;
    left: 10px;
    /* Hidden initially or visible? Let's make it visible on hover or simple text */
    opacity: 0;
    transition: opacity 0.2s;
    color: #4CAF50;
    font-weight: bold;
}

.sidebar-category-list a:hover:before {
    opacity: 1;
}

/* Ensure Popular Articles and New Articles titles have same green background */
.sidebar-popular-articles {
    background: #fff;
    margin-bottom: 30px;
}

/* Note: .sidebar-new-articles also has these styles. 
   We could group them but keeping separate is fine for maintenance. */

.sidebar-widget-title {
    background: #4CAF50;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 15px;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
}

.sidebar-article-list {
    padding: 0 5px;
}

.sidebar-article-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    align-items: flex-start;
}

.sidebar-article-item:last-child {
    border-bottom: none;
}

.sidebar-article-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 65px;
    overflow: hidden;
    background: #f0f0f0;
}

.sidebar-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: none;
    /* Override default widget img shadow */
    transition: transform 0.3s;
}

.sidebar-article-item:hover .sidebar-article-thumb img {
    transform: scale(1.05);
}

.sidebar-article-item:hover .sidebar-article-title {
    text-decoration: underline;
    color: #4CAF50;
}

.sidebar-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Enable text truncation if needed */
}

.sidebar-article-title {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: normal;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-article-date {
    font-size: 12px;
    color: #999;
}

.privacy-policy-link {
    color: #014098 !important;
    text-decoration: underline !important;
}

/* =========================================
   Pickup Articles Section (Main)
   ========================================= */
.pickup-articles-section {
    margin-bottom: 60px;
}

.pickup-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pickup-article-card {
    background: #fff;
    transition: box-shadow 0.3s;
}

.pickup-article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pickup-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

.pickup-card-image {
    flex: 0 0 280px;
    width: 280px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.pickup-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pickup-card-link:hover .pickup-thumbnail {
    transform: scale(1.05);
}

.pickup-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
}

.pickup-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pickup-meta {
    margin-bottom: 10px;
}

.pickup-date {
    font-size: 13px;
    color: #999;
}

.pickup-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 12px 0;
    transition: color 0.2s;
}

.pickup-card-link:hover .pickup-card-title {
    color: #4CAF50;
}

.pickup-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   New Articles Section (Main)
   ========================================= */
.new-articles-section {
    margin-bottom: 40px;
}

.new-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.new-article-card {
    background: #fff;
    transition: box-shadow 0.3s;
}

.new-article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.new-article-image {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.new-article-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.new-article-link:hover .new-article-thumbnail {
    transform: scale(1.05);
}

.new-article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.new-article-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 12px 0;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-article-link:hover .new-article-title {
    color: #4CAF50;
}

.new-article-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-article-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.no-posts {
    color: #999;
    font-size: 14px;
}

/* =========================================
   Category Articles Sections
   ========================================= */
/* Main category title styles moved to common section above */

.category-articles-section {
    margin-bottom: 50px;
}

.category-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.category-title-link:hover {
    color: #4CAF50;
}

.category-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.category-articles-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-article-item {
    background: #fff;
    transition: box-shadow 0.3s;
}

.category-article-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-article-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

.category-article-image {
    flex: 0 0 300px;
    width: 300px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.category-article-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-article-link:hover .category-article-thumbnail {
    transform: scale(1.05);
}

.category-article-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4CAF50;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
}

.category-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.category-article-meta {
    margin-bottom: 8px;
}

.category-article-date {
    font-size: 12px;
    color: #999;
}

.category-article-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-article-link:hover .category-article-title {
    color: #4CAF50;
}

.category-article-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   Responsive Design
   ========================================= */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .hero-title-text {
        font-size: 42px;
    }

    .hero-logo-icon {
        width: 36px;
        height: 36px;
    }

    .hero-title-wrapper {
        min-width: auto;
        padding: 20px 30px;
        bottom: 40px;
    }

    .hero-description {
        padding: 20px 30px;
        bottom: 0px;
        max-width: 380px;
    }

    .hero-description p {
        font-size: 14px;
    }

    .content-wrapper {
        gap: 40px;
        padding: 40px 30px;
    }

    .content-sidebar {
        flex: 0 0 250px;
        width: 250px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Header - Logo left, Menu button right */
    .top-header-content {
        padding-left: 15px;
        padding-right: 15px;
        justify-content: space-between;
    }

    .top-hero-section {
        margin-bottom: 0px;
    }

    .top-nav-menu {
        display: none;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: none;
        border-radius: 4px;
        padding: 8px 12px;
        cursor: pointer;
        color: #4CAF50;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-menu-btn .menu-text {
        letter-spacing: 1px;
    }

    .mobile-menu-btn .menu-icon {
        font-size: 18px;
        line-height: 1;
    }

    .top-breadcrumb-wrapper {
        padding: 10px 15px;
    }

    .top-breadcrumb {
        font-size: 13px;
    }

    /* Hero Section Mobile - Overlay on Image like PC */
    .hero-bg-wrapper {
        position: relative;
        overflow: hidden;
    }

    .hero-bg-image {
        min-height: auto;
        width: 100%;
        height: auto;
        object-fit: contain;
        aspect-ratio: unset;
    }

    .hero-overlay-content {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        top: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        background: transparent;
        margin-top: 0;
    }

    .hero-title-wrapper {
        position: relative;
        bottom: auto;
        left: 0;
        width: auto;
        max-width: 80%;
        margin: 0 0 8px 0;
        padding: 10px 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        text-align: left;
        background: rgba(255, 255, 255, 0.93);
    }

    .hero-title {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hero-logo-icon {
       width: 26px;
		height: auto;
    }

    .hero-title-text {
        font-size: 20px;
		
    }

    .hero-subtitle {
        text-align: left;
        margin: 4px 0 0 35px;
        font-size: 10px;
    }

    .hero-description {
        position: relative;
        right: auto;
        bottom: auto;
        width: auto;
        max-width: 85%;
        margin: 0 0 0 auto;
        padding: 10px 16px;
        text-align: right;
        background: rgba(255, 255, 255, 0.93);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .hero-description p {
        font-size: 11px;
        text-align: right;
        line-height: 1.6;
    }

    .content-wrapper {
        flex-direction: column;
        padding: 40px 20px;
        max-width: 100%;
    }

    .content-sidebar {
        width: 100%;
        flex: none;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Operator List on Mobile */
    .operator-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .operator-list li:before {
        content: "・";
        position: absolute;
        margin-left: -1em;
    }

    .operator-list {
        padding-left: 1em;
    }

    .operator-label {
        font-weight: 700;
        margin-bottom: 2px;
    }

    /* Pickup Articles on Mobile */
    .pickup-card-link {
        flex-direction: column;
        padding: 0px;
    }

    .pickup-card-image {
        width: 100%;
        flex: none;
        aspect-ratio: 16/9;
    }

    .pickup-card-title {
        font-size: 16px;
    }

    /* New Articles on Mobile */
    .new-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .new-article-content {
        padding: 15px 0;
    }

    /* Category Articles on Mobile */
    .main-category-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .category-section-title {
        font-size: 16px;
    }

    .category-icon {
        width: 18px;
        height: 18px;
    }

    .category-article-link {
        flex-direction: column;
        padding: 0px;
    }

    .category-article-image {
        width: 100%;
        flex: none;
        aspect-ratio: 16/9;
    }
}

/* =========================================
   P-Mark Privacy Section
   ========================================= */
.pmark-section {
    width: 100%;
    background: #fff;
    text-align: center;
}

.pmark-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.pmark-image {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.pmark-text {
    text-align: left;
}

.pmark-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {

    .pmark-container {
        flex-direction: column;
        gap: 20px;
    }

    .pmark-text {
        text-align: center;
    }

    .pmark-image {
        width: 60px;
    }

    .pmark-text p {
        font-size: 13px;
    }
}

/* =========================================
   Custom Footer
   ========================================= */
.custom-footer {
    width: 100%;
    margin-top: 80px;
}


/* Contact Section */
.footer-contact-section {
    background: linear-gradient(90deg, #44AF35 0%, #8FE682 100%);
    padding: calc(100% / 32 * 2) calc(100% / 32 * 4);
}

.footer-contact-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-contact-content {
    flex: 1;
}

.footer-contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.footer-contact-subtitle {
    font-size: 16px;
    margin-left: 15px;
}

.footer-contact-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
    margin: 0;
    font-weight: 600;
}

.footer-contact-button {
    flex: 0 0 auto;
    position: relative;
}

.footer-contact-btn {
    display: inline-block;
    padding: 16px 60px;
    background: transparent;
    color: #fff !important;
    border: 1px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.5s ease-in-out;
}

.footer-contact-btn:hover {
    background: #EA5455;
    border: 1px solid #EA5455;
}

/* Footer Bottom Section */
.footer-bottom-section {
    background: #2A2A2A url(/wp-content/uploads/2026/01/footer_logo_gray.png) no-repeat right bottom;
    padding: calc(100% / 32 * 2) calc(100% / 32 * 4);
    position: relative;
}

.footer-bottom-inner {
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 180px;
}

.footer-sitemap {
    margin-bottom: 40px;
}

.footer-sitemap-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    font-family: Lato;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.footer-nav-list li {
    margin: 0;
	display: flex;
}

.footer-nav-list a {
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    text-decoration: underline;
}

/* Footer Dropdown Menu */
.footer-dropdown {
    position: relative;
}

.footer-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-dropdown-toggle .dropdown-arrow {
    font-size: 12px;
}

.footer-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    min-width: 150px;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    list-style: none;
    margin: 8px 0 0 0;
}

.footer-dropdown:hover .footer-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-dropdown-menu li {
    margin: 0 !important;
}

.footer-dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #fff !important;
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.3s;
}

.footer-dropdown-menu a:hover {
    background: #555;
    text-decoration: none !important;
    width: 100%;
}

.footer-dropdown-menu a::after {
    content: " >";
    margin-left: 5px;
}

.footer-copyright-inline {
    color: white !important;
    font-size: 13px !important;
    pointer-events: none !important;
}

.footer-copyright-inline:hover {
    text-decoration: none !important;
}

/* Back to Top Button */
.custom-footer {
    position: relative;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-contact-button {
    position: relative;
}

.back-to-top-btn {
    position: absolute;
    top: 0;
    right: calc(100% / 32 * 4);
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #4CAF50;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: #45a049;
    transform: translateY(calc(-50% - 5px));
}

.arrow-up {
    font-style: normal;
    font-size: 32px;
    line-height: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-contact-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-contact-title {
        font-size: 7.5vw;
    }

    .footer-contact-subtitle {
        display: inline;
        margin-left: 15px;
    }

    .footer-contact-text {
        font-size: 14px !important;
        text-align: left;
    }

    .footer-bottom-section {
        padding: 30px 45px !important;
    }

    .footer-bottom-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }


    .footer-nav {
        flex-direction: column !important;
    }

    .footer-sitemap {
        width: 100% !important;
    }

    .footer-sitemap-title {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }

    .footer-nav-list {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 5px 10px !important;
    }

    .footer-nav-list li {
        margin: 0 !important;
    }

    .footer-nav-list a {
        font-size: 12px !important;
    }
	
	.footer-dropdown-menu {
        bottom: auto;
        top: 100%;
        margin: 8px 0 0 0;
    }

    .footer-copyright-inline {
        display: block !important;
        width: 100% !important;
        padding-top: 20px !important;
        border-top: none !important;
        font-size: 14px !important;
    }

    .footer-contact-section {
        padding: 40px 40px 60px;
    }
}

/* =========================================
   Related Posts Slider Styles
   ========================================= */
.related-entry-section {
    margin: 40px 0;
}

.related-entry-headline {
    margin-bottom: 30px;
}

/* Category Badge in Related Posts */
.related-entry-section .cps-post-cat,
.related-entry-section .cat-name,
.related-slide .cps-post-cat,
.related-slide .cat-name,
.post-list-mag3col-slide .cps-post-cat,
.post-list-mag3col-slide .cat-name {
    background: #4CAF50 !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 3px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.related-entry-headline-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
}

.post-list-mag3col-slide {
    position: relative;
}

.swiper-container2 {
    width: 100%;
    padding: 0 50px;
    position: relative;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    background: #4CAF50 !important;
    border-radius: 50% !important;
    color: #fff !important;
    position: absolute !important;
    top: calc(50% - 20px) !important;
    margin-top: 0 !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-prev {
    left: 0 !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #45a049 !important;
}

.swiper-pagination {
    bottom: -30px !important;
}

.swiper-pagination-bullet {
    background: #4CAF50 !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .swiper-container2 {
        padding: 0 35px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px !important;
        height: 30px !important;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 14px !important;
    }
}

/* =========================================
   Single Post Page Styles
   ========================================= */

/* Hide original theme header on single post pages and category pages */
body.single #header,
body.category #header,
body.archive #header {
    display: none !important;
}

body.single #header-box,
body.category #header-box,
body.archive #header-box {
    display: none !important;
}

/* Hide system breadcrumb navigation on single and category pages */
body.single .jin-breadcrumb,
body.single .bread_crumb,
body.single #breadcrumb,
body.single .breadcrumb,
body.single .cps-breadcrumb,
body.category .jin-breadcrumb,
body.category .bread_crumb,
body.category #breadcrumb,
body.category .breadcrumb,
body.category .cps-breadcrumb {
    display: none !important;
}

/* Hide system back to top button on single and category pages */
body.single #scroll-top,
body.single .scroll-top,
body.single #page-top,
body.single .page-top,
body.single #totop,
body.single .totop,
body.single #back-top,
body.single .back-top,
body.category #scroll-top,
body.category .scroll-top,
body.category #page-top,
body.category .page-top,
body.category #totop,
body.category .totop,
body.category #back-top,
body.category .back-top {
    display: none !important;
}

.single-page-wrapper {
    background: #fff !important;
}

.single-content-wrapper {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Adjust main content width for subpages */
.single-page-wrapper .main-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.single-page-wrapper #main-contents {
    max-width: 100% !important;
    width: 100% !important;
}

/* Adjust sidebar width for subpages */
.single-page-wrapper .content-sidebar {
    flex: 0 0 320px !important;
    width: 320px !important;
}

/* Article Content Styles */
.single-page-wrapper .cps-post-box {
    background: #fff !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.single-page-wrapper .cps-post {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

.single-page-wrapper .main-content {
    border: none !important;
    box-shadow: none !important;
}

.single-page-wrapper .cps-post-header {
    margin-bottom: 30px !important;
}

.single-page-wrapper .cps-post-cat {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border-radius: 3px !important;
    margin-right: 10px !important;
    margin-bottom: 15px !important;
}

.single-page-wrapper .cps-post-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.5 !important;
    margin: 0 0 15px 0 !important;
}

.single-page-wrapper .cps-post-meta {
    font-size: 13px !important;
    color: #999 !important;
    margin-bottom: 20px !important;
}

.single-page-wrapper .cps-post-meta .writer {
    margin-right: 15px !important;
}

.single-page-wrapper .cps-post-thumb {
    margin-bottom: 30px !important;
    text-align: center !important;
}

.single-page-wrapper .cps-post-thumb img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
}

.single-page-wrapper .cps-post-main-box {
    margin-top: 30px !important;
}

.single-page-wrapper .cps-post-main {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #333 !important;
}


.single-page-wrapper .cps-post-main blockquote {
    border-left: 4px solid #4CAF50 !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    background: #f9f9f9 !important;
    color: #666 !important;
}

.single-page-wrapper .cps-post-main a {
    text-decoration: underline !important;
}

.single-page-wrapper .cps-post-main a:hover {
    color: #45a049 !important;
}

.single-page-wrapper .tag-box {
    margin: 30px 0 !important;
    padding: 20px 0 !important;
    border-top: 1px solid #e0e0e0 !important;
}

.single-page-wrapper .tag-box span {
    display: inline-block !important;
    margin: 5px 10px 5px 0 !important;
}

.single-page-wrapper .tag-box a {
    display: inline-block !important;
    padding: 5px 12px !important;
    background: #f0f0f0 !important;
    color: #666 !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    transition: all 0.3s !important;
}

.single-page-wrapper .tag-box a:hover {
    background: #4CAF50 !important;
    color: #fff !important;
}

/* Mobile Responsive for Single Post */
@media (max-width: 768px) {
    /* Hide system breadcrumb on mobile */
    body.single .jin-breadcrumb,
    body.single .bread_crumb,
    body.single #breadcrumb,
    body.category .jin-breadcrumb,
    body.category .bread_crumb,
    body.category #breadcrumb {
        display: none !important;
    }
    
    /* Single page wrapper full width */
    .single-page-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Content wrapper responsive */
    .single-content-wrapper {
        flex-direction: column !important;
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Main content full width on mobile */
    .single-page-wrapper .main-content,
    .single-page-wrapper #main-contents {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Show sidebar on mobile for single and category pages */
    .single-page-wrapper .content-sidebar {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        margin: 30px 0 0 0 !important;
    }
    
    /* Breadcrumb responsive */
    .top-breadcrumb-wrapper {
        padding: 10px 15px !important;
		   overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .top-breadcrumb {
        font-size: 13px !important;
        white-space: nowrap !important;
        width: max-content !important;
        min-width: 100%;
    }
    
    .kaisetsu-box2 {
        padding-top: 0 !important;
    }

    .kaisetsu-box2-title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        display: block !important;
        width: auto !important;
        margin: 0 -25px 10px -25px !important;
    }

    .kaisetsu-box5 {
        padding-top: 0 !important;
        text-align: center !important;
    }

    .kaisetsu-box5 > *:not(.kaisetsu-box5-title) {
        text-align: left !important;
    }

    .kaisetsu-box5-title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        display: inline-block !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        padding: 8px 12px !important;
        margin-top: -18px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 10px !important;
        max-width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
     }
	
    /* Post title responsive */
    .cps-post-title {
        font-size: 20px !important;
        word-wrap: break-word !important;
    }

    .cps-post-main {
        font-size: 15px;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    /* Related Posts responsive */
    .related-entry-section {
        margin: 20px 0 !important;
        padding: 0 !important;
    }
    
    .swiper-container2 {
        padding: 0 30px !important;
    }
    
    .post-list-mag3col-slide .swiper-slide {
        width: 100% !important;
    }
    
    .post-list-mag3col-slide .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: cover !important;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 28px !important;
        height: 28px !important;
    }
    
    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 12px !important;
    }
}

/* =========================================
   Hide Box (Show More/Less) Functionality
   ========================================= */
.hideBox {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.hideBox.is-open {
    max-height: none;
}

/* Fade effect at bottom when collapsed */
.hideBox:not(.is-open)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.hideBox__btn {
    text-align: center;
    margin: 10px 0;
}

.hideBox__btn span {
    display: none;
    cursor: pointer;
    padding: 8px 0;
    background: transparent;
    color: #000;
    border: none;
    font-weight: 600;
    transition: color 0.3s;
    user-select: none;
    position: relative;
}

.hideBox__btn span:hover {
    color: #333;
}

.hideBox__btn span.active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Arrow icons - Chevron style using borders */
.hideBox__btn-open::before,
.hideBox__btn-close::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-style: solid;
    border-color: #000;
    transition: border-color 0.3s;
}

.hideBox__btn-open::before {
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 8px;
}

.hideBox__btn-close::before {
    border-width: 2px 2px 0 0;
    transform: rotate(-45deg);
    margin-top: 2px;
}

.hideBox__btn span:hover::before {
    border-color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hideBox {
        max-height: 150px;
    }

    .hideBox__btn span {
        font-size: 13px;
    }
}

/* =========================================
   按鈕在 box 上方置中
   ========================================= */
.gb-simple-button-center {
    display: block !important;
    width: 100%;
    text-align: center !important;
    margin-bottom: 1em;
}


/* =========================================
   Table Wrapper / Scroll Table with Scroll
   ========================================= */
.table-wrapper,
.scroll-table {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    position: relative;
}

.table-wrapper table,
.scroll-table table {
    width: max-content;
    min-width: 100%;
    display: table;
}

.table-wrapper th,
.table-wrapper td,
.scroll-table th,
.scroll-table td {
    border: solid 1px #eee;
    padding: 0.4em;
    min-width: 150px;
}

/* 使用瀏覽器預設捲軸樣式，不覆寫 */

/* Mobile optimization */
@media (max-width: 768px) {
    .table-wrapper,
    .scroll-table {
        margin: 15px 0;
    }
}