@charset "utf-8";
/*
Theme Name: Smilefarm WordPress Themes
Theme URI: https://smile-farm.co.jp/
Author: Smilefarm
Author URI: https://smile-farm.co.jp
Description: Smilefarm WordPress Themes
Version: 1.0
Text Domain: Smilefarm
*/
/* reset */
@import url("bootstrap-reboot.css");
@import url("matome.css");
@import url("header.css");
@import url("footer.css");

/* 共通 */
.bgc1 {
    background-color: #fbfbfb;
}
.tate_tit {
    font-size: 32px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-weight: 400;
    margin-bottom: 40px;
    margin-left: 0;
    margin-right: 0;
}
.tate_tit_w {
    display: flex;
    align-items: center;
    justify-content: center;
}
.txt1 {
    font-size: 18px;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    text-align: center;
}
.txt2 {
    font-size: 18px;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    text-align: left;
}
.tit1 {
    font-size: calc(24px + 8 * (100vw - 375px) / 1545);
    font-weight: 600;
    padding-bottom: 5px;
    margin-bottom: 50px;
    position: relative;
}
.tit1::after {
    content: "";
    width: 30px;
    height: 1px;
    background-color: #8b0d19;
    position: absolute;
    bottom: 0;
    left: 0;
}
.tit1_ue {
    font-size: calc(16px + 2 * (100vw - 375px) / 1545);
    color: #888;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
.tit2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}
.tit3 {
    font-size: calc(24px + 8 * (100vw - 375px) / 1545);
    margin-bottom: 60px;
}
.tit4 {
    font-size: 28px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
}
.tit5 {
    font-size: 18px;
}
.tit6 {
    font-size: 16px;
}
.tit7 {
    font-size: 24px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 40px;
    padding-bottom: 10px;
}
.tit8 {
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
}
.tit8::after {
    content: "";
    width: 30px;
    height: 1px;
    background-color: #8b0d19;
    position: absolute;
    bottom: -1px;
    left: 0;
}
.fc1 {
    color: #8b0d19;
}
.tate_mds1 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin-left: 0;
    margin-right: 0;
    letter-spacing: 0.25em;
    line-height: 1.5;
}
.wrap3 {
    display: flex;
    display: -ms-flexbox;
}
.wrap2 {
    display: flex;
    display: -ms-flexbox;
    flex-direction: row-reverse;
}
.wrap2 > div.left {
    width: 20%;
}
.wrap2 > div.left {
    width: 80%;
}
.back_w1 {
    background-color: #efefef;
    padding: calc(30px + 20 * (100vw - 375px) / 1545);
}
.back_w2a {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
}
.ul1 {
    padding-left: 1.5em;
}
.ul50 {
    padding-left: 0;
    display: flex;
    display: -ms-flexbox;
    list-style: none;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.ul50 > li {
    width: 50%;
}
.btn1_w {
    text-align: center;
    margin-top: calc(40px + 10 * (100vw - 375px) / 1545);
}
.btn1_w .btn {
    position: relative;
    max-width: calc(275px + 45 * (100vw - 375px) / 1545);
    display: block;
    margin: 0 auto;
    border: 1px solid #444;
    background-color: transparent;
    padding: 15px;
    font-size: calc(14px + 2 * (100vw - 375px) / 1545);
    font-weight: bold;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
.btn1_w .btn::after {
    content: "";
    position: absolute;
    right: 1.5em;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #444;
    border-right: 1px solid #444;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.4s;
}
.btn1_w .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 1px);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    background-color: #fbfbfb;
    color: #fff;
}
.btn1_w .btn:hover {
    opacity: 1;
    text-decoration: none;
}
.btn1_w .btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.btn1_w .btn:hover::after {
    transform: translateX(0.25em) translateY(-50%) rotate(45deg);
}
.btn1_w .btn span {
    position: relative;
    z-index: 100;
}
.btn1_w .btn.bk {
    background-color: #161817;
    border: 1px solid #fff;
    color: #fff;
}
.btn1_w .btn.bk::after {
    border-top-color: #fff;
    border-right-color: #fff;
}
.btn1_w .btn.bk::before {
    background-color: #202823;
}
.btn1_w .btn.rd1 {
    background-color: #8b0d19;
    border: 1px solid #8b0d19;
    color: #fff;
}
.btn1_w .btn.rd1::after {
    border-top-color: #fff;
    border-right-color: #fff;
}
.btn1_w .btn.rd1::before {
    background-color: #9f0b19;
}
.btn1_w .btn.rd2 {
    background-color: #fff;
    border: 1px solid #8b0d19;
    color: #8b0d19;
}
.btn1_w .btn.rd2::after {
    border-top-color: #8b0d19;
    border-right-color: #8b0d19;
}
.btn1_w .btn.rd2::before {
    background-color: #fbfbfb;
}
.btn2_w {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 640px;
    width: 100%;
}
.btn2_w .btn1_w {
    width: calc((100% - 40px) / 2);
}
.px_w {
    height: 500px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* TOP レシピカテゴリーボタン */
.img_btn_w {
    margin-bottom: 60px;
}
.img_btn_w > li {
    display: flex;
    display: -ms-flexbox;
    margin-bottom: 30px;
}
.img_btn_w > li a {
    display: flex;
    display: -ms-flexbox;
    background-color: #efefef;
    padding: 10px;
    width: 100%;
    align-items: center;
    position: relative;
}
.img_btn_w > li a:hover {
    opacity: 1;
    text-decoration: none;
}
.img_btn_w > li a h3 {
    font-size: calc(14px + 6 * (100vw - 375px) / 1545);
    color: #333;
    margin-bottom: 0;
    padding-right: 3em;
    position: relative;
}
.img_btn_w > li a h3:after {
    border-right: 1px solid #8b0d19;
    border-top: 1px solid #8b0d19;
    content: "";
    height: 8px;
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.4s;
    width: 8px;
}
.img_btn_w > li a .p-top-recipe-category__thumbnail {
    margin-bottom: 0;
    margin-right: calc(40 / 585 * 100%);
    overflow: hidden;
    width: calc(175 / 585 * 100%);
}
.img_btn_w > li a .p-top-recipe-category__thumbnail img {
    margin-bottom: 0;
    transition: transform 0.6s ease;
}
.img_btn_w > li a:hover .p-top-recipe-category__thumbnail img {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
.img_btn_w > li a:hover h3:after {
    transform: translateX(0.5em) translateY(-50%) rotate(45deg);
}
/* TOP メリット */
.top_merit_w {
    position: relative;
}
.top_merit_w .container_in {
    position: relative;
    z-index: 100;
}
.top_merit_w .bg1a {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background-image: url("./images/top_merit01.jpg");
    background-size: cover;
}
.top_merit_w .btn1_w .btn {
    margin-left: 0;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .tate_tit {
        font-size: 21px;
    }
    .txt1 {
        font-size: 14px;
    }
    .tit1 {
        padding-bottom: 5px;
        margin-bottom: 35px;
    }
    .tit2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .tit3 {
        margin-bottom: 30px;
    }
    .img_btn_w > li a .p-top-recipe-category__thumbnail {
        margin-right: calc(20 / 345 * 100%);
        width: calc(90 / 345 * 100%);
    }
    .btn2_w {
        flex-direction: column;
    }
    .btn2_w .btn1_w {
        margin: 0 auto;
        width: 100%;
    }
    .btn2_w > .btn1_w:first-of-type {
        margin: 30px auto 10px;
    }
    .img_btn_w > li:not(:last-child) {
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 640px) {
    .top_merit_w .bg1a {
        padding-bottom: calc(100% / 3 * 2);
        position: static;
        width: 100%;
    }
    .top_merit_w .btn1_w .btn {
        margin-left: auto;
    }
}

/* レシピ */
.recipe_archive_list,
.recipe_type_list,
.recipe_chef_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}
.recipe_type_list > li {
    width: calc((100% - (120 / 1200 * 100%)) / 4);
}
.recipe_type_list > li:not(:nth-of-type(4n)) {
    margin-right: calc(40 / 1200 * 100%);
}
.recipe_chef_list > li {
    width: calc((100% - (200 / 1200 * 100%)) / 6);
}
.recipe_chef_list > li:not(:nth-of-type(6n)) {
    margin-right: calc(40 / 1200 * 100%);
}
.recipe_season_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 5%;
    padding: 0 5%;
    list-style: none;
}
.recipe_season_item:hover {
    opacity: 0.7 !important;
    text-decoration: none;
}

.recipe_season_name {
    color: #8b0d19;
    border: 2px solid #8b0d19;
    border-radius: 10px;
    padding: 0 10px !important;
    text-align: center;
    display: block;
    font-weight: bold;
    font-size: 1.4em;
}
.recipe_season_name:after {
    content: none !important;
}
.recipe_rc_w ul > li a {
    display: block;
    font-size: calc(16px + 2 * (100vw - 375px) / 1545);
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: bold;
}
.recipe_rc_w ul > li a:hover {
    opacity: 1;
    text-decoration: none;
}
.recipe_rc_w ul > li {
    margin-bottom: 30px;
}
.recipe_rc_w ul > li a span {
    position: relative;
    display: block;
    padding-right: 25px;
}
.recipe_rc_w ul > li a span::after {
    content: "";
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
    width: 7px;
    height: 7px;
    border-top: 1px solid #444;
    border-right: 1px solid #444;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    margin: auto;
    vertical-align: middle;
}
.recipe_rc_w ul > li a img,
.recipe_rc_w ul > li a img {
    transition: transform 0.6s ease;
}
.recipe_rc_w ul > li a:hover img,
.recipe_rc_w ul > li a:hover img {
    opacity: 1;
    transform: scale(1.1) translateY(-50%);
}
.recipe_archive_list > li {
    width: calc((100% - (80 / 1200 * 100%)) / 3);
}
.recipe_archive_list > li:not(:nth-of-type(3n)) {
    margin-right: calc(40 / 1200 * 100%);
}
.recipe_ul > li {
    margin-bottom: 30px;
}
.recipe_ul > li a {
    display: block;
    position: relative;
}
.recipe_ul > li a .cate_w {
    position: absolute;
}
.recipe_ul > li a .cate_w span {
    background-color: #8b0d19;
    display: inline-block;
    color: #fff;
    font-size: calc(12px + 4 * (100vw - 375px) / 1545);
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    padding: 2px 10px;
    margin-right: 5px;
}
.recipe_ul > li a h3 {
    font-size: calc(15px + 3 * (100vw - 375px) / 1545);
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
.recipe_ul > li .chef_w {
    font-size: calc(11px + 3 * (100vw - 375px) / 1545);
}
.recipe_ul > li a .chef_w {
    color: #888;
    display: block;
}
/* single */
.recipe_cate_w .inner {
    background-color: #efefef;
    padding: 40px calc(60 / 1200 * 100%);
}
.recipe_cate_w h2 {
    font-size: 18px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.recipe_cate_w .in_ul {
    padding-left: 0;
    list-style: none;
}
.recipe_cate_w .in_ul > li:not(:last-child) {
    margin-bottom: 10px;
}
.recipe_cate_w .in_ul > li a {
    display: block;
    position: relative;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: bold;
    text-align: center;
    background-color: #ffffff;
    padding: 10px 1.5em 10px 10px;
    line-height: 1.5;
}
.recipe_cate_w .in_ul > li a::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #444;
    border-right: 1px solid #444;
    transform: rotate(45deg) translateY(-50%);
    transition: all 0.4s;
    margin: auto;
    vertical-align: middle;
}
.recipe_cate_w .in_ul > li a:hover {
    opacity: 1;
    text-decoration: none;
}
.recipe_cate_w .in_ul > li a:hover::after {
    transform: translateX(0.5em) translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 1000px) {
    .recipe_chef_list > li {
        width: calc((100% - (120 / 1000 * 100%)) / 4);
    }
    .recipe_chef_list > li:not(:nth-of-type(6n)) {
        margin-right: inherit;
    }
    .recipe_chef_list > li:not(:nth-of-type(4n)) {
        margin-right: calc(40 / 1000 * 100%);
    }
}
@media screen and (max-width: 768px) {
    .recipe_type_list,
    .recipe_chef_list {
        display: flex;
    }
    .recipe_type_list > li,
    .recipe_chef_list > li,
    .recipe_archive_list > li {
        margin-bottom: 20px;
        width: calc((100% - (15 / 375 * 100%)) / 2);
    }
    .recipe_type_list > li:not(:nth-of-type(4n)),
    .recipe_chef_list > li:not(:nth-of-type(4n)),
    .recipe_archive_list > li:not(:nth-of-type(3n)) {
        margin-right: inherit;
    }
    .recipe_type_list > li:not(:nth-of-type(2n)),
    .recipe_chef_list > li:not(:nth-of-type(2n)),
    .recipe_archive_list > li:not(:nth-of-type(2n)) {
        margin-right: calc(15 / 375 * 100%);
    }
    .recipe_cate_w .inner {
        padding: 20px 20px 30px;
    }
    .recipe_season_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
    }
}

/* rmkトップ */
.oyakudachi_ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
}
.oyakudachi_ul > li {
    background-color: #fff;
    border-top: 2px solid #8b0d19;
    margin-bottom: 25px;
    display: flex;
    display: -ms-flexbox;
}
.oyakudachi_ul > li:first-child {
    width: 100%;
}
.oyakudachi_ul > li:nth-child(n + 2) {
    width: 49%;
    margin-right: 2%;
}
.oyakudachi_ul > li:nth-child(n + 2) {
    width: 49%;
    margin-right: 2%;
}
.oyakudachi_ul > li:nth-child(odd) {
    margin-right: 0;
}
.oyakudachi_ul > li > a,
.oyakudachi_ul > li .oyakudachi_wrap {
    padding: 40px;
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    width: 100%;
}
.oyakudachi_ul > li .oyakudachi_icon {
    width: calc(100 / 590 * 100%);
}
.oyakudachi_ul > li .oyakudachi_wrap .oyakudachi_icon {
    width: calc(100 / 1200 * 100%);
}
.oyakudachi_ul > li img {
    margin-bottom: 0;
}
.oyakudachi_ul > li .inner {
    padding-left: calc(25 / 590 * 100%);
    width: calc(100% - (100 / 590 * 100%));
}
.oyakudachi_ul > li .oyakudachi_wrap .inner {
    padding-left: calc(60 / 1200 * 100%);
    width: calc(100% - (100 / 1200 * 100%));
}
.oyakudachi_ul > li .oyakudachi_wrap .inner .bgc1 {
    padding: 20px;
}
.oyakudachi_ul > li h3 {
    font-size: 18px;
}
.oyakudachi_ul > li:not(:first-of-type) h3 {
    font-size: calc(14px + 4 * (100vw - 375px) / 1545);
}
.oyakudachi_ul > li:first-of-type .r_arrow {
    font-size: calc(14px + 2 * (100vw - 375px) / 1545);
}
.oyakudachi_ul > li .oyakudachi_wrap h3 {
    margin-bottom: 15px;
}
.oyakudachi_ul > li .oyakudachi_wrap h4 {
    font-size: 16px;
    font-family: "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: 600;
}
.oyakudachi_ul > li a h3,
.oyakudachi_ul > li .oyakudachi_wrap a {
    color: #8b0d19;
}
.oyakudachi_ul > li .oyakudachi_wrap a.r_arrow,
.oyakudachi_ul > li a h3 {
    position: relative;
    display: inline-block;
}
.oyakudachi_ul > li .oyakudachi_wrap a.r_arrow::after,
.oyakudachi_ul > li a h3::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid #8b0d19;
    border-right: 1px solid #8b0d19;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg) translateY(-50%);
}
.oyakudachi_ul > li a:hover {
    opacity: 0.8;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
    .oyakudachi_ul > li:not(:nth-last-of-type(-n + 2)) {
        margin-bottom: 15px;
    }
    .oyakudachi_ul > li > a,
    .oyakudachi_ul > li .oyakudachi_wrap {
        flex-direction: column;
        padding: 10px 15px 20px;
    }
    .oyakudachi_ul > li .oyakudachi_icon {
        align-items: center;
        display: flex;
        height: 60px;
        margin: 0 auto 10px;
        width: 60px;
    }
    .oyakudachi_ul > li .oyakudachi_wrap .oyakudachi_icon {
        height: auto;
        width: 100px;
    }
    .oyakudachi_ul > li .inner,
    .oyakudachi_ul > li .oyakudachi_wrap .inner {
        padding-left: 0;
        width: 100%;
    }
    .oyakudachi_ul > li h3,
    .oyakudachi_ul > li a h3 {
        display: block;
        text-align: center;
    }
    .oyakudachi_ul > li a h3::after {
        display: none;
    }
}

/* news list */
.news_w {
    list-style: none;
    padding-left: 0;
    border-top: 1px solid #ccc;
}
.news_w > li {
    border-bottom: 1px solid #ccc;
}
.news_w > li a {
    padding-top: 20px;
    padding-bottom: 16px;
    display: block;
    position: relative;
}
.news_w > li a::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 1px solid #8b0d19;
    border-right: 1px solid #8b0d19;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg) translateY(-50%);
}
.news_w > li a:hover {
    text-decoration: none;
    opacity: 0.8;
}
.news_w > li a:hover h3 {
    text-decoration: underline;
}
.news_w > li h3 {
    font-family: "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0;
}
.news_w > li .ymd_cate {
    display: flex;
    display: -ms-flexbox;
    margin-bottom: 5px;
    line-height: 1.2;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-size: 14px;
}
.news_w > li .ymd_cate .kokai_ymd {
    border-right: 1px solid #ccc;
    padding-right: 10px;
    margin-right: 10px;
}
.news_w > li .ymd_cate .cat_tag {
    color: #8b0d19;
}
/* single */
.single-rmk h1 {
    font-size: 30px;
    margin-bottom: 20px;
}
.single .ymd_cate {
    display: flex;
    display: -ms-flexbox;
    margin-bottom: 40px;
    line-height: 1.2;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-size: 14px;
}
.single .ymd_cate .kokai_ymd {
    border-right: 1px solid #ccc;
    padding-right: 10px;
    margin-right: 10px;
}
.single .ymd_cate .cat_tag {
    color: #8b0d19;
}
/* ページネーション */
.pn_w {
    margin-top: 30px;
    font-family: "Shippori Mincho", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: bold;
}
.page-numbers {
    display: flex;
    display: -ms-flexbox;
    list-style: none;
    padding-left: 0;
    justify-content: center;
}
.page-numbers > li:not(:last-child) {
    margin-right: 30px;
}
.page-numbers > li span,
.page-numbers > li a {
    line-height: 1;
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 5px;
}
.page-numbers > li .current {
    color: #8b0d19;
    border-bottom: 1px solid #8b0d19;
}
