@charset "utf-8";
/*
Theme Name:		紅茶房ブログ
Description:	
Version:		1.0
License:		
License URI:	
Tags:	
*/

/* ---------------------------------
共通
--------------------------------- */
img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}


#sub1{
	display: none;
}

/* ---------------------------------
アーカイブ
--------------------------------- */
.blog-archive {
	padding: 80px 20px;
}

.blog-archive__inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* ---------------------------------
パンくず
--------------------------------- */
.breadcrumb {
	margin-bottom: 30px;
	font-size: 14px;
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.breadcrumb__item {
	display: flex;
	align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
	content: ">";
	margin-left: 8px;
	color: #999;
}

.breadcrumb__item a {
	color: #333;
	text-decoration: none;
}

.breadcrumb__item a:hover {
	text-decoration: underline;
}

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

.blog-card {
	height: 100%;
}

.blog-card__thumb-link {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	text-decoration: none;
}

.blog-card__thumb {
	height: 160px;
	/*padding: 20px;*/
	overflow: hidden;
	/*background: #860558;*/
	box-sizing: border-box;
}

.blog-card__thumb img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: .4s;
}

.blog-card__thumb-link:hover img {
	transform: scale(1.05);
}

.blog-card__body {
	padding-top: 18px;
}

.blog-card__date {
	display: block;
	font-size: 13px;
	color: #888;
	margin-bottom: 10px;
}

.blog-card__cat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	font-size: 12px;
	line-height: 1;
	background: #f4f4f4;
	color: #333;
	text-decoration: none;
	border-radius: 999px;
	margin-bottom: 12px;
	transition: .3s;
}

.blog-card__cat:hover {
	background: #e8e8e8;
}

.blog-card__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 12px;
}

.blog-card__title a {
	color: inherit;
	text-decoration: none;
	transition: .3s;
}

.blog-card__title a:hover {
	opacity: .7;
}

.blog-card__excerpt {
	font-size: 14px;
	line-height: 2;
	color: #555;
	margin: 0;
}

/* ---------------------------------
ページャー
--------------------------------- */
.pagination {
	margin-top: 60px;
}

.pagination__list {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pagination__item a,
.pagination__item span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	transition: .3s;
	box-sizing: border-box;
}

.pagination__item a:hover {
	background: #f5f5f5;
}

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

/* ---------------------------------
記事なし
--------------------------------- */
.blog-archive__empty {
	text-align: center;
	padding: 80px 0;
	font-size: 16px;
}

/* ---------------------------------
シングル
--------------------------------- */
.blog-single {
	padding: 80px 20px;
}

.blog-single__inner {
	max-width: 900px;
	margin: 0 auto;
}

.single-post {
	width: 100%;
}

.single-post__date {
	display: block;
	font-size: 14px;
	color: #888;
	margin-bottom: 10px;
}

.single-post__cat {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f4f4f4;
	font-size: 12px;
	margin-bottom: 15px;
}

.single-post__title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 40px;
}

.single-post__thumbnail {
	margin-bottom: 40px;
}

.single-post__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

.single-post__content {
	font-size: 16px;
	line-height: 2;
	color: #333;
}

.single-post__content h2 {
	font-size: 28px;
	line-height: 1.6;
	margin: 60px 0 20px;
}

.single-post__content h3 {
	font-size: 22px;
	line-height: 1.6;
	margin: 40px 0 15px;
}

.single-post__content p {
	margin: 0 0 1.8em;
}

.single-post__content ul,
.single-post__content ol {
	margin: 0 0 1.8em 1.5em;
	padding: 0;
}

.single-post__content li {
	margin-bottom: .5em;
}

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

.single-post__pager {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 80px;
	padding-top: 40px;
	border-top: 1px solid #ddd;
}

.single-post__pager-prev,
.single-post__pager-next {
	width: 30%;
}

.single-post__pager-next {
	text-align: right;
}

.single-post__pager-archive {
	width: 40%;
	text-align: center;
}

.single-post__pager a {
	color: inherit;
	text-decoration: none;
}

.single-post__pager a:hover {
	text-decoration: underline;
}

.single-post__pager-archive a {
	display: inline-block;
	padding: 12px 30px;
	border: 1px solid #ddd;
	text-decoration: none;
}

.single-post__pager-archive a:hover {
	background: #f5f5f5;
	text-decoration: none;
}



/*searchカテゴリ*/

.blog-category-nav {
	margin: 30px 0 40px;
	padding: 20px;
	background: #f8f4ec;
	border-radius: 8px;
}

.blog-category-nav__lead {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: bold;
	color: #5a3b20;
}

.blog-category-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-category-nav__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border: 1px solid #8b5a2b;
	border-radius: 999px;
	background: #fff;
	color: #5a3b20;
	font-size: 14px;
	text-decoration: none;
	transition: 0.3s;
}

.blog-category-nav__link:hover {
	background: #8b5a2b;
	color: #fff;
}

