/* =========================================
   All Page / 全ページ共通
========================================= */
.head-margin {
	margin-top: 100px;
}
nav.grm-breadcrumb {
	margin: 140px 0 80px !important;
}

@media (max-width: 991px) {
	.head-margin {
		margin-top: 70px;
	}
	nav.grm-breadcrumb {
		margin: 80px 0 40px !important;
	}
}
.site-main article {
	margin-bottom: 60px;
}

/* =========================================
   ログインページ関連
========================================= */
.grm-login-main{
	max-width:500px;
	margin:0 auto;
	padding:60px 20px;
}

.grm-login-logo{
	text-align:center;
	margin-bottom:40px;
}

.grm-login-logo img{
	max-width:240px;
	height:auto;
}

/* =========================================
   Page / 検索結果
========================================= */
.grmsf-results-title {
	font-size:18px;
	text-align: center;
	margin:-30px 0 10px;
}
.grmsf-results-count {
	font-size:16px;
	text-align: center;
	margin:0 0 50px;
}

/* =========================================
   Page / レシピページレイアウト調整
========================================= */
.grmrc-page {
	padding: 0 !important;
}

.grmrc-card-meta-ac {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  margin-top: 0;
  margin-bottom: 10px;
  justify-content: center;
}
.grmrc-card-meta-ac span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(155, 123, 69, 0.25);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1;
  color: #9b7b45;
  background: #fbf7ef;
  font-weight: 700;
}
/* =========================
   Recipe Layout Badge
========================= */

.grmrc-card-meta-ac .grmrc-layout-page {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.grmrc-card-meta-ac .grmrc-layout-half {
  background: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
}

.grmrc-card-meta-ac .grmrc-layout-third {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}


/* =========================================
   Page / 下層ページ共通
========================================= */
.site-main h1 {
	font-size: 1.6em;
	line-height: 1.6;
	margin-bottom: 30px;
}

@media (max-width: 991px) {
	.site-main h1 {
		font-size: 1.2em;
		line-height: 1.2;
		margin-bottom: 30px;
	}
}

/* =========================================
   PDF Thumbnail
========================================= */

.entry-content{
	width:100%;
}

.entry-content .link-to-pdf{
	display:block;
	width:100%;
}

.entry-content .thumb-of-pdf{
	display:block;
	width:100% !important;
	max-width:none !important;
	height:auto !important;
}

/* =========================================
   Content Video
========================================= */

.entry-content iframe{
	width:100%;
}

.entry-content .iframe-wrap,
.entry-content .wp-block-embed__wrapper{
	position:relative;
	width:100%;
	aspect-ratio:16 / 9;
}

.entry-content .iframe-wrap iframe,
.entry-content .wp-block-embed__wrapper iframe{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	border:0;
}
.wp-block-embed {
	margin: 20px 0 !important;
}

/* =========================================
   タイトル関係
========================================= */
.grmrc-cat-header {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
}
.grmrc-cat-label {
  margin: 0 0 5px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9b7b45;
  font-weight: 700;
}
.grmrc-cat-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.grmrc-cat-description {
  margin: 30px auto 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
}

.entry-date {
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 5px;
}

/* =========================================
   Search Page
========================================= */

/* =========================
	 Search Header START
========================= */
.page-header{
	margin-bottom:30px;
}

.page-title{
	margin:0 0 10px;
	font-size:32px;
	font-weight:700;
	line-height:1.4;
}
/* Search Header END */


/* =========================
	 Search Card START
========================= */
.card{
	height:100%;
	border:none;
	border-radius:0;
	overflow:hidden;
	background:#fff;
	transition:0.3s;
}

.card:hover{
	transform:translateY(-3px);
	box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.card a{
	display:flex;
	flex-direction:column;
	height:100%;
	color:inherit;
	text-decoration:none;
}
/* Search Card END */


/* =========================
	 Search Image START
========================= */
.card-image{
	position:relative;
	aspect-ratio:1 / 1;
	overflow:hidden;
}

.card-image img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}
/* Search Image END */


/* =========================
	 Search Body START
========================= */
.card-body{
	padding:15px;
	background:#fff;
}
/* Search Body END */


/* =========================
	 Search Date START
========================= */
.card-body .small{
	font-size:12px;
	line-height:1.5;
}
/* Search Date END */


/* =========================
	 Search Title START
========================= */
.card-body h2{
	margin:0 0 10px;
	font-size:16px;
	font-weight:700;
	line-height:1.6;
}
/* Search Title END */


/* =========================
	 Search Taxonomy START
========================= */
.search-taxonomy{
	display:flex;
	flex-wrap:wrap;
	gap:5px;
	margin-bottom:10px;
}

.search-taxonomy .badge{
	display:inline-block;
	padding:4px 10px;
	background:#f5f5f5;
	color:#333;
	font-size:12px;
	font-weight:400;
	line-height:1.4;
	border-radius:20px;
}
/* Search Taxonomy END */


/* =========================
	 Search Post Type START
========================= */
.card-body .text-muted{
	color:#999;
}
/* Search Post Type END */


/* =========================
	 Pagination START
========================= */
.nav-links{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
	margin-top:50px;
}

.page-numbers{
	display:flex;
	justify-content:center;
	align-items:center;
	min-width:40px;
	height:40px;
	padding:0 10px;
	border:1px solid #ddd;
	text-decoration:none;
	color:#333;
	background:#fff;
}

.page-numbers.current{
	color:#fff;
	background:#333;
	border-color:#333;
}

.page-numbers:hover{
	color:#fff;
	background:#333;
	border-color:#333;
}
/* Pagination END */


/* =========================
	 SP START
========================= */
@media(max-width:575px){

	.page-title{
		font-size:24px;
	}

	.card-body{
		padding:10px;
	}

	.card-body h2{
		font-size:14px;
	}

}
/* SP END */