/*
Theme Name: Yamaichi Foods
Theme URI: https://www.yamaichi-foods.co.jp/
Author: Yamaichi Foods
Description: 山一食品株式会社の専用テーマ
Version: 0.1.0
Text Domain: yamaichi-foods
*/

/* 静的HTMLの共通スタイルを移植。 */
/* ---------------------------------------------------------
	PC用cssの読み込み
--------------------------------------------------------- */
/* @import url("css/pc/cmn.css") screen and (min-width: 751px); */
@import url("css/pc/style.css") screen and (min-width: 751px);
/* ---------------------------------------------------------
	スマホ用cssの読み込み
--------------------------------------------------------- */
/* @import url("css/sp/cmn.css") screen and (max-width: 750px); */
@import url("css/sp/style.css") screen and (max-width: 750px);

/* お知らせ一覧・詳細ページのタイトル背景 */
.pageTitle01_news {
	background: url("images/pageTitle_img_01.png") repeat 0 0,
		url("images/news/pageTitle_pht_01.webp") no-repeat 50% 50%;
	background-size: auto, cover;
}

@media screen and (max-width: 750px) {
	.pageTitle01_news {
		background-size: auto 1px, cover;
	}
}

/* お知らせ一覧とページ送り */
.news_archive {
	padding: 35px 0 40px;
	background: #fff;
}

.news_archive_count {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

.news_archive_year {
	margin: 0 0 20px;
	font-size: 24px;
}

.news_archive_empty {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}

.news_archive_list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news_archive_list li {
	border-top: 1px solid #ddd;
}

.news_archive_list li:last-child {
	border-bottom: 1px solid #ddd;
}

.news_archive_list a {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) 24px;
	align-items: center;
	min-height: 77px;
	padding: 16px 0;
	color: #222;
	font-size: 16px;
	line-height: 1.6;
	text-decoration: none;
}

.news_archive_list a:link,
.news_archive_list a:visited {
	color: #222;
}

.news_archive_list time {
	color: #dc8c24;
	font-size: 14px;
	font-weight: bold;
}

.news_archive_list a::after {
	justify-self: end;
	color: #ae9828;
	content: "›";
	font-size: 24px;
}

@media (hover: hover) {
	.news_archive_list a:hover span {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}

.news_archive_list a:focus-visible {
	outline: 2px solid #ae9828;
	outline-offset: -2px;
}

.news_pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 80px;
}

.news_pagination a,
.news_pagination span {
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}

.news_pagination a:link,
.news_pagination a:visited {
	color: #222;
}

.news_pagination a[aria-label]:link,
.news_pagination a[aria-label]:visited,
.news_pagination span {
	color: #ae9828;
}

.news_pagination a[aria-label] {
	font-size: 24px;
}

.news_pagination .current {
	background: #ae9828;
	color: #fff;
}

@media (hover: hover) {
	.news_pagination a:hover {
		background: #ae9828;
		color: #fff;
	}

	.news_pagination a[aria-label]:hover {
		color: #fff;
	}
}

.news_pagination a:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

@media screen and (min-width: 751px) {
	.news_archive {
		padding: 0 0 80px;
	}

	.news_archive_count {
		margin-bottom: 50px;
	}
}

@media screen and (max-width: 750px) {
	.news_breadcrumb_line {
		margin-bottom: 15px;
	}

	.news_archive {
		padding: 0 0 65px;
	}

	.news_archive_count {
		font-size: 13px;
	}

	.news_archive_year {
		font-size: 20px;
	}

	.news_archive_empty {
		font-size: 14px;
	}

	.news_archive_list {
		margin-top: 15px;
	}

	.news_archive_list a {
		position: relative;
		grid-template-columns: 1fr 20px;
		gap: 6px 10px;
		padding: 18px 0;
		font-size: 14px;
	}

	.news_archive_list time {
		grid-column: 1;
		font-size: 12px;
	}

	.news_archive_list a span {
		grid-column: 1;
	}

	.news_archive_list a::after {
		grid-column: 2;
		grid-row: 1 / 3;
		align-self: center;
	}

	.news_pagination {
		gap: 8px;
		margin-top: 45px;
	}

	.news_pagination a,
	.news_pagination span {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
		font-size: 14px;
	}

	.news_pagination .news_page_edge,
	.news_pagination .news_page_late {
		display: none;
	}
}

/* お知らせ詳細のパンくず */
.news_detail_page .breadcrumb_line {
	margin-bottom: 0;
}

/* 404ページの見出しとトップへの導線 */
.pageTitle01_not_found {
	background: #faf8ed;
}

.pageTitle01_not_found .pageTitle01 {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pageTitle01_not_found .pageTitle01 .font01 {
	padding: 0;
	color: #222;
	line-height: 1.4;
}

.not_found_page .breadcrumb_line {
	margin-bottom: 0;
}

.not_found_page .not_found_link {
	margin-top: 30px;
}

/* お知らせ詳細の本文背景と白枠 */
.news_detail {
	padding: 50px 0 100px;
	background: #faf8ed;
}

.news_detail_card {
	box-sizing: border-box;
	width: min(1000px, calc(100% - 40px));
	margin: 0 auto;
	padding: 60px 80px 85px;
	border: 1px solid #e9e4d5;
	border-radius: 7px;
	background: #fff;
}

.news_detail_header {
	margin-bottom: 40px;
	text-align: center;
}

.news_detail_header h2 {
	margin: 0 0 14px;
	font-size: 32px;
	font-weight: bold;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.news_detail_header time {
	font-size: 14px;
}

/* お知らせ本文の行間と段落間 */
.news_content {
	min-width: 0;
	color: #222;
	font-size: 16px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.news_content p {
	margin: 0 0 1.4em;
}

.news_content img,
.news_content video,
.news_content iframe,
.news_content embed,
.news_content object,
.news_content svg {
	max-width: 100%;
}

.news_content img,
.news_content video {
	height: auto;
}

.news_content figure,
.news_content .wp-caption {
	box-sizing: border-box;
	max-width: 100%;
	margin: 0 0 2em;
}

.news_content figure img,
.news_content .wp-caption img {
	display: block;
}

.news_content figcaption,
.news_content .wp-caption-text {
	margin-top: 8px;
	font-size: 14px;
}

.news_content .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.news_content .alignleft {
	float: left;
	margin: 0 24px 20px 0;
}

.news_content .alignright {
	float: right;
	margin: 0 0 20px 24px;
}

.news_content::after {
	display: block;
	clear: both;
	content: "";
}

.news_content_lead_image img {
	border-radius: 6px;
}

/* お知らせ本文の区切り線 */
.news_content .news_content_lead_image {
	margin-bottom: 0;
}

.news_content hr {
	height: 0;
	margin: 50px 0;
	border: 0;
	border-top: 1px solid #ddd;
}

.news_content hr + h1,
.news_content hr + h2,
.news_content hr + h3,
.news_content hr + h4,
.news_content hr + h5,
.news_content hr + h6 {
	margin-top: 0;
}

.news_content h1,
.news_content h2,
.news_content h3,
.news_content h4,
.news_content h5,
.news_content h6 {
	clear: both;
	font-weight: bold;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.news_content h1,
.news_content h2 {
	margin: 70px 0 30px;
	font-size: 24px;
}

/* 投稿本文ではトップページ用の見出し装飾を使わない */
.news_content h2.contentsTitle01 {
	padding: 0;
	background: none;
	font-size: 24px;
	line-height: 1.6;
	text-align: left;
}

.news_content h3 {
	margin: 50px 0 30px;
	padding: 10px 15px 10px 30px;
	border-radius: 4px;
	background: #faf8ed;
	font-size: 21px;
	position: relative;
}

.news_content h3::before {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 15px;
	width: 4px;
	background: #ae9828;
	content: "";
}

.news_content h4 {
	margin: 45px 0 25px;
	padding: 0 10px 12px;
	border-bottom: 2px solid #ae9828;
	font-size: 19px;
}

.news_content h5 {
	margin: 40px 0 20px;
	font-size: 17px;
}

.news_content h6 {
	margin: 35px 0 18px;
	font-size: 15px;
}

.news_content ul,
.news_content ol {
	margin: 24px 0 40px;
	padding: 0;
	list-style: none;
}

.news_content ul li,
.news_content ol li {
	position: relative;
	margin: 0 0 6px;
	padding-left: 30px;
}

/* お知らせ本文のリスト記号を文字の高さに合わせる */
.news_content ul li::before {
	position: absolute;
	top: calc(0.65em - 2px);
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ae9828;
	content: "";
}

.news_content ol {
	counter-reset: news-item;
}

.news_content ol li {
	padding-left: 55px;
	counter-increment: news-item;
}

.news_content ol li::before {
	position: absolute;
	top: -4px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #faf8ed;
	color: #ae9828;
	content: counter(news-item);
	font-weight: bold;
}

.news_content a:link,
.news_content a:visited {
	color: #ae9828;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.news_content a:hover,
.news_content a:focus-visible {
	color: #806c14;
}

.news_content a:hover {
	text-decoration: none;
}

.news_content a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* お知らせ本文のボタンは文字量に合わせ、連続時の余白を抑える */
.news_content p:has(> a.news_button) {
	margin-bottom: 0;
}

.news_content a.news_button {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	min-width: min(310px, 100%);
	max-width: 100%;
	min-height: 50px;
	margin: 10px 0;
	padding: 12px 50px 8px 36px;
	background: #ae9828;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.news_content a.news_button::after {
	position: absolute;
	top: 50%;
	right: 16px;
	content: "›";
	font-size: 24px;
	line-height: 1;
	transform: translateY(-50%);
}

.news_content a.news_button:hover,
.news_content a.news_button:focus-visible {
	background: #806c14;
	color: #fff;
}

.news_content blockquote {
	margin: 30px 0;
	padding: 30px 40px;
	background: #faf8ed;
}

.news_content blockquote p:last-child {
	margin-bottom: 0;
}

.news_content table {
	display: block;
	max-width: 100%;
	margin: 30px 0 0;
	overflow-x: auto;
}

.news_content th,
.news_content td {
	min-width: 80px;
	padding: 15px 20px;
	border: 1px solid #ddd;
	text-align: left;
}

.news_content th {
	background: #faf8ed;
	color: #ae9828;
	font-weight: bold;
}

.news_content pre {
	max-width: 100%;
	overflow-x: auto;
}

@media screen and (max-width: 750px) {
	.news_detail {
		padding: 35px 0 65px;
	}

	.news_detail_card {
		width: 90%;
		padding: 35px 20px 45px;
	}

	.news_detail_header {
		margin-bottom: 30px;
	}

	.news_detail_header h2 {
		font-size: 22px;
		text-align: left;
	}

	.news_content {
		font-size: 14px;
	}

	.news_content h1,
	.news_content h2 {
		margin-top: 50px;
		font-size: 20px;
	}

	.news_content h2.contentsTitle01 {
		font-size: 20px;
	}

	.news_content h3 {
		font-size: 18px;
	}

	.news_content h4 {
		font-size: 17px;
	}

	.news_content h5 {
		font-size: 16px;
	}

	.news_content h6 {
		font-size: 14px;
	}

	.news_content .alignleft,
	.news_content .alignright {
		float: none;
		margin: 0 0 20px;
	}

	.news_content blockquote {
		padding: 22px 20px;
	}
}

/* お知らせ詳細の前後記事と一覧への導線 */
.news_detail_controls {
	width: min(1000px, calc(100% - 40px));
	margin: 0 auto;
}

.news_detail_adjacent {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	margin-top: 40px;
}

a.news_detail_adjacent_link {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
	color: #ae9828;
	text-decoration: none;
}

a.news_detail_adjacent_link:link,
a.news_detail_adjacent_link:visited {
	color: #ae9828;
	text-decoration: none;
}

.news_detail_adjacent_link.is-next {
	grid-column: 2;
	justify-content: flex-end;
	text-align: right;
}

.news_detail_adjacent_arrow {
	display: flex;
	flex: 0 0 50px;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #ae9828;
	color: #fff;
	font-size: 27px;
	line-height: 1;
	padding-bottom: 4px;
}

.news_detail_adjacent_text {
	min-width: 0;
}

.news_detail_adjacent time {
	display: block;
	margin-bottom: 5px;
	color: #222;
	font-size: 14px;
	line-height: 1.5;
}

.news_detail_adjacent_title {
	display: block;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.news_detail_adjacent_link:hover .news_detail_adjacent_title {
	text-decoration: none;
}

.news_detail_adjacent_link:hover .news_detail_adjacent_arrow,
.news_detail_adjacent_link:focus-visible .news_detail_adjacent_arrow {
	background: #806c14;
}

.news_detail_adjacent_link:focus-visible,
.news_detail_list_link:focus-visible,
.news_detail_archives a:focus-visible {
	outline: 2px solid #806c14;
	outline-offset: 3px;
}

a.news_detail_list_link {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(310px, 100%);
	min-height: 50px;
	margin: 40px auto 0;
	padding: 10px 38px;
	background: #ae9828;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

a.news_detail_list_link:link,
a.news_detail_list_link:visited {
	color: #fff;
	text-decoration: none;
}

.news_detail_list_link::after {
	position: absolute;
	top: 50%;
	right: 16px;
	content: "›";
	font-size: 24px;
	line-height: 1;
	transform: translateY(-50%);
}

a.news_detail_list_link:hover {
	background: #806c14;
	color: #fff;
}

/* お知らせ詳細の年別アーカイブ */
.news_detail_archives {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 60px;
	min-height: 88px;
	margin-top: 40px;
	padding: 20px 30px;
	border: 1px solid #e9e4d5;
	border-radius: 7px;
	background: #fff;
}

.news_detail_archives h2 {
	flex: 0 0 115px;
	color: #ae9828;
	font-size: 16px;
	font-weight: bold;
}

.news_detail_archives ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.news_detail_archives a {
	box-sizing: border-box;
	display: block;
	min-width: 95px;
	padding: 7px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #222;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.news_detail_archives a:link,
.news_detail_archives a:visited {
	color: #222;
}

.news_detail_archives a:hover {
	border-color: #806c14;
	background: #806c14;
	color: #fff;
}

@media screen and (max-width: 750px) {
	.news_detail_controls {
		width: 90%;
	}

	.news_detail_adjacent {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		margin-top: 30px;
	}

	.news_detail_adjacent_link {
		align-items: flex-start;
		gap: 8px;
	}

	.news_detail_adjacent_link.is-next {
		grid-column: auto;
	}

	.news_detail_adjacent_arrow {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
		font-size: 22px;
	}

	.news_detail_adjacent time {
		font-size: 11px;
	}

	.news_detail_adjacent_title {
		font-size: 13px;
	}

	.news_detail_archives {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
		padding: 20px;
	}

	.news_detail_archives h2 {
		flex-basis: auto;
	}

	.news_detail_archives a {
		min-width: 80px;
		font-size: 14px;
	}
}

/* トップと商品ページのレシピ写真 */
.top .block05 .recipe_photos .splide__slide {
	position: relative;
	overflow: hidden;
}

.top .block05 .recipe_photos .splide__slide img {
	position: absolute;
	top: 0;
	left: -1px;
	width: calc(100% + 2px);
	height: 100%;
	margin-left: 0;
	object-fit: cover;
	object-position: center;
}

/* レシピページのパンくずと背景 */
.recipe_page .breadcrumb_line {
	margin-bottom: 0;
}

.recipe_search {
	position: relative;
	isolation: isolate;
	padding: 50px 0 70px;
	background: #faf8ed;
}

.recipe_search::before {
	position: absolute;
	inset: 0;
	background: url("images/age-pattern.png") repeat 50% 50% / 320px 306px;
	content: "";
	opacity: 0.15;
	pointer-events: none;
}

/* レシピ詳細の本文 */
.recipe_detail {
	position: relative;
	isolation: isolate;
	padding: 50px 0 100px;
	background: #faf8ed;
}

.recipe_detail::before {
	position: absolute;
	inset: 0;
	background: url("images/age-pattern.png") repeat 50% 50% / 320px 306px;
	content: "";
	opacity: 0.15;
	pointer-events: none;
}

.recipe_detail_card {
	position: relative;
	box-sizing: border-box;
	width: min(1000px, calc(100% - 40px));
	margin: 0 auto;
	padding: 50px 80px 70px;
	border: 1px solid #e9e4d5;
	border-radius: 6px;
	background: #fff;
}

.recipe_detail_header {
	text-align: center;
}

/* 複数のカテゴリー名も詳細カードの幅に収める */
.recipe_detail_category {
	box-sizing: border-box;
	display: inline-block;
	max-width: 100%;
	margin: 0 0 20px;
	padding: 7px 16px;
	border-radius: 4px;
	background: #ae9828;
	color: #fff;
	font-size: 18px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.recipe_detail_header h2 {
	margin: 0 0 30px;
	padding-bottom: 28px;
	border-bottom: 1px solid #ddd;
	font-size: 32px;
	font-weight: bold;
	line-height: 1.5;
}

.recipe_detail_lead {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.8;
}

.recipe_detail_tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 35px 0 0;
}

a.recipe_detail_tag {
	display: block;
	padding: 5px 9px;
	border-radius: 4px;
	background: #fff7ee;
	color: #dc8c24;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
}

a.recipe_detail_tag:link,
a.recipe_detail_tag:visited {
	color: #dc8c24;
	text-decoration: none;
}

@media (hover: hover) {
	a.recipe_detail_tag:hover {
		background: #dc8c24;
		color: #fff;
	}
}

a.recipe_detail_tag:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

.recipe_detail_photo {
	margin: 50px 0;
}

.recipe_detail_photo img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.recipe_detail_facts {
	margin: 0;
}

.recipe_detail_fact {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid #ddd;
}

.recipe_detail_fact dt {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
}

.recipe_detail_fact dt img {
	flex: 0 0 24px;
}

.recipe_detail_fact dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}

/* レシピの追加本文は、お知らせと共通の装飾を使って料理情報の下に表示する */
.recipe_editor_content {
	margin-top: 50px;
}

.recipe_editor_content > :first-child {
	margin-top: 0;
}

.content_editor {
	margin-top: 50px;
	padding: 30px;
	background: #faf8ed;
	font-size: 16px;
	line-height: 1.8;
}

.content_editor_placeholder {
	min-height: 60px;
	margin: 0;
	text-align: center;
}

.content_editor img,
.content_editor video {
	max-width: 100%;
	height: auto;
}

.recipe_detail_note {
	margin: 50px 0 0;
	font-size: 15px;
	line-height: 1.8;
}

/* レシピ詳細の関連レシピスライダー */
.related_recipes {
	position: relative;
	width: 88%;
	min-width: 1000px;
	margin: 110px auto 0;
}

.related_recipes > h2 {
	margin: 0;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

.related_recipes > h2::after {
	display: block;
	width: 35px;
	height: 1px;
	margin: 20px auto 0;
	background: #ae9828;
	content: "";
}

.related_recipes_slider {
	margin-top: 40px;
}

/* スライダー起動前も関連レシピのカードを表示する */
.related_recipes_slider.splide:not(.is-initialized) {
	visibility: visible;
}

.related_recipes_slider:not(.is-initialized) .splide__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

/* 関連レシピが4件以下ならPCのカード幅を保って中央に並べる */
.related_recipes_slider.is-static .splide__list {
	display: flex;
	justify-content: center;
	gap: 30px;
}

.related_recipes_slider.is-static .splide__slide {
	flex: 0 0 calc((100% - 90px) / 4);
}

.related_recipes_slider .splide__track {
	overflow: hidden;
}

.related_recipes_slider .splide__slide {
	display: flex;
	min-width: 0;
	padding: 8px 0 14px;
}

.related_recipe_card {
	flex: 1;
	min-width: 0;
	border: 1px solid #e9e4d5;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.related_recipe_card a {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.related_recipe_card a:link,
.related_recipe_card a:visited,
.related_recipe_card a:hover,
.related_recipe_card a:active {
	color: #222;
	text-decoration: none;
}

.related_recipe_photo {
	position: relative;
	aspect-ratio: 3 / 2;
}

.related_recipe_photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.related_recipe_card h3 {
	box-sizing: border-box;
	min-height: 110px;
	margin: 0;
	padding: 28px 30px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
}

@media (hover: hover) {
	.related_recipe_card:hover {
		box-shadow: 0 10px 24px rgb(65 50 20 / 14%);
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.related_recipe_card:hover {
		transform: translateY(-3px);
	}
}

.related_recipe_card:focus-within {
	box-shadow: 0 10px 24px rgb(65 50 20 / 14%);
}

@media (prefers-reduced-motion: reduce) {
	.related_recipe_card {
		transition: none;
	}
}

.related_recipe_card a:focus-visible {
	outline: 2px solid #222;
	outline-offset: -2px;
}

.related_recipes_slider .splide__arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ae9828;
	color: #fff;
	font-size: 38px;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
}

.related_recipes_slider .splide__arrow span {
	display: block;
	line-height: 1;
}

.related_recipes_slider .splide__arrow--prev span {
	transform: translate(-2px, -3px);
}

.related_recipes_slider .splide__arrow--next span {
	transform: translate(2px, -3px);
}

.related_recipes_slider .splide__arrow--prev {
	left: -32px;
}

.related_recipes_slider .splide__arrow--next {
	right: -32px;
}

.related_recipes_slider .splide__arrows {
	display: none;
}

.related_recipes_slider.has-arrows .splide__arrows {
	display: block;
}

.related_recipes_slider .splide__arrow:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

.recipe_detail .recipe_back_link {
	margin: 70px auto 0;
}

/* レシピ一覧の導入と絞り込み */
.recipe_search .width1000 {
	position: relative;
}

@media screen and (min-width: 751px) {
	.recipe_search .width1000 {
		width: 85%;
		min-width: 1000px;
	}
}

.recipe_search_lead {
	margin: 0 0 55px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.8;
	text-align: center;
}

.recipe_filters {
	margin: 0;
	padding: 25px 30px;
	border: 1px solid #e9e4d5;
	border-radius: 6px;
	background: #fff;
}

.recipe_filter_row {
	display: flex;
	align-items: flex-start;
	gap: 25px;
}

.recipe_filter_row + .recipe_filter_row {
	margin-top: 18px;
}

.recipe_filter_label {
	flex: 0 0 130px;
	padding-top: 8px;
	color: #ae9828;
	font-size: 14px;
	font-weight: bold;
}

.recipe_filter_row + .recipe_filter_row .recipe_filter_label {
	color: #dc8c24;
}

.recipe_filter_options {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	width: 100%;
}

a.recipe_filter_option {
	display: block;
	flex: 0 0 auto;
	padding: 7px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.recipe_filter_option:link,
.recipe_filter_option:visited,
.recipe_filter_option:hover,
.recipe_filter_option:active {
	color: #222;
}

.recipe_filter_option.is-current,
.recipe_filter_option.is-current:link,
.recipe_filter_option.is-current:visited {
	border-color: #ae9828;
	background: #ae9828;
	color: #fff;
}

.recipe_filter_row + .recipe_filter_row .recipe_filter_option.is-current {
	border-color: #dc8c24;
	background: #dc8c24;
	color: #fff;
}

@media (hover: hover) {
	a.recipe_filter_option:hover {
		border-color: #ae9828;
		background: #ae9828;
		color: #fff;
	}

	.recipe_filter_row + .recipe_filter_row a.recipe_filter_option:hover {
		border-color: #dc8c24;
		background: #dc8c24;
	}
}

.recipe_filter_option:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

/* レシピ一覧の件数とカード */
.recipe_card_toolbar {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	margin: 60px 0 35px;
}

.recipe_card_count {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

.recipe_sort {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
	font-size: 14px;
	line-height: 1.6;
}

.recipe_sort a {
	color: #5e4b2c;
	text-decoration: underline;
}

.recipe_sort span[aria-current="page"] {
	color: #ae9828;
	font-weight: bold;
}

.recipe_sort a:hover {
	text-decoration: none;
}

.recipe_sort a:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

.recipe_card_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.recipe_card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid #e9e4d5;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) {
	.recipe_card:hover {
		box-shadow: 0 10px 24px rgb(65 50 20 / 14%);
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.recipe_card:hover {
		transform: translateY(-3px);
	}
}

.recipe_card:focus-within {
	box-shadow: 0 10px 24px rgb(65 50 20 / 14%);
}

@media (prefers-reduced-motion: reduce) {
	.recipe_card {
		transition: none;
	}
}

a.recipe_card_link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: #222;
	text-decoration: none;
}

a.recipe_card_link:link,
a.recipe_card_link:visited,
a.recipe_card_link:hover,
a.recipe_card_link:active {
	color: #222;
	text-decoration: none;
}

a.recipe_card_link:focus-visible h2 {
	text-decoration: underline;
}

a.recipe_card_link:focus-visible {
	outline: 2px solid #222;
	outline-offset: -2px;
}

.recipe_card_media {
	position: relative;
	aspect-ratio: 3 / 2;
}

.recipe_card_media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

/* カテゴリーが複数行になってもカードの左右に同じ余白を残す */
.recipe_card_category {
	position: absolute;
	box-sizing: border-box;
	bottom: -23px;
	left: 40px;
	max-width: calc(100% - 80px);
	padding: 7px 16px;
	border-radius: 4px;
	background: #ae9828;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.recipe_card_body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 290px;
	padding: 40px 40px 30px;
	box-sizing: border-box;
}

.recipe_card_body h2 {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
}

.recipe_card_body p {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.9;
}

.recipe_card_tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
}

.recipe_card_tags li {
	padding: 5px 9px;
	border-radius: 4px;
	background: #fff7ee;
	color: #dc8c24;
	font-size: 13px;
	line-height: 1.4;
}

/* レシピ一覧のページ送りはPCとスマートフォンで数字の縦位置を調整する */
.recipe_pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 60px;
}

.recipe_pagination a,
.recipe_pagination span {
	box-sizing: border-box;
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding-top: 2px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
}

.recipe_pagination a:link,
.recipe_pagination a:visited {
	background: #fff;
	color: #222;
}

.recipe_pagination a[aria-label]:link,
.recipe_pagination a[aria-label]:visited {
	color: #ae9828;
}

/* 矢印は数字と別に中央へ寄せ、ページ番号の位置には影響させない */
.recipe_pagination a[aria-label] {
	padding: 0;
	font-size: 24px;
}

.recipe_pagination a.is-current:link,
.recipe_pagination a.is-current:visited {
	background: #ae9828;
	color: #fff;
}

/* WordPressのページ送りで出力される現在ページも静的見本と同じ色にする */
.recipe_pagination .page-numbers.current {
	background: #ae9828;
	color: #fff;
}

.recipe_pagination span {
	color: #ae9828;
}

@media (hover: hover) {
	.recipe_pagination a:hover,
	.recipe_pagination a[aria-label]:hover {
		background: #ae9828;
		color: #fff;
	}
}

.recipe_pagination a:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}

/* レシピ一覧下部の商品案内 */
.recipe_product_banner {
	position: relative;
	width: min(100%, 1000px);
	margin: 130px auto 0;
}

.recipe_product_banner picture,
.recipe_product_banner img {
	display: block;
	width: 100%;
}

.recipe_product_banner img {
	height: auto;
}

.recipe_product_banner a {
	position: absolute;
	bottom: 70px;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 310px;
	height: 50px;
	background: #ae9828;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	transform: translateX(-50%);
}

.recipe_product_banner a:link,
.recipe_product_banner a:visited,
.recipe_product_banner a:hover,
.recipe_product_banner a:active {
	color: #fff;
	text-decoration: none;
}

.recipe_product_banner a span {
	position: absolute;
	right: 16px;
	font-size: 24px;
}

@media (hover: hover) {
	.recipe_product_banner a:hover {
		background: #95811f;
	}
}

/* レシピ一覧・詳細のスマートフォン表示 */
@media screen and (max-width: 750px) {
	.recipe_detail {
		padding: 35px 0 60px;
	}

	.recipe_detail_card {
		width: 90%;
		padding: 30px 20px 40px;
	}

	.recipe_detail_category {
		font-size: 16px;
	}

	.recipe_detail_header h2 {
		margin-bottom: 24px;
		padding-bottom: 24px;
		font-size: 22px;
	}

	.recipe_detail_lead {
		font-size: 16px;
		text-align: left;
	}

	.recipe_detail_tags {
		margin-top: 24px;
	}

	.recipe_detail_photo {
		margin: 35px 0;
	}

	.recipe_detail_fact {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 18px 0;
	}

	.recipe_detail_point_break {
		display: none;
	}

	.recipe_detail_fact dt span {
		white-space: nowrap;
	}

	.recipe_detail_fact dd {
		padding-left: 39px;
		font-size: 15px;
	}

	.recipe_editor_content {
		margin-top: 35px;
	}

	.content_editor {
		margin-top: 35px;
		padding: 25px 15px;
		font-size: 15px;
	}

	.recipe_detail_note {
		margin-top: 35px;
		font-size: 13px;
	}

	.related_recipes {
		width: 90%;
		min-width: 0;
		margin-top: 70px;
	}

	.recipe_detail .recipe_back_link {
		margin-top: 50px;
	}

	.related_recipes > h2 {
		font-size: 20px;
	}

	.related_recipes_slider:not(.is-initialized) .splide__list {
		grid-template-columns: 1fr;
	}

	.related_recipes_slider.is-static .splide__list {
		flex-direction: column;
		gap: 16px;
	}

	.related_recipes_slider.is-static .splide__slide {
		flex: auto;
	}

	.related_recipe_card h3 {
		min-height: 90px;
		padding: 20px;
		font-size: 15px;
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 4px;
	}

	.related_recipes_slider .splide__arrow {
		width: 44px;
		height: 44px;
		font-size: 28px;
	}

	.related_recipes_slider .splide__arrow--prev span {
		transform: translate(-1px, -1px);
	}

	.related_recipes_slider .splide__arrow--next span {
		transform: translate(1px, -1px);
	}

	.related_recipes_slider .splide__arrow--prev {
		left: -12px;
	}

	.related_recipes_slider .splide__arrow--next {
		right: -12px;
	}

	.recipe_search {
		padding: 50px 0 45px;
	}

	.recipe_search_lead {
		margin-bottom: 30px;
		font-size: 14px;
		text-align: left;
	}

	.recipe_filters {
		padding: 20px 15px;
	}

	.recipe_filter_row {
		flex-direction: column;
		gap: 10px;
	}

	.recipe_filter_label {
		flex-basis: auto;
		padding-top: 0;
	}

	.recipe_filter_options {
		flex: none;
	}

	a.recipe_filter_option {
		padding: 7px 12px;
		font-size: 13px;
	}

	.recipe_card_grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.recipe_card_toolbar {
		flex-wrap: wrap;
		gap: 8px 16px;
		margin: 35px 0 20px;
	}

	.recipe_card_count,
	.recipe_sort {
		font-size: 12px;
	}

	.recipe_card_category {
		left: 24px;
		max-width: calc(100% - 48px);
	}

	.recipe_card_body {
		min-height: 0;
		padding: 36px 24px 24px;
	}

	.recipe_card_body h2 {
		font-size: 18px;
	}

	a.recipe_card_link .recipe_card_body h2 {
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 4px;
	}

	.recipe_card_body p {
		font-size: 13px;
	}

	.recipe_pagination {
		gap: 8px;
		margin-top: 40px;
	}

	.recipe_pagination a,
	.recipe_pagination span {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
		padding-top: 2px;
		font-size: 13px;
	}

	.recipe_pagination a[aria-label] {
		padding: 0 0 4px;
	}

	.recipe_pagination .recipe_page_edge,
	.recipe_pagination .recipe_page_late {
		display: none;
	}

	.recipe_product_banner {
		margin-top: 75px;
	}

	.recipe_product_banner a {
		bottom: 15px;
		width: min(80%, 310px);
		height: 44px;
		font-size: 13px;
	}
}

/* 大豆まめ知識の注記と吹き出し */
.trivia .block01 .source_note {
	display: block;
	margin-top: 20px;
	font-size: 12px;
}

.trivia .block01 .bubble_source {
	display: block;
	margin-top: 10px;
	font-size: 12px;
}

.trivia .block01 .txt04 {
	text-align: center;
}

@media screen and (max-width: 750px) {
	.trivia .block01 .txt04 {
		text-align: left;
	}
}

/* 会社ページの代表者署名 */
.company .block01 .president_name {
	margin-top: 32px;
	font-size: 16px;
	line-height: 1.8;
	text-align: right;
}

@media screen and (max-width: 750px) {
	.company .block01 .president_name {
		font-size: 14px;
	}
}

/* スクロールバーの幅を一定に保つ */
body {
	overflow-y: scroll;
}

/* トップページの購入額バッジ共通デザイン */
.top .block01 .ranking_badge {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #dc8c24;
	color: #fff;
	text-align: center;
	white-space: nowrap;
}

.top .block01 .ranking_badge_intro,
.top .block01 .ranking_badge_claim,
.top .block01 .ranking_badge_main {
	font-family: "Zen Antique", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 400;
}

/* トップのお知らせ */
/* 未投稿メッセージを通常のお知らせ行と同じ高さ・文字サイズにする */
.top .top_news .news_list .news_empty {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 78px;
	font-size: 16px;
}

@media screen and (max-width: 750px) {
	.top .top_news .news_list .news_empty {
		padding: 18px 25px 18px 5px;
		font-size: 14px;
	}
}

.top .top_news .news_list li + li {
	border-top: 0;
}

.top .top_news .news_list a:hover span,
.top .top_news .news_list a:focus-visible span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 動画を表示できない場合の静止画切り替え */
.top .mainvisual .movie_fallback {
	display: none;
}

.top .mainvisual.is-fallback .movie_wrap video,
.top .mainvisual.is-fallback .main_title {
	display: none;
}

.top .mainvisual.is-fallback .movie_fallback {
	display: block;
}

/* ページ上部へ戻るボタンの表示切り替え */
.footer_pagetop {
	opacity: 0;
	visibility: hidden;
	transition: opacity 200ms ease, visibility 200ms ease;
}

.footer_pagetop.is-visible {
	opacity: 1;
	visibility: visible;
}

/* 共通のホバー表示 */
.rollover {
	transition: opacity 200ms ease;
}

@media (hover: hover) {
	.rollover:hover {
		opacity: 0.6;
	}
}

.rollover:focus-visible {
	opacity: 0.6;
}

/* 動きを減らす端末設定に対応 */
@media (prefers-reduced-motion: reduce) {
	.rollover,
	.footer_pagetop,
	.hambList {
		transition: none;
	}
}
