@charset "UTF-8";
/*=======================================
ABOUT
=========================================*/

.page-p .page_wrap p.p-te {
    text-align: center;
    /* margin-top: 26px; */
    margin: 26px 0 60px;
  }

  .page-p .page_wrap {
    margin-top: 148px;
    padding-bottom: 120px;
    /* width: 1120px; */
  }

.flour-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 57px;
    justify-content: center;
}

.flour-wrap dl {
    /* width: calc(96.3% / 4); */
    /* width: 270px; */
    width: 268px;
    background-color: #fff;
    border-radius: 20px;
    border: 2px solid #44271A;
    position: relative;
    margin: 0 calc(0.99% / 2) 0.99%;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 1201px) {
    .flour-wrap dl:first-child {
        margin-left: 268px;
    }
    .flour-wrap dl:nth-child(2) {
        margin-right: 268px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
    .flour-wrap dl:first-child {
        margin-left: 134px;
    }
    .flour-wrap dl:nth-child(2) {
        margin-right: 134px;
    }
}

.flour-wrap dl:not(:last-child) {
    /* margin-right: 0.99%; */
}

.flour-wrap dl dd:first-child {
    padding: 0 0  20px;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    /* height: 141px; */
}

.flour-wrap dl dd:first-child div {
    padding-bottom: 40px;
}

.flour-wrap dl dd:first-child div img {
    border-radius: 18px 18px 0 0 ;
}

.flour-wrap dl dd:first-child h3 {
    text-align: center;
    line-height: 38px;
    font-size: 30px;
}

.flour-wrap dl dd:first-child h3 span {
    font-size: 20px;
}

.flour-wrap dl dd:last-child {
    background-color: #4326190f;
    padding: 18px 23px;
    border-radius: 0 0 20px 20px;
    /* height: 8.9vw; */
    /* height: 9.5vw; */
    /* height: 22rem; */
    min-height: 22rem;
    height: 100%;
}

.flour-wrap dl dd:last-child p {
    /* height: 7.6vw; */
}

.flour-wrap dl dd:last-child ul {
    display: flex;
    justify-content: center;
    /* margin-top: 20px; */
    position: absolute;
    bottom: 16px;
    left: 4%;
}

.flour-wrap dl dd:last-child ul li {
    background-color: #DB824E;
    color: #fff;
    /* width: 8.07vw; */
    /* width: 6.07vw; */
    width: 115px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
}

.flour-wrap dl dd:last-child ul li:not(:last-child) {
    /* margin-right: 0.78vw; */
    margin-right: 0.3vw;
}

/* .flour-wrap dl dd p {
    height: 85px;
} */

.caution {
    border: 1px solid #DB824E;
    padding: 20px 40px;
    color: #DB824E;
    border-radius: 20px;
}



@media screen and (min-width: 1201px) and (max-width: 1560px) {
    /* .flour-wrap dl dd:last-child {
        height: 24rem;
    } */

    .flour-wrap dl dd:last-child ul li {
        font-size: 1vw;
    }

    .flour-wrap dl dd:first-child h3 {
        font-size: 2vw;
    }

    .flour-wrap dl dd:first-child h3 span {
        font-size: 1.4vw;
    }
}

/* @media screen and (min-width: 1201px) and (max-width: 1140px) {
    .page-p .page_wrap {
        width: 100%;
    }
} */


@media screen and (min-width: 768px) and (max-width: 1200px) {
    .flour-wrap dl dd:last-child {
        padding: 23px 18px 60px;
        position: relative;
        /* height: 23rem; */
        min-height: 26rem;
    }

    .flour-wrap dl dd:last-child ul {
        /* position: relative; */
        position: absolute;
        /* bottom: -48px; */
        bottom: 15px;
        display: block;
        left: 4%;
        width: 92%;
    }

    .flour-wrap dl dd:last-child ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* .flour-wrap dl dd:last-child ul li {
        width: 100%;
    } */

    .flour-wrap dl dd:last-child ul li {
        /* width: 14.07vw; */
        width: 100%;
    }
}





/* ----------------------------- スマホ（～767px） */

@media screen and (max-width: 767px) {
    .flour-wrap {
        display: block;
    }

    .flour-wrap dl {
        width: 100%;
        border-radius: 10px;
    }

    .flour-wrap dl:not(:last-child) {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .flour-wrap dl dd:first-child {
        padding: 0 0 10px;
    }

    .flour-wrap dl dd:first-child div {
        padding-bottom: 20px;
    }

    .flour-wrap dl dd:first-child div img {
        width: 100%;
        border-radius: 9px 9px 0 0;
    }

    .flour-wrap dl dd:first-child h3 {
        line-height: 24px;
        font-size: 17px;
    }

    .flour-wrap dl dd:first-child h3 span {
        font-size: 17px;
    }

    .flour-wrap dl dd:last-child {
        padding: 9px 12px;
        height: auto;
        min-height: initial;
        border-radius: 0 0 10px 10px;
    }

    .flour-wrap dl dd:last-child ul {
        margin-top: 15px;
        position: relative;
        bottom: 0;
        left: initial;
    }

    .flour-wrap dl dd:last-child ul li {
        width: 35vw;
    }

    .flour-wrap {
        margin-bottom: 30px;
    }

    .caution {
        padding: 10px 20px;
        border-radius: 10px;
    }

    .page-p .page_wrap {
        padding-bottom: 60px;
        margin-top: 75px;
    }

    .flour-wrap dl dd:first-child {
        height: auto;
    }

    .page-p .page_wrap {
        width: 90%;
    }


    
}
