@charset "UTF-8";
/* CSS Document */


/*==============================
共通設定
==============================*/
main {
    margin: 0 0 80px;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

p,
h1,
h2,
h3,
h4,
span,
li {
    letter-spacing: 0.04rem;
}

@media screen and (max-width:768px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }
}

/*------------------------------
メインフォト設定
------------------------------*/

/*メインフォト*/
.mainPhoto {
    width: 100%;
    height: 300px;
    background: url(../images/rollingstock/bg_main@2x.jpg) no-repeat center center / cover;
}

/*------------------------------
パントリーのお守り設定
------------------------------*/

#rollingstock {
    position: relative;
}

.rollingstock-wapper {
    padding: 120px 0;
}

#rollingstock h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #484848;
}

#rollingstock .desc {
    margin: 12px auto 0;
    color: #4D4D4D;
    font-size: 1.4rem;
    line-height: 36px;
    text-align: center;
}

.recipe-rollingstock-img img,
#rollingstock .desc img {
    background: #fff;
    border-radius: 10px;
    padding: 0 8rem;
    width: 100%;
    max-width: 400px;
}

#rollingstock .itemBtn {
    display: block;
    padding: 16px 0;
    position: relative;
    background: rgba(127, 127, 127, 0.7);
    width: 40%;
    max-width: 320px;
    text-align: center;
    margin: 20px auto 0;
    transition: .15s;
    /*  リンクがついたら取り除き  */
    cursor: default;
}

#rollingstock .itemBtn:before {
    position: absolute;
    content: "Comming soon";
    color: #fff;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#rollingstock .itemBtnList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 100px auto 0;
    width: 40%;
}

#rollingstock .itemBtnList li a {
    display: block;
    font-size: 1.5rem;
    line-height: 180%;
    border: 1px solid #4d4d4d;
    padding: 10px;
    height: fit-content;
    text-align: center;
    transition: 0.15s;
}

#rollingstock .itemBtnList li a:hover {
    color: #fff;
    background: #4d4d4d;
    transition: .3s;
}


/*パントリーのお守り写真1*/
#rollingstock .photoDeco01 {
    width: 290px;
    height: 200px;
    background: url(../images/rollingstock/bg-intro-01.png) center center / cover;
    position: absolute;
    top: 500px;
    right: 0;
}

/*パントリーのお守り写真2*/
#rollingstock .photoDeco02 {
    width: 290px;
    height: 200px;
    background: url(../images/rollingstock/bg-intro-02.png) center center / cover;
    position: absolute;
    top: 750px;
    left: 0;
}

/*パントリーのお守り写真3*/
#rollingstock .photoDeco03 {
    width: 255px;
    height: 180px;
    background: url(../images/rollingstock/bg-intro-03.png) center center / cover;
    position: absolute;
    top: 900px;
    right: 0;
}

/*==============================
パントリーのお守り レスポンシブ設定
==============================*/

@media screen and (max-width:768px) {
    #rollingstock .itemBtnList {
        width: calc(100% - 40px);
    }
}

/*1300px以下の場合*/
@media screen and (max-width:1300px) {

    /*パントリーのお守り写真1*/
    #rollingstock .photoDeco01 {
        width: 230px;
        height: 160px;
    }

    /*パントリーのお守り写真2*/
    /*パントリーのお守り写真3*/
    #rollingstock .photoDeco02,
    #rollingstock .photoDeco03 {
        width: 200px;
        height: 140px;
    }

    #rollingstock .itemBtnList {
        width: 60%;
    }
}

/*980px以下の場合*/
@media screen and (max-width:980px) {

    #rollingstock .photo {
        margin: 100px auto 0;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    /*パントリーのお守り写真1*/
    #rollingstock .photoDeco01 {
        width: calc(100% / 3);
        height: 200px;
        background: url(../images/rollingstock/bg-intro-01.png) center center / cover;
        position: static;
    }

    /*パントリーのお守り写真2*/
    #rollingstock .photoDeco02 {
        width: calc(100% / 3);
        height: 200px;
        background: url(../images/rollingstock/bg-intro-02.png) center center / cover;
        position: static;
    }

    /*パントリーのお守り写真3*/
    #rollingstock .photoDeco03 {
        width: calc(100% / 3);
        height: 200px;
        background: url(../images/rollingstock/bg-intro-03.png) center center / cover;
        position: static;
    }
}


/*------------------------------
私なら。Message for Tomorrow設定
------------------------------*/
#intro {
    padding: 15em 0 50em;
    width: 100%;
    background: url(../images/about/bg_histry_back01.svg) repeat-y top 0 left 10% / 170px 2700px;
    animation: wave1 40s infinite linear;
    position: relative;
}

#intro:before,
#intro:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#intro:before {
    background: url(../images/about/bg_histry_back02.svg) repeat-y top 0 right 5% / 170px 2700px;
    animation: wave2 50s infinite linear;
    z-index: 0;
}

#intro:after {
    background: #FFF;
    z-index: -1;
}

@keyframes wave1 {
    0% {
        background: url(../images/about/bg_histry_back01.svg) repeat-y top 0 left 10% / 170px 2700px;
    }

    100% {
        background: url(../images/about/bg_histry_back01.svg) repeat-y top -2700px left 10% / 170px 2700px;
    }
}

@keyframes wave2 {
    0% {
        background: url(../images/about/bg_histry_back02.svg) repeat-y top 0 right 5% / 170px 2700px;
    }

    100% {
        background: url(../images/about/bg_histry_back02.svg) repeat-y top -2700px right 5% / 170px 2700px;
    }
}

#intro .intro-wrapper {
    width: 30%;
    margin: 0 0 0 60em;
}

#intro .intro-wrapper h2 {
    text-align: left;
    font-size: 60px;
    font-family: 'Noto Serif JP', serif;
}

#intro .intro-wrapper h2 p {
    text-align: left;
    font-size: 32px;
    line-height: 200%;
}

#intro .intro-text {
    padding-top: 20px;
    font-size: 15px;
    line-height: 200%;
}

/*私なら。Message for Tomorrow写真1*/
#intro .photoDeco01 {
    width: 464px;
    height: 308px;
    background: url(../images/rollingstock/intro/bg-intro-01.jpg) center center / cover;
    position: absolute;
    top: 150px;
    left: 0;
}

/*私なら。Message for Tomorrow写真2*/
#intro .photoDeco02 {
    width: 325px;
    height: 214px;
    background: url(../images/rollingstock/intro/bg-intro-02.jpg) center center / cover;
    position: absolute;
    top: 550px;
    left: 200px;
}

/*私なら。Message for Tomorrow写真3*/
#intro .photoDeco03 {
    width: 255px;
    height: 180px;
    background: url(../images/rollingstock/intro/bg-intro-03.jpg) center center / cover;
    position: absolute;
    top: 850px;
    left: 50px;
}

#intro .photoDeco04 {
    width: 373px;
    height: 246px;
    background: url(../images/rollingstock/intro/bg-intro-04.jpg) center center / cover;
    position: absolute;
    top: 700px;
    right: 0;
}

/*==============================
私なら。Message for Tomorrow設定
==============================*/
/*1300px以下の場合*/
@media screen and (max-width:1300px) {
    #intro {
        padding: 15em 0 40em;
    }

    #intro .intro-wrapper {
        width: 40%;
        margin: 0 0 0 40em;
    }

    /*私なら。Message for Tomorrow写真1*/
    #intro .photoDeco01 {
        width: 404px;
        height: 248px;
    }

    /*私なら。Message for Tomorrow写真2*/
    #intro .photoDeco02 {
        width: 285px;
        height: 174px;
        top: 500px;
        left: 160px;
    }

    /*私なら。Message for Tomorrow写真3*/
    #intro .photoDeco03 {
        width: 235px;
        height: 160px;
        top: 770px;
    }

    /*私なら。Message for Tomorrow写真4*/
    #intro .photoDeco04 {
        width: 333px;
        height: 206px;
    }
}

/*980px以下の場合*/
@media screen and (max-width:980px) {
    #rollingstock h2 {
        font-size: 2.6rem;
    }

    #intro .photo {
        margin: 100px auto 0;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    /*私なら。Message for Tomorrow写真*/
    #intro .photoDeco01,
    #intro .photoDeco02,
    #intro .photoDeco03,
    #intro .photoDeco04 {
        width: calc(100% / 2);
        height: 280px;
        position: static;
    }
}

@media screen and (max-width:768px) {

    /*私なら。Message for Tomorrow写真*/
    #intro .photoDeco01,
    #intro .photoDeco02,
    #intro .photoDeco03,
    #intro .photoDeco04 {
        height: 200px;
    }
}






/*768px以下の場合*/
@media screen and (max-width:768px) {

    /*==============================
    メイン設定
    ==============================*/

    /*------------------------------
    メインフォト設定
    ------------------------------*/

    /*メインフォト*/
    .mainPhoto {
        height: 250px;
    }


}

/*480px以下の場合*/
@media screen and (max-width:480px) {

    /*==============================
    メイン設定
    ==============================*/

    /*------------------------------
    メインフォト設定
    ------------------------------*/

    /*メインフォト*/
    .mainPhoto {
        height: 150px;
    }


    /*------------------------------
    設定
    ------------------------------*/

    /*パントリーのお守り全体*/
    #rollingstock {
        padding: 60px 0 0;
    }

    #rollingstock .photo {
        margin: 60px auto 0;
    }

    /*パントリーのお守り写真1*/
    #rollingstock .photoDeco01,
    #rollingstock .photoDeco03,
    #rollingstock .photoDeco02 {
        height: 110px;
    }
}

/*==============================
おいしく丁寧な食へ設定
==============================*/
#point {
    position: relative;
    background: #fff;
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 100px;
}

#point .point-wapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    z-index: 1;
}

#point:before,
#point:after,
#point .point-wapper.local:before {
    position: absolute;
    content: "";
    display: block;
    z-index: 0;
    opacity: .5;
}

#point:before {
    width: 470px;
    height: 464px;
    background: url(../images/miwa/homeitem/kamiito/bg_illust01.svg) no-repeat center center / cover;
    top: 120px;
    right: -100px;

}

#point:after {
    width: 390px;
    height: 364px;
    background: url(../images/miwa/homeitem/kamiito/bg_illust03.svg) no-repeat center center / cover;
    bottom: 33%;
    left: -100px;
}

#point .point-wapper.local:before {
    width: 360px;
    height: 354px;
    background: url(../images/miwa/homeitem/kamiito/bg_illust01.svg) no-repeat center center / cover;
    bottom: -130px;
    right: -400px;
    transform: rotate(-30deg);
    z-index: 0;
}

.link-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
    text-align: center;
    font-size: 35px;
}

.link-title p {
    font-size: 15px;
    padding-top: 10px;
}

.point-kamiito {
    display: grid;
    gap: 5%;
    grid-template-columns: auto auto;
    width: 100%;
}

.point-kamiito img {
    border-radius: 10px;
    max-width: 360px;
}

.point-kamiito-item,
.point-kamiito-box {
    display: grid;
}

.point-kamiito-item {
    row-gap: 32px;
}

.point-kamiito-box {
    row-gap: 20px;
}

.point-kamiito-title {
    font-size: 22px;
    font-weight: bold;
}

.point-kamiito-text {
    font-size: 14px;
    line-height: 30px;
}

.point-kamiito-subtitle {
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
}

.point-kamiito-item dl {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.point-kamiito-item dt,
.point-kamiito-item dd {
    padding: 10px;
    line-height: 1.4;
}

.shopBtn a {
    display: block;
    text-align: center;
    width: 50%;
    height: 100%;
    color: #4D4D4D;
    font-size: 1.4rem;
    line-height: 50px;
    border: 1px solid #4D4D4D;
    transition: 0.15s;
}

.shopBtn a.active {
    color: #fff;
    background: #484848;
    border: 1px solid #484848;
}

.point-list {
    display: flex;
    justify-content: space-between;
    gap: 4%;
    width: 100%;
}

.point-list-item {
    display: grid;
    row-gap: 16px;
    width: calc(100% / 3);
    grid-template-rows: auto auto 1fr;
}

.point-list-item h4 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.point-list-item p {
    font-size: 1.5rem;
    line-height: 1.8;
}

.point-list-item img {
    width: 100%;
}

.ponit-sublist {
    display: grid;
    row-gap: 60px;
    width: 100%;
}

.ponit-sublist-item {
    display: flex;
    justify-content: space-between;
    gap: 5%;
}

.ponit-sublist-item-box {
    display: grid;
    row-gap: 24px;
    grid-template-rows: auto 1fr;
    width: 70%;
}

.ponit-sublist-item-box h4 {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.8;
}

.ponit-sublist-item-box h5 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #1F2F50;
    line-height: 1.8;
}

.ponit-sublist-item-box p {
    line-height: 1.8;
}

.ponit-sublist-item.local {
    background: #fafafa;
    border-radius: 10px;
    align-items: center;
}

.ponit-sublist-item.local .ponit-sublist-item-box {
    padding-left: 32px;
    width: 90%;
}

.ponit-sublist-item.local h4 {
    color: #1F2F50;
}

.ponit-sublist-item.local img {
    width: 100%;
    border-radius: 0 10px 10px 0;
}


/*==============================
三輪の神糸がある日常レシピ設定
==============================*/
#recipe {
    position: relative;
    padding: 80px 0;
    display: grid;
    gap: 60px;
    background: url(../images/common/bg_line.svg) repeat-y left top / 176px 1px, url(../images/common/bg_back.jpg) repeat;
    z-index: 1;
}

#recipe img {
    border-radius: 4px;
}

.recipe-rollingstock-img {
    text-align: center;
    margin: 0 auto;
}

.recipe-special {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
    width: 100%;
    max-width: 960px;
    margin: 60px auto 0;
}

.recipe-list {
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    row-gap: 20px;
}

.recipe-time {
    padding: 8px 6px;
    color: #fff;
    background: #404040;
    border-radius: 2px;
    font-size: 1.2rem;
    font-weight: bold;
    width: fit-content;
}

.recipe-list h4 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.4;
}

.recipe-lead {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4;
}

.recipe-list-box {
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 12px;
}

.recipe-list ul,
.recipe-list ol {
    margin-top: 8px;
}

.recipe-list ul li {
    list-style-type: disc !important;
    font-size: 1.4rem;
    line-height: 1.6;
    padding-left: 8px;
    list-style-position: inside;
}

.recipe-list ol {
    counter-reset: my-counter;
    list-style: none;
}

.recipe-list ol li {
    font-size: 16px;
    line-height: 1.5;
    padding-left: 30px;
    position: relative;
}

.recipe-list ol li:before {
    content: counter(my-counter);
    counter-increment: my-counter;
    background-color: #333;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 18px;
    width: 18px;
    color: #ffffff;
    font-size: 80%;
    line-height: 1;
    position: absolute;
    top: 4px;
    left: 2px;
}

.recipe-listbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
    row-gap: 32px;
    width: 100%;
    max-width: 960px;
    margin: 60px auto 0;
}

.recipe-list .recipe-list-lead {
    padding-left: 16px;
}

/*==============================
三輪の素麺×にんべんコラボレシピ設定
==============================*/
.ninben {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    border: 2px solid #D2CAAF;
    border-radius: 10px;
    background-color: #fff;
}

.ninben-recipe {
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 5%;
    width: 100%;
}

/* タイトル */
.ninben-title {
    background-color: #D2CAAF;
    padding: 4rem 0rem;
}

.ninben-title p {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 100%;
}

.ninben-title p img {
    width: 14rem;
}

/* (レシピ共通スタイルの一部上書き) */
.ninben .recipe-list {
    display: flex;
    flex-direction: column;
}

.ninben .recipe-list ul,
.ninben .recipe-list ol {
    margin-top: 0;
}

/* 使われている商品 */
.ninben-products {
    position: relative;
    padding: 2rem 2rem 0;
    border-top: 1px solid #D9D9D9;
}

.ninben-products::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    width: 4rem;
    height: 1px;
    background: #E61A0F;
}

.ninben-products h5 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.04em;
}

.ninben .ninben-products ul {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.ninben-products ul li {
    list-style-type: none !important;
    flex: 1;
    max-width: 99px;
    padding-left: 0;
    text-align: center;
}

.ninben-products ul li p {
    margin-top: 1.3rem;
    color: #484848;
    font-size: 1rem;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.04em;
}

/* 作り方ブロック */
.ninben-howto {
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
}

.ninben-howto p {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* 作り方見出し */
.ninben-small-head {
    padding: 0.8rem 0rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #D9D9D9;
}

/* レシピコメント枠 */
.ninben-comment {
    grid-column: 1 / 3;
    display: flex;
    padding: 20px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    background: rgba(242, 240, 235, 0.50);
}

.ninben-comment h5 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.04em;
}

.ninben-comment p {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.04em;
}

.ninben-comment em {
    font-style: normal;
    color: #A6965F;
}

.ninben-comment p:last-child {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.04em;
}

/* 区切り線 */
.ninben-border {
    margin: 0 auto;
    width: calc(100% - 8rem);
    height: 1px;
    background-color: #D9D9D9;
}

/* にんべんセクションフッター */
.ninben-footer {
    /* grid-column: 1 / 3; */
    padding: 6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 7.14%;
    width: 100%;
}

.ninben-footer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ninben-footer-box>p {
    text-align: justify;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.04em;
}

.ninben-footer-box>a {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.04em;
    display: flex;
    padding: 0.5rem 3rem;
    align-items: center;
    border: 1px solid #484848;
}

.ninben-footer-box>a svg {
    width: 2.2rem;
    height: 2.2rem;
}


.ninben-footer-box .brand {
    width: 236px;
}

.ninben-footer-box .supervisor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    align-self: stretch;
}

.ninben-footer-box .supervisor-photo {
    width: 11.2rem;
    height: 11.2rem;
    flex-shrink: 0;
}

.ninben-footer-box .supervisor-data p:nth-child(1) {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 0.04em;
}

.ninben-footer-box .supervisor-data p:nth-child(2) {
    margin-top: 5px;
    font-size: 1.2rem;
    line-height: 160%;
    letter-spacing: 0.04em;
}

.ninben-footer-box .supervisor-data p:nth-child(3) {
    font-size: 2rem;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.04em;
}

.ninben-footer-box .supervisor-data p:nth-child(3) span {
    font-size: 1.4rem;
}

/*==============================
レスポンシブ設定
==============================*/

@media screen and (max-width:1024px) {

    /*==============================
    三輪の神糸がある日常レシピ設定
    ==============================*/
    .recipe-wapper {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    /*==============================
    おいしく丁寧な食へ設定
    ==============================*/
    #point .point-wapper {
        width: calc(100% - 40px);
    }

    /*==============================
    三輪の素麺×にんべんコラボレシピ設定
    ==============================*/
    .ninben {
        width: calc(100% - 40px);
    }
}

@media screen and (max-width:980px) {

    /*------------------------------
    私なら。Message for Tomorrow設定
    ------------------------------*/
    #intro {
        padding: 10em 0 0;
    }

    #intro .intro-wrapper {
        width: 60%;
        margin: 0 auto;
    }
}

/*768px以下の場合*/
@media screen and (max-width:768px) {

    /*------------------------------
    パントリーのお守り設定
    ------------------------------*/
    .rollingstock-wapper {
        width: calc(100% - 40px);
        margin: auto;
        padding: 0 0 60px;
    }

    #rollingstock .desc {
        text-align: left;
    }

    #rollingstock .desc.logo-img {
        text-align: center;
    }

    #rollingstock .itemBtn {
        width: 100%;
        max-width: unset;
    }

    #rollingstock .itemBtnList {
        grid-template-columns: repeat(1, 1fr);
        margin: 60px auto 0;
        width: 100%;
    }

    /*------------------------------
    私なら。Message for Tomorrow設定
    ------------------------------*/
    #intro {
        padding: 100px 0 0;
        background: url(../images/about/bg_histry_back01.svg) repeat-y top 0 left 2% / 85px 1350px;
    }

    #intro::before {
        background: none;
        animation: none;
    }

    @keyframes wave1 {
        0% {
            background: url(../images/about/bg_histry_back01.svg) repeat-y top 0 left 2% / 85px 1350px;
        }

        100% {
            background: url(../images/about/bg_histry_back01.svg) repeat-y top -1350px left 2% / 85px 1350px;
        }
    }

    #intro .intro-wrapper {
        width: 80%;
        margin: 20px auto 0;
    }

    #intro .intro-wrapper h2 {
        font-size: 48px;
    }

    #intro .intro-wrapper h2 p {
        font-size: 20px;
    }

    #intro .intro-wrapper {
        width: 60%;
        margin: 0 auto;
    }


    /*==============================
    おいしく丁寧な食へ設定
    ==============================*/
    #point:before {
        width: 270px;
        height: 264px;
        top: 50px;
    }

    #point:after {
        width: 290px;
        height: 264px;
    }

    #point .point-wapper.local:before {
        bottom: -270px;
        right: -150px;
    }

    #point .point-wapper {
        width: calc(100% - 40px);
    }

    .point-kamiito img {
        max-width: unset;
    }

    .ponit-sublist-item {
        display: grid;
        gap: 3%;
    }

    .point-list-item {
        width: 100%;
    }

    .ponit-sublist-item-box {
        width: 100%;
        row-gap: 8px;
    }

    .ponit-sublist-item.local .ponit-sublist-item-box {
        padding: 20px;
        width: 100%;
    }

    .ponit-sublist-item.local img {
        border-radius: 0 0 10px 10px;
    }

    .shopBtn a {
        width: 100%;
    }

    /*==============================
    三輪の神糸がある日常レシピ設定
    ==============================*/
    #recipe {
        padding: 60px 0 100px;
    }

    .recipe-listbox {
        grid-template-columns: repeat(2, 1fr);
    }

    /*==============================
    三輪の素麺×にんべんコラボレシピ設定
    ==============================*/
    .ninben {
        width: calc(100% - 40px);
    }

    .ninben-recipe {
        grid-auto-flow: column;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        padding: 4rem 2rem;
    }

    /* タイトル */
    .ninben-title {
        padding: 3rem 0rem;
    }

    .ninben-title p {
        margin-bottom: 0.8rem;
        font-size: 1.6rem;
        gap: 0.5rem;
    }

    .ninben-title p img {
        width: 11rem;
    }

    /* 使われている商品 */
    .ninben-products {
        padding: 2rem 1rem 0;
    }

    .ninben-products h5 {
        font-size: 1.2rem;
    }

    .ninben-products ul {
        margin-inline: -20px;
    }

    .ninben-products ul li {
        max-width: 33.333%;
    }

    .ninben-products ul li img {
        max-width: 100%;
        width: auto;
    }

    /* レシピコメント枠 */
    .ninben-comment {
        grid-column: initial;
        padding: 3rem 2rem;
    }

    /* 区切り線 */
    .ninben-border {
        width: calc(100% - 4rem);
    }

    /* にんべんセクションフッター */
    .ninben-footer {
        grid-auto-flow: column;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding: 4rem 2rem;
        gap: 6rem 0;
    }

    .ninben-footer-box .brand {
        width: 210px;
    }

    .ninben-footer-box .supervisor-photo {
        width: 8rem;
        height: 8rem;
    }

    .ninben-footer-box .supervisor-data p:nth-child(1) {
        font-size: 1.3rem;
    }

    .ninben-footer-box .supervisor-data p:nth-child(2) {
        font-size: 1.1rem;
    }

    .ninben-footer-box .supervisor-data p:nth-child(3) {
        font-size: 1.8rem;
    }

    .ninben-footer-box .supervisor-data p:nth-child(3) span {
        font-size: 1.3rem;
    }
}

/*560px以下の場合*/
@media screen and (max-width:560px) {
    main {
        margin: 0 auto;
    }

    .link-title {
        font-size: 24px;
    }

    .link-title p {
        font-size: 1.4rem;
    }

    /*==============================
    おいしく丁寧な食へ設定
    ==============================*/
    .point-list,
    .ponit-sublist {
        margin-top: 60px;
    }

    .point-list {
        display: grid;
        gap: 3%;
    }

    .recipe-rollingstock-img img,
    #rollingstock .desc img {
        max-width: unset;
    }
}

/*480px以下の場合*/
@media screen and (max-width:480px) {

    /*------------------------------
    私なら。Message for Tomorrow設定
    ------------------------------*/
    #intro .intro-wrapper {
        width: calc(100% - 40px);
    }

    /*==============================
    おいしく丁寧な食へ設定
    ==============================*/
    #point {
        padding: 60px 0;
        gap: 40px;
    }

    .point-kamiito {
        grid-template-columns: auto;
    }

    .point-kamiito-item {
        row-gap: 20px;
    }

    .ponit-sublist {
        padding-top: 20px;
    }

    /*==============================
    三輪の神糸がある日常レシピ設定
    ==============================*/
    #recipe {
        gap: 50px;
    }

    .recipe-special,
    .recipe-listbox {
        margin: 40px auto 0;
    }

    .recipe-special {
        grid-template-columns: repeat(1, 1fr);
        gap: 3%;
    }

    .recipe-listbox {
        grid-template-columns: repeat(1, 1fr);
    }

    .recipe-list h4 {
        font-size: 2rem;
    }

    .recipe-rollingstock-img img {
        width: calc(100% - 40px);
    }
}