/* ================================================
   Bloom LP - Mobile First Redesign
   Target: 28-45歳会社員・副業層・子育て世代
   ================================================ */

/* ========== STEP 2: Hero Badges ========== */
.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    white-space: nowrap;
}

.hero-badge i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-badges {
        gap: 8px;
        margin-top: 28px;
    }
    
    .hero-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ========== STEP 3: Stats Horizontal Cards ========== */
.hero-stats-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0 20px;
}

.stat-compact-card {
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,153,255,0.1));
    border: 2px solid rgba(0,212,255,0.2);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-compact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,212,255,0.4);
    box-shadow: 0 10px 30px rgba(0,212,255,0.2);
}

.stat-compact-number {
    font-size: 48px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-compact-number span {
    font-size: 32px;
}

.stat-compact-label {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-stats-compact {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-compact-number {
        font-size: 36px;
    }
    
    .stat-compact-number span {
        font-size: 24px;
    }
    
    .stat-compact-label {
        font-size: 13px;
    }
}

/* ========== STEP 4: Pain Cards Compact ========== */
.pain-stories-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.pain-card-compact {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.pain-card-compact:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 192, 192, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pain-card-compact .pain-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pain-headline-short {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pain-detail {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pain-checks {
    text-align: center;
}

.pain-checks p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin: 8px 0;
}

.pain-checks .check-icon {
    display: inline-block;
    color: #00d4ff;
    font-weight: 700;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .pain-stories-compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pain-card-compact {
        padding: 25px 20px;
    }
    
    .pain-headline-short {
        font-size: 17px;
    }
    
    .pain-detail {
        font-size: 14px;
    }
}

/* ========== STEP 5: Pain Conclusion Simple (No Box) ========== */
.pain-conclusion-simple {
    text-align: center;
    max-width: 900px;
    margin: 60px auto 40px;
}

.conclusion-text-emphasis {
    font-size: 22px;
    line-height: 2;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #00d4ff;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.conclusion-text-emphasis strong {
    font-weight: 900;
}

/* Pain Truth (Agitation Video Section) */
.pain-truth {
    max-width: 900px;
    margin: 60px auto 80px;
    text-align: center;
}

.truth-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.5;
}

.truth-video {
    max-width: 500px;
    margin: 30px auto;
}

.truth-text {
    font-size: 18px;
    line-height: 2;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .pain-conclusion-simple {
        margin: 40px auto 30px;
    }
    
    .conclusion-text-emphasis {
        font-size: 18px;
        line-height: 1.9;
    }
    
    .truth-title {
        font-size: 24px;
    }
    
    .truth-video {
        max-width: 100%;
    }
    
    .truth-text {
        font-size: 16px;
        line-height: 1.9;
    }
}

/* ========== STEP 6: Feature List (画像の下、縦並び) ========== */
.showcase-features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item-vertical {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.feature-item-vertical:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.feature-item-vertical .feature-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,153,255,0.2));
    border: 2px solid rgba(0,212,255,0.4);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
    color: #00d4ff;
}

.feature-item-vertical .feature-content {
    flex: 1;
}

.feature-item-vertical .feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-item-vertical .feature-description {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .showcase-features-list {
        gap: 25px;
        margin-top: 40px;
    }
    
    .feature-item-vertical {
        padding: 30px 25px;
        gap: 20px;
    }
    
    .feature-item-vertical .feature-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .feature-item-vertical .feature-title {
        font-size: 19px;
    }
    
    .feature-item-vertical .feature-description {
        font-size: 15px;
    }
}

/* ========== STEP 7: Use Case Compact (赤枠内に収める) ========== */
.usecase-section {
    background: var(--black);
    padding: 100px 0;
}

.usecase-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usecase-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.usecase-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.usecase-card {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usecase-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px; /* 短縮 */
    text-align: center;
    line-height: 1.5;
}

.usecase-content {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.usecase-before,
.usecase-after {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    display: inline-block;
    padding: 8px 20px; /* コンパクト */
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px; /* 短縮 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label-before {
    background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(220,38,38,0.2));
    border: 2px solid rgba(239,68,68,0.4);
    color: #ef4444;
}

.label-after {
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,153,255,0.2));
    border: 2px solid rgba(0,212,255,0.4);
    color: #00d4ff;
}

.usecase-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 15px;
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.usecase-before p,
.usecase-after p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    text-align: center;
    max-width: 100%;
    margin: 0;
    padding: 0 10px;
}

.usecase-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #00d4ff;
    align-self: center; /* 中央配置 */
}

@media (max-width: 1024px) {
    .usecase-section .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .usecase-content {
        gap: 40px;
    }
    
    .usecase-image {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .usecase-section {
        padding: 60px 0;
    }
    
    .usecase-section .container {
        padding: 0 20px;
    }
    
    .usecase-grid {
        gap: 70px;
    }
    
    .usecase-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .usecase-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .usecase-image {
        max-width: 100%;
    }
    
    .usecase-before p,
    .usecase-after p {
        font-size: 15px;
    }
    
    .usecase-arrow {
        font-size: 36px;
    }
}

/* ========== Comparison Table: Horizontal Scroll on Mobile ========== */
.comparison-table-wrapper {
    width: 100%;
    margin-bottom: 0;
}

.comparison-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

/* スクロールヒント（スマホのみ） */
.comparison-table-scroll::after {
    display: none;
}

.comparison-table-inner {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px; /* スマホでもテーブル幅を確保してスクロール発動 */
}

/* ========== STEP 8: Comparison Mobile Cards ========== */
@media (max-width: 768px) {
    /* スクロールサインをアンケートテキストと被らないよう下にずらす */
    .scroll-indicator {
        bottom: -40px !important;
    }
    
    .comparison-table {
        display: none; /* Hide PC table */
    }
    
    .comparison-table-wrapper {
        margin-bottom: 0;
    }

    .comparison-table-scroll {
        border-radius: 10px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }

    /* スマホ版テーブル文字サイズ調整 */
    .comparison-table-inner th {
        font-size: 10px !important;
        padding: 10px 6px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
    }

    .comparison-table-inner td {
        font-size: 11px !important;
        padding: 12px 6px !important;
    }

    .comparison-table-inner .method-name {
        font-size: 11px !important;
        font-weight: 700 !important;
        white-space: nowrap;
    }

    .comparison-table-inner .method-col {
        min-width: 80px;
    }

    .comparison-table-inner .check-col {
        min-width: 52px;
    }

    .comparison-table-inner .icon-yes,
    .comparison-table-inner .icon-no,
    .comparison-table-inner .icon-partial {
        font-size: 14px !important;
    }

    /* スクロールヒント */
    .comparison-table-wrapper::after {
        content: "← スワイプで横スクロール →";
        display: block;
        text-align: center;
        font-size: 11px;
        color: rgba(255,255,255,0.4);
        margin-top: 8px;
        letter-spacing: 0.05em;
    }
    
    .comparison-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .comparison-method-card {
        background: rgba(26, 26, 26, 0.8);
        border: 1px solid rgba(192, 192, 192, 0.15);
        border-radius: 15px;
        padding: 25px 20px;
    }
    
    .comparison-method-card.bloom-highlight {
        background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,153,255,0.15));
        border-color: rgba(0,212,255,0.4);
        box-shadow: 0 10px 30px rgba(0,212,255,0.2);
    }
    
    .comparison-method-name {
        font-size: 20px;
        font-weight: 900;
        color: #fff;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .bloom-highlight .comparison-method-name {
        background: linear-gradient(135deg, #00d4ff, #0099ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 24px;
    }
    
    .comparison-criteria {
        display: grid;
        gap: 12px;
    }
    
    .comparison-criteria-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }
    
    .comparison-criteria-label {
        font-size: 14px;
        color: rgba(255,255,255,0.8);
        font-weight: 600;
    }
    
    .comparison-criteria-value {
        font-size: 20px;
    }
}

@media (min-width: 769px) {
    .comparison-mobile-cards {
        display: none;
    }
}

/* ========== STEP 9: Testimonials Enhanced ========== */
.testimonial-card {
    position: relative;
}

.testimonial-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,153,255,0.2));
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-headline {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 20px 0 15px;
    line-height: 1.5;
}

.testimonial-quote {
    /* 全文表示 */
    display: block;
    overflow: visible;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* ========== STEP 11: FAQ Reorder & Initial Open ========== */
/* JavaScript handles accordion open/close */
/* Priority questions moved to top in HTML */

/* ========== Benefit Icons Enhanced ========== */
.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,153,255,0.2));
    border: 2px solid rgba(0,212,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0,212,255,0.4);
}

.benefit-icon i {
    font-size: 24px;
}

/* ========== STEP 12: Final CTA Simplified ========== */
.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.final-cta-product-summary {
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.final-cta-benefits {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    padding: 0;
    text-align: left;
    width: auto;
}

/* wrapper to center the inline-flex list */
.final-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    white-space: nowrap;
}

.final-cta-benefit i {
    color: #00d4ff;
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .final-cta-title {
        font-size: 24px;
    }
    
    .final-cta-product-summary {
        font-size: 16px;
    }
    
    .final-cta-benefits {
        gap: 12px;
    }
    
    .final-cta-benefit {
        font-size: 15px;
    }
}
