/* =============================================
   Flow Page Styles (NFCカードの利用用途)
   Bootstrap 5 対応版
   ============================================= */

/* Flow Header */


/* Flow Introduction Section */
.flow-intro-section {}

.flow-intro-title {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 32px;
    color: #000;
    line-height: 1.6;
}

.flow-intro-description {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

/* Flow Use Cases Section */
.flow-use-cases-section {}

.flow-use-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-use-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.flow-use-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.flow-use-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-use-card-title {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 22px;
    color: #fff;
    background: #00479d;
    padding: 1rem;
    margin: 0;
}

.flow-use-card-description {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #333;
    background: #f1f6f9;
    line-height: 1.8;
    padding: 2rem;
    height: 100%;
}

/* Flow CTA Section */
.flow-cta-section {
    background: url("../images/youto-bg.jpg")no-repeat top center/cover;
}

.flow-cta-text {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 2;
}

.flow-cta-button {
    background: #00479d;
    border-radius: 999px;
    padding: 20px 80px 20px 40px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 71, 157, 0.3);
    transition: .5s;
    position: relative;
}

.flow-cta-button::before {
    content: "";
    background: url("../images/arrow-white.svg") no-repeat center / contain;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.flow-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 71, 157, 0.4);
    background: #00479d;
    color: #fff;
    opacity: .8;
}

/* =============================================
   Responsive Styles
   ============================================= */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .flow-header {
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .flow-page-title {
        font-size: 26px;
    }



    .flow-intro-title {
        font-size: 26px;
    }

    .flow-intro-description {
        font-size: 16px;
    }

    .flow-use-card-title {
        font-size: 20px;
    }

    .flow-use-card-description {
        font-size: 13px;
    }

    .flow-cta-text {
        font-size: 16px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .flow-header {
        padding: 30px 0 0;
    }

    .flow-page-title {
        font-size: 22px;
        text-align: center;
        padding-left: 0;
    }

    .flow-header-image {
        text-align: center !important;
        padding-right: 0 !important;
    }



    .flow-intro-title {
        font-size: 22px;
    }

    .flow-intro-description {
        font-size: 14px;
    }

    .flow-use-card-title {
        font-size: 18px;
    }

    .flow-use-card-description {
        font-size: 14px;
        height: auto;
        padding: 1rem;
    }

    .flow-cta-text {
        font-size: 18px;
        line-height: 1.8;
    }

    .flow-cta-button {
        font-size: 16px;
        padding: 18px 70px 18px 30px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .flow-header {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .flow-page-title {
        font-size: 20px;
    }

    .flow-intro-title {
        font-size: 20px;
    }

    .flow-cta-button {
        font-size: 14px;
        padding: 16px 60px 16px 25px;
    }

    .flow-cta-button::before {
        width: 30px;
        height: 30px;
        right: 15px;
    }
}