@charset "UTF-8";
/* =========================================================
   YOKOHAMA TIMBER WHARF 風デザイン
   SWELL 子テーマ用カスタムCSS
   ---------------------------------------------------------
   配色   : 墨黒 #242322 / オフホワイト #f4f4f4
            マスタード #d9bd66 / ライトブルー #d9e6ee / ピーチ #f0c7a6
   フォント: Noto Sans JP(和文) + Inter(欧文)
   ======================================================= */

:root {
	--tmg-black:   #242322;
	--tmg-bg:      #f4f4f4;
	--tmg-white:   #fff;
	--tmg-mustard: #d9bd66;
	--tmg-blue:    #d9e6ee;
	--tmg-peach:   #f0c7a6;
	--tmg-brown:   #a9865f;
	--tmg-accent:  #b8b4ab; /* アクセント色(テーマ設定で変更可) */
	--tmg-border:  rgba(36, 35, 34, .18);
	--tmg-font-jp: "Noto Sans JP", sans-serif;
	--tmg-font-en: "Inter", "Helvetica Neue", sans-serif;
	--tmg-radius:  1.25rem;
	--tmg-sidebar-w: 6.5rem;
	--tmg-ease: cubic-bezier(.165, .84, .44, 1); /* 本家と同じ easeOutQuart */
	--tmg-ease-inout: cubic-bezier(.77, 0, .175, 1); /* 本家のカーテン用イージング */
}

/* ---------------------------------------------------------
   SWELL 標準パーツの無効化(カスタムヘッダー/フッターに置換)
   - テーマ設定でオフにすると body.tmg-chrome が外れ、SWELL標準に戻る
   ------------------------------------------------------- */
body.tmg-chrome #header,
body.tmg-chrome .l-fixHeader,
body.tmg-chrome #footer,
body.tmg-chrome #breadcrumb,
body.tmg-chrome .c-breadcrumb,
body.tmg-chrome .p-spMenu__overlay,
#body_wrap.tmg-chrome #header,
#body_wrap.tmg-chrome .l-fixHeader,
#body_wrap.tmg-chrome #footer,
#body_wrap.tmg-chrome #breadcrumb,
#body_wrap.tmg-chrome .c-breadcrumb,
#body_wrap.tmg-chrome .p-spMenu__overlay {
	display: none !important;
}
body.tmg-chrome .l-content,
#body_wrap.tmg-chrome .l-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
/* SWELL標準のメインビジュアル・記事スライダーも無効化 */
body.tmg-chrome .p-mainVisual,
body.tmg-chrome .p-postSlider,
#body_wrap.tmg-chrome .p-mainVisual,
#body_wrap.tmg-chrome .p-postSlider {
	display: none !important;
}
/* このテーマのテンプレートを使うページはコンテンツ幅の制約を解除 */
body.tmg-chrome .l-content:has(> .tmg-main),
#body_wrap.tmg-chrome .l-content:has(> .tmg-main) {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* 管理バー表示時(ログイン中)のサイドバー位置調整 */
@media (min-width: 960px) {
	body.admin-bar .tmg-sidebar,
	body:has(#wpadminbar) .tmg-sidebar {
		top: 32px;
		height: calc(100vh - 32px);
	}
	body:has(#wpadminbar) .tmg-news-feed {
		top: 32px;
		height: calc(100vh - 32px);
	}
}
@media (max-width: 959.98px) {
	body:has(#wpadminbar) .tmg-sidebar {
		top: 46px;
	}
}

/* ---------------------------------------------------------
   ベース
   ------------------------------------------------------- */
body {
	overflow-anchor: none;
	font-family: var(--tmg-font-jp);
	color: var(--tmg-black);
	background-color: var(--tmg-bg);
	font-weight: 400;
	line-height: 1.8;
}
.tmg-main a { color: inherit; }

body.tmg-chrome .tmg-main,
#body_wrap.tmg-chrome .tmg-main {
	margin-left: var(--tmg-sidebar-w);
}
/* トップページとフッターは全幅にして、サイドバーが上に重なる(動画と同じ構造) */
body.tmg-chrome .tmg-main--front,
#body_wrap.tmg-chrome .tmg-main--front,
body.tmg-chrome .tmg-footer {
	margin-left: 0;
}
body.tmg-chrome .tmg-main--front .tmg-section,
#body_wrap.tmg-chrome .tmg-main--front .tmg-section {
	padding-left: calc(var(--tmg-sidebar-w) + 4rem);
}
.tmg-main {
	padding-top: 6rem;
	overflow: hidden;
}
body.tmg-chrome .tmg-main--front,
#body_wrap.tmg-chrome .tmg-main--front {
	padding-top: 0;
}
@media (min-width: 1280px) {
	/* ヒーロー内のテキストがニュースフィードと重ならないように */
	body.tmg-has-newsfeed .tmg-hero__slide,
	#body_wrap.tmg-has-newsfeed .tmg-hero__slide { padding-right: 19rem; }
}
@media (max-width: 959px) {
	body.tmg-chrome .tmg-main,
	body.tmg-chrome .tmg-footer,
	#body_wrap.tmg-chrome .tmg-main { margin-left: 0; }
	body.tmg-chrome .tmg-main,
	#body_wrap.tmg-chrome .tmg-main { padding-top: 6.5rem; }
	body.tmg-chrome .tmg-main--front,
	#body_wrap.tmg-chrome .tmg-main--front { padding-top: 3.75rem; }
	body.tmg-chrome .tmg-main--front .tmg-section,
	#body_wrap.tmg-chrome .tmg-main--front .tmg-section { padding-left: 1.25rem; }
}

/* スクロール時のフェードイン */
.js-tmg-reveal {
	opacity: 0;
	translate: 0 2rem;
	transition: opacity .9s var(--tmg-ease), translate .9s var(--tmg-ease);
}
.js-tmg-reveal.is-inview {
	opacity: 1;
	translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
	.js-tmg-reveal { opacity: 1; translate: 0 0; transition: none; }
}
/* テーマ設定でフェードインをオフにした場合 */
body.tmg-no-reveal .js-tmg-reveal,
#body_wrap.tmg-no-reveal .js-tmg-reveal {
	opacity: 1;
	translate: 0 0;
	transition: none;
}

/* ---------------------------------------------------------
   左固定サイドバー
   ------------------------------------------------------- */
.tmg-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--tmg-sidebar-w);
	height: 100vh;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	--tmg-side-line: var(--tmg-border);
	border-right: 1px solid var(--tmg-side-line);
	background: transparent;
	color: var(--tmg-black);
	transition: color .4s var(--tmg-ease);
	z-index: 1000;
	text-align: center;
}
/* 色付き・写真セクションの上では白文字に(JSが付与) */
.tmg-sidebar.is-invert {
	color: #fff;
	--tmg-side-line: rgba(255, 255, 255, .55);
}
.tmg-sidebar__logo {
	border-bottom: 1px solid var(--tmg-side-line);
	padding: 1rem .5rem;
}
.tmg-sidebar__logo-image {
	width: 3.5rem;
	height: auto;
	display: inline-block;
}
.tmg-sidebar__logo-text {
	display: block;
	font-weight: 700;
	font-size: .6875rem;
	line-height: 1.35;
	letter-spacing: .04em;
}
.tmg-sidebar__logo-link {
	text-decoration: none;
	color: inherit;
}
.tmg-sidebar__date {
	border-bottom: 1px solid var(--tmg-side-line);
	padding: 1rem .25rem;
}
.tmg-sidebar__date-text {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .625rem;
	letter-spacing: .02em;
}
.tmg-gnav {
	margin-top: auto;
	padding: 1rem 0;
}
.tmg-gnav__label {
	font-family: var(--tmg-font-en);
	font-size: .625rem;
	color: inherit;
	opacity: .6;
	margin: 0 0 .375rem;
}
.tmg-gnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tmg-gnav__link {
	display: block;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .8125rem;
	line-height: 1.7;
	text-decoration: none;
	color: inherit;
	transition: opacity .3s var(--tmg-ease);
}
.tmg-gnav__link:hover {
	opacity: .5;
}
.tmg-sidebar__sns {
	padding: 1.25rem 0 1.5rem;
	margin-top: auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: .625rem;
}
.tmg-sidebar__sns svg {
	width: 1.375rem;
	height: 1.375rem;
	color: inherit;
}
.tmg-sidebar__sns a {
	display: inline-block;
	transition: opacity .3s var(--tmg-ease);
}
.tmg-sidebar__sns a:hover { opacity: .5; }

/* ハンバーガー(SP) */
.tmg-menu-btn {
	display: none;
	position: fixed;
	top: .875rem;
	right: .875rem;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background-color: var(--tmg-black);
	border: none;
	cursor: pointer;
	z-index: 10001;
	padding: 0;
}
.tmg-menu-btn span {
	display: block;
	width: 1.375rem;
	height: 2px;
	background-color: #fff;
	margin: .25rem auto;
	transition: all .3s var(--tmg-ease);
}
body.tmg-menu-open .tmg-menu-btn span:nth-child(1) { translate: 0 .375rem; rotate: 45deg; }
body.tmg-menu-open .tmg-menu-btn span:nth-child(2) { opacity: 0; }
body.tmg-menu-open .tmg-menu-btn span:nth-child(3) { translate: 0 -.375rem; rotate: -45deg; }

@media (max-width: 959px) {
	.tmg-menu-btn { display: block; }
	.tmg-sidebar {
		width: 100%;
		height: 3.75rem;
		flex-direction: row;
		align-items: center;
		background-color: rgba(244, 244, 244, .92);
		border-right: none;
		border-bottom: 1px solid var(--tmg-border);
	}
	/* SPは背景が不透明なので反転しない */
	.tmg-sidebar.is-invert {
		color: var(--tmg-black);
		--tmg-side-line: var(--tmg-border);
	}
	.tmg-sidebar__logo {
		border-bottom: none;
		padding: .375rem .875rem;
	}
	.tmg-sidebar__logo-image { width: 2.5rem; }
	.tmg-sidebar__date {
		border-bottom: none;
		display: flex;
		align-items: center;
		padding: 0;
	}
	.tmg-gnav {
		position: fixed;
		inset: 0;
		margin: 0;
		background-color: var(--tmg-black);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s var(--tmg-ease), visibility .3s;
		z-index: 10000;
	}
	body.tmg-menu-open .tmg-gnav {
		opacity: 1;
		visibility: visible;
	}
	.tmg-gnav__label { color: rgba(255, 255, 255, .5); }
	.tmg-gnav__link {
		color: #fff;
		font-size: 1.5rem;
		line-height: 2.4;
	}
	.tmg-sidebar__sns {
		margin-left: auto;
		padding: 0 4.5rem 0 0;
	}
}

/* ---------------------------------------------------------
   右固定ニュースフィード(トップページ)
   ------------------------------------------------------- */
.tmg-news-feed {
	position: fixed;
	top: 0;
	right: 0;
	width: 17rem;
	height: 100vh;
	height: 100dvh;
	z-index: 900;
	padding: .5rem;
	overflow: hidden;
	transition: opacity .5s var(--tmg-ease), translate .5s var(--tmg-ease);
}
/* ヒーローを通り過ぎたらフェードアウト(JSが付与) */
.tmg-news-feed.is-hidden {
	opacity: 0;
	translate: 1.25rem 0;
	pointer-events: none;
}
.tmg-news-feed__viewport {
	height: 100%;
	overflow: hidden;
}
.tmg-news-feed__track,
.tmg-news-feed__dup {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
/* 自動縦流し(マーキー)は custom.js が Web Animations API で制御
   (ホバーで一時停止 / prefers-reduced-motion 時は無効) */
.tmg-news-card {
	background-color: var(--tmg-white);
	border-radius: .75rem;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0 .25rem 1rem rgba(36, 35, 34, .06);
}
.tmg-news-card__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .625rem;
	padding: .875rem 1rem;
	text-decoration: none;
	color: var(--tmg-black);
}
.tmg-news-card__title {
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.55;
	margin: 0;
}
.tmg-news-card__arrow {
	font-family: var(--tmg-font-en);
	flex-shrink: 0;
	transition: translate .3s var(--tmg-ease);
}
.tmg-news-card__body:hover .tmg-news-card__arrow {
	translate: .25rem 0;
}
.tmg-news-card__image-wrap {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.tmg-news-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale .4s var(--tmg-ease);
}
.tmg-news-card__image-wrap:hover .tmg-news-card__image {
	scale: 1.04;
}
@media (max-width: 1279px) {
	.tmg-news-feed { display: none; }
}

/* ---------------------------------------------------------
   ボタン(アウトラインのピル型 / ホバーで黒く塗り潰し)
   ------------------------------------------------------- */
.tmg-btn-pill {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	border: 1px solid var(--tmg-black);
	border-radius: 999px;
	padding: .8125rem 2.125rem;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	color: var(--tmg-black);
	background-color: transparent;
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color .35s var(--tmg-ease);
}
.tmg-btn-pill::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--tmg-black);
	border-radius: 999px;
	translate: 0 -101%;
	transition: translate .35s var(--tmg-ease);
	z-index: -1;
}
.tmg-btn-pill::after {
	content: "\2192";
	transition: translate .3s var(--tmg-ease);
}
.tmg-btn-pill:hover {
	color: #fff;
}
.tmg-btn-pill:hover::before {
	translate: 0 0;
}
.tmg-btn-pill:hover::after {
	translate: .25rem 0;
}
/* 暗背景用 */
.tmg-btn-pill--light {
	border-color: #fff;
	color: #fff;
}
.tmg-btn-pill--light::before {
	background-color: #fff;
}
.tmg-btn-pill--light:hover {
	color: var(--tmg-black);
}
/* ヒーロー内(文字色に追従) */
.tmg-btn-pill--hero {
	border-color: currentColor;
	color: inherit;
}
.tmg-btn-pill--hero::before {
	background-color: var(--tmg-black);
}
.tmg-btn-pill--hero:hover {
	color: #fff;
}

/* ---------------------------------------------------------
   ヒーロースライダー(背景色ごと切り替わる)
   ------------------------------------------------------- */
.tmg-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	transition: background-color 1s var(--tmg-ease), color 1s var(--tmg-ease);
	display: flex;
	flex-direction: column;
	color: #fff;
}
.tmg-hero__label {
	position: absolute;
	top: 1.5rem;
	left: 50%;
	translate: -50% 0;
	background-color: #fff;
	border-radius: 999px;
	padding: .25rem 1.375rem;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: 1.0625rem;
	margin: 0;
	z-index: 3;
}
.tmg-hero__slides {
	position: relative;
	flex: 1;
}
.tmg-hero__slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 5fr 6fr;
	align-items: center;
	gap: 2.5rem;
	padding: 5.5rem 4rem 5rem calc(var(--tmg-sidebar-w) + 3.5rem);
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s var(--tmg-ease), visibility .9s;
	color: var(--tmg-black);
}
.tmg-hero__slide--light {
	color: #fff;
}
.tmg-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.tmg-hero__image-wrap {
	justify-self: center;
	width: min(100%, 23rem);
	aspect-ratio: 3 / 4;
	rotate: -4deg;
	border-radius: var(--tmg-radius);
	overflow: hidden;
	box-shadow: 0 1.5rem 3rem rgba(36, 35, 34, .16);
}
/* 大きめの回転から振り子のように起き上がる登場アニメーション */
.tmg-hero__slide.is-active .tmg-hero__image-wrap {
	animation: tmg-hero-img-in 1.35s cubic-bezier(.22, 1.35, .36, 1) .1s both;
}
@keyframes tmg-hero-img-in {
	0% {
		rotate: -13deg;
		translate: -3.5rem 5rem;
		opacity: 0;
		clip-path: inset(0 0 78% 0 round var(--tmg-radius));
	}
	45% {
		opacity: 1;
		clip-path: inset(0 0 0 0 round var(--tmg-radius));
	}
	100% {
		rotate: -4deg;
		translate: 0 0;
		opacity: 1;
		clip-path: inset(0 0 0 0 round var(--tmg-radius));
	}
}
/* テキストのマスクリビール(本家の mask 構造を再現・時間差で順に出現) */
.tmg-hero__status,
.tmg-hero__date,
.tmg-hero__title,
.tmg-hero__excerpt,
.tmg-hero__body .tmg-btn-pill--hero {
	opacity: 0;
}
.tmg-hero__slide.is-active .tmg-hero__status   { animation: tmg-mask-up .9s var(--tmg-ease) .2s both; }
.tmg-hero__slide.is-active .tmg-hero__date     { animation: tmg-mask-up .9s var(--tmg-ease) .3s both; }
.tmg-hero__slide.is-active .tmg-hero__title    { animation: tmg-mask-up .9s var(--tmg-ease) .42s both; }
.tmg-hero__slide.is-active .tmg-hero__excerpt  { animation: tmg-mask-up .9s var(--tmg-ease) .54s both; }
.tmg-hero__slide.is-active .tmg-hero__body .tmg-btn-pill--hero { animation: tmg-mask-up .9s var(--tmg-ease) .66s both; }
@keyframes tmg-mask-up {
	0% {
		clip-path: inset(100% 0 0 0);
		translate: 0 1.125rem;
		opacity: 1;
	}
	100% {
		clip-path: inset(-20% -20% -20% -20%);
		translate: 0 0;
		opacity: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tmg-hero__status,
	.tmg-hero__date,
	.tmg-hero__title,
	.tmg-hero__excerpt,
	.tmg-hero__body .tmg-btn-pill--hero {
		opacity: 1;
		animation: none !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tmg-hero__slide.is-active .tmg-hero__image-wrap { animation: none; }
}
/* アイキャッチ未設定時のプレースホルダー */
.tmg-hero__image-wrap--ph {
	background-color: rgba(255, 255, 255, .35);
}
.tmg-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tmg-hero__body {
	text-align: center;
	max-width: 34rem;
	justify-self: start;
	width: 100%;
}
/* 開催中 / 開催前 のステータスピル */
.tmg-hero__status {
	display: inline-block;
	background-color: #fff;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 700;
	padding: .1875rem 1.125rem;
	margin: 0 0 1.5rem;
}
.tmg-hero__date {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.125rem;
	font-family: var(--tmg-font-en);
	margin: 0 0 1.5rem;
	line-height: 1.1;
}
.tmg-hero__date-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .125rem;
}
/* 期間表示のドット線(本家の dots を再現) */
.tmg-hero__date-dots {
	width: 2rem;
	height: 3px;
	background-image: radial-gradient(circle, currentColor 1.1px, transparent 1.4px);
	background-size: 6px 3px;
	background-repeat: repeat-x;
	opacity: .85;
	margin-top: -.875rem;
}
.tmg-hero__date-month {
	font-weight: 600;
	font-size: 1rem;
}
.tmg-hero__date-day {
	font-weight: 600;
	font-size: 3.5rem;
	letter-spacing: -.02em;
}
.tmg-hero__date-week {
	font-size: .6875rem;
	font-weight: 600;
	background-color: rgba(36, 35, 34, .25);
	color: #fff;
	border-radius: 999px;
	padding: .0625rem .625rem;
	margin-top: .375rem;
}
.tmg-hero__title {
	font-size: clamp(1.5rem, 2.6vw, 2.375rem);
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 .875rem;
}
.tmg-hero__excerpt {
	font-size: .8125rem;
	font-weight: 500;
	margin: 0 0 2rem;
}
.tmg-hero__pagination {
	display: flex;
	justify-content: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0 0 1rem;
	position: relative;
	z-index: 3;
}
.tmg-hero__pagination button {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: 1rem;
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	opacity: .4;
	transition: opacity .3s var(--tmg-ease);
	padding: .25rem .5rem;
}
.tmg-hero__pagination button.is-active,
.tmg-hero__pagination button:hover {
	opacity: 1;
}
.tmg-hero__pagination li {
	display: flex;
	align-items: center;
}
.tmg-hero__pagination li:not(:last-child)::after {
	content: "・";
	opacity: .35;
	margin-left: 1.75rem;
	font-size: .625rem;
}
/* 自動再生の進捗バー(本家の seekbar を再現) */
.tmg-hero__seekbar {
	position: relative;
	z-index: 3;
	display: block;
	width: 11rem;
	height: 2px;
	margin: 0 auto 3.75rem;
}
.tmg-hero__seekbar::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: currentColor;
	opacity: .25;
}
.tmg-hero__seekbar span {
	position: absolute;
	inset: 0;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
}
@media (max-width: 959px) {
	.tmg-hero__slide {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 5rem 1.5rem 3.5rem;
		align-content: center;
	}
	.tmg-hero__image-wrap {
		justify-self: center;
		width: min(100%, 17rem);
	}
	.tmg-hero__date-day { font-size: 2.5rem; }
	.tmg-hero__body { justify-self: center; }
}

/* ---------------------------------------------------------
   メインビジュアル(全面写真 + キャッチコピー)
   ------------------------------------------------------- */
.tmg-mv {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
}
.tmg-mv__bg {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(160deg, #9a7a56 0%, #55402c 55%, #242322 100%);
	background-size: cover;
	background-position: center;
}
.tmg-mv__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(36, 35, 34, .28);
}
.tmg-mv__body {
	position: relative;
	z-index: 1;
	color: #fff;
	padding: 4rem 5rem;
	max-width: 46rem;
	margin-left: auto;
}
.tmg-mv__catch {
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.7;
	margin: 0 0 2.25rem;
}
.tmg-mv__lead {
	font-size: .9375rem;
	font-weight: 500;
	line-height: 2.2;
	margin: 0 0 2.5rem;
}
@media (max-width: 959px) {
	.tmg-mv__body { padding: 4rem 1.5rem; }
}

/* ---------------------------------------------------------
   トップ 共通セクション
   ------------------------------------------------------- */
.tmg-section {
	padding: 5.5rem 4rem 2.5rem;
}
.tmg-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 3rem;
}
.tmg-section__title {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: clamp(2.75rem, 5.2vw, 4.25rem);
	letter-spacing: -.02em;
	line-height: 1.05;
	margin: 0;
}
.tmg-section__title-jp {
	font-family: var(--tmg-font-jp);
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: 0;
	margin-left: 1.25rem;
	vertical-align: .5em;
}
.tmg-section__more {
	text-align: right;
	margin-top: 2.5rem;
}
/* セクション見出し下の説明文(OPENなど) */
.tmg-front-open__lead {
	font-size: .9375rem;
	font-weight: 400;
	line-height: 2;
	color: rgba(36, 35, 34, .75);
	max-width: 44rem;
	margin: -1.5rem 0 3rem;
}
@media (max-width: 959px) {
	.tmg-front-open__lead {
		margin: -.75rem 0 2.25rem;
	}
}
@media (max-width: 959px) {
	.tmg-section { padding: 3.5rem 1.25rem 1.5rem; }
	.tmg-section__head { margin-bottom: 2rem; }
}

/* スライダー矢印 */
.tmg-slider-arrows {
	display: flex;
	align-items: center;
	gap: .375rem;
	flex-shrink: 0;
}
.tmg-slider-arrows button {
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--tmg-font-en);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--tmg-black);
	padding: .5rem .75rem;
	opacity: .35;
	transition: opacity .3s var(--tmg-ease), translate .3s var(--tmg-ease);
}
.tmg-slider-arrows button:hover:not(:disabled) {
	opacity: 1;
}
.tmg-slider-arrows__next:hover:not(:disabled) { translate: .25rem 0; }
.tmg-slider-arrows__prev:hover:not(:disabled) { translate: -.25rem 0; }
.tmg-slider-arrows button:disabled { opacity: .15; cursor: default; }
.tmg-slider-arrows__prev {
	border-right: 1px solid var(--tmg-border);
}

/* 横スクロールカードスライダー */
.tmg-card-slider {
	overflow: hidden;
	margin: 0 -4rem;
	padding: 0 4rem;
}
.tmg-card-slider__track {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	transition: translate .6s var(--tmg-ease);
}
@media (max-width: 959px) {
	.tmg-card-slider { margin: 0 -1.25rem; padding: 0 1.25rem; }
}

/* ---------------------------------------------------------
   EVENT カード(パステル背景の横長カード)
   ------------------------------------------------------- */
.tmg-event-card {
	flex-shrink: 0;
	width: min(84vw, 39rem);
	border-radius: var(--tmg-radius);
	overflow: hidden;
	color: var(--tmg-black);
}
.tmg-event-card--light {
	color: #fff;
}
.tmg-event-card__link {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 22.5rem;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.tmg-event-card__body {
	padding: 1.75rem 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
}
.tmg-event-card__date {
	display: flex;
	align-items: center;
	column-gap: .875rem;
	font-family: var(--tmg-font-en);
	margin: 0 0 auto;
	line-height: 1.1;
}
.tmg-event-card__date-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .25rem;
}
.tmg-event-card__date-dots {
	width: 1.5rem;
	height: 3px;
	background-image: radial-gradient(circle, currentColor 1.1px, transparent 1.4px);
	background-size: 6px 3px;
	background-repeat: repeat-x;
	opacity: .85;
}
.tmg-event-card__date-month {
	font-weight: 600;
	font-size: .8125rem;
}
.tmg-event-card__date-day {
	font-weight: 600;
	font-size: 2.25rem;
	letter-spacing: -.02em;
}
.tmg-event-card__date-week {
	font-size: .625rem;
	font-weight: 600;
	background-color: rgba(36, 35, 34, .25);
	color: #fff;
	border-radius: 999px;
	padding: .0625rem .5rem;
}
.tmg-event-card__title {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 1.25rem 0 .375rem;
}
.tmg-event-card__excerpt {
	font-size: .75rem;
	font-weight: 500;
	margin: 0 0 1.25rem;
}
.tmg-event-card__view {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .9375rem;
	border-top: 1px solid currentColor;
	padding-top: .875rem;
	margin-top: auto;
}
.tmg-event-card__view span {
	transition: translate .3s var(--tmg-ease);
}
.tmg-event-card__link:hover .tmg-event-card__view span {
	translate: .375rem 0;
}
.tmg-event-card__image-wrap {
	overflow: hidden;
}
.tmg-event-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale .5s var(--tmg-ease);
}
.tmg-event-card__link:hover .tmg-event-card__image {
	scale: 1.04;
}
@media (max-width: 599px) {
	.tmg-event-card__link {
		grid-template-columns: 1fr;
		grid-template-rows: auto 12rem;
		min-height: 0;
	}
}

/* ---------------------------------------------------------
   認定企業カード(角丸カード)
   ------------------------------------------------------- */
.tmg-meet-lists__inner,
.tmg-open-lists__inner,
.tmg-feel-lists__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 2.5rem;
}
@media (max-width: 959px) {
	.tmg-meet-lists__inner,
	.tmg-open-lists__inner,
	.tmg-feel-lists__inner { padding: 0 1.25rem; }
}
.tmg-meet-lists__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem 1.5rem;
	list-style: none;
	margin: 0 0 3.75rem;
	padding: 0;
}
@media (max-width: 959px) {
	.tmg-meet-lists__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 1rem;
	}
}
/* スライダー内で使うときの幅 */
.tmg-card-slider .tmg-meet-card {
	flex-shrink: 0;
	width: min(72vw, 18.5rem);
}

.tmg-meet-card__link {
	display: block;
	text-decoration: none;
}
.tmg-meet-card__image-container {
	position: relative;
	border-radius: var(--tmg-radius);
	overflow: hidden;
	box-shadow: 0 .375rem 1.25rem rgba(36, 35, 34, .08);
}
.tmg-meet-card__image-wrap {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #fff;
	overflow: hidden;
}
/* ホバー時の暗幕 */
.tmg-meet-card__image-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(36, 35, 34, .74);
	z-index: 2;
	opacity: 0;
	transition: opacity .35s var(--tmg-ease);
}
.tmg-meet-card__link:hover .tmg-meet-card__image-wrap::before {
	opacity: 1;
}
.tmg-meet-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale .5s var(--tmg-ease);
}
.tmg-meet-card__link:hover .tmg-meet-card__image {
	scale: 1.05;
}
.tmg-meet-card__image--noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--tmg-blue) 0%, var(--tmg-mustard) 130%);
}
.tmg-meet-card__hover-text {
	position: absolute;
	color: #fff;
	max-width: 80%;
	width: 100%;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	z-index: 3;
	opacity: 0;
	transition: opacity .35s var(--tmg-ease);
	font-size: .8125rem;
	font-weight: 500;
	margin: 0;
	text-align: center;
}
.tmg-meet-card__link:hover .tmg-meet-card__hover-text {
	opacity: 1;
}
@media (max-width: 959px) {
	.tmg-meet-card__hover-text { display: none; }
}
.tmg-meet-card__title {
	margin: .875rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.55;
}

/* カテゴリータグ */
.tmg-meet-card__category-list {
	display: flex;
	flex-wrap: wrap;
	gap: .375rem;
	list-style: none;
	margin: .625rem 0 0;
	padding: 0;
}
.tmg-meet-card__category-text {
	font-size: .75rem;
	font-weight: 500;
	background-color: #fff;
	padding: .1875rem .875rem;
	display: block;
	border-radius: 999px;
	border: 1px solid var(--tmg-border);
	transition: background-color .3s var(--tmg-ease);
	text-decoration: none;
	color: var(--tmg-black);
}
.tmg-meet-card__category-text:hover {
	background-color: var(--tmg-accent);
}

/* ---------------------------------------------------------
   アーカイブページ(MEET / FEEL / OPEN)のイントロ
   ------------------------------------------------------- */
.tmg-meet-introduce__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 2.5rem 3.5rem;
}
.tmg-meet-introduce__text {
	font-size: .9375rem;
	max-width: 44rem;
}
.tmg-meet-introduce__category-label {
	margin-bottom: 1rem;
}
@media (max-width: 959px) {
	.tmg-meet-introduce__inner { padding: 0 1.25rem 2.5rem; }
}

/* セクションタイトル部品(大きな左寄せ英字見出しに再定義) */
.tmg-title-circle {
	margin-bottom: 1.75rem;
}
.tmg-title-circle__text {
	margin: 0;
	padding: 0;
	display: block;
	position: relative;
}
.tmg-title-circle__en {
	display: block;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: clamp(2.75rem, 5.2vw, 4.25rem);
	letter-spacing: -.02em;
	line-height: 1.05;
}
.tmg-title-circle__jp {
	display: block;
	font-size: .9375rem;
	font-weight: 500;
	margin-top: .625rem;
}

/* ---------------------------------------------------------
   検索ボックス
   ------------------------------------------------------- */
.tmg-search {
	margin: 3.75rem 0;
}
.tmg-main > .tmg-search {
	padding: 0 2.5rem;
}
.tmg-search__box {
	background-color: #fff;
	border-radius: var(--tmg-radius);
	padding: 2rem;
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
	max-width: 72rem;
	margin: 0 auto;
	box-shadow: 0 .375rem 1.25rem rgba(36, 35, 34, .06);
}
.tmg-search__title {
	flex-shrink: 0;
}
.tmg-search__title-en {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: 1.5rem;
	letter-spacing: -.01em;
	margin: 0;
	line-height: 1.2;
	text-transform: capitalize;
}
.tmg-search__title-ja {
	font-size: .8125rem;
	font-weight: 500;
	margin: .375rem 0 0;
}
.tmg-search__category-list {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tmg-search__category-link {
	font-size: .8125rem;
	font-weight: 500;
	background-color: var(--tmg-bg);
	padding: .3125rem 1.125rem;
	display: block;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: background-color .3s var(--tmg-ease);
	text-decoration: none;
	color: var(--tmg-black);
}
.tmg-search__category-link:hover,
.tmg-search__category-link--current {
	background-color: var(--tmg-accent);
}
@media (max-width: 959px) {
	.tmg-search__box {
		flex-direction: column;
		gap: 1.25rem;
		padding: 1.5rem 1.25rem;
	}
	.tmg-main > .tmg-search { padding: 0 1.25rem; }
}

/* ---------------------------------------------------------
   ページネーション
   ------------------------------------------------------- */
.tmg-pagination {
	margin: 3rem 0 5.5rem;
}
.tmg-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: .5rem;
}
.tmg-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--tmg-border);
	border-radius: 50%;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	text-decoration: none;
	color: var(--tmg-black);
	background-color: #fff;
	transition: all .3s var(--tmg-ease);
}
.tmg-pagination .page-numbers.current {
	background-color: var(--tmg-black);
	border-color: var(--tmg-black);
	color: #fff;
}
.tmg-pagination .page-numbers:hover:not(.current):not(.dots) {
	background-color: var(--tmg-accent);
}
.tmg-pagination .page-numbers.dots {
	border: none;
	background: none;
}

/* ---------------------------------------------------------
   FEEL 記事(一覧リスト + トップ用カード)
   ------------------------------------------------------- */
.tmg-feel-lists__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tmg-feel-item {
	border-bottom: 1px solid var(--tmg-border);
	padding: 1.75rem 0;
}
.tmg-feel-item__link {
	display: flex;
	gap: 1.75rem;
	align-items: flex-start;
	text-decoration: none;
	color: var(--tmg-black);
}
.tmg-feel-item__image-wrap {
	flex-shrink: 0;
	width: 12.5rem;
	aspect-ratio: 16 / 10;
	border-radius: .875rem;
	overflow: hidden;
}
.tmg-feel-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale .4s var(--tmg-ease);
}
.tmg-feel-item__link:hover .tmg-feel-item__image {
	scale: 1.05;
}
.tmg-feel-item__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 .5rem;
	line-height: 1.6;
}
.tmg-feel-item__link:hover .tmg-feel-item__title {
	opacity: .6;
}
.tmg-feel-item__date {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .75rem;
	color: rgba(36, 35, 34, .55);
}
.tmg-feel-item__category-list {
	margin-top: .75rem;
}
@media (max-width: 599px) {
	.tmg-feel-item__link { flex-direction: column; gap: .875rem; }
	.tmg-feel-item__image-wrap { width: 100%; }
}

/* トップ用 FEEL カード */
.tmg-feel-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (max-width: 959px) {
	.tmg-feel-grid { grid-template-columns: 1fr; }
}
.tmg-feel-card__link {
	display: block;
	text-decoration: none;
	color: var(--tmg-black);
}
.tmg-feel-card__image-wrap {
	border-radius: var(--tmg-radius);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 1rem;
	box-shadow: 0 .375rem 1.25rem rgba(36, 35, 34, .08);
}
.tmg-feel-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale .5s var(--tmg-ease);
}
.tmg-feel-card__link:hover .tmg-feel-card__image {
	scale: 1.05;
}
.tmg-feel-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 .375rem;
}
.tmg-feel-card__date {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .75rem;
	color: rgba(36, 35, 34, .55);
}

/* ---------------------------------------------------------
   OPEN カード
   ------------------------------------------------------- */
.tmg-open-lists__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem 1.5rem;
	list-style: none;
	margin: 0 0 3.75rem;
	padding: 0;
}
.tmg-open-lists__grid--front {
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 0;
}
@media (max-width: 959px) {
	.tmg-open-lists__grid,
	.tmg-open-lists__grid--front { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
	.tmg-open-lists__grid,
	.tmg-open-lists__grid--front { grid-template-columns: 1fr; }
}
.tmg-open-card {
	background-color: #fff;
	border-radius: var(--tmg-radius);
	padding: 1.25rem;
	box-shadow: 0 .375rem 1.25rem rgba(36, 35, 34, .06);
}
.tmg-open-card__body-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.tmg-open-card__body-link:hover .tmg-open-card__title {
	opacity: .6;
}
.tmg-open-card__body-link:hover .tmg-open-card__image {
	scale: 1.05;
}
.tmg-open-card__image {
	transition: scale .4s var(--tmg-ease);
}
.tmg-open-card__label {
	display: inline-block;
	font-size: .6875rem;
	font-weight: 500;
	background-color: var(--tmg-black);
	color: #fff;
	border-radius: 999px;
	padding: .125rem .875rem;
	margin: 0 0 .625rem;
}
.tmg-open-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 .75rem;
	line-height: 1.5;
}
.tmg-open-card__image-wrap {
	border-radius: .875rem;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: .75rem;
}
.tmg-open-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tmg-open-card__text {
	font-size: .8125rem;
	margin: 0 0 .75rem;
}
.tmg-open-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tmg-open-card__link {
	font-family: var(--tmg-font-en);
	font-size: .75rem;
	font-weight: 600;
	border: 1px solid var(--tmg-border);
	border-radius: 999px;
	padding: .125rem .875rem;
	display: block;
	text-decoration: none;
	color: var(--tmg-black);
	transition: background-color .3s var(--tmg-ease);
}
.tmg-open-card__link:hover {
	background-color: var(--tmg-accent);
}

/* ---------------------------------------------------------
   記事詳細(投稿 / OPEN)
   ------------------------------------------------------- */
.tmg-article {
	padding: 1.5rem 1.25rem 0;
}
.tmg-article__header {
	max-width: 46rem;
	margin: 0 auto 2.25rem;
}
.tmg-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1.25rem;
}
.tmg-article__cat {
	font-size: .75rem;
	font-weight: 500;
	border: 1px solid var(--tmg-border);
	background-color: #fff;
	border-radius: 999px;
	padding: .1875rem .875rem;
	text-decoration: none;
	color: var(--tmg-black);
	transition: background-color .3s var(--tmg-ease);
}
a.tmg-article__cat:hover {
	background-color: var(--tmg-accent);
}
.tmg-article__cat--label {
	background-color: var(--tmg-black);
	border-color: var(--tmg-black);
	color: #fff;
}
.tmg-article__date {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: .8125rem;
	color: rgba(36, 35, 34, .55);
}
.tmg-article__title {
	font-size: clamp(1.625rem, 3.2vw, 2.375rem);
	font-weight: 700;
	line-height: 1.55;
	margin: 0;
}
.tmg-article__lead {
	margin: 1rem 0 0;
	color: rgba(36, 35, 34, .65);
	font-size: .9375rem;
}
.tmg-article__eyecatch {
	max-width: 62rem;
	margin: 0 auto 3.25rem;
	border-radius: var(--tmg-radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	box-shadow: 0 .5rem 1.75rem rgba(36, 35, 34, .1);
}
.tmg-article__eyecatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tmg-article__body {
	max-width: 46rem;
	margin: 0 auto;
}
.tmg-article__links {
	max-width: 46rem;
	margin: 2rem auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: .625rem;
}
.tmg-article__footer {
	max-width: 46rem;
	margin: 3.5rem auto 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.tmg-article__nav {
	display: flex;
	gap: 1.5rem;
}
.tmg-article__nav-link {
	font-size: .875rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--tmg-black);
	border-bottom: 1px solid currentColor;
	padding-bottom: .125rem;
	transition: opacity .3s var(--tmg-ease);
}
.tmg-article__nav-link:hover {
	opacity: .55;
}

/* 本文タイポグラフィ(投稿・企業・OPEN共通) */
.tmg-entry-content {
	font-size: 1rem;
	line-height: 2.05;
}
.tmg-entry-content > * + * {
	margin-top: 1.6em;
}
.tmg-entry-content h2 {
	font-size: 1.4375rem;
	font-weight: 700;
	line-height: 1.6;
	margin-top: 2.8em;
	padding-bottom: .55em;
	border-bottom: 1px solid var(--tmg-border);
}
.tmg-entry-content h3 {
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.6;
	margin-top: 2.4em;
}
.tmg-entry-content ul,
.tmg-entry-content ol {
	padding-left: 1.5em;
}
.tmg-entry-content li {
	margin: .5em 0;
}
.tmg-entry-content blockquote {
	border-left: 3px solid var(--tmg-accent);
	padding: .25em 0 .25em 1.25em;
	color: rgba(36, 35, 34, .7);
}
.tmg-entry-content img {
	border-radius: .875rem;
	height: auto;
}
.tmg-entry-content a {
	color: inherit;
	text-underline-offset: 3px;
}
.tmg-entry-content hr {
	border: none;
	border-top: 1px solid var(--tmg-border);
}
@media (max-width: 959px) {
	.tmg-article__eyecatch {
		border-radius: .875rem;
	}
}

/* 固定ページヘッダー */
.tmg-article__header--page {
	margin-top: 1rem;
}

/* ---------------------------------------------------------
   404ページ
   ------------------------------------------------------- */
.tmg-notfound {
	text-align: center;
	padding: 6rem 1.25rem 4rem;
}
.tmg-notfound__code {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: clamp(4rem, 10vw, 7rem);
	line-height: 1;
	margin: 0 0 1rem;
}
.tmg-notfound__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 .75rem;
}
.tmg-notfound__text {
	font-size: .9375rem;
	color: rgba(36, 35, 34, .65);
	margin: 0 0 2.5rem;
}

/* ---------------------------------------------------------
   検索フォーム
   ------------------------------------------------------- */
.tmg-searchform {
	display: flex;
	gap: .5rem;
	max-width: 30rem;
	margin: 1.5rem 0 0;
}
.tmg-searchform__input {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--tmg-border);
	border-radius: 999px;
	padding: .625rem 1.375rem;
	font-size: .9375rem;
	background-color: #fff;
}
.tmg-searchform__input:focus {
	outline: 2px solid var(--tmg-accent);
	border-color: transparent;
}
.tmg-searchform__submit {
	border: 1px solid var(--tmg-black);
	background-color: var(--tmg-black);
	color: #fff;
	border-radius: 999px;
	padding: .625rem 1.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .3s var(--tmg-ease);
}
.tmg-searchform__submit:hover {
	opacity: .75;
}

/* ---------------------------------------------------------
   企業詳細ページ
   ------------------------------------------------------- */
.tmg-meet-single__inner {
	max-width: 46rem;
	margin: 0 auto;
	padding: 0 1.25rem 4rem;
}
.tmg-meet-single__header {
	margin-bottom: 3rem;
}
.tmg-meet-single__image-wrap {
	border-radius: var(--tmg-radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 2rem;
	box-shadow: 0 .5rem 1.75rem rgba(36, 35, 34, .1);
}
.tmg-meet-single__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tmg-meet-single__title {
	font-size: 1.875rem;
	font-weight: 700;
	margin: 0 0 1rem;
	line-height: 1.5;
}
.tmg-meet-single__lead {
	margin-top: 1.25rem;
	font-size: 1rem;
	font-weight: 500;
}
.tmg-meet-single__content {
	font-size: .9375rem;
}
.tmg-back-link {
	text-align: center;
	margin-top: 3rem;
}

/* ---------------------------------------------------------
   インフォメーションバンド(for Everyone)
   ------------------------------------------------------- */
.tmg-info-band {
	background-color: #fbfaf7;
	border-radius: var(--tmg-radius);
	padding: 2.25rem 2.5rem;
	display: flex;
	align-items: center;
	gap: 2.5rem;
	box-shadow: 0 .375rem 1.25rem rgba(36, 35, 34, .05);
}
.tmg-info-band__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-shrink: 0;
}
.tmg-info-band__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background-color: var(--tmg-black);
	color: #fff;
	flex-shrink: 0;
}
.tmg-info-band__icon svg {
	width: 1.5rem;
	height: 1.5rem;
}
.tmg-info-band__en {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: 1.25rem;
	margin: 0;
	line-height: 1.3;
}
.tmg-info-band__jp {
	font-size: .75rem;
	margin: 0;
}
.tmg-info-band__text {
	font-size: .875rem;
	margin: 0;
	flex: 1;
}
@media (max-width: 959px) {
	.tmg-info-band {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
		padding: 1.75rem 1.5rem;
	}
}

/* ---------------------------------------------------------
   カスタムフッター(ぼかし写真背景)
   ------------------------------------------------------- */
.tmg-footer {
	position: relative;
	min-height: 88vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	margin-top: 5rem;
}
.tmg-footer__bg {
	position: absolute;
	inset: -2rem;
	background-image: linear-gradient(150deg, #7d8a90 0%, #5d554a 45%, #242322 100%);
	background-size: cover;
	background-position: center;
	filter: blur(14px);
	scale: 1.06;
}
.tmg-footer__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(36, 35, 34, .38);
}
.tmg-footer__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	align-items: center;
	gap: 3rem;
	padding: 5rem 5rem 3rem calc(var(--tmg-sidebar-w) + 4rem);
	flex: 1;
}
.tmg-footer__left {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	text-align: center;
}
.tmg-footer__logo {
	text-decoration: none;
	color: #fff;
}
.tmg-footer__logo-image {
	width: 10rem;
	height: auto;
}
.tmg-footer__logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.6;
}
.tmg-footer__menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tmg-footer__menu-item {
	border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.tmg-footer__menu-item:first-child {
	border-top: 1px solid rgba(255, 255, 255, .35);
}
.tmg-footer__menu-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.125rem .25rem;
	text-decoration: none;
	color: #fff;
	transition: opacity .3s var(--tmg-ease), padding-left .3s var(--tmg-ease);
}
.tmg-footer__menu-link:hover {
	opacity: .65;
	padding-left: .875rem;
}
.tmg-footer__menu-en {
	font-family: var(--tmg-font-en);
	font-weight: 600;
	font-size: clamp(1.625rem, 2.6vw, 2.25rem);
	letter-spacing: -.01em;
	line-height: 1.2;
}
.tmg-footer__menu-jp {
	font-size: .75rem;
	font-weight: 500;
}
.tmg-footer__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0 5rem 2rem calc(var(--tmg-sidebar-w) + 4rem);
	font-size: .75rem;
}
.tmg-footer__privacy {
	color: #fff;
	font-family: var(--tmg-font-en);
	font-weight: 600;
	text-decoration: none;
}
.tmg-footer__privacy:hover { opacity: .65; }
.tmg-footer__copyright {
	margin: 0;
	font-family: var(--tmg-font-en);
	font-weight: 600;
}
@media (max-width: 959px) {
	.tmg-footer__inner {
		grid-template-columns: 1fr;
		padding: 3.5rem 1.5rem 2rem;
		gap: 2.5rem;
	}
	.tmg-footer__bottom { padding: 0 1.5rem 1.5rem; }
}

/* ---------------------------------------------------------
   ページ遷移アニメーション
   - 退場: マスタード色のカーテンが下からせり上がって画面を覆う
   - 入場: 覆った状態から上へ抜けてページが現れる(CSSアニメーションで自動再生)
   - 上下の縁はヒーローと同じアーチ状のカーブ
   ------------------------------------------------------- */
.tmg-transition {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
	overflow: hidden;
}
.tmg-transition__panel {
	position: absolute;
	left: -4%;
	right: -4%;
	top: -8%;
	bottom: -8%;
	background-color: var(--tmg-transition-color, var(--tmg-mustard));
	border-radius: 50% / 3.5rem;
	translate: 0 110%;
}
/* 入場: サーバー出力時は覆った状態 → 自動で上へ抜ける */
.tmg-transition.is-enter .tmg-transition__panel {
	translate: 0 0;
	animation: tmg-panel-leave .7s var(--tmg-ease-inout) .15s forwards;
}
/* 退場: 下から覆う(JSがリンククリック時に付与) */
.tmg-transition.is-leave .tmg-transition__panel {
	animation: tmg-panel-cover .55s var(--tmg-ease-inout) forwards;
}
@keyframes tmg-panel-cover {
	from { translate: 0 110%; }
	to   { translate: 0 0; }
}
@keyframes tmg-panel-leave {
	from { translate: 0 0; }
	to   { translate: 0 -110%; }
}
/* 退場中はコンテンツをふわっと沈める */
body.tmg-leaving .tmg-main,
body.tmg-leaving .tmg-footer,
body.tmg-leaving .tmg-news-feed {
	opacity: 0;
	translate: 0 1.25rem;
	transition: opacity .45s var(--tmg-ease), translate .45s var(--tmg-ease);
}
/* 入場直後はコンテンツをふわっと浮かせる */
body.tmg-entering .tmg-main,
body.tmg-entering .tmg-footer {
	animation: tmg-content-in .8s var(--tmg-ease) .3s backwards;
}
@keyframes tmg-content-in {
	from { opacity: 0; translate: 0 1.25rem; }
	to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.tmg-transition__panel {
		animation: none !important;
		translate: 0 110% !important;
	}
	body.tmg-leaving .tmg-main,
	body.tmg-leaving .tmg-footer,
	body.tmg-leaving .tmg-news-feed,
	body.tmg-entering .tmg-main,
	body.tmg-entering .tmg-footer {
		animation: none !important;
		opacity: 1;
		translate: 0 0;
		transition: none;
	}
}

/* =========================================================
   細部調整: 固定要素の重なり・干渉対策
   ======================================================= */
/* SWELLの不要な固定要素(SPドロワー・検索モーダル)を無効化 */
body.tmg-chrome #sp_menu,
body.tmg-chrome #search_modal {
	display: none !important;
}
/* SWELLのページトップボタンをテーマデザインに合わせ、
   ニュースフィード(z:900)より下層に */
.p-fixBtnWrap {
	z-index: 880 !important;
}
.p-fixBtnWrap a,
.p-fixBtnWrap button {
	background-color: var(--tmg-black) !important;
	color: #fff !important;
	border-radius: 50%;
	box-shadow: 0 .25rem 1rem rgba(36, 35, 34, .25);
}

@media (min-width: 960px) {
	/* 低い画面高でもサイドバーの中身が切れないように */
	.tmg-sidebar {
		overflow-y: auto;
		scrollbar-width: none;
	}
	.tmg-sidebar::-webkit-scrollbar {
		display: none;
	}
	/* 管理バー表示時(ログイン中)はヒーロー高さも調整 */
	body:has(#wpadminbar) .tmg-hero {
		min-height: calc(100vh - 32px);
	}
}

@media (max-width: 959.98px) {
	/* ハンバーガーを上部バー(3.75rem)の内側に収める */
	.tmg-menu-btn {
		top: .25rem;
	}
	/* ヒーローは「画面高 - 上部バー」で計算(ページネーション見切れ防止) */
	.tmg-hero {
		min-height: calc(100vh - 3.75rem);
		min-height: calc(100dvh - 3.75rem);
	}
	/* 画像は残り高さに合わせて縮む(グリッド行からのはみ出し=テキスト重なり防止) */
	.tmg-hero__slide {
		grid-template-rows: minmax(0, 1fr) auto;
		gap: .75rem;
		padding: 3.75rem 1.25rem 1.25rem;
	}
	/* スライドを重ねず1枚ずつ表示し、高さを内容に合わせる
	   (重ねる方式だと画面の高さに画像が圧迫されて小さくなるため) */
	.tmg-hero__slides {
		flex: 0 0 auto;
	}
	.tmg-hero__slide {
		position: relative;
		display: none;
		opacity: 1;
		visibility: visible;
		transition: none;
	}
	.tmg-hero__slide.is-active {
		display: grid;
	}
	.tmg-hero__image-wrap {
		/* 幅いっぱいを使った横長カード。高さの制限は外す */
		width: min(86vw, 26rem);
		aspect-ratio: 4 / 3;
		height: auto;
		max-height: none;
		max-width: none;
		margin-inline: auto;
		align-self: center;
	}
	/* 画像の面積を確保するため見出し周りを少し引き締める */
	.tmg-hero__title {
		font-size: 1.3125rem;
		margin-bottom: .625rem;
	}
	.tmg-hero__date {
		margin-bottom: 1rem;
	}
	.tmg-hero__date-day {
		font-size: 2.125rem;
	}
	.tmg-hero__excerpt {
		margin-bottom: 1.25rem;
	}
	/* ログイン中: 管理バー(783px以上は32px)の分を避ける */
	body:has(#wpadminbar) .tmg-menu-btn {
		top: calc(32px + .25rem);
	}
	body:has(#wpadminbar) .tmg-sidebar {
		top: 32px;
	}
	body:has(#wpadminbar) .tmg-hero {
		min-height: calc(100vh - 3.75rem - 32px);
		min-height: calc(100dvh - 3.75rem - 32px);
	}
}
@media (max-width: 782.98px) {
	/* ログイン中: この幅では管理バーが46pxになる */
	body:has(#wpadminbar) .tmg-menu-btn {
		top: calc(46px + .25rem);
	}
	body:has(#wpadminbar) .tmg-sidebar {
		top: 46px;
	}
	body:has(#wpadminbar) .tmg-hero {
		min-height: calc(100vh - 3.75rem - 46px);
		min-height: calc(100dvh - 3.75rem - 46px);
	}
}

/* =========================================================
   協賛企業ロゴ(サイドバー / フッター)
   ======================================================= */
.tmg-sponsors {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	padding: 1.25rem .25rem;
	overflow-y: auto;
	scrollbar-width: none;
}
.tmg-sponsors::-webkit-scrollbar { display: none; }
/* 協賛枠があるときはメニューを自動余白で押し下げない */
.tmg-sidebar:has(.tmg-sponsors) .tmg-gnav {
	margin-top: 0;
}
.tmg-sponsors__label {
	font-family: var(--tmg-font-en);
	font-size: .5625rem;
	letter-spacing: .04em;
	color: inherit;
	opacity: .55;
	margin: 0;
	text-align: center;
}
.tmg-sponsors__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .875rem;
}
.tmg-sponsors__item a,
.tmg-sponsors__item span {
	display: block;
	transition: opacity .3s var(--tmg-ease);
}
.tmg-sponsors__item a:hover {
	opacity: .6;
}
.tmg-sponsors__image {
	/* サイドバー幅(6.5rem)いっぱいまで使って視認性を確保 */
	display: block;
	width: 100%;
	max-width: 5.75rem;
	height: auto;
	object-fit: contain;
	background-color: #fff;
	border-radius: .25rem;
	padding: .25rem;
	box-sizing: border-box;
}
@media (max-width: 959.98px) {
	.tmg-sponsors {
		display: none;
	}
}

/* フッター最下部の協賛企業欄(白帯・常時表示) */
.tmg-footer__sponsors {
	position: relative;
	z-index: 1;
	background-color: #fff;
	color: var(--tmg-black);
	padding: 1.5rem 2.5rem 1.5rem calc(var(--tmg-sidebar-w) + 4rem);
	display: flex;
	align-items: center;
	gap: 1.75rem;
	flex-wrap: wrap;
}
.tmg-footer__sponsors .tmg-sponsors__label {
	color: var(--tmg-black);
	opacity: .55;
	margin: 0;
	flex-shrink: 0;
	text-align: left;
}
.tmg-footer__sponsors-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.75rem;
}
.tmg-footer__sponsors-list .tmg-sponsors__image {
	max-width: 9rem;
}
.tmg-footer__sponsors-list a {
	display: block;
	transition: opacity .3s var(--tmg-ease);
}
.tmg-footer__sponsors-list a:hover {
	opacity: .65;
}
@media (max-width: 959.98px) {
	.tmg-footer__sponsors {
		padding: 1.25rem 1.5rem;
		justify-content: center;
		gap: 1rem;
	}
	.tmg-footer__sponsors .tmg-sponsors__label {
		width: 100%;
		text-align: center;
	}
	.tmg-footer__sponsors-list {
		justify-content: center;
		gap: 1.25rem;
	}
	.tmg-footer__sponsors-list .tmg-sponsors__image {
		max-width: 7rem;
	}
}

/* =========================================================
   メインビジュアルのロゴ
   ======================================================= */
.tmg-mv__logo {
	/* サイドバーとキャッチコピー(最大46rem)の間 = 左スペースの中央に置く */
	position: absolute;
	left: var(--tmg-sidebar-w);
	right: 46rem;
	top: 50%;
	translate: 0 -50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1.5rem;
}
.tmg-mv__logo img {
	width: min(100%, 18rem);
	height: auto;
	display: block;
}
@media (max-width: 1199.98px) {
	/* ロゴはキャッチコピーの上へ。縦積みにしつつ中央寄せは維持する */
	.tmg-mv {
		flex-direction: column;
		justify-content: center;
	}
	.tmg-mv__logo {
		position: static;
		translate: 0 0;
		width: min(40vw, 9rem);
		margin: 0 auto 1.25rem;
		padding: 0 1.5rem;
	}
	.tmg-mv__body {
		margin: 0 auto;
		padding-top: 0;
		padding-bottom: 0;
	}
}

/* 画像が無い記事カードのプレースホルダー */
.tmg-feel-card__image--noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--tmg-blue) 0%, var(--tmg-peach) 130%);
	opacity: .5;
}

/* ---------------------------------------------------------
   その他
   ------------------------------------------------------- */
.tmg-noposts {
	text-align: center;
	padding: 3rem 0;
}

/* 同ページでは SWELL のサイドバーウィジェットも非表示 + メインを全幅に */
body.tmg-chrome .l-content:has(> .tmg-main) #sidebar,
#body_wrap.tmg-chrome .l-content:has(> .tmg-main) #sidebar {
	display: none !important;
}
body.tmg-chrome .l-content:has(> .tmg-main) > .tmg-main,
#body_wrap.tmg-chrome .l-content:has(> .tmg-main) > .tmg-main {
	width: 100%;
	flex: 1 1 100%;
}
