/* ========================================
   HOW-TO-USE.CSS - how-to-use.html専用スタイル
   使い方、ステップガイド、認知シャッフル、FAQ
   ======================================== */

/* Usage Overview */
.usage-overview {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.overview-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.overview-description {
    font-size: 18px;
    color: #4A5565;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.overview-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    background: linear-gradient(135deg, #9810FA 0%, #155DFC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #4A5565;
}

/* Step Guide */
.step-guide {
    padding: 80px 0;
    background: #F9FAFB;
}

.step-detail {
    margin-bottom: 80px;
}

.step-detail-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
}

.step-detail-reverse .step-detail-content {
    grid-template-columns: 1fr 200px;
}

.step-detail-reverse .step-number-large {
    order: 2;
}

.step-detail-reverse .step-text {
    order: 1;
}

.step-number-large {
    position: sticky;
    top: 100px;
    text-align: center;
}

.step-number-large img {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #9810FA 0%, #155DFC 100%);
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 16px;
}

.step-number-large span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #9810FA;
}

.step-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.step-main-description {
    font-size: 16px;
    color: #4A5565;
    line-height: 1.8;
    margin-bottom: 32px;
}

.step-details-box {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #E5E7EB;
}

.step-details-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-details-box ul {
    list-style: none;
    padding: 0;
}

.step-details-box li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: #4A5565;
    line-height: 1.6;
}

.step-details-box li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #9810FA;
    font-size: 18px;
}

.step-details-box strong {
    color: #101828;
}

.step-example {
    background: linear-gradient(135deg, rgba(152, 16, 250, 0.05) 0%, rgba(21, 93, 252, 0.05) 100%);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.step-example h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.example-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #4A5565;
}

.generation-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.flow-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
}

.flow-item.input {
    background: linear-gradient(135deg, #9810FA 0%, #155DFC 100%);
    color: #fff;
    border: none;
    font-weight: 600;
}

.flow-arrow {
    color: #9810FA;
    font-size: 20px;
}

.example-note {
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.setting-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.setting-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.setting-card h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.setting-card p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

.step-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #92400E;
}

.step-note strong {
    color: #78350F;
}

/* Cognitive Shuffle Section */
.cognitive-shuffle {
    padding: 80px 0;
    background: #fff;
}

.cognitive-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cognitive-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cognitive-header img {
    width: 48px;
    height: 48px;
}

.cognitive-header h2 {
    font-size: 32px;
}

.cognitive-description {
    font-size: 16px;
    color: #4A5565;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 48px;
}

.cognitive-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cognitive-point {
    text-align: center;
}

.point-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cognitive-point h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.cognitive-point p {
    font-size: 14px;
    color: #4A5565;
    line-height: 1.6;
}

/* Usage Tips */
.usage-tips {
    padding: 80px 0;
    background: #F9FAFB;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tip-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tip-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #9810FA 0%, #155DFC 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.tip-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.tip-card p {
    font-size: 14px;
    color: #4A5565;
    line-height: 1.6;
}

/* FAQ Preview */
.faq-preview {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #F9FAFB;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 18px;
    color: #101828;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    color: #4A5565;
    line-height: 1.8;
}

/* Responsive Styles - how-to-use.html */
@media (max-width: 768px) {
    .cognitive-points,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .step-detail-content,
    .step-detail-reverse .step-detail-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step-detail-reverse .step-number-large,
    .step-detail-reverse .step-text {
        order: initial;
    }
    
    .step-number-large {
        position: relative;
        top: 0;
    }
    
    .overview-stats {
        gap: 32px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .usage-overview,
    .step-guide,
    .cognitive-shuffle,
    .usage-tips,
    .faq-preview {
        padding: 60px 0;
    }
    
    .overview-content h2,
    .cognitive-header h2 {
        font-size: 24px;
    }
    
    .step-text h3 {
        font-size: 22px;
    }
    
    .overview-stats {
        flex-direction: column;
        gap: 24px;
    }
}
