@charset "UTF-8";

/* レシピカテゴリ */

h1.cat-pagetitle{
    font-size: 2rem;
}

.recipe_cat_nav {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 20px 20px 20px;
}
.recipe_cat_nav li {
    width: 22%;
    margin-right: 4%;
    margin-bottom: 14px;
}
.recipe_cat_nav li:nth-of-type(4n) {
    margin-right: 0;
}
.recipe_cat_nav li a {
    display: block;
    border-radius: 4px;
    border: 1px solid #D8BB82;
    color: #000;
    font-size: 15px;
    line-height: 1;
    padding: 12px 10px;
    text-decoration: none;
    position: relative;
}
.recipe_cat_nav li a:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid #D8BB82;
    border-bottom: 1px solid #D8BB82;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
    position: absolute;
    top: 50%;
    right: 4.8684210526%;
}
.recipe_cat_main_visual {
    font-size: 16px;
}
.recipe_cat_main_visual img ,.recipe_cat_main_visual video {
    width: 100%;
    height: auto;
}
.recipe_cat_main_visual p {
    line-height: 1.4;
    margin: 6px 0 60px 0;
}
.recipe_cat_container {
    font-size: 16px;
}
.recipe_cat_list {
    display: flex;
    flex-wrap: wrap;
    max-width: 830px;
    width: 90%;
    margin: 0 auto;
}
.recipe_cat_box {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 6%;
    position: relative;
}
.recipe_cat_box:nth-of-type(3n) {
    margin-right: 0;
}
.recipe_cat_box a {
    display: block;
}
.recipe_cat_img {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 150%;
}
.recipe_cat_img img,
.recipe_cat_img video {
    height: 100%;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.recipe_cat_box a {
    color: #000;
    text-decoration: none;
}
.recipe_cat_box h2 {
    font-weight: normal;
    font-size: 16px;
    line-height: 1.4;
    padding: 6px 0 0 0;
}
/* その他の基本料理集 */
.recipe_other_block {
    max-width: 830px;
    width: 90%;
    margin: 20px auto 0 auto;
}
.recipe_other_block h1 {
    color: #960606;
    font-size: 22px;
    font-weight: normal;
    border-bottom: 1px solid #000;
    margin-bottom: 42px;
    padding-bottom: 14px;
}
.recipe_other_nav {
    display: flex;
    flex-wrap: wrap;
}
.recipe_other_nav a  {
    display: block;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 6%;
    border: 1px solid #000;
}



.recipe_other_nav a:nth-of-type(3n) {
    margin-right: 0;
}
.recipe_other_nav a img {
    width: 100%;
    height: auto;
}
body .recipe_other_nav.no-boder a{
    border:none;
    color: #333333;
    text-decoration: none;
}
.recipe_other_nav.no-boder a:hover{
    opacity:0.8;
}


.recipe_other_nav.no-boder a p{
    margin-top: 5px;  
	font-feature-settings: "palt" 1;
}

/* レシピ詳細 */
.recipe_detail_main_visual {
    margin-bottom: 1rem;
}
.recipe_detail_main_visual img,
.recipe_detail_main_visual video {
    width: 100%;
}
.recipe_detail_container {
    font-size: 16px;
}
.recipe_detail_container h1,
.recipe_detail_container h2,
.recipe_detail_container h3 {
    font-weight: normal;
}
.recipe_detail_container h1 {
    font-size: 1.8rem;
    margin-top: 0;
}
.recipe_outline_title {
    margin-bottom: 0;
}
.recipe_outline {
    max-width: 830px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 4rem;
}
.recipe_ingredient {
    max-width: 830px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 4rem;
}
.recipe_ingredient h1 {
    border-bottom: 1px solid #D8BB82;
    margin-bottom: 14px;
    padding-bottom: 4px;
}
.recipe_ingredient_list ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}
.recipe_ingredient_list ul li {
    width: 46%;
    margin-bottom: 14px;
    line-height: 1.2;
}
.recipe_ingredient_list ul li:before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    background-color: #000;
    border-radius: 50%;
    position: relative;
    top: -3px;
    margin-right: 5px;
}
.recipe_flow_list {
    display: flex;
    flex-wrap: wrap;
}
.recipe_flow_box {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 6%;
}
.recipe_flow_box:nth-of-type(3n) {
    margin-right: 0;
}
.recipe_flow_no {
    font-size: 18px;
}
.recipe_flow h1 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}
.recipe_flow_text {
    font-size: 14px;
    line-height: 1.4;
}
.recipe_flow_point {
    margin-top: 14px;
    font-size: 13px;
    border: 1px solid #D8BB82;
    padding: 8px 10px;
    border-radius: 6px;
}
.recipe_flow_point_title {
    color: #DD2F00;
    font-weight: bold;
}
.recipe_flow_visual {
    margin-bottom: 4px;
}
.recipe_flow_visual video,
.recipe_flow_visual img {
    width: 100%;
}


@media only screen and (max-width: 767px) {
	h1.cat-pagetitle{
    font-size: 1.2rem;
	margin-right: 12px;
	margin-left: 12px;
}
	
    .recipe_cat_nav {
        display: none;
    }
    .recipe_cat_main_visual p {
        margin: 6px 12px 60px 12px;
    }
    .recipe_cat_box {
        width: 48%;
        margin-right: 4%;
    }
    .recipe_cat_box:nth-of-type(3n) {
        margin-right: 4%;
    }
    .recipe_cat_box:nth-of-type(2n) {
        margin-right: 0;
    }
    /* その他の基本料理集 */
    .recipe_other_block h1 {
        font-size: 18px;
    }
    .recipe_other_nav a {
        width: 48%;
        margin-right: 4%;
    }
    .recipe_other_nav a:nth-of-type(3n) {
        margin-right: 4%;
    }
    .recipe_other_nav a:nth-of-type(2n) {
        margin-right: 0;
    }
    /* レシピ詳細 */
    .recipe_detail_container {
        font-size: 14px;
    }
    .recipe_detail_container h1 {
        font-size: 1.2rem;
        padding-bottom: 8px;
    }
    .recipe_ingredient_list ul {
        display: block;
    }
    .recipe_ingredient_list ul li {
        width: auto;
    }
    .recipe_flow {
        width: 90%;
        margin: 0 auto;
    }
    .recipe_flow_box {
        width: 46%;
        margin-right: 8%;
    }
    .recipe_flow_box:nth-of-type(2n) {
        margin-right: 0;
    }
    .recipe_flow_box:nth-of-type(2n+1) {
        margin-right: 8%;
    }
}
