/* achievements-detail.css (詳細ページ用、ネスト風コメント付き) */
.achievements {

    /* ページタイトル */
    h1 {
        position: relative;
        text-align: center;
        background-color: rgb(245, 225, 187);

        font-weight: bold;
        font-family: 'Shippori Mincho', serif;
        font-size: 18px;

        color: rgb(31, 45, 61);
        /* header ネイビーブルー */

        padding: 12px;
        margin: 0 -18px 16px;

        @media (width <=767px) {
            margin: 0 -14px 16px;
        }

        &::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 8px;
            width: 8px;
            height: 100%;
            background-color: rgb(31, 45, 61);
        }
    }

    /* リード文 */
    .section-lead {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 32px;
        color: #555;
    }

    /* 個別事例 */
    article {
        max-width: 700px;
        background: rgba(255, 183, 77, 0.15);
        /* 淡いオレンジ */
        padding: 24px;
        margin: 0 auto;
        margin-bottom: 32px;
        border-radius: 12px;
        border: 1px solid rgb(255, 128, 0);
        box-shadow: 0 8px 24px rgba(14, 20, 30, 0.08);
        display: flex;
        flex-direction: column;
        gap: 12px;

        h2 {
            font-size: 18px;
            margin-bottom: 0.8rem;
            color: #111;
            border-left: 4px solid rgb(255, 128, 0);
            padding-left: 0.6rem;
            font-weight: bold;
        }

        p {
            margin: 0;
            font-size: 0.97rem;
            color: #555;
        }

        .challenge,
        .solution,
        .result,
        .comment {
            margin-bottom: 6px;
        }

        img {
            width: 400px;
            height: 300px;
            object-fit: cover;
            border-radius: 8px;
            margin-top: 12px;
        }

        a {
            display: inline-block;
            margin-top: 8px;
            color: #1f8ceb;
            text-decoration: underline;
            font-weight: 500;
        }
    }

    /* SEO手法・まとめ */
    section.seo-method,
    section.summary {
        margin-top: 48px;
        margin-bottom: 32px;

        h2 {
            font-size: 18px;
            margin-top: 1.8rem;
            margin-bottom: 0.8rem;
            color: #111;
            border-left: 4px solid rgb(255, 128, 0);
            padding-left: 0.6rem;
            font-weight: bold;
        }

        h3 {
            font-weight: bold;
        }

        p {
            font-size: 15px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 24px;
        }
    }

    /* レスポンシブ */
    @media (max-width: 1024px) {
        padding: 32px;

        article.achievement img {
            height: 180px;
        }
    }

    @media (max-width: 600px) {
        padding: 24px;

        article.achievement img {
            height: 160px;
        }
    }
}