/* 入会ガイドページ専用CSS */

/* フォント設定 */
.guide-container,
.guide-container * {
    font-family: 'Noto Sans JP', sans-serif;
}

/* 既存CSSのリセット・調整 */
main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.lower {
    margin: 0 !important;
    padding: 0 !important;
}

/* モバイルファーストの基本スタイル */
.guide-container {
    width: 100%;
    background-color: #fff;
}

.guide-inner {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guide-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin: 0 auto;
}

.guide-title {
    font-size: 28px;
    font-weight: 700;
    color: #005c30;
    line-height: 120%;
    text-align: center;
    margin: 0;
    width: 100%;
    align-self: center;
}

.guide-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.guide-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-header {
    background-color: #005c30;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    width: 100%;
    align-self: center;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 120%;
    margin: 0;
    flex: 1;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    align-self: center;
}

.login-description,
.jrid-note {
    width: 100%;
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
    color: #000;
    text-align: left;
}

.login-description p,
.jrid-note p {
    margin: 0;
}

.guide-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.jrid-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    color: #000;
    align-self: center;
}

.jrid-links p {
    margin: 0;
    font-weight: 500;
}

.jrid-links strong {
    color: #005c30;
}

.jrid-links ul {
    margin: 8px 0 0 0;
    padding-left: 21px;
    color: #005c30;
    list-style: disc;
    list-style-position: outside;
}

.jrid-links li {
    margin-bottom: 4px;
    line-height: 1.5;
    list-style: disc !important;
    display: list-item;
}

.jrid-link {
    text-decoration: underline;
    color: #005c30;
}

.step-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: center;
    margin-bottom: 8px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
    color: #005c30;
    margin: 0;
}

.step-description {
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
    color: #000;
    margin-top: 4px;
}

.step-description p {
    margin: 0;
}

.mypage-link {
    text-decoration: underline;
    color: #005c30;
}

.auto-renew-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: center;
}

/* PC版のメディアクエリ */
@media (min-width: 768px) {
    .guide-inner {
        padding: 80px 60px;
        
    }

    .guide-content {
        gap: 80px;
    }

    .guide-sections {
        gap: 60px;
    }

    .guide-section {
        gap: 32px;
    }

    .section-content {
        gap: 32px;
    }

    .section-header {
        padding: 8px 24px;
    }

    .step-list {
        gap: 24px;
    }

    .step-item {
        margin-bottom: 12px;
    }

    .guide-content {
        max-width: 1233px;
    }

    .guide-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 24px;
    }

    .step-title {
        font-size: 20px;
    }

    .guide-img {
        max-width: 800px;
    }

    /* PC版での画像幅調整 */
    .login-image .guide-img,
    .payment-image .guide-img {
        max-width: 445px;
    }

    .entry-image .guide-img,
    .completion-image .guide-img {
        max-width: 445px;
    }

    .mypage-image .guide-img {
        max-width: 800px;
    }
}

/* レスポンシブ対応：改行制御 */
.sp {
    display: inline;
}

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

/* PC大画面用 */
@media (min-width: 1200px) {
    .guide-content {
        max-width: 1233px;
        width: 100%;
    }
}