        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
        }

        body {
            line-height: 1.5;
            color: #333;
            overflow-x: hidden;
            font-size: 14px;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header Styles */
        header {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
        }

        .header-main {
            padding: 12px 0;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px;
        }

        .logo {
            font-size: 22px;
            font-weight: bold;
            color: #00857e;
        }

        .logo img {
            height: 28px;
        }

        .header-search {
            display: flex;
            align-items: center;
            margin-left: 20px;
        }

        .header-search a {
            margin-left: 15px;
            font-size: 13px;
            display: flex;
            align-items: center;
            color: #00857e;
            font-weight: 500;
        }

        .header-search a i {
            margin-right: 5px;
        }

        .header-search a:hover {
            opacity: 0.8;
        }

        .nav-links {
            display: flex;
            align-items: center;
            position: relative; /* Added for dropdown positioning */
        }

        .nav-links a {
            margin-left: 20px;
            font-size: 13px;
            display: flex;
            align-items: center;
            color: #333;
        }

        .nav-links a i {
            margin-right: 5px;
            font-size: 15px;
        }

        .nav-links a:hover {
            color: #00857e;
        }

        .menu-button {
            display: none;
            background: none;
            border: none;
            font-size: 22px;
            cursor: pointer;
            color: #00857e;
        }
        
        .badge {
        background-color: #ff5733;
        color: white;
        border-radius: 50%;
        padding: 0.2em 0.4em;
        font-size: 0.7em;
        margin-left: 0.5em;
        display: none;
        font-weight: bold;
        animation: pulse 1s infinite;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    
    .badge.show {
        display: inline-block;
    }
    
    .badge:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

        /* Dropdown Menu - Fixed positioning */
        /* Update the dropdown menu styles to make it full-panel */
/* Dropdown Menu - Full panel style */
.dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    display: none;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.dropdown-menu.active {
    opacity: 1;
}

.dropdown-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu-title {
    font-weight: bold;
    color: #00857e;
    font-size: 20px;
}

.dropdown-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.dropdown-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.dropdown-menu-section {
    margin-bottom: 25px;
}

.dropdown-menu-subtitle {
    font-weight: bold;
    margin-bottom: 15px;
    color: #00857e;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.dropdown-menu-links {
    list-style: none;
}

.dropdown-menu-links li {
    margin-bottom: 12px;
}

.dropdown-menu-links a {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    padding: 5px 0;
}

.dropdown-menu-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #00857e;
    font-size: 16px;
}

.dropdown-menu-links a:hover {
    color: #00857e;
}

.dropdown-menu .language-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Responsive adjustments for dropdown menu */
@media (max-width: 992px) {
    .dropdown-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .dropdown-menu-content {
        grid-template-columns: 1fr;
    }
}


        /* Language Switcher for Mobile */
        .language-switcher {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 15px 0;
            padding: 10px;
            background-color: #f5f5f5;
            border-radius: 8px;
        }

        .language-switcher-title {
            font-weight: bold;
            margin-right: 10px;
            color: #00857e;
            font-size: 14px;
        }

        .language-options {
            display: flex;
            gap: 10px;
        }

        .language-option {
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .language-option.active {
            background-color: #00857e;
            color: white;
        }

        .language-option:not(.active) {
            background-color: white;
            border: 1px solid #ddd;
        }

        .language-option:not(.active):hover {
            border-color: #00857e;
        }

        /* Hero Section */
        .hero {
            background-color: #00857e;
            background-image: url('images/japan.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
            padding: 50px 0;
            position: relative;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0,133,126,0.9) 0%, rgba(0,133,126,0.7) 100%);
            z-index: 1;
        }

        .hero-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .hero-text {
            width: 45%;
        }

        .hero-text h1 {
            font-size: 32px;
            margin-bottom: 20px;
            line-height: 1.3;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .search-box {
            width: 50%;
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            color: #333;
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .search-tabs {
            display: flex;
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .search-tab {
            padding: 8px 15px;
            cursor: pointer;
            border-radius: 5px 5px 0 0;
            font-weight: bold;
            transition: all 0.3s ease;
            font-size: 13px;
        }

        .search-tab.active {
            background-color: #00857e;
            color: white;
        }

        .search-tab:not(.active) {
            background-color: #f5f5f5;
        }

        .search-tab:not(.active):hover {
            background-color: #e5e5e5;
        }

        .search-content {
            padding-top: 10px;
        }

        .search-content h3 {
            margin-bottom: 15px;
            font-size: 15px;
            color: #555;
        }

        .search-fields {
            margin-top: 15px;
        }

        .search-row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 12px;
        }

        .search-field {
            flex: 1;
            min-width: calc(50% - 6px);
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .search-field:hover {
            border-color: #00857e;
            background-color: #f9f9f9;
        }

        .search-field i {
            margin-right: 10px;
            color: #00857e;
            font-size: 16px;
        }

        .search-field span {
            font-size: 13px;
            line-height: 1.3;
        }

        /* Banners Section */
        .banners {
              margin-top: 20px;
            padding: 40px 0;
            background-color: #f9f9f9;
        }

        .banner-container {
            display: flex;
            gap: 20px;
        }

       .banner {
    flex: 1;
    background-color: #00857e;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    color: white;
    padding: 12px 16px; /* reduced padding */
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08); /* lighter, tighter shadow */
    transition: transform 0.3s ease;
    font-size: 0.95rem; /* optional: slightly smaller text */
}


        .banner:hover {
            transform: translateY(-5px);
        }

        .banner-text {
            width: 60%;
        }

        .banner-text h3 {
            font-size: 20px;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .banner-image {
            width: 40%;
            text-align: right;
        }

        .banner-image img {
            max-height: 150px;
            object-fit: contain;
        }

       .banner-button {
            display: inline-block;
            background-color: #2978b5; /* beautiful rich blue */
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            margin-top: 12px;
            font-size: 13px;
            font-weight: bold;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }


        .banner-button:hover {
            background-color: #ff5252;
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.15);
        }

        /* Features Grid */
        .features {
            padding: 50px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 30px;
            font-size: 24px;
            color: #333;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background-color: #00857e;
            margin: 12px auto 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .feature-item {
            position: relative;
            height: 160px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }

        .feature-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .feature-item:hover img {
            transform: scale(1.05);
        }

        .feature-text {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
            color: white;
            padding: 20px 15px 12px;
            font-weight: bold;
            font-size: 13px;
        }

        /* Purpose Search Section */
        .purpose-search {
            padding: 50px 0;
            background-color: #f9f9f9;
        }

        .purpose-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .purpose-item {
            text-align: center;
            transition: all 0.3s ease;
        }

        .purpose-item:hover {
            transform: translateY(-5px);
        }

        .purpose-image {
            height: 180px;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 12px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .purpose-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .purpose-item:hover .purpose-image img {
            transform: scale(1.05);
        }

        .purpose-item h3 {
            font-size: 15px;
            color: #333;
            margin-top: 8px;
        }

        /* Services Section */
        .services {
            padding: 50px 0;
        }

            .services-grid {
              display: grid;
              grid-template-columns: repeat(4, 1fr);
              gap: 30px;
            }

        .service-item {
            border: 1px solid #eee;
            border-radius: 10px;
            padding: 25px;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }

        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: #00857e;
        }

        .service-icon {
            color: #00857e;
            font-size: 32px;
            margin-bottom: 15px;
        }

        .service-title {
            font-weight: bold;
            margin-bottom: 12px;
            font-size: 16px;
            color: #333;
        }

        .service-description {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
        }

        /* External Links Section */
        .external-links {
            padding: 40px 0;
            background-color: #f9f9f9;
        }

        .links-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

        .link-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 12px 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: white;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            font-size: 15px;
            
        }

        .link-item:hover {
            border-color: #00857e;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateY(-3px);
        }

        .link-item i {
            color: #00857e;
        }

        /* Online Service Section */
        .online-service {
            padding: 70px 0;
            background-image: url('https://static.vecteezy.com/system/resources/previews/022/839/323/large_2x/concept-of-business-a-mortgage-white-house-construction-building-real-estate-house-on-table-white-background-3d-illustration-render-real-estate-property-concept-white-background-free-photo.jpg?height=600&width=1200');
            background-size: cover;
            background-position: center;
            color: white;
            position: relative;
        }

        .online-service::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0,133,126,0.9) 0%, rgba(0,133,126,0.7) 100%);
        }

        .online-content {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .online-text {
            width: 50%;
        }

        .online-text h2 {
            font-size: 32px;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .online-text p {
            margin-bottom: 20px;
            font-size: 15px;
            line-height: 1.6;
        }

        .online-button {
            display: inline-block;
            background-color: rgba(255,255,255,0.2);
            border: 2px solid white;
            color: white;
            padding: 10px 30px;
            border-radius: 30px;
            font-weight: bold;
            transition: all 0.3s ease;
            font-size: 13px;
        }

        .online-button:hover {
            background-color: white;
            color: #00857e;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* Notifications Section */
        .notifications {
            padding: 50px 0;
        }

        .notification-list {
            border: 1px solid #eee;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }

        .notification-item {
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            font-size: 13px;
        }

        .notification-item:last-child {
            border-bottom: none;
        }

        .notification-item:hover {
            background-color: #f9f9f9;
        }

        .notification-item i {
            color: #00857e;
        }

        .view-all {
            text-align: center;
            margin-top: 20px;
        }

        .view-all a {
            display: inline-block;
            padding: 8px 25px;
            color: #00857e;
            border: 1px solid #00857e;
            border-radius: 30px;
            transition: all 0.3s ease;
            font-size: 13px;
        }

        .view-all a:hover {
            background-color: #00857e;
            color: white;
        }

        /* Footer */
        footer {
            background-color: #00857e;
            color: white;
            padding: 50px 0 25px;
        }

        .footer-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-logo {
            width: 100%;
            max-width: 200px;
            margin-bottom: 25px;
            font-size: 24px;
            font-weight: bold;
        }

        .footer-column {
            flex: 1;
            min-width: 200px;
        }

        .footer-column h3 {
            font-size: 15px;
            margin-bottom: 15px;
            font-weight: bold;
            position: relative;
            padding-bottom: 8px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: rgba(255,255,255,0.3);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255,255,255,0.8);
            font-size: 13px;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: 20px;
            text-align: center;
            font-size: 13px;
            color: rgba(255,255,255,0.7);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            justify-content: center;
        }

        .social-links a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background-color: rgba(255,255,255,0.2);
            transform: translateY(-3px);
        }

        .back-to-top {
            position: fixed;
            bottom: 60px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #00857e;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            z-index: 100;
        }

        .back-to-top:hover {
            background-color: #00857e;
            color: white;
            transform: translateY(-3px);
        }
        /* Mobile version: add extra bottom margin */
            @media (max-width: 767px) {
                .back-to-top {
                    bottom: 90px; /* increase space from bottom */
                }
            }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            width: 80%;
            max-width: 300px;
            height: 100%;
            background-color: white;
            z-index: 2000;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            transform: translateX(100%);
            transition: transform 0.3s ease;
            overflow-y: auto;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 22px;
            color: #00857e;
            cursor: pointer;
        }

        .mobile-menu-links {
            padding: 15px;
        }

        .mobile-menu-section {
            margin-bottom: 20px;
        }

        .mobile-menu-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #00857e;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
            font-size: 14px;
        }

        .mobile-menu-items {
            list-style: none;
            /* Changed to single column layout */
            display: block;
        }

        .mobile-menu-items li {
            margin-bottom: 10px;
        }

        .mobile-menu-items a {
            display: flex;
            align-items: center;
            color: #333;
            font-size: 13px;
            padding: 5px 0;
        }

        .mobile-menu-items a i {
            margin-right: 8px;
            width: 16px;
            text-align: center;
            color: #00857e;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
            }

            .hero-text, .search-box {
                width: 100%;
            }

            .hero-text {
                margin-bottom: 25px;
                text-align: center;
            }

            .purpose-grid, .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .banner-container {
                flex-direction: column;
            }

            .dropdown-menu {
                width: 250px;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                padding: 10px 15px;
            }

            .logo {
                font-size: 20px;
            }

            .header-search {
                display: none;
            }

            .nav-links {
                display: none;
            }

            .menu-button {
                display: block;
            }

            .online-content {
                flex-direction: column;
                text-align: center;
            }

            .online-text {
                width: 100%;
                margin-bottom: 25px;
            }

            .links-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-container {
                flex-direction: column;
                gap: 25px;
            }

            .footer-column {
                width: 100%;
            }
            
            /* Keep search fields in 2 columns on mobile */
            .search-row {
                flex-direction: row;
            }
            
            .search-field {
                min-width: calc(50% - 6px);
            }
        }

        @media (max-width: 576px) {
            .purpose-grid, .services-grid, .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .links-grid {
                grid-template-columns: 1fr;
            }

            .hero {
                padding: 35px 0;
            }

            .hero-text h1 {
                font-size: 26px;
            }

            .search-box {
                padding: 15px;
            }

            .search-tab {
                padding: 8px 10px;
                font-size: 12px;
            }

            .banner-text h3 {
                font-size: 18px;
            }

            .section-title {
                font-size: 22px;
            }

            .online-text h2 {
                font-size: 26px;
            }

            .footer-logo {
                text-align: center;
                margin: 0 auto 20px;
            }
            
            /* Keep search fields in 2 columns on small mobile */
            .search-row {
                flex-direction: row;
            }
            
            .search-field {
                min-width: calc(50% - 6px);
                padding: 8px 10px;
            }
            
            .search-field i {
                font-size: 14px;
                margin-right: 8px;
            }
            
            .search-field span {
                font-size: 12px;
            }
        }
        
  
hr {
    border: 0;
    border-top: 1px solid #6c757d;
    opacity: 0.5;
    margin-top: 20px;
}

.recent-history-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.recent-history-header {
  margin-bottom: 20px;
}

.recent-history-title {
  font-size: 18px;
  font-weight: bold;
}

.recent-history-count {
  font-size: 14px;
  font-weight: normal;
}

.recent-history-carousel-wrapper {
  position: relative;
}

.recent-history-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
 background-color: rgba(35, 40, 70, 0.5);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s;
}

.recent-history-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.recent-history-nav-prev {
  left: -10px;
}

.recent-history-nav-next {
  right: -10px;
}

@media (max-width: 768px) {
  .recent-history-nav-btn {
    display: none;
  }
}

.recent-history-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.recent-history-carousel::-webkit-scrollbar {
  display: none;
}

.recent-history-card {
  flex: 0 0 auto;
  width: 280px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: white;
  overflow: hidden;
  scroll-snap-align: start;
}

.recent-history-card-image {
  position: relative;
  height: 180px;
}

.recent-history-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-history-favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.recent-history-favorite-btn:hover {
  color: #ff4d4d;
}

.recent-history-card-content {
  padding: 12px;
  
}

.recent-history-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.recent-history-badge {
  font-size: 12px;
  padding: 4px 8px;
  background-color: #00857e;
  border-radius: 4px;
  color: white;
}

.recent-history-price {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
}

.recent-history-price-value {
  font-size: 24px;
  font-weight: bold;
  color: #ff4d4d;
}

.recent-history-price-unit {
  font-size: 14px;
  color: #ff4d4d;
  margin-left: 2px;
}

.recent-history-price-shared {
  font-size: 12px;
  color: #999;
  margin-left: 8px;
}

.recent-history-fees {
  font-size: 12px;
  margin-bottom: 12px;
  color: #666;
}

.recent-history-highlight {
  color: #ff4d4d;
}

.recent-history-detail {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #666;
}

.recent-history-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.recent-history-text {
  flex-grow: 1;
}

.recent-history-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}

.recent-history-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
}

.recent-history-dot-active {
  background-color: #666;
}

.recent-history-view-all {
  text-align: center;
  margin-top: 24px;
}

.recent-history-view-all-btn {
  padding: 8px 24px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.recent-history-view-all-btn:hover {
  background-color: #f5f5f5;
}


    /* Styling for the loading bar */
    #loading-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 0%;
        height: 5px;
        background-color: #4caf50;
        z-index: 9999;
        transition: width 0.4s ease;
    }


@media (max-width: 768px) {
  .recent-history-card {
    width: 260px;
  }
}

@media (max-width: 480px) {
  .recent-history-card {
    width: 240px;
  }
  
  .recent-history-price-value {
    font-size: 20px;
  }
  
  .recent-history-price-shared {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
}

        .seika-features-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .seika-features-section {
            text-align: center;
        }

        .seika-features-main-title {
            font-size: 28px;
            margin-bottom: 10px;
        }

        .seika-features-title-underline {
            height: 2px;
            width: 400px;
            max-width: 90%;
            margin: 0 auto 50px;
            background: repeating-linear-gradient(
                to right,
                #6BA368,
                #6BA368 5px,
                transparent 5px,
                transparent 10px
            );
        }

        .seika-features-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }

        .seika-features-item {
            flex: 1;
            min-width: 250px;
            max-width: 280px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .seika-features-text-content {
            width: 100%;
        }

        .seika-features-icon-wrapper {
            width: 120px;
            height: 120px;
            background-color: #f5f5f5;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }

        .seika-features-item-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333333;
            text-align: center;
        }

        .seika-features-item-description {
            text-align: center;
            font-size: 14px;
            line-height: 1.6;
            color: #333333;
        }

        /* Desktop layout - 4 items in a row */
        @media (min-width: 769px) {
            .seika-features-item {
                flex-direction: column;
                align-items: center;
            }
            
            .seika-features-icon-wrapper {
                margin-right: 0;
            }
            
            .seika-features-text-content {
                text-align: center;
            }
            
            .seika-features-item-title {
                text-align: center;
            }
        }

        /* Mobile/Tablet layout - matches the original mobile design */
        @media (max-width: 768px) {
            .seika-features-grid {
                flex-direction: column;
                align-items: stretch;
                gap: 30px;
            }
            
            .seika-features-item {
                flex-direction: row;
                align-items: flex-start;
                max-width: 100%;
                min-width: auto;
                gap: 20px;
                text-align: left;
            }
            
            .seika-features-icon-wrapper {
                width: 80px;
                height: 80px;
                margin-bottom: 0;
                flex-shrink: 0;
            }
            
            .seika-features-icon-wrapper svg {
                width: 40px;
                height: 40px;
            }
            
            .seika-features-text-content {
                flex: 1;
            }
            
            .seika-features-item-title {
                font-size: 18px;
                margin-bottom: 10px;
                text-align: left;
            }
            
            .seika-features-item-description {
                font-size: 14px;
                line-height: 1.6;
                text-align: left;
            }
            
            .seika-features-main-title {
                font-size: 22px;
            }
            
            .seika-features-title-underline {
                max-width: 80%;
                margin-bottom: 30px;
            }
        }

        /* Extra small devices */
        @media (max-width: 480px) {
            .seika-features-icon-wrapper {
                width: 70px;
                height: 70px;
            }
            
            .seika-features-icon-wrapper svg {
                width: 35px;
                height: 35px;
            }
            
            .seika-features-item-title {
                font-size: 16px;
            }
            
            .seika-features-item-description {
                font-size: 13px;
            }
            
            .seika-features-main-title {
                font-size: 20px;
            }
        }
        

/* SEIKA Press Section - Simple & Clean */

.seika-press-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
}

.seika-press-header {
  background-color: #00857e;
  border-left: 4px solid orange;
  padding: 15px;
  margin-bottom: 20px;
  color: white;
}

.seika-press-title {
  font-size: 18px;
  font-weight: bold;
  color: white;
  margin: 0;
  padding: 0;
}

/* Description styles */
.seika-press-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
  margin-top: 0;
  padding: 0;
}

.seika-press-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.seika-press-article-card {
  background-color: #fff;
   border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  transition: box-shadow 0.3s ease;
  height: 140px;
}


.seika-press-article-card:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.seika-press-article-image {
  width: 40%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.seika-press-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seika-press-article-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 60%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}


.seika-press-article-category {
  display: inline-block;
  background-color: #f0f0f0;
  color: #666;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.seika-press-article-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
  flex: 1;
  margin-top: 0;
  padding: 0;
}

.seika-press-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.seika-press-article-date {
  font-size: 12px;
  color: #999;
}

.seika-press-article-arrow {
  font-size: 18px;
  color: #999;
}

/* See more button */
.seika-press-see-more-container {
  display: flex;
  justify-content: center;
}

.seika-press-see-more-button {
  background-color: #00857e;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: inherit;
}

.seika-press-see-more-button:hover {
  background-color: #3367d6;
}

.seika-press-button-arrow {
  font-size: 16px;
}

/* Desktop styles - 2 column grid */
@media (min-width: 768px) {
  .seika-press-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seika-press-article-card {
    height: 200px;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .seika-press-container {
    padding: 15px;
  }

  .seika-press-article-card {
    height: 120px;
  }

  .seika-press-article-content {
    padding: 12px;
  }

  .seika-press-article-title {
    font-size: 13px;
    line-height: 1.4;
  }

  .seika-press-article-category {
    font-size: 11px;
    padding: 3px 6px;
    margin-bottom: 8px;
  }

  .seika-press-article-date {
    font-size: 11px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .seika-press-container {
    padding: 10px;
  }

  .seika-press-header {
    padding: 12px;
  }

  .seika-press-title {
    font-size: 16px;
  }

  .seika-press-description {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .seika-press-article-card {
    height: 110px;
  }

  .seika-press-article-content {
    padding: 10px;
  }

  .seika-press-article-title {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .seika-press-see-more-button {
    padding: 10px 25px;
    font-size: 13px;
  }
}

.seikaHomepage__othersLinkButton {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.seikaHomepage__othersLinkButton:hover {
  color: #4A90E2;
  text-decoration: underline;
  background-color: #f8f9fa;
}

.seikaHomepage__topBreadcrumbNav {
            background: white;
            border-bottom: 1px solid #e0e0e0;
            border-top: 1px solid #f0f0f0;
            box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 10;
            color: #333333;
        }
        
        .seikaHomepage__topBreadcrumbNav a.seikaHomepage__breadcrumbNavLink {
            color: #333333;
            text-decoration: none;
        }
        
        .seikaHomepage__topBreadcrumbNav a.seikaHomepage__breadcrumbNavLink:hover {
            color: #007BFF;
            text-decoration: underline;
        }
        
        .seikaHomepage__breadcrumbContainer {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .seikaHomepage__breadcrumbLinksWrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 0;
            overflow-x: auto;
            white-space: nowrap;
        }
        
        .seikaHomepage__breadcrumbNavLink {
            color: #666;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 4px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        
        .seikaHomepage__breadcrumbNavLink:hover {
            color: #00857e;
            background-color: #f8f9fa;
            text-decoration: none;
        }
        
        .seikaHomepage__breadcrumbSeparator {
            color: #ccc;
            font-size: 14px;
            margin: 0 8px;
            flex-shrink: 0;
        }

/* Bottom Breadcrumb with Property Count */
.seikaHomepage__bottomBreadcrumbBar {
    background: white;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    margin-top: -10px;
}

.seikaHomepage__propertyCountSection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
}

.seikaHomepage__propertyCountSection i {
    color: #4ECDC4;
    font-size: 18px;
}

.seikaHomepage__propertyCountSection strong {
    color: #E74C3C;
    font-weight: bold;
}

/* Hero Section */
.seikaHomepage__heroSectionWrapper {
    position: relative;
    height: 200px;
    background-image: 
        linear-gradient(135deg, rgba(0, 133, 126, 0.9) 0%, rgba(0, 133, 126, 0.7) 100%),
        url('images/home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.seikaHomepage__heroContentArea {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.seikaHomepage__mainTitleHeading {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Search Section */
.seikaHomepage__searchMainSection {
    background: #f5f5f5;
    padding: 30px 20px 20px 20px;
    min-height: 400px;
}

.seikaHomepage__searchContainerDiv {
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop Layout */
.seikaHomepage__desktopSearchLayout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.seikaHomepage__mobileSearchLayout {
    display: none;
}

.seikaHomepage__areaSelectionPanel {
    flex: 2;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.seikaHomepage__panelHeaderDiv {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.seikaHomepage__orangeHeaderIcon {
    color: #FF8C42;
    font-size: 20px;
}

.seikaHomepage__panelTitleText {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.seikaHomepage__panelSubtitleText {
    color: #666;
    font-size: 12px;
}

.seikaHomepage__panelContentDiv {
    padding: 20px;
}

.seikaHomepage__areaGroupDiv {
    margin-bottom: 25px;
}

.seikaHomepage__areaGroupHeading {
    color: #00857e;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.seikaHomepage__checkboxGridContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.seikaHomepage__checkboxLabelItem {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.seikaHomepage__checkboxLabelItem:hover {
    background-color: #f8f9fa;
}

.seikaHomepage__checkboxInput {
    accent-color: #00857e;
}

.seikaHomepage__buttonGroupDiv {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.seikaHomepage__searchButton {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.seikaHomepage__blueSearchButton {
    background: #00857e;
    color: white;
    border-color: #00857e;
}

.seikaHomepage__blueSearchButton:hover {
    background: #357ABD;
}

/* Option Cards */
.seikaHomepage__optionCardsContainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.seikaHomepage__optionCardItem {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.seikaHomepage__cardIconDiv {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.seikaHomepage__redIconBackground {
    background: #E74C3C;
}

.seikaHomepage__greenIconBackground {
    background: #27AE60;
}

.seikaHomepage__blueIconBackground {
    background: #3498DB;
}

.seikaHomepage__orangeIconBackground {
    background: #FF8C42;
}

.seikaHomepage__cardTextDiv {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.seikaHomepage__cardArrowDiv {
    color: #ccc;
    font-size: 16px;
}

/* Mobile Layout */
.seikaHomepage__mobileCardsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.seikaHomepage__mobileCardItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 25px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.seikaHomepage__mobileCardItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #333;
}

.seikaHomepage__mobileIconDiv {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 24px;
}

.seikaHomepage__mobileCardLabel {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.seikaHomepage__mobileCardArrow {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ccc;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seikaHomepage__topBreadcrumbNav {
        display: none;
    }
    
    .seikaHomepage__heroSectionWrapper {
        height: 180px;
    }
    
    .seikaHomepage__mainTitleHeading {
        font-size: 22px;
    }
    
    .seikaHomepage__desktopSearchLayout {
        display: none;
    }
    
    .seikaHomepage__mobileSearchLayout {
        display: block;
    }
    
    .seikaHomepage__searchMainSection {
        padding: 5px;
    }
    
    .seikaHomepage__breadcrumbLinksWrapper {
        gap: 15px;
        padding: 8px 0;
    }
    
    .seikaHomepage__breadcrumbNavLink {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .seikaHomepage__propertyCountSection {
        font-size: 14px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .seikaHomepage__mainTitleHeading {
        font-size: 18px;
    }
    
    .seikaHomepage__mobileCardsGrid {
        gap: 12px;
    }
    
    .seikaHomepage__mobileCardItem {
        padding: 20px 10px;
    }
    
    .seikaHomepage__mobileIconDiv {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .seikaHomepage__mobileCardLabel {
        font-size: 13px;
    }
    
    .seikaHomepage__propertyCountSection {
        font-size: 13px;
        padding: 10px 15px;
    }
}

@media (min-width: 1200px) {
    .seikaHomepage__heroSectionWrapper {
        height: 250px;
    }
    
    .seikaHomepage__mainTitleHeading {
        font-size: 32px;
    }
}