h2 + p {
    padding: 1rem;
}

#main section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 4rem;
}
section div {
    width: 32%;
    text-align: center;
}
div.catalog {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    margin-bottom: 1rem;
}
div.catalog::before {
    content: '読み込み中…';
    font-size: 0.8rem;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}
canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    height: 100%;
    border: 1px solid gray;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
#main div.link_wrap {
    border: 1px solid gray;
    padding: 1rem;
}
#main div.link_wrap:nth-child(n + 4) {
    margin-top: 5rem;
}

#main div.dummy {
    height: 0;
    margin: auto;
}
.inner {
    max-width: 1200px;
}
.inner .flex {
    justify-content: space-between;
}


@media screen and (max-width: 1000px) {
    #main div.inner div.flex {
        margin: 3rem auto;
    }
    #main div.link_wrap {
        width: 80%;
        margin-top: 5rem;
        border: none;
        padding: 0;
    }
    #main div.link_wrap:first-child {
        margin-top: 0;
    }
}