/* Header */
.header {
    display: flex;
    padding: 8px 24px;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.headerNav {
    display: flex;
    gap: 40px;
}

.header_menu {
    display: flex;
    gap: 40px;
}

@media screen and (max-width: 767px) {
    .header {
        width: calc(100% - 24px);
        margin: auto;
        position: fixed;
        top: 12px;
        z-index: 5;
    }

    .header_logo_img {
        max-width: 72%;
        min-height: 50px;
    }

    .headerNav {
        padding: 20px 24px;
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%; /* メニューの幅を設定 */
        max-width: 100%;
        height: 100%;
        background-color: #ede7d4;
        box-shadow: -2px 0 80px rgba(39, 39, 39, 0.7);
        transition: right 0.3s ease-in-out;
        z-index: 99;
    }

    .header._isOpen .headerNav {
        right: 0;
    }

    .header_menu {
        display: block;
        margin-top: 40px;
    }

    .header_menu_item {
        
        border-bottom: #272727 1px solid;
    }
    .header_menu_item a {
        padding: 24px 16px !important;
        color: #272727 !important;
        display: block;
        background-color: transparent !important;
        border: none !important;
        transition: .3s;
    }

    .header_menu a:hover::after{
        right: 100%;
    }

    .header_menu_item a:hover {
        opacity: .6;
    }

    .header_menu_item a span {
        color: #272727 !important;
    }

    ._repos {
        border-top: #272727 1px solid;
    }

    ._contact {
        margin-top: 32px;
        border-bottom: none;
    }

    ._privacy {
        font-size: 14px;
        border-bottom: none;
    }

    .header_menu_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 8px;
        padding: 8px;
        border-radius: 24px;
        background-color: #d8c78e;
        position: absolute;
        top: 10px;
        inset: 0 0 auto auto;
        z-index: 2;
        cursor: pointer;
    }

    .header_menu_btn span {
        width: 20px;
        height: 2px;
        margin: 0 auto;
        font-size: 0;
        text-indent: -9999px;
        border-radius: 2px;
        background-color: #ffffff;
        position: relative;
        right: 0;
        transition: .2s ease-out;
    }

    .header_menu_btn span::before,
    .header_menu_btn span::after {
        content: "";
        position: absolute;
        right: 0;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: .2s ease-out;
    }

    .header_menu_btn span::before {
        width: 24px;
        top: -8px;
    }

    .header_menu_btn span::after {
        width: 14px;
        top: 8px;
    }
}


/* Footer */
.footer {
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    background-color: #f3f3f3;
}

.footer_copyright_text {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .footer {
        padding: 24px 16px;
        flex-direction: column;
    }

    .footer_top {
        margin: auto;
    }

    ._footer {
        max-width: 100%;
    }

    .footer_copyright{
        margin: auto;
    }
}

/* 共通 */
h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}

h3 {
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    margin-bottom: 24px;
    font-size: 1.125rem;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 1.75rem;
    }
}


.btn01 {
    position: relative;
    padding: 8px 100px;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border: 2px solid #7e7e7e;
    border-radius: 35px;
    background-color: #f3f3f3;
    transition: opacity .3s ease;
}

.btn01::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #272727;
    border-right: 2px solid #272727;
    transform: translateY(-50%) translateX(0) rotate(45deg);
    transition: transform .3s ease, border-color .3s ease;
}

.btn01:hover {
    opacity: 0.8;
}

.btn01:hover::after {
    transform: translateY(-50%) translateX(4px) rotate(45deg);
}

/* top */
.mv, .intro, .line, .recette, .search, .line_double {
    margin-bottom: 160px;
}

@media screen and (max-width: 767px) {
    .mv, .intro, .line, .recette, .search, .line_double {
        margin-bottom: 80px;
    }
}


.mv {
    width: 100%;
    position: relative;
    text-align: right;
}

.mv_picture {
    width: 73%;
    border-radius: 10px 0 0 10px;
}

.mv_img::before {
    content: "";
    display: block;
    width: 40%;
    aspect-ratio: 7/7.5;
    position: absolute;
    top: -70px;
    left: 0;
    background-image: url("../img/MV_background.png");
    background-size: cover;
    z-index: -1;
}

@media screen and (max-width: 767px) {
    .mv_img::before {
        top: -100px;
        width: 70%;
    }

    .mv_picture {
        margin-top: 80px;
        width: 90%;
    }
}


.intro {
    display: flex;
}

.intro_img {
    height: 36.5vw;
    aspect-ratio: 16/10;
    background-size: cover;
    border-radius: 0 10px 10px 0;
}

.intro_right {
    margin: auto;
}

.intro_text {
    display: flex;
    margin-bottom: 80px;
    flex-direction: row-reverse;
    font-family: 'Noto Serif JP', serif;
    justify-content: center;
}

.intro_text_concept {
    color: #d8c78e;
    font-weight: 700;
    font-size: 1.2rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.intro_text_catchcopy {
    margin-top: 16px;
    font-size: 2.4rem;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: start;
    font-weight: 400;
}

.intro_concept_img {
    width: 300px;
    height: 215px;
    border-radius: 10px;
}

@media screen and (max-width: 767px) {
    .intro {
        flex-direction: column-reverse;
    }

    .intro_img {
        height: auto;
        border-radius: 0;
    }

    .intro_right {
        margin: 0 16px;
    }

    .intro_text {
        display: block;
        margin-bottom: 40px;
    }

    .intro_text_concept {
        margin-bottom: 0;
        writing-mode: initial;
        font-size: 0.8rem;
    }

    .intro_text_catchcopy {
        margin-top: 0;
        font-size: 1.3rem;
        writing-mode: initial;
    }
}


.recette_h2 {
    display: flex;
    margin-bottom: 40px;
    justify-content: center;
    gap: 24px;
}

.recette_slider {
    margin-bottom: 40px;
    overflow: hidden;
}

.slider {
    margin: 0 -16px;
    padding: 0;
    list-style: none;
}

.recette_item {
    margin: 0 16px;
}

.recette_item_img {
    width: 100%;
    aspect-ratio: 7 / 5;
    overflow: hidden;
    border-radius: 8px;
}

.recette_item_img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.recette_item_category {
    margin: 16px 0 4px;
    padding: 0px 16px;
    background-color: #7e7e7e;
    width: fit-content;
    border-radius: 20px;
    font-size: 14px;
    color: #ffffff;
}

.recette_item_ttl {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .recette_h2 {
        align-items: center;
    }

    .recette_icon {
        height: 35px;
    }
}


/* 矢印 */
.slick-prev,
.slick-next {
    z-index: 1;
}

.slick-prev:before, .slick-next:before {
    font-size: 48px !important;
    color: #7e7e7e !important;
}

/* 左 */
.slick-prev {
    left: 100px !important;
}

/* 右 */
.slick-next {
    right: 100px !important;
}

@media screen and (max-width: 767px) {
    .slick-prev:before, .slick-next:before {
        font-size: 32px !important;
    }

    /* 左 */
    .slick-prev {
        left: 50px !important;
    }

    /* 右 */
    .slick-next {
        right: 50px !important;
    }
}

.recette_more {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.search_inner {
    max-width: 940px;
    height: auto;
    margin: auto;
    padding: 40px 80px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: #ffffff;
    background-color: #7e7e7e;
    gap: 40px;
}

.search_form {
    width: 45%;
    padding-right: 40px;
    border-right: 1px solid #fff;
}

.search_ttl_en {
    margin-bottom: 0;
}

.search_ttl_jp {
    color: #fbfbfb;
}

.search_form_field {
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    background-color: #ffffff;
    border-radius: 32px;
    overflow: hidden;
}

.search_input {
    padding: 8px 16px;
    flex: 1;
    border: none;
    outline: none;
} 

.search_button {
    width: 56px;
    height: 56px;
    background-color: #a7a7a7;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 32px 32px 0;
    cursor: pointer;
}

.search_keyword {
    width: 60%;
}

.search_tag {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.search_tag_item {
    width: max-content;
    padding: 4px 16px;
    align-items: center;
    color: #272727;
    background-color: #fbfbfb;
    border-radius: 32px;
}

.search_tag_item a {
    margin-right: 8px;
}

@media screen and (max-width: 767px) {
    .search_inner {
        margin: 0 16px;
        padding: 24px 24px;
        flex-direction: column;
        gap: 24px;
    }

    .search_form {
        width: 100%;
        padding: 0 0 32px 0;
        border-right: none;
        border-bottom: 1px solid #fff;;
    }
    
    .search_input {
        padding: 4px 16px;
    }

    .search_button {
        height: 40px;
    }

    .search_keyword {
        width: 100%;
    }

    .search_tag_item {
        padding: 0px 16px;
        font-size: 14px;
        font-weight: 500;
    }
}

.line_double {
    width: 85%;
    margin: 0 auto 160px;
    position: relative;
}

.line_double_img {
    max-width: 100%;
    aspect-ratio: 4/1;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: cover;
}

.line_double_background {
    max-width: 100%;
    aspect-ratio: 4 / 1;
    position: absolute;
    top: 40px;
    left: 40px;
}

@media screen and (max-width: 767px) {
    .line_double {
        width: 95%;
        margin: 0 0 120px;
    }

    .line_double_background {
        max-width: 95%;
        left: 32px;
    }
}

/* レシピ一覧 */
/* 検索エリア */
.recettes_search{
	margin-bottom:80px;
	padding:40px;
	background:#f8f8f8;
	border-radius:20px;
}

.recettes_search_category,
.recettes_search_tag{
	margin-bottom:32px;
}

.recettes_search_title{
	margin-bottom:16px;
	font-size:2rem;
	font-weight:700;
}

.recettes_search_category_list{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	list-style:none;
	padding:0;
	margin:0;
}

#js-tags{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
}

/* カテゴリー・タグボタン */
.js-category,
.js-tag{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding: 4px 16px;
	border:1px solid #d8d8d8;
	border-radius:999px;
	background:#fff;
	cursor:pointer;
	transition:.3s;
}

.js-category:hover,
.js-tag:hover{
	background:#333;
	color:#fff;
}

.js-category.is-active,
.js-tag.is-active{
	background:#333;
	border-color:#333;
	color:#fff;
}

/* 投稿一覧 */
.recettes_list{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:40px;
}

.recettes_item{
	display:flex;
	flex-direction:column;
}

.recettes_item_img{
	display:block;
	overflow:hidden;
	border-radius:16px;
}

.recettes_item_img img{
	width:100%;
	display:block;
	transition:.3s;
}

.recettes_item:hover img{
	transform:scale(1.05);
}

.recettes_item_category{
	margin-top:16px;
	margin-bottom:8px;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.recettes_item_category a{
	color:#666;
	font-size:1.3rem;
	text-decoration:none;
}

.recettes_item_title{
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
}

.recettes_item_title a{
	color:#222;
	text-decoration:none;
}

.recettes_item_tag{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.recettes_item_tag a{
	font-size:1.3rem;
	text-decoration:none;
	color:#888;
}

.js-tag.is-active{
	background:#333;
	color:#fff;
}

/* 検索中 */
#js-recette-list{
	transition:.3s;
}

#js-recette-list.is-loading{
	opacity:.4;
	pointer-events:none;
}

/* 0件 */
.recettes_none{
	padding:80px 0;
	text-align:center;
	font-size:2rem;
}

/* SP */
@media screen and (max-width:768px){
	.recettes_search{
		padding:24px;
		margin-bottom:48px;
	}

	.recettes_list{
		grid-template-columns:1fr;
		gap:32px;
	}

	.recettes_search_title{
		font-size:1.8rem;
	}
}