/* =========================
   特集ページ
========================= */

.feature-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    color: #333;
}


/* =========================
   ヒーロー
========================= */

.feature-hero {
    position: relative;
    margin-bottom: 60px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.feature-hero img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.feature-hero-text {
    padding: 30px;
    background: rgba(255, 255, 255, 0.96);
}

.feature-hero-text h1 {
    margin: 0 0 15px;
    font-size: 34px;
    line-height: 1.4;
}

.feature-hero-text p {
    margin: 0;
    font-size: 17px;
    line-height: 2;
}


/* =========================
   導入
========================= */

.feature-intro {
    max-width: 850px;
    margin: 0 auto 70px;
}

.feature-intro h2,
.feature-gallery h2,
.feature-related h2 {
    position: relative;
    margin-bottom: 25px;
    padding-left: 18px;
    font-size: 28px;
    line-height: 1.5;
}

.feature-intro h2::before,
.feature-gallery h2::before,
.feature-related h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: calc(100% - 10px);
    background: #6b8e23;
    border-radius: 5px;
}

.feature-intro p {
    font-size: 17px;
    line-height: 2;
}


/* =========================
   施工事例
========================= */

.feature-gallery {
    margin-bottom: 70px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* =========================
   記事カード
========================= */

.feature-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-card > a {
    display: block;
}

.feature-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.feature-card-body {
    padding: 22px;
}

.feature-card-body h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.6;
}

.feature-card-body h3 a {
    color: #333;
    text-decoration: none;
}

.feature-card-body h3 a:hover {
    text-decoration: underline;
}

.feature-card-body p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   関連記事
========================= */

.feature-related {
    max-width: 850px;
    margin: 0 auto;
}

.related-post {
    margin-bottom: 12px;
    padding: 18px 20px;
    background: #f7f7f7;
    border-radius: 8px;
}

.related-post a {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    text-decoration: none;
}

.related-post a:hover {
    text-decoration: underline;
}


/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

    .feature-page {
        padding: 25px 15px 60px;
    }

    .feature-hero {
        margin-bottom: 40px;
        border-radius: 10px;
    }

    .feature-hero img {
        max-height: 350px;
    }

    .feature-hero-text {
        padding: 22px 18px;
    }

    .feature-hero-text h1 {
        font-size: 26px;
    }

    .feature-hero-text p {
        font-size: 15px;
    }

    .feature-intro h2,
    .feature-gallery h2,
    .feature-related h2 {
        font-size: 23px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card img {
        height: 220px;
    }

    .feature-card-body {
        padding: 18px;
    }

    .feature-card-body h3 {
        font-size: 18px;
    }
}
