/*
 * Copyright (c) 一般社団法人 所在不明株主支援機構
 */

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #ffffff;
    color: #333333;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
    border: none;
    outline: none;
}

input,
textarea {
    font-family: "Noto Sans JP", sans-serif;
}

/* ===== LAYOUT & COMPONENTS ===== */

/* HEADER */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #E5E7EB;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1140px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.header-logo {
    position: relative;
    top: 6px;
    flex-shrink: 0;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo::after {
    content: '';
    position: absolute;
    top: -1px; left: 0; width: 100%; height: 100%;
    background-image: url('../images/logo-hover.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.header-logo img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.2s;
}

.header-logo:hover img {
    opacity: 0;
}

.header-logo:hover::after {
    opacity: 1;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.15px;
    color: #0066cc;
    text-decoration: none;
    white-space: nowrap;

    &.is-active {
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 10px;
    }
}

.nav-link:hover {
    color: #00AEEB;
}

.header-action {
    flex-shrink: 0;
    margin-left: auto;
}

.header-action-mobile {
    display: none;
}

.button-secondary {
    border: 1px solid #0066cc;
    background-color: #ffffff;
    color: #0066cc;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}


.button-secondary:hover {
    color: #00AEEB;
    border-color: #00AEEB;
}

/* SP Menu Button (Hidden on PC) */
.menu-button {
    display: none;
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
}

.menu-button span {
    width: 24px;
    height: 2px;
    background-color: #000000;
    border-radius: 1px;
    transition: all 0.5s ease;
}

.menu-button.open span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}
.menu-button.open span:nth-child(2) {
    opacity: 0;
}
.menu-button.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* PAGE GAP */
.page-gap {
    height: 144px;
}
.page-toppage-gap {
    height: 80px;
}
.page-section-gap {
    height: 64px;
}
.page-section-gap2 {
    height: 56px;
}
.page-section-gap3 {
    height: 96px;
}
.page-end-gap {
    height: 24px;
}

/* MAIN CONTENT */
.content-main {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #ffffff;
}

/* BUTTONS */
.button-primary {
    background-color: #0066cc;
    color: #ffffff;
    padding: 13px 24px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
}

.button-primary:hover {
    opacity: 0.9;
}

.button-primary:active {
    opacity: 0.8;
}

/* FOOTER */
.footer {
    background-color: #E5E7EB;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-inner {
    max-width: 1040px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.footer-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #555555;
    text-decoration: underline;
    text-decoration-color: #999999;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-org {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-org-group {
    display: flex;
    gap: 1em;
}

.footer-org-name,
.footer-org-address {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #555555;
    margin: 0;
    padding: 0;
}

.footer-contact {
    display: flex;
    gap: 24px;
}

.footer-contact p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #555555;
    margin: 0;
    padding: 0;
}

.footer-email-link {
    color: #555555;
    text-decoration: underline;
}

.footer-email-link:hover {
    opacity: 0.8;
}

.footer-tel-link {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #999999;
    margin: 0;
    padding: 0;
}


/* ===== TABLET VERSION (max-width: 880px) ===== */
@media screen and (max-width: 880px) {
    .header-inner {
        gap: 30px;
        padding: 0 16px;
    }

    .nav-list {
        gap: 26px;
    }
}

/* ===== SMARTPHONE VERSION (max-width: 768px) ===== */
@media screen and (max-width: 768px) {
    body {
        padding-top: 72px; /* For fixed header */
    }
    /* HEADER */
    .header {
        position: fixed;
        height: 72px;
        transition: transform 0.3s ease;
    }

    .header.hidden {
        transform: translateY(-100%);
    }

    .header-inner {
        justify-content: space-between;
        padding: 0 16px;
        height: 72px;
    }

    .header-action {
        display: none;
    }

    .header-action-mobile {
        display: flex
    }
    
    .menu-button {
        display: flex;
    }

    #menu-close {
        position: absolute;
        top: 12px;
        right: 10px;
        z-index: 101;
    }

    .header-nav {
        position: fixed;
        left: 0;
        top: 0;
        background-color: #ffffff;
        z-index: 99;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0s linear 0.5s;

        /* Reset from PC */
        padding: 0;
        flex: none;
        border: none;
        border-radius: 0;
        max-width: none;
    }

    .header-nav.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.5s ease, visibility 0s linear 0s;
        align-items: center;
    }

    .nav-list {
        flex-direction: column;
        gap: 32px;
    }

    .nav-link {
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
        padding: 0;
        white-space: nowrap;

        &.is-active {
            text-decoration: none;
        }
    }

    .header-action-mobile .button-secondary {
        height: 50px;
        padding: 0 24px;
    }

    /* PAGE GAP */
    .page-gap {
        height: 24px;
    }
    .page-toppage-gap {
        height: 0px;
    }

    /* BUTTONS */
    .button-primary {
        letter-spacing: 0.3px;
    }

    /* FOOTER */
    .footer {
        padding: 24px 16px;
    }

    .footer-inner {
        gap: 0px;
        padding: 0px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0;
    }

    .footer-link {
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.16px;
        padding: 12px 0;
    }

    .footer-org {
        gap: 20px;
        padding: 20px 0;
    }

    .footer-org-group {
        flex-direction: column;
        gap: 0;
    }

    .footer-org-name,
    .footer-org-address {
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.16px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 20px;
    }

    .footer-contact p {
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.16px;
    }

    .footer-tel-link {
        pointer-events: auto;
        cursor: pointer;
        text-decoration: underline;
    }

    .footer-copyright {
        letter-spacing: 0.14px;
    }
}

/* ===== STATIC PAGE COMMONS ===== */
.section-container {
    width: 100%;

    .section-block {
        width: 100%;
        padding: 0 16px;

        .section-block-inner {
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-width: 1040px;
            width: 100%;
            margin: 0 auto;
            /* padding: 0 24px; */
        }
    }

    /* Pre-Footer Section */
    .pre-footer-section {
        width: 100%;

        .pre-footer-inner {
            background-color: #d9e8f7;
            border-radius: 8px;
            max-width: 1040px;
            margin: 0 auto;

            .pre-footer-content {
                padding: 48px 40px;
                display: flex;
                align-items: flex-end;
                gap: 48px;

                .pre-footer-text-area {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;
                }
                
                .pre-footer-icon {
                    max-width: 117px;
                    margin: 0 auto;
                    img {
                        width: 100%;                    
                    }
                }
            }
        }        

        .pre-footer-title {
            font-size: 28px;
            font-weight: 600;
            line-height: 1.2;
        }
        .pre-footer-text {
            font-size: 16px;
            line-height: 1.75;
        }
    }

    .section-title {
        font-weight: 600;
        color: #333333;
        margin: 0;
        padding: 0;
        font-size: 36px;
        line-height: 47px;
    }
    .section-subtitle {
        font-size: 28px;
        font-weight: 600;
        line-height: 36px;
        color: #333;
    }
    .section-description {
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
        color: #333333;
        margin: 0;
        padding: 0;

        p + p {
            margin-top: 0.4em;
        }
    }
    .description {
        font-size: 16px;
        font-weight: 400;
        line-height: 28px;
        color: #333333;
        margin: 0;
        padding: 0;

        p + p {
            margin-top: 0.4em;
        }
        a {
            color: #0066cc;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
            opacity: 0.8;
        }

    }
    .description-strong {
        font-size: 16px;
        font-weight: 500;
        line-height: 28px;
        color: #333333;
        margin: 0;
        padding: 0;
    }
    .description-small {
        font-size: 14px;
        font-weight: 400;
        line-height: 28px;
        color: #333333;
        margin: 0;
        padding: 0;
    }
    .section-title3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 28px;
    }
    .section-title4 {
        font-size: 20px;
        font-weight: 500;
        line-height: 30px;
    }
    .button-secondary {
        padding: 15px 24px;           
    }

}
.safety-note {
    margin-top: 16px;

    .description {
        color: #004f9a;
        font-weight: 500;
    }
}
.background-color-gray {
    background-color: #f3f4f6;
}
.background-color-lightgray {
    background-color: #F2F7FC;
}
.background-color-darkgray {
    background-color: #E5E7EB;
}
.background-color-blue {
    background-color: #d9e8f7;
}
.background-color-lightblue {
    background-color: #E5F0FA;
}

/* TABLET VERSION (max-width: 880px) */
@media screen and (max-width: 880px) {
    .section-container {
        .pre-footer-section {
            padding: 0 16px;
        }
    }
}

/* SMART PHONE VERSION (max-width: 768px) */
@media screen and (max-width: 768px) {
    .section-container {
        .section-title {
            font-size: 32px;
            line-height: 44px;
        }
        .section-subtitle {
            font-size: 24px;
            line-height: 32px;
        }
        .section-title4 {
            font-size: 20px;
            line-height: 30px;
        }

        .pre-footer-section {
            .pre-footer-inner {
                .pre-footer-content {
                    flex-direction: column;
                    padding: 24px;

                    .pre-footer-title {
                        font-size: 24px;
                        line-height: 32px;
                        letter-spacing: 0.24px;
                    }
                    .pre-footer-icon {
                        max-width: 170px;
                    }
                }
            }
        }
    }
}

/* ===== TOP PAGE STYLES ===== */

/* Hero Section */
.section-container {
    .hero-block {
        position: relative;
        height: 300px;
        overflow: hidden;
        background-color: #06C;

        .hero-bg-image-wrapper {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 1440px;
            height: 100%;
            background-image: url("../images/hero-bg.webp");
            background-size: 1440px 300px;
            background-repeat: no-repeat;
            background-blend-mode: overlay;
        }
        .section-block-inner{
            .hero-title {
                padding-top: 45px;
                color: #fff;
                font-size: 52px;
                font-weight: 600;
                line-height: 1.1;
                letter-spacing: -0.01em;
                display: inline-block;
                transform: skewX(-15deg);

                .em {
                    font-size: 1.3em;
                }
                .second-line {
                    display: block;
                    padding-left: 2em;
                    white-space: nowrap; 
                }
            }
            .lead-img {
                margin: 5px 0 0 40px;
                width: 339px;
                height: 67px;
                z-index: 1;
            }
        }
    }
}

/* Sub Hero Section */
.section-container {
    .sub-hero-block {
        position: relative;
        height: auto;
        overflow: hidden;
        background-color: #06C;
    
        .sub-hero-bg-image-wrapper {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 3000px;
            height: 100%;
            background-image: url("../images/subhero-bg.webp");
            background-size: cover;
            background-repeat: no-repeat;
            z-index: 1;
        }
        .sub-hero-text {
            padding: 32px 0 40px 0;
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .section-description {
            color: #fff;
        }
        .text-strong {
                font-weight: 700;
        }
    }
}

/* Situation Section */
.section-container {
    .situation-block {
        text-align: center;
        padding-top: 48px;
        padding-bottom: 48px;
        background-image: 
                url("../images/situation-gradation2.png"),
                url("../images/situation-gradation1.png");
        background-color: #99C2EB;
        background-size: cover;
        background-repeat: no-repeat;
        background-blend-mode: overlay;
    }
}
.situation-list {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;

    .situation-item {
        display: flex;
        width: 310px;
        height: 310px;
        padding: 32px 32px 0 32px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        flex-shrink: 0;
        border-radius: 310px;
        background: var(--Mono-White, #FFF);
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);

        .situation-item-icon {
            width: 118px;
            height: 118px;

            img {
                width: 100%;
                height: auto;
            }
        }
        .situation-item-text {
            font-size: 16px;
            font-weight: 600;
            line-height: 28px;
            color: #333;
            text-align: center;
        }
    }
}

/* Decision Section */
.decision-arrow {
    width: 228px;
    height: 43px;
    background-image: url(../images/decision-arrow.png);
    background-size: 228px 43px;
    margin: 0 auto;
    transform: rotate(0deg);
    margin: -2px auto 0;
    display: block;
}
.decision-text-area {
    padding: 32px 0 64px 0;
    text-align: center;

    .decision-main-text {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        color: #004F9A;
    }
    .decision-sub-text {
        font-size: 16px;
        line-height: 1.75;
        color: #1A7AD9;
        margin-top: 12px;
    }
}

/* Flow Section */
.top-page { 
    .flow-main-list {
        padding-top: 40px;
        margin-bottom: 56px;
    }
}

/* News Section */
.news-list{
    display: flex;
    flex-direction: column;
    gap: 8px;

    .news-item {
        p {
            font-size: 16px;
            font-weight: 400;
            line-height: 28px;
            color: #333333;
            margin: 0;
            padding: 0;
        }

        p:first-of-type {
            font-size: 14px;
            color: #666;
        }
    }
}

/* Safety Notice Section */
.safety-section {
    background-color: #e5e7eb;
    padding: 64px 0;
}
.safety-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}
.safety-columns {
    display: flex;
    gap: 32px;
}
.safety-column {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
    overflow: hidden;
}
.safety-column-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.safety-column-content {
    padding: 40px;
}
.safety-column-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a7ad9;
    margin-bottom: 24px;
}
.safety-column-text {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}
.safety-column-text .text-small {
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 880px) {

    .section-container {
        .sub-hero-block {
            .sub-hero-bg-image-wrapper {
                min-width: 880px;
                background-image: url("../images/subhero-bg-sp.webp"); 
                background-image: -webkit-image-set(
                        url("../images/subhero-bg-sp.webp") 1x,
                        url("../images/subhero-bg-sp@2x.webp") 2x
                    );
                background-image: image-set(
                        url("../images/subhero-bg-sp.webp") 1x,
                        url("../images/subhero-bg-sp@2x.webp") 2x
                    );
            }
        }
    }

    .situation-list {
        flex-direction: column;

        .situation-item {
            width: 100%;
            height: auto;
            padding: 24px;
            border-radius: 8px;

            .situation-item-icon {
                width: 80px;
                height: 80px;
            }
            .situation-item-text {
                width: 100%;

                span {
                    display: inline-block;
                    text-align: left;
                }
            }
        }
    }

    .decision-arrow {
        background-image: url(../images/decision-arrow-sp.png);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    .section-container {
        .hero-block {
            height: 410px;

            .hero-bg-image-wrapper {
                min-width: 750px;
                background-image: url("../images/hero-bg-sp.webp"); 
                background-image: -webkit-image-set(
                        url("../images/hero-bg-sp.webp") 1x,
                        url("../images/hero-bg-sp@2x.webp") 2x
                    );
                background-image: image-set(
                        url("../images/hero-bg-sp.webp") 1x,
                        url("../images/hero-bg-sp@2x.webp") 2x
                    );
                background-size: 750px 410px;
            }

            .section-block-inner {
                .hero-title {
                    padding-top: 25px;
                    margin: 0px auto;
                    font-size: 40px;
                    letter-spacing: -0.06em;
                }
                .lead-img {
                    margin: 160px auto;
                }
            }
        }
    }

    .section-container {
        .situation-block {
            text-align: left;
            background-image: 
                url("../images/situation-gradation2-sp.png"),
                url("../images/situation-gradation1-sp.png");         
        }
    }

    .safety-columns { 
        flex-direction: column;        
        .safety-column-content { padding: 24px; }
    }
}

/* ===== SYSTEM PAGE STYLES ===== */
.system-strong {
    font-weight: 700;
}
.system-note {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.system-flow-diagram-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 564px;
    margin: 0 auto;

    img {
        max-width: 100%;
        height: auto;
        background-color: #fff;
        padding: 32px;
        border-radius: 8px;
    }
}
.system-causes-card-list {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}
.system-causes-card {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
}
.system-causes-card-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.system-causes-card-number {
    font-size: 30px;
    font-weight: 500;
    color: #1a7ad9;
    text-decoration: underline;
    display: block;
    text-align: left;
}
.system-causes-card-icon {
    height: 100px;
    margin: 0 auto 24px;
    display: block;
}
.system-causes-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #004f9a;
    text-align: center;
    margin-bottom: 16px;
    white-space: nowrap;
}
.system-causes-card-list-items {
    padding-left: 1.2em;
}
.system-causes-card-list-items li {
    font-size: 16px;
    line-height: 1.75;
    color: black;
}
.system-causes-card-list-items li + li {
    margin-top: 0.5em;
}

.system-target-card-list {
    display: flex;
    gap: 24px;
    margin: 16px 0;

    .system-target-card {
        /* flex: 1; */
        display: flex;
        flex-direction: column;
        gap: 16px;
        background-color: #e5f0fa;
        border-radius: 8px;
        padding: 40px;
    }
    .system-target-card-icon {
        height: 110px;
        display: block;
        margin: 16px auto;
    }
    .system-target-card-title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        color: #004f9a;
        text-align: center;
        margin: 8px 0 16px;
    }
    .system-target-card-list-items {
        padding-left: 1.2em;
        font-weight: 500;
    }
    .system-target-card-list-items li {
        font-size: 16px;
        line-height: 1.75;
    }
    .system-target-card-list-items li + li {
        margin-top: 0.5em;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .system-target-card-list {

        .system-target-card {
            padding: 24px;
        }        
        li {
            font-size: 16px;
        }
    }

    .system-causes-card-list {
        flex-direction: column;
    }
    .system-target-card-list {
        flex-direction: column;
    }
    .system-flow-diagram-image-wrapper {
        img {
            padding: 16px;
        }
    }
    .system-causes-card, .system-target-card {
        padding: 24px;
    }
}

/* ===== FLOW PAGE STYLES ===== */
.flow-strong {
    font-weight: 600;
}
.flow-main-list {
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flow-main-item {
    display: flex;
    width: 100%;
    border: 2px solid #00aeeb;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}
.flow-main-item-number {
    width: 64px;
    background-color: #00aeeb;
    box-shadow: 0 0 0 1px #00aeeb;
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flow-main-item-content {
    flex: 1;
    padding: 16px 24px;
}
.flow-main-item-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}
.flow-main-item-text {
    font-size: 16px;
    line-height: 1.75;
}
.flow-main-item-list {
    padding-left: 1.5em;

    li {
        font-size: 16px;
        line-height: 1.75;
    }
}
.flow-main-item-note {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 28px;
    /* margin-top: 0.5em; */
    margin-left: 1em;
}
.flow-main-connector {
    width: 35px;
    height: 21px;
    background-image: url("../images/flow-connector.svg");
    margin: 16px 0;
}
.duration-card-list {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 8px;
}
.duration-card {
    display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 8px;
    background: var(--Mono-White, #FFF);
}
.duration-card-icon {
    height: 110px;
    display: block;    
    margin: 0 auto;
}
.duration-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #004f9a;
    text-align: center;
    margin: 0 auto;
}
.duration-card-subtitle {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
    margin-bottom: 8px;
}
.section-container  {
    .faq-section {
        .section-block-inner {
            gap: 32px;
        }
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .flow-main-item-title {
        font-size: 18px;
    }
    .duration-card-list {
        flex-direction: column;
    }
    .duration-card {
        padding: 24px;
    }
}

/* ===== FAQ PAGE STYLES ===== */

/* FAQ Category Buttons */
.faq-categories {
    margin: 64px 0 0 0;

    .faq-category-title {
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
        color: #333;
        margin-bottom: 24px;
    }
    .faq-category-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .faq-category-btn {
        padding: 13px 24px;
        background-color: #ffffff;
        border: 1px solid #0066cc;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 500;
        color: #0066cc;
        cursor: pointer;
        transition: all 0.3s ease;

        span {
            display: inline-block;
            text-align: left;
        }
    }
    .faq-category-btn:hover {
        background-color: #f0f7ff;
    }
    .faq-category-btn.active {
        background-color: #0066cc;
        color: #ffffff;
    }
}

/* FAQ Category Sections */
.faq-category-section {
    display: block;
    padding-top: 64px;
    /* border-top: 1px solid #e5e7eb; */
}
.faq-category-section.hidden {
    display: none;
}
.faq-category-heading {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #333;
    margin-bottom: 24px;
}

/* FAQ Item Container */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
}
.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    padding: 16px 0;
    transition: all 0.3s ease;
}
/* .faq-question:hover {
    opacity: 0.8;
} */
.faq-q-icon {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #333;
    min-width: 20px;
}
.faq-q-text {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #333;
}
.faq-toggle {
    width: 24px;
    height: 24px;
    min-width: 24px;
    position: relative;
    transition: transform 0.3s ease;

    &::before, &::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #0066cc;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    &::before { width: 16px; height: 2px; }
    &::after { width: 2px; height: 16px; }
}
.faq-item.active {
    .faq-toggle {
        transform: rotate(0deg);

        &::before, &::after  {
            background-color: #0066cc;
        }
        &::after { transform: translate(-50%, -50%) rotate(90deg); }
    }
}

/* FAQ Answer */
.faq-answer {
    display: none;
    flex-direction: row;
    gap: 10px;
    padding: 0 32px 12px 0;
}
.faq-item.active .faq-answer {
    display: flex;
}
.faq-a-icon {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #1a7ad9;
    min-width: 20px;
}
.faq-a-text {
    font-size: 16px;
    line-height: 28px;
    color: #333;
    flex: 1;

    p + p {
        margin-top: 0.4em;    
    }
    a {
        color: #0066cc;
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
        opacity: 0.8;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 32px;
        line-height: 44px;
    }
    .faq-categories {
        margin: 64px 0 0 0;
    }
    .faq-category-title {
        font-size: 24px;
        line-height: 32px;
    }
    .faq-category-buttons {
        gap: 16px;
    }
    .faq-category-btn {
        padding: 13px 24px;
        font-size: 16px;
    }
    
    .faq-category-heading {
        font-size: 24px;
        line-height: 32px;
    }
    
    .faq-q-text {
        font-size: 20px;
    }
    .faq-a-text {
        font-size: 16px;
        line-height: 28px;
    }
}
/* ===== CASES PAGE ===== */
.case-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
    
    .case-card {
        display: flex;
        padding: 40px;
        align-items: flex-start;
        gap: 24px;
        align-self: stretch;
        border-radius: 8px;
        background: var(--Mono-White, #FFF);
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);

        .case-image-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 400px;
            margin: 0 auto;
            padding-top: 8px;

            img {
                max-width: 100%;
                height: auto;
                background-color: #fff;
                /* padding: 32px; */
                border-radius: 8px;
            }
        }        

        .case-content {
            display: flex;
            padding: 8px;
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
            flex: 1 0 0;
            align-self: stretch;

            .case-title {
                display: flex;
                gap: 8px;
                padding-bottom: 24px;
            }
            .case-row {
                display: flex;
                align-items: flex-start;
                align-self: stretch;
                gap: 7px;

                .case-key {
                    display: flex;
                    width: 150px;
                    align-items: center;
                    border-radius: 4px;
                    color: var(--Text-Secondary, #666);
                    font-size: 16px;
                    font-weight: 400;
                    line-height: 28px; /* 175% */
                }
                .case-value {
                    flex: 1 0 0;
                    color: var(--Text-Primary, #333);
                    font-size: 16px;
                    font-weight: 400;
                    line-height: 28px; /* 175% */
                }
            }   
        }

        .case-number {
            width: 45px;
            height: 48px;
            display: flex;
            padding: 8px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
            background: var(--Brand-Primary-Emphasis, #004F9A);
            align-self: stretch;
            color: var(--Mono-White, #FFF);
            font-size: 24px;
            font-weight: 700;
            line-height: 32px; /* 133.333% */
        }
        .case-detail {
            flex: 1 0 0;
            color: var(--Text-Primary, #333);
            font-size: 24px;
            font-weight: 700;
            line-height: 32px;
        }
        .case-section {
            margin-bottom: 16px;
            font-size: 14px;
            color: #666666;
            line-height: 1.6;
        }

        .case-section p {
            margin: 0;
        }

        .case-section strong {
            font-weight: 600;
            color: #333333;
        }
        
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-cards {
        .case-card {
            flex-direction: column;
            gap: 24px;
            padding: 24px;

            .case-content {
                .case-row{
                    flex-direction: column;
                    gap: 0;
                    padding-bottom: 8px;        
                }
            }
        }
    }
}

/* ===== ABOUT PAGE STYLES ===== */
.reward-section {
    gap: 24px !important;

    #reward {
        scroll-margin-top: 100px;
    }
}
.about-h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    color: #333;
}
.about-note.small {
    font-size: 14px;
}
.partners-section-inner {
    display: flex;
    gap: 24px;

    .partners-image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 241px;
        margin: 0 auto;
        padding: 16px;
        border-radius: 8px;
        background: var(--Mono-White, #FFF);

        img {
            max-width: 100%;
            height: auto;
        }
    }
    .partners-content {
        display: flex;
        flex-direction: column;
        gap: 16px;        
    }
    .partners-content-description {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px; /* 175% */
    }
}
.about-strong {
    font-weight: 700;
}

.reward-box {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--Mono-White, #FFF);

    .reward-circles {
        display: flex;
        padding-bottom: 24px;
        align-items: flex-start;
        gap: 24px;
    }

    .reward-circle {
        display: flex;
        width: 250px;
        height: 250px;
        padding: 40px 8px 8px 8px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        border-radius: 300px;
        background: var(--Brand-Surface-Primary-10, #E5F0FA);
    }
    .description {
        align-self: stretch;
    }
    .reward-circle h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .reward-circle ul {
        list-style: disc;
        text-align: left;
        padding-left: 20px;
        margin: 0;
        line-height: 28px;
    }
}

.reward-detail-item {
    display: flex;
    align-items: flex-start;
    align-self: stretch;

    .reward-detail-item-header {
        display: flex;
        width: 200px;
        padding: 16px 8px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        border-radius: 8px 0 0 8px;
        background: var(--Brand-Surface-Primary-30, #B2D1F0);
    }

    .reward-detail-item-body {
        display: flex;
        padding: 8px 16px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        flex: 1 0 0;
        align-self: stretch;
        border-radius: 0 8px 8px 0;
        background: var(--Mono-White, #FFF);
    }

    .reward-detail-item-header img {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }

    .reward-detail-item-header h4 {
        font-size: 16px;
        font-weight: 500;
        color: #333;
        margin: 0;
    }

    .reward-formula {
        font-size: 20px;
        font-weight: 700;
        color: #004f9a;
        margin-top: 8px;
    }
    .small-text {
        font-size: 14px;
    }
    h4 {
        align-self: stretch;
        color: var(--Text-Primary, #333);
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        line-height: 28px; /* 175% */
    }
}

.about-note {
    padding-top: 24px;

    ul {
        padding-left: 20px;
        margin: 0;
        font-size: 16px;
        font-weight: 400;
        line-height: 28px;
    }
}
.about-note-small {
    ul {
        padding-left: 20px;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 28px;
    }
}
.overview-table {
    width: 100%;
    display: flex;
    flex-direction: column;

    .overview-row {
        display: flex;
        align-items: flex-start;
        gap: 16px;

        .overview-key {
            display: flex;
            width: 100px;
            padding: 16px 0;
            flex-direction: column;
            align-items: flex-start;
            align-self: stretch;
            font-size: 16px;
            font-weight: 600;
            line-height: 28px; /* 175% */
            color: var(--Brand-Primary-Emphasis, #004F9A);
            border-bottom: 2px solid var(--Brand-Primary-Emphasis, #004F9A);
        }

        .overview-value {
            display: flex;
            padding: 16px 0;
            flex-direction: column;
            align-items: flex-start;
            flex: 1 0 0;
            align-self: stretch;
            font-size: 16px;
            font-weight: 400;
            line-height: 28px; /* 175% */
            border-bottom: 1px solid var(--Mono-Gray-300, #CCC);
        }

        .sp-only {
            display: none;
        }    
    }

}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-section-inner {
        flex-direction: column;

        .partners-image-wrapper {
            max-width: 326px;
        }
    }

    .reward-circles {
        flex-direction: column;
    }

    .reward-detail-item {
        flex-direction: column;
        margin-top: 16px;

        .reward-detail-item-header {
            width: 100%;
            border-radius: 8px 8px 0 0;
        }
        .reward-detail-item-body {
            border-radius: 0 0 8px 8px;
        }
    }

    .overview-table {
        .overview-row {
            .sp-only {
                display: block;
            }
        }
    }

    .overview-key,
    .overview-value {
        width: 100%;
        display: block;
    }

    .overview-key {
        border-bottom: 1px solid #ccc;
    }
}

/* ===== CONTACT PAGE ===== */
.contact-cards {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;

    .contact-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1 0 0;
        align-self: stretch;
        border-radius: 8px;
        background: var(--Mono-White, #FFF);
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);

        .card-image-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            max-height: 250px;
            margin: 0 auto;
            border-radius: 8px 8px 0 0;
            overflow: hidden;

            img {
                max-width: 100%;
                height: auto;
                background-color: #fff;
            }
        }

        .card-body {
            display: flex;
            padding: 40px;
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
            align-self: stretch;
        }

        h2 {
            flex: 1 0 0;
            color: var(--Brand-Primary-Emphasis, #004F9A);
            font-size: 24px;
            font-weight: 700;
            line-height: 32px; /* 133.333% */
        }
    }
}

.help-button-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    align-self: stretch;
    margin-top: 16px;

    .help-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 16px;

        a:hover {
            background-color: var(--Brand-Surface-Primary-05, #F2F7FC);
        }
    }

    .help-btn {
        display: flex;
        padding: 8px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        color: var(--Brand-Primary-Default, #06C);
        /* text-align: right; */
        font-size: 18px;
        font-weight: 400;
        line-height: 32px; /* 177.778% */
        border-radius: 20px 20px 0 20px;
        background: var(--Brand-Surface-Primary-15, #D9E8F7);
    }

    .help-icon {
        img {
            width: 80px;
            height: auto;
        }
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 24px;

        .contact-card {
            .card-body {
                padding: 24px;
            }
        }
    }
}

/* ===== 404 PAGE STYLES ===== */
.not-found-title {
    flex: 1 0 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 47px;
    color: #333333;
    padding-bottom: 32px;
}
.not-found-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 300px;
    margin: 43px 95px;

    img {
        max-width: 100%;
        object-fit: contain;
    }
}
.not-found-button-wrapper {
    padding-top: 16px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .not-found-title {
        font-size: 32px;
        line-height: 44px;
        letter-spacing: 0.32px;
    }
    .not-found-image-wrapper {
        margin: 20px;
    }
}

/* ===== Privercy PAGE STYLES ===== */
.privacy-page, .term-page {
    .section-container {
        .section-block {
            .section-block-inner {
                max-width: 840px;
            }
        }
    }
    a.email-link {  
        color: #555555;               
        text-decoration: underline;                
    }
}
.privacy-list {
    list-style: disc;
    padding-left: 24px;
    font-size: 16px;
    line-height: 28px;
}
.privacy-list li + li {
    margin-top: 8px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .privacy-page, .term-page {
        .page-section-gap {
            height: 56px;
        }
    }
}
