@charset "utf-8";

/*
* カタログ
* --------------------------------------------------
*/
.catalog-title {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: #900000;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0px;
    text-align: center;
    color: #ffffff;
    padding: 30px;
}

.v3-form-catalog {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding: 15px;
    gap: 15px;
    background: #efefef;
}

.v3-form-catalog li {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - 30px) / 3);
    height: auto;
    position: relative;
    background: #ffffff;
    padding: 3cqi;
    gap: 15px;
    flex-direction: column;
}

.v3-form-catalog h4 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 2cqi;
    line-height: 1.5;
    letter-spacing: 0px;
    height: auto;
    word-break: auto-phrase;
}

.v3-form-catalog p {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1cqi;
    line-height: 1.5;
    letter-spacing: 0px;
    height: auto;
    word-break: auto-phrase;
    flex-grow: 1;
}

.v3-form-catalog .img {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.v3-form-catalog .img img {
    width: 100%;
    height: auto;
}

.v3-form-catalog input[type="checkbox"] {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
}

.v3-form-catalog .button {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 5.2cqi;
    font-size: 1.2cqi;
    margin-bottom: 0px;
    line-height: 1;
    letter-spacing: 0px;
    padding: 2cqi;
    background: #333333;
    color: #ffffff;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.v3-form-catalog input[type="checkbox"]:checked~.button {
    font-size: 0;
    color: #ffffff;
    background: #900002;
}

.v3-form-catalog input[type="checkbox"]:checked~.button::before {
    content: '選択中';
    font-size: 1.2cqi;
    color: #ffffff;
}

@media (max-width: 767px) {
    .v3-form-catalog {
        margin-bottom: 15px;
    }

    .v3-form-catalog h4 {
        font-size: 3cqi;
        font-weight: 600;
    }

    .v3-form-catalog p {
        font-size: 2.2cqi;
    }

    .v3-form-catalog li {
        width: calc((100% - 15px) / 2);
    }

    .v3-form-catalog .button {
        height: 7cqi;
        font-size: 3cqi;
    }

    .v3-form-catalog input[type="checkbox"]:checked~.button::before {
        font-size: 3cqi;
    }
}