/* Re-direcr */
.wp-block-group.redirect {
	border: solid 1px #777;
	border-radius: 1em;
	padding: 1em 1em 0.5em 1em;
}

/*
1. Header

2. Body
2-0 Header
2-1 Headings
2-2 Paragraph
2-3 Image
2-4 Other general elements
2-5 2021 elements
2-6 JetPack elements
2-7 Archive

3. Blocks
3-1 Pull quote
4. Sidebar
5. Footer
5-0 Entry footer
5-1 Footer Widget
5-2 Footer copyright

6. Plugins

4. Sidebar
*/

/*** 1. Header ***/

/* Site logo */
.site-header > .site-logo {
	border-bottom: none;
	margin-bottom: 0;
}

/* Site description */
.site-branding .site-description {
	font-family: 'Kosugi Maru', sans-serif;
}

@media only screen and (max-width: 481px) {
	.site-header.has-logo.has-title-and-tagline.has-menu .site-branding {
		max-width: 100%;
	}
}

/* Main menu */
#site-navigation.primary-navigation {
	max-width: 100%;
	background: #f0ece8;
	border-top: solid 2px #bf9450;
	border-bottom: solid 2px #bf9450;
}

@media only screen and (min-width: 482px) {
	.primary-navigation .primary-menu-container {
		max-width: 1240px;
		margin-left: auto;
		margin-right: auto;
		display: flex;
		justify-content: center;
	}
}

.primary-navigation a {
	font-family: 'Kosugi Maru', sans-serif;
}

/*** 2. Body ***/

/** 2-0 Header **/
.site-main {
	padding-top: 0;
}

/* Category */
.entry-header .header-category {
	font-family: 'Kosugi Maru', sans-serif;
	text-align: center;
	margin-bottom: 0;
}

.entry-header .header-category a {
	padding-left: 0.5em;
	padding-right: 0.5em
}

/* Post/page title */
.entry-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 2.2em;
	text-align: center;
	margin-top: 10px;
}

/* Post title */
.post .entry-title {
	border-top: double 3px #bf9450;
	padding-top: 0.2em;
	padding-bottom: 0.3em;
	border-bottom: double 3px #bf9450;
	margin-bottom: 10px;
}

/* Page title */
.page .entry-title {
	margin-top: 30px;
}

.singular .entry-header {
	border-bottom: double 3px #bf9450;
}

/* Post date */
.entry-header .header-date {
	font-family: 'Kosugi Maru', sans-serif;
	font-size: 1em;
	font-weight: 400;
	text-align: right;
	margin-top: 0;
}

/** 2-1 Headings **/

.entry-content h2 {
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 1.8em;
	border-bottom: solid 1px #bf9450;
	padding-bottom: 0.2em;
	margin-bottom: 0.5em;
}

.entry-content h3 {
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 1.5em;
	line-height: 1.2em;
	border-left: solid 5px #bf9450;
	padding-left: 0.4em;
}

@media (max-width: 480px) {
	.singular .entry-title {
		font-size: 1.6em;
	}
	.entry-content h2 {
		font-size: 1.5em
	}
	.entry-content h3 {
		font-size: 1.3em;
	}
}

/** 2-2 Paragraph **/
.entry-content p {
	font-family: 'Zen Kurenaido', sans-serif;
	margin-top: 0;
	margin-bottom: 1em;
	font-size: 0.95em;
}

.entry-content p a {
	font-family: sans-serif;
	font-size: 0.95em;
	font-weight: 500;
	text-decoration: underline;
}

/** 2-3 Image **/
.entry-content figcaption {
	font-family: 'Klee One', cursive;
	font-size: 0.85em;
	text-align: left;
	padding: 0 0.5em 0.7em 0.5em;
	border-bottom: solid 1px #ccc;	
}

.entry-content figcaption a {
	text-decoration: underline;
	font-weight: 500
}

/** 2-4 Other general elements **/

/* Buttons */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background), 
.wp-block-button .wp-block-button__link:hover {
	background: #f0ece8;
	border-radius: 20px;
}

.wp-block-button a.wp-block-button__link {
	border-color: #bf9450;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-text-color), 
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover:not(:active):not(.has-text-color){
	font-family: 'Kosugi Maru', sans-serif;
	font-weight: 400;
	color: #000;
}

/** 2-5 2021 elements **/

/* Comment */
.comment-reply-title {
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 1.2em;
}

/** 2-6 JetPack elements **/

/* Related posts */
#jp-relatedposts h3.jp-relatedposts-headline {
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 1.5em;
}

#jp-relatedposts h3.jp-relatedposts-headline em {
	font-weight: 400;
}

#jp-relatedposts h3.jp-relatedposts-headline em:before {
	border-top: none;
	margin-bottom: 0;
}

#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.0em;
	padding: 10px 0 5px 0;
}

@media (max-width: 480px) {
	#jp-relatedposts h3.jp-relatedposts-headline {
		font-size: 1.3em;
	}
}

/** 2-7 Archive **/

/* Page title */
.archive h1.page-title {
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 2em;
}

.archive h2.entry-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 1.8em;
	padding-bottom: 0.2em;
	border-bottom: solid 1px #bf9450;
}

/*** 3. Blocks ***/

/** 3-1 Pull quote **/
.wp-block-pullquote {
	border-top: solid 2px #eee;
	padding-top: 0.75em;
	padding-bottom: 0.75em;
	border-bottom: solid 2px #eee;
}

.wp-block-pullquote blockquote::before {
	display: none;
}

blockquote {
	margin-top: 0;
	margin-bottom: 0;
}

.entry-content .wp-block-pullquote p {
	font-family: 'Noto Serif JP', serif;
	font-size: 0.6em;
	font-weight: 400;
	text-align: left;
	line-height: 1.5em;
}

.entry-content cite {
	text-align: right;
}

/*** 4. Sidebar ***/
@media (min-width: 482px) {
	#content-wrapper>#sidebar {
		padding-top: 30px;
	}
}

.wp-block-group .wp-block-group__inner-container > * {
	margin-top: 0;
	margin-bottom: 1.0em;
}

/* Headings */
.widget-area h2 {
	font-family: 'Kosugi Maru', sans-serif;
	font-weight: 400;
	text-align: center;
	line-height: 2.3em;
	background: #f0ece8;
	border-bottom: solid 2px #bf9450;
}

/* Paragraph */
.widget-area p {
	font-family: 'Zen Kurenaido', sans-serif;
	font-size: 0.95em;
}

/* Blocks */
.wp-block-group .wp-block-group__inner-container {
	padding-bottom: 30px;
}

/* Search */
.wp-block-search .wp-block-search__input {
	border-width: 1px
}

/*** 5. Footer ***/

/** 5-0 Entry footer **/
.single .site-main > article > .entry-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	column-gap: 0.2em;
}

.entry-footer a {
	display: block;
	border: solid 2px #777;
	border-radius: 15px;
	font-family: 'Kosugi Maru', sans-serif;
	line-height: 2.0em;
	padding: 0 0.7em;
	background: #f0ece8;
}

.entry-footer a:before {
	content: "#";
}

/* Archive - Tag links */
.archive .entry-footer .tags-links {
	display: flex;
}

.archive .entry-footer .tags-links a {
	margin: 0 0.5em;
}

/** 5-1 Footer Widget **/
.widget-area {
	margin-top: 10px;
}

.widget-area .wp-block-group .wp-block-group__inner-container p {
	margin-bottom: 0.5em;
}

/* Cafe map */
.footer-cafemap .wp-block-button {
	width: 48%;
}

.footer-cafemap .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background), 
.footer-cafemap .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover:not(:active):not(.has-background) {
	background: #f0ece8;
	border-color: #bf9450;
	border-width: 2px;
}

.footer-cafemap .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-text-color), 
.footer-cafemap .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover:not(:active):not(.has-text-color) {
	color: #000;
	width: 100%;
}

.footer-cafemap .wp-block-button .wp-block-button__link {
	font-family: 'Kosugi Maru', sans-serif;
}

/* Footer menu */
.menu-footer-menu-container li {
	font-family: 'Klee One', cursive;
	padding-bottom: 0.4em;
	border-bottom: solid 1px #ddd;
	margin-bottom: 0.4em;
}

/* RSS feed */
.wp-block-rss__item-title {
	border-bottom: solid 1px #ddd;
}

.wp-block-rss .wp-block-rss__item-title > a {
	font-family: 'Klee One', cursive;
	font-size: 0.95em;
}

.wp-block-rss:not(.is-grid) > li {
	margin-top: 0;
	margin-bottom: 0.5em;
}

/** 5-2 Footer copyright **/
footer .footercopyright p {
	text-align: center;
	font-size: 0.95em;
}

/*** 6. Plugins ***/
