/* TOP応募方法：行ごとの高さを共有し、内容を上下中央に配置 */
.top-page #methods .method-grid {
    grid-auto-rows:auto;
    align-items:stretch;
}

.top-page #methods .method-card {
    display:grid;
    grid-template-rows:80px auto auto;
    align-content:center;
    justify-items:center;
    row-gap:8px;
    min-height:200px;
    padding:24px 16px;
}

.top-page #methods .method-icon,
.top-page #methods .method-icon.line,
.top-page #methods .method-icon.point {
    display:flex;
    align-items:center;
    justify-content:center;
    width:90px;
    height:80px;
    margin:0;
}

.top-page #methods .method-icon img {
    display:block;
    width:90px;
    height:80px;
    object-fit:contain;
}

.top-page #methods .method-card h3 {
    margin:0;
    text-align:center;
    line-height:1.35;
}

.top-page #methods .method-card p {
    margin:0;
    max-width:100%;
    text-align:center;
    line-height:1.5;
    min-height:0;
}

/* 下段は説明文2行分を共通で確保し、3枚の見出し位置をそろえる */
@media (min-width:761px) {
    .top-page #methods .method-card:nth-child(n+4) {
        grid-template-rows:80px auto 3em;
    }
}

@media (max-width:760px) {
    .top-page #methods .method-card {
        grid-template-rows:60px auto 3em;
        row-gap:6px;
        min-height:190px;
        padding:18px 8px;
    }

    .top-page #methods .method-icon,
    .top-page #methods .method-icon.line,
    .top-page #methods .method-icon.point,
    .top-page #methods .method-icon img {
        width:64px;
        height:60px;
    }
}
