.block1 {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 170px;
}
.block1 .head-block > h1 {
    max-width: 440px;
    margin: 0 auto 30px;
}

.block1 .head-block > h1 img {
    width: 100%;
}

.search-btn {
    background: #ff931e;
}

.ra_list {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 80px auto 0;
    gap: 75px 16px;
    flex-wrap: wrap;
}

.ra_list a {
    width: calc(calc(100% - 32px) / 3);
    border-radius: 12px;
    position: relative;
    border: solid 2px black;
    padding: 20px;
    background-color: white;
}

.ra_list a .genre1 {
    width: 200px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: white;
    border: solid 2px black;
}

.ra_list a .genre1 p {
    font-size: 14px;
    text-align: center;
}

.ra_list a .img_box {
    width: 100%;
    aspect-ratio: 340/240;
    background-color: #e6e6e6;
}

.ra_list a .img_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ra_list a .genre2 {
    width: 125px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff931e;
}

.ra_list a .genre2 p {
    font-size: 16px;
    color: white;
    text-align: center;
}

.ra_list a .text_block {
    max-width: 320px;
    margin: 15px auto 0;
    min-height: 155px;
}

.ra_list a .text_block h3 {
    font-size: 22px;
    line-height: 28px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ra_list a .text_block .content {
    font-size: 16px;
    line-height: 28px;
    margin-top: 5px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ra_list a .text_block .area {
    font-size: 16px;
    line-height: 28px;
}

.ra_list a .arrow {
    width: 38px;
    position: absolute;
    bottom: -20px;
    right: 27px;
}

@media screen and (max-width: 1000px) {
    .block1 .head-block > h1 {
        max-width: 380px;
        margin: 0 auto 20px;
    }

    .ra_list {
        max-width: 650px;
    }

    .ra_list a {
        width: calc(calc(100% - 16px) / 2);
    }

    .ra_list a .genre1 {
        width: 175px;
    }

    .ra_list a .genre1 p {
        font-size: 13px;
    }

    .ra_list a .genre2 {
        width: 115px;
        height: 28px;
    }

    .ra_list a .genre2 p {
        font-size: 14px;
    }

    .ra_list a .text_block {
        min-height: 145px;
    }

    .ra_list a .text_block h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .ra_list a .text_block .content,
    .ra_list a .text_block .area {
        font-size: 14px;
        line-height: 24px;
    }

    .ra_list a .arrow {
        right: 15px;
    }
}

@media screen and (max-width: 800px) {
    .block1 .head-block > h1 {
        max-width: 300px;
        margin: 0px auto 15px;
    }
}

@media screen and (max-width: 600px) {
    .ra_list {
        gap: 60px 10px;
    }

    .ra_list a {
        width: calc(calc(100% - 10px) / 2);
        padding: 20px 10px;
    }

    .ra_list a .text_block {
        margin-top: 10px;
    }

    .ra_list a .text_block h3 {
        font-size: 16px;
        line-height: 26px;
    }

    .ra_list a .genre1 {
        width: 145px;
    }

    .ra_list a .genre1 p {
        font-size: 12px;
    }

    .ra_list a .arrow {
        width: 30px;
        bottom: -16px;
    }
}

@media screen and (max-width: 450px) {
    .ra_list a .genre1 {
        width: 130px;
    }

    .ra_list a .genre2 {
        width: 100px;
        height: 26px;
    }

    .ra_list a .genre2 p {
        font-size: 12px;
    }

    .ra_list a .text_block {
        min-height: 125px;
    }

    .ra_list a .text_block h3 {
        font-size: 14px;
        line-height: 24px;
    }

    .ra_list a .text_block .content,
    .ra_list a .text_block .area {
        font-size: 13px;
        line-height: 20px;
    }
}
