@charset "utf-8";
/*==========================================*/
/*PC & ALL*/
/*==========================================*/
.contents-main {
    max-width: 1040px;
    margin: 0 auto;
    color: var(--main-txt-color);
}
.contents {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}
.contents.lead {
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--main-bg-color1);
}
.contents.recipe {
    padding-top: 40px;
    padding-bottom: 64px;
    background: var(--main-bg-color2);
}
.contents.challenge {
    padding-top: 40px;
    padding-bottom: 64px;
    background: var(--main-bg-color1);
}
.contents-lead-block {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}
/*Title*/
.contents-ttl-block {
    text-align: center;
    position: relative;
}
.contents-ttl-block img {
    width: auto;
}
.contents-ttl-block::before, .contents-ttl-block::after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    margin: auto;
}
.recipe .contents-ttl-block::before {
    width: 151px;
    height: 58px;
    background: url("/kids_yasai/assets/img/common/ico-friends01.webp") no-repeat center / contain;
    top: -72px;
}
.challenge .contents-ttl-block::before {
    width: 148px;
    height: 74px;
    background: url("/kids_yasai/assets/img/common/ico-friends02.webp") no-repeat center / contain;
    top: -88px;
}
.contents-ttl-block::after {
    width: 200px;
    height: 8px;
    background: url("/kids_yasai/assets/img/common/ico-line01.svg") no-repeat center / contain;
    bottom: -24px;
}
.contents-ttl1 {
    position: relative;
}
.contents-ttl1::before, .contents-ttl1::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 16px;
    background: url("/kids_yasai/assets/img/common/ico-line03.svg") no-repeat center / contain;
    top: 0;
    bottom: 0;
}
.contents-ttl1::before {
    left: -2em;
}
.contents-ttl1::after {
    right: -2em;
    transform: scale(-1, 1);
}
.contents-ttl1 img {
    height: 20px;
}
.contents-ttl2 {
    display: block;
    margin-top: 8px;
}
.recipe .contents-ttl2 img {
    height: 30px;
}
.challenge .contents-ttl2 img {
    height: 60px;
}
.contents-recipe-wrap {
    padding-top: 104px;
    padding-bottom: 24px;
    background: #fff;
    border-radius: 16px;
}
.contents-challenge-wrap {
    padding-top: 104px;
    padding-bottom: 24px;
    background: #fff;
    border-radius: 16px;
}
.contents-recipe-block {
    margin-top: 72px;
}
.contents-recipe-ttl {
    width: 305px;
    height: 50px;
    margin: 0 auto;
    background: #AEBB0E;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contents-recipe-ttl img {
    height: 24px;
    width: auto;
}
.contents-recipe-list {
    margin-top: 16px;
    display: grid;
    justify-content: center;
    grid-template-columns: 378px repeat(2, 146px);
    gap: 12px 16px;
}
.contents-recipe-list-itm:nth-child(1) {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
.contents-recipe-list-itm:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.contents-recipe-list-itm:nth-child(3) {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}
.contents-recipe-list-itm:nth-child(4) {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
.contents-recipe-list-itm:nth-child(5) {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
}
.contents-recipe-list-itm-link {
    display: grid;
    gap: 8px;
    text-decoration: none;
}
a .contents-recipe-list-itm-ttl {
    grid-row: 2 / 3;
    font-size: 14px;
    line-height: 1.2;
    color: #000;
}
.contents-recipe-list-itm-img {
    grid-row: 1 / 2;
    border-radius: 8px;
    overflow: hidden;
}
.content-recipe-btn-link {
    width: 215px;
    height: 44px;
    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;
}
.content-recipe-btn-link::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;
}
.content-recipe-footer-btn-link {
    width: 300px;
    height: 60px;
    margin: 24px auto 0;
    padding-left: 1em;
    background: #109037;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.content-recipe-footer-btn-link img {
    height: 20px;
    width: auto;
}
.content-recipe-footer-btn-link::before, .content-recipe-footer-btn-link::after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    margin: auto;
}
.content-recipe-footer-btn-link::before {
    width: 28px;
    height: 28px;
    background: url("/kids_yasai/assets/img/common/ico-hint.svg") no-repeat center / contain;
    left: 1em;
}
.content-recipe-footer-btn-link::after {
    width: .3em;
    height: .3em;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    right: 1em;
}
.contents-challenge-lead {
    margin-top: 48px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
}
.contents-challenge__ttl-event {
    margin-top: 40px;
    text-align: center;
}
.contents-challenge__ttl-event img {
    height: 28px;
    width: auto;
}
.contents-challenge-recipe {
    margin-top: 16px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 320px);
    gap: 8px;
}
.contents-challenge-recipe-itm-link {
    display: block;
    color: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.contents-challenge-recipe-itm-link::before, .contents-challenge-recipe-itm-link::after {
    position: absolute;
    content: "";
}
.contents-challenge-recipe-itm-link::before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    right: 1em;
    bottom: .5em;
}
.contents-challenge-recipe-itm-link::after {
    width: .3em;
    height: .3em;
    border-top: 2px solid #e4002b;
    border-left: 2px solid #e4002b;
    transform: rotate(135deg);
    right: 1.4em;
    bottom: .85em;
}
.contents-challenge-recipe-itm-ttl {
    height: 56px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contents-challenge-recipe-itm-ttl img {
    height: 24px;
    width: auto;
}
.contents-challenge-recipe-itm:nth-child(1) .contents-challenge-recipe-itm-ttl {
    background: #ED6300;
}
.contents-challenge-recipe-itm:nth-child(2) .contents-challenge-recipe-itm-ttl {
    background: #EE9E00;
}
/*==========================================*/
/*SP*/
/*==========================================*/
@media screen and (max-width: 768px) {
    .contents-main {
        max-width: calc((335 / 375) * 100vw);
    }
    .contents.lead {
        padding-left: 0;
        padding-top: calc((24 / 375) * 100vw);
        padding-bottom: calc((24 / 375) * 100vw);
    }
    .contents.recipe {
        padding-top: calc((32 / 375) * 100vw);
        padding-bottom: calc((56 / 375) * 100vw);
    }
    .contents.challenge {
        padding-top: calc((32 / 375) * 100vw);
        padding-bottom: calc((56 / 375) * 100vw);
    }
    .contents-lead-block {
        padding-top: calc((16 / 375) * 100vw);
        padding-bottom: calc((16 / 375) * 100vw);
        font-size: calc((15 / 375) * 100vw);
        border-radius: calc((16 / 375) * 100vw);
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        text-align: left;
    }
    .contents-lead-txt {
        width: calc((305 / 375) * 100vw);
        margin: 0 auto;
    }
    /*Title*/
    .recipe .contents-ttl-block::before {
        width: calc((151 / 375) * 100vw);
        height: calc((58 / 375) * 100vw);
        top: calc((-72 / 375) * 100vw);
    }
    .challenge .contents-ttl-block::before {
        width: calc((148 / 375) * 100vw);
        height: calc((74 / 375) * 100vw);
        top: calc((-88 / 375) * 100vw);
    }
    .contents-ttl-block::after {
        width: calc((200 / 375) * 100vw);
        height: calc((8 / 375) * 100vw);
        bottom: calc((-24 / 375) * 100vw);
    }
    .contents-ttl1::before, .contents-ttl1::after {
        width: calc((14 / 375) * 100vw);
        height: calc((16 / 375) * 100vw);
    }
    .contents-ttl1::before {
        left: -1.5em;
    }
    .contents-ttl1::after {
        right: -1.5em;
    }
    .contents-ttl1 img {
        height: calc((20 / 375) * 100vw);
    }
    .contents-ttl2 {
        margin-top: calc((8 / 375) * 100vw);
    }
    .contents-ttl2 img {
        height: calc((60 / 375) * 100vw) !important;
    }
    .contents-recipe-wrap {
        padding-top: calc((96 / 375) * 100vw);
        padding-bottom: calc((24 / 375) * 100vw);
        border-radius: calc((16 / 375) * 100vw);
    }
    .contents-challenge-wrap {
        padding-top: calc((96 / 375) * 100vw);
        padding-bottom: calc((24 / 375) * 100vw);
        border-radius: calc((16 / 375) * 100vw);
    }
    .contents-recipe-block {
        margin-top: calc((56 / 375) * 100vw);
    }
    .contents-recipe-ttl {
        width: calc((305 / 375) * 100vw);
        height: calc((50 / 375) * 100vw);
        border-radius: calc((30 / 375) * 100vw);
    }
    .contents-recipe-ttl img {
        height: calc((24 / 375) * 100vw);
    }
    .contents-recipe-list {
        margin-top: 16px;
        display: grid;
        justify-content: center;
        grid-template-columns: repeat(2, calc((146 / 375) * 100vw));
        gap: calc((16 / 375) * 100vw) calc((12 / 375) * 100vw);
    }
    .contents-recipe-list-itm:nth-child(1) {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }
    .contents-recipe-list-itm:nth-child(2) {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    .contents-recipe-list-itm:nth-child(3) {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
    }
    .contents-recipe-list-itm:nth-child(4) {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
    }
    .contents-recipe-list-itm:nth-child(5) {
        grid-row: 3 / 4;
        grid-column: 2 / 3;
    }
    .contents-recipe-list-itm-link {
        gap: calc((4 / 375) * 100vw);
    }
    .contents-recipe-list-itm:nth-child(1) .contents-recipe-list-itm-link {
        width: calc((247 / 375) * 100vw);
        margin: 0 auto;
    }
    a .contents-recipe-list-itm-ttl {
        font-size: calc((14 / 375) * 100vw);
    }
    .contents-recipe-list-itm-img {
        border-radius: calc((8 / 375) * 100vw);
    }
    .content-recipe-btn-link {
        width: calc((225 / 375) * 100vw);
        height: calc((44 / 375) * 100vw);
        margin-top: calc((16 / 375) * 100vw);
        font-size: calc((15 / 375) * 100vw);
        border-radius: calc((30 / 375) * 100vw);
    }
    .content-recipe-footer-btn-link {
        width: calc((300 / 375) * 100vw);
        height: calc((60 / 375) * 100vw);
        margin-top: calc((24 / 375) * 100vw);
        border-radius: calc((8 / 375) * 100vw);
    }
    .content-recipe-footer-btn-link img {
        height: calc((18 / 375) * 100vw);
    }
    .content-recipe-footer-btn-link::before {
        width: calc((28 / 375) * 100vw);
        height: calc((28 / 375) * 100vw);
    }
    .contents-challenge-lead {
        width: calc((300 / 375) * 100vw);
        margin: calc((48 / 375) * 100vw) auto 0;
        font-size: calc((15 / 375) * 100vw);
        text-align: left;
    }
    .contents-challenge__ttl-event {
        margin-top: calc((32 / 375) * 100vw);
    }
    .contents-challenge__ttl-event img {
        height: calc((56 / 375) * 100vw);
    }
    .contents-challenge-recipe {
        margin-top: calc((16 / 375) * 100vw);
        grid-template-columns: calc((320 / 375) * 100vw);
        gap: calc((8 / 375) * 100vw);
    }
    .contents-challenge-recipe-itm-link {
        border-radius: calc((8 / 375) * 100vw);
    }
    .contents-challenge-recipe-itm-link::before {
        width: calc((16 / 375) * 100vw);
        height: calc((16 / 375) * 100vw);
    }
    .contents-challenge-recipe-itm-ttl {
        height: calc((56 / 375) * 100vw);
        font-size: calc((20 / 375) * 100vw);
        ;
    }
    .contents-challenge-recipe-itm-ttl img {
        height: calc((24 / 375) * 100vw);
    }
}