:root {
    --color-main: #0A2342;
    /* Dark Navy - Trust, Intellect */
    --color-accent: #007BFF;
    /* Bright Blue - Innovation */
    --color-accent-hover: #0056b3;
    --color-bg-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #6c757d;

    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Roboto', sans-serif;

    --header-height: 80px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.fade-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s, transform 1s;
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(10, 35, 66, 0.05);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

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

.nav-list a {
    font-weight: 500;
    color: var(--color-main);
    font-size: 0.95rem;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
}

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

.nav-list a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    padding-top: 100px;
    transition: 0.4s ease;
    z-index: 999;
}

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

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-menu a {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-main);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    text-align: center;
    margin-top: -var(--header-height);
    /* Reset for fixed header */
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.9), rgba(0, 123, 255, 0.4));
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-cta:hover {
    background: var(--color-white);
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-main);
    font-weight: 700;
}

/* About Section */
.about-section {
    background: var(--color-white);
}

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

.about-lead-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-main);
}

.about-text {
    margin-bottom: 60px;
    line-height: 2;
    text-align: justify;
}

.company-info-wrapper {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e1e4e8;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #e1e4e8;
    padding: 15px 0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row dt {
    width: 30%;
    font-weight: 700;
    color: var(--color-main);
}

.info-row dd {
    width: 70%;
}

/* Services Section */
.services-section {
    background: var(--color-bg-light);
}

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

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.service-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
    display: inline-flex;
    padding: 15px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
}

.service-name {
    font-size: 1.25rem;
    color: var(--color-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Access Section */
.access-section {
    background: var(--color-white);
}

.access-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.access-info {
    flex: 1;
}

.access-company {
    font-size: 2rem;
    color: var(--color-main);
    margin-bottom: 10px;
}

.access-catch {
    color: var(--color-accent);
    margin-bottom: 30px;
    font-weight: 700;
}

.access-address {
    font-size: 1.1rem;
    line-height: 1.8;
}

.access-map {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.access-map iframe {
    width: 100%;
    height: 350px;
}

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

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

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-en);
}

.footer-address {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-email a {
    color: var(--color-white);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-main);
        position: absolute;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 11px;
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .access-content {
        flex-direction: column;
    }

    .access-map iframe {
        height: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}