/* =========================================================
   Mofli Site Shell
   STEP1.11-E-1
   ========================================================= */

:root {
	--mofli-shell-beige: #f8f1e7;
	--mofli-shell-beige-soft: #fcf8f2;
	--mofli-shell-coral: #ef8175;
	--mofli-shell-coral-dark: #d96960;
	--mofli-shell-text: #4a403a;
	--mofli-shell-muted: #8a7b72;
	--mofli-shell-muted-strong: #6f625b;
	--mofli-shell-focus: #9b3f37;
	--mofli-shell-border: rgba(120, 95, 75, 0.12);
}


.mofli-home-template {
	margin: 0;
	color: var(--mofli-shell-text);
	background: #fff;
}


.mofli-home-template *,
.mofli-home-template *::before,
.mofli-home-template *::after {
	box-sizing: border-box;
}


/*
 * Lower-page shared header / footer use the same border-box sizing as home.
 * Without this, mobile footer links become taller because padding is added
 * outside min-height on lower pages.
 */
.mofli-subpage-shell .mofli-site-header *,
.mofli-subpage-shell .mofli-site-header *::before,
.mofli-subpage-shell .mofli-site-header *::after,
.mofli-subpage-shell .mofli-site-footer *,
.mofli-subpage-shell .mofli-site-footer *::before,
.mofli-subpage-shell .mofli-site-footer *::after,
.mofli-subpage-shell .mofli-breadcrumb *,
.mofli-subpage-shell .mofli-breadcrumb *::before,
.mofli-subpage-shell .mofli-breadcrumb *::after {
	box-sizing: border-box;
}


/* =========================================================
   Header
   ========================================================= */

.mofli-site-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--mofli-shell-border);
}


.mofli-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: 100%;
	max-width: 1240px;
	min-height: 82px;
	margin: 0 auto;
	padding: 14px 24px;
}


.mofli-site-header__logo {
	flex: 0 0 auto;
}


.mofli-site-header__logo-link {
	display: inline-flex;
	align-items: center;
	color: var(--mofli-shell-text);
	text-decoration: none;
}


.mofli-site-header__logo-link--text {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.03em;
}


.mofli-site-header__logo-image {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}


.mofli-site-header__nav {
	min-width: 0;
}


.mofli-site-header__menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}


.mofli-site-header__menu .menu-item {
	margin: 0;
	padding: 0;
}


.mofli-site-header__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--mofli-shell-text);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}


.mofli-site-header__menu a::after {
	position: absolute;
	right: 0;
	bottom: 3px;
	left: 0;
	width: 0;
	height: 2px;
	margin: auto;
	content: "";
	background: var(--mofli-shell-coral);
	border-radius: 999px;
	transition: width 0.15s ease;
}


.mofli-site-header__menu a:hover {
	color: var(--mofli-shell-coral-dark);
}


.mofli-site-header__menu a:hover::after {
	width: 100%;
}


.mofli-site-header__menu a:focus-visible {
	outline: 3px solid rgba(239, 129, 117, 0.42);
	outline-offset: 3px;
	border-radius: 6px;
}


/* =========================================================
   Hero
   STEP1.11-E-2
   ========================================================= */

.mofli-home-hero {
	--mofli-hero-offset: 0px;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: var(--mofli-hero-height-pc, 680px);
	min-height: 360px;
	background:
		linear-gradient(
			135deg,
			var(--mofli-shell-beige-soft) 0%,
			var(--mofli-shell-beige) 100%
		);
	isolation: isolate;
}

/*
 * STEP1.12-D-8-D-4-F-3-1
 * PCのH基準指定はPC幅だけに限定する。
 *
 * これを幅条件なしで指定すると、PC設定がH基準のとき
 * スマホでも background-size: contain が残り、
 * スマホ側の cover 設定を上書きしてしまう。
 */
@media (min-width: 801px) {

	.mofli-home-hero[data-hero-size-pc="height"]
	.mofli-home-hero__media {
		inset: 0;
		background-size: contain;
	}
}


.mofli-home-hero__media {
	position: absolute;
	inset: -10% 0;
	z-index: -3;
	background-color: var(--mofli-shell-beige-soft);
	background-image: var(--mofli-hero-image);
	background-position:
		var(--mofli-hero-position-x-pc, 50%)
		var(--mofli-hero-position-y-pc, 50%);
	background-repeat: no-repeat;
	background-size: var(--mofli-hero-size-pc, cover);
	transform:
		translate3d(
			0,
			var(--mofli-hero-offset),
			0
		)
		scale(var(--mofli-hero-scale-pc, 1.08));
	will-change: transform;
}

.mofli-home-hero.no-image .mofli-home-hero__media {
	display: none;
}

.mofli-home-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(
			90deg,
			rgba(42, 34, 30, 0.28) 0%,
			rgba(42, 34, 30, 0.08) 48%,
			rgba(42, 34, 30, 0.12) 100%
		);
}

.mofli-home-hero.no-image .mofli-home-hero__overlay {
	background:
		radial-gradient(
			circle at 78% 24%,
			rgba(239, 129, 117, 0.14),
			transparent 34%
		);
}

.mofli-home-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	max-width: 1240px;
	min-height: inherit;
	margin: 0 auto;
	padding: 72px 24px;
}

.mofli-home-hero__title {
	max-width: 760px;
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(calc(38px + var(--mofli-hero-title-adjust-pc, 0px)), calc(6vw + var(--mofli-hero-title-adjust-pc, 0px)), calc(78px + var(--mofli-hero-title-adjust-pc, 0px)));
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.18;
	text-shadow: 0 3px 20px rgba(0, 0, 0, 0.22);
}

.mofli-home-hero__lead {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(calc(16px + var(--mofli-hero-lead-adjust-pc, 0px)), calc(2vw + var(--mofli-hero-lead-adjust-pc, 0px)), calc(22px + var(--mofli-hero-lead-adjust-pc, 0px)));
	font-weight: 600;
	line-height: 1.8;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.20);
}

.mofli-home-hero.no-image .mofli-home-hero__title,
.mofli-home-hero.no-image .mofli-home-hero__lead {
	color: var(--mofli-shell-text);
	text-shadow: none;
}

@media (max-width: 800px) {

	.mofli-home-hero {
		height: var(--mofli-hero-height-mobile, 500px);
		min-height: 320px;
	}


	.mofli-home-hero__media {
		inset: 0;
		background-position:
			var(--mofli-hero-position-x-mobile, 50%)
			var(--mofli-hero-position-y-mobile, 50%);
		background-size: var(--mofli-hero-size-mobile, cover);
		transform: scale(var(--mofli-hero-scale-mobile, 1.02));
		will-change: auto;
	}


	/*
	 * STEP1.12-D-8-D-4-F-3
	 * Smartphone sizing modes must come AFTER the common media rule
	 * so W/H settings cannot be overwritten by the generic size.
	 */
	.mofli-home-hero[data-hero-size-mobile="width"]
	.mofli-home-hero__media {
		background-size: 100% auto;
		transform: none;
	}


	/*
	 * STEP1.12-D-8-D-4-F-3-2
	 * Smartphone H-basis:
	 * Match the admin "スマホ実表示プレビュー" exactly.
	 * The image height is fixed to 100% of the hero and width remains auto.
	 * Horizontal overflow is controlled by the configured X position.
	 */
	.mofli-home-hero[data-hero-size-mobile="height"]
	.mofli-home-hero__media {
		background-size: auto 100%;
		transform: none;
	}

	.mofli-home-hero__content {
		justify-content: flex-end;
		padding-top: 54px;
		padding-bottom: 48px;
	}

	.mofli-home-hero__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(42, 34, 30, 0.06) 15%,
				rgba(42, 34, 30, 0.52) 100%
			);
	}
}

@media (max-width: 600px) {

	.mofli-home-hero {
		height: var(--mofli-hero-height-mobile, 500px);
		min-height: 320px;
	}

	.mofli-home-hero__content {
		padding-right: 18px;
		padding-left: 18px;
	}

	.mofli-home-hero__title {
		font-size: clamp(calc(34px + var(--mofli-hero-title-adjust-mobile, 0px)), calc(10vw + var(--mofli-hero-title-adjust-mobile, 0px)), calc(50px + var(--mofli-hero-title-adjust-mobile, 0px)));
	}

	.mofli-home-hero__lead {
		font-size: calc(15px + var(--mofli-hero-lead-adjust-mobile, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {

	.mofli-home-hero__media {
		inset: 0;
		transform: none !important;
		will-change: auto;
	}
}


/* =========================================================
   Main
   ========================================================= */

.mofli-home-main {
	min-height: 44vh;
	background: #fff;
}


.mofli-home-main__placeholder {
	width: 100%;
	min-height: 120px;
}


/* =========================================================
   Home Latest Issue
   STEP1.11-E-3-A
   ========================================================= */

.mofli-home-latest {
	width: 100%;
	padding: clamp(64px, 8vw, 110px) 24px;
	background: var(--mofli-shell-beige-soft);
}


.mofli-home-latest__shell {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}


.mofli-home-latest__heading {
	margin-bottom: 34px;
	text-align: center;
}


.mofli-home-latest__eyebrow {
	margin: 0 0 6px;
	color: var(--mofli-shell-coral-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}


.mofli-home-latest__heading h2 {
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.25;
}


.mofli-home-latest__grid {
	display: grid;
	grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
}


.mofli-home-latest__visual {
	min-width: 0;
}


.mofli-home-latest__cover-frame {
	overflow: hidden;
	width: 100%;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 18px 46px rgba(74, 64, 58, 0.14);
}


.mofli-home-latest__cover {
	display: block;
	width: 100%;
	height: auto;
}


.mofli-home-latest__cover-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 520px;
	padding: 30px;
	color: var(--mofli-shell-muted);
	background: #fff;
	font-size: 14px;
	font-weight: 700;
}


.mofli-home-latest__content {
	min-width: 0;
	padding-top: 10px;
}


.mofli-home-latest__new {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	margin-bottom: 14px;
	padding: 4px 12px;
	color: #fff;
	background: var(--mofli-shell-coral);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}


.mofli-home-latest__issue {
	margin: 0 0 8px;
	color: var(--mofli-shell-coral-dark);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
}


.mofli-home-latest__title {
	margin: 0 0 12px;
	color: var(--mofli-shell-text);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.28;
}


.mofli-home-latest__date {
	margin: 0 0 24px;
	color: var(--mofli-shell-muted);
	font-size: 13px;
	font-weight: 600;
}


.mofli-home-latest__catchcopy {
	margin: 0 0 18px;
	color: var(--mofli-shell-text);
	font-size: clamp(18px, 2.3vw, 25px);
	font-weight: 800;
	line-height: 1.65;
}


.mofli-home-latest__description {
	margin-bottom: 26px;
	color: var(--mofli-shell-text);
	font-size: 15px;
	line-height: 1.9;
}


.mofli-home-latest__description p {
	margin: 0 0 12px;
}


.mofli-home-latest__description p:last-child {
	margin-bottom: 0;
}


.mofli-home-latest__contents {
	margin-top: 30px;
	padding: 24px 26px;
	background: #fff;
	border: 1px solid var(--mofli-shell-border);
	border-radius: 18px;
}


.mofli-home-latest__contents-heading {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 14px;
}


.mofli-home-latest__contents-heading span {
	color: var(--mofli-shell-coral-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
}


.mofli-home-latest__contents-heading strong {
	color: var(--mofli-shell-text);
	font-size: 20px;
}


.mofli-home-latest__contents-list {
	margin: 0;
	padding: 0;
	list-style: none;
}


.mofli-home-latest__contents-item {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--mofli-shell-border);
}


.mofli-home-latest__contents-item:first-child {
	border-top: 0;
}


.mofli-home-latest__contents-number {
	color: var(--mofli-shell-coral-dark);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.8;
}


.mofli-home-latest__contents-text {
	min-width: 0;
}


.mofli-home-latest__contents-category {
	display: block;
	margin-bottom: 2px;
	color: var(--mofli-shell-muted);
	font-size: 11px;
	font-weight: 700;
}


.mofli-home-latest__contents-title {
	display: block;
	color: var(--mofli-shell-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.65;
}


.mofli-home-latest__actions {
	margin-top: 28px;
}


.mofli-home-latest__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 10px 26px;
	color: #fff;
	background: var(--mofli-shell-coral);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		background-color 0.15s ease;
}


.mofli-home-latest__button:hover {
	color: #fff;
	background: var(--mofli-shell-coral-dark);
	transform: translateY(-1px);
}


.mofli-home-latest__button:focus-visible {
	outline: 3px solid rgba(239, 129, 117, 0.38);
	outline-offset: 4px;
}


@media (max-width: 800px) {

	.mofli-home-latest {
		padding-right: 18px;
		padding-left: 18px;
	}


	.mofli-home-latest__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}


	.mofli-home-latest__visual {
		width: min(78vw, 390px);
		margin: 0 auto;
	}


	.mofli-home-latest__content {
		padding-top: 0;
	}
}


@media (max-width: 600px) {

	.mofli-home-latest {
		padding-top: 54px;
		padding-bottom: 64px;
	}


	.mofli-home-latest__heading {
		margin-bottom: 26px;
	}


	.mofli-home-latest__visual {
		width: min(84vw, 340px);
	}


	.mofli-home-latest__contents {
		padding: 18px;
		border-radius: 14px;
	}


	.mofli-home-latest__contents-item {
		grid-template-columns: 30px minmax(0, 1fr);
		gap: 8px;
	}


	.mofli-home-latest__button {
		width: 100%;
	}
}


@media (prefers-reduced-motion: reduce) {

	.mofli-home-latest__button {
		transition: none;
	}


	.mofli-home-latest__button:hover {
		transform: none;
	}
}


/* =========================================================
   Home News / Feature
   STEP1.11-E-4-A
   ========================================================= */

.mofli-home-news {
	width: 100%;
	padding: clamp(60px, 8vw, 100px) 24px;
	background: #fff;
}

.mofli-home-news__shell {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.mofli-home-news__heading {
	margin-bottom: 32px;
	text-align: center;
}

.mofli-home-news__eyebrow {
	margin: 0 0 6px;
	color: var(--mofli-shell-coral-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.mofli-home-news__heading h2 {
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.25;
}

.mofli-home-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mofli-home-news__card {
	overflow: hidden;
	min-width: 0;
	background: var(--mofli-shell-beige-soft);
	border: 1px solid var(--mofli-shell-border);
	border-radius: 20px;
}

.mofli-home-news__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.mofli-home-news__image-wrap {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f1ece7;
}

.mofli-home-news__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.mofli-home-news__link:hover .mofli-home-news__image {
	transform: scale(1.025);
}

.mofli-home-news__image-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--mofli-shell-muted);
	font-weight: 800;
}

.mofli-home-news__body {
	padding: 18px 20px 22px;
}

.mofli-home-news__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.mofli-home-news__category {
	color: var(--mofli-shell-coral-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.mofli-home-news__date {
	color: var(--mofli-shell-muted);
	font-size: 11px;
}

.mofli-home-news__title {
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.65;
}

@media (max-width: 900px) {
	.mofli-home-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mofli-home-news {
		padding: 52px 18px 64px;
	}

	.mofli-home-news__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-home-news__image {
		transition: none;
	}
}


/* =========================================================
   Home Video / Social Media
   STEP1.11-E-4-B
   ========================================================= */

.mofli-home-media {
	width: 100%;
	padding: clamp(60px, 8vw, 100px) 24px;
	background: var(--mofli-shell-beige-soft);
}

.mofli-home-media__shell {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.mofli-home-media__heading {
	margin-bottom: 32px;
	text-align: center;
}

.mofli-home-media__eyebrow {
	margin: 0 0 6px;
	color: var(--mofli-shell-coral-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.mofli-home-media__heading h2 {
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
}

.mofli-home-media__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mofli-home-media__card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--mofli-shell-border);
	border-radius: 20px;
}

.mofli-home-media__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.mofli-home-media__image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #eee8e2;
}

.mofli-home-media__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.mofli-home-media__link:hover .mofli-home-media__image {
	transform: scale(1.025);
}

.mofli-home-media__image-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--mofli-shell-muted);
	font-weight: 800;
}

.mofli-home-media__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--mofli-shell-coral-dark);
	font-size: 22px;
	transform: translate(-50%, -50%);
	box-shadow: 0 8px 22px rgba(74, 64, 58, 0.16);
}

.mofli-home-media__body {
	padding: 18px 20px 22px;
}

.mofli-home-media__type {
	display: block;
	margin-bottom: 8px;
	color: var(--mofli-shell-coral-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.mofli-home-media__title {
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.65;
}

@media (max-width: 900px) {
	.mofli-home-media__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mofli-home-media {
		padding: 52px 18px 64px;
	}

	.mofli-home-media__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-home-media__image {
		transition: none;
	}
}


/* =========================================================
   Home Advertisement Recruitment
   STEP1.11-E-3-B
   ========================================================= */

.mofli-home-ad {
	width: 100%;
	padding: clamp(54px, 7vw, 90px) 24px;
	background: #fff;
}


.mofli-home-ad__shell {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}


.mofli-home-ad__banners {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 28px;
}


.mofli-home-ad__banner {
	min-width: 0;
}


.mofli-home-ad__banner-link {
	display: block;
	border-radius: 16px;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
}


.mofli-home-ad__banner-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(74, 64, 58, 0.12);
}


.mofli-home-ad__banner-link:focus-visible {
	outline: 3px solid rgba(239, 129, 117, 0.38);
	outline-offset: 4px;
}


.mofli-home-ad__banner-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}


@media (max-width: 900px) {

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


@media (max-width: 600px) {

	.mofli-home-ad__banners {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 22px;
	}
}


.mofli-home-ad__panel {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 6vw, 66px);
	background:
		linear-gradient(
			135deg,
			var(--mofli-shell-beige-soft) 0%,
			#fff 100%
		);
	border: 1px solid var(--mofli-shell-border);
	border-radius: 26px;
	text-align: center;
}


.mofli-home-ad__panel::before,
.mofli-home-ad__panel::after {
	position: absolute;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(239, 129, 117, 0.08);
	content: "";
	pointer-events: none;
}


.mofli-home-ad__panel::before {
	top: -70px;
	left: -60px;
}


.mofli-home-ad__panel::after {
	right: -70px;
	bottom: -80px;
}


.mofli-home-ad__label {
	position: relative;
	z-index: 1;
	margin-bottom: 8px;
	color: var(--mofli-shell-coral-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
}


.mofli-home-ad__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.3;
}


.mofli-home-ad__text {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 18px auto 0;
	color: var(--mofli-shell-muted);
	font-size: 15px;
	line-height: 1.9;
}


.mofli-home-ad__actions {
	position: relative;
	z-index: 1;
	margin-top: 26px;
}


.mofli-home-ad__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 10px 26px;
	color: #fff;
	background: var(--mofli-shell-coral);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		background-color 0.15s ease;
}


.mofli-home-ad__button:hover {
	color: #fff;
	background: var(--mofli-shell-coral-dark);
	transform: translateY(-1px);
}


.mofli-home-ad__button:focus-visible {
	outline: 3px solid rgba(239, 129, 117, 0.38);
	outline-offset: 4px;
}


@media (max-width: 600px) {

	.mofli-home-ad {
		padding: 46px 18px 58px;
	}


	.mofli-home-ad__panel {
		padding: 34px 20px;
		border-radius: 20px;
	}


	.mofli-home-ad__button {
		width: 100%;
	}
}


@media (prefers-reduced-motion: reduce) {

	.mofli-home-ad__button {
		transition: none;
	}


	.mofli-home-ad__button:hover {
		transform: none;
	}
}


/* =========================================================
   Footer
   ========================================================= */

.mofli-site-footer {
	width: 100%;
	color: var(--mofli-shell-text);
	background: var(--mofli-shell-beige-soft);
	border-top: 1px solid var(--mofli-shell-border);
}


.mofli-site-footer__inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 46px 24px 28px;
	text-align: center;
}


.mofli-site-footer__brand {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}


.mofli-site-footer__brand .mofli-site-header__logo-image {
	width: 160px;
	max-width: 100%;
	height: auto;
	max-height: none;
}


.mofli-site-footer__links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-bottom: 22px;
}


.mofli-site-footer__links a {
	color: var(--mofli-shell-text);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}


.mofli-site-footer__links a:hover {
	color: var(--mofli-shell-coral-dark);
}


.mofli-site-footer__socials {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	max-width: 900px;
	margin: 0 auto 24px;
}


.mofli-site-footer__social-card {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 14px 10px;
	background: #fff;
	border: 1px solid var(--mofli-shell-border);
	border-radius: 16px;
}


.mofli-site-footer__social-link,
.mofli-site-footer__social-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 5px 12px;
	color: var(--mofli-shell-text);
	background: var(--mofli-shell-beige-soft);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}


.mofli-site-footer__social-link {
	transition:
		background-color 0.15s ease,
		transform 0.15s ease;
}


.mofli-site-footer__social-link:hover {
	background: var(--mofli-shell-beige);
	transform: translateY(-1px);
}


.mofli-site-footer__social-qr {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}


.mofli-site-footer__social-qr img {
	display: block;
	width: 100%;
	max-width: 120px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}


.mofli-site-footer__text {
	margin: 0 0 16px;
	color: var(--mofli-shell-muted);
	font-size: 13px;
	line-height: 1.8;
}


.mofli-site-footer__copyright {
	margin: 0;
	color: var(--mofli-shell-muted);
	font-size: 12px;
}


/* =========================================================
   Tablet / mobile base
   STEP1.11-E-4でハンバーガー化するため、
   E-1では折り返し表示に留める。
   ========================================================= */

@media (max-width: 800px) {

	.mofli-site-footer__socials {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}


	.mofli-site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		padding-top: 16px;
		padding-bottom: 16px;
	}


	.mofli-site-header__nav {
		width: 100%;
	}


	.mofli-site-header__menu {
		justify-content: flex-start;
		gap: 6px 18px;
	}


	.mofli-site-header__menu a {
		min-height: 34px;
		font-size: 13px;
	}
}


@media (max-width: 600px) {

	.mofli-site-footer__socials {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}


	.mofli-site-footer__social-card {
		padding: 12px 8px;
	}


	.mofli-site-footer__social-qr img {
		max-width: 104px;
	}


	.mofli-site-header__inner {
		padding-right: 18px;
		padding-left: 18px;
	}


	.mofli-site-header__logo-image {
		max-width: 150px;
		max-height: 46px;
	}


	.mofli-site-footer__inner {
		padding: 36px 18px 24px;
	}


	.mofli-site-footer__links {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}


	.mofli-site-footer__links a {
		display: block;
		padding: 5px 0;
	}
}


@media (prefers-reduced-motion: reduce) {

	.mofli-site-header__menu a,
	.mofli-site-header__menu a::after,
	.mofli-site-footer__social-link {
		transition: none;
	}


	.mofli-site-footer__social-link:hover {
		transform: none;
	}
}

/* =========================================================
   STEP1.11-E-2-C Preview notice
   ========================================================= */

.mofli-preview-notice {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 99999;
	max-width: 360px;
	padding: 12px 16px;
	color: #fff;
	background: rgba(74, 64, 58, 0.94);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

@media (max-width: 600px) {
	.mofli-preview-notice {
		right: 10px;
		bottom: 10px;
		left: 10px;
		max-width: none;
		text-align: center;
	}
}


/* =========================================================
   STEP1.11-E-5-A
   Mobile hamburger menu
   ========================================================= */

.mofli-site-header__menu-toggle,
.mofli-site-header__menu-close,
.mofli-site-header__overlay {
	display: none;
}

@media (max-width: 800px) {

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

	.mofli-site-header {
		position: relative;
		z-index: 10000;
	}

	.mofli-site-header__inner {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		gap: 16px;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.mofli-site-header__logo {
		position: relative;
		z-index: 10003;
		min-width: 0;
	}

	.mofli-site-header__menu-toggle {
		position: relative;
		z-index: 10003;
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--mofli-shell-text);
		cursor: pointer;
	}

	.mofli-site-header__menu-toggle-lines {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 26px;
		height: 26px;
	}

	.mofli-site-header__menu-toggle-lines span {
		display: block;
		width: 100%;
		height: 2px;
		background: currentColor;
		border-radius: 999px;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.mofli-site-header__overlay {
		position: fixed;
		inset: 0;
		z-index: 10000;
		display: block;
		visibility: hidden;
		background: rgba(74, 64, 58, 0.38);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease, visibility 0.25s ease;
	}

	.mofli-site-header__nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 10002;
		display: block;
		width: min(86vw, 360px);
		height: 100dvh;
		padding: 86px 28px 36px;
		background: #fff;
		box-shadow: -12px 0 36px rgba(74, 64, 58, 0.16);
		overflow-y: auto;
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.28s ease, visibility 0.28s ease;
	}

	.mofli-site-header__menu-close {
		position: absolute;
		top: 16px;
		right: 18px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--mofli-shell-text);
		font-size: 34px;
		font-weight: 300;
		line-height: 1;
		cursor: pointer;
	}

	.mofli-site-header__menu {
		display: flex;
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-start;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.mofli-site-header__menu > li {
		width: 100%;
		border-bottom: 1px solid var(--mofli-shell-border);
	}

	.mofli-site-header__menu a {
		display: flex;
		align-items: center;
		width: 100%;
		min-height: 56px;
		padding: 12px 2px;
		font-size: 15px;
		font-weight: 700;
	}

	.mofli-site-header__menu a::after {
		display: none;
	}

	body.mofli-menu-open .mofli-site-header__overlay {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}

	body.mofli-menu-open .mofli-site-header__nav {
		visibility: visible;
		transform: translateX(0);
	}

	body.mofli-menu-open .mofli-site-header__menu-toggle {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

}

@media (max-width: 600px) {
	.mofli-site-header__inner {
		padding-right: 14px;
		padding-left: 18px;
	}

	.mofli-site-header__logo-image {
		max-width: 150px;
		max-height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-site-header__nav,
	.mofli-site-header__overlay,
	.mofli-site-header__menu-toggle-lines span {
		transition: none;
	}
}


/* =========================================================
   STEP1.11-E-5-B
   PC right fixed CTA
   ========================================================= */

.mofli-pc-fixed-cta {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 9500;
	display: flex;
	align-items: stretch;
	flex-direction: column;
	width: 86px;
	background: #fff;
	border: 1px solid var(--mofli-shell-border);
	border-right: 0;
	border-radius: 18px 0 0 18px;
	box-shadow: -8px 10px 28px rgba(74, 64, 58, 0.14);
	overflow: hidden;
	transform: translateY(-50%);
}

.mofli-pc-fixed-cta__message {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	padding: 18px 10px;
	color: var(--mofli-shell-text);
	background: var(--mofli-shell-beige-soft);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.75;
	letter-spacing: 0.12em;
	writing-mode: vertical-rl;
	text-orientation: upright;
}

.mofli-pc-fixed-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	min-height: 82px;
	padding: 10px 8px;
	color: #fff;
	background: var(--mofli-shell-coral);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease;
	writing-mode: horizontal-tb;
}

.mofli-pc-fixed-cta__button:hover {
	color: #fff;
	background: var(--mofli-shell-coral-dark);
}

.mofli-pc-fixed-cta__button:focus-visible {
	outline: 3px solid rgba(239, 129, 117, 0.42);
	outline-offset: -4px;
}

.mofli-pc-fixed-cta__arrow {
	font-size: 18px;
	line-height: 1;
}

@media (max-width: 1000px) {
	.mofli-pc-fixed-cta {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-pc-fixed-cta__button {
		transition: none;
	}
}

/* =========================================================
   STEP1.12-D-8-D-2
   Common design / accessibility polish
   ========================================================= */

:root {
	--mofli-shell-focus: #8b3f38;
	--mofli-shell-radius-sm: 10px;
	--mofli-shell-radius-md: 18px;
	--mofli-shell-shadow-soft: 0 10px 30px rgba(74, 64, 58, 0.08);
}

.mofli-site-header__logo-link:focus-visible,
.mofli-site-header__menu-toggle:focus-visible,
.mofli-site-header__menu-close:focus-visible,
.mofli-site-header__menu a:focus-visible,
.mofli-site-footer a:focus-visible,
.mofli-pc-fixed-cta a:focus-visible {
	outline: 3px solid var(--mofli-shell-focus);
	outline-offset: 3px;
}

.mofli-site-header__menu a,
.mofli-site-footer__links a,
.mofli-site-footer__social-link {
	text-underline-offset: 0.22em;
}

.mofli-site-header__menu a {
	min-height: 44px;
	padding-right: 2px;
	padding-left: 2px;
}

.mofli-site-footer__inner {
	padding-top: 52px;
	padding-bottom: 30px;
}

.mofli-site-footer__links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 4px;
	line-height: 1.5;
}

.mofli-site-footer__links a:hover,
.mofli-site-footer__links a:focus-visible {
	text-decoration: underline;
}

.mofli-site-footer__social-link {
	min-height: 44px;
	padding: 8px 16px;
}

.mofli-site-footer__text {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 800px) {
	.mofli-site-header__menu a {
		min-height: 56px;
	}
}

@media (max-width: 600px) {
	.mofli-site-footer__inner {
		padding: 40px 18px 26px;
	}

	.mofli-site-footer__links {
		gap: 4px;
	}

	.mofli-site-footer__links a {
		width: 100%;
		min-height: 48px;
		padding: 10px 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-site-header__menu a,
	.mofli-site-header__menu a::after,
	.mofli-site-footer__links a,
	.mofli-site-footer__social-link,
	.mofli-pc-fixed-cta,
	.mofli-pc-fixed-cta * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================
   STEP 1.12-D-8-D-3
   Home page visual + accessibility unification
   ========================================================= */

.mofli-home-latest,
.mofli-home-news,
.mofli-home-media,
.mofli-home-ad {
	scroll-margin-top: 96px;
}

.mofli-home-latest__shell,
.mofli-home-news__shell,
.mofli-home-media__shell,
.mofli-home-ad__shell {
	width: min(100% - 48px, 1180px);
	margin-right: auto;
	margin-left: auto;
}

.mofli-home-latest__heading,
.mofli-home-news__heading,
.mofli-home-media__heading {
	margin-bottom: clamp(26px, 4vw, 42px);
}

.mofli-home-latest__eyebrow,
.mofli-home-news__eyebrow,
.mofli-home-media__eyebrow {
	letter-spacing: 0.1em;
}

.mofli-home-latest__heading h2,
.mofli-home-news__heading h2,
.mofli-home-media__heading h2,
.mofli-home-ad__title {
	text-wrap: balance;
}

.mofli-home-latest__button,
.mofli-home-ad__button {
	min-height: 48px;
}

.mofli-home-latest__button:focus-visible,
.mofli-home-news__link:focus-visible,
.mofli-home-media__link:focus-visible,
.mofli-home-ad__banner-link:focus-visible,
.mofli-home-ad__button:focus-visible,
.mofli-pc-fixed-cta a:focus-visible {
	outline: 3px solid var(--mofli-shell-focus, #9b3f37);
	outline-offset: 4px;
}

.mofli-home-news__link,
.mofli-home-media__link {
	border-radius: inherit;
}

.mofli-home-news__card,
.mofli-home-media__card,
.mofli-home-latest__cover-frame,
.mofli-home-ad__panel {
	box-shadow: 0 12px 34px rgba(74, 64, 58, 0.09);
}

.mofli-home-news__link:hover,
.mofli-home-media__link:hover {
	text-decoration: none;
}

.mofli-home-news__title,
.mofli-home-media__title,
.mofli-home-latest__title {
	line-height: 1.55;
}

.mofli-home-news__date,
.mofli-home-latest__date,
.mofli-home-latest__description,
.mofli-home-ad__text {
	color: var(--mofli-shell-muted-strong, #6f625b);
}

@media (max-width: 600px) {
	.mofli-home-latest__shell,
	.mofli-home-news__shell,
	.mofli-home-media__shell,
	.mofli-home-ad__shell {
		width: min(100% - 36px, 1180px);
	}

	.mofli-home-latest,
	.mofli-home-news,
	.mofli-home-media,
	.mofli-home-ad {
		scroll-margin-top: 78px;
	}

	.mofli-home-latest__button,
	.mofli-home-ad__button {
		min-height: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-home-news__image,
	.mofli-home-media__image,
	.mofli-home-news__link,
	.mofli-home-media__link,
	.mofli-home-latest__button,
	.mofli-home-ad__button,
	.mofli-home-ad__banner-link {
		transition: none !important;
	}

	.mofli-home-news__link:hover .mofli-home-news__image,
	.mofli-home-media__link:hover .mofli-home-media__image,
	.mofli-home-latest__button:hover,
	.mofli-home-ad__button:hover,
	.mofli-home-ad__banner-link:hover {
		transform: none !important;
	}
}

/* =========================================================
   Lower-page shared shell / Breadcrumbs
   STEP1.12-D-8-D-5-3-A-2
   ========================================================= */

.mofli-subpage-shell {
	--mofli-breadcrumb-max-width: 1240px;
}

.mofli-breadcrumb {
	width: 100%;
	background: var(--mofli-shell-beige-soft, #fcf8f2);
	border-bottom: 1px solid var(--mofli-shell-border, rgba(120, 95, 75, 0.12));
}

.mofli-breadcrumb__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	width: 100%;
	max-width: var(--mofli-breadcrumb-max-width);
	min-height: 46px;
	margin: 0 auto;
	padding: 8px 24px;
	list-style: none;
}

.mofli-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: var(--mofli-shell-muted-strong, #6f625b);
	font-size: 13px;
	line-height: 1.6;
}

.mofli-breadcrumb__item:not(:last-child)::after {
	content: "›";
	color: var(--mofli-shell-muted, #8a7b72);
	font-size: 15px;
	line-height: 1;
}

.mofli-breadcrumb__link {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	color: var(--mofli-shell-text, #4a403a);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(74, 64, 58, 0.28);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.mofli-breadcrumb__link:hover {
	color: var(--mofli-shell-coral-dark, #d96960);
	text-decoration-color: currentColor;
}

.mofli-breadcrumb__current {
	color: var(--mofli-shell-muted-strong, #6f625b);
	font-weight: 600;
}

.mofli-breadcrumb__link:focus-visible {
	outline: 3px solid var(--mofli-shell-focus, #9b3f37);
	outline-offset: 3px;
	border-radius: 3px;
}

@media (max-width: 800px) {
	.mofli-breadcrumb__list {
		min-height: 42px;
		padding: 6px 16px;
	}

	.mofli-breadcrumb__item {
		font-size: 12px;
	}

	.mofli-breadcrumb__link {
		min-height: 30px;
	}
}



/* =========================================================
   STEP1.12-D-8-D-5-3-B-3
   Lower-page "mofliトップページへ戻る" normalization
   ========================================================= */

.mofli-subpage-shell .mofli-home-return,
.mofli-subpage-shell [class*="__home-return"],
.mofli-subpage-shell .mofli-survey-home-return {
	width: 100%;
	margin: 32px auto 0;
	text-align: center;
}

.mofli-subpage-shell .mofli-home-return > a,
.mofli-subpage-shell [class*="__home-return"] > a,
.mofli-subpage-shell .mofli-survey-home-return > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	min-height: 44px;
	margin: 0 auto;
	padding: 8px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: #4a403a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.mofli-subpage-shell .mofli-home-return > a:hover,
.mofli-subpage-shell [class*="__home-return"] > a:hover,
.mofli-subpage-shell .mofli-survey-home-return > a:hover {
	color: #d96960;
}

.mofli-subpage-shell .mofli-home-return > a:focus-visible,
.mofli-subpage-shell [class*="__home-return"] > a:focus-visible,
.mofli-subpage-shell .mofli-survey-home-return > a:focus-visible {
	outline: 3px solid #9b3f37;
	outline-offset: 3px;
}

@media (max-width: 800px) {
	.mofli-subpage-shell .mofli-home-return,
	.mofli-subpage-shell [class*="__home-return"],
	.mofli-subpage-shell .mofli-survey-home-return {
		margin-top: 28px;
	}
}


/* =========================================================
   STEP1.12-D-8-D-5-3-C
   Footer SNS: QR card / link-only adaptive layout
   ========================================================= */

.mofli-site-footer__socials {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	max-width: 900px;
	margin: 0 auto 24px;
}

.mofli-site-footer__social-card--qr {
	flex: 0 0 168px;
	width: 168px;
}

.mofli-site-footer__social-link-only {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 112px;
	min-height: 44px;
	padding: 9px 16px;
	border: 1px solid var(--mofli-shell-border);
	border-radius: 999px;
	background: #fff;
	color: var(--mofli-shell-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(64, 55, 51, 0.04);
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		transform 0.15s ease;
}

.mofli-site-footer__social-link-only:hover {
	background: var(--mofli-shell-beige-soft);
	border-color: var(--mofli-shell-beige);
	transform: translateY(-1px);
}

.mofli-site-footer__social-link-only:focus-visible {
	outline: 3px solid var(--mofli-shell-coral-dark);
	outline-offset: 3px;
}

.mofli-site-footer__social-external {
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 800px) {
	.mofli-site-footer__socials {
		align-items: center;
		gap: 12px;
	}

	.mofli-site-footer__social-card--qr {
		flex-basis: 150px;
		width: 150px;
	}

	.mofli-site-footer__social-link-only {
		min-width: 108px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-site-footer__social-link-only {
		transition: none;
	}

	.mofli-site-footer__social-link-only:hover {
		transform: none;
	}
}


/* =========================================================
   STEP1.12-D-8-D-5-3-C-1
   Footer SNS: link-only item uses the same white card as QR items
   ========================================================= */

.mofli-site-footer__social-card--link-only {
	display: flex;
	flex: 0 0 168px;
	flex-direction: column;
	align-items: center;
	width: 168px;
	min-height: 244px;
	padding: 18px 14px;
}

.mofli-site-footer__social-card--link-only .mofli-site-footer__social-label {
	flex: 0 0 auto;
}

.mofli-site-footer__social-link-only-wrap {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 0 24px;
}

.mofli-site-footer__social-card--link-only .mofli-site-footer__social-link-only {
	width: min(100%, 132px);
	min-width: 0;
	min-height: 46px;
	padding: 10px 16px;
	border: 1px solid #c9ddbf;
	border-radius: 999px;
	background: #e8f3e2;
	color: #29452a;
	box-shadow: none;
	font-size: 12px;
	font-weight: 800;
}

.mofli-site-footer__social-card--link-only .mofli-site-footer__social-link-only:hover {
	border-color: #b8d1ad;
	background: #dcebd5;
	color: #203b22;
	transform: translateY(-1px);
}

.mofli-site-footer__social-card--link-only .mofli-site-footer__social-link-only:focus-visible {
	outline: 3px solid #557b52;
	outline-offset: 3px;
}

@media (max-width: 800px) {
	.mofli-site-footer__social-card--link-only {
		flex-basis: 150px;
		width: 150px;
		min-height: 220px;
		padding: 16px 12px;
	}

	.mofli-site-footer__social-link-only-wrap {
		padding-bottom: 20px;
	}

	.mofli-site-footer__social-card--link-only .mofli-site-footer__social-link-only {
		width: min(100%, 122px);
	}
}


/* =========================================================
   STEP1.12-D-8-D-5-3-C-2
   Footer SNS: QRあり / QRなし の外枠高さを完全統一
   ========================================================= */

/* QRカード・リンクのみカードの双方を同じ高さに固定 */
.mofli-site-footer__social-card--qr,
.mofli-site-footer__social-card--link-only {
	box-sizing: border-box;
	height: 244px;
	min-height: 244px;
}

/* QRカードも高さ固定内で自然に配置 */
.mofli-site-footer__social-card--qr {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* QR画像エリア */
.mofli-site-footer__social-card--qr .mofli-site-footer__social-qr {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
}

/* QRなしカードは同じ高さの中央にリンクボタンを配置 */
.mofli-site-footer__social-card--link-only {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* スマホでも双方を同じ高さにする */
@media (max-width: 800px) {
	.mofli-site-footer__social-card--qr,
	.mofli-site-footer__social-card--link-only {
		height: 220px;
		min-height: 220px;
	}
}

/* =========================================================
   実機スマホ調整
   1) ハンバーガー開閉ボタンのタッチ時フォーカス枠を抑制
   2) 「mofliについて」「プライバシーポリシー」本文を左右均等配置
   ========================================================= */

/*
 * キーボード操作時の focus-visible はPC等では維持する。
 * タッチ端末だけ、ブラウザが残すフォーカス枠・タップハイライトを抑制。
 */
@media (hover: none) and (pointer: coarse) {
	.mofli-site-header__menu-toggle,
	.mofli-site-header__menu-close {
		-webkit-tap-highlight-color: transparent;
	}

	.mofli-site-header__menu-toggle:focus,
	.mofli-site-header__menu-toggle:focus-visible,
	.mofli-site-header__menu-close:focus,
	.mofli-site-header__menu-close:focus-visible {
		outline: none !important;
		box-shadow: none !important;
	}
}


/*
 * 実機スマホで本文ブロックが片側へ寄らないよう、
 * about / privacy の本文領域を viewport に対して左右均等に固定。
 */
@media (max-width: 800px) {
	.mofli-subpage-shell .mofli-content-page__body {
		box-sizing: border-box !important;
		width: calc(100% - 36px) !important;
		max-width: 860px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.mofli-subpage-shell .mofli-content-page__section {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}

/* =========================================================
   実機スマホ最終調整
   1) about / privacy の左右余白を均等にする
   2) 本文幅を狭めすぎず、自然な改行位置を維持する
   3) メニュー閉じる「×」をCSSの2本線で描画
   ========================================================= */

@media (max-width: 800px) {
	/*
	 * viewport基準の強制幅指定は使わず、親コンテンツ幅の中で
	 * 左右18pxずつの余白を確保する。
	 * これによりSafari実機で本文幅が不必要に狭くなるのを防ぐ。
	 */
	.mofli-subpage-shell .mofli-content-page__body {
		box-sizing: border-box !important;
		width: calc(100% - 36px) !important;
		max-width: 860px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.mofli-subpage-shell .mofli-content-page__section {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		text-align: left;
	}
}

/*
 * 閉じるアイコンは文字や疑似要素ではなくSVGで描画する。
 * Safari実機でも1本ずつの線として安定して表示される。
 */
.mofli-site-header__menu-close::before,
.mofli-site-header__menu-close::after {
	content: none !important;
	display: none !important;
}

.mofli-site-header__menu-close-icon {
	display: block;
	width: 30px;
	height: 30px;
	overflow: visible;
	pointer-events: none;
}

.mofli-site-header__menu-close-icon path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}


/*
 * =========================================================
 * Hero slider STEP2
 * =========================================================
 */
.mofli-home-hero__media { overflow: hidden; }
.mofli-home-hero__track { display:flex; width:100%; height:100%; transition:transform .65s ease; will-change:transform; }
.mofli-home-hero__track--mobile { display:none; }
.mofli-home-hero__slide {
	flex:0 0 100%; width:100%; height:100%;
	background-image:var(--mofli-slide-image);
	background-position:var(--mofli-hero-position-x-pc,50%) var(--mofli-hero-position-y-pc,50%);
	background-size:var(--mofli-hero-size-pc,cover);
	background-repeat:no-repeat;
}
.mofli-home-hero__arrow { position:absolute; top:50%; z-index:4; width:46px; height:46px; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.82); font-size:36px; line-height:42px; cursor:pointer; transform:translateY(-50%); }
.mofli-home-hero__arrow[hidden] { display:none; }
.mofli-home-hero__arrow--prev { left:22px; }
.mofli-home-hero__arrow--next { right:22px; }
.mofli-home-hero__dots { position:absolute; left:50%; bottom:18px; z-index:4; display:flex; gap:8px; transform:translateX(-50%); }
.mofli-home-hero__dots--mobile { display:none; }
.mofli-home-hero__dot { width:10px; height:10px; padding:0; border:1px solid rgba(255,255,255,.95); border-radius:999px; background:rgba(255,255,255,.35); cursor:pointer; }
.mofli-home-hero__dot.is-active { background:#fff; }

.mofli-hero-image-list {
	display: block;
	width: 100%;
	max-width: 760px;
	margin-top: 14px;
}

.mofli-hero-image-item {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 760px;
	margin: 0 0 18px;
	padding: 16px;
	overflow: hidden;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #fff;
}

.mofli-hero-image-item__title {
	display: block;
	margin: 0 0 12px;
	font-size: 14px;
}

.mofli-hero-image-item__preview {
	display: none !important;
}

.mofli-hero-image-item__live-preview {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	width: 100%;
	max-width: 720px;
	margin: 4px 0 0;
	overflow: hidden;
	align-items: flex-start;
}

.mofli-hero-live-preview__group {
	box-sizing: border-box;
	display: block;
	flex: 0 0 auto;
	max-width: 100%;
	overflow: hidden;
}

.mofli-hero-live-preview__group strong {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
}

.mofli-hero-live-preview__stage {
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 560px;
	max-width: 100%;
	min-height: 90px;
	margin: 0;
	overflow: hidden !important;
	border: 1px solid #dcdcde;
	background-color: #f6f7f7;
	background-repeat: no-repeat;
}

.mofli-hero-mobile-crop-guide__help {
	margin: 0 0 7px;
	font-size: 12px;
	color: #646970;
}

.mofli-hero-live-preview__group--mobile-guide {
	width: 300px;
	max-width: 100%;
}

.mofli-hero-mobile-crop-guide {
	box-sizing: border-box;
	position: relative;
	width: 280px;
	max-width: 100%;
	min-height: 80px;
	overflow: hidden !important;
	border: 1px solid #c3c4c7;
	background: #f0f0f1;
}

.mofli-hero-mobile-crop-guide > img {
	position: absolute;
	inset: 0 auto auto 0;
	z-index: 1;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
}

.mofli-hero-mobile-crop-guide__shade {
	display: none !important;
}

.mofli-hero-mobile-crop-guide__frame {
	box-sizing: border-box;
	position: absolute;
	z-index: 3;
	border: 3px solid #2271b1;
	box-shadow:
		0 0 0 9999px rgba(45, 45, 45, .62),
		0 0 0 1px rgba(255, 255, 255, .95) inset;
	pointer-events: none;
}

#mofli-hero-mobile-separate {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 760px;
	margin-top: 12px;
	padding: 14px;
	overflow: hidden;
	border-left: 4px solid #2271b1;
	background: #f6f7f7;
}

@media (max-width:782px) {
	.mofli-hero-image-item {
		padding: 12px;
	}

	.mofli-hero-image-item__live-preview {
		display: block;
	}

	.mofli-hero-live-preview__group {
		width: 100%;
	}

	.mofli-hero-live-preview__group + .mofli-hero-live-preview__group {
		margin-top: 14px;
	}

	.mofli-hero-live-preview__stage {
		width: 100% !important;
		max-width: 560px;
	}

	.mofli-hero-mobile-crop-guide {
		width: 280px;
		max-width: 100%;
	}
}

@media (max-width:800px) {
	.mofli-home-hero__track--pc { display:none; }
	.mofli-home-hero__track--mobile { display:flex; }
	.mofli-home-hero__slide {
		background-position:var(--mofli-hero-position-x-mobile,50%) var(--mofli-hero-position-y-mobile,50%);
		background-size:var(--mofli-hero-size-mobile,cover);
	}
	.mofli-home-hero__dots--pc { display:none; }
	.mofli-home-hero__dots--mobile { display:flex; }
	.mofli-home-hero__arrow { width:38px; height:38px; font-size:30px; line-height:34px; }
	.mofli-home-hero__arrow--prev { left:10px; }
	.mofli-home-hero__arrow--next { right:10px; }
}
@media (prefers-reduced-motion:reduce) { .mofli-home-hero__track { transition:none; } }

/*
 * =========================================================
 * Hero slider STEP9
 * Prevent slide images from remaining below the hero
 * =========================================================
 */
.mofli-home-hero__media {
	inset: 0;
	height: 100%;
	overflow: hidden;
}

.mofli-home-hero__track {
	position: relative;
	flex-wrap: nowrap;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.mofli-home-hero__slide {
	flex: 0 0 100%;
	min-width: 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/*
 * =========================================================
 * Hero slider STEP10
 * Remove legacy single-image background behind slide tracks
 * =========================================================
 */
.mofli-home-hero.has-image .mofli-home-hero__media {
	background-image: none;
}

/*
 * =========================================================
 * Hero slider STEP12
 * Allow later slides to move inside the clipped media area
 * =========================================================
 */
.mofli-home-hero__track {
	overflow: visible;
}

/*
 * =========================================================
 * News / Feature archive STEP14
 * Top: 3 cards + archive link / Archive: all enabled items
 * =========================================================
 */
.mofli-home-news__more {
	margin-top: 28px;
	text-align: center;
}

.mofli-home-news__more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 28px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition:
		transform .2s ease,
		opacity .2s ease;
}

.mofli-home-news__more-link:hover {
	transform: translateY(-1px);
	opacity: .78;
}

.mofli-home-news__more-link:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.mofli-news-archive {
	padding: 54px 20px 80px;
}

.mofli-news-archive__shell {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.mofli-news-archive__heading {
	margin-bottom: 30px;
}

.mofli-news-archive__heading h1 {
	margin: 4px 0 0;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.2;
}

.mofli-news-archive__empty {
	margin: 0;
	padding: 24px 0;
}

@media (max-width: 800px) {
	.mofli-home-news__more {
		margin-top: 22px;
	}

	.mofli-home-news__more-link {
		width: min(100%, 320px);
	}

	.mofli-news-archive {
		padding: 34px 18px 56px;
	}

	.mofli-news-archive__heading {
		margin-bottom: 22px;
	}
}


/* =========================================================
   Coming Soon STEP16
   ========================================================= */
.mofli-coming-soon { width:100%; padding:56px 20px 72px; }
.mofli-coming-soon__inner { width:min(100%,760px); margin:0 auto; text-align:center; }
.mofli-coming-soon__title { margin:0 0 28px; color:#4a403a; font-size:clamp(30px,4vw,42px); font-weight:800; line-height:1.3; }
.mofli-coming-soon__visual { width:min(100%,420px); margin:0 auto 28px; }
.mofli-coming-soon__image { display:block; width:100%; height:auto; margin:0 auto; }
.mofli-coming-soon__message { margin:0; color:#4a403a; font-size:16px; font-weight:600; line-height:2; text-align:center; text-wrap:wrap; }
@media (max-width:800px) {
  .mofli-coming-soon { padding:40px 18px 56px; }
  .mofli-coming-soon__title { margin-bottom:22px; font-size:30px; }
  .mofli-coming-soon__visual { width:min(100%,320px); margin-bottom:22px; }
  .mofli-coming-soon__message { font-size:15px; }
}

/* =========================================================
   STEP5-G
   Hero image: remove dark overlay from actual hero images
   ========================================================= */
.mofli-home-hero.has-image .mofli-home-hero__overlay {
	background: transparent;
}

/* =========================================================
   STEP6-NEWS-H
   News archive / single spacing polish
   ========================================================= */

/* 一覧：1件・2件でもカード群を中央配置し、下余白の間延びを抑える */
.mofli-news-archive {
	padding-top: 46px;
	padding-bottom: 58px;
}

.mofli-news-archive__filters {
	margin-bottom: 26px;
}

.mofli-news-archive__grid {
	grid-template-columns: repeat(3, minmax(0, 340px));
	justify-content: center;
}

.mofli-news-archive__pagination {
	margin-top: 30px;
}

/* 詳細：テーマ／エディター由来の大きな縦余白をニュース本文内だけで正規化 */
.mofli-news-page-main--dedicated .mofli-news-single {
	padding-top: 46px;
	padding-bottom: 58px;
}

.mofli-news-page-main--dedicated .mofli-news-single__title {
	margin-top: 10px;
	margin-bottom: 22px;
}

.mofli-news-page-main--dedicated .mofli-news-single__image {
	margin-top: 0;
	margin-bottom: 26px;
}

.mofli-news-page-main--dedicated .mofli-news-single__content {
	margin: 0;
}

.mofli-news-page-main--dedicated .mofli-news-single__content > :first-child {
	margin-top: 0;
}

.mofli-news-page-main--dedicated .mofli-news-single__content > :last-child {
	margin-bottom: 0;
}

.mofli-news-page-main--dedicated .mofli-news-single__content figure,
.mofli-news-page-main--dedicated .mofli-news-single__content .wp-block-image {
	margin-top: 24px;
	margin-bottom: 24px;
}

.mofli-news-page-main--dedicated .mofli-news-single__content img {
	max-width: 100%;
	height: auto;
}

.mofli-news-page-main--dedicated .mofli-news-single__back {
	margin-top: 34px;
	padding-top: 20px;
}

@media (max-width: 800px) {
	.mofli-news-archive {
		padding-top: 32px;
		padding-bottom: 46px;
	}

	.mofli-news-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 340px));
	}

	.mofli-news-page-main--dedicated .mofli-news-single {
		padding-top: 32px;
		padding-bottom: 46px;
	}
}

@media (max-width: 560px) {
	.mofli-news-archive__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mofli-news-page-main--dedicated .mofli-news-single__title {
		margin-bottom: 18px;
	}

	.mofli-news-page-main--dedicated .mofli-news-single__image {
		margin-bottom: 22px;
	}

	.mofli-news-page-main--dedicated .mofli-news-single__back {
		margin-top: 28px;
	}
}

/* =========================================================
   STEP6-NEWS-I
   News detail: normalize editor-created vertical spacers
   ========================================================= */

/*
 * 記事本文内に残っている Gutenberg の Spacer ブロックが、
 * アイキャッチ～本文間の数百pxの空白を作るケースをニュース詳細だけで抑制する。
 * 本文画像・段落そのものは変更しない。
 */
.mofli-news-page-main--dedicated .mofli-news-single__content > .wp-block-spacer {
	height: 24px !important;
	min-height: 0 !important;
	margin: 0 !important;
}

/* 先頭にSpacerがある場合は不要なので完全に畳む */
.mofli-news-page-main--dedicated .mofli-news-single__content > .wp-block-spacer:first-child {
	height: 0 !important;
}

/* Classic Editor / 旧データに残った空段落も詳細記事内だけ畳む */
.mofli-news-page-main--dedicated .mofli-news-single__content > p:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.mofli-news-page-main--dedicated .mofli-news-single__content > p + .wp-block-spacer,
.mofli-news-page-main--dedicated .mofli-news-single__content > figure + .wp-block-spacer,
.mofli-news-page-main--dedicated .mofli-news-single__content > .wp-block-image + .wp-block-spacer {
	height: 18px !important;
}



/* =========================================================
   STEP8-PRESENT-F-2
   Home PRESENT
   ========================================================= */

.mofli-home-present {
	width: 100%;
	padding: clamp(54px, 7vw, 90px) 24px;
	background: var(--mofli-shell-beige-soft);
}

.mofli-home-present__shell {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.mofli-home-present__card {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 6vw, 66px);
	background: #fff;
	border: 1px solid var(--mofli-shell-border);
	border-radius: 26px;
	box-shadow: 0 14px 38px rgba(74, 64, 58, 0.08);
	text-align: center;
}

.mofli-home-present__card::before,
.mofli-home-present__card::after {
	position: absolute;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(239, 129, 117, 0.08);
	content: "";
	pointer-events: none;
}

.mofli-home-present__card::before {
	top: -78px;
	left: -66px;
}

.mofli-home-present__card::after {
	right: -76px;
	bottom: -88px;
}

.mofli-home-present__eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 7px;
	color: var(--mofli-shell-coral-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.mofli-home-present__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--mofli-shell-text);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.25;
}

.mofli-home-present__campaign {
	position: relative;
	z-index: 1;
	margin: 24px 0 0;
	color: var(--mofli-shell-text);
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 800;
	line-height: 1.55;
}

.mofli-home-present__text {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 14px auto 0;
	color: var(--mofli-shell-muted);
	font-size: 15px;
	line-height: 1.9;
}

.mofli-home-present__period {
	position: relative;
	z-index: 1;
	margin: 18px 0 0;
	color: var(--mofli-shell-muted-strong);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

.mofli-home-present__link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin-top: 28px;
	padding: 10px 28px;
	color: #fff;
	background: var(--mofli-shell-coral);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		background-color 0.15s ease;
}

.mofli-home-present__link:hover {
	color: #fff;
	background: var(--mofli-shell-coral-dark);
	transform: translateY(-1px);
}

.mofli-home-present__link:focus-visible {
	outline: 3px solid rgba(239, 129, 117, 0.38);
	outline-offset: 4px;
}

@media (max-width: 600px) {
	.mofli-home-present {
		padding: 46px 18px 58px;
	}

	.mofli-home-present__card {
		padding: 34px 20px;
		border-radius: 20px;
	}

	.mofli-home-present__campaign {
		margin-top: 20px;
	}

	.mofli-home-present__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mofli-home-present__link {
		transition: none;
	}

	.mofli-home-present__link:hover {
		transform: none;
	}
}
