:root {
    /* Colors */
    --color-primary: #0a192f;
    /* Navy Blue */
    --color-primary-light: #1a365d;
    --color-secondary: #f4f5f7;
    /* Light Gray */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-accent: #e6f1ff;
    /* Very light blue for subtle highlights */
    --color-cta: #d97706;
    /* Warm Amber/Orange for contrast */
    --color-cta-hover: #b45309;

    /* Typography */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.highlight {
    background: linear-gradient(to right, rgba(255, 191, 71, 0) 0%, rgba(255, 191, 71, 1) 50%, rgba(255, 191, 71, 0) 100%);
    background-size: 100% 5px;
    background-position: left bottom 5px;
    background-repeat: no-repeat;
    padding: 0 4px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

.btn--orange {
    background-color: var(--color-cta);
    color: var(--color-white);
    border: 2px solid var(--color-cta);
}

.btn--orange:hover {
    background-color: var(--color-cta-hover);
    border-color: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn--sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.header__logo {
    z-index: 1001;
}

.header__logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header__logo img {
    height: 64px;
    width: auto;
}

.header__logo-text {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.header__nav ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header__nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.header__nav .btn {
    color: var(--color-white);
}

/* Hamburger Menu */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.header__hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    /* Fallback */
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    /* Navy overlay */
    z-index: -1;
}

.hero__content {
    max-width: 800px;
    padding: 0 var(--spacing-sm);
    animation: fadeUp 1s ease-out forwards;
}

.hero__catch {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.hero__sub {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header__hamburger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .header__nav.is-active {
        transform: translateX(0);
    }

    .header__nav ul {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .header__nav a {
        font-size: 1.2rem;
    }

    .hero__catch {
        font-size: 2rem;
        margin-top: var(--header-height);
    }

    .hero__actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .btn--lg {
        width: 100%;
    }

    h2 br,
    .hero__sub br,
    .insights__lead br {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-bottom: var(--spacing-xl);
    }

    .hero__content {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }
}

/* Section Common */
.section {
    padding: var(--spacing-xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.section__subtitle {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-primary-light);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* Vision Section */
.section--vision {
    background-color: var(--color-white);
}

.vision__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.vision__item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-secondary);
    border-radius: 8px;
    transition: transform 0.3s;
}

.vision__item:hover {
    transform: translateY(-5px);
}

.vision__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vision__item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.vision__comments {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.comment-card {
    background: var(--color-white);
    border: 1px solid #eee;
    padding: var(--spacing-sm);
    border-radius: 12px;
    display: flex;
    gap: var(--spacing-sm);
    width: 350px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comment-card__avatar {
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-card__text p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Problems Section */
.section--problems {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section__header--light .section__title,
.section__header--light .section__subtitle {
    color: var(--color-white);
}

.problems__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.problem-bubble {
    background: var(--color-white);
    color: var(--color-primary);
    padding: var(--spacing-md);
    border-radius: 20px 20px 20px 0;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    width: calc(50% - var(--spacing-md));
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.problem-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Insights Section */
.section--insights {
    background-color: var(--color-secondary);
}

.insights__lead {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.insights__comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.comparison-box {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.comparison-box--bad {
    border-top: 4px solid #999;
}

.comparison-box--good {
    border-top: 4px solid var(--color-cta);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.comparison-box h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.comparison-box ul {
    margin-bottom: var(--spacing-md);
    padding-left: 1.5rem;
}

.comparison-box li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.comparison-status {
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    padding: var(--spacing-sm);
    background: #f9f9f9;
    border-radius: 4px;
}

.comparison-box--good .comparison-status {
    background: #fff5e6;
    color: var(--color-cta);
}

.comparison-arrow {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary-light);
    padding: var(--spacing-sm);
    background: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Solution Section */
.section--solution {
    background-color: var(--color-white);
}

.solution__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.solution__card {
    border: 1px solid #eee;
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: all 0.3s;
}

.solution__card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.1);
}

.solution__card h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
}

.solution__flow {
    text-align: center;
    background: var(--color-secondary);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.solution__flow h3 {
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
}

.flow-steps {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 250px;
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    position: relative;
}

.step-number {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}

.flow-step h4 {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    position: relative;
    position: relative;
    z-index: 1;
}


/* Works Section */
.section--works {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.works__stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-cta);
}

.stat-unit {
    font-size: 1.5rem;
    margin-left: 5px;
    color: var(--color-white);
}

.works__showcase {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mockup-placeholder {
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Service Section */
.section--service {
    background-color: var(--color-white);
}

.service__table-wrapper {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.service__table {
    width: 100%;
    border-collapse: collapse;
}

.service__table th,
.service__table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.service__table th {
    width: 30%;
    color: var(--color-primary);
    font-weight: 700;
    background: #f9f9f9;
}

.service__cta {
    text-align: center;
}

/* Features Section */
.section--features {
    background-color: var(--color-secondary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.feature-item {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
}

.feature-num {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: var(--spacing-xs);
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

/* Contact Section */
.section--contact {
    background-color: var(--color-white);
    padding-bottom: var(--spacing-xl);
}

.contact__box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
}

.contact__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact__text {
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.contact__actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn--cta {
    background-color: var(--color-cta);
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.btn--cta:hover {
    background-color: var(--color-cta-hover);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: 50px;
}

.btn--outline-dark:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn--xl {
    min-width: 250px;
}

/* Footer */
.footer {
    background-color: #050d1a;
    color: rgba(255, 255, 255, 0.4);
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.8rem;
}