@charset "utf-8";


/* ------------------------------------------------------------------------ */

/*  メインビジュアル

/* ------------------------------------------------------------------------ */


.mv{
	display: block;
}

.mv .mv_background{
	position: relative;
	background: url("../img/mv_top_pc.jpg") no-repeat center center/cover;
	height: 620px;
	width: 100%;
	object-fit: cover;
}

.mv .mv_background h1{
	display: block;
	position: absolute;
	width: auto;
	top: 70px;
	left: 13.5%;
}

.mv .mv_background h1 a{
	display: block;
}

.mv .mv_background h1 a .logo{
	position: relative;
	left: 0;
	right: 0;
	top: 0;
	width: 594px;
	height: auto;
	aspect-ratio: 594 / 480;
}

@media screen and (max-width: 836px){

	.mv{
		background-color: #ebf5fc;
	}
    .mv .mv_background{
        position: relative;
        background: url("../img/mv_top_pc.jpg") no-repeat;
        background-size: cover;
        background-position: right -90px top -80px;
        height: 508px;
        width: 100%;
        object-fit: cover;
    }
    .mv .mv_background::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 80%;
        z-index: 1;
        pointer-events: none;
		background: linear-gradient(to top,
		rgba(235, 245, 252, 1) 0%,
		rgba(235, 245, 252, 0.99) 60%,
		rgba(235, 245, 252, 0.6) 80%,
		rgba(235, 245, 252, 0) 100%
	  );
	}
    .mv .mv_background > * {
        position: relative;
        z-index: 2;
    }

	.mv .mv_background h1{
		position: relative;
		width: 60%;
		min-width: 315px;
		margin-inline: auto;
		left: 0;
	}

	.mv .mv_background h1 a .logo{
		max-width: 362px;
		width: 100%;
		margin-inline: auto;
		height: auto;
		aspect-ratio: 694 / 699;
	}
}

@media screen and (max-width: 500px){
	.mv .mv_background{
		height:450px;
	}
}

/* ------------------------------------------------------------------------ */

/*  新着レシピ newRecipi

/* ------------------------------------------------------------------------ */


.newRecipi{
	background: #fff5e0;
	padding-bottom: 150px
}

.newRecipi .inner{
	max-width: 1000px;
	margin: 0px auto ;
}


.newRecipi .inner .title{
	position: relative;
	z-index: 11;
	font-family: "Kaisei Tokumin", serif;
	font-weight: 600;
	font-style: normal;
	font-size: 34px;
	color: #0059b2;
	border-radius: 50%;
	padding: 60px 0 23px;
	text-align: center;

}


/*h2の疑似要素のアイコン*/
.newRecipi .inner .title::before{
	content: "";
	display: block;
	background: url("../img/title_before_newRecipi.png")no-repeat center center /contain;
	z-index: 10;
    position: absolute;
    top: -5px;
 	left: 0;
	right: 0;
	margin: 0 auto;
	width: 61px;
	height: 46px;
}
/*h2の疑似要素の背景色（丸形）*/
.newRecipi .inner .title::after{
	content: "";
	display: block;
	z-index: -1;
	background: #fff5e0;
	border-radius: 50%;
	width: 200px;
	height: 200px;
    position: absolute;
    top: -60px;
    left: 0;
	right: 0;
	margin: 0 auto;
}

@media(max-width:600px){
	.newRecipi{
		padding-bottom: 80px;
	}

	.newRecipi .inner .title{
		font-size: 26px;
		padding: 40px 0 23px;

	}

	.newRecipi .inner .title::after{
		top: -40px;
		width: 140px;
		height: 140px;
	}

	.newRecipi .inner .title::before{
		width: 45px;
		height: 34px;
		top: -12px;
	}
}


/* ------------------------------------------------------------------------ */

/*  swiper

/* ------------------------------------------------------------------------ */


.recipi-swiper {
  overflow: hidden;
}
.recipi-swiper .recipi-swiper__wrapper {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper {
	z-index: 11 !important;
}

.swiper-slide:hover a{
	color: #00a0e8;
}
.swiper-slide:hover a img{
	opacity: .7;
}
.swiper-slide img {
/*	max-width: 320px;
	*/
	object-fit: cover;
	display: block;
	height:200px;
	width: 320px;
}

.swiper-slide p{
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	line-height: 1.5;
	margin-top: 8px;
}
.swiper-slide a{
	color: #1a1a1a;
}

.newRecipi  .btns{
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
}
.newRecipi  .swiper-pagination{
	position: static;
	display: block;
	width:auto !important;
}

 .newRecipi button#toggle-autoplay{
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 border: none;
	 background: #00a0e8;
	 color: #fff;
	 border-radius: 50%;
	 width: 30px !important;
	 height: 30px;
	 cursor: pointer;
}

.newRecipi button#toggle-autoplay .fas.fa-pause{
	padding: 0;
}

.custom-pause {
	background: url("../img/pause-icon.png") no-repeat center center;
	background-size: contain;
	width: 1em;
	height: 1em;
	display: inline-block;
	font-style: normal; /* アイコンフォントが表示されないように */
	color: transparent; /* テキストカラーも消す */
}


.swiper-pagination-bullet {
	opacity: 1 !important;
	background: #fff !important;
	border: 1px solid #00a0e8;
	width: 10px !important;
	height: 10px !important;
}

.swiper-pagination-bullet-active {
	opacity: 1;
	background: #00a0e8 !important;
}

.newRecipi  .btns .autoplay-toggle{
	display: block;
	width: 30px;
	height: 30px;
}

.swiper-wrapper {
	display: flex;
}

.swiper-button-next,
.swiper-button-prev {
	background-color: #fff;
	border-radius: 50%;
	padding: 10px;
	width: 50px !important;
	height: 50px !important;
	top: 50% !important;
	transform: translateY(-50%);
	margin-top: calc(0px - (var(--swiper-navigation-size)/ 2) - 25px) !important;
}
.swiper-button-prev::after,.swiper-button-next::after{
	font-size: 18px !important;
	line-height: 1;
}

.swiper-button-prev{
	left: 10.5vw !important;
}

.swiper-button-prev::after{
	content: "\f053" !important;
    font-family: "Font Awesome 6 Free" !important;
	font-weight: 900;
}

.swiper-button-next {
	right: 10.5vw !important;
}
.swiper-button-next::after{
	content: "\f054" !important;
    font-family: "Font Awesome 6 Free" !important;
	font-weight: 900;
}



@media screen and (max-width: 1024px) {

  .swiper-button-prev {
    left: 5vw !important;
  }

  .swiper-button-next {
    right: 5vw !important;
  }
}

/* スマホでは左右に固定値で近づける */
@media screen and (max-width: 600px) {

  .swiper-button-prev {
	  left: 10px !important;
  }

  .swiper-button-next {
    right: 10px !important;
  }

	.swiper-button-next, .swiper-button-prev{
		width: 35px !important;
		height: 35px !important;
	}
}




/* ------------------------------------------------------------------------ */

/*  レシピを検索する recipiSearch

/* ------------------------------------------------------------------------ */



.recipiSearch{
	background: #fff;
	padding-bottom: 95px;
}

.recipiSearch .inner{
	max-width: 1000px;
	margin: 0px auto 0;
}


.recipiSearch .inner .title{
	position: relative;
	z-index: 11;
	font-family: "Kaisei Tokumin", serif;
	font-weight: 600;
	font-style: normal;
	font-size: 34px;
	color: #0059b2;
	border-radius: 50%;
	padding: 51px 0 0px;
	text-align: center;
}


/*h2の疑似要素のアイコン*/
.recipiSearch .inner .title::after{
	content: "";
	display: block;
	background: url("../img/title_before_recipiSearch.png")no-repeat center center /contain;
	z-index: 10;
    position: absolute;
	top: -18px;
	left: -6px;
	right: 0;
	margin: 0 auto;
	width: 48px;
	height: 54px;

}
/*h2の疑似要素の背景色（丸形）*/
.recipiSearch .inner .title::before{
	content: "";
	display: block;
	z-index: -1;
	background: #fff;
	border-radius: 50%;
	width: 200px;
    height: 200px;
    position: absolute;
    bottom: -40px;
    left: 0;
	right: 0;
	margin: 0 auto;
}

@media screen and (max-width: 600px) {

	.recipiSearch {
		background: #fff;
		padding-bottom: 50px
	}

	.recipiSearch .inner .title {
		position: relative;
		z-index: 11;
		font-family: "Kaisei Tokumin", serif;
		font-weight: 600;
		font-style: normal;
		font-size: 26px;
		color: #0059b2;
		border-radius: 50%;
		text-align: center;
		padding: 40px 0 0;
	}

	.recipiSearch .inner .title::before{
		top: -40px;
		width: 140px;
		height: 140px;
	}

	.recipiSearch .inner .title::after{
		bottom: 0;
		width: 30px;
		height: 34px;
	}
}


.material-dish{
	border-top: 2px solid #00a0e8;
	margin-top: 51px;
	z-index: 12;
    position: relative;
}

.material-dish h3{
	font-size: 20px;
	text-align: left;
	margin-top: 12px;
	margin-bottom: 30px;
}

.material-dish p{
	font-size: 16px;
	text-align: left;
	margin-bottom: 10px;
}

.material-dish_input{
	width: 100%;
	height: 60px;
	padding: 0px 20px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 30px;
	box-sizing: border-box;
	outline: none;
	margin-bottom: 20px;
}

.material-dish_search{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #0059b2;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 0 24px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	gap: 8px;
	width: 220px;
	height: 60px;
	line-height: 60px;
}

.material-dish_search::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    transition: 0.3s;
	font-size: 16px;
}

.material-dish_search:hover::after{
	right: 14px;
}



.category-search{
	margin-top: 60px;
	border-top: 2px solid #00a0e8;
}

.category-search h3{
	font-size: 20px;
	text-align: left;
	margin-top: 15px;
	margin-bottom: 30px;
}



.category-search_buttons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 8px;
	grid-row-gap: 8px;
	margin-bottom: 15px;
}

.category-search_buttons label {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0px 20px;
	border: 1px solid #ccc;
	border-radius: 9999px;
	cursor: pointer;
	font-size: 14px;
	background-color: #fff;
	color: #333;
	transition: all 0.2s ease;
	user-select: none;
	height: 40px;

}
.category-search_buttons label:hover{
	border-color: #0071ce;
	transition: all 0.2s ease;
}


/* チェックされたときの見た目変更 */
.category-search_buttons input[type="checkbox"] {
	display: none; /* チェックボックス自体は非表示 */
}

.category-search_buttons input[type="checkbox"]:checked + label,
.category-search_buttons label:has(input[type="checkbox"]:checked) {
	background-color: #d5ecff;  /* 青系ハイライト */
	border-color: #0071ce;
	color: #0071ce;
}


.category-search_search{
	position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0059b2;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 0 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    gap: 8px;
    width: 220px;
    height: 60px;
    line-height: 60px;
}

.category-search_search::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    transition: 0.3s;
	font-size: 16px;
}

.category-search_search:hover::after{
	right: 14px;
}






@media(max-width:1100px){

	.recipiSearch .inner {
		width: 90%;
	}
}

@media(max-width:1000px){

	.category-search_buttons {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 8px;
		grid-row-gap: 8px;
		margin-bottom: 20px;
	}
}

@media(max-width:800px){

	.category-search_buttons {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 8px;
		grid-row-gap: 8px;
		margin-bottom: 20px;
	}
	.category-search_buttons label{
		font-size: 13px;
	}
}

@media(max-width:600px){

	.material-dish{
		margin-top: 30px;
	}

	.material-dish_search{
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background-color: #0059b2;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		padding: 12px 24px;
		border: none;
		border-radius: 30px;
		cursor: pointer;
		gap: 8px;
		width:80%;
		margin: 0 auto;
	}

	.category-search_search{
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background-color: #0059b2;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		padding: 12px 24px;
		border: none;
		border-radius: 30px;
		cursor: pointer;
		gap: 8px;
		width:80%;
		margin: 0 auto;
	}
}
