body.page:not(.home),
body.category {
	background: linear-gradient(180deg, #fff7e7 0, var(--nk-bg) 330px, #fffdf8 100%);
	color: var(--nk-ink);
	font-family: "Noto Sans JP", system-ui, sans-serif;
}

body.page:not(.home) .header-container,
body.page:not(.home) #navi,
body.page:not(.home) .mobile-menu-buttons,
body.page:not(.home) footer.footer,
body.category .header-container,
body.category #navi,
body.category .mobile-menu-buttons,
body.category footer.footer {
	display: none !important;
}

body.page:not(.home) .content,
body.category .content {
	margin-top: 0;
}

body.page:not(.home) .content-in,
body.category .content-in {
	width: min(var(--nk-max), calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 72px;
}

body.page:not(.home) .main,
body.category .main {
	width: 100% !important;
	border: 0;
	background: transparent;
	box-shadow: none;
	padding: 0;
}

body.page:not(.home) .sidebar,
body.category .sidebar {
	display: none !important;
}

body.page:not(.home) .breadcrumb,
body.category .breadcrumb {
	margin: 0 0 28px;
	color: var(--nk-muted);
	font-size: 12px;
	font-weight: 700;
}

body.page:not(.home) .article-header,
body.category .archive-title {
	max-width: 820px;
	padding: 34px 0 28px;
}

body.page:not(.home) .entry-title,
body.category .archive-title,
body.category .list-title {
	margin: 0;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--nk-ink);
	font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
	font-size: clamp(38px, 6vw, 64px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
}

body.page:not(.home) .entry-content {
	max-width: 780px;
	margin: 0 auto;
	border-top: 1px solid var(--nk-line);
	padding-top: 30px;
	font-size: 16px;
	line-height: 1.9;
}

body.page:not(.home) .entry-content h2 {
	margin: 42px 0 16px;
	border: 0;
	border-left: 6px solid var(--nk-primary);
	border-radius: 0;
	padding: 3px 0 3px 16px;
	background: transparent;
	color: var(--nk-ink);
	font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
	font-size: 25px;
	line-height: 1.5;
}

body.page:not(.home) .entry-content h3 {
	margin: 32px 0 14px;
	border: 0;
	padding: 0;
	background: transparent;
	font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
	font-size: 20px;
}

body.page:not(.home) .entry-content a {
	color: #5e45b8;
	font-weight: 700;
}

body.page:not(.home) input[type="text"],
body.page:not(.home) input[type="email"],
body.page:not(.home) input[type="tel"],
body.page:not(.home) input[type="url"],
body.page:not(.home) select,
body.page:not(.home) textarea {
	width: 100%;
	border: 1px solid #d9cdbb;
	border-radius: 6px;
	padding: 13px 14px;
	background: var(--nk-paper);
	color: var(--nk-ink);
	font: inherit;
}

body.page:not(.home) textarea {
	min-height: 180px;
	resize: vertical;
}

body.page:not(.home) input[type="submit"],
body.page:not(.home) button[type="submit"] {
	min-height: 50px;
	border: 1px solid #5e45b8;
	border-radius: 999px;
	padding: 0 24px;
	background: var(--nk-primary);
	color: #fff;
	font: inherit;
	font-weight: 800;
	box-shadow: 0 7px 0 #d7cafa;
	cursor: pointer;
}

body.page:not(.home) .wpcf7-form p,
body.page:not(.home) .contact-form p {
	margin-bottom: 20px;
}

body.page:not(.home) .wpcf7-list-item {
	margin-left: 0;
}

body.category #list,
body.category .list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	border-top: 1px solid var(--nk-line);
	padding-top: 30px;
}

body.category .entry-card-wrap {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.category .entry-card {
	height: 100%;
	display: block !important;
	overflow: hidden;
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	padding: 0 !important;
	background: var(--nk-paper);
	box-shadow: 0 10px 26px rgba(47, 40, 29, .05);
}

body.category .entry-card-thumb {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

body.category .entry-card-thumb img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 10;
	border-radius: 0 !important;
	object-fit: cover;
}

body.category .entry-card-content {
	margin: 0 !important;
	padding: 16px !important;
}

body.category .entry-card-title {
	margin: 0 0 8px;
	font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.5;
}

body.category .entry-card-snippet {
	color: #5b5143;
	font-size: 13px;
	line-height: 1.7;
}

body.category .pagination {
	grid-column: 1 / -1;
	margin-top: 18px;
}

@media (max-width: 920px) {
	body.category #list,
	body.category .list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.page:not(.home) .content-in,
	body.category .content-in {
		width: min(100% - 24px, var(--nk-max));
		padding-top: 16px;
	}

	body.page:not(.home) .entry-title,
	body.category .archive-title,
	body.category .list-title {
		font-size: 38px;
	}

	body.category #list,
	body.category .list {
		grid-template-columns: 1fr;
	}

	body.page:not(.home) input[type="submit"],
	body.page:not(.home) button[type="submit"] {
		width: 100%;
	}

	body.page:not(.home) .entry-content {
		font-size: 17px;
		line-height: 1.95;
	}

	body.page:not(.home) .entry-content h2 {
		font-size: 24px;
	}

	body.page:not(.home) .entry-content h3 {
		font-size: 21px;
	}

	body.page:not(.home) input,
	body.page:not(.home) select,
	body.page:not(.home) textarea,
	body.page:not(.home) button {
		font-size: 16px;
	}

	body.category .entry-card-title {
		font-size: 20px;
	}

	body.category .entry-card-snippet {
		font-size: 15px;
		line-height: 1.8;
	}
}
