@charset "UTF-8";

/* =========================================
   Works Detail Page Styles (Corrected)
   ========================================= */

/* -----------------------------------------
   1. Hero Section (Full Width)
----------------------------------------- */
.wd-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    margin-top: -80px;
    /* Behind Header */
    padding-top: 80px;
}

.wd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* For parallax */
    z-index: 0;
}

.wd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.wd-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.wd-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
}

.wd-tags {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.wd-tags span {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.wd-title {
    font-family: var(--font-en-head);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.wd-client {
    font-size: 1rem;
    opacity: 0.8;
    font-family: var(--font-en-head);
    letter-spacing: 0.1em;
}

/* -----------------------------------------
   2. Intro Section
----------------------------------------- */
.wd-section {
    padding: 120px 0;
}

.wd-intro {
    background: #fff;
}

.wd-intro-layout {
    display: flex;
    gap: 80px;
}

.wd-intro-head {
    width: 300px;
    flex-shrink: 0;
}

.wd-intro-body {
    flex: 1;
}

.wd-heading-en {
    font-family: var(--font-en-head);
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    display: block;
}

.wd-heading-jp {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
}

.wd-intro-body p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
}

/* Spec Grid */
.wd-spec-grid {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 5px;
    font-family: var(--font-en-head);
}

.spec-item .val {
    font-size: 1rem;
    font-weight: bold;
}

/* -----------------------------------------
   3. Visual Section
----------------------------------------- */
.wd-visual-section {
    padding-bottom: 120px;
}

.wd-visual-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.wd-visual-box img {
    width: 100%;
    display: block;
}

.wd-floating-caption {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.wd-floating-caption p {
    font-family: var(--font-en-head);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.wd-floating-caption span {
    font-size: 0.85rem;
    color: #666;
}

/* -----------------------------------------
   4. Process Section (Zigzag)
----------------------------------------- */
.wd-process {
    background: #f9f9f9;
}

.wd-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.wd-row:last-child {
    margin-bottom: 0;
}

.wd-row.reverse {
    flex-direction: row-reverse;
}

.wd-col-text {
    flex: 1;
}

.wd-col-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wd-step {
    font-family: var(--font-en-head);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
    font-weight: bold;
}

.wd-row-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 25px;
}

.wd-col-text p {
    line-height: 1.9;
    color: #666;
}

/* -----------------------------------------
   5. Result / Features Section
----------------------------------------- */
.wd-result-bg {
    background: #111;
    color: #fff;
    padding: 120px 0;
}

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

.wd-center-head h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.wd-center-head p {
    color: #999;
}

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

.wd-f-card {
    background: #222;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.wd-f-card:hover {
    transform: translateY(-10px);
    background: #2a2a2a;
}

.wd-f-num {
    font-family: var(--font-en-head);
    font-size: 3rem;
    color: #444;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.wd-f-card h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.wd-f-card p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.8;
}

/* -----------------------------------------
   6. Next Navigation (Full Width)
----------------------------------------- */
.wd-next-nav {
    display: block;
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.wd-next-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    color: #fff;
    text-decoration: none;
}

.wd-next-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.wd-next-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: background 0.3s;
}

.wd-next-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.wd-next-sub {
    display: block;
    font-family: var(--font-en-head);
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.wd-next-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.wd-next-arrow {
    font-size: 2rem;
    transition: transform 0.3s;
}

/* Hover Effect */
.wd-next-link:hover .wd-next-img {
    transform: scale(1.05);
}

.wd-next-link:hover .wd-next-mask {
    background: rgba(0, 0, 0, 0.4);
}

.wd-next-link:hover .wd-next-arrow {
    transform: translateX(10px);
}

/* -----------------------------------------
   7. Animation
----------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.2, 1, 0.3, 1);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -----------------------------------------
   8. Why We Were Chosen Section
----------------------------------------- */
.wd-reasons {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
}

.wd-reasons .wd-center-head h2 {
    color: #1a1a2e;
}

.wd-reasons .wd-center-head p {
    color: #555;
}

.wd-reasons-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.wd-reason-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.wd-reason-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.wd-reason-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #4facfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.wd-reason-content h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.wd-reason-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* -----------------------------------------
   9. Impact & Results Section
----------------------------------------- */
.wd-impact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.wd-impact .wd-center-head h2 {
    color: #fff;
}

.wd-impact .wd-center-head p {
    color: rgba(255, 255, 255, 0.8);
}

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

.wd-impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.wd-impact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.wd-impact-value {
    font-family: var(--font-en-head);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wd-impact-label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.wd-impact-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* -----------------------------------------
   10. Client Testimonial Section
----------------------------------------- */
.wd-testimonial {
    background: #fff;
}

.wd-testimonial .wd-center-head h2 {
    color: #1a1a2e;
}

.wd-testimonial .wd-center-head p {
    color: #555;
}

.wd-testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.wd-testimonial-quote {
    position: absolute;
    top: 30px;
    left: 40px;
    color: var(--accent-color);
    font-size: 3rem;
    opacity: 0.3;
}

.wd-testimonial-text {
    font-size: 1.2rem;
    line-height: 2;
    color: #444;
    margin: 0 0 40px 0;
    padding: 0;
    border: none;
    font-style: italic;
    text-align: center;
}

.wd-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.wd-testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.wd-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wd-testimonial-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wd-testimonial-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a1a2e;
}

.wd-testimonial-position {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

/* -----------------------------------------
   11. Future Outlook Section
----------------------------------------- */
.wd-outlook {
    background: #1a1a2e;
    color: #fff;
}

.wd-outlook .wd-center-head h2 {
    color: #fff;
}

.wd-outlook .wd-center-head p {
    color: rgba(255, 255, 255, 0.7);
}

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

.wd-outlook-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}

.wd-outlook-desc {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* -----------------------------------------
   12. Responsive
----------------------------------------- */
@media (max-width: 900px) {
    .wd-title {
        font-size: 2.5rem;
    }

    .wd-intro-layout {
        flex-direction: column;
        gap: 30px;
    }

    .wd-intro-head {
        width: 100%;
        text-align: center;
    }

    .wd-spec-grid {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .wd-row {
        flex-direction: column;
        gap: 40px;
    }

    .wd-row.reverse {
        flex-direction: column;
    }

    .wd-feature-grid {
        grid-template-columns: 1fr;
    }

    .wd-next-name {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    /* Why We Were Chosen */
    .wd-reason-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .wd-reason-icon {
        margin: 0 auto 15px;
    }

    /* Impact & Results */
    .wd-impact-grid {
        grid-template-columns: 1fr;
    }

    .wd-impact-value {
        font-size: 3rem;
    }

    /* Client Testimonial */
    .wd-testimonial-card {
        padding: 40px 25px;
    }

    .wd-testimonial-quote {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .wd-testimonial-text {
        font-size: 1rem;
    }

    .wd-testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .wd-testimonial-info {
        text-align: center;
    }

    /* Future Outlook */
    .wd-outlook-title {
        font-size: 1.5rem;
    }
}