@charset "utf-8";
/* CSS Document 

css指定内容　※スマートフォン
・サイドメニュー
・各コンテンツのベースcss

*/

@media screen and (max-width: 768px) {
    .main_b {
        flex-direction: column;
        padding: 0 0 140px;
    }


    /****************** content_b ******************/
    .main_b .content_b {
        width: 100%;
        margin: 30px 0 60px;
    }

    /* h1 */
    .main_b_h1 {
        padding: 30px 5% 30px 5%;
        margin: 0;
    }

    /* h2 */
    .main_b .content_b h2 {
        font-size: 23px;
        margin-top: 80px;
    }
    .main_b .content_b h2::after {
        width: 75px;
    }

    /* h3 */
    .main_b .content_b h3 {
        padding: 10px 10px;
        font-size: 20px;
        margin-top: 70px;
        line-height: 1.5em;
    }

    /* h4 */
    .main_b .content_b h4 {
        font-size: 18px;
        margin: 30px 0 20px;
    }

    /* li ※横並び */
    .main_b .content_b .list_beside {
        flex-wrap: wrap;
    }
    .main_b .content_b .list_beside li {
        width: 100%;
        margin: 1.5%;
    }
    .main_b .content_b .list_beside li:nth-of-type(even) {
        margin: 1.5%;
    }

    /* table */
    .main_b .content_b .table_b {
        width: 100%;
    }

    /* p & img(MAX width 440px） */
    .main_b .content_b .img_beside_b {
        flex-direction: column-reverse;
    }
    .main_b .content_b .img_beside_b p {
        margin: 0;
    }
    .main_b .content_b .img_beside_b img {
        margin: 0 auto 20px;
    }

    /* p & img(MAX height 530px） */
    .main_b .content_b .img_vertical_b {
        align-items: center;
        flex-direction: column-reverse;
        margin-top: 30px;
    }
    .main_b .content_b .img_vertical_b p {
        margin: 0;
    }
    .main_b .content_b .img_vertical_b img {
        margin-bottom: 20px;
    }


    /****************** sidemenu_b ******************/
    .main_b .sidemenu_b {
        width: 100%;
        margin: 50px 0 0;

    }
    .main_b .sidemenu_b .sidemenu_b_child_b > li > a {
        padding: 10px 0 0;
    }




    /****************** トップページ ******************/

    #top-b h2 {
        font-size: 22px !important;
        font-weight: 900;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    
    #top-b p {
        font-size: 14px;
    }

    
    /* online01-section */
    #online01-section {
        flex-direction: column;
        margin: 50px auto 60px;
    }
    #online01-section p {
        max-width: 100%;
        padding: 10px;
    }
    #online01-section ul {
        width: 100%;
        padding: 20px 0;
    }
    #online01-section ul li a img {
        max-width: 100px;
    }

    /* 新着情報 */
    #news-section .news-box div {
        flex-direction: column;
    }
    #news-section .news-box div .news-date,
    #news-section .news-box div .news-text {
        width: 100%;
    }

    /* artclay-section */
    #artclay-section section {
        margin-top: 50px;
        padding-bottom: 0;
        padding-top: 30px;
    }
    #artclay-section section:first-of-type {
        margin-top: 10px;
    }


    .artclay-box01 > div,
    .artclay-box02 > div,
    .artclay-box03 > div {
        flex-direction: column;
    }

    .artclay-box01 > div img,
    .artclay-box02 > div img,
    .artclay-box03 > div img {
        max-width: 200px;
    }
    .artclay-box01 > div p,
    .artclay-box02 > div p,
    .artclay-box03 > div p {
        margin-bottom: 20px !important;
    }

/* 自由に！気軽に！～ */
.animate-box01 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 15%;
    z-index: -1;
}

.animated-shape01 {
    width: 400px;
    height: 300px;
    background-color: #f3deff;
    border-radius: 70%;
}


@keyframes transformShape01 {
    0% {
        border-radius: 19% 50% 26% 58%; /* 初期状態は円 */
        transform: perspective(250px) rotateY(-30deg);
    }
    25% {
        border-radius: 43% 32% 59% 18% / 63% 29% 54% 19% ;
        transform: perspective(600px) rotateY(20deg);
    }
    50% {
        border-radius: 19% 50% 26% 58% / 25% 45% 39% 48% ;
        transform: perspective(200px) rotateX(10deg);
    }
    75% {
        border-radius: 46% 45% 42% 41% / 61% 37% 58% 31% ;
        transform: perspective(300px) rotateY(30deg);
    }
    100% {
        border-radius: 19% 50% 26% 58%; /* 再び円 */
        transform: perspective(250px) rotateY(-30deg);
    }
}

/* 自分で作るから～ */
.animate-box02 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    margin: 0;
    position: absolute;
    top: -10%;
    right: 15%;
    z-index: -1;
}

.animated-shape02 {
    width: 600px;
    height: 500px;
    background-color: #def9ff;
    border-radius: 70%;
}

@keyframes transformShape02 {
    0% {
        border-radius: 43% 32% 59% 18% / 63% 29% 54% 19%;
        transform: scale(1);
    }
    25% {
        border-radius: 73% 24% 34% 56% / 44% 31% 67% 49% ;
        transform: scale(1) rotateX(-60deg);
    }
    50% {
        border-radius: 46% 45% 42% 41% / 61% 37% 58% 31% ;
        transform: perspective(200px) rotatey(-20deg);
    }
    75% {
        border-radius: 15% 83% 26% 74% / 44% 73% 37% 56%  ;
        transform: perspective(400px) rotateX(-20deg);
    }
    100% {
        border-radius: 43% 32% 59% 18% / 63% 29% 54% 19%;
        transform: scale(1);
    }
}


/* 直営店ならではの～ */
.animate-box03 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    margin: 0;
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}

.animated-shape03 {
    width: 600px;
    height: 500px;
    background-color: #ffd688;
    border-radius: 70%;
}


@keyframes transformShape03 {
    0% {
        border-radius: 39% 65% 69% 30% / 15% 47% 58% 81% ; /* 初期状態は円 */
        transform: perspective(200px) rotateX(10deg);
    }
    25% {
        border-radius: 43% 32% 59% 18% / 63% 29% 54% 19% ;
        transform: perspective(500px) rotatey(50deg);
    }
    50% {
        border-radius: 19% 50% 26% 58% / 25% 45% 39% 48% ;
        transform: perspective(500px) rotateX(40deg);
    }
    75% {
        border-radius: 46% 45% 42% 41% / 61% 37% 58% 31% ;
        transform: scale(500px) rotatey(50deg);
    }
    100% {
        border-radius: 39% 65% 69% 30% / 15% 47% 58% 81% ; /* 再び円 */
        transform: perspective(200px) rotateX(10deg);
    }
}



    /* online02-section */
    #online02-section {
        flex-direction: column;
        margin: 50px auto 60px;
    }
    #online02-section p {
        max-width: 100%;
        padding: 10px;
    }
    #online02-section ul {
        width: 100%;
        padding: 20px 0;
    }
    #online02-section ul li a img {
        max-width: 100px;
    }

    /* topmenu-section */
    #topmenu-section ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    #topmenu-section ul li {
        width: 45%;
        margin: 2%;
    }
    #topmenu-section ul li:nth-of-type(2) {
        margin: 2%;
    }
    #topmenu-section ul li a {
        font-size: 50px;
    }
    #topmenu-section ul li a span {
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* instruction-section */
    #instruction-section > div {
        flex-direction: column;
    }
    #instruction-section > div .instruction-recipe,
    #instruction-section > div .instruction-iframe {
        width: 100%;
    }

    #instruction-section > div .instruction-iframe {
        margin-top: 80px;
    }
    #instruction-section details ul li a {
    padding: 10px 40px 10px 0;
    line-height: 1.5em;
    }

    /* sns-section */
    #sns-section {
        margin-top: 60px;
    }
    #sns-section ul li {
        width: 100%;
        margin-bottom: 30px;
    }


    /* work-section */
    #work-section .work-b {
        padding: 40px 5% 270px;
    }
    #work-section .work-textbox {
        padding-top: 150px;
    }
    #work-section .work-b .work-br {
        display: none;
    }
    #work-section .work-b .text-center {
        text-align: left !important;
    }
    #work-section .work-b::before,
    #work-section .work-b::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        aspect-ratio: 1 / 1;
    }
    #work-section .work-b::before {
        z-index: -1;
        width: 90%;
        margin: auto;
        max-width: 350px;
        top: 5%;
    }
    #work-section .work-b::after {
        z-index: -2;
        width: 100%;
        margin: auto;
        top: 3%;
        max-width: 400px;
    }

    #top-b h2 span {
        font-size: 20px;
    }

    .workanime-box01 img,
    .workanime-box02 img,
    .workanime-box03 img {
        width: 100%;
    }
    .workanime-box01 {
        left: -4%;
        top: auto;
        bottom: 7%;
        z-index: -3;
        max-width: 170px;
    }
    .workanime-box02 {
        top: auto;
        bottom: 9%;
        max-width: 170px;
        z-index: -3;
        right: -8%;
    }
    .workanime-box03 {
        bottom: 4%;
        left: 0;
        right: 0;
        margin: auto;
        z-index: -3;
        max-width: 170px;
    }
    .nami {
        width: 250%;
    }
}
