*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.tw-skip-link {
	position: absolute;
	left: 0.75rem;
	top: -100px;
	z-index: 100000;
	padding: 0.65rem 1rem;
	background: var(--tw-navy);
	color: var(--tw-white);
	font-weight: 700;
	text-decoration: none;
	border-radius: 0.35rem;
}

.tw-skip-link:focus,
.tw-skip-link:focus-visible {
	top: 0.75rem;
	outline: 3px solid var(--tw-orange);
	outline-offset: 2px;
	color: var(--tw-white);
}

:focus-visible {
	outline: 3px solid var(--tw-orange);
	outline-offset: 2px;
}

.tw-site-header :focus-visible,
.tw-site-footer :focus-visible {
	outline-color: var(--tw-cyan);
}

body.traounou-body {
	margin: 0;
	font-family: var(--tw-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--tw-navy);
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(0, 185, 232, 0.18), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(255, 100, 31, 0.08), transparent 50%),
		linear-gradient(180deg, var(--tw-pale) 0%, var(--tw-white) 42%, var(--tw-white) 100%);
	min-height: 100vh;
}

h1,
h2,
h3,
h4,
.tw-display {
	font-family: var(--tw-font-display);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--tw-navy);
	margin: 0 0 var(--tw-space-4);
}

.tw-accent,
.tw-display .tw-accent {
	font-family: var(--tw-font-accent);
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--tw-cyan);
	text-transform: uppercase;
}

a {
	color: var(--tw-cyan-ink);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--tw-navy);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.tw-container {
	width: min(100% - 2rem, var(--tw-content-max));
	margin-inline: auto;
}

.tw-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	color: var(--tw-navy);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(7, 59, 102, 0.08);
	min-height: var(--tw-header-h);
}

.tw-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--tw-space-4);
	min-height: var(--tw-header-h);
	padding-block: var(--tw-space-2);
}

.tw-site-header__brand {
	display: flex;
	align-items: center;
	gap: var(--tw-space-3);
	color: var(--tw-navy);
	text-decoration: none;
	font-family: var(--tw-font-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	flex-shrink: 0;
}

.tw-site-header__brand img,
.tw-site-header__brand .tw-logo {
	aspect-ratio: 220 / 92;
	height: var(--tw-logo-h, 56px);
	width: auto;
	max-width: var(--tw-logo-mw, 220px);
	object-fit: contain;
	display: block;
}

.tw-site-header__brand.has-dark-logo img {
	background: #0a0a0a;
	padding: 0.35rem 0.55rem;
	border-radius: 0.55rem;
	box-shadow: 0 1px 0 rgba(7, 59, 102, 0.08);
}

@media (max-width: 1024px) {
	.tw-site-header__brand img,
	.tw-site-header__brand .tw-logo {
		height: var(--tw-logo-h-tablet, 48px);
		max-width: var(--tw-logo-mw-tablet, 180px);
	}
}

@media (max-width: 640px) {
	.tw-site-header__brand img,
	.tw-site-header__brand .tw-logo {
		height: var(--tw-logo-h-mobile, 40px);
		max-width: var(--tw-logo-mw-mobile, 150px);
	}
}

.tw-site-header__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tw-space-4);
}

.tw-site-header__nav a {
	color: var(--tw-navy);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
}

.tw-site-header__nav a:hover,
.tw-site-header__nav a:focus-visible,
.tw-site-header__nav .current-menu-item > a {
	color: var(--tw-cyan-ink);
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

.tw-site-header__tools {
	display: flex;
	align-items: center;
	gap: var(--tw-space-3);
	flex-shrink: 0;
}

.tw-lang {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--tw-navy);
	text-decoration: none;
	white-space: nowrap;
}

.tw-lang[aria-disabled="true"] {
	opacity: 0.85;
	cursor: default;
}

.tw-lang__sep {
	opacity: 0.45;
	font-weight: 500;
}

.tw-lang__active {
	color: var(--tw-cyan-ink);
}

.tw-nav-toggle {
	display: none;
	border: 1px solid rgba(7, 59, 102, 0.2);
	background: var(--tw-white);
	color: var(--tw-navy);
	border-radius: var(--tw-radius);
	padding: 0.45rem 0.65rem;
	font-weight: 700;
	cursor: pointer;
}

.tw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--tw-space-2);
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	border: 0;
	background: var(--tw-orange-ink);
	color: var(--tw-white);
	font-family: var(--tw-font-body);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.tw-btn:hover,
.tw-btn:focus-visible {
	color: var(--tw-white);
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.tw-btn--ghost {
	background: transparent;
	border: 2px solid var(--tw-cyan);
	color: var(--tw-white);
}

.tw-site-main {
	padding-block: var(--tw-space-7);
}

.home .tw-site-main,
.page-template-default.home .tw-site-main,
.page-id-54 .tw-site-main,
.page-id-65 .tw-site-main,
.page-id-67 .tw-site-main,
.page-id-68 .tw-site-main,
.page-id-69 .tw-site-main,
.page-id-101 .tw-site-main {
	padding-block: 0;
}

.tw-site-footer {
	background: var(--tw-navy);
	color: rgba(255, 255, 255, 0.88);
	padding-block: var(--tw-space-7);
	margin-top: auto;
}

.tw-site-footer a {
	color: #b8ecf8;
}

.tw-site-footer a:hover,
.tw-site-footer a:focus-visible {
	color: var(--tw-white);
}

.tw-site-footer__grid {
	display: grid;
	gap: var(--tw-space-5);
}

@media (min-width: 768px) {
	.tw-site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.tw-site-footer__brand {
	font-family: var(--tw-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--tw-white);
	margin-bottom: var(--tw-space-3);
}

.tw-site-footer__meta {
	margin-top: var(--tw-space-6);
	padding-top: var(--tw-space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.875rem;
	opacity: 0.85;
}

.tw-local-banner {
	background: var(--tw-cyan);
	color: var(--tw-navy);
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
}

.tw-prose {
	max-width: 48rem;
}

.tw-prose p {
	margin: 0 0 var(--tw-space-4);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 900px) {
	.tw-nav-toggle {
		display: inline-flex;
	}

	.tw-site-header__nav {
		display: none;
		width: 100%;
		order: 4;
		padding-bottom: var(--tw-space-3);
	}

	.tw-site-header.is-nav-open .tw-site-header__nav {
		display: block;
	}

	.tw-site-header__inner {
		flex-wrap: wrap;
	}

	.tw-site-header__nav ul {
		flex-direction: column;
		gap: var(--tw-space-3);
	}
}

/* 覧 Single post 覧 */
.tw-post__hero {
	position: relative;
	min-height: clamp(18rem, 48vh, 28rem);
	display: flex;
	align-items: flex-end;
	color: var(--tw-white);
	background: var(--tw-navy);
	overflow: hidden;
	margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.tw-post__hero-media {
	position: absolute;
	inset: 0;
}

.tw-post__hero-media--plain {
	background:
		radial-gradient(800px 400px at 20% 20%, rgba(0, 185, 232, 0.35), transparent 60%),
		linear-gradient(135deg, #073b66 0%, #0a6f82 100%);
}

.tw-post__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tw-post__hero-wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 59, 102, 0.25) 0%, rgba(7, 59, 102, 0.78) 100%);
}

.tw-post__hero-inner {
	position: relative;
	z-index: 1;
	padding: clamp(2.5rem, 8vh, 4.5rem) 0 clamp(1.75rem, 4vh, 2.75rem);
	max-width: 48rem;
}

.tw-post__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tw-post__eyebrow a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.tw-post__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.08;
	color: #fff;
	text-shadow: 0 2px 18px rgba(7, 59, 102, 0.35);
}

.tw-post__meta {
	margin: 0;
	opacity: 0.88;
	font-size: 0.95rem;
}

.tw-post__content {
	padding-bottom: 1.5rem;
}

.tw-post__content .tw-prose,
.tw-post .tw-prose {
	max-width: 42rem;
	margin-inline: auto;
	font-size: 1.05rem;
	line-height: 1.75;
}

.tw-post__content img,
.tw-post .tw-prose img {
	border-radius: 0.85rem;
	max-width: 100%;
	height: auto;
}

.tw-post__content h2,
.tw-post__content h3 {
	margin-top: 2rem;
}

.tw-post__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 0 2.5rem;
	border-top: 1px solid rgba(7, 59, 102, 0.12);
	max-width: 42rem;
	margin-inline: auto;
}

.tw-post__back,
.tw-post__book {
	font-weight: 700;
	text-decoration: none;
	color: var(--tw-navy);
}

.tw-post__book {
	color: var(--tw-orange-ink, #c44a12);
}

.tw-post-related {
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
	background:
		linear-gradient(180deg, rgba(236, 247, 250, 0.7) 0%, transparent 100%);
}

.tw-post-related__head {
	margin-bottom: 1.35rem;
	text-align: center;
}

.tw-post-related__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tw-cyan-ink, #0a7a8a);
}

.tw-post-related__title {
	margin: 0;
	font-family: "Barlow Condensed", sans-serif;
	font-size: clamp(1.75rem, 3.5vw, 2.4rem);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.tw-post-related__title .tw-accent {
	font-family: var(--tw-font-brush, "Permanent Marker", cursive);
	font-weight: 400;
	color: var(--tw-cyan);
	text-transform: none;
}

.tw-post-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
}

@media (max-width: 900px) {
	.tw-post-related__grid {
		grid-template-columns: 1fr;
	}
}

.tw-post-related__card {
	background: #fff;
	border: 1px solid rgba(7, 59, 102, 0.1);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(7, 59, 102, 0.07);
	display: flex;
	flex-direction: column;
}

.tw-post-related__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--tw-pale);
	overflow: hidden;
}

.tw-post-related__media img,
.tw-post-related__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tw-post-related__ph {
	background: linear-gradient(135deg, #073b66, #00b9e8);
}

.tw-post-related__body {
	padding: 1rem 1.1rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.tw-post-related__body time {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(7, 59, 102, 0.55);
}

.tw-post-related__body h3 {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.25;
}

.tw-post-related__body h3 a {
	color: var(--tw-navy);
	text-decoration: none;
}

.tw-post-related__cta {
	margin-top: auto;
	font-weight: 700;
	color: var(--tw-cyan-ink, #0a7a8a);
	text-decoration: none;
}

/* 覧 Blog index fallback 覧 */
.tw-blog-index__hero {
	padding: clamp(2.5rem, 6vw, 4rem) 0 1.25rem;
	text-align: center;
}

.tw-blog-index__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tw-cyan-ink, #0a7a8a);
}

.tw-blog-index__title {
	margin: 0 0 0.55rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: clamp(2rem, 5vw, 3rem);
	text-transform: uppercase;
}

.tw-blog-index__title .tw-accent {
	font-family: var(--tw-font-brush, "Permanent Marker", cursive);
	font-weight: 400;
	color: var(--tw-cyan);
	text-transform: none;
}

.tw-blog-index__sub {
	margin: 0;
	color: rgba(7, 59, 102, 0.7);
}

.tw-blog-index__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
	padding: 1rem 0 3rem;
}

.tw-blog-index__card.is-featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 900px) {
	.tw-blog-index__grid {
		grid-template-columns: 1fr;
	}
	.tw-blog-index__card.is-featured {
		grid-template-columns: 1fr;
	}
}

.tw-blog-index__card {
	background: #fff;
	border: 1px solid rgba(7, 59, 102, 0.1);
	border-radius: 1.1rem;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(7, 59, 102, 0.08);
}

.tw-blog-index__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--tw-pale);
}

.tw-blog-index__card.is-featured .tw-blog-index__media {
	aspect-ratio: auto;
	min-height: 100%;
}

.tw-blog-index__media img,
.tw-blog-index__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tw-blog-index__ph {
	background: linear-gradient(135deg, #073b66, #00b9e8);
}

.tw-blog-index__body {
	padding: 1.15rem 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tw-blog-index__body time {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(7, 59, 102, 0.55);
}

.tw-blog-index__card-title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
}

.tw-blog-index__card-title a {
	color: var(--tw-navy);
	text-decoration: none;
}

.tw-blog-index__cta {
	font-weight: 700;
	color: var(--tw-cyan-ink, #0a7a8a);
	text-decoration: none;
}

/* 覧 Post galleries (legacy Elementor figures) 覧 */
.tw-post-gallery,
.tw-post .gallery,
.tw-post .wp-block-gallery,
.tw-post .elementor-image-gallery .gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.75rem 0;
	width: 100%;
	clear: both;
}

.tw-post-gallery--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tw-post-gallery--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.tw-post-gallery,
	.tw-post-gallery--cols-4,
	.tw-post .gallery,
	.tw-post .wp-block-gallery,
	.tw-post .elementor-image-gallery .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.tw-post-gallery,
	.tw-post-gallery--cols-2,
	.tw-post-gallery--cols-4,
	.tw-post .gallery,
	.tw-post .wp-block-gallery,
	.tw-post .elementor-image-gallery .gallery {
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
}

.tw-post-gallery .gallery-item,
.tw-post .gallery .gallery-item,
.tw-post .elementor-image-gallery .gallery-item,
.tw-post figure.gallery-item {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 0.85rem;
	overflow: hidden;
	background: var(--tw-pale, #eaf6f9);
	box-shadow: 0 10px 24px rgba(7, 59, 102, 0.1);
}

.tw-post-gallery .gallery-item a,
.tw-post .gallery .gallery-item a,
.tw-post figure.gallery-item a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}

.tw-post-gallery .gallery-item img,
.tw-post .gallery .gallery-item img,
.tw-post figure.gallery-item img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
}

.tw-post-gallery .gallery-item a::after,
.tw-post figure.gallery-item a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(7, 59, 102, 0.35));
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	.tw-post-gallery .gallery-item img,
	.tw-post figure.gallery-item img {
		transition: transform 0.35s ease;
	}
	.tw-post-gallery .gallery-item:hover img,
	.tw-post figure.gallery-item:hover img {
		transform: scale(1.05);
	}
	.tw-post-gallery .gallery-item:hover a::after,
	.tw-post figure.gallery-item:hover a::after {
		opacity: 1;
	}
}

.tw-post .gallery-caption,
.tw-post figcaption {
	font-size: 0.85rem;
	color: rgba(7, 59, 102, 0.65);
	text-align: center;
	margin-top: 0.35rem;
}

/* Captioned singles stay elegant, not cramped */
.tw-post .wp-caption,
.tw-post figure:not(.gallery-item) {
	max-width: 100%;
	margin: 1.5rem auto;
}

.tw-post .wp-caption img,
.tw-post figure:not(.gallery-item) img {
	border-radius: 0.85rem;
	width: 100%;
	height: auto;
}

/* 覧 Lightbox 覧 */
html.tw-lightbox-open,
html.tw-lightbox-open body {
	overflow: hidden;
}

.tw-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.5rem;
	padding: 1.25rem;
	box-sizing: border-box;
}

.tw-lightbox[hidden] {
	display: none !important;
}

.tw-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 28, 48, 0.88);
	backdrop-filter: blur(4px);
	z-index: 0;
}

.tw-lightbox__figure {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(96vw, 1100px);
	max-height: 88vh;
	justify-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
}

.tw-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	border-radius: 0.75rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	background: #000;
}

.tw-lightbox__cap {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
	text-align: center;
}

.tw-lightbox__close,
.tw-lightbox__nav {
	position: relative;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(2px);
}

.tw-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 2rem;
}

.tw-lightbox__close:hover,
.tw-lightbox__nav:hover,
.tw-lightbox__close:focus-visible,
.tw-lightbox__nav:focus-visible {
	background: var(--tw-cyan, #00b9e8);
	color: #073b66;
	outline: none;
}

@media (max-width: 700px) {
	.tw-lightbox {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr auto;
		padding: 3.5rem 0.75rem 1rem;
	}
	.tw-lightbox__nav {
		position: absolute;
		bottom: 1rem;
	}
	.tw-lightbox__nav--prev { left: 1rem; }
	.tw-lightbox__nav--next { right: 1rem; }
}
