/* =====================================================
   Visa Page - Modern & Premium Design (City Landing Style)
   ===================================================== */

:root {
    --primary-color: #1962EB;
    --secondary-color: #ffc11c;
    --text-dark: #0f294d;
    --text-gray: #666;
    --text-light: #888;
    --border-color: #e1e8f5;
    --bg-light: #f8fbff;
    --price-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Hero Section - Matching City Landing Hero */
.visa-hero-minimal {
    position: relative;
    background: linear-gradient(135deg, rgba(25, 98, 235, 0.8) 0%, rgba(15, 41, 77, 0.9) 100%),
        url('../img/visa/kv_visa01.jpg');
    background-size: cover;
    background-position: center top;
    color: white;
    padding: 0 0 100px 0;
    /* Removed side padding to let nav span 100% */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Nav snaps to top */
}

/* Add margin to hero content to separate it from nav */
.visa-hero-minimal .hero-content-wrapper {
    margin-top: 50px;
    z-index: 2;
    padding: 0 24px;
    /* Move padding here */
}

.visa-hero-minimal h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.visa-hero-minimal p {
    font-size: 20px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

/* Main Container */
.visa-main-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Alert Box - Clean & Modern */
.visa-alert-box {
    background: #fffcf2;
    border: 1px solid #ffeeba;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
}

.visa-alert-box h3 {
    color: #856404;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.visa-notice-content {
    font-size: 15px;
    line-height: 1.8;
    color: #856404;
}

.visa-notice-red {
    margin-top: 20px;
    color: #d9534f;
    /* Re-using a refined red style */
    font-weight: 500;
}

.visa-notice-red p {
    margin-bottom: 4px;
}

/* �亮・・Regional Navigation Grid */
.visa-regions-nav {
    margin-bottom: 60px;
}

.section-title,
.visa-region-block {
    scroll-margin-top: 110px;
    /* Unified desktop offset */
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 笞｡ Global Sticky Tab Bar */
.region-tab-bar.global-tab-bar {
    position: fixed;
    top: 0;
    /* Remove gap, stick to the very top */
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.region-tab-bar.global-tab-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.tab-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.tab-inner::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

.tab-item:hover,
.tab-item.active {
    color: var(--primary-color);
    opacity: 1;
    text-decoration: none;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

/* ===== Mobile Strategy: Matrix Grid (No Scroll) ===== */
@media screen and (max-width: 768px) {
    .region-tab-bar.global-tab-bar {
        padding: 0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .tab-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        width: 100%;
        overflow: hidden;
    }

    .tab-item {
        padding: 5px 5px;
        font-size: 13px;
        font-weight: 700;
        justify-content: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-right: 1px solid rgba(0, 0, 0, 0.05);
        opacity: 0.8;
        height: 50px;
        /* Increased height for better matrix look */
    }

    .tab-item:nth-child(3n) {
        border-right: none;
    }

    .tab-item.active {
        background: #f0f7ff;
        color: var(--primary-color);
        opacity: 1;
    }

    .tab-item.active::after {
        display: none;
    }

    /* Fix jump offset for 2-row nav */
    .section-title,
    .visa-region-block {
        scroll-margin-top: 150px;
        /* Increased to cover 100px nav + 50px buffer */
    }
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Changed from 4 to 3 for 6 items */
    gap: 30px;
    /* Slightly larger gap for more elegance */
}

.region-nav-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.region-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.region-img {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background-color: #eee;
}

.region-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.region-nav-card:hover .region-img img {
    transform: scale(1.1);
}

.region-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.region-overlay span {
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 26px;
        /* Responsive font size */
        padding-bottom: 12px;
        margin-bottom: 30px;
    }

    .region-overlay span {
        font-size: 14px;
    }
}

/* Simplified Professional Notice Section */
.visa-notice-flat {
    margin-top: 60px;
    /* Reduced for a tighter layout */
    margin-bottom: 60px;
}

.notice-grid-flat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.notice-card-flat {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.notice-card-flat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.nc-text h5 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.nc-text p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 笶・FAQ Section (Premium Accordion Redesign) */
.visa-faq-section {
    margin-top: 60px;
    /* Reduced from 100px */
    margin-bottom: 80px;
    /* Reduced from 120px */
}

.faq-container {
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #f0f2f5;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 56, 117, 0.05);
}

.faq-trigger {
    padding: 18px 28px;
    /* Reduced from 24px 32px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-q-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-label-q {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

.faq-trigger h4 {
    margin: 0;
    font-size: 17px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.5;
}

.faq-icon-toggle {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-light);
    flex-shrink: 0;
}

.faq-item.open .faq-icon-toggle {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfdfe;
}

.faq-item.open .faq-content {
    max-height: 500px;
    opacity: 1;
    border-top: 1px solid #f0f2f5;
}

.faq-inner {
    padding: 20px 28px 28px 64px;
    /* Slightly tighter internal content */
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
}

.faq-inner p {
    margin: 0;
}

/* �耳 Custom SVG Icons */
.n-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    margin-top: 5px;
    /* Shifting icons down for perfect alignment with headings */
}

.icon-shield {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z'/%3E%3C/svg%3E");
}

.icon-refund {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.97 0-1.82 1.28-3.26 3.11-3.66V3h2.67v1.9c1.44.3 2.56 1.2 2.76 2.87h-1.89c-.19-.85-.81-1.42-2.31-1.42-1.77 0-2.38.84-2.38 1.43 0 .73.57 1.34 3 1.9 2.97.7 3.82 2.1 3.82 3.61.01 2.22-1.5 3.4-3.41 3.8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.97 0-1.82 1.28-3.26 3.11-3.66V3h2.67v1.9c1.44.3 2.56 1.2 2.76 2.87h-1.89c-.19-.85-.81-1.42-2.31-1.42-1.77 0-2.38.84-2.38 1.43 0 .73.57 1.34 3 1.9 2.97.7 3.82 2.1 3.82 3.61.01 2.22-1.5 3.4-3.41 3.8z'/%3E%3C/svg%3E");
}

.icon-alert {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.icon-calendar {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
}

.icon-clock {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.icon-fast {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3l-2 5h3l-2 5h3L10 21l2-5h-3l2-5h-3L13 3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3l-2 5h3l-2 5h3L10 21l2-5h-3l2-5h-3L13 3z'/%3E%3C/svg%3E");
}

.icon-file {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E");
}

.icon-ship {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8h-3V4H1v13h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm12-7h2.1l1.8 2.4V15h-3.9v-4zM18 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8h-3V4H1v13h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm12-7h2.1l1.8 2.4V15h-3.9v-4zM18 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
    .notice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .notice-content-card {
        padding: 24px;
    }

    .notice-grid-flat {
        grid-template-columns: repeat(1, 1fr);
    }
}

.region-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 16px;
    margin-top: 60px;
    /* Reduced from 100px */
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    scroll-margin-top: 120px;
}

.region-header h2 {
    font-size: 28px;
    /* Unified smaller font size */
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.update-date {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Table Design - Premium & Rounded */
.table-responsive {
    background: white;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.visa-full-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    /* Allows content-based sizing but with constraints below */
}

.visa-full-table th {
    background: #f8fbff;
    color: var(--text-dark);
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
    /* Headers should not wrap */
}

.visa-full-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: var(--text-gray);
    vertical-align: middle;
    line-height: 1.5;
}

/* Column specific optimizations */
.visa-full-table th:nth-child(1),
.visa-full-table td:nth-child(1) {
    width: 100px;
    white-space: nowrap;
    /* No wrap for "荳ｭ蝗ｽ", "髻灘嵜" etc. */
    color: var(--text-dark);
    font-weight: 500;
}

.visa-full-table th:nth-child(3),
.visa-full-table td:nth-child(3) {
    width: 120px;
    white-space: nowrap;
    /* No wrap for prices */
}

.visa-full-table th:nth-child(4),
.visa-full-table td:nth-child(4) {
    width: 200px;
    white-space: nowrap;
    /* Prevent wrapping processing periods if possible */
}

.visa-full-table tr:last-child td {
    border-bottom: none;
}

.visa-full-table tr:hover {
    background-color: #fcfdfe;
}

.v-price {
    font-size: 18px;
    font-weight: 700;
    background: var(--price-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Notes Section - Cards like Features */
.notes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.lang-note-card {
    padding: 32px;
    border-radius: 12px;
    background: #f0f7ff;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.lang-note-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.lang-note-card h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.lang-note-card ul {
    padding-left: 20px;
}

.lang-note-card li {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

/* Links Grid - Modern Badges */
.visa-links-section {
    background: #f8f9fa;
    margin: 0 -24px;
    padding: 80px 24px;
}

/* �淘 Visa Resource Hub (Grouped Links) */
.visa-resources-hub {
    margin-bottom: 80px;
}

.resource-category {
    margin-bottom: 60px;
}

.category-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}


/* Entry/Exit Documents Special Style */
.entry-exit-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px dashed var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: var(--transition);
}

.entry-exit-card:hover {
    box-shadow: 0 15px 35px rgba(0, 56, 117, 0.08);
}

.ee-logo-link {
    flex-shrink: 0;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.ee-content h4 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.ee-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Regional Logo Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.link-card {
    background: white;
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.link-card img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}


.link-card span {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.link-card:hover span {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .entry-exit-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .table-responsive {
        border: none;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* �検 Static CTA Section (The Landing Spot) */
/* Static CTA Section (The Landing Spot) */
.static-cta-section {}

.static-cta-section .cta-container {
    padding: 40px;
    border: 1px solid #edf2f7;
}

@media (max-width: 768px) {
    .static-cta-section {}

    .static-cta-section .cta-container {
        padding: 30px 20px;
    }
}

/* �検 Floating CTA - Premium Consultation Bar */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 24px;
    box-shadow: 0 -10px 30px rgba(0, 56, 117, 0.1);
    border-top: 1px solid rgba(25, 98, 237, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fixed-cta.active {
    transform: translateY(0);
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text strong {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cta-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.cta-btn-main {
    background: var(--secondary-color);
    color: #222;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    /* Modern rounded style */
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 193, 28, 0.3);
}

.cta-btn-main:hover {
    background: #f5b50a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 28, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .notes-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .visa-hero-minimal {
        padding: 0 0 60px 0;
        /* Fully clear lateral padding */
        height: auto;
        /* Allow auto height on mobile */
        min-height: 250px;
    }

    .visa-hero-minimal .hero-content-wrapper {
        padding: 0 20px;
        /* Keep text indented */
    }

    .visa-hero-minimal h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .visa-hero-minimal p {
        font-size: 15px;
    }

    .visa-main-wrap {
        padding: 24px 15px;
        width: 100%;
        overflow-x: hidden;
    }

    .visa-alert-box {
        padding: 20px;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 22px;
        margin-top: 40px;
        padding-bottom: 12px;
        margin-bottom: 24px;
    }

    .region-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
        margin-top: 40px;
        padding-bottom: 12px;
    }

    .region-header h2 {
        font-size: 22px;
    }

    .update-date {
        font-size: 11px;
        opacity: 0.8;
    }

    /* FAQ Mobile */
    .faq-trigger {
        padding: 16px;
        gap: 12px;
    }

    .faq-trigger h4 {
        font-size: 15px;
    }

    .faq-inner {
        padding: 15px 16px 20px 48px;
        /* Leave space for 'A' icon */
    }

    /* CTA Mobile Stack */
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cta-text strong {
        font-size: 16px;
    }

    .cta-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .cta-btn-main {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Table Mobile Refinement (Premium Card Style) */
    .visa-full-table th {
        display: none;
    }

    .visa-full-table tr {
        display: block;
        background: white;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border: 1px solid #eee;
        overflow: hidden;
    }

    .visa-full-table td {
        display: flex;
        width: 100% !important;
        justify-content: space-between;
        align-items: flex-start;
        padding: 12px 16px;
        border-bottom: 1px solid #f8f9fa;
        text-align: right;
        font-size: 14px;
        gap: 10px;
    }

    .visa-full-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-dark);
        -webkit-text-fill-color: var(--text-dark);
        /* Ensure label is visible */
        font-size: 12px;
        flex-shrink: 0;
        text-align: left;
        opacity: 0.6;
    }

    .visa-full-table td:last-child {
        border-bottom: none;
    }

    .v-price {
        font-size: 16px;
    }

    /* Regional Grid Mobile */
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .link-card {
        padding: 12px;
    }

    .link-card img {
        height: 28px;
        margin-bottom: 8px;
    }

    .link-card span {
        font-size: 13px;
    }

    .entry-exit-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 15px;
    }
}

/* =====================================================
   Visa Inquiry Form Styles
   ===================================================== */
.visa-inquiry-form-section {
    padding: 60px 0;
    background: #f8fbff;
}

.inquiry-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-container {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 16px;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.form-group label {
    flex: 0 0 260px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 15px;
    padding-top: 12px;
    line-height: 1.4;
}

.form-content {
    flex: 1;
    min-width: 0;
}

.form-group label.required::after {
    content: " *";
    color: #d9534f;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8f5;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 98, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 🌟 Validation Styles */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff4d4f;
    background-color: #fffbfe;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}

.error-hint {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.3s ease;
    font-weight: 500;
}

.error-hint svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* 特殊情况：个人情报处理区域和提交按钮 */
.form-group.vertical-style {
    flex-direction: column;
    gap: 12px;
}

.form-group.vertical-style label {
    flex: none;
    padding-top: 0;
    width: 100%;
    /* 强制 Label 全宽 */
}

.form-group.vertical-style .form-content {
    width: 100%;
    /* 强制内容区域全宽 */
    flex: none;
}

.form-group.center {
    justify-content: center;
    flex-direction: row !important;
}

.form-group.center label {
    flex: none;
    width: auto;
}

/* 🌟 Minimalist Privacy Box Design */
.privacy-box {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e1e8f5;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    margin-bottom: 20px;
}

/* 简约细窄滚动条 */
.privacy-box::-webkit-scrollbar {
    width: 4px;
}

.privacy-box::-webkit-scrollbar-track {
    background: transparent;
}

.privacy-box::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.privacy-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    font-family: inherit;
}

.privacy-content p {
    margin-bottom: 15px;
}

.privacy-content strong {
    display: block;
    color: #333;
    font-size: 15px;
    margin-bottom: 8px;
    margin-top: 20px;
    font-weight: 700;
}

.privacy-content p:first-child strong {
    text-align: center;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    color: #000;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.date-select-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.date-select-row select {
    width: auto !important;
    min-width: 100px;
}

.notice {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 8px;
    line-height: 1.6;
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.privacy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
    color: #666;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .form-container {
        padding: 40px 20px !important;
    }

    .form-group {
        flex-direction: column;
        gap: 8px;
    }

    .form-group label {
        flex: none;
        padding-top: 0;
    }

    .form-group.center {
        flex-direction: column !important;
    }

    .date-select-row select {
        min-width: 80px;
    }
}