:root {
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-gray: #f9fafb;
    --white: #ffffff;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn--primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn--outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--primary-color);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50% 0 50% 50%;
    margin-right: 8px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__item a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav__item a:not(.btn):hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero__content {
    flex: 1;
    max-width: 600px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.hero__subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.5;
}

.hero__description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.visual__shape {
    width: 500px;
    height: 500px;
    background: conic-gradient(from 180deg at 50% 50%, #2563eb 0deg, #60a5fa 180deg, #2563eb 360deg);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 10s ease-in-out infinite;
    filter: blur(40px);
    opacity: 0.8;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg);
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 50% 50% 50%;
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(360deg);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section--gray {
    background-color: var(--bg-gray);
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

/* Problem/Intro Grid */
.problem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem__card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.problem__card:hover {
    transform: translateY(-5px);
}

.problem__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem__heading {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.problem__text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Service Approaches */
.approaches__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.approach__card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.approach__image {
    height: 200px;
    background-color: #eee;
    /* Placeholder gradients */
}

.approach__image--2d {
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}

.approach__image--3d {
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.approach__content {
    padding: 30px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge--blue {
    background: #e0f2fe;
    color: #0284c7;
}

.badge--purple {
    background: #f3e8ff;
    color: #9333ea;
}

.approach__details h4 {
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.check-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Works */
.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work__item {
    cursor: pointer;
    transition: transform 0.3s;
}

.work__item:hover {
    transform: translateY(-5px);
}

.work__image {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #eee;
    border-radius: 15px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    background: linear-gradient(45deg, #f3f4f6 25%, #e5e7eb 25%, #e5e7eb 50%, #f3f4f6 50%, #f3f4f6 75%, #e5e7eb 75%, #e5e7eb 100%);
    background-size: 20px 20px;
}

.work__title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.work__category {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Workflow */
.workflow__steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 15px;
}

.step {
    flex: 0 0 140px;
    /* Fixed width for steps to ensure alignment */
    text-align: center;
}

.step__circle {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2);
}

.step__line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-top: 30px;
    margin-left: -20px;
    margin-right: -20px;
    min-width: 20px;
}

.step__title {
    font-size: 1rem;
    margin-bottom: 8px;
    min-height: 2.4em;
    /* Ensure uniform height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Customer Voice */
.voice__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    /* Space for scrollbar if visible */
    -webkit-overflow-scrolling: touch;
}

.voice__card {
    flex: 0 0 320px;
    /* Fixed width for items */
    scroll-snap-align: start;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.voice__profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.voice__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e5e7eb;
    background-image: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.voice__name {
    font-size: 1rem;
    margin-bottom: 2px;
}

.voice__role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.voice__text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    font-style: italic;
}

/* Pricing */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing__card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s;
}

.pricing__card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.pricing__card--featured {
    padding: 50px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid var(--primary-color);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing__name {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.pricing__price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.pricing__unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing__features {
    margin-bottom: 30px;
    min-height: 80px;
}

.pricing__features p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.pricing__note {
    font-size: 0.8rem;
}

/* FAQ */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq__answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq__answer p {
    padding-bottom: 20px;
    color: var(--text-light);
}

.faq__item.active .faq__answer {
    max-height: 200px;
    /* logic handled in JS */
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: #1f2937;
    color: var(--white);
    padding: 80px 0 30px;
    text-align: center;
}

.footer__contact {
    margin-bottom: 50px;
}

.footer__contact h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer__contact p {
    margin-bottom: 30px;
    color: #9ca3af;
}

.footer__links {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.copyright {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        /* simple stack for now or hamburger */
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

    .hero__content {
        margin-bottom: 50px;
    }

    .workflow__steps {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 20px;
    }

    .step {
        flex: 0 0 120px;
    }

    .step__line {
        /* hide lines in mobile or adjust */
        display: none;
    }
}