html {
    scroll-behavior: smooth;
}

:root {
    --primary: #0088CC;
    /* Vivid Cyan-Blue */
    --primary-dark: #005F8F;
    --secondary: #00D2B6;
    /* Mint Teal */
    --accent-gradient: linear-gradient(135deg, #0088CC 0%, #00D2B6 100%);
    --text-main: #2D3748;
    --text-muted: #718096;
    --bg-white: #FFFFFF;
    --bg-light: #F7FAFC;
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow-soft: 0 20px 40px rgba(0, 136, 204, 0.05);
    --shadow-hover: 0 30px 60px rgba(0, 136, 204, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.7;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 24px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 8px;
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: var(--bg-light);
    border-bottom-right-radius: 80px;
}

.hero-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 210, 182, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
}

.text-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Visual Mockup Area */
.hero-visual {
    position: relative;
    height: 500px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* Floating Cards for Visual Interest */
.visual-card {
    position: absolute;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: 25%;
    right: -20px;
    animation: float 6s ease-in-out infinite 1s;
}

.visual-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--bg-light);
    /* Base color if image fails */
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-soft);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Services */
.services {
    padding: 120px 0;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Service Categories */
.service-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-left: 20px;
    border-left: 6px solid var(--secondary);
}

.category-desc {
    margin-bottom: 40px;
    color: var(--text-muted);
    padding-left: 26px;
    max-width: 700px;
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid #F0F4F8;
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.icon-box {
    width: 56px;
    height: 56px;
    background: #E0F2FE;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-spacer {
    height: 60px;
    border-bottom: 1px dashed #E2E8F0;
    margin-bottom: 60px;
}

.services-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-card-wide {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
    transition: 0.3s;
    height: 100%;
}

.service-card-wide:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card-wide h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-weight: 800;
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 0;
    text-align: center;
    background: white;
}

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

.section-lead {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-main);
    font-weight: 600;
}

/* Plans Section */
.plans {
    padding: 100px 0;
    background: var(--bg-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.plan-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-gradient);
}

.plan-card h4 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 700;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 32px;
}

.plan-note {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.plan-features {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
    padding: 0;
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-features li .lucide {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    stroke-width: 3px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--primary-dark);
    color: white;
    text-align: center;
    margin-top: 0;
}

.contact-email {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
    font-weight: 600;
}

.contact-tel {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    background: #0f172a;
    /* Very Dark Blue */
    color: white;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.logo-mark-sm {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 6px;
    transform: rotate(45deg);
}

.company-en {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.company-address {
    font-style: normal;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 24px;
}

.company-officers p {
    color: #cbd5e1;
    margin-bottom: 4px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
    font-size: 0.8rem;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #64748b;
}

.legal-links a:hover {
    color: white;
}

/* Stats (Deprecated but kept for compatibility) */
.stats {
    display: none;
}

@media (max-width: 768px) {

    /* Header Adjustments */
    .header-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .logo-text {
        font-size: 0.9rem;
        /* Shrink logo text on mobile */
    }

    .nav {
        display: none;
        /* Hide standard nav on mobile to free up space */
    }

    /* Hero Section Adjustments */
    .hero {
        padding: 140px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        /* Stack columns vertically */
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
        height: 400px;
    }

    .visual-circle {
        width: 250px;
        height: 250px;
    }

    .services-grid,
    .services-grid-2col,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .contact-tel {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}