/* --- Index Page Specific Styles --- */
/* Note: common.css is already loaded in index.php, so we don't need to import it here */

/* ============================================
   Index Page Specific Styles
   ============================================ */

/* --- Hero Section --- */
.hero-bg {
    background-color: var(--bg-blue);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}


/* Blue overlay layer */
.hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(13, 110, 253, 0.8) 0%,
            rgba(13, 110, 253, 0.6) 50%,
            rgba(13, 110, 253, 0.9) 100%);
    background-attachment: fixed;
    z-index: 1;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-bg>* {
    position: relative;
    z-index: 3;
}

.hero-bg .container {
    position: relative;
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg .hero-video {
        display: none;
    }
}

/* Text visibility enhancement */
.hero-bg h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-bg h2,
.hero-bg h3 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 8px rgba(0, 0, 0, 0.4);
}

.hero-bg .cta-button,
.hero-bg .cta-button-outline {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

/* CTA Button Outline Styles */
.cta-button-outline {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 0;
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.cta-button-outline:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--color-white);
}


/* Hero text colors - override layout.css */
.hero-bg h1 {
    color: var(--color-white);
}

.hero-bg p {
    color: var(--color-white);
}

/* --- Glass Cards --- */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    transition: all 0.3s ease;
}


/* --- Income Cards --- */
.income-card {
    background-color: var(--bg-white);
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}


.income-card-content {
    padding: 1.5rem;
}

.income-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.income-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-blue);
    line-height: 1;
}

.income-unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-blue);
}

/* --- Step Cards --- */
.step-card {
    background-color: var(--bg-white);
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    height: 100%;
}


.step-card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.step-card-content {
    padding: 1.5rem;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-card-number {
    position: absolute;
    top: -1.5rem;
    left: 1.5rem;
    background: linear-gradient(to bottom, #0459e7, #008df1);
    color: var(--color-white);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: 4px solid var(--bg-white);
}

.step-card-title {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.step-card-description {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- FAQ Styles --- */
.faq-item {
    font-size: 18px;
    background-color: var(--bg-white);
    border: 1px solid #e5e7eb;
    border-radius: 0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}


.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* --- Banner Slider --- */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.banner-swiper {
    display: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* --- Swiper Styles --- */
.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
    overflow: visible;
}

.swiper-container .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 20px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
}

.swiper-pagination-bullet {
    background: #d3e3e7;
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 32px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #0459e7, #008df1);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-blue);
}

/* --- Mobile Responsive Optimizations --- */
@media (max-width: 768px) {

    /* Global Mobile Adjustments */
    body {
        font-size: 14px;
        line-height: 1.6;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Header Mobile */
    .header-enhanced {
        padding: 0.5rem 0;
    }

    .header-enhanced .container {
        padding: 0 1rem;
    }

    /* Hero Section Mobile */
    .hero-bg {
        padding: 2rem 0;
        min-height: 70vh;
    }

    .hero-bg h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        color: var(--color-white) !important;
    }

    .hero-bg p {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        color: var(--color-white) !important;
    }

    /* Glass Cards Mobile */
    .glass-card {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        margin: 0.25rem;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
        padding: 0 1rem;
        padding-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Income Cards Mobile */
    .income-card {
        margin-bottom: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }


    .income-card-content {
        padding: 16px;
    }

    .income-card-title {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .income-number {
        line-height: 1;
        color: var(--color-blue);
    }

    .income-unit {
        font-size: 1.125rem;
    }

    /* Process Cards Mobile */
    .step-card {
        aspect-ratio: 3 / 4;
        margin-bottom: 16px;
        border-radius: 0;
    }

    .step-card-content {
        padding: 0.75rem;
    }

    .step-card-title {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.375rem;
        line-height: 1.3;
    }

    .step-card-description {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .step-card-number {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9375rem;
        top: -0.875rem;
        left: 1rem;
    }

    /* FAQ Cards Mobile */
    .faq-item {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Banner Slider Mobile */
    .banner-grid {
        display: none;
    }

    .banner-swiper {
        display: block;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    @media (min-width: 768px) {
        .swiper-container {
            display: none;
        }
    }

    /* Grid Layouts Mobile */
    .grid {
        gap: 16px;
    }

    .grid-cols-1 {
        grid-template-columns: 1fr;
    }

    /* Spacing Mobile */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .mb-16 {
        margin-bottom: 2rem;
    }

    .mb-20 {
        margin-bottom: 2.5rem;
    }

    /* Text Mobile */
    .text-lg {
        font-size: 1rem;
    }

    .text-xl {
        font-size: 1.125rem;
    }

    .text-2xl {
        font-size: 1.25rem;
    }

    .text-3xl {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-bg {
        padding: 1.25rem 0;
        min-height: 55vh;
    }

    .hero-bg h1 {
        font-size: 1.4rem !important;
        line-height: 1.1;
        margin-bottom: 0.75rem;
        color: var(--color-white) !important;
    }

    .hero-bg p {
        font-size: 0.8rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
        color: var(--color-white) !important;
    }

    .section-title {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        padding: 0 0.75rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
        padding: 0 0.75rem;
    }

    .income-card-content {
        padding: 10px;
    }

    .income-number {
        line-height: 1;
        color: var(--color-blue);
    }

    .income-unit {
        font-size: 0.85rem;
    }

    .income-card-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .step-card-content {
        padding: 0.875rem;
    }

    .step-card-title {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .step-card-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .step-card-number {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.85rem;
        top: -0.625rem;
        left: 0.875rem;
    }

    .faq-question {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .faq-answer {
        padding: 0 0.75rem 0.75rem 0.75rem;
        font-size: 0.65rem;
        line-height: 1.4;
    }

    .glass-card {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
        margin: 0.15rem;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero-bg h1 {
        font-size: 4rem !important;
        color: var(--color-white) !important;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Text Shadow Utilities */
.text-shadow-lg {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Prevent text shadow in simulator */
#simulator,
#simulator * {
    text-shadow: none !important;
}

/* --- Persona Cards --- */
.persona-card {
    background-color: rgba(4, 89, 231, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.persona-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9)!important;
}

.persona-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9)!important;
}


.persona-card .persona-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.persona-card .description {
    color: var(--color-white);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Caution Cards --- */
.caution-card {
    background-color: transparent;
    text-align: left;
    position: relative;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.caution-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.caution-card h3 {
    text-align: left;
    margin-bottom: 0.75rem;
    font-size: 1.7rem;
}



/* --- Background Sample Images --- */
.sample-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    pointer-events: none;
}

.sample-element {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sample-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sample-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 140px;
    animation: sample-float 8s ease-in-out infinite;
}

.sample-2 {
    top: 20%;
    right: 10%;
    width: 180px;
    height: 120px;
    animation: sample-float 8s ease-in-out infinite 2s;
}

.sample-3 {
    top: 40%;
    left: 15%;
    width: 160px;
    height: 100px;
    animation: sample-float 8s ease-in-out infinite 4s;
}

.sample-4 {
    top: 60%;
    right: 20%;
    width: 190px;
    height: 130px;
    animation: sample-float 8s ease-in-out infinite 6s;
}

.sample-5 {
    top: 80%;
    left: 8%;
    width: 170px;
    height: 110px;
    animation: sample-float 8s ease-in-out infinite 1s;
}

.sample-6 {
    top: 30%;
    left: 50%;
    width: 140px;
    height: 90px;
    animation: sample-float-center 8s ease-in-out infinite 3s;
}

@keyframes sample-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 0.3;
    }
}

@keyframes sample-float-center {

    0%,
    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
        opacity: 0.2;
    }

    50% {
        transform: translateX(-50%) translateY(-15px) rotate(2deg);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {

    .sample-1,
    .sample-2,
    .sample-3,
    .sample-4,
    .sample-5,
    .sample-6 {
        display: none;
    }
}

/* --- Promise Cards --- */
.promise-card {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 0;
}

.promise-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 110, 253, 0.7);
    z-index: 1;
}

.promise-card-solid {
    background-color: rgba(13, 110, 253, 0.9);
}

.promise-card-solid::before {
    background-color: rgba(13, 110, 253, 0.95);
}

.promise-card-content {
    position: relative;
    z-index: 2;
}


/* --- Earning Cards --- */
.earning-card {
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--color-blue);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 0;
    height: 100%;
}

.earning-card-tag {
    color: white;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    align-self: flex-start;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    border-radius: 0;
}

.earning-card-title {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.earning-card-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray);
}

.earning-card-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.earning-card-figure-box {
    background-color: #f3f4f6;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.earning-card-figure-box .figure-label {
    font-size: 1rem;
    color: var(--color-gray);
}

.earning-card-figure-box .figure-amount {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--color-blue);
    line-height: 1.2;
}

.earning-card-figure-box .figure-unit {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-blue);
}

.earning-card-figure-box .figure-note {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: 0.5rem;
}

.earning-card-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.earning-card-checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--color-black);
    font-size: 0.9rem;
}

.earning-card-checklist svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    color: var(--color-blue);
    flex-shrink: 0;
}

.earning-card-cta {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    background: linear-gradient(to bottom, #0459e7, #008df1);
    padding: 0.875rem 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
    border-radius: 0;
    text-decoration: none;
}

.earning-card-cta:hover {
    background-color: #0b5ed7;
}


/* --- Income Card Image --- */
.income-card-image {
    width: 100%;
    overflow: hidden;
}

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

.income-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.income-person {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: 0.75rem;
}

.income-description {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* --- Hero Simulator --- */
.hero-sim {
    border-radius: 0;
}

/* --- Section Light Theme --- */
.section-light {
    background-color: var(--bg-white);
    color: var(--color-gray);
}

.section-light .section-title,
.section-light .subsection-title,
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light .font-bold {
    color: var(--color-black);
}

.section-light .section-subtitle,
.section-light p,
.section-light li,
.section-light span,
.section-light label {
    color: var(--color-gray);
}

.section-light .income-number,
.section-light .income-unit {
    color: var(--color-blue);
}

.section-light .section-title::after,
.section-light .subsection-title::after {
    background: var(--color-blue);
}

.section-light .step-card,
.section-light .faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--color-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


.section-light a:not(.btn):not([class*="line-blue"]) {
    color: var(--color-blue);
    font-weight: 500;
}

.section-light a:not(.btn):hover {
    text-decoration: underline;
}

/* --- Ambassador Section --- */
.ambassador-section {
    position: relative;
    overflow: hidden;
}

.ambassador-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ambassador-dot {
    position: absolute;
    opacity: 0.2;
}

.ambassador-dot-left {
    top: 0;
    left: 0;
}

.ambassador-dot-right {
    bottom: 0;
    right: 0;
}

/* 画面比率に応じた背景装飾の調整 */
@media (orientation: portrait) and (max-width: 768px) {
    .ambassador-dot {
        opacity: 0.1;
    }
}

@media (orientation: landscape) {
    .ambassador-dot {
        opacity: 0.2;
    }
}

@media (orientation: landscape) and (min-width: 1024px) {
    .ambassador-dot {
        opacity: 0.25;
    }
}

.ambassador-section .container {
    position: relative;
    z-index: 2;
}

.ambassador-title {
    color: #5860d2 !important;
}

.ambassador-subtitle {
    color: #5860d2 !important;
}

.ambassador-card {
    position: relative;
}

.ambassador-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ambassador-checkmark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.ambassador-card-title {
    color: #5860d2 !important;
    flex: 1;
}

.ambassador-card-text {
    color: #5860d2 !important;
}

/* --- Payment System Section --- */
.payment-system-section {
    position: relative;
    overflow: hidden;
}

.payment-system-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.payment-system-dot {
    position: absolute;
    opacity: 0.2;
}

.payment-system-dot-left {
    top: 0;
    left: 0;
}

.payment-system-dot-right {
    bottom: 0;
    right: 0;
}

/* 画面比率に応じた背景装飾の調整 */
/* 縦長（portrait）の画面では非表示または調整 */
@media (orientation: portrait) and (max-width: 768px) {
    .payment-system-dot {
        opacity: 0.1;
    }
}

/* 横長（landscape）の画面では通常表示 */
@media (orientation: landscape) {
    .payment-system-dot {
        opacity: 0.2;
    }
}

/* 非常に横長の画面（デスクトップなど）ではより濃く */
@media (orientation: landscape) and (min-width: 1024px) {
    .payment-system-dot {
        opacity: 0.25;
    }
}

.payment-system-section .container {
    position: relative;
    z-index: 2;
}

.payment-system-title {
    color: white;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .payment-system-title {
        font-size: 2rem;
    }
}

.payment-system-subtitle {
    color: white;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .payment-system-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
}

.payment-system-image-wrapper {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .payment-system-image-wrapper {
        margin: 3rem 0;
    }
}

.payment-system-image {
    max-width: 100%;
    height: auto;
}

.payment-system-features {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .payment-system-features {
        gap: 1.25rem;
        margin-top: 3rem;
    }
}

.payment-system-feature-item {
    background-color: rgba(4, 89, 231, 0.8);
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    text-align: left;
    border-radius: 0;
}

@media (min-width: 640px) {
    .payment-system-feature-item {
        padding: 1.75rem;
    }
}

.payment-system-checkmark {
    flex-shrink: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-system-feature-content {
    flex: 1;
}

.payment-system-feature-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.payment-system-feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .payment-system-feature-text {
        font-size: 1rem;
    }
}

/* --- Payment Feature Cards (旧スタイル、他の場所で使用されている可能性があるため保持) --- */
.payment-feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 0;
}

@media (min-width: 640px) {
    .payment-feature-card {
        flex-direction: row;
        text-align: left;
    }
}


.payment-feature-icon {
    background-color: white;
    color: var(--color-blue);
    min-width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

@media (min-width: 640px) {
    .payment-feature-icon {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
}

.payment-feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.payment-feature-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.payment-feature-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- News Cards --- */
.news-card {
    display: block;
    background-color: var(--bg-white);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    border-radius: 0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-date {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: 0.25rem;
}

.news-card-title {
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: var(--color-blue);
}


/* --- Support Items --- */
.support-item {
    background-color: var(--color-white);
    color: var(--color-blue);
    padding: 1.5rem;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease,
        box-shadow 0.3s ease;
    border-radius: 0;
}


.support-item svg,
.support-item img {
    margin: 0 auto 0.75rem auto;
    width: 2.5rem;
    height: 2.5rem;
}

.support-item p {
    font-weight: bold;
    font-size: 0.875rem;
    color: var(--color-blue);
}


#earning-style .section-title::after,
#process .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-blue);
    border-radius: 2px;
}

/* --- Additional Mobile Optimizations --- */
@media (max-width: 768px) {
    .persona-card {
        padding: 1.5rem 1rem;
    }

    .promise-card {
        min-height: 200px;
        padding: 1.5rem;
    }

    .earning-card {
        padding: 0.875rem;
    }

    .earning-card-title {
        font-size: 1.5rem;
    }

    .earning-card-figure-box .figure-amount {
        font-size: 2rem;
    }

    .earning-card-figure-box .figure-unit {
        font-size: 1rem;
    }
}

/* --- Hero Swiper Styles --- */
.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-swiper .swiper-slide-active h1,
.hero-swiper .swiper-slide-active p,
.hero-swiper .swiper-slide-active .animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- Slider Animations --- */
@keyframes scroll-slow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-slow-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-scroll-slow {
    animation: scroll-slow 30s linear infinite;
}

.animate-scroll-slow-reverse {
    animation: scroll-slow-reverse 30s linear infinite;
}

/* --- Mobile Specific Styles --- */
@media (max-width: 1023px) {
    .hero-bg .container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 2rem;
    }

    .hero-bg .flex {
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 640px) {
    .hero-bg h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        color: var(--color-white) !important;
    }

    .hero-bg .glass-card {
        font-size: 12px !important;
    }
}

@media (max-width: 639px) {
    .hero-bg h1 {
        font-size: 2.5rem !important;
        line-height: 1.25 !important;
        color: var(--color-white) !important;
    }

    .hero-bg .glass-card {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .hero-bg h1 {
        font-size: 2rem !important;
    }
}

/* ============================================
   Persona Section
   ============================================ */

#persona {
    position: relative;
    overflow: visible;
}

#persona .container {
    position: relative;
    z-index: 2;
}

.best-match-text {
    font-family: 'Poppins', sans-serif;
    color: #ffcc39;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-style: italic;
}

@media (min-width: 1024px) {
    .persona-card-wrapper {
        position: relative;
    }

    #persona .grid > .persona-card-wrapper:nth-child(1),
    #persona .grid > .persona-card-wrapper:nth-child(3) {
        overflow: visible;
    }

    .persona-image-wrapper {
        position: absolute;
        top: -400px;
        left: 50%;
        transform: translateX(-50%);
        width: 400px;
        height: 400px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        z-index: 3;
    }

    .persona-image-wrapper .persona-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: bottom;
    }

    .persona-card-wrapper .persona-card {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 1200px) and (min-width: 1024px) {
    .persona-image-wrapper {
        width: 220px;
        height: 220px;
        top: -218px;
    }
}

@media (max-width: 1023px) {
    #persona {
        overflow: visible;
    }

    /* スマホ用画像（セクション上部） */
    .persona-sp-image-wrapper {
        position: relative;
        width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin: -130px auto 30px;
        padding: 0 1rem;
        z-index: 10;
    }

    .persona-sp-image-wrapper.hidden {
        display: none !important;
    }

    .persona-sp-image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
    }

    .persona-sp-image {
        width: 150px;
        height: 150px;
        object-fit: contain;
        object-position: bottom;
        display: block !important;
    }

    #caution {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .caution-card h3 {
        font-size: 1.4rem;
    }
    .caution-icon {
        width: 100px;
        height: 100px;
    }
}

#ambassador h3{
    letter-spacing: 3px;
}
