/* =========================================================
   guide.css
   画像中心の操作ガイド共通スタイル
   ========================================================= */

.guide-page {
    padding: 32px 0 48px;
}

.guide-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.guide-hero {
    margin-bottom: 48px;
}

.guide-eyebrow,
.guide-chapter-label,
.guide-step-number {
    margin: 0;
    color: var(--color-main);
    font-weight: 700;
    letter-spacing: .12em;
}

.guide-eyebrow {
    margin-bottom: 8px;
    font-size: .75rem;
}

.guide-introduction {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--color-text-light);
    font-size: .95rem;
    line-height: 1.9;
}

.guide-chapter {
    margin-bottom: 64px;
}

.guide-chapter:last-child {
    margin-bottom: 0;
}

.guide-chapter-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.guide-chapter-label {
    margin-bottom: 3px;
    font-size: .7rem;
}

.guide-chapter-title {
    margin: 0;
    font-size: 1.45rem;
}

.guide-step-list {
    display: grid;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.guide-step-card {
    gap: 20px;
    padding: 24px;
    overflow: hidden;
}

.guide-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guide-step-number {
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid rgba(12, 96, 64, .24);
    border-radius: 999px;
    background: #eef8f3;
    font-size: .72rem;
    line-height: 1;
}

.guide-step-number span {
    font-size: .9rem;
}

.guide-step-title {
    margin: 0;
    font-size: 1.2rem;
}

.guide-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #f4f6f5;
}

.guide-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.guide-step-description {
    margin: 0;
    font-size: .95rem;
    line-height: 1.9;
}

.guide-note,
.guide-completion {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 8px;
}

.guide-note {
    padding: 22px 24px;
    border: 1px solid #cbded4;
    background: #f3f9f6;
}

.guide-note > i {
    margin-top: 2px;
    color: var(--color-main);
    font-size: 1.15rem;
}

.guide-note p {
    margin: 0 0 8px;
    line-height: 1.8;
}

.guide-note p:last-child {
    margin-bottom: 0;
}

.guide-completion {
    margin: 0;
    padding: 13px 16px;
    background: #e7f4ec;
    color: #245f3e;
    font-size: .9rem;
    line-height: 1.7;
}

.guide-completion > i {
    margin-top: 3px;
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .guide-page {
        padding: 24px 0 36px;
    }

    .guide-hero {
        margin-bottom: 36px;
    }

    .guide-chapter {
        margin-bottom: 48px;
    }

    .guide-chapter-header {
        margin-bottom: 18px;
    }

    .guide-chapter-title {
        font-size: 1.25rem;
    }

    .guide-step-list {
        gap: 24px;
    }

    .guide-step-card {
        gap: 16px;
        padding: 18px 14px;
    }

    .guide-step-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .guide-step-title {
        font-size: 1.08rem;
    }

    .guide-image-frame {
        padding: 8px;
    }

    .guide-step-description {
        font-size: .9rem;
    }

    .guide-note {
        padding: 18px 16px;
        font-size: .9rem;
    }

}
