@charset "utf-8";
.isHide {
    display: none;
}
.recipe_result_page {
    position: relative;
}
.recipe_result_page .recipe_list_cover {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500;
}
.result_title {
    text-align: center;
    font-weight: 500;
    margin: 0 auto 24px;
    max-width: 800px;
    line-height: 1.4;
}
.result_title_main {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}
.empty_notes {
    text-align: center;
    padding: 50px 0;
    font-size: 16px;
    display: none;
}
.p-recipe_sort_wrap input[type="checkbox"], .p-recipe_sort_wrap input[type="radio"] {
    display: none;
}
.recipe_item_inner, .yasai_item_inner {
    cursor: pointer;
}
.recipe_item_inner label, .yasai_item_inner label {
    width: 180px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    background: #D8F0CD;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}
.recipe_item_inner label:hover, input[type="checkbox"]:checked + label, input[type="radio"]:checked + label, .yasai_item_inner label:hover {
    background: #A0E082;
}
.isHide {
    display: none;
}
@media screen and (max-width: 768px) {
    .p-sort_upper_flex, .sort_bottom_flex {
        display: block;
    }
    .result_title {
        margin-bottom: calc((30 / 375) * 100vw);
    }
    .result_title_main {
        font-size: calc((28 / 375) * 100vw);
    }
    .recipe_item_inner label, .yasai_item_inner label {
        width: calc((110 / 375) * 100vw);
        height: calc((26 / 375) * 100vw);
        font-size: calc((13 / 375) * 100vw);
        border-radius: 30px;
    }
}
/*ソート部分*/
.l-sort_wrap {
    padding-top: 40px;
    padding-bottom: 64px;
}
.p-menu_sort_hd {
    text-align: center;
    position: relative;
}
.p-menu_sort_hd::after {
    position: absolute;
    content: "";
    width: 200px;
    height: 8px;
    background: url("/kids_yasai/assets/img/common/ico-line01.svg") no-repeat center / contain;
    left: 0;
    right: 0;
    bottom: -24px;
    margin: auto;
}
.p-menu_sort_hd span {
    display: inline-block;
    width: 180px;
}
.sozai_sort_box {
    padding-top: 80px;
    display: grid;
    justify-content: center;
    grid-template-columns: 180px 180px 180px 180px 180px;
    gap: 16px;
}
.category_all, .recipe_item_inner, .sort_bottom_flex, .p-sort_right {
    display: contents !important;
}
@media screen and (max-width: 768px) {
    .l-sort_wrap {
        padding-top: calc((40 / 375) * 100vw);
        padding-bottom: calc((64 / 375) * 100vw);
    }
    .p-menu_sort_hd::after {
        width: calc((200 / 375) * 100vw);
        height: calc((8 / 375) * 100vw);
        bottom: calc((-24 / 375) * 100vw);
    }
    .p-menu_sort_hd span {
        width: calc((180 / 375) * 100vw);
    }
    .sozai_sort_box {
        padding-top: calc((64 / 375) * 100vw);
        grid-template-columns: calc((110 / 375) * 100vw) calc((110 / 375) * 100vw) calc((110 / 375) * 100vw);
        gap: calc((10 / 375) * 100vw);
    }
}
/*==========================================*/
/*PC & ALL*/
/*==========================================*/
/*Layout*/
.recipe_result_page {
    max-width: 1040px;
    margin: 0 auto;
    color: var(--main-txt-color);
}
.l-recipe_wrapper.recipe_list {
    display: grid;
    gap: 24px;
}
.listItem.p-recipe_block_wrap {
    padding: 40px;
    background: #FDF4DD;
    border-radius: 8px;
}
.p-recipe_figure, .p-sozai_flex {
    display: contents !important;
}
.p-recipe_block_inner {
    display: grid;
    align-items: flex-start;
    grid-template-rows: min-content 1fr;
    gap: 32px 40px;
}
@media screen and (min-width: 769px), print {
    .p-recipe_block_inner {
        grid-template-columns: 460px 460px;
    }
    .p-recipe_block_caption_title {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
    }
    .p-recipe_block_thumb {
        grid-row: 1 / 3;
        grid-column: 1 / 2;
    }
    .p-recipe_block_caption {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
    }
}
.p-recipe_block_caption_title {
    text-align: center;
    line-height: 1.4;
}
.main_recipename {
    margin-top: 4px;
    font-size: 25px;
    font-weight: bold;
    position: relative;
}
.main_recipename::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 8px;
    background: url("/kids_yasai/assets/img/common/ico-line02.svg") no-repeat center / contain;
    left: 0;
    right: 0;
    bottom: -16px;
    margin: auto;
}
.sub_catch {
    font-size: 18px;
    font-weight: bold;
}
.recipe_attr {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.recipe_attr_tag a {
    padding: 8px;
    font-size: 14px;
    line-height: 1;
    color: var(--main-txt-color);
    background: #fff;
    border: 1px solid var(--main-txt-color);
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.p-recipe_block_caption {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.6;
    background: #fff;
    border-radius: 8px;
}
.p-recipe_block_caption_list li {
    display: flex;
    gap: 4px;
}
.p-recipe_block_caption_list li::before {
    content: "・";
    font-weight: bold;
}
.p-recipe_ing {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.p-recipe_ing .ing_ttl {
    white-space: nowrap;
}
.p-recipe_ing .ing_figure img {
    height: 60px;
    width: auto;
}
/*2カラムレシピ*/
.listItem.p-sozai_col {
    padding: 40px;
    background: #FDF4DD;
    border-radius: 8px;
}
.p-sozai_block {
    display: grid;
    grid-template-rows: min-content 1fr;
    gap: normal 40px;
}
.p-sozai_block_inner {
    display: contents !important;
}
@media screen and (min-width: 769px), print {
    .p-sozai_block {
        align-items: flex-start;
        grid-template-columns: 460px 460px;
    }
    .p-sozai_block .p-recipe_block_thumb {
        grid-row: 1 / 2;
    }
    .p-sozai_block .recipe_attr {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
}
.p-sozai_block .p-recipe_ing {
    margin-top: 32px;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.6;
    background: #fff;
    border-radius: 8px;
}
/*レシピリンク*/
.p-recipe_detail a {
    width: 164px;
    height: 50px;
    margin: 16px auto 0;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: var(--main-txt-color);
    background: #fff;
    border: 3px solid #FFC847;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.p-recipe_detail a::after {
    position: absolute;
    content: "";
    width: .3em;
    height: .3em;
    border-top: 3px solid #FFC847;
    border-left: 3px solid #FFC847;
    transform: rotate(135deg);
    top: 0;
    bottom: 0;
    right: 1em;
    margin: auto;
}
.footer-bnr {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px dashed var(--main-txt-color);
}
.footer-bnr-inner {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 32px;
}
.footer-bnr-itm {
    width: 320px;
    flex-shrink: 0;
}
.footer-bnr-itm a {
    display: block;
    border: 1px solid #ddd;
}
.footer-bnr-ttl {
    padding-bottom: 8px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--main-txt-color);
    text-align: center;
}
/*@media screen and (min-width: 769px), print {
    .page-recipe a, .page-recipe a::after {
        -webkit-transition: 0.65s ease;
        transition: 0.65s ease;
    }
    .p-recipe_detail a:hover {
        color: #fff;
        background: #FFC847;
    }
    .p-recipe_detail a:hover::after {
        border-color: #fff;
    }
}*/
/*==========================================*/
/*SP*/
/*==========================================*/
@media screen and (max-width: 768px) {
    /*Layout*/
    .l-recipe_wrapper.recipe_list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: calc((24 / 375) * 100vw);
    }
    .listItem.p-recipe_block_wrap {
        width: 92vw;
        padding: calc((16 / 375) * 100vw);
        border-radius: calc((8 / 375) * 100vw);
    }
    .p-recipe_block_inner {
        display: block;
    }
    .p-recipe_block_caption_title {
        text-align: left;
    }
    .main_recipename {
        margin-top: calc((8 / 375) * 100vw);
        font-size: calc((20 / 375) * 100vw);
    }
    .p-main_recipename::after {
        width: calc((60 / 375) * 100vw);
        height: calc((8 / 375) * 100vw);
        bottom: calc((-16 / 375) * 100vw);
    }
    .sub_catch {
        font-size: calc((15 / 375) * 100vw);
    }
    .p-recipe_block_thumb {
        margin-top: calc((32 / 375) * 100vw);
    }
    .recipe_attr {
        margin-top: calc((8 / 375) * 100vw);
        gap: calc((8 / 375) * 100vw) calc((16 / 375) * 100vw);
    }
    .recipe_attr_tag a {
        padding: calc((8 / 375) * 100vw);
        font-size: calc((13 / 375) * 100vw);
    }
    .p-recipe_block_caption {
        margin-top: calc((16 / 375) * 100vw);
        padding: calc((16 / 375) * 100vw) calc((8 / 375) * 100vw);
        font-size: calc((14 / 375) * 100vw);
        border-radius: calc((8 / 375) * 100vw);
    }
    .p-recipe_block_caption_list li {
        gap: calc((4 / 375) * 100vw);
    }
    .p-recipe_ing {
        margin-top: calc((12 / 375) * 100vw);
        gap: calc((16 / 375) * 100vw);
    }
    .p-recipe_ing .ing_figure img {
        height: auto;
        min-height: calc((56 / 375) * 100vw);
        max-height: calc((120 / 375) * 100vw);
        max-width: 100%;
    }
    /*2カラムレシピ*/
    .listItem.p-sozai_col {
        width: 92vw;
        padding: calc((16 / 375) * 100vw);
        border-radius: calc((8 / 375) * 100vw);
    }
    .p-sozai_block {
        display: flex;
        flex-direction: column;
        gap: normal;
    }
    .p-sozai_caption {
        display: contents !important;
    }
    .p-sozai_block .p-recipe_block_caption_title {
        order: 1;
    }
    .p-sozai_block .p-recipe_block_thumb {
        order: 2;
    }
    .p-sozai_block .recipe_attr {
        order: 3;
    }
    .p-sozai_block .p-recipe_ing {
        order: 4;
        margin-top: calc((16 / 375) * 100vw);
        padding: calc((16 / 375) * 100vw) calc((8 / 375) * 100vw);
        font-size: calc((14 / 375) * 100vw);
        border-radius: calc((8 / 375) * 100vw);
    }
    /*レシピリンク*/
    .p-recipe_detail a {
        width: calc((164 / 375) * 100vw);
        height: calc((50 / 375) * 100vw);
        margin-top: calc((16 / 375) * 100vw);
        font-size: calc((15 / 375) * 100vw);
    }
    .footer-bnr {
        margin-top: calc((40 / 375) * 100vw);
        padding-top: calc((24 / 375) * 100vw);
        padding-bottom: calc((40 / 375) * 100vw);
    }
    .footer-bnr-inner {
        flex-direction: column;
        align-items: center;
        gap: calc((32 / 375) * 100vw);
    }
    .footer-bnr-itm {
        width: calc((320 / 375) * 100vw);
    }
    .footer-bnr-ttl {
        padding-bottom: calc((8 / 375) * 100vw);
        font-size: calc((15 / 375) * 100vw);
    }
}