.sp{
    display: none;
}

.category__wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap
}

.category__wrapper li a {
    display: block;
    width: 200px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #000;
    border-radius: 30px;
    font-size: 1.3rem;
    font-family: "Lora", serif;
    padding: 9px 18px;
    color: #000;
    transition: .3s;
    cursor: pointer
}

.category__wrapper li a:hover {
    background-color: #000;
    color: #fff
}

.category__parent {
    margin-top: 100px
}

.category__parent h2 {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: "Lora", serif;
    padding-bottom: 15px;
    border-bottom: 1px solid #000
}

.category__parent h2.bordernone {
    border-bottom: none
}
.category__parent p.category__text {
    font-size: 18px;
    line-height: 2.2;
}
.category__parent .recommend__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 70px 80px;
    align-items: center;
    flex-wrap: wrap
}

.category__parent .recommend__wrapper__item {
    width: calc(50% - 40px)
}

.category__parent .recommend__wrapper__item img {
    width: 100%;
    height: auto;
    /* border: 1px solid #aaa; */
}

.category__parent .recommend__wrapper__item p {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 12px
}

.category__parent .item {
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #aaa
}

.category__parent .item.course__item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 50px 0
}

.category__parent .item.course__item dl {
    justify-content: flex-start
}

.category__parent .item.course__item dl dt {
    font-family: "Lora", serif;
    width: 140px
}

.category__parent .item.course__item dl dd {
    width: 100%;
    font-family: "Shippori Mincho", serif
}

.category__parent .item__wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px
}

.category__parent .item__wrap h3 {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: "Lora", serif;
    padding: 0;
    border-bottom: none;
}

.category__parent .item__wrap p {
    font-size: 2rem;
    font-weight: 700
}

.category__parent .item__wrap p.price {
    font-family: "Lora", serif
}

.category__parent .item dl {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-top: 22px
}

.category__parent .item dl dt {
    font-size: 1.8rem;
    width: fit-content;
    padding-left: 20px
}

.category__parent .item dl dt span {
    font-size: 1.5rem
}

.category__parent .item dl dd {
    margin-top: -5px;
    font-size: 1.8rem;
    font-family: "Lora", serif
}

.category__parent.alacarte .item dl dd {
    margin-top: 5px
}

@media screen and (min-width: 768px)and (max-width: 974px) {
    .category__wrapper {
        flex-wrap: wrap
    }

    .category__wrapper li {
        width: calc(50% - 15px)
    }

    .category__wrapper li a {
        width: auto
    }

    .category__parent .recommend__wrapper {
        gap: 40px 50px;
        align-items: flex-start
    }

    .category__parent .recommend__wrapper__item {
        width: calc(50% - 25px)
    }

    .category__parent .recommend__wrapper__item p {
        font-size: 1.6rem
    }

    .category__parent .item.course__item img {
        height: auto;
        margin: 35px 0
    }

    .category__parent .item.course__item dl {
        justify-content: flex-start;
        flex-direction: column;
        gap: 20px
    }

    .category__parent .item.course__item dl dt {
        padding-left: 0
    }

    .category__parent .item.course__item dl dd {
        padding-left: 20px
    }
}

@media screen and (max-width: 768px) {
    .sp{
        display: block;
    }
    .category__wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 45px
    }

    .category__wrapper li {
        width: min(100%, 300px)
    }

    .category__wrapper li a {
        width: auto
    }

    .category__parent {
        margin-top: 60px
    }

    .category__parent h2 {
        font-size: 2rem;
        padding-bottom: 40px
    }

    .category__parent .recommend__wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        flex-wrap: wrap
    }

    .category__parent .recommend__wrapper__item {
        width: 100%
    }

    .category__parent .recommend__wrapper__item p {
        font-size: 1.5rem
    }

    .category__parent .item {
        margin-top: 30px;
        padding-bottom: 30px
    }

    .category__parent .item.course__item img {
        height: auto;
        margin: 25px 0
    }

    .category__parent .item.course__item dl {
        justify-content: flex-start;
        flex-direction: column;
        gap: 20px
    }

    .category__parent .item.course__item dl dt {
        width: 100%;
        padding-left: 0
    }

    .category__parent .item.course__item dl dd {
        padding-left: 20px
    }

    .category__parent .item__wrap {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px
    }

    .category__parent .item dl {
        gap: 50px;
        margin-top: 16px
    }

    .category__parent .item dl dt {
        font-size: 1.5rem
    }

    .category__parent .item dl dd {
        margin-top: -3px;
        font-size: 1.5rem
    }

    .category__parent.alacarte .item dl dd {
        margin-top: 5px
    }
    .category__parent p.category__text {
        font-size: 15px;
    }
}