@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.4
*/

:root {
	--pm-green: #5e875b;
	--pm-green-dark: #436b45;
	--pm-green-soft: #edf3e9;
	--pm-cream: #fbfaf6;
	--pm-beige: #f5f0e7;
	--pm-brown: #3f332b;
	--pm-text: #3f3a35;
	--pm-muted: #7e766e;
	--pm-border: #e6e1d9;
	--pm-radius: 9px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--pm-text);
	background: var(--pm-cream);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.7;
}

a {
	color: var(--pm-green-dark);
}

a:hover {
	color: var(--pm-brown);
}

/* Header */
.header-container,
.header-container-in,
.header,
.navi,
.navi-in > ul {
	background: #fff;
}

.header-container {
	border-bottom: 1px solid var(--pm-border);
}

.header-in.wrap {
	display: flex;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-start !important;
	gap: 30px;
	max-width: 1060px;
	min-height: 92px;
	padding: 10px 4px;
}

.logo-header {
	order: 1;
	width: auto !important;
	height: auto !important;
	margin: 0;
	padding: 0 !important;
	text-align: left;
}

.logo-header .site-name-text {
	color: var(--pm-brown);
	font-size: 36px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
}

.tagline {
	order: 2;
	margin: 0;
	color: #615a54;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
}

.navi {
	border-top: 1px solid var(--pm-border);
}

.navi-in.wrap {
	max-width: 1060px;
}

.navi-in > ul {
	display: flex;
	flex-wrap: nowrap !important;
	align-items: stretch;
	justify-content: center;
	min-height: 50px;
}

.navi-in > ul > li {
	flex: 1 1 auto !important;
	width: auto !important;
	border-right: 1px solid var(--pm-border);
}

.navi-in > ul > #menu-item-36 {
	display: none;
}

.navi-in > ul > li:first-child {
	border-left: 1px solid var(--pm-border);
}

.navi-in > ul > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 50px;
	margin: 0;
	padding: 0 17px;
	color: #27231f;
	font-size: 13px;
	font-weight: 700;
	border-radius: 0;
	white-space: nowrap;
}

.navi-in > ul > li > a:hover {
	color: var(--pm-green-dark);
	background: #f7f5f0;
}

.navi-in .caption-wrap,
.navi-in .item-label {
	display: contents;
}

.pm-menu-icon {
	color: #4a443e;
	font-size: 18px;
}

.pm-menu-home .item-label,
.pm-menu-search .item-label {
	font-size: 0;
}

.pm-menu-home a,
.pm-menu-search a {
	min-width: 52px !important;
}

.pm-menu-search .pm-menu-icon {
	font-size: 20px;
}

/* Homepage layout */
body.home #content {
	margin-top: 0 !important;
}

body.home .content-in.wrap {
	width: min(1060px, calc(100% - 32px));
	max-width: 1060px;
	margin: 0 auto;
}

body.home .content-in > .main {
	float: none;
	width: 100%;
	max-width: none;
	padding: 0;
	background: transparent;
}

body.home .content-in > #sidebar {
	display: none;
}

.pm-home-shell {
	display: grid !important;
	grid-template-columns: minmax(0, 760px) minmax(245px, 280px);
	gap: 24px;
	width: 100%;
	max-width: 1060px;
	margin: 18px auto 0;
	padding: 0;
}

.pm-home-main,
.pm-home-sidebar {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent !important;
}

.pm-feature {
	display: grid;
	grid-template-columns: 40% 60%;
	height: 280px;
	margin: 0 0 22px;
	overflow: hidden;
	background: #f5eee3;
	border: 1px solid #e7ded2;
	border-radius: 11px;
}

.pm-feature-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 22px 14px 18px 30px;
	z-index: 1;
}

.pm-feature-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 9px;
	padding: 5px 14px;
	color: #fff;
	background: var(--pm-green);
	border-radius: 7px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .06em;
}

.pm-feature-eyebrow {
	margin: 0 0 5px;
	color: #665f58;
	font-size: 12px;
	font-weight: 700;
}

.pm-feature h1 {
	margin: 0 0 8px;
	color: #27221f;
	font-size: clamp(22px, 2.1vw, 27px);
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.34;
}

.pm-feature p {
	display: -webkit-box;
	max-height: 3.3em;
	margin: 0 0 10px;
	overflow: hidden;
	color: #625c55;
	font-size: 12px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-width: 180px;
	padding: 8px 22px;
	color: #fff !important;
	background: var(--pm-green);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}

.pm-button:hover {
	background: var(--pm-green-dark);
}

.pm-feature-photo {
	height: 100%;
	overflow: hidden;
	background: #eee8df;
}

.pm-feature-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.pm-section {
	margin: 0 0 24px;
}

.pm-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 10px;
	padding: 0 4px 6px;
	border-bottom: 1px solid var(--pm-border);
}

.pm-section-heading h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: #292520;
	background: none;
	border: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.35;
}

.pm-section-heading h2 i {
	color: var(--pm-green);
	font-size: 23px;
}

.pm-section-heading p {
	margin: 0;
	color: var(--pm-muted);
	font-size: 11px;
	white-space: nowrap;
}

.pm-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.pm-category-card {
	display: block;
	overflow: hidden;
	color: var(--pm-text) !important;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 7px;
	text-decoration: none !important;
}

.pm-category-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1.48 / 1;
	object-fit: cover;
}

.pm-category-name {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 7px 9px 1px;
	color: #27231f;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.pm-category-name i {
	width: 20px;
	color: #4d7450;
	font-size: 18px;
	text-align: center;
}

.pm-category-card small {
	display: block;
	padding: 0 9px 8px;
	color: #817a72;
	font-size: 9px;
	line-height: 1.45;
}

.pm-category-card:hover,
.pm-post-card:hover {
	border-color: #bdcdb6;
}

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

.pm-post-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 7px;
}

.pm-post-card-link {
	display: block;
	height: 100%;
	color: var(--pm-text) !important;
	text-decoration: none !important;
}

.pm-post-card-image {
	position: relative;
	overflow: hidden;
}

.pm-post-card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1.55 / 1;
	object-fit: cover;
}

.pm-post-label {
	position: absolute;
	top: 7px;
	left: 7px;
	padding: 3px 9px;
	color: #fff;
	background: var(--pm-green);
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
}

.pm-post-card-body {
	padding: 8px 10px 12px;
}

.pm-post-card h3 {
	margin: 0 0 4px;
	color: #28231f;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.42;
}

.pm-post-card time {
	display: block;
	margin-bottom: 4px;
	color: #928a82;
	font-size: 9px;
}

.pm-post-card p {
	margin: 0;
	color: #756e66;
	font-size: 10px;
	line-height: 1.65;
}

.pm-latest-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.pm-post-card.is-compact .pm-post-card-image img {
	aspect-ratio: 1.55 / 1;
}

.pm-post-card.is-compact h3 {
	font-size: 12px;
}

.pm-empty {
	grid-column: 1 / -1;
	padding: 24px;
	color: #6e675f;
	background: #fff;
	border: 1px dashed #cfc7bc;
	border-radius: 7px;
	text-align: center;
}

.pm-empty-label {
	display: inline-block;
	margin-bottom: 5px;
	padding: 3px 10px;
	color: #fff;
	background: var(--pm-green);
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
}

.pm-empty strong {
	display: block;
	color: #3f3933;
	font-size: 14px;
}

.pm-empty p {
	margin: 3px 0 0;
	font-size: 11px;
}

/* Sidebar */
.pm-home-sidebar {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pm-side-card {
	padding: 12px 14px 14px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 8px;
}

.pm-side-card h2 {
	margin: 0 0 12px;
	padding: 0 0 8px;
	color: #2c2824;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--pm-border);
	font-size: 14px;
	font-weight: 800;
}

.pm-profile-card {
	text-align: center;
}

.pm-profile-card h2 {
	text-align: left;
}

.pm-profile-image {
	display: block;
	width: 126px;
	height: 126px;
	margin: 4px auto 5px;
	object-fit: cover;
	border-radius: 50%;
}

.pm-profile-card > strong {
	display: block;
	margin: 2px 0 5px;
	color: #28231f;
	font-size: 17px;
}

.pm-profile-card p {
	margin: 0 0 11px;
	color: #57514b;
	font-size: 11px;
	line-height: 1.65;
	text-align: left;
}

.pm-outline-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	padding: 8px 12px;
	color: var(--pm-green-dark) !important;
	background: #fff;
	border: 1px solid var(--pm-green);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-decoration: none !important;
}

.pm-search-card form {
	display: grid;
	grid-template-columns: 1fr 40px;
}

.pm-search-card input {
	min-width: 0;
	height: 38px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-right: 0;
	border-radius: 4px 0 0 4px;
	font-size: 11px;
}

.pm-search-card button {
	width: 40px;
	height: 38px;
	padding: 0;
	color: #fff;
	background: var(--pm-green);
	border: 0;
	border-radius: 0 4px 4px 0;
}

.pm-popular-card ul {
	margin: -4px 0 0;
	padding: 0;
	list-style: none;
}

.pm-popular-card li {
	margin: 0;
	border-bottom: 1px solid #eeeae4;
}

.pm-popular-card li:last-child {
	border-bottom: 0;
}

.pm-popular-card a {
	display: grid;
	grid-template-columns: 25px 1fr 10px;
	align-items: center;
	gap: 8px;
	padding: 9px 2px;
	color: #403a35 !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}

.pm-popular-card i {
	color: #567855;
	font-size: 17px;
	text-align: center;
}

.pm-popular-card b {
	font-size: 17px;
	font-weight: 400;
}

.pm-side-message {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 160px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 8px;
}

.pm-side-message img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.pm-side-message span {
	position: absolute;
	right: 12px;
	bottom: 10px;
	padding: 6px 8px;
	color: #403a35;
	background: rgba(255, 255, 255, .9);
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.5;
}

.pm-recent-item {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 8px;
	margin-bottom: 8px;
	color: #403a35 !important;
	text-decoration: none !important;
}

.pm-recent-item:last-child {
	margin-bottom: 0;
}

.pm-recent-item img {
	width: 76px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

.pm-recent-item strong,
.pm-recent-item time {
	display: block;
}

.pm-recent-item strong {
	font-size: 10px;
	line-height: 1.45;
}

.pm-recent-item time {
	margin-top: 2px;
	color: #918981;
	font-size: 8px;
}

.pm-recent-empty {
	margin: 0;
	color: var(--pm-muted);
	font-size: 10px;
	line-height: 1.6;
}

.pm-photo-credits {
	margin: -5px 2px 0;
	color: #a39b92;
	font-size: 7px;
	line-height: 1.5;
}

/* Articles and footer */
.entry-title {
	color: var(--pm-brown);
	font-weight: 800;
	line-height: 1.5;
}

.article h2,
.entry-content h2 {
	margin-top: 2.2em;
	padding: .72em .9em;
	color: var(--pm-brown);
	background: var(--pm-beige);
	border-left: 6px solid var(--pm-green);
	border-radius: 8px;
	font-weight: 800;
}

.article h3,
.entry-content h3 {
	margin-top: 1.9em;
	padding-bottom: .45em;
	color: var(--pm-brown);
	border-bottom: 2px solid var(--pm-border);
	font-weight: 800;
}

.wp-block-button__link,
.btn,
.ranking-item-link-buttons a {
	color: #fff !important;
	background: var(--pm-green) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-weight: 700;
}

.cat-label,
.entry-category a {
	color: #fff !important;
	background: var(--pm-green) !important;
	border: 0 !important;
	border-radius: 999px;
}

.footer {
	margin-top: 42px;
	color: #fff;
	background: #647359;
}

.footer a {
	color: #fff;
}

/* Responsive */
@media screen and (max-width: 1023px) {
	.header-in.wrap,
	.navi-in.wrap {
		max-width: calc(100% - 32px);
	}

	.navi-in {
		overflow-x: auto;
	}

	.navi-in > ul {
		justify-content: flex-start;
		width: max-content;
		min-width: 100%;
	}

	.navi-in > ul > li > a {
		padding: 0 14px;
	}

	.pm-home-shell {
		grid-template-columns: minmax(0, 1fr) 250px;
	}

	.pm-feature {
		grid-template-columns: 40% 60%;
	}

	.pm-category-name {
		font-size: 12px;
	}
}

@media screen and (max-width: 834px) {
	.header-in.wrap {
		justify-content: center;
		min-height: 76px;
		text-align: center;
	}

	.logo-header .site-name-text {
		font-size: 30px;
	}

	.tagline {
		display: none;
	}

	.navi-in.wrap {
		max-width: 100%;
	}

	.navi-in > ul > li > a {
		min-height: 46px;
		font-size: 12px;
	}

	.pm-home-shell {
		display: block !important;
		width: min(100% - 24px, 720px);
		margin-top: 12px;
	}

	.pm-home-sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 24px;
	}

	.pm-profile-card,
	.pm-photo-credits {
		grid-column: 1 / -1;
	}

	.pm-profile-card {
		display: grid;
		grid-template-columns: 110px 1fr;
		column-gap: 18px;
		text-align: left;
	}

	.pm-profile-card h2,
	.pm-profile-card .pm-outline-button {
		grid-column: 1 / -1;
	}

	.pm-profile-image {
		grid-row: 2 / span 3;
		width: 105px;
		height: 105px;
		margin: 0;
	}

	.pm-profile-card > strong {
		align-self: end;
	}
}

@media screen and (max-width: 600px) {
	.pm-feature {
		grid-template-columns: 1fr;
		height: auto;
	}

	.pm-feature-copy {
		padding: 22px 20px 20px;
	}

	.pm-feature-photo {
		height: 210px;
	}

	.pm-feature h1 {
		font-size: 27px;
	}

	.pm-section-heading {
		align-items: center;
	}

	.pm-section-heading h2 {
		font-size: 19px;
	}

	.pm-section-heading p {
		display: none;
	}

	.pm-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.pm-category-card small {
		font-size: 10px;
	}

	.pm-post-grid,
	.pm-latest-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pm-post-card-link {
		display: grid;
		grid-template-columns: 42% 58%;
	}

	.pm-post-card-image img,
	.pm-post-card.is-compact .pm-post-card-image img {
		height: 100%;
		aspect-ratio: auto;
	}

	.pm-post-card-body {
		padding: 10px 11px;
	}

	.pm-post-card h3,
	.pm-post-card.is-compact h3 {
		font-size: 14px;
	}

	.pm-home-sidebar {
		display: block;
	}

	.pm-side-card,
	.pm-side-message {
		margin-bottom: 12px;
	}

	.pm-profile-card {
		display: block;
		text-align: center;
	}

	.pm-profile-card h2,
	.pm-profile-card p {
		text-align: left;
	}

	.pm-profile-image {
		width: 120px;
		height: 120px;
		margin: 0 auto;
	}

	.pm-photo-credits {
		margin-top: 0;
	}
}
