/*===================
メニュー
=====================*/
.under_title {
    background-image: url(../../img/menu_main.jpg);
}

main ul {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

main ul li {
    border-top: 1px solid #999;
    border-left: 1px solid #999;
}

main ul li:last-child {
    border-right: 1px solid #999;
}

main ul li a {
    display: block;
    text-align: center;
    color: #999;
    padding: 1rem;
}

main .tab_contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main .tab_contents a {
    display: block;
    width: 20.5%;
}

main .tab_contents::before,
main .tab_contents::after {
    content: "";
    position: static;
    width: 20.5%;
    height: 0;
}

main .tab_contents::before {
    order: 1;
}

@media screen and (max-width:768px) {
    main .tab_contents a {
        width: 30%;
    }

    main .tab_contents::before,
    main .tab_contents::after {
        width: 30%;
    }
}

/*=====max-width:768px=====*/

@media screen and (max-width:430px) {
    main .tab_contents a {
        width: 100%;
    }
}

/*=====max-width:430px=====*/


/*===================
各ケーキのページ
=====================*/
main>section {
    overflow: hidden;
}

main>section>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    padding: 50px;
}

main>section>div::before,
main>section>div::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(247, 114, 55, 0.2);
    top: 0;
    left: 0;
    z-index: -10;
}

main>section>div::before {
    transform: skew(-10deg);
}

main>section>div::after {
    transform: skew(10deg);
}

.cake_wrap {
    width: 40%;
}

.cake_img {
    width: 50%;
}

.cake_wrap .title {
    text-align: left;
}

.cake_wrap .cake_explanation p {
    overflow-wrap: break-word;
    /* word-break: break-all; */
}

.cake_wrap dl {
    display: flex;
}

.cake_wrap dl dt {
    width: 8rem;
}

.cake_wrap dl dd::before {
    content: ":";
    margin-right: 1rem;
}

@media screen and (max-width:768px) {
    main>section {
        padding-top: 70px;
    }
}

/*=====max-width:768px=====*/


@media screen and (max-width:670px) {
    .cake_wrap {
        width: 60%;
    }

    .cake_img {
        width: 35%;
    }
}

/*=====max-width:670px=====*/

@media screen and (max-width:500px) {
    .cake_wrap {
        width: 100%;
        margin-bottom: 30px;
    }

    .cake_img {
        width: 100%;
    }
}

/*=====max-width:500px=====*/