:root {
	--tn-color-main: #be123c;
	--tn-color-main-dark: #9f1239;
	--tn-color-sub: #fff1f2;
	--tn-color-accent: #1d4ed8;
	--tn-color-accent-dark: #1e40af;
	--tn-color-text: #1c1917;
	--tn-color-muted: #57534e;
	--tn-color-border: #fecdd3;
	--tn-color-surface: #ffffff;
	--tn-color-soft: #f8fafc;
	--tn-color-warning: #b45309;
	--tn-color-warning-bg: #fffbeb;
	--tn-font-heading: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--tn-font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	--tn-font-latin: "Inter", "Segoe UI", sans-serif;
	--tn-radius: 6px;
	--tn-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
	--tn-container: 1200px;
	--tn-space-1: 0.5rem;
	--tn-space-2: 1rem;
	--tn-space-3: 1.5rem;
	--tn-space-4: 2rem;
	--tn-space-5: 3rem;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--tn-color-surface);
	color: var(--tn-color-text);
	font-family: var(--tn-font-body);
	font-size: 1rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

body.tn-menu-open {
	overflow: hidden;
}

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

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

a:hover {
	color: var(--tn-color-main-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

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

:focus-visible {
	border-radius: 2px;
	outline: 3px solid #f59e0b;
	outline-offset: 3px;
}

.tn-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;
}

.tn-screen-reader-text:focus {
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: #fff;
	color: var(--tn-color-text);
	font-weight: 700;
}

.tn-container {
	width: min(calc(100% - 2rem), var(--tn-container));
	margin-inline: auto;
}

.tn-section {
	padding-block: var(--tn-space-5);
}

.tn-section--soft {
	background: var(--tn-color-soft);
}

.tn-section--rose {
	background: var(--tn-color-sub);
}

.tn-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--tn-space-2);
	margin-bottom: var(--tn-space-4);
}

.tn-section__title,
.tn-entry-content h2 {
	margin: 0;
	padding-left: 0.8rem;
	border-left: 5px solid var(--tn-color-main);
	color: var(--tn-color-text);
	font-family: var(--tn-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.4;
}

.tn-section__more {
	flex: none;
	font-weight: 700;
}

.tn-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--tn-radius);
	background: var(--tn-color-accent);
	color: #fff;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.tn-button:hover {
	background: var(--tn-color-accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

.tn-button--outline {
	border-color: var(--tn-color-main);
	background: transparent;
	color: var(--tn-color-main);
}

.tn-button--outline:hover {
	background: var(--tn-color-main);
}

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

.tn-site-header__inner {
	display: flex;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.tn-site-branding {
	display: flex;
	align-items: center;
}

.tn-site-branding__link,
.tn-site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	color: var(--tn-color-text);
	font-family: var(--tn-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

.tn-site-branding .custom-logo {
	width: auto;
	max-height: 48px;
}

.tn-menu-toggle {
	display: inline-flex;
	width: 44px;
	height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background: #fff;
	color: var(--tn-color-text);
	cursor: pointer;
}

.tn-menu-toggle__bar {
	width: 21px;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.tn-menu-toggle[aria-expanded="true"] .tn-menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.tn-menu-toggle[aria-expanded="true"] .tn-menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.tn-menu-toggle[aria-expanded="true"] .tn-menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.tn-global-nav {
	position: fixed;
	inset: 73px 0 0;
	display: none;
	padding: 1.5rem 1rem;
	background: #fff;
	overflow-y: auto;
}

.tn-global-nav.tn-is-open {
	display: block;
}

.tn-global-nav .menu,
.tn-footer-nav .menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tn-global-nav .menu-item > a {
	display: block;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--tn-color-border);
	color: var(--tn-color-text);
	font-weight: 700;
	text-decoration: none;
}

.tn-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(125deg, var(--tn-color-sub) 0%, #fff 62%, #ffe4e6 100%);
}

.tn-hero::before {
	position: absolute;
	top: -130px;
	right: -100px;
	width: 340px;
	height: 340px;
	border: 70px solid rgba(190, 18, 60, 0.06);
	border-radius: 50%;
	content: "";
}

.tn-hero__inner {
	position: relative;
	display: grid;
	gap: var(--tn-space-4);
	align-items: center;
	padding-block: clamp(3rem, 8vw, 6rem);
}

.tn-hero__eyebrow {
	display: inline-flex;
	margin: 0 0 0.75rem;
	color: var(--tn-color-main);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.tn-hero__title {
	max-width: 14em;
	margin: 0;
	font-family: var(--tn-font-heading);
	font-size: clamp(2rem, 7vw, 3.75rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.tn-hero__copy {
	max-width: 42rem;
	margin: 1.25rem 0 1.75rem;
	color: var(--tn-color-muted);
	font-size: clamp(1rem, 2vw, 1.15rem);
}

.tn-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tn-hero__image {
	width: min(100%, 520px);
	filter: drop-shadow(0 18px 28px rgba(120, 53, 15, 0.1));
}

.tn-post-grid {
	display: grid;
	gap: var(--tn-space-3);
}

.tn-post-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e7e5e4;
	border-radius: var(--tn-radius);
	background: #fff;
	box-shadow: 0 3px 12px rgba(28, 25, 23, 0.04);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tn-post-card:hover {
	border-color: var(--tn-color-border);
	box-shadow: var(--tn-shadow);
	transform: translateY(-2px);
}

.tn-post-card__image-link {
	display: block;
	overflow: hidden;
	aspect-ratio: 600 / 315;
	background: var(--tn-color-sub);
}

.tn-post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.tn-post-card:hover .tn-post-card__image {
	transform: scale(1.025);
}

.tn-post-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: var(--tn-color-main);
	font-weight: 700;
}

.tn-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem;
}

.tn-post-card__category,
.tn-entry-header__category {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--tn-color-sub);
	color: var(--tn-color-main-dark);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.tn-post-card__title {
	margin: 0.65rem 0;
	font-family: var(--tn-font-heading);
	font-size: 1.08rem;
	line-height: 1.55;
}

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

.tn-post-card__excerpt {
	margin: 0 0 0.8rem;
	color: var(--tn-color-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.tn-post-card__meta {
	margin-top: auto;
	color: #78716c;
	font-family: var(--tn-font-latin);
	font-size: 0.8rem;
}

.tn-category-grid {
	display: grid;
	gap: 0.75rem;
}

.tn-category-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background: #fff;
	color: var(--tn-color-text);
	font-weight: 700;
	text-decoration: none;
}

.tn-category-card::after {
	color: var(--tn-color-main);
	content: "→";
}

.tn-category-card:hover {
	background: var(--tn-color-sub);
	color: var(--tn-color-main-dark);
}

.tn-about {
	display: grid;
	gap: var(--tn-space-4);
	align-items: center;
}

.tn-about__label {
	margin: 0 0 0.5rem;
	color: var(--tn-color-main);
	font-family: var(--tn-font-latin);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tn-about__title {
	margin: 0 0 1rem;
	font-family: var(--tn-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.45;
}

.tn-about__copy {
	margin: 0;
	color: var(--tn-color-muted);
}

.tn-about__visual {
	display: grid;
	min-height: 260px;
	place-items: center;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background:
		linear-gradient(135deg, rgba(190, 18, 60, 0.94), rgba(159, 18, 57, 0.88)),
		var(--tn-color-main);
	color: #fff;
	text-align: center;
}

.tn-about__visual strong {
	display: block;
	font-family: var(--tn-font-heading);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.tn-about__visual span {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--tn-font-latin);
	letter-spacing: 0.12em;
}

.tn-cta {
	padding: clamp(1.5rem, 5vw, 3rem);
	border-radius: var(--tn-radius);
	background: #172554;
	color: #fff;
	text-align: center;
}

.tn-cta__title {
	margin: 0 0 0.5rem;
	font-family: var(--tn-font-heading);
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.tn-cta__copy {
	max-width: 42rem;
	margin: 0 auto 1.25rem;
	color: #dbeafe;
}

.tn-breadcrumb {
	padding-block: 0.8rem;
	border-bottom: 1px solid #f5f5f4;
	font-size: 0.8rem;
}

.tn-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.tn-breadcrumb__item:not(:last-child)::after {
	margin-left: 0.4rem;
	color: #a8a29e;
	content: "/";
}

.tn-breadcrumb__current {
	color: var(--tn-color-muted);
}

.tn-content-layout {
	display: flex;
	flex-direction: column;
	gap: var(--tn-space-4);
	padding-block: var(--tn-space-4) var(--tn-space-5);
}

.tn-content-main {
	min-width: 0;
}

.tn-sidebar {
	width: 100%;
}

.tn-widget {
	padding: 1.15rem;
	margin-bottom: 1.25rem;
	border: 1px solid #e7e5e4;
	border-radius: var(--tn-radius);
	background: #fff;
}

.tn-widget__title,
.tn-sidebar .widget-title {
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 3px solid var(--tn-color-main);
	font-family: var(--tn-font-heading);
	font-size: 1.05rem;
}

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

.tn-widget li,
.tn-sidebar .widget li {
	padding-block: 0.55rem;
	border-bottom: 1px solid #f5f5f4;
}

.tn-widget li:last-child,
.tn-sidebar .widget li:last-child {
	border-bottom: 0;
}

.tn-widget a,
.tn-sidebar .widget a {
	color: var(--tn-color-text);
	font-size: 0.92rem;
	text-decoration: none;
}

.tn-widget a:hover,
.tn-sidebar .widget a:hover {
	color: var(--tn-color-main);
}

.tn-widget--cta {
	border: 0;
	background: var(--tn-color-sub);
	text-align: center;
}

.tn-widget--cta .tn-button {
	width: 100%;
}

.tn-entry-header {
	margin-bottom: 1.5rem;
}

.tn-entry-header__title,
.tn-page-header__title {
	margin: 0.8rem 0;
	font-family: var(--tn-font-heading);
	font-size: clamp(1.8rem, 5vw, 2.75rem);
	line-height: 1.4;
}

.tn-entry-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	color: var(--tn-color-muted);
	font-family: var(--tn-font-latin);
	font-size: 0.85rem;
}

.tn-entry-header__meta time + time {
	margin-left: 0.25rem;
}

.tn-entry-thumbnail {
	overflow: hidden;
	margin-bottom: 2rem;
	border-radius: var(--tn-radius);
	background: var(--tn-color-sub);
}

.tn-entry-thumbnail img {
	width: 100%;
}

.tn-entry-content {
	font-size: 1rem;
}

.tn-entry-content > * {
	max-width: 100%;
}

.tn-entry-content h2 {
	margin-top: 3rem;
	margin-bottom: 1.25rem;
}

.tn-entry-content h3 {
	margin-top: 2.25rem;
	margin-bottom: 1rem;
	font-family: var(--tn-font-heading);
	font-size: clamp(1.2rem, 3vw, 1.5rem);
	line-height: 1.5;
}

.tn-entry-content h4 {
	margin-top: 1.75rem;
	font-family: var(--tn-font-heading);
}

.tn-entry-content p,
.tn-entry-content ul,
.tn-entry-content ol {
	margin-block: 1rem;
}

.tn-entry-content a {
	font-weight: 700;
}

.tn-entry-content blockquote {
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
	border-left: 4px solid var(--tn-color-main);
	background: var(--tn-color-sub);
}

.tn-page-header {
	padding: 2rem 0 1rem;
}

.tn-page-header__description {
	max-width: 48rem;
	color: var(--tn-color-muted);
}

.tn-pagination {
	margin-top: 2rem;
}

.tn-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tn-pagination .page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding-inline: 0.6rem;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	text-decoration: none;
}

.tn-pagination .current {
	border-color: var(--tn-color-main);
	background: var(--tn-color-main);
	color: #fff;
}

.tn-empty {
	padding: 2rem;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background: var(--tn-color-sub);
}

.tn-search-form {
	display: flex;
	gap: 0.5rem;
}

.tn-search-form__field {
	min-width: 0;
	flex: 1;
	padding: 0.65rem 0.75rem;
	border: 1px solid #a8a29e;
	border-radius: var(--tn-radius);
	background: #fff;
}

.tn-search-form__submit {
	flex: none;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: var(--tn-radius);
	background: var(--tn-color-main);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.tn-profile {
	display: grid;
	gap: 1rem;
	padding: 1.25rem;
	margin-top: 1.5rem;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background: #fffafb;
}

.tn-profile__image {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}

.tn-profile__label {
	margin: 0 0 0.25rem;
	color: var(--tn-color-main);
	font-size: 0.78rem;
	font-weight: 700;
}

.tn-profile__name {
	margin: 0;
	font-family: var(--tn-font-heading);
	font-size: 1.15rem;
}

.tn-profile__title {
	margin: 0.2rem 0 0.6rem;
	color: var(--tn-color-muted);
	font-size: 0.85rem;
}

.tn-profile__bio {
	margin: 0;
	font-size: 0.9rem;
}

.tn-related {
	margin-top: 3rem;
}

.tn-related__title {
	margin-bottom: 1.25rem;
	padding-left: 0.75rem;
	border-left: 4px solid var(--tn-color-main);
	font-family: var(--tn-font-heading);
}

.tn-site-footer {
	padding-block: 3rem 1rem;
	background: #1c1917;
	color: #e7e5e4;
}

.tn-site-footer__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2rem;
	text-align: center;
}

.tn-site-footer__logo a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tn-site-footer__logo img {
	width: auto;
	max-width: min(260px, 80vw);
	height: 40px;
	object-fit: contain;
}

.tn-site-footer__grid {
	display: grid;
	gap: 2rem;
}

.tn-static-page__lead {
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--tn-color-main);
	background: var(--tn-color-sub);
	font-weight: 700;
}

.tn-static-page__note {
	padding: 1rem;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background: #fffafb;
}

.tn-contact-form {
	padding: clamp(1rem, 4vw, 2rem);
	margin-block: 1.5rem;
	border: 1px solid var(--tn-color-border);
	border-radius: var(--tn-radius);
	background: #fff;
}

.tn-contact-form .wpcf7-form p {
	margin-bottom: 1.25rem;
}

.tn-contact-form .wpcf7-form-control:not(.wpcf7-radio):not(.wpcf7-acceptance):not(.wpcf7-submit) {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #a8a29e;
	border-radius: var(--tn-radius);
	background: #fff;
	color: var(--tn-color-text);
}

.tn-contact-form .wpcf7-submit {
	min-height: 48px;
	padding: 0.7rem 1.5rem;
	border: 0;
	border-radius: var(--tn-radius);
	background: var(--tn-color-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.tn-contact-form .wpcf7-submit:hover {
	background: var(--tn-color-accent-dark);
}

.tn-site-footer__title {
	margin: 0 0 0.75rem;
	color: #fff;
	font-family: var(--tn-font-heading);
	font-size: 1.25rem;
}

.tn-site-footer__description {
	max-width: 40rem;
	margin: 0;
	font-size: 0.9rem;
}

.tn-footer-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
}

.tn-footer-nav a,
.tn-site-footer__social a {
	color: #fff;
	font-size: 0.9rem;
}

.tn-site-footer__social {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.tn-site-footer__bottom {
	padding-top: 1.5rem;
	margin-top: 2rem;
	border-top: 1px solid #44403c;
	color: #a8a29e;
	font-family: var(--tn-font-latin);
	font-size: 0.75rem;
}

.tn-404 {
	max-width: 760px;
	padding-block: 4rem 6rem;
	text-align: center;
}

.tn-404__code {
	margin: 0;
	color: var(--tn-color-main);
	font-family: var(--tn-font-latin);
	font-size: clamp(4rem, 16vw, 8rem);
	font-weight: 700;
	line-height: 1;
}

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

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

	.tn-profile {
		grid-template-columns: auto 1fr;
	}
}

@media (min-width: 768px) {
	.tn-about,
	.tn-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (min-width: 1024px) {
	.tn-menu-toggle {
		display: none;
	}

	.tn-global-nav {
		position: static;
		display: block;
		padding: 0;
		overflow: visible;
	}

	.tn-global-nav .menu {
		display: flex;
		align-items: center;
		gap: 1.5rem;
	}

	.tn-global-nav .menu-item > a {
		padding: 0.6rem 0;
		border: 0;
	}

	.tn-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	}

	.tn-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tn-content-layout {
		flex-direction: row;
		align-items: flex-start;
	}

	.tn-sidebar {
		width: 280px;
		flex: 0 0 280px;
		order: -1;
	}

	.tn-content-main {
		flex: 1;
		order: 1;
	}
}

@media (min-width: 1280px) {
	.tn-sidebar {
		width: 300px;
		flex-basis: 300px;
	}

	.tn-content-layout {
		gap: 3rem;
	}
}

@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;
	}
}
