/*
Theme Name: Himinote
Theme URI: https://himinote.com/
Author: Himinote
Author URI: https://himinote.com/
Description: 「ひみつのノート」のための記事を静かに読み進められる軽量WordPressテーマ レビュー まとめ 比較 クリエイター紹介に対応します
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: himinote
Tags: blog, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

:root {
	--color-ink: #2c292a;
	--color-muted: #2c292a;
	--color-pink: #a95670;
	--color-pink-dark: #2c292a;
	--color-pink-pale: #f9eef1;
	--color-pink-soft: #f9eef1;
	--color-border: #e9dde1;
	--color-white: #ffffff;
	--color-focus: #a95670;
	--shadow-soft: 0 18px 50px rgba( 78, 43, 55, 0.08 );
	--shadow-card: 0 8px 28px rgba( 78, 43, 55, 0.07 );
	--radius-small: 10px;
	--radius-medium: 18px;
	--radius-large: 28px;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-serif: "Yu Mincho", "Hiragino Mincho ProN", "YuMincho", Georgia, serif;
	--content-width: 760px;
	--wide-width: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.025em;
	word-break: normal;
	overflow-wrap: anywhere;
}

body,
button,
input,
select,
optgroup,
textarea {
	font-family: var(--font-sans);
}

button,
input,
select,
textarea {
	font-size: 100%;
}

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

figure {
	margin: 0;
}

a {
	color: var(--color-pink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--color-ink);
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid rgba( 169, 86, 112, 0.34 );
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.75em;
	color: var(--color-ink);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.035em;
}

p {
	margin-top: 0;
}

hr {
	margin: 3rem 0;
	border: 0;
	border-top: 1px solid var(--color-border);
}

.site {
	min-height: 100vh;
}

.site-container {
	width: min( calc( 100% - 40px ), var(--wide-width) );
	margin-right: auto;
	margin-left: auto;
}

.content-narrow {
	max-width: var(--content-width);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto !important;
	background: var(--color-white);
	color: var(--color-ink);
	font-size: 14px;
	font-weight: 700;
	box-shadow: var(--shadow-card);
}

/* Header */
.site-header {
	position: relative;
	z-index: 20;
	background: rgba( 255, 255, 255, 0.98 );
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	min-height: 94px;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site-branding {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 14px;
}

.site-logo img,
.custom-logo {
	width: auto;
	max-height: 54px;
}

.site-title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp( 1.25rem, 2vw, 1.6rem );
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.09em;
}

.site-title a,
.footer-title a {
	color: var(--color-ink);
	text-decoration: none;
}

.site-description {
	margin: 5px 0 0;
	color: var(--color-muted);
	font-size: 0.72rem;
	line-height: 1.5;
	letter-spacing: 0.07em;
}

.site-navigation {
	margin-left: auto;
}

.site-navigation ul,
.footer-navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-navigation > ul {
	display: flex;
	align-items: center;
	gap: clamp( 18px, 2.5vw, 34px );
}

.site-navigation li {
	position: relative;
}

.site-navigation a {
	display: block;
	padding: 10px 0;
	color: var(--color-ink);
	font-size: 0.88rem;
	font-weight: 650;
	text-decoration: none;
	letter-spacing: 0.055em;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a {
	color: var(--color-pink);
}

.site-navigation .sub-menu {
	position: absolute;
	top: calc( 100% - 2px );
	left: -18px;
	z-index: 5;
	visibility: hidden;
	width: 220px;
	padding: 10px 18px;
	opacity: 0;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-small);
	box-shadow: var(--shadow-card);
	transform: translateY( 8px );
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-navigation li:hover > .sub-menu,
.site-navigation li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY( 0 );
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	background: transparent;
	color: var(--color-ink);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	cursor: pointer;
}

.menu-toggle__label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.menu-toggle__icon {
	position: relative;
	display: block;
	width: 18px;
	height: 12px;
}

.menu-toggle__icon span {
	position: absolute;
	left: 0;
	width: 18px;
	height: 1px;
	background: currentColor;
	transition: transform 160ms ease, top 160ms ease;
}

.menu-toggle__icon span:first-child {
	top: 2px;
}

.menu-toggle__icon span:last-child {
	top: 9px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
	top: 6px;
	transform: rotate( 45deg );
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
	top: 6px;
	transform: rotate( -45deg );
}

.age-notice {
	background: var(--color-pink-soft);
	border-bottom: 1px solid var(--color-border);
}

.age-notice__inner {
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.age-notice p {
	margin: 0;
	color: #2c292a;
	font-size: 0.75rem;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

.age-notice__badge {
	display: inline-flex;
	width: 30px;
	height: 22px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: var(--color-white);
	color: var(--color-pink);
	font-size: 0.65rem;
	font-weight: 800;
	line-height: 1;
	border: 1px solid var(--color-border);
	border-radius: 999px;
}

/* Shared components */
.section-block {
	padding: clamp( 64px, 8vw, 104px ) 0;
}

.section-block--tinted {
	background: var(--color-pink-soft);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.section-heading {
	margin-bottom: 34px;
}

.section-heading--inline,
.section-heading--with-search,
.archive-header__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.section-heading--inline > p {
	max-width: 520px;
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.section-heading h2 {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp( 1.65rem, 3.5vw, 2.35rem );
	letter-spacing: 0.055em;
}

.section-kicker {
	margin: 0 0 8px;
	color: var(--color-pink);
	font-family: var(--font-sans);
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.18em;
}

.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 11px 25px;
	background: var(--color-pink);
	color: var(--color-white);
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	letter-spacing: 0.045em;
	border: 1px solid var(--color-pink);
	border-radius: 999px;
	cursor: pointer;
	transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--color-pink-dark);
	color: var(--color-white);
	border-color: var(--color-pink-dark);
	transform: translateY( -1px );
}

.button--quiet {
	background: transparent;
	color: var(--color-pink);
	border-color: var(--color-border);
}

.button--quiet:hover {
	background: var(--color-pink-pale);
	color: var(--color-pink-dark);
	border-color: var(--color-pink);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--color-pink);
	font-size: 0.78rem;
	font-weight: 750;
	text-decoration: none;
}

.text-link span {
	transition: transform 160ms ease;
}

.text-link:hover span {
	transform: translateX( 3px );
}

/* Front page */
.front-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient( circle at 84% 22%, rgba( 169, 86, 112, 0.12 ), transparent 29% ),
		linear-gradient( 150deg, #ffffff 28%, var(--color-pink-soft) 100% );
	border-bottom: 1px solid var(--color-border);
}

.front-hero::before {
	position: absolute;
	top: -180px;
	right: -140px;
	width: 430px;
	height: 430px;
	content: "";
	border: 1px solid rgba( 169, 86, 112, 0.13 );
	border-radius: 50%;
}

.front-hero__inner {
	position: relative;
	display: grid;
	min-height: 580px;
	align-items: center;
	grid-template-columns: minmax( 0, 1.25fr ) minmax( 280px, 0.75fr );
	gap: clamp( 52px, 8vw, 110px );
	padding-top: 86px;
	padding-bottom: 94px;
}

.front-hero__copy {
	max-width: 690px;
}

.front-hero h1 {
	max-width: 650px;
	margin: 0 0 24px;
	font-family: var(--font-serif);
	font-size: clamp( 2.55rem, 5.4vw, 4.25rem );
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.07em;
	text-wrap: balance;
}

.front-hero h1 span {
	display: block;
	white-space: nowrap;
}

.front-hero__lead {
	max-width: 610px;
	margin-bottom: 34px;
	color: #2c292a;
	font-size: clamp( 1rem, 1.6vw, 1.12rem );
	line-height: 2;
}

.front-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.front-hero__note {
	position: relative;
	width: min( 100%, 330px );
	aspect-ratio: 0.76;
	justify-self: end;
	padding: 39% 13% 12%;
	background:
		linear-gradient( 90deg, transparent 0 16%, rgba( 169, 86, 112, 0.14 ) 16% calc( 16% + 1px ), transparent calc( 16% + 1px ) ),
		repeating-linear-gradient( 180deg, var(--color-white) 0 42px, #e9dde1 42px 43px );
	border: 1px solid var(--color-border);
	border-radius: 7px 22px 22px 7px;
	box-shadow: -9px 14px 0 #f9eef1, var(--shadow-soft);
	transform: rotate( 2.5deg );
}

.front-hero__note::before {
	position: absolute;
	top: 12%;
	left: 16%;
	width: 54%;
	height: 2px;
	content: "";
	background: var(--color-pink);
	box-shadow: 0 13px 0 rgba( 169, 86, 112, 0.35 );
}

.front-hero__paper-line {
	display: block;
	width: 76%;
	height: 1px;
	margin: 22px auto;
	background: rgba( 169, 86, 112, 0.28 );
}

.front-hero__paper-line:nth-child( 2 ) {
	width: 58%;
}

.front-hero__paper-line:nth-child( 3 ) {
	width: 68%;
}

.front-hero__paper-mark {
	position: absolute;
	right: 12%;
	bottom: 9%;
	display: flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	background: var(--color-pink-pale);
	color: var(--color-pink);
	font-family: var(--font-serif);
	font-size: 1.7rem;
	font-style: italic;
	border-radius: 50%;
}

.front-custom-content {
	max-width: var(--content-width);
	padding-top: 64px;
	padding-bottom: 24px;
}

.category-index {
	background: var(--color-white);
}

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

.category-chips a {
	display: flex;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--color-pink-soft);
	color: var(--color-ink);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-small);
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.category-chips a:hover {
	background: var(--color-pink-pale);
	border-color: rgba( 169, 86, 112, 0.45 );
	transform: translateY( -2px );
}

.category-chips small {
	display: inline-flex;
	min-width: 27px;
	height: 27px;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	color: var(--color-pink);
	font-size: 0.68rem;
	border: 1px solid var(--color-border);
	border-radius: 50%;
}

/* Post cards */
.post-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: clamp( 22px, 3vw, 34px );
}

.post-card {
	min-width: 0;
	overflow: hidden;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
	box-shadow: var(--shadow-card);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
	box-shadow: 0 15px 38px rgba( 78, 43, 55, 0.11 );
	transform: translateY( -3px );
}

.post-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 8 / 5;
	background: var(--color-pink-pale);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.post-card:hover .post-card__media img {
	transform: scale( 1.025 );
}

.post-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient( 135deg, transparent 49.4%, rgba( 169, 86, 112, 0.08 ) 49.5% 50.5%, transparent 50.6% ),
		var(--color-pink-pale);
}

.post-card__placeholder span {
	color: rgba( 169, 86, 112, 0.72 );
	font-family: var(--font-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.post-card__body {
	padding: 23px 23px 25px;
}

.category-label {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	background: var(--color-pink-pale);
	color: var(--color-pink-dark);
	font-size: 0.68rem;
	font-weight: 750;
	line-height: 1.6;
	text-decoration: none;
	letter-spacing: 0.06em;
	border: 1px solid var(--color-border);
	border-radius: 999px;
}

.post-card__category {
	min-height: 28px;
	margin-bottom: 11px;
}

.post-card__title {
	margin-bottom: 10px;
	font-size: clamp( 1.05rem, 1.8vw, 1.2rem );
	line-height: 1.65;
	letter-spacing: 0.035em;
}

.post-card__title a {
	color: var(--color-ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-pink-dark);
}

.post-card__meta,
.entry-meta {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--color-muted);
	font-size: 0.7rem;
	line-height: 1.5;
}

.post-card__meta .updated:not( .published ),
.entry-meta .updated:not( .published ) {
	display: none;
}

.post-card__excerpt {
	margin: 15px 0 17px;
	color: #2c292a;
	font-size: 0.84rem;
	line-height: 1.85;
}

.post-card__excerpt p {
	margin: 0;
}

/* Search and archive */
.search-form {
	display: flex;
	width: min( 100%, 360px );
	gap: 8px;
}

.search-form__label {
	min-width: 0;
	flex: 1;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
	width: 100%;
	min-height: 48px;
	padding: 10px 15px;
	background: var(--color-white);
	color: var(--color-ink);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-small);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

.search-field:focus,
input:focus,
textarea:focus,
select:focus {
	border-color: var(--color-pink);
	outline: 3px solid rgba( 169, 86, 112, 0.14 );
}

.search-submit {
	min-width: 74px;
	min-height: 48px;
	padding: 9px 16px;
}

.archive-header {
	padding: clamp( 54px, 7vw, 88px ) 0;
	background: linear-gradient( 155deg, var(--color-pink-soft), #ffffff );
	border-bottom: 1px solid var(--color-border);
}

.archive-title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp( 2rem, 5vw, 3.4rem );
	letter-spacing: 0.055em;
}

.archive-description {
	max-width: 680px;
	margin-top: 18px;
	color: var(--color-muted);
	font-size: 0.92rem;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.navigation.pagination {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	color: var(--color-ink);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--color-border);
	border-radius: 999px;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-pink);
	color: var(--color-white);
	border-color: var(--color-pink);
}

.no-results {
	max-width: 680px;
	padding: 64px 0;
	margin: 0 auto;
	text-align: center;
}

.no-results .search-form {
	margin: 28px auto 0;
}

/* Single content */
.singular-main {
	padding: clamp( 58px, 8vw, 104px ) 0;
}

.single-layout {
	display: block;
}

.single-layout.has-sidebar {
	display: grid;
	align-items: start;
	grid-template-columns: minmax( 0, 760px ) minmax( 240px, 300px );
	gap: clamp( 44px, 6vw, 72px );
}

.single-layout__content {
	min-width: 0;
}

.no-sidebar .single-layout__content,
.page-article {
	max-width: var(--content-width);
	margin-right: auto;
	margin-left: auto;
}

.entry-header {
	margin-bottom: 36px;
}

.entry-category {
	margin-bottom: 17px;
}

.entry-title {
	margin: 0 0 20px;
	font-family: var(--font-serif);
	font-size: clamp( 2rem, 5vw, 3.25rem );
	line-height: 1.4;
	letter-spacing: 0.045em;
	text-wrap: balance;
}

.page-entry-header {
	padding-bottom: 26px;
	margin-bottom: 42px;
	border-bottom: 1px solid var(--color-border);
}

.post-hero-image {
	overflow: hidden;
	margin: 40px 0 48px;
	border-radius: var(--radius-medium);
}

.post-hero-image img {
	width: 100%;
}

.entry-content {
	font-size: 1rem;
	line-height: 2;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.65em;
}

.entry-content > h2 {
	position: relative;
	padding: 0.18em 0 0.22em 22px;
	margin-top: 3.2em;
	margin-bottom: 1.35em;
	font-size: clamp( 1.5rem, 3vw, 1.9rem );
	line-height: 1.55;
}

.entry-content > h2::before {
	position: absolute;
	top: 0.12em;
	bottom: 0.12em;
	left: 0;
	width: 5px;
	content: "";
	background: var(--color-pink);
	border-radius: 999px;
}

.entry-content > h3 {
	padding-bottom: 0.58em;
	margin-top: 2.6em;
	margin-bottom: 1.15em;
	font-size: clamp( 1.25rem, 2.4vw, 1.5rem );
	border-bottom: 1px solid var(--color-border);
}

.entry-content > h4 {
	margin-top: 2.2em;
	font-size: 1.1rem;
}

.entry-content a:not( .wp-block-button__link ) {
	font-weight: 600;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content li + li {
	margin-top: 0.45em;
}

.entry-content blockquote,
.wp-block-quote {
	padding: 22px 26px;
	margin: 2.4em 0;
	background: var(--color-pink-soft);
	color: #2c292a;
	border: 0;
	border-left: 4px solid var(--color-pink);
	border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content figcaption,
.wp-element-caption {
	margin-top: 9px;
	color: var(--color-muted);
	font-size: 0.72rem;
	line-height: 1.6;
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.entry-content th,
.entry-content td {
	padding: 13px 15px;
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--color-border);
}

.entry-content th {
	background: var(--color-pink-pale);
	font-weight: 700;
}

.entry-content code {
	padding: 0.12em 0.35em;
	background: #f9eef1;
	font-size: 0.88em;
	border-radius: 4px;
}

.entry-content pre {
	overflow-x: auto;
	padding: 20px;
	background: #2c292a;
	color: #ffffff;
	font-size: 0.82rem;
	line-height: 1.7;
	border-radius: var(--radius-small);
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.alignwide {
	width: min( var(--wide-width), calc( 100vw - 40px ) );
	max-width: none;
	margin-right: calc( ( var(--content-width) - min( var(--wide-width), calc( 100vw - 40px ) ) ) / 2 );
	margin-left: calc( ( var(--content-width) - min( var(--wide-width), calc( 100vw - 40px ) ) ) / 2 );
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-right: calc( 50% - 50vw );
	margin-left: calc( 50% - 50vw );
}

.wp-block-image img,
.wp-block-cover,
.wp-block-media-text {
	border-radius: var(--radius-small);
}

.wp-block-separator {
	border-color: var(--color-border);
}

.wp-block-button.is-style-affiliate .wp-block-button__link {
	position: relative;
	min-width: min( 100%, 340px );
	min-height: 58px;
	padding-right: 48px;
	padding-left: 28px;
	box-shadow: 0 9px 24px rgba( 169, 86, 112, 0.2 );
}

.wp-block-button.is-style-affiliate .wp-block-button__link::after {
	position: absolute;
	right: 22px;
	content: "→";
	font-size: 1.1em;
	transition: transform 160ms ease;
}

.wp-block-button.is-style-affiliate .wp-block-button__link:hover::after {
	transform: translateX( 3px );
}

.wp-block-group.is-style-note-box,
.wp-block-group.is-style-caution-box,
.wp-block-group.is-style-pr-box,
.himinote-notice-box,
.himinote-caution-box,
.himinote-pr-box {
	padding: clamp( 20px, 4vw, 30px );
	margin-top: 2.2em;
	margin-bottom: 2.2em;
	border-radius: var(--radius-small);
}

.wp-block-group.is-style-note-box,
.himinote-notice-box {
	background: var(--color-pink-soft);
	border: 1px solid var(--color-border);
}

.wp-block-group.is-style-caution-box,
.himinote-caution-box {
	background: #f9eef1;
	border: 1px solid #e9dde1;
}

.wp-block-group.is-style-pr-box,
.himinote-pr-box {
	background: #f9eef1;
	color: #2c292a;
	font-size: 0.78rem;
	border: 1px solid #e9dde1;
}

.wp-block-group.is-style-note-box > *:last-child,
.wp-block-group.is-style-caution-box > *:last-child,
.wp-block-group.is-style-pr-box > *:last-child {
	margin-bottom: 0;
}

.wp-block-group.is-style-note-box h2,
.wp-block-group.is-style-note-box h3,
.wp-block-group.is-style-caution-box h2,
.wp-block-group.is-style-caution-box h3 {
	margin-bottom: 0.65em;
	font-size: 1.05rem;
}

.pr-disclosure {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 17px;
	margin: 0 0 34px;
	background: #f9eef1;
	color: #2c292a;
	font-size: 0.75rem;
	line-height: 1.7;
	border: 1px solid #e9dde1;
	border-radius: var(--radius-small);
}

.pr-disclosure p {
	margin: 0;
}

.pr-badge {
	display: inline-flex;
	min-width: 33px;
	height: 23px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: var(--color-white);
	color: var(--color-pink-dark);
	font-size: 0.62rem;
	font-weight: 800;
	border: 1px solid var(--color-border);
	border-radius: 4px;
}

.entry-footer {
	padding-top: 28px;
	margin-top: 52px;
	border-top: 1px solid var(--color-border);
}

.entry-taxonomy {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5px;
	margin-top: 8px;
	color: var(--color-muted);
	font-size: 0.76rem;
}

.taxonomy-title {
	margin-right: 8px;
	color: var(--color-ink);
	font-weight: 750;
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	padding-top: 34px;
	margin-top: 46px;
	border-top: 1px solid var(--color-border);
}

.post-navigation > div {
	min-width: 0;
}

.post-navigation__next {
	text-align: right;
}

.post-navigation span {
	display: block;
	margin-bottom: 6px;
	color: var(--color-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.post-navigation a {
	color: var(--color-ink);
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.65;
	text-decoration: none;
}

.post-navigation a:hover {
	color: var(--color-pink);
}

.related-posts {
	padding-top: 76px;
}

.post-grid--related {
	gap: 16px;
}

.post-grid--related .post-card__body {
	padding: 18px;
}

.post-grid--related .post-card__excerpt,
.post-grid--related .text-link {
	display: none;
}

.post-grid--related .post-card__title {
	font-size: 0.92rem;
}

.widget-area {
	position: sticky;
	top: 30px;
}

.widget {
	padding: 24px;
	margin-bottom: 22px;
	background: var(--color-pink-soft);
	font-size: 0.82rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
}

.widget-title {
	padding-bottom: 12px;
	margin-bottom: 17px;
	font-family: var(--font-serif);
	font-size: 1rem;
	border-bottom: 1px solid var(--color-border);
}

.widget ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.widget li + li {
	margin-top: 10px;
}

.widget a {
	color: var(--color-ink);
	text-decoration: none;
}

.widget a:hover {
	color: var(--color-pink);
}

/* Comments */
.comments-area {
	padding-top: 64px;
	margin-top: 64px;
	border-top: 1px solid var(--color-border);
}

.comments-title,
.comment-reply-title {
	font-family: var(--font-serif);
	font-size: 1.45rem;
}

.comment-list {
	padding: 0;
	margin: 34px 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 30px;
	list-style: none;
}

.comment-body {
	padding: 24px 0;
	border-bottom: 1px solid var(--color-border);
}

.comment-meta {
	font-size: 0.75rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-content {
	margin-top: 18px;
	font-size: 0.9rem;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.78rem;
	font-weight: 700;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent input {
	margin-top: 9px;
}

/* 404 */
.error-main {
	background: linear-gradient( 155deg, #ffffff, var(--color-pink-soft) );
}

.error-404 {
	max-width: 720px;
	padding-top: clamp( 74px, 10vw, 140px );
	padding-bottom: clamp( 90px, 12vw, 170px );
	text-align: center;
}

.error-404__number {
	margin-bottom: -20px;
	color: rgba( 169, 86, 112, 0.09 );
	font-family: var(--font-serif);
	font-size: clamp( 7rem, 20vw, 13rem );
	font-weight: 700;
	line-height: 0.9;
}

.error-404 h1 {
	font-family: var(--font-serif);
	font-size: clamp( 1.7rem, 4vw, 2.5rem );
}

.error-404 > p:not( .section-kicker ) {
	color: var(--color-muted);
}

.error-404 .search-form {
	margin: 30px auto 20px;
}

/* Footer */
.site-footer {
	padding: 64px 0 26px;
	background: var(--color-pink-soft);
	border-top: 1px solid var(--color-border);
}

.site-footer__grid {
	display: grid;
	align-items: start;
	grid-template-columns: 1fr auto;
	gap: 48px;
}

.footer-title {
	margin: 0 0 10px;
	font-family: var(--font-serif);
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.09em;
}

.footer-description {
	max-width: 560px;
	margin: 0;
	color: var(--color-muted);
	font-size: 0.8rem;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 24px;
}

.footer-navigation a {
	color: var(--color-ink);
	font-size: 0.76rem;
	font-weight: 650;
	text-decoration: none;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	margin-top: 46px;
	color: var(--color-muted);
	font-size: 0.66rem;
	border-top: 1px solid var(--color-border);
}

.site-footer__bottom p {
	margin: 0;
}

/* WordPress utility classes */
.sticky,
.bypostauthor {
	display: block;
}

.gallery-caption,
.wp-caption-text {
	color: var(--color-muted);
	font-size: 0.72rem;
}

.wp-caption {
	max-width: 100%;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 38px;
}

.page-links a,
.page-links > span:not( :first-child ) {
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	border-radius: 50%;
}

@media ( max-width: 980px ) {
	.post-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.single-layout.has-sidebar {
		display: block;
		max-width: var(--content-width);
	}

	.widget-area {
		position: static;
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 20px;
		margin-top: 70px;
	}

	.widget {
		margin-bottom: 0;
	}

	.category-chips {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 820px ) {
	.site-header__inner {
		position: relative;
		min-height: 78px;
		flex-wrap: wrap;
		gap: 18px;
	}

	.site-description {
		display: none;
	}

	.js .menu-toggle {
		display: inline-flex;
	}

	.site-navigation {
		width: 100%;
		margin: 0;
	}

	.js .site-navigation {
		position: absolute;
		top: calc( 100% - 1px );
		right: 0;
		left: 0;
		display: none;
		width: 100%;
		padding: 10px 20px 22px;
		background: var(--color-white);
		border-bottom: 1px solid var(--color-border);
		box-shadow: 0 16px 30px rgba( 78, 43, 55, 0.08 );
	}

	.js .site-navigation.is-open {
		display: block;
	}

	.site-navigation > ul {
		display: block;
	}

	.site-navigation a {
		padding: 10px 4px;
	}

	.site-navigation li + li {
		border-top: 1px solid #e9dde1;
	}

	.site-navigation .sub-menu {
		position: static;
		visibility: visible;
		width: auto;
		padding: 0 0 0 18px;
		opacity: 1;
		border: 0;
		box-shadow: none;
		transform: none;
	}

	.front-hero__inner {
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 46px;
		padding-top: 68px;
		padding-bottom: 74px;
	}

	.front-hero__copy {
		max-width: 680px;
	}

	.front-hero__note {
		display: none;
	}

	.section-heading--inline,
	.section-heading--with-search,
	.archive-header__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.section-heading--with-search .search-form,
	.archive-header .search-form {
		width: 100%;
		max-width: 520px;
	}

	.alignwide {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.footer-navigation ul {
		justify-content: flex-start;
	}
}

@media ( max-width: 620px ) {
	body {
		font-size: 16px;
		line-height: 1.85;
	}

	.site-container {
		width: min( calc( 100% - 32px ), var(--wide-width) );
	}

	.site-title {
		font-size: 1.18rem;
	}

	.site-logo img,
	.custom-logo {
		max-height: 42px;
	}

	.age-notice__inner {
		justify-content: flex-start;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.front-hero h1 {
		font-size: clamp( 2.25rem, 11vw, 3.2rem );
	}

	.front-hero__lead {
		line-height: 1.9;
	}

	.front-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.front-hero__actions .button {
		width: 100%;
	}

	.category-chips,
	.post-grid,
	.widget-area {
		grid-template-columns: 1fr;
	}

	.post-card__body {
		padding: 21px;
	}

	.entry-title {
		font-size: clamp( 1.8rem, 9vw, 2.45rem );
	}

	.entry-content {
		line-height: 1.95;
	}

	.entry-content > h2 {
		padding-left: 16px;
		margin-top: 2.7em;
		font-size: 1.42rem;
	}

	.entry-content table {
		font-size: 0.76rem;
	}

	.entry-content th,
	.entry-content td {
		padding: 10px;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-navigation__next {
		padding-top: 18px;
		text-align: left;
		border-top: 1px solid var(--color-border);
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
