﻿/* ==========================================================================
   ページタイトル
   ========================================================================== */
#pagetitle {
    background: url('../../img/support/title.webp') no-repeat top center;
    background-size: cover;
    padding: 4rem 1rem;
    text-align: center;
    margin: 0 0 3rem;
}

/* ==========================================================================
   ページラッパー
   ========================================================================== */
.support-wrap {
    max-width: 60rem;
    margin: 0 auto 5rem;
    padding: 0 1rem;
    color: #333;
    font-family: sans-serif;
    box-sizing: border-box;
}

/* ==========================================================================
   イントロセクション
   ========================================================================== */
.support-intro {
    margin: 7rem 0;
    text-align: center;
}

.support-intro__title {
    font-size: 1.875rem;
    color: #eb8813;
    margin: 0 0 3rem;
    line-height: 1.4;
}

.support-intro__text {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    display: inline-block;
    text-align: left;
}

/* ==========================================================================
   カード一覧グリッド
   ========================================================================== */
.support-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ==========================================================================
   カードパーツ（BEM設計）
   ========================================================================== */
.support-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(235, 136, 19, 0.15);
}

.support-card__img-wrap {
    width: 100%;
    margin-bottom: 0.75rem;
}

.support-card__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.375rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.support-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #eb8813;
    line-height: 1.4;
    text-align: center;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-card__line {
    display: block;
    width: 100%;
    height: 0.25rem;
    background-color: #f7d8a6;
    border-radius: 0.125rem;
    margin: 0.75rem auto 1rem;
}

.support-card__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.support-card:hover .support-card__desc {
    text-decoration: underline;
}

/* ==========================================================================
   スマホ用設定（レスポンシブ）
   ========================================================================== */
@media (max-width: 767px) {
    #pagetitle {
        background-image: url('../../img/support/title-sp.webp');
        padding: 3rem 1rem;
    }

    .support-wrap {
        margin-bottom: 3rem;
    }

    .support-intro {
        margin-top: 2.5rem;
        margin-bottom: 3.5rem;
    }

    .support-intro__title {
        font-size: 1.5rem;
    }

    .support-list {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .support-card {
        padding: 0;
    }

    .support-card__title {
        min-height: auto;
    }
}