:root {
    --primary-color: #0044CC;
    --primary-dark: #002D8C;
    --primary-light: #3371FF;
    --accent-color: #FFCC00;
    --accent-soft: rgba(255, 204, 0, 0.1);
    --text-color: #1A1A1A;
    --text-muted: #666666;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-bold: 0 20px 40px -10px rgba(0, 68, 204, 0.1);
    --font-main: 'Noto Sans JP', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Decorations */
.bg-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    background-color: var(--glass);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    /* Increased to accommodate larger logo */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
    gap: 12px;
}

.logo img,
.logo svg {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo .logo-name {
    height: 120px;
    /* 3x original 40px */
    margin: 0 -20px;
    /* Shave off perceived whitespace from the image */
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-primary-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 68, 204, 0.2);
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 68, 204, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 220px;
    /* Header 120px + gap */
    padding-bottom: 150px;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #000;
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-tagline::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--white);
}

.hero-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Hero Graphic (CSS-based) */
.hero-graphic {
    position: absolute;
    right: -100px;
    top: 15vh;
    width: 600px;
    height: 600px;
    z-index: -1;
    opacity: 0.4;
}

.circle-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 500px;
    height: 500px;
    animation: rotate 30s linear infinite;
}

.orbit-2 {
    width: 400px;
    height: 400px;
    animation: rotate 20s linear infinite reverse;
}

.orbit-3 {
    width: 300px;
    height: 300px;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Sections */
.section {
    padding: 140px 0;
    position: relative;
}

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

.section-label {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
}

/* Strengths Section (Creative Layout) */
.strength-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.strength-item:nth-child(even) {
    flex-direction: row-reverse;
}

.strength-visual {
    flex: 1;
    height: 450px;
    background: var(--light-bg);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-bold);
}

.strength-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), transparent);
    opacity: 0.3;
}

.strength-content {
    flex: 1;
}

.strength-num {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 68, 204, 0.05);
    line-height: 1;
    margin-bottom: -25px;
    display: block;
}

.strength-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 120px;
    height: 120px;
    background: #FFFBE6;
    /* Light yellow circle as per reference image */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--accent-color);
    /* Match reference orange/yellow text */
}

/* Profile Table */
.profile-section {
    background: var(--light-bg);
    border-radius: 40px;
    padding: 80px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-table th {
    text-align: left;
    padding: 32px 0;
    width: 240px;
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
}

.profile-table td {
    padding: 32px 0;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-container {
    background: var(--primary-dark);
    border-radius: 40px;
    padding: 80px;
    color: var(--white);
    display: flex;
    gap: 80px;
    position: relative;
    overflow: hidden;
}

.contact-container::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.1;
    bottom: -100px;
    right: -100px;
}

.contact-info-side {
    flex: 1;
    z-index: 1;
}

.contact-info-side h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-form-side {
    flex: 1;
    z-index: 1;
}

.glass-input {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: inherit;
    transition: var(--transition);
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px);
}

/* Other Page Hero */
.hero-small {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 200px 0 80px;
    /* PC: 120px header + 80px gap */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-small h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Map */
.map-container {
    width: 100%;
    height: 450px;
    background-color: #eee;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
}

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

.copy {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        height: 100px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 90px;
        /* Increased from 60px */
    }

    .logo .logo-name {
        height: 90px;
        /* Increased from 50px */
        margin: 0 -10px;
    }

    .logo img:first-child {
        height: 40px !important;
        /* Increased from 25px */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--primary-color);
    }

    .hero {
        padding-top: 130px;
        /* Mobile: 90px header + 40px gap */
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .section {
        padding: 50px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .strength-item {
        margin-bottom: 40px;
        gap: 20px;
    }

    .strength-visual {
        height: 200px;
    }

    .strength-num {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 5px;
    }

    .service-card {
        padding: 20px 10px;
        border-radius: 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Improved Vertical Contact Section */
    .contact-container {
        padding: 60px 24px;
        gap: 40px;
        flex-direction: column;
    }

    .contact-info-side {
        text-align: center;
    }

    .contact-icon-box {
        margin: 0 auto 20px !important;
        width: 80px !important;
    }

    .contact-info-side h2 {
        font-size: 2.2rem;
        /* Restored size */
        margin-bottom: 16px;
    }

    .contact-info-side p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .glass-input {
        padding: 16px 20px;
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .btn-primary {
        padding: 18px 40px;
        font-size: 1.1rem;
    }

    .hero-small {
        padding: 130px 0 60px;
        /* Mobile: 90px header + 40px gap */
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
    }
}