/* ==========================================================================
   MPJ Youth – Lightning 子テーマ スタイル
   --------------------------------------------------------------------------
   1. 変数（色・フォント）
   2. ベース
   3. ヘッダー
   4. 共通パーツ（見出し・ボタン・アイコン・グリッド）
   5. トップページ各セクション
   6. ブログ・下層ページ
   7. フッター
   ========================================================================== */

/* 1. 変数 ----------------------------------------------------------------- */
:root {
	--mpj-green: #4f6b34;
	--mpj-green-dark: #2f4a2a;
	--mpj-green-light: #e5edd3;
	--mpj-green-pale: #eef3e2;
	--mpj-cream: #faf6ec;
	--mpj-paper: #fffdf8;
	--mpj-terracotta: #c46f3e;
	--mpj-gold: #e3a72f;
	--mpj-brown: #3f2e22;
	--mpj-text: #33291f;
	--mpj-muted: #64584b;
	--mpj-line: #e4dcc8;
	--mpj-shadow: 0 6px 20px rgba(63, 46, 34, .08);
	--mpj-radius: 8px;
	--mpj-font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--mpj-font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--mpj-font-hand: "Caveat", "Segoe Script", cursive;
	--mpj-section-y: clamp(48px, 7vw, 88px);
}

/* Lightning のキーカラーを MPJ グリーンに */
body.mpj-theme,
.editor-styles-wrapper {
	--vk-color-primary: var(--mpj-green);
	--vk-color-primary-dark: var(--mpj-green-dark);
	--vk-color-primary-vivid: #5e7d3e;
	--vk-color-text-body: var(--mpj-text);
	--vk-color-text-meta: var(--mpj-muted);
	--vk-color-border-hr: var(--mpj-line);
}

/* 2. ベース --------------------------------------------------------------- */
body.mpj-theme,
.editor-styles-wrapper {
	background-color: var(--mpj-cream);
	color: var(--mpj-text);
	font-family: var(--mpj-font-sans);
	font-feature-settings: "palt";
	letter-spacing: .02em;
}

body.mpj-theme {
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}

.mpj-theme a {
	color: var(--mpj-green);
}

.mpj-theme a:hover {
	color: var(--mpj-green-dark);
}

.mpj-theme :focus-visible {
	outline: 3px solid var(--mpj-gold);
	outline-offset: 3px;
}

.mpj-hand {
	font-family: var(--mpj-font-hand);
}

/* 3. ヘッダー ------------------------------------------------------------- */
.mpj-theme .site-header {
	background: rgba(250, 246, 236, .96);
	border-bottom: 1px solid var(--mpj-line);
	box-shadow: none;
}

.mpj-theme .site-header-logo a {
	color: var(--mpj-green-dark);
	text-decoration: none;
}

.mpj-theme .site-header-logo a span {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	font-family: var(--mpj-font-hand);
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .01em;
}

/* ロゴ画像（緑の丸の MPJ Youth ロゴ） */
.mpj-theme .site-header-logo img {
	display: block;
	width: auto;
	height: 58px;
	max-height: none;
}

/* ロゴ画像がないときは、文字ロゴの前に葉のマーク */
.mpj-theme .site-header-logo a span:not(:has(img))::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	background: url("../img/logo-mark.svg") center / contain no-repeat;
	flex: none;
}

@media (max-width: 991.98px) {
	.mpj-theme .site-header-logo img {
		height: 44px;
	}
}

.mpj-theme .global-nav-list > li > a {
	color: var(--mpj-text);
}

.mpj-theme .global-nav-list > li .global-nav-name {
	font-family: var(--mpj-font-serif);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .04em;
}

.mpj-theme .global-nav-list > li > a::after {
	background: var(--mpj-green) !important;
	height: 2px;
}

.mpj-theme .global-nav-list > li.current-menu-item > a,
.mpj-theme .global-nav-list > li > a:hover {
	color: var(--mpj-green-dark);
}

/* スマホメニュー */
.mpj-theme .vk-mobile-nav {
	background: var(--mpj-cream);
}

.mpj-theme .vk-mobile-nav-menu-btn {
	border-color: var(--mpj-line);
	background-color: var(--mpj-paper);
}

/* 4. 共通パーツ ----------------------------------------------------------- */

/* トップページは余白なし・全幅 */
.mpj-front .site-body,
.mpj-landing .site-body {
	padding-top: 0;
	padding-bottom: 0;
}

.mpj-front .main-section,
.mpj-front .entry,
.mpj-front .entry-body,
.mpj-landing .main-section,
.mpj-landing .entry,
.mpj-landing .entry-body {
	margin-top: 0;
	margin-bottom: 0;
}

.mpj-front .entry-footer,
.mpj-front .veu_socialSet,
.mpj-front .next-prev,
.mpj-landing .entry-footer,
.mpj-landing .veu_socialSet {
	display: none;
}

.mpj-section {
	padding-top: var(--mpj-section-y);
	padding-bottom: var(--mpj-section-y);
}

/*
 * セクションの中身の幅（WordPress / Lightning のバージョンや設定に関係なく、
 * 最大 1110px で中央寄せ・スマホでは左右 16px の余白）
 */
.mpj-section {
	box-sizing: border-box;
}

.mpj-section > :not(.alignfull) {
	box-sizing: border-box;
	width: auto;
	max-width: min(1110px, calc(100% - 32px));
	margin-right: auto !important;
	margin-left: auto !important;
}

/* 目次プラグイン（Table of Contents Plus / Easy Table of Contents など）の目次を、デザインしたページでは出さない */
.mpj-front :is(#toc_container, #ez-toc-container, .toc_container, .lwptoc),
.mpj-landing :is(#toc_container, #ez-toc-container, .toc_container, .lwptoc),
.mpj-section :is(#toc_container, #ez-toc-container, .toc_container, .lwptoc) {
	display: none !important;
}

.mpj-front .entry-body > .mpj-section,
.mpj-landing .entry-body > .mpj-section,
.entry-content > .mpj-section,
.is-root-container > .mpj-section {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* 見出し：Lightning の見出し装飾をリセット */
.mpj-theme .mpj-section :is(h2, h3),
.editor-styles-wrapper .mpj-section :is(h2, h3) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--mpj-text);
	font-family: var(--mpj-font-serif);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .05em;
	text-align: left;
	outline: 0;
	box-shadow: none;
}

.mpj-theme .mpj-section :is(h2, h3)::before,
.mpj-theme .mpj-section :is(h2, h3)::after,
.editor-styles-wrapper .mpj-section :is(h2, h3)::before,
.editor-styles-wrapper .mpj-section :is(h2, h3)::after {
	content: none;
	display: none;
}

.mpj-section h2 {
	font-size: clamp(22px, 2.6vw, 28px);
}

.mpj-section h3 {
	font-size: 17px;
}

.mpj-section p {
	margin: 0;
}

.mpj-section-head {
	margin-bottom: 32px;
}

.mpj-section-head > * + * {
	margin-top: 4px !important;
}

.mpj-section-head__sub {
	color: var(--mpj-muted);
	font-family: var(--mpj-font-serif);
	font-size: 15px;
}

.mpj-section-head--inline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 20px;
}

.mpj-section-head--inline > * + * {
	margin-top: 0 !important;
}

.mpj-section-head--inline .mpj-section-head__sub {
	font-size: 13px;
}

.mpj-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--mpj-green);
	font-family: var(--mpj-font-hand);
	font-size: 26px;
	line-height: 1;
}

.mpj-eyebrow::after {
	content: "";
	width: 56px;
	height: 1px;
	background: currentColor;
	opacity: .5;
}

/* ボタン */
.mpj-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	padding: .7em 1.6em;
	border: 1px solid var(--mpj-green-dark);
	border-radius: 999px;
	background: var(--mpj-green-dark);
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	text-decoration: none;
	transition: background-color .2s, transform .2s;
}

.mpj-btn .wp-block-button__link::after {
	content: "→";
	transition: transform .2s;
}

.mpj-btn .wp-block-button__link:hover {
	background: var(--mpj-green);
}

.mpj-btn .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

.mpj-btn--outline .wp-block-button__link {
	background: transparent;
	color: var(--mpj-green-dark) !important;
}

.mpj-btn--outline .wp-block-button__link:hover {
	background: var(--mpj-green-dark);
	color: #fff !important;
}

/* アイコン */
.mpj-icon {
	margin: 0 !important;
}

.mpj-icon img {
	display: block;
	height: auto;
}

.mpj-icon--solid,
.mpj-icon--circle {
	display: grid !important;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	flex: none;
}

.mpj-icon--solid {
	background: var(--mpj-green);
}

.mpj-icon--solid img {
	filter: brightness(0) invert(1);
}

.mpj-icon--circle {
	background: var(--mpj-green-light);
}

/* グリッド */
.mpj-grid {
	display: grid !important;
	gap: 20px;
}

.mpj-grid > * {
	margin: 0 !important;
}

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

.mpj-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mpj-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

@media (max-width: 599.98px) {
	.mpj-grid--2 {
		grid-template-columns: 1fr;
	}

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

/* 5. トップページ ---------------------------------------------------------- */

/* ① ヒーロー */
.mpj-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(24px, 4vw, 48px) !important;
	padding-bottom: 0 !important;
	background: var(--mpj-cream);
	isolation: isolate;
}

.mpj-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 52%;
	background: url("../img/hero-savanna.svg") center bottom / cover no-repeat;
	-webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
	mask-image: linear-gradient(to top, #000 55%, transparent);
	z-index: -2;
}

.mpj-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/hero-deco.svg") center / 100% 100% no-repeat;
	z-index: -1;
	pointer-events: none;
}

.mpj-hero__inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 24px;
	min-height: clamp(420px, 44vw, 560px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.mpj-hero__inner > * {
	margin: 0 !important;
}

.mpj-hero__text {
	align-self: start;
	padding-top: clamp(8px, 2vw, 24px);
}

.mpj-hero__catch {
	position: relative;
	display: inline-block;
	color: var(--mpj-brown);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.05 !important;
	transform: rotate(-6deg);
	transform-origin: left bottom;
}

.mpj-hero__catch::after {
	content: "✦ ✦";
	position: absolute;
	top: -.2em;
	right: -2.2em;
	color: var(--mpj-gold);
	font-family: var(--mpj-font-sans);
	font-size: .5em;
	letter-spacing: .1em;
	transform: rotate(-20deg);
}

.mpj-theme .mpj-section .mpj-hero__title,
.editor-styles-wrapper .mpj-section .mpj-hero__title {
	margin-top: 28px;
	font-size: clamp(34px, 4.6vw, 58px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .08em;
	text-shadow: 0 2px 12px rgba(250, 246, 236, .8);
}

.mpj-hero__lead {
	margin-top: 20px !important;
	color: var(--mpj-muted);
	font-size: 15px;
	text-shadow: 0 1px 8px rgba(250, 246, 236, .9);
}

/* 地図 */
.mpj-map {
	margin: 0;
	width: 100%;
	max-width: 540px;
	justify-self: end;
}

.mpj-map svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	filter: drop-shadow(0 6px 10px rgba(47, 74, 42, .18));
}

.mpj-map__country {
	fill: #7f9150;
	stroke: #f1ecd9;
	stroke-width: .8;
	stroke-linejoin: round;
	transition: fill .2s;
}

.mpj-map__country.is-visited {
	fill: #5c7637;
}

.mpj-map__country:hover {
	fill: #6b8443;
}

.mpj-map__flag {
	filter: drop-shadow(0 2px 2px rgba(47, 46, 34, .3));
}

.mpj-map__flag-edge {
	fill: none;
	stroke: #fffdf8;
	stroke-width: 1.4;
	stroke-linejoin: round;
}

.mpj-map__leader {
	stroke: var(--mpj-brown);
	stroke-width: .9;
	stroke-linecap: round;
}

.mpj-map__leader-dot {
	fill: var(--mpj-brown);
}

.mpj-map__label {
	fill: var(--mpj-brown);
	font-family: var(--mpj-font-hand);
	font-size: 17px;
	font-weight: 600;
	paint-order: stroke;
	stroke: rgba(250, 246, 236, .85);
	stroke-width: 3px;
}

@media (max-width: 781.98px) {
	.mpj-hero__inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.mpj-hero__text {
		text-align: center;
	}

	.mpj-theme .mpj-section .mpj-hero__title,
	.editor-styles-wrapper .mpj-section .mpj-hero__title {
		margin-top: 18px;
		text-align: center;
	}

	.mpj-hero__catch {
		transform: rotate(-4deg);
		transform-origin: center;
	}

	.mpj-hero__lead {
		font-size: 14px;
	}

	.mpj-map {
		justify-self: center;
		max-width: 420px;
	}

	.mpj-map__label {
		font-size: 22px;
	}

	.mpj-hero::after {
		background-size: 220% 100%;
		background-position: center;
	}
}

/* ② クイックリンク */
.mpj-quicklinks {
	padding-top: 36px !important;
	padding-bottom: 36px !important;
	background: var(--mpj-green-light);
}

.mpj-quicklinks__inner {
	display: grid !important;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	align-items: center;
}

.mpj-quicklinks__inner > * {
	margin: 0 !important;
}

.mpj-theme .mpj-section .mpj-quicklinks__title,
.editor-styles-wrapper .mpj-section .mpj-quicklinks__title {
	font-family: var(--mpj-font-serif);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: .03em;
}

.mpj-quicklinks__head p {
	margin-top: 4px !important;
	color: var(--mpj-muted);
	font-size: 12px;
	letter-spacing: .12em;
}

.mpj-ql {
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 4px 12px;
	border-left: 1px solid rgba(79, 107, 52, .25);
	text-align: center;
	transition: transform .2s;
}

.mpj-ql > * {
	margin: 0 !important;
}

.mpj-ql:hover {
	transform: translateY(-3px);
}

.mpj-ql .mpj-icon--solid {
	width: 54px;
	height: 54px;
	transition: background-color .2s;
}

.mpj-ql:hover .mpj-icon--solid {
	background: var(--mpj-green-dark);
}

.mpj-ql__label {
	line-height: 1.4;
}

.mpj-ql__label a {
	color: var(--mpj-text) !important;
	font-family: var(--mpj-font-serif);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

/* カード全体をクリックできるように */
.mpj-theme .mpj-ql__label a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.mpj-ql__label span {
	color: var(--mpj-muted);
	font-size: 11px;
	letter-spacing: .08em;
}

@media (max-width: 781.98px) {
	.mpj-quicklinks__inner {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 20px;
	}

	.mpj-quicklinks__head {
		grid-column: 1 / -1;
		text-align: center;
	}

	.mpj-ql {
		padding: 0 4px;
	}

	.mpj-ql:nth-child(2) {
		border-left: 0;
	}

	.mpj-ql__label a {
		font-size: 13px;
	}
}

/* ③ コンセプト */
.mpj-concept {
	background: var(--mpj-cream);
}

.mpj-concept__inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .9fr);
	align-items: center;
	gap: clamp(24px, 3vw, 40px);
}

.mpj-concept__inner > * {
	margin: 0 !important;
}

.mpj-concept__text > * + * {
	margin-top: 18px !important;
}

.mpj-concept__text h2 {
	margin-top: 14px !important;
}

.mpj-concept__text p:not(.mpj-eyebrow) {
	font-size: 14.5px;
	line-height: 2.05;
}

.mpj-concept__text .wp-block-buttons {
	margin-top: 26px !important;
}

.mpj-photo-frame {
	position: relative;
	margin: 0;
	padding: 8px;
	background: #fff;
	box-shadow: var(--mpj-shadow);
	transform: rotate(-3deg);
}

.mpj-photo-frame img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mpj-photo-frame::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 90px;
	height: 24px;
	background: rgba(227, 167, 47, .55);
	transform: translateX(-50%) rotate(2deg);
}

.mpj-message {
	position: relative;
	padding: 28px 28px 24px;
	border-radius: var(--mpj-radius);
	background: var(--mpj-green-light);
}

.mpj-message::before {
	content: "";
	position: absolute;
	top: 42px;
	left: -12px;
	border-width: 10px 12px 10px 0;
	border-style: solid;
	border-color: transparent var(--mpj-green-light) transparent transparent;
}

.mpj-message > * + * {
	margin-top: 14px !important;
}

.mpj-message p {
	font-size: 13.5px;
	line-height: 2;
}

.mpj-message .mpj-message__name {
	color: var(--mpj-muted);
	font-family: var(--mpj-font-serif);
	font-size: 13px;
	text-align: right;
}

@media (max-width: 991.98px) {
	.mpj-concept__inner {
		grid-template-columns: 1fr 1fr;
	}

	.mpj-concept__text {
		grid-column: 1 / -1;
	}
}

@media (max-width: 599.98px) {
	.mpj-concept__inner {
		grid-template-columns: 1fr;
	}

	.mpj-photo-frame {
		width: 86%;
		margin-inline: auto !important;
	}

	.mpj-message::before {
		top: -12px;
		left: 50%;
		border-width: 0 10px 12px;
		border-color: transparent transparent var(--mpj-green-light);
		transform: translateX(-50%);
	}
}

/* ④ 数字で見る */
.mpj-numbers {
	padding-top: 44px !important;
	padding-bottom: 44px !important;
	background: var(--mpj-green-light);
}

.mpj-numbers__inner {
	display: grid !important;
	grid-template-columns: 1.3fr repeat(4, 1fr);
	align-items: center;
}

.mpj-numbers__inner > * {
	margin: 0 !important;
}

.mpj-theme .mpj-section .mpj-numbers__title,
.editor-styles-wrapper .mpj-section .mpj-numbers__title {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
}

.mpj-numbers__title span {
	display: block;
	font-size: 17px;
	letter-spacing: .1em;
}

.mpj-stat {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border-left: 1px solid rgba(79, 107, 52, .25);
	text-align: center;
}

.mpj-stat > * {
	margin: 0 !important;
}

.mpj-stat__label {
	color: var(--mpj-muted);
	font-size: 12px;
	letter-spacing: .1em;
}

.mpj-stat__value {
	font-family: var(--mpj-font-serif);
	font-size: 14px;
	line-height: 1.3;
}

.mpj-stat__value strong {
	margin-right: 2px;
	color: var(--mpj-text);
	font-size: 36px;
	font-weight: 600;
	letter-spacing: .02em;
}

.mpj-stat__value--text {
	font-size: 15px;
	line-height: 1.6;
}

@media (max-width: 781.98px) {
	.mpj-numbers__inner {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 28px;
	}

	.mpj-numbers__title {
		grid-column: 1 / -1;
		text-align: center !important;
	}

	.mpj-numbers__title span {
		display: inline;
		margin-right: .5em;
	}

	.mpj-stat:nth-child(even) {
		border-left: 0;
	}
}

/* ⑤ 魅力 */
.mpj-features {
	background: var(--mpj-cream);
}

.mpj-feature {
	display: grid !important;
	grid-template-columns: 64px 1fr;
	grid-template-rows: auto 1fr;
	column-gap: 22px;
	row-gap: 6px;
	align-items: start;
	padding: 26px 28px;
	border: 1px solid var(--mpj-line);
	border-radius: 6px;
	background: var(--mpj-paper);
	box-shadow: 0 1px 0 rgba(63, 46, 34, .03);
}

.mpj-feature > * {
	margin: 0 !important;
}

.mpj-feature .mpj-icon {
	grid-row: span 2;
	width: 64px;
	height: 64px;
}

.mpj-feature p {
	color: var(--mpj-muted);
	font-size: 13.5px;
	line-height: 1.9;
}

@media (max-width: 599.98px) {
	.mpj-feature {
		grid-template-columns: 52px 1fr;
		column-gap: 16px;
		padding: 20px;
	}

	.mpj-feature .mpj-icon {
		width: 52px;
		height: 52px;
	}
}

/* ⑥ What We Do（スライダー） */
.mpj-activities {
	background: var(--mpj-paper);
}

.mpj-slider-wrap {
	position: relative;
}

.mpj-slider {
	display: flex !important;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 2px 8px;
	-webkit-overflow-scrolling: touch;
}

.mpj-slider::-webkit-scrollbar {
	display: none;
}

.mpj-slider > * {
	margin: 0 !important;
}

.mpj-card {
	flex: 0 0 calc((100% - 60px) / 4);
	scroll-snap-align: start;
	overflow: hidden;
	border: 1px solid var(--mpj-line);
	border-radius: 6px;
	background: #fff;
}

.mpj-card > * {
	margin: 0 !important;
}

.mpj-card .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mpj-card h3 {
	padding: 16px 18px 0 !important;
	font-size: 16px !important;
}

.mpj-card p {
	padding: 6px 18px 18px;
	color: var(--mpj-muted);
	font-size: 12.5px;
	line-height: 1.85;
}

.mpj-slider__btn {
	position: absolute;
	top: 38%;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--mpj-line);
	border-radius: 50%;
	background: var(--mpj-paper);
	color: var(--mpj-green-dark);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--mpj-shadow);
	transition: opacity .2s, background-color .2s;
	z-index: 2;
}

.mpj-slider__btn:hover {
	background: var(--mpj-green-light);
}

.mpj-slider__btn[disabled] {
	opacity: 0;
	pointer-events: none;
}

.mpj-slider__btn--prev {
	left: -20px;
}

.mpj-slider__btn--next {
	right: -20px;
}

.mpj-slider__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.mpj-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d6d0bf;
	cursor: pointer;
}

.mpj-slider__dot[aria-current="true"] {
	background: var(--mpj-green);
}

@media (max-width: 991.98px) {
	.mpj-card {
		flex-basis: calc((100% - 40px) / 3);
	}
}

@media (max-width: 781.98px) {
	.mpj-card {
		flex-basis: 72%;
	}

	.mpj-slider__btn {
		display: none;
	}
}

/* ⑦ 一年のスケジュール */
.mpj-schedule {
	background: var(--mpj-cream);
}

.mpj-season {
	position: relative;
	padding: 0 0 18px;
	border: 1px solid var(--mpj-line);
	border-radius: 6px;
	background: #fff;
}

.mpj-season > * {
	margin: 0 !important;
}

.mpj-season .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 6px 6px 0 0;
}

.mpj-season__tag {
	position: absolute;
	top: -12px;
	left: -6px;
	z-index: 1;
	padding: 3px 18px;
	border-radius: 999px;
	background: var(--mpj-season-color, var(--mpj-green));
	color: #fff;
	font-family: var(--mpj-font-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.mpj-season--spring { --mpj-season-color: #6f8f3f; }
.mpj-season--summer { --mpj-season-color: #d99124; }
.mpj-season--autumn { --mpj-season-color: #b35f35; }
.mpj-season--winter { --mpj-season-color: #4f86a0; }

.mpj-season .wp-block-list {
	margin: 14px 18px 0 !important;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	line-height: 1.7;
}

.mpj-season .wp-block-list li {
	position: relative;
	padding-left: 1em;
	margin: 0 0 4px;
	border: 0;
}

.mpj-season .wp-block-list li::before {
	content: "・";
	position: absolute;
	left: -.15em;
	color: var(--mpj-season-color);
	font-weight: 700;
}

@media (max-width: 991.98px) {
	.mpj-schedule .mpj-grid--4 {
		row-gap: 32px;
	}
}

/* ⑧ 部局のしくみ */
.mpj-departments {
	background: var(--mpj-cream);
	padding-top: 0 !important;
}

.mpj-depts {
	gap: 0;
}

.mpj-dept {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 4px 8px;
	border-left: 1px solid var(--mpj-line);
	text-align: center;
}

.mpj-dept:first-child {
	border-left: 0;
}

.mpj-dept > * {
	margin: 0 !important;
}

.mpj-dept .mpj-icon {
	margin-bottom: 4px !important;
}

.mpj-theme .mpj-section .mpj-dept h3,
.editor-styles-wrapper .mpj-section .mpj-dept h3 {
	font-size: 16px;
	letter-spacing: .2em;
	text-align: center;
}

.mpj-dept p {
	color: var(--mpj-muted);
	font-size: 11.5px;
}

@media (max-width: 991.98px) {
	.mpj-depts {
		row-gap: 28px;
	}

	.mpj-dept {
		border-left: 0;
	}
}

/* ⑨ 最新記事 */
.mpj-news {
	background: var(--mpj-paper);
}

.mpj-section ul.mpj-latest.wp-block-latest-posts {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
}

.mpj-section ul.mpj-latest.wp-block-latest-posts li {
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 18px;
	border: 1px solid var(--mpj-line);
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.mpj-latest .wp-block-latest-posts__featured-image {
	order: -1;
	margin: 0 0 14px !important;
}

.mpj-latest .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.mpj-latest .wp-block-latest-posts__post-title {
	padding: 0 18px;
	color: var(--mpj-text);
	font-family: var(--mpj-font-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
}

.mpj-latest .wp-block-latest-posts__post-title:hover {
	color: var(--mpj-green);
}

.mpj-latest .wp-block-latest-posts__post-date {
	order: -1;
	padding: 0 18px 4px;
	color: var(--mpj-muted);
	font-size: 12px;
	letter-spacing: .08em;
}

.mpj-latest .wp-block-latest-posts__featured-image + .wp-block-latest-posts__post-title {
	order: 0;
}

.mpj-news__more {
	justify-content: center;
	margin-top: 32px !important;
}

@media (max-width: 781.98px) {
	.mpj-section ul.mpj-latest.wp-block-latest-posts {
		grid-template-columns: 1fr;
	}
}

/* ⑩ 研修報告書 */
.mpj-report {
	padding-top: 52px !important;
	padding-bottom: 52px !important;
	background: #e9dfc3 url("../img/report-baobab.svg") center bottom / cover no-repeat;
}

.mpj-report__inner {
	display: flex !important;
	align-items: center;
	gap: 22px;
	max-width: 900px !important;
	margin-inline: auto !important;
}

.mpj-report__inner > * {
	margin: 0 !important;
}

.mpj-report__icon {
	display: grid !important;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 253, 248, .85);
	flex: none;
}

.mpj-report__text {
	flex: 1;
}

.mpj-theme .mpj-section .mpj-report__text h2,
.editor-styles-wrapper .mpj-section .mpj-report__text h2 {
	font-size: clamp(19px, 2.2vw, 22px);
}

.mpj-report__text p {
	margin-top: 6px !important;
	font-size: 14px;
}

@media (max-width: 599.98px) {
	.mpj-report__inner {
		flex-direction: column;
		text-align: center;
	}

	.mpj-theme .mpj-section .mpj-report__text h2 {
		text-align: center;
	}
}

/* 6. ブログ・下層ページ ---------------------------------------------------- */
.mpj-theme .page-header {
	background: var(--mpj-green-light) url("../img/hero-deco.svg") center / 100% 100% no-repeat;
	color: var(--mpj-text);
}

.mpj-theme .page-header-title {
	color: var(--mpj-text);
	font-family: var(--mpj-font-serif);
	font-weight: 700;
	letter-spacing: .08em;
}

.mpj-theme .breadcrumb {
	background: transparent;
	border-bottom: 1px solid var(--mpj-line);
	font-size: 12px;
}

.mpj-theme .entry-title {
	font-family: var(--mpj-font-serif);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .04em;
}

.mpj-theme:not(.mpj-front):not(.mpj-landing) .entry-body h2 {
	margin-top: 2.4em;
	padding: .55em .9em;
	border: 0;
	border-left: 4px solid var(--mpj-green);
	border-radius: 0 4px 4px 0;
	background: var(--mpj-green-pale);
	color: var(--mpj-text);
	font-family: var(--mpj-font-serif);
	font-size: 1.35rem;
	font-weight: 700;
}

.mpj-theme:not(.mpj-front):not(.mpj-landing) .entry-body h2::before,
.mpj-theme:not(.mpj-front):not(.mpj-landing) .entry-body h2::after {
	content: none;
}

.mpj-theme:not(.mpj-front):not(.mpj-landing) .entry-body h3 {
	padding: 0 0 .35em;
	border: 0;
	border-bottom: 2px dotted var(--mpj-green);
	background: none;
	font-family: var(--mpj-font-serif);
	font-weight: 700;
}

.mpj-theme:not(.mpj-front):not(.mpj-landing) .entry-body h3::after {
	content: none;
}

.mpj-lead {
	padding: 1.1em 1.3em;
	border-radius: var(--mpj-radius);
	background: var(--mpj-paper);
	border: 1px solid var(--mpj-line);
	font-size: 1.02em;
	line-height: 1.95;
}

.mpj-table th {
	width: 7em;
	background: var(--mpj-green-pale);
	font-weight: 500;
	white-space: nowrap;
}

.mpj-table :is(th, td) {
	border-color: var(--mpj-line) !important;
}

.mpj-theme .entry-body .wp-block-image img {
	border-radius: 6px;
}

.mpj-theme .wp-block-quote {
	border-left-color: var(--mpj-gold);
	background: var(--mpj-paper);
}

/* 記事一覧カード */
.mpj-theme .vk_post {
	border-color: var(--mpj-line);
	background: #fff;
}

.mpj-theme .vk_post_title,
.mpj-theme .vk_post_title a {
	color: var(--mpj-text);
	font-family: var(--mpj-font-serif);
	font-weight: 700;
}

/* サイドバー */
.mpj-theme .sub-section .sub-section-title,
.mpj-theme .sub-section .widget-title {
	border-bottom-color: var(--mpj-green);
	font-family: var(--mpj-font-serif);
}

/* ページトップへ戻るボタン */
.mpj-theme .page_top_btn {
	background-color: var(--mpj-green-dark);
	box-shadow: none;
}


/* 固定ページ（通常の本文）：読みやすい幅に */
.mpj-theme.page:not(.mpj-front):not(.mpj-landing) .entry-body {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

/* 下層ページ（パターンで作ったページ）は、パンくずの下にすぐセクションが続く */
.mpj-landing .breadcrumb {
	margin-bottom: 0;
}

/* カテゴリー・アーカイブの見出し */
.mpj-theme .archive-header-title {
	font-family: var(--mpj-font-serif);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 700;
	letter-spacing: .06em;
}

/* ブログ一覧：カテゴリーの絞り込み */
.mpj-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
}

.mpj-theme .mpj-chip {
	padding: 6px 16px;
	border: 1px solid var(--mpj-line);
	border-radius: 999px;
	background: var(--mpj-paper);
	color: var(--mpj-text);
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}

.mpj-theme .mpj-chip:hover,
.mpj-theme .mpj-chip.is-current {
	border-color: var(--mpj-green);
	background: var(--mpj-green);
	color: #fff;
}

/* ブログ一覧：カード */
.mpj-theme .vk_posts-mainSection .vk_post.card {
	overflow: hidden;
	border: 1px solid var(--mpj-line);
	border-radius: var(--mpj-radius);
	box-shadow: var(--mpj-shadow);
	transition: transform .2s, box-shadow .2s;
}

.mpj-theme .vk_posts-mainSection .vk_post.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 26px rgba(63, 46, 34, .12);
}

.mpj-theme .vk_posts-mainSection .vk_post_imgOuter {
	aspect-ratio: 3 / 2;
	background-color: var(--mpj-green-pale);
	background-size: cover;
	background-position: center;
}

.mpj-theme .vk_posts-mainSection .vk_post_imgOuter_singleTermLabel {
	background-color: var(--mpj-green) !important;
	font-size: 11px;
}

.mpj-theme .vk_posts-mainSection .vk_post_title {
	font-size: 15px;
	line-height: 1.6;
}

.mpj-theme .vk_posts-mainSection .vk_post_date {
	color: var(--mpj-muted);
	font-size: 12px;
}

.mpj-theme .vk_posts-mainSection .vk_post_title_new {
	background: var(--mpj-terracotta);
	color: #fff;
	border-radius: 3px;
	padding: 1px 6px;
	font-family: var(--mpj-font-sans);
	font-size: 10px;
	vertical-align: middle;
}


.mpj-section .mpj-numbers__note {
	margin-top: 22px;
	color: var(--mpj-muted);
	font-size: 12.5px;
	text-align: center;
}

/* お知らせ */
.mpj-notices {
	padding-top: clamp(32px, 4vw, 48px) !important;
	padding-bottom: clamp(32px, 4vw, 48px) !important;
	background: var(--mpj-paper);
}

.mpj-notices__inner {
	display: grid !important;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.mpj-notices__inner > * {
	margin: 0 !important;
}

.mpj-theme .mpj-section .mpj-notices__head h2 {
	font-size: clamp(20px, 2.2vw, 24px);
}

.mpj-section .mpj-notices__en {
	color: var(--mpj-terracotta);
	font-size: 20px;
	line-height: 1.2;
}

.mpj-notices__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--mpj-line);
	list-style: none;
}

.mpj-notices__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 16px;
	margin: 0;
	padding: 14px 4px;
	border-bottom: 1px solid var(--mpj-line);
	font-size: 14.5px;
	line-height: 1.7;
}

.mpj-notices__list time {
	flex: none;
	color: var(--mpj-muted);
	font-size: 13px;
	letter-spacing: .04em;
}

.mpj-theme .mpj-notices__list a {
	color: var(--mpj-text);
	text-decoration: none;
}

.mpj-theme .mpj-notices__list a:hover {
	color: var(--mpj-green);
	text-decoration: underline;
}

.mpj-notices__new {
	flex: none;
	padding: 1px 8px;
	border-radius: 3px;
	background: var(--mpj-terracotta);
	color: #fff;
	font-size: 10.5px;
	letter-spacing: .06em;
}

.mpj-section .mpj-notices__more {
	margin-top: 12px;
	text-align: right;
	font-size: 13px;
}

.mpj-theme .mpj-notices__more a {
	color: var(--mpj-green-dark);
}

.mpj-section .mpj-notices__empty {
	color: var(--mpj-muted);
	font-size: 14px;
}

@media (max-width: 781.98px) {
	.mpj-notices__inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.mpj-notices__head {
		display: flex !important;
		align-items: baseline;
		gap: 12px;
	}
}

/* Instagram */
.mpj-insta {
	background: var(--mpj-cream);
}

.mpj-insta .mpj-insta__feed {
	margin: 8px 0 28px !important;
}

.mpj-insta #sb_instagram {
	padding: 0 !important;
}

.mpj-insta .mpj-insta__notice {
	margin: 8px 0 24px;
	padding: 14px 18px;
	border: 1px dashed var(--mpj-line);
	border-radius: var(--mpj-radius);
	color: var(--mpj-muted);
	font-size: 13px;
}

/* 下層ページのパーツ（patterns/page-*.php） */
.mpj-activities-detail,
.mpj-reports,
.mpj-archives,
.mpj-contact {
	background: var(--mpj-paper);
}

.mpj-departments-detail {
	background: var(--mpj-cream);
}

.mpj-section .mpj-page-lead {
	box-sizing: border-box;
	margin-top: 18px !important;
	margin-bottom: 36px !important;
	padding-right: max(0px, calc(100% - 780px));
	color: var(--mpj-text);
	font-size: 15px;
	line-height: 2;
}

/* 写真＋文章の横並び（交互に左右が入れ替わる） */
.mpj-row {
	display: grid !important;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: clamp(20px, 4vw, 48px);
	margin-top: 0 !important;
	margin-bottom: clamp(32px, 5vw, 56px) !important;
}

.mpj-row:nth-child(even of .mpj-row) .mpj-row__img {
	order: 2;
}

.mpj-row__img {
	margin: 0 !important;
}

.mpj-row__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--mpj-radius);
	box-shadow: var(--mpj-shadow);
}

.mpj-row__text > * + * {
	margin-top: 12px !important;
}

.mpj-theme .mpj-section .mpj-row__text h3 {
	padding-bottom: 8px;
	border-bottom: 2px solid var(--mpj-green-light);
	font-size: 20px;
}

.mpj-row__text p {
	font-size: 14.5px;
	line-height: 2;
}

.mpj-row__text .wp-block-buttons {
	margin-top: 20px !important;
}

/* 研修の流れ */
.mpj-section .mpj-timeline {
	margin: 4px 0 0 !important;
	padding: 14px 18px;
	border-radius: var(--mpj-radius);
	background: var(--mpj-green-pale);
	list-style: none;
	font-size: 13.5px;
}

.mpj-section .mpj-timeline li {
	position: relative;
	padding-left: 18px;
	line-height: 1.9;
}

.mpj-section .mpj-timeline li::before {
	content: "";
	position: absolute;
	top: .75em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mpj-green);
}

.mpj-section .mpj-timeline strong {
	display: inline-block;
	min-width: 5.5em;
	color: var(--mpj-green-dark);
}

/* 研修の心得 */
.mpj-section .mpj-quote {
	padding: 14px 18px;
	border-left: 4px solid var(--mpj-gold);
	background: var(--mpj-paper);
	font-family: var(--mpj-font-serif);
	font-size: 14px;
	line-height: 2;
}

.mpj-section .mpj-note {
	margin-top: 24px !important;
	color: var(--mpj-muted);
	font-size: 13.5px;
}

/* 詳しい説明つきのカード（About・部局） */
.mpj-departments-detail .mpj-feature p {
	color: var(--mpj-text);
	font-size: 14px;
}

.mpj-section .mpj-closing {
	margin: 40px 0 20px;
	font-family: var(--mpj-font-serif);
	font-size: clamp(16px, 2vw, 19px);
	font-weight: 700;
}

/* 研修報告書の表 */
.mpj-theme .mpj-report-table {
	margin: 0;
}

.mpj-theme .mpj-report-table table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: var(--mpj-radius);
	background: #fff;
	box-shadow: var(--mpj-shadow);
	font-size: 14px;
}

.mpj-theme .mpj-report-table :is(th, td) {
	padding: 14px 18px;
	border: 0;
	border-bottom: 1px solid var(--mpj-line);
	text-align: left;
	vertical-align: middle;
}

.mpj-theme .mpj-report-table thead th {
	background: var(--mpj-green);
	color: #fff;
	font-weight: 500;
	letter-spacing: .08em;
}

.mpj-theme .mpj-report-table tbody tr:nth-child(even) {
	background: var(--mpj-green-pale);
}

.mpj-theme .mpj-report-table td:first-child {
	width: 7em;
	font-weight: 700;
	white-space: nowrap;
}

.mpj-theme .mpj-report-table td:nth-child(2) {
	width: 15em;
}

.mpj-theme .mpj-report-table td a {
	display: inline-block;
	margin: 2px 10px 2px 0;
	padding: 3px 12px;
	border: 1px solid var(--mpj-green);
	border-radius: 999px;
	color: var(--mpj-green-dark);
	font-size: 12.5px;
	line-height: 1.6;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.mpj-theme .mpj-report-table td a:hover {
	background: var(--mpj-green);
	color: #fff;
}

.mpj-theme .mpj-section .mpj-subhead {
	margin: 48px 0 14px;
	padding-left: 12px;
	border-left: 4px solid var(--mpj-green);
	font-size: 19px;
}

/* リンクカード（Archives・Contact） */
.mpj-feature.mpj-linkcard {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
}

.mpj-feature.mpj-linkcard .wp-block-buttons {
	margin-top: auto !important;
	padding-top: 8px;
}

.mpj-section .mpj-linkcard__era {
	color: var(--mpj-terracotta);
	font-family: var(--mpj-font-hand);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

/* お問い合わせフォーム（Contact Form 7） */
.mpj-form {
	padding: clamp(20px, 4vw, 36px);
	border: 1px solid var(--mpj-line);
	border-radius: var(--mpj-radius);
	background: #fff;
}

.mpj-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--mpj-line);
	border-radius: 4px;
	background: var(--mpj-paper);
}

.mpj-form input[type="submit"] {
	padding: 10px 40px;
	border: 0;
	border-radius: 999px;
	background: var(--mpj-green-dark);
	color: #fff;
	cursor: pointer;
}

@media (max-width: 781.98px) {
	.mpj-row {
		grid-template-columns: 1fr;
	}

	.mpj-row:nth-child(even of .mpj-row) .mpj-row__img {
		order: 0;
	}

	.mpj-theme .mpj-report-table :is(th, td) {
		padding: 10px 10px;
	}

	.mpj-theme .mpj-report-table td:nth-child(2) {
		width: auto;
	}

	.mpj-theme .mpj-report-table thead {
		display: none;
	}

	.mpj-theme .mpj-report-table tr {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 12px;
	}

	.mpj-theme .mpj-report-table td {
		border-bottom: 0;
	}

	.mpj-theme .mpj-report-table td:nth-child(3) {
		grid-column: 1 / -1;
		padding-top: 0;
		border-bottom: 1px solid var(--mpj-line);
	}
}

/* 7. フッター ------------------------------------------------------------- */
.mpj-theme .mpj-footer {
	border-top: 0;
	background: var(--mpj-brown);
	color: #efe7d6;
}

.mpj-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-top: 40px;
	padding-bottom: 28px;
}

.mpj-theme .mpj-footer__logo {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: .35em;
	color: #fff;
	font-family: var(--mpj-font-hand);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.mpj-footer__logo img {
	display: block;
	width: auto;
	height: 80px;
}

.mpj-footer__brand {
	min-width: 190px;
}

.mpj-footer__tagline {
	white-space: nowrap;
	margin: 10px 0 0;
	font-size: 12.5px;
	letter-spacing: .12em;
	opacity: .85;
}

.mpj-footer__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mpj-footer__menu li {
	margin: 0;
	padding: 0 16px;
	border-left: 1px solid rgba(239, 231, 214, .35);
	line-height: 1;
}

.mpj-footer__menu li:first-child {
	border-left: 0;
}

.mpj-theme .mpj-footer__menu a {
	color: #efe7d6;
	font-size: 13px;
	text-decoration: none;
}

.mpj-theme .mpj-footer__menu a:hover {
	color: #fff;
	text-decoration: underline;
}

.mpj-footer__sns {
	display: flex;
	justify-content: flex-end;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mpj-theme .mpj-footer__sns a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #efe7d6;
	transition: background-color .2s;
}

.mpj-theme .mpj-footer__sns a:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.mpj-footer__sns svg {
	width: 22px;
	height: 22px;
}

.mpj-theme .mpj-footer__copy {
	padding-top: 18px;
	padding-bottom: 22px;
	border-top: 1px solid rgba(239, 231, 214, .15);
	text-align: center;
}

.mpj-footer__copy p {
	margin: 0;
	color: rgba(239, 231, 214, .7);
	font-size: 11.5px;
	letter-spacing: .06em;
}

@media (max-width: 781.98px) {
	.mpj-footer__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.mpj-footer__sns {
		justify-content: center;
	}
}

/* 動きを減らす設定のユーザーにはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
	.mpj-theme *,
	.mpj-theme *::before,
	.mpj-theme *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
