/**
 * SNUG CITY NAGOYA 型トップページ
 * Reference: https://snug-city-nagoya.jp/
 */

/* --- SWELL 要素の非表示（SNUG シェル使用ページ） --- */
.ya-snug-template .c-pageTitle,
.ya-snug-template .p-breadcrumb-wrapper,
.ya-snug-template .l-header,
.ya-snug-template .l-fixHeader,
.ya-snug-template #header,
.ya-snug-template .p-mainVisual,
.ya-snug-template .c-mainVisual,
.ya-snug-template .w-beforeMain,
.ya-snug-template .c-fixBtn,
.ya-snug-template #fix_pagetop,
.ya-snug-template .p-fixBtnWrap,
.ya-snug-template .l-footer,
.ya-snug-template #footer,
.ya-snug-template .p-footer {
	display: none !important;
}

.ya-snug-template .l-mainContent,
.ya-snug-template .l-content,
.ya-snug-template #content,
.ya-snug-template .l-container {
	padding: 0 !important;
	max-width: none !important;
	width: 100%;
}

.ya-snug-template.top #content,
.ya-snug-template .l-mainContent {
	padding-top: 0 !important;
}

.ya-snug-template .l-content__inner {
	max-width: none;
	padding: 0;
}

/* SWELL サイドバー用幅計算を無効化（1カラム扱いにする） */
.ya-snug-template .l-content,
.ya-snug-template .l-mainContent,
.ya-snug-template .l-article,
.ya-snug-template .p-article {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

/* --- SNUG トップ全体 --- */
.ya-snug-top {
	background: #dfeaed;
	color: #333;
	font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.6875;
}

.ya-snug-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- SNUG: globalHeader --- */
.ya-snug-hero {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background: #dfeaed;
	overflow: visible;
}

.ya-snug-hero--compact {
	padding-bottom: 0;
}

.ya-global-header {
	flex: 0 0 auto;
	order: 1;
	position: relative;
	z-index: 3;
	width: 100%;
	background: #dfeaed;
	isolation: isolate;
}

.ya-global-header__inner {
	max-width: 1216px;
	margin: 0 auto;
	padding: 28px 250px 12px;
	box-sizing: border-box;
}

/* ① キャッチ | ロゴ | SNS（参照レイアウト準拠） */
.ya-global-header__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 24px;
	min-height: 190px;
}

.ya-global-header__catch {
	grid-column: 1;
	justify-self: start;
	align-self: center;
	margin: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	line-height: 1;
	overflow: hidden;
}

.ya-global-header__catch-line {
	display: inline-block;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: #6b5a2e;
	line-height: 1.55;
	white-space: nowrap;
	padding: 4px 3px;
	background-color: #fff200;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.ya-global-header__logo {
	grid-column: 2;
	justify-self: center;
	align-self: center;
	margin: 0;
	font-size: 0;
}

.ya-global-header__logo a {
	display: block;
	width: 240px;
	line-height: 0;
	text-decoration: none !important;
	transition: opacity 0.25s ease;
}

.ya-global-header__logo img {
	display: block;
	width: 240px;
	height: auto;
}

.ya-global-header__logo a:hover {
	opacity: 0.85;
}

.ya-global-header__sns {
	grid-column: 3;
	justify-self: end;
	align-self: center;
	position: static;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 1;
}

.ya-global-header__sns-item {
	display: inline-block;
	vertical-align: top;
}

.ya-global-header__sns-item a {
	display: block;
	width: 44px;
	height: 44px;
}

.ya-global-header__sns-item img {
	width: 100%;
	height: auto;
}

.ya-snug-hero__slider {
	flex: 0 0 auto;
	order: 3;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto;
	padding: 16px 24px 20px;
	clear: both;
	box-sizing: border-box;
	isolation: isolate;
}

/* スライダー背面の黄色帯（参照レイアウト: #fff200・全幅・中央寄せ） */
.ya-snug-hero__slider::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 50%;
	width: 100vw;
	height: 65%;
	min-height: 180px;
	max-height: 320px;
	transform: translate(-50%, -50%);
	background-color: #fff200;
	pointer-events: none;
}

/* --- SNUG: globalNavTrigger（SP のみ表示） --- */
.ya-global-nav-trigger {
	display: none;
	position: fixed;
	z-index: 1100;
	top: 0;
	right: 0;
	width: 70px;
	height: 70px;
	border: 0;
	cursor: pointer;
	background: #000;
	padding: 0;
}

.ya-global-nav-trigger span,
.ya-global-nav-trigger span::before,
.ya-global-nav-trigger span::after {
	position: absolute;
	width: 28px;
	height: 3px;
	background: #dfeaed;
	transition: transform 0.3s ease;
}

.ya-global-nav-trigger span {
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

.ya-global-nav-trigger span::before,
.ya-global-nav-trigger span::after {
	content: "";
	right: 0;
}

.ya-global-nav-trigger span::before {
	top: -10px;
}

.ya-global-nav-trigger span::after {
	top: 10px;
}

.ya-view-drawer .ya-global-nav-trigger span {
	transform: rotate(45deg);
}

.ya-view-drawer .ya-global-nav-trigger span::before {
	transform: translateY(10px) rotate(90deg);
}

.ya-view-drawer .ya-global-nav-trigger span::after {
	opacity: 0;
}

/* --- SNUG: globalNav drawer --- */
.ya-global-nav {
	position: fixed;
	z-index: 1000;
	inset: 0;
	pointer-events: none;
}

.ya-view-drawer .ya-global-nav {
	pointer-events: auto;
}

.ya-global-nav__mask {
	position: absolute;
	inset: 0;
	background: rgba(223, 234, 237, 0.97);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ya-view-drawer .ya-global-nav__mask {
	opacity: 1;
}

.ya-global-nav__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease 0.05s;
}

.ya-view-drawer .ya-global-nav__inner {
	opacity: 1;
}

.ya-view-drawer {
	overflow: hidden;
}

.ya-global-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.ya-global-nav__list .menu-item + .menu-item {
	margin-top: 2rem;
}

.ya-global-nav__list a {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #333 !important;
	text-decoration: none !important;
}

.ya-global-nav__list a:hover {
	color: var(--ya-main-color) !important;
}

.ya-global-nav__sns {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: none;
}

/* --- グローバルナビ（② メニュー行） --- */
.ya-local-nav {
	flex: 0 0 auto;
	order: 2;
	position: relative;
	z-index: 2;
	width: 100%;
	display: block;
	background: #dfeaed;
	padding: 8px 0 12px;
	margin: 0;
}

.ya-local-nav__inner {
	max-width: 1216px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}

.ya-local-nav ul,
.ya-local-nav__list,
.ya-local-nav .menu {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: inline-flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: auto;
	max-width: 100%;
	gap: 6px 28px;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	overflow: visible !important;
}

.ya-local-nav li,
.ya-local-nav__list > li,
.ya-local-nav .menu-item {
	margin: 0;
	flex: 0 1 auto;
	text-align: center;
	list-style: none;
}

.ya-local-nav a,
.ya-local-nav__list a,
.ya-local-nav .menu-item a {
	display: block;
	padding: 4px 2px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #333 !important;
	text-decoration: none !important;
	line-height: 1.4;
	text-transform: uppercase;
	transition: color 0.25s ease, opacity 0.25s ease;
	white-space: nowrap;
}

.ya-local-nav a:hover,
.ya-local-nav__list a:hover,
.ya-local-nav .menu-item a:hover {
	color: var(--ya-main-color) !important;
	opacity: 0.85;
}

/* --- Smart Slider 3 ラッパー --- */
.ya-banner-slider--smart {
	position: relative !important;
	z-index: 1;
	top: auto !important;
	left: auto !important;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto !important;
	padding: 0 !important;
	transform: none !important;
	clear: both;
}

.ya-banner-slider--smart .n2-section-smartslider,
.ya-banner-slider--smart .n2-ss-slider-wrapper-inside,
.ya-banner-slider--smart .n2-ss-slider,
.ya-banner-slider--smart .n2-ss-slider-wrapper,
.ya-banner-slider--smart [data-ss-outer] {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	transform: none !important;
}

/* PC: Smart Slider 3 サイズ（横幅 75vw・比率 1000:449） */
@media (min-width: 768px) {
	.ya-snug-hero__slider {
		max-width: 75vw;
	}

	.ya-banner-slider--smart {
		width: 75vw !important;
		max-width: 75vw !important;
		height: calc(75vw * 449 / 1000) !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.ya-banner-slider--smart .n2-section-smartslider,
	.ya-banner-slider--smart .n2-ss-slider-wrapper-inside,
	.ya-banner-slider--smart .n2-ss-slider,
	.ya-banner-slider--smart .n2-ss-slider-wrapper,
	.ya-banner-slider--smart [data-ss-outer],
	.ya-banner-slider--smart .n2-ss-slider-1,
	.ya-banner-slider--smart .n2-ss-slider-2,
	.ya-banner-slider--smart .n2-ss-slider-3,
	.ya-banner-slider--smart .n2-ss-slider-4,
	.ya-banner-slider--smart .n2-ss-slider-5 {
		width: 75vw !important;
		max-width: 75vw !important;
		height: calc(75vw * 449 / 1000) !important;
		transform: translate3d(0, 0, 0) !important;
	}

	.ya-banner-slider--smart .n2-ss-slide,
	.ya-banner-slider--smart .n2-ss-layers-container,
	.ya-banner-slider--smart .n2-ss-slide-backgrounds,
	.ya-banner-slider--smart .n2-ss-slide-background {
		width: 100% !important;
		height: 100% !important;
	}
}

.ya-banner-slider__fallback {
	padding: 3rem;
	text-align: center;
	background: #fff;
	color: #666;
}

/* --- 旧ヘッダー（削除済み互換） --- */
.ya-snug-header,
.ya-snug-localnav {
	display: none;
}

/* --- ブロックエディタ本文 --- */
.ya-snug-main--blocks {
	padding: 0;
	margin: 0;
}

/* --- 投稿ページ本文 --- */
.ya-snug-main--single {
	padding: 40px 20px 0;
	margin: 0;
}

.ya-snug-single {
	max-width: 900px;
}

.ya-snug-single__header {
	margin-bottom: 2rem;
	text-align: center;
}

.ya-snug-single__cats a {
	color: #4a6b53;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.ya-snug-single__cats a:hover {
	opacity: 0.7;
}

.ya-snug-single__date {
	display: block;
	margin-top: 0.5rem;
	color: #666;
	font-size: 0.875rem;
}

.ya-snug-single__title {
	margin: 1rem 0 0;
	color: #333;
	font-size: clamp(1.5rem, 4vw, 2rem);
	line-height: 1.4;
}

.ya-snug-single__thumb {
	margin: 0 0 2rem;
	border-radius: 12px;
	overflow: hidden;
}

.ya-snug-single__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.ya-snug-single__body {
	color: #333;
	line-height: 1.9;
}

.ya-snug-single__body > *:first-child {
	margin-top: 0;
}

.ya-snug-single__body > *:last-child {
	margin-bottom: 0;
}

/* 投稿ページ下部（仕切り線・見出し・投稿リスト）— SP での重なり防止 */
.ya-snug-single__body .p-postListWrap {
	clear: both;
	position: relative;
	width: 100%;
}

.ya-snug-single__body .ya-hop-divider + .wp-block-heading {
	margin-top: 2rem;
	margin-bottom: 1.25rem;
}

.ya-snug-template .post_content .wp-block-heading + .p-postListWrap {
	margin-top: 1.25rem !important;
}

@media (max-width: 767px) {
	.ya-snug-single__body .ya-hop-divider + .wp-block-heading {
		margin-top: 1.5rem;
		margin-bottom: 1.25rem !important;
	}

	.ya-snug-template .post_content .wp-block-heading + .p-postListWrap {
		margin-top: 1.5rem !important;
	}
}

/* --- 固定ページ本文（ホーム以外） --- */
.ya-snug-main--page {
	padding: 40px 20px 0;
	margin: 0;
}

.ya-snug-page {
	max-width: 1216px;
}

.ya-snug-page__body {
	color: #333;
	line-height: 1.9;
}

.ya-snug-page__body > *:first-child {
	margin-top: 0;
}

.ya-snug-page__body > *:last-child {
	margin-bottom: 0;
}

/* SWELL「投稿リスト」— 左右余白（ブロック自体の幅は変えない） */
.ya-page-template .ya-snug-main--page .ya-snug-page,
.ya-blog-template .ya-snug-main--page .ya-snug-page {
	padding-left: 2.5em;
	padding-right: 2.5em;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.ya-page-template .ya-snug-main--page .ya-snug-page,
	.ya-blog-template .ya-snug-main--page .ya-snug-page {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* SWELL 投稿リスト: PC 3列（-pc-col3） */
@media (min-width: 960px) {
	.ya-snug-template .post_content .p-postList.-pc-col3.-type-card,
	.ya-snug-template .post_content .p-postList.-pc-col3.-type-thumb,
	.editor-styles-wrapper .p-postList.-pc-col3.-type-card,
	.editor-styles-wrapper .p-postList.-pc-col3.-type-thumb {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 1.25rem;
	}

	.ya-snug-template .post_content .p-postList.-pc-col3 .p-postList__item,
	.editor-styles-wrapper .p-postList.-pc-col3 .p-postList__item {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		margin: 0 !important;
	}
}

/* SWELL 投稿リスト: SP 2列（-sp-col2）— 親幅が狭いと SWELL が 1列に落とすのを防止 */
@media (max-width: 767px) {
	/* カード型: Grid で2列固定 */
	.ya-snug-template .post_content .p-postList.-sp-col2.-type-card,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-card {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.75rem;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-card .p-postList__item,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-card .p-postList__item {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/*
	 * サムネイル型: リンクに aspect-ratio を与え、画像＋タイトル帯の高さを確保
	 * （Flex のみだと高さ 0 になり absolute の body が上に重なる）
	 */
	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 0.5em;
		row-gap: 0.75em;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .p-postList__item,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .p-postList__item {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		margin: 0 !important;
		padding: 0 !important;
		min-width: 0;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .p-postList__link,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .p-postList__link {
		display: block;
		position: relative;
		width: 100%;
		overflow: hidden;
		aspect-ratio: 100 / 61.805;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .p-postList__thumb,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .p-postList__thumb {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .c-postThumb__figure,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .c-postThumb__figure {
		height: 100%;
		margin: 0;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .c-postThumb__figure::before,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .c-postThumb__figure::before {
		display: none;
		content: none;
		padding-top: 0;
		height: 0;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .c-postThumb__img,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .c-postThumb__img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
		object-fit: cover;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .p-postList__body,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .p-postList__body {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		box-sizing: border-box;
		padding: 0.5em 0.65em;
		background: rgba(0, 0, 0, 0.5);
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .p-postList__title,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .p-postList__title {
		font-size: clamp(0.65rem, 2.8vw, 0.8125rem);
		line-height: 1.35;
		margin: 0;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .p-postList__meta,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .p-postList__meta {
		margin-top: 0.25em;
	}

	.ya-snug-template .post_content .p-postList.-sp-col2.-type-thumb .c-postThumb__cat,
	.editor-styles-wrapper .p-postList.-sp-col2.-type-thumb .c-postThumb__cat {
		z-index: 2;
		font-size: 9px;
		line-height: 1.8;
		padding: 0 0.5em;
	}
}

/* SWELL「投稿リスト」— ホームブロック用左右余白 */
.ya-home-template .ya-snug-main--blocks {
	padding-left: 2.5em;
	padding-right: 2.5em;
	box-sizing: border-box;
}

/* --- 投稿一覧・アーカイブ --- */
.ya-snug-main--archive {
	padding: 40px 20px 0;
	margin: 0;
}

.ya-snug-archive {
	max-width: 900px;
}

.ya-snug-archive__header {
	margin-bottom: 2rem;
	text-align: center;
}

.ya-snug-archive__title {
	margin: 0;
	color: #333;
	font-size: clamp(1.5rem, 4vw, 2rem);
	line-height: 1.4;
}

.ya-snug-archive__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ya-snug-archive__item {
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(74, 107, 83, 0.15);
}

.ya-snug-archive__item:first-child {
	padding-top: 0;
}

.ya-snug-archive__cat a {
	color: #4a6b53;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.ya-snug-archive__cat a:hover {
	opacity: 0.7;
}

.ya-snug-archive__post-title {
	margin: 0.5rem 0 0;
	font-size: 1.125rem;
	line-height: 1.5;
}

.ya-snug-archive__post-title a {
	color: #333;
	text-decoration: none;
}

.ya-snug-archive__post-title a:hover {
	color: #4a6b53;
}

.ya-snug-archive__excerpt {
	margin: 0.5rem 0 0;
	color: #555;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.ya-snug-archive__date {
	display: block;
	margin-top: 0.5rem;
	color: #666;
	font-size: 0.875rem;
}

.ya-snug-archive__pagination {
	margin-top: 2rem;
	text-align: center;
}

.ya-snug-archive__pagination .nav-links {
	display: inline-flex;
	gap: 0.5rem;
}

.ya-snug-archive__pagination a,
.ya-snug-archive__pagination span {
	display: inline-block;
	min-width: 2rem;
	padding: 0.35rem 0.5rem;
	color: #333;
	text-decoration: none;
}

.ya-snug-archive__pagination .current {
	color: #4a6b53;
	font-weight: 700;
}

.ya-snug-archive__empty {
	text-align: center;
	color: #666;
}

.ya-snug-blocks.post_content {
	max-width: none;
	padding: 0;
	margin: 0;
}

.ya-snug-blocks.post_content > *:first-child {
	margin-top: 0;
}

.ya-snug-blocks.post_content > *:last-child {
	margin-bottom: 0;
}

.ya-snug-blocks .wp-block-shortcode {
	margin: 0;
}

.ya-home-template .ya-snug-blocks .wp-block-group,
.ya-home-template .ya-snug-blocks .wp-block-columns {
	max-width: none;
}

/* メディアとテキストブロック — PC 表示時 幅65%・中央寄せ */
@media (min-width: 768px) {
	.ya-snug-template .ya-snug-blocks .wp-block-media-text.is-stacked-on-mobile,
	.ya-snug-template .ya-snug-single__body .wp-block-media-text.is-stacked-on-mobile,
	.ya-snug-template .ya-snug-page__body .wp-block-media-text.is-stacked-on-mobile,
	.ya-blog-template .ya-snug-page__body .wp-block-media-text.is-stacked-on-mobile,
	.editor-styles-wrapper .wp-block-media-text.is-stacked-on-mobile {
		box-sizing: border-box;
		width: 65%;
		max-width: 65%;
		margin-left: auto;
		margin-right: auto;
	}

	.ya-snug-template .ya-snug-blocks .wp-block-media-text.is-stacked-on-mobile.alignwide,
	.ya-snug-template .ya-snug-blocks .wp-block-media-text.is-stacked-on-mobile.alignfull,
	.ya-snug-template .ya-snug-single__body .wp-block-media-text.is-stacked-on-mobile.alignwide,
	.ya-snug-template .ya-snug-single__body .wp-block-media-text.is-stacked-on-mobile.alignfull,
	.ya-snug-template .ya-snug-page__body .wp-block-media-text.is-stacked-on-mobile.alignwide,
	.ya-snug-template .ya-snug-page__body .wp-block-media-text.is-stacked-on-mobile.alignfull,
	.ya-blog-template .ya-snug-page__body .wp-block-media-text.is-stacked-on-mobile.alignwide,
	.ya-blog-template .ya-snug-page__body .wp-block-media-text.is-stacked-on-mobile.alignfull,
	.editor-styles-wrapper .wp-block-media-text.is-stacked-on-mobile.alignwide,
	.editor-styles-wrapper .wp-block-media-text.is-stacked-on-mobile.alignfull {
		width: 65%;
		max-width: 65%;
		margin-left: auto;
		margin-right: auto;
	}

	/* 最新の投稿ブロック — PC 表示時 幅70%・中央寄せ */
	.ya-snug-template .ya-snug-blocks .wp-block-latest-posts,
	.ya-snug-template .ya-snug-single__body .wp-block-latest-posts,
	.ya-snug-template .ya-snug-page__body .wp-block-latest-posts,
	.ya-blog-template .ya-snug-page__body .wp-block-latest-posts,
	.editor-styles-wrapper .wp-block-latest-posts {
		box-sizing: border-box;
		width: 70%;
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}

	.ya-snug-template .ya-snug-blocks .wp-block-latest-posts.alignwide,
	.ya-snug-template .ya-snug-blocks .wp-block-latest-posts.alignfull,
	.ya-snug-template .ya-snug-single__body .wp-block-latest-posts.alignwide,
	.ya-snug-template .ya-snug-single__body .wp-block-latest-posts.alignfull,
	.ya-snug-template .ya-snug-page__body .wp-block-latest-posts.alignwide,
	.ya-snug-template .ya-snug-page__body .wp-block-latest-posts.alignfull,
	.ya-blog-template .ya-snug-page__body .wp-block-latest-posts.alignwide,
	.ya-blog-template .ya-snug-page__body .wp-block-latest-posts.alignfull,
	.editor-styles-wrapper .wp-block-latest-posts.alignwide,
	.editor-styles-wrapper .wp-block-latest-posts.alignfull {
		width: 70%;
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}

	/* キャプションボックス（SWELL）— PC 表示時 幅70%・中央寄せ（最新の投稿と同様） */
	.ya-snug-template .ya-snug-blocks .swell-block-capbox,
	.ya-snug-template .ya-snug-single__body .swell-block-capbox,
	.ya-snug-template .ya-snug-page__body .swell-block-capbox,
	.ya-blog-template .ya-snug-page__body .swell-block-capbox,
	.editor-styles-wrapper .swell-block-capbox {
		box-sizing: border-box;
		width: 70%;
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
}

.ya-home-editor-note {
	display: none;
}

.block-editor-page .ya-home-editor-note {
	display: block;
	max-width: 1220px;
	margin: 0 auto 1rem;
	padding: 0 20px;
	color: #666;
}

.ya-snug-blocks--empty .ya-home-empty-notice {
	max-width: 1216px;
	margin: 2rem auto;
	padding: 1.25rem 1.5rem;
	border: 1px dashed #4a6b53;
	border-radius: 8px;
	background: #faf8f5;
	color: #333;
	text-align: center;
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* --- セクション共通 --- */
.ya-snug-section {
	padding: 40px 0;
}

.ya-snug-section--topics {
	background: #dfeaed;
}

.ya-snug-section--route {
	background: #d8e5e9;
}

.ya-snug-section--pickup {
	background: #fff;
	padding-top: 48px;
	padding-bottom: 48px;
}

.ya-snug-section--photo {
	background: #ebe6dc;
	padding-top: 48px;
	padding-bottom: 48px;
}

.ya-snug-section--contact {
	background: #fff;
	padding-bottom: 60px;
}

/* --- MAP（SNUG: https://snug-city-nagoya.jp/ .map + .routemap） --- */
.ya-snug-map-section {
	margin-top: 120px;
	padding: 0;
	background: #dfeaed;
}

.ya-snug-map {
	position: relative;
	width: 100%;
}

.ya-snug-map__label {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	margin-left: -608px;
	width: auto;
	height: auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
	pointer-events: none;
	transform: translateY(-50%);
}

.ya-snug-map__label-text {
	display: inline-block;
	transform: rotate(-90deg);
	transform-origin: center center;
	font-size: clamp(5.5rem, 2.4vw, 2.25rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.28em;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--ya-main-color, #4a6b53);
	text-shadow: 0 1px 0 rgba(250, 248, 245, 0.35);
}

.ya-snug-map__routemap {
	position: relative;
	width: 100%;
	height: 420px;
	line-height: 0;
	background: #faf8f5;
}

.ya-snug-map__routemap::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(74, 107, 83, 0.1);
	pointer-events: none;
}

.ya-snug-map__routemap iframe {
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	display: block;
	border: 0;
	filter: saturate(0.88) sepia(0.14) hue-rotate(58deg) brightness(1.03);
}

.ya-snug-map__note {
	max-width: 1216px;
	margin: 10px auto 0;
	padding: 0 20px 24px;
	font-size: 11px;
	color: #555;
	text-align: right;
}

@media (max-width: 1250px) {
	.ya-snug-map__label {
		left: 2%;
		margin-left: 0;
	}
}

.ya-snug-section__ttl {
	text-align: center;
	margin: 0 0 16px;
}

.ya-snug-section__ttl-en {
	display: block;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: lowercase;
	color: #333;
	line-height: 1.1;
}

.ya-snug-section__ttl-ja {
	display: block;
	font-size: 12px;
	color: #888;
	margin-top: 6px;
	font-weight: 400;
	letter-spacing: 0.1em;
}

.ya-snug-section__lead {
	text-align: center;
	font-size: 13px;
	line-height: 1.85;
	color: #555;
	margin-bottom: 24px;
}

.ya-snug-section__lead small {
	display: block;
	font-size: 11px;
	color: #888;
	margin-top: 8px;
}

.ya-snug-section__btn {
	text-align: center;
	margin-top: 24px;
}

.ya-snug-section__btn a {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: #333;
	border: 2px solid #333;
	padding: 10px 40px;
	text-decoration: none;
	transition: all 0.25s ease;
}

.ya-snug-section__btn a:hover {
	background: #333;
	color: #fff;
}

/* --- TOPICS リスト --- */
.ya-topics-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ya-topics-list__item {
	display: table;
	width: 100%;
	padding: 14px 0;
	border-bottom: 2px solid #fff;
	align-items: flex-start;
}

.ya-topics-list__item:first-child {
	border-top: 2px solid #fff;
}

.ya-topics-list__thumb {
	display: table-cell;
	width: 146px;
	vertical-align: middle;
	padding-left: 8px;
}

.ya-topics-list__thumb a {
	display: block;
	position: relative;
	z-index: 1;
	width: 106px;
	height: 63px;
}

.ya-topics-list__thumb a::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 4px;
	left: 4px;
	width: 106px;
	height: 63px;
	background: #ff0;
}

.ya-topics-list__thumb img {
	width: 106px;
	height: 63px;
	object-fit: cover;
	display: block;
}

.ya-topics-list__body {
	display: table-cell;
	vertical-align: middle;
	margin: 0;
	min-width: 0;
	letter-spacing: 0.12em;
}

.ya-topics-list__body dt {
	font-size: 13px;
	font-weight: 700;
	color: #333;
	margin-bottom: 6px;
}

.ya-topics-list__body dd {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
}

.ya-topics-list__body a {
	color: #333;
	text-decoration: none;
}

.ya-topics-list__body a:hover {
	color: var(--ya-main-color);
	text-decoration: underline;
}

/* --- ROUTE / EVENT 横スクロール --- */
.ya-route-entry {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 8px 4px 20px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.ya-route-entry.is-dragging {
	cursor: grabbing;
}

.ya-route-entry__item {
	flex: 0 0 200px;
	scroll-snap-align: start;
}

.ya-route-entry__link {
	display: block;
	text-decoration: none !important;
	color: #333;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease;
}

.ya-route-entry__link:hover {
	transform: translateY(-4px);
}

.ya-route-entry__item--new .ya-route-entry__link {
	box-shadow: 0 0 0 2px var(--ya-accent-color);
}

.ya-route-entry__thumb {
	background: #f5f2eb;
	padding: 12px;
	text-align: center;
}

.ya-route-entry__thumb figure {
	margin: 0;
}

.ya-route-entry__thumb img {
	width: 120px;
	height: auto;
	display: inline-block;
}

.ya-route-entry__text {
	padding: 12px;
}

.ya-route-entry__time {
	font-size: 11px;
	font-weight: 700;
	color: var(--ya-main-color);
	margin: 0 0 6px;
	letter-spacing: 0.05em;
}

.ya-route-entry__time::before {
	content: "⏱ ";
}

.ya-route-entry__text h3 {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
	margin: 0 0 8px;
}

.ya-route-entry__name {
	font-size: 11px;
	color: #888;
	margin: 0;
}

/* --- SNS バンド（SNUG: 黄二重線・八角形） --- */
.ya-snug-sns {
	margin-top: 40px;
	padding: 0 20px;
}

.ya-snug-sns__frame {
	--ya-sns-clip: polygon(
		18px 0,
		calc(100% - 18px) 0,
		100% 18px,
		100% calc(100% - 18px),
		calc(100% - 18px) 100%,
		18px 100%,
		0 calc(100% - 18px),
		0 18px
	);
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 5px;
	background: #f4f91d;
	clip-path: var(--ya-sns-clip);
}

.ya-snug-sns__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
	padding: 4px;
	background: #f4f91d;
	clip-path: polygon(
		14px 0,
		calc(100% - 14px) 0,
		100% 14px,
		100% calc(100% - 14px),
		calc(100% - 14px) 100%,
		14px 100%,
		0 calc(100% - 14px),
		0 14px
	);
}

.ya-snug-sns__inner::before {
	content: "";
	position: absolute;
	inset: 5px;
	background: #fff;
	clip-path: polygon(
		14px 0,
		calc(100% - 14px) 0,
		100% 14px,
		100% calc(100% - 14px),
		calc(100% - 14px) 100%,
		14px 100%,
		0 calc(100% - 14px),
		0 14px
	);
	z-index: 0;
}

.ya-snug-sns__title,
.ya-snug-sns__list {
	position: relative;
	z-index: 1;
}

.ya-snug-sns__title {
	flex: 1 1 240px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.75;
	margin: 0;
	padding: 20px 8px 20px 28px;
	color: #333;
	text-align: left;
}

.ya-snug-sns__list {
	list-style: none;
	margin: 0;
	padding: 12px 28px 12px 8px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex: 0 0 auto;
}

.ya-snug-sns__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #000;
	color: #fff;
	text-decoration: none !important;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ya-snug-sns__icon:hover {
	opacity: 0.85;
	transform: scale(1.05);
}

.ya-snug-sns__icon svg {
	display: block;
}

/* --- PICKUP 3列グリッド --- */
.ya-pickup-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-top: 8px;
}

.ya-pickup-banner {
	margin: 0;
}

.ya-pickup-banner a {
	display: block;
	line-height: 0;
	position: relative;
}

.ya-pickup-banner img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
	transition: opacity 0.25s ease;
}

.ya-pickup-banner a:hover img {
	opacity: 0.88;
}

.ya-pickup-banner--new a::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 36px;
	background: var(--ya-accent-color);
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* --- HOP DIARY（SNUG: photodocumentary） --- */
.ya-diary-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 8px;
}

.ya-diary-card {
	margin: 0;
}

.ya-diary-card a {
	display: block;
	position: relative;
	z-index: 1;
	line-height: 0;
}

.ya-diary-card a::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 6px;
	left: 6px;
	width: 100%;
	height: 100%;
	background: #ff0;
}

.ya-diary-card img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.25s ease;
}

.ya-diary-card a:hover img {
	opacity: 0.9;
}

.ya-diary-card--new a::after {
	content: "NEW";
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #fff;
	background: var(--ya-accent-color);
	padding: 3px 8px;
}

/* --- PAGE TOP（SNUG 型） --- */
.ya-pagetop {
	position: fixed;
	z-index: 900;
	right: 0;
	bottom: 0;
	width: 70px;
	height: 70px;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: #000;
	color: #dfeaed;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, background 0.25s ease;
}

.ya-pagetop.is-visible {
	opacity: 1;
	visibility: visible;
}

.ya-pagetop:hover {
	background: #222;
}

.ya-pagetop__text {
	display: block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.12em;
}

/* --- お問い合わせ --- */
.ya-snug-contact {
	text-align: center;
}

.ya-snug-contact__name {
	font-weight: 700;
	margin-bottom: 8px;
}

.ya-snug-contact__email a {
	color: var(--ya-main-color);
	font-weight: 600;
}

/* --- PC / SP レスポンシブ（ヘッダー） --- */
@media (max-width: 1000px) {
	.ya-global-header__row {
		column-gap: 16px;
		min-height: 160px;
	}

	.ya-local-nav ul,
	.ya-local-nav__list,
	.ya-local-nav .menu {
		gap: 4px 16px;
	}
}

@media (min-width: 851px) {
	.ya-local-nav {
		display: block !important;
	}
}

@media (max-width: 850px) {
	.ya-local-nav {
		display: none;
	}

	.ya-global-nav-trigger {
		display: block;
	}

	.ya-snug-hero__slider {
		padding-top: 0;
	}

	.ya-global-nav__sns {
		display: block;
	}
}

@media (max-width: 767px) {
	.ya-global-header__inner {
		padding: 16px 50px 8px;
	}

	.ya-global-header__row {
		grid-template-columns: auto 1fr auto;
		min-height: 88px;
		column-gap: 8px;
	}

	.ya-global-header__catch {
		gap: 8px;
	}

	.ya-global-header__catch-line {
		font-size: 0.75rem;
		letter-spacing: 0.16em;
		padding: 3px 2px;
	}

	.ya-global-header__logo a,
	.ya-global-header__logo img {
		width: 140px;
	}

	.ya-global-header__sns {
		display: none;
	}

	.ya-local-nav ul,
	.ya-local-nav__list,
	.ya-local-nav .menu {
		gap: 2px 12px;
	}

	.ya-local-nav a,
	.ya-local-nav__list a,
	.ya-local-nav .menu-item a {
		font-size: 0.6875rem;
		letter-spacing: 0.1em;
	}

	.ya-global-nav-trigger {
		width: 52px;
		height: 52px;
	}

	.ya-global-nav-trigger span,
	.ya-global-nav-trigger span::before,
	.ya-global-nav-trigger span::after {
		width: 24px;
	}

	.ya-snug-inner {
		padding: 0 30px;
	}

	.ya-snug-section {
		padding: 40px 0 30px;
	}

	.ya-pickup-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ya-snug-map-section {
		margin-top: 0;
	}

	.ya-snug-map {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		container-type: inline-size;
	}

	.ya-snug-map__label {
		position: relative;
		top: auto;
		left: auto;
		order: -1;
		margin: 0 0 0.75rem;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		padding: 0;
		transform: none;
		justify-content: center;
	}

	.ya-snug-map__label-text {
		transform: none;
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: center;
		font-size: 18cqw;
		letter-spacing: 0.2em;
	}

	.ya-snug-map__routemap {
		width: 100%;
		height: 320px;
	}

	.ya-snug-map__note {
		padding-bottom: 16px;
	}

	.ya-snug-sns {
		padding: 0 30px;
	}

	.ya-snug-sns__inner {
		flex-direction: column;
		align-items: center;
	}

	.ya-snug-sns__title {
		flex: none;
		padding: 20px 20px 0;
		text-align: center;
		font-size: 13px;
	}

	.ya-snug-sns__list {
		justify-content: center;
		padding: 0 20px 20px;
	}

	.ya-pagetop {
		width: 52px;
		height: 52px;
	}

	.ya-pagetop__text {
		font-size: 8px;
	}

	.ya-topics-list__thumb {
		width: 124px;
	}

	.ya-topics-list__body {
		width: calc(100% - 132px);
	}
}

@media (min-width: 768px) {
	.ya-snug-inner {
		max-width: 1216px;
	}

	.ya-intro__grid {
		grid-template-columns: 1.2fr 0.8fr;
	}

	.ya-route-entry {
		flex-wrap: wrap;
		overflow: visible;
		justify-content: center;
	}

	.ya-route-entry__item {
		flex: 0 0 calc(25% - 14px);
		max-width: 220px;
	}
}

/* --- SNUG: Footer（https://snug-city-nagoya.jp/） --- */
.ya-snug-footer {
	margin-top: 108px;
	padding: 0 20px 78px;
	text-align: center;
	background: #dfeaed;
	color: #333;
}

.ya-snug-footer__nav {
	margin: 0 auto;
	max-width: 1216px;
}

.ya-snug-footer__nav-list,
.ya-snug-footer .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ya-snug-footer__nav-list a,
.ya-snug-footer .menu-item a {
	color: #333 !important;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: opacity 0.25s ease;
}

.ya-snug-footer__nav-list a:hover,
.ya-snug-footer .menu-item a:hover {
	opacity: 0.65;
}

.ya-snug-footer__sns {
	margin: 75px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0;
	line-height: 1;
}

.ya-snug-footer__sns-item {
	display: inline-block;
	margin: 0 30px;
	vertical-align: top;
}

.ya-snug-footer__sns-item a {
	display: block;
	transition: opacity 0.25s ease;
}

.ya-snug-footer__sns-item a:hover {
	opacity: 0.7;
}

.ya-snug-footer__sns-item img {
	display: block;
	width: 70px;
	height: auto;
}

.ya-snug-footer__sns-fallback {
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 1px solid #333;
	border-radius: 999px;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

.ya-snug-footer__contact {
	margin-top: 59px;
}

.ya-snug-footer__contact-ttl {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.ya-snug-footer__contact-text {
	margin: 17px 0 0;
	line-height: 1.8;
	font-size: 0.9375rem;
}

.ya-snug-footer__contact-mail {
	display: inline-block;
	margin-top: 6px;
	color: #000 !important;
	text-decoration: underline !important;
	font-size: 0.9375rem;
}

.ya-snug-footer__contact-mail:hover {
	opacity: 0.7;
}

.ya-snug-footer__post {
	margin: 18px 0 0;
}

.ya-snug-footer__post a {
	color: #333 !important;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-decoration: none !important;
	text-transform: none;
	transition: opacity 0.25s ease;
}

.ya-snug-footer__post a:hover {
	opacity: 0.65;
}

.ya-snug-footer__copyright {
	display: block;
	margin: 26px auto 0;
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	color: #666;
}

@media (max-width: 767px) {
	.ya-snug-footer {
		margin-top: 48px;
		padding: 0 20px 40px;
	}

	.ya-snug-footer__nav-list,
	.ya-snug-footer .menu {
		gap: 6px 16px;
	}

	.ya-snug-footer__nav-list a,
	.ya-snug-footer .menu-item a {
		font-size: 0.6875rem;
		letter-spacing: 0.1em;
	}

	.ya-snug-footer__sns {
		margin-top: 53px;
	}

	.ya-snug-footer__sns-item {
		margin: 0 6.8%;
	}

	.ya-snug-footer__sns-item img {
		width: 55px;
	}

	.ya-snug-footer__contact {
		margin-top: 49px;
		font-size: 13px;
	}

	.ya-snug-footer__contact-ttl {
		font-size: 1rem;
	}

	.ya-snug-footer__contact-text {
		margin-top: 14px;
	}

	.ya-snug-footer__copyright {
		margin-top: 54px;
	}
}
