/* ==========================================
   Reset & Base Styles
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy-dark: #0a1628;
    --navy-primary: #1a2332;
    --navy-medium: #2a3f5f;
    --navy-light: #3d5a80;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --text-dark: #1a1a1a;
    --text-gray: #6c757d;
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Header
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--gold);
}

.btn-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--navy-dark) !important;
    font-weight: 600;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--navy-primary);
    z-index: 2000;
    padding: 80px 40px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--gold);
    padding-left: 10px;
}

/* ==========================================
   Hero Section
========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23d4af37" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-lead {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-primary i {
    font-size: 24px;
}

/* ==========================================
   Section Styles
========================================== */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 42px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
}

/* ==========================================
   About Section
========================================== */
.about {
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--navy-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-description strong {
    color: var(--navy-dark);
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: 50%;
    font-size: 32px;
    color: var(--gold);
}

.about-feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.about-feature-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================
   Services Section
========================================== */
.services {
    background: var(--white);
}

.services-wrapper {
    position: relative;
    margin: 0 -20px;
    padding: 20px 0;
    overflow: hidden;
}

.services-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0 20px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--gray-light);
    touch-action: pan-x;
}

.services-grid::-webkit-scrollbar {
    height: 8px;
}

.services-grid::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    min-width: 280px;
    max-width: 280px;
    height: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-x;
    will-change: transform;
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
        border-color: var(--gold);
    }
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: 12px;
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 25px;
    flex-shrink: 0;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-shrink: 0;
}

.service-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    flex-grow: 1;
}

/* ==========================================
   Features Section
========================================== */
.features {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    color: var(--white);
}

.features .section-title {
    color: var(--white);
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-bottom: 70px;
}

.feature-main {
    background: rgba(255, 255, 255, 0.05);
    padding: 45px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.feature-main:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.feature-main-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border-radius: 12px;
    font-size: 32px;
    color: var(--navy-dark);
    margin-bottom: 25px;
}

.feature-main h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--gold);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.feature-list i {
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.feature-item-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border-radius: 50%;
    font-size: 26px;
    color: var(--navy-dark);
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gold);
}

.feature-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ==========================================
   Mid CTA Section
========================================== */
.mid-cta {
    background: var(--white) !important;
    padding: 80px 0 !important;
}

.mid-cta-content {
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 50px rgba(10, 22, 40, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.mid-cta-content::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.mid-cta-content > * {
    position: relative !important;
    z-index: 1 !important;
}

.mid-cta-title {
    font-family: var(--font-accent) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
}

.mid-cta-description {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 35px !important;
    line-height: 1.8 !important;
}

.btn-mid-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: var(--navy-dark) !important;
    padding: 18px 45px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: var(--transition) !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4) !important;
    border: none !important;
}

.btn-mid-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6) !important;
    color: var(--navy-dark) !important;
}

.btn-mid-cta i {
    font-size: 20px !important;
}

.sp-only {
    display: none !important;
}

/* ==========================================
   Target Section
========================================== */
.target {
    background: var(--gray-light);
}

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

.target-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--gold);
}

.target-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: 50%;
    font-size: 32px;
    color: var(--gold);
}

.target-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 18px;
    line-height: 1.4;
}

.target-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==========================================
   CTA Section
========================================== */
.cta {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-accent);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    line-height: 1.8;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    padding: 22px 55px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.6);
}

.btn-cta i {
    font-size: 28px;
}

/* ==========================================
   Footer
========================================== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ==========================================
   Animations
========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Design
========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-content,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card {
        min-width: 260px;
        max-width: 260px;
        height: 400px;
    }
    
    .target-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mid-cta {
        padding: 60px 0;
    }
    
    .mid-cta-content {
        padding: 45px 30px;
    }
    
    .mid-cta-title {
        font-size: 26px;
    }
    
    .mid-cta-description {
        font-size: 15px;
    }
    
    .btn-mid-cta {
        padding: 16px 40px;
        font-size: 16px;
    }
    
    .sp-only {
        display: inline;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-lead {
        font-size: 18px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .btn-cta {
        font-size: 18px;
        padding: 18px 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .service-card {
        min-width: 240px;
        max-width: 240px;
        height: 380px;
        padding: 30px 25px;
    }
    
    .mid-cta-content {
        padding: 40px 25px;
        border-radius: 15px;
    }
    
    .mid-cta-title {
        font-size: 22px;
    }
    
    .mid-cta-description {
        font-size: 14px;
    }
    
    .btn-mid-cta {
        padding: 15px 35px;
        font-size: 15px;
    }
    
    .target-card {
        padding: 35px 25px;
    }
    
    .feature-main {
        padding: 35px 25px;
    }
}