/* =========================================================
   MIRAworks WEB PRODUCTION PAGE
   /web-production/
========================================================= */

body.mw-web-production-page {
	background: #fff;
	color: var(--mw-text);
}

.mw-web-production-main {
	overflow: hidden;
}

body.mw-web-production-page .mw-eyebrow {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: .04em !important;
	text-transform: uppercase;
	color: var(--mw-gold);
}

/* HERO */
.mw-web-hero {
	position: relative;
	min-height: 570px;
	overflow: hidden;
	background: #f7f5ef;
}

.mw-web-hero__media,
.mw-web-hero__veil {
	position: absolute;
	inset: 0;
}

.mw-web-hero__media {
	background: url("../images/web-hero.jpg") center center / cover no-repeat;
}

.mw-web-hero__veil {
	background: linear-gradient(
		90deg,
		rgba(255,255,255,.98) 0%,
		rgba(255,255,255,.96) 31%,
		rgba(255,255,255,.76) 48%,
		rgba(255,255,255,.18) 67%,
		rgba(255,255,255,0) 82%
	);
}

.mw-web-hero__inner {
	position: relative;
	z-index: 2;
	min-height: 570px;
	display: flex;
	align-items: center;
}

.mw-web-hero__content {
	width: 48%;
	max-width: 760px;
	padding: 76px 0;
}

.mw-web-hero h1 {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: clamp(54px, 4.15vw, 76px);
	font-weight: 500;
	line-height: 1.28;
	letter-spacing: .02em;
	color: #30290a;
}

.mw-web-hero__line {
	display: block;
	width: 38px;
	height: 2px;
	margin-top: 25px;
	background: var(--mw-gold);
}

.mw-web-hero__lead {
	margin-top: 22px !important;
	font-size: 15px;
	line-height: 2;
	letter-spacing: .025em;
	color: #4c4c4c;
}

/* CONCEPT */
.mw-web-concept {
	background: #fff;
}

.mw-web-concept__grid {
	display: grid;
	grid-template-columns: 50% 50%;
	min-height: 560px;
}

.mw-web-concept__visual {
	min-width: 0;
	overflow: hidden;
}

.mw-web-concept__visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 560px;
	object-fit: cover;
	object-position: center;
}

.mw-web-concept__content {
	display: flex;
	align-items: center;
}

.mw-web-concept__content-inner {
	width: 100%;
	padding: 80px max(50px, calc((100vw - var(--mw-container)) / 2)) 80px clamp(58px, 5vw, 92px);
}

.mw-web-concept__body {
	max-width: 690px;
	margin-top: 34px;
}

.mw-web-concept__body p {
	font-size: 15px;
	line-height: 2;
	letter-spacing: .025em;
	color: #4e4e4e;
}

.mw-web-concept__body p + p {
	margin-top: 16px !important;
}

/* SERVICE TYPE */
.mw-web-types {
	padding: 126px 0 142px;
	background: #f7f5ef;
}

.mw-web-types__heading {
	margin-bottom: 54px;
}

.mw-web-types__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.mw-web-type-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--mw-border);
	box-shadow: 0 6px 22px rgba(0,0,0,.035);
}

.mw-web-type-card__image {
	height: 235px;
	overflow: hidden;
	background: #eee;
}

.mw-web-type-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.mw-web-type-card:hover .mw-web-type-card__image img {
	transform: scale(1.035);
}

.mw-web-type-card__body {
	padding: 30px 28px 34px;
	flex: 1;
}

.mw-web-type-card__number {
	position: relative;
	margin: 0 0 18px !important;
	padding-bottom: 9px !important;
	font-family: var(--mw-serif);
	font-size: 20px;
	color: var(--mw-gold);
}

.mw-web-type-card__number::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 1px;
	background: var(--mw-gold);
}

.mw-web-type-card h3 {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: 25px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .025em;
	color: #312b14;
}

.mw-web-type-card__body > p:last-child {
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.9;
	color: #555;
}

.mw-web-type-card--plain {
	justify-content: center;
	text-align: center;
}

.mw-web-type-card--plain .mw-web-type-card__body {
	flex: 0 0 auto;
}

.mw-web-type-card--plain .mw-web-type-card__number::after {
	left: 50%;
	transform: translateX(-50%);
}

.mw-web-type-card__plain-icon {
	width: 70px;
	height: 70px;
	margin: 8px auto 4px;
	color: var(--mw-gold);
}

.mw-web-type-card__plain-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* FEATURES */
.mw-web-features {
	padding: 126px 0 136px;
	background: #fff;
}

.mw-web-features__heading {
	margin-bottom: 68px;
}

.mw-web-features__heading > p:last-child {
	margin-top: 18px !important;
	font-size: 16px;
	line-height: 1.8;
	color: #555;
}

.mw-web-features__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mw-web-feature {
	min-width: 0;
	padding: 8px 40px 14px;
}

.mw-web-feature:first-child {
	padding-left: 10px;
}

.mw-web-feature + .mw-web-feature {
	border-left: 1px solid var(--mw-border);
}

.mw-web-feature__icon {
	width: 66px;
	height: 66px;
	margin-bottom: 20px;
	color: var(--mw-gold);
}

.mw-web-feature__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mw-web-feature__number {
	margin: 0 0 9px !important;
	font-family: var(--mw-serif);
	font-size: 20px;
	color: var(--mw-gold);
}

.mw-web-feature h3 {
	margin: 0 0 19px !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	color: #312b14;
}

.mw-web-feature > p:last-child {
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.9;
	color: #555;
}

/* FLOW */
.mw-web-flow {
	padding: 112px 0 126px;
	background: #f7f5ef;
}

.mw-web-flow__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 60px;
	margin-bottom: 58px;
}

.mw-web-flow__heading > p {
	max-width: 470px;
	margin: 0 0 4px !important;
	font-size: 15px;
	line-height: 1.9;
	color: #555;
}

.mw-web-flow__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.mw-web-flow__steps::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 25px;
	height: 1px;
	background: rgba(108,84,0,.28);
}

.mw-web-flow-step {
	position: relative;
	z-index: 1;
	min-width: 0;
	padding: 0 28px;
}



.mw-web-flow-step + .mw-web-flow-step {
	border-left: 1px solid rgba(108,84,0,.15);
}

.mw-web-flow-step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin: 0 0 22px !important;
	border-radius: 50%;
	background: var(--mw-gold);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.mw-web-flow-step h3 {
	min-height: 64px;
	margin: 0 0 15px !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.55;
	color: #312b14;
}

.mw-web-flow-step > p:last-child {
	margin: 0 !important;
	font-size: 13px;
	line-height: 1.8;
	color: #555;
}

/* SUPPORT & MAINTENANCE */
.mw-web-support {
	background: #fff;
}

.mw-web-support__grid {
	display: grid;
	grid-template-columns: 40% 60%;
	min-height: 690px;
}

.mw-web-support__visual {
	min-width: 0;
	overflow: hidden;
}

.mw-web-support__visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 690px;
	object-fit: cover;
	object-position: center;
}

.mw-web-support__content {
	display: flex;
	align-items: center;
}

.mw-web-support__content-inner {
	width: 100%;
	padding: 86px max(50px, calc((100vw - var(--mw-container)) / 2)) 86px clamp(60px, 5vw, 96px);
}

.mw-web-support__lead {
	margin-top: 20px !important;
	font-size: 15px;
	line-height: 1.9;
	color: #555;
}

.mw-web-support__items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 38px;
}

.mw-web-support__items > div {
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: #faf9f6;
	border: 1px solid var(--mw-border);
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	color: #423d27;
}

.mw-web-support__transfer {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 24px;
	align-items: center;
	margin-top: 24px;
	padding: 26px 28px;
	border: 1px solid var(--mw-border);
}

.mw-web-support__transfer-icon {
	width: 64px;
	height: 64px;
	color: var(--mw-gold);
}

.mw-web-support__transfer-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mw-web-support__transfer h3 {
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: 22px;
	font-weight: 600;
	color: #312b14;
}

.mw-web-support__transfer p {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.8;
	color: #555;
}

/* TABLET */
@media (max-width: 1100px) and (min-width: 781px) {
	.mw-web-hero,
	.mw-web-hero__inner {
		min-height: 500px;
	}

	.mw-web-hero__content {
		width: 55%;
	}

	.mw-web-hero h1 {
		font-size: 50px;
	}

	.mw-web-concept__content-inner,
	.mw-web-support__content-inner {
		padding-left: 42px;
		padding-right: 42px;
	}

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

	.mw-web-type-card__image {
		height: 230px;
	}

	.mw-web-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 48px;
	}

	.mw-web-feature {
		padding: 0 30px 10px;
	}

	.mw-web-feature:nth-child(3) {
		border-left: 0;
		padding-left: 10px;
	}

	.mw-web-flow__steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 42px;
	}

	.mw-web-flow__steps::before {
		display: none;
	}

	.mw-web-flow-step {
		padding-left: 22px;
		padding-right: 22px;
	}

	.mw-web-flow-step:nth-child(5) {
		border-left: 0;
		padding-left: 0;
	}

	.mw-web-support__grid {
		grid-template-columns: 42% 58%;
	}

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

/* MOBILE */
@media (max-width: 780px) {
	body.mw-web-production-page .mw-eyebrow {
		margin-bottom: 11px !important;
		font-size: 12px !important;
	}

	.mw-web-hero,
	.mw-web-hero__inner {
		min-height: 420px;
	}

	.mw-web-hero__media {
		background-position: 78% center;
	}

	.mw-web-hero__veil {
		background: linear-gradient(
			90deg,
			rgba(255,255,255,.98) 0%,
			rgba(255,255,255,.93) 55%,
			rgba(255,255,255,.62) 78%,
			rgba(255,255,255,.22) 100%
		);
	}

	.mw-web-hero__content {
		width: 100%;
		max-width: 330px;
		padding: 68px 0 58px;
	}

	.mw-web-hero h1 {
		font-size: 40px;
		line-height: 1.32;
	}

	.mw-web-hero__line {
		margin-top: 20px;
	}

	.mw-web-hero__lead {
		margin-top: 18px !important;
		font-size: 12px;
		line-height: 1.9;
	}

	.mw-web-concept__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mw-web-concept__visual {
		height: 300px;
	}

	.mw-web-concept__visual img {
		min-height: 300px;
	}

	.mw-web-concept__content-inner {
		padding: 68px 20px 74px;
	}

	.mw-web-concept__body {
		margin-top: 26px;
	}

	.mw-web-concept__body p {
		font-size: 14px;
		line-height: 2;
	}

	.mw-web-types {
		padding: 72px 0 82px;
	}

	.mw-web-types__heading {
		margin-bottom: 34px;
	}

	.mw-web-types__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.mw-web-type-card__image {
		height: 220px;
	}

	.mw-web-type-card__body {
		padding: 23px 20px 26px;
	}

	.mw-web-type-card h3 {
		font-size: 22px;
	}

	.mw-web-type-card__body > p:last-child {
		font-size: 14px;
	}

	.mw-web-type-card--plain {
		min-height: 320px;
	}

	.mw-web-features {
		padding: 72px 0 82px;
	}

	.mw-web-features__heading {
		margin-bottom: 18px;
	}

	.mw-web-features__grid {
		grid-template-columns: 1fr;
	}

	.mw-web-feature,
	.mw-web-feature:first-child,
	.mw-web-feature:nth-child(3) {
		padding: 34px 8px 38px;
	}

	.mw-web-feature + .mw-web-feature {
		border-left: 0;
		border-top: 1px solid var(--mw-border);
	}

	.mw-web-feature__icon {
		width: 52px;
		height: 52px;
	}

	.mw-web-feature h3 {
		font-size: 23px;
	}

	.mw-web-feature > p:last-child {
		font-size: 14px;
	}

	.mw-web-flow {
		padding: 72px 0 82px;
	}

	.mw-web-flow__heading {
		display: block;
		margin-bottom: 38px;
	}

	.mw-web-flow__heading > p {
		margin-top: 18px !important;
		font-size: 13px;
	}

	.mw-web-flow__steps {
		grid-template-columns: 1fr;
	}

	.mw-web-flow__steps::before {
		display: none;
	}

	.mw-web-flow-step,
	.mw-web-flow-step:first-child,
	.mw-web-flow-step:nth-child(5) {
		padding: 24px 0 28px 64px;
		border-left: 0;
		border-top: 1px solid rgba(108,84,0,.15);
	}

	.mw-web-flow-step:first-child {
		border-top: 0;
	}

	.mw-web-flow-step__number {
		position: absolute;
		left: 0;
		top: 21px;
		width: 44px;
		height: 44px;
		margin: 0 !important;
	}

	.mw-web-flow-step h3 {
		min-height: 0;
		font-size: 19px;
	}

	.mw-web-flow-step > p:last-child {
		font-size: 13px;
	}

	.mw-web-support__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mw-web-support__visual {
		height: 300px;
	}

	.mw-web-support__visual img {
		min-height: 300px;
	}

	.mw-web-support__content-inner {
		padding: 68px 20px 74px;
	}

	.mw-web-support__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 28px;
	}

	.mw-web-support__items > div {
		min-height: 72px;
		padding: 10px;
		font-size: 12px;
	}

	.mw-web-support__transfer {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 20px;
	}

	.mw-web-support__transfer-icon {
		width: 50px;
		height: 50px;
	}

	.mw-web-support__transfer h3 {
		font-size: 19px;
	}

	.mw-web-support__transfer p {
		font-size: 12px;
	}
}

/* =========================================================
   WEB PRODUCTION - SERVICE TYPE / OUR FEATURES 調整
========================================================= */

/* SERVICE TYPE
   01～08 の番号位置を横一列に揃える */
.mw-web-type-card {
	display: flex;
	flex-direction: column;
}

.mw-web-type-card__image,
.mw-web-type-card__plain-icon {
	flex: 0 0 235px;
}

.mw-web-type-card__plain-icon {
	width: 100%;
	height: 235px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mw-web-type-card__plain-icon svg {
	width: 70px;
	height: 70px;
}

.mw-web-type-card--plain {
	text-align: left;
	justify-content: flex-start;
}

.mw-web-type-card--plain .mw-web-type-card__body {
	flex: 1;
	height: auto;
}


/* OUR FEATURES
   SVGを各カラムの左右中央に揃える */
.mw-web-feature__icon {
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================
   WEB PRODUCTION - SCROLL REVEAL
========================================================= */

html.mw-reveal-active body.mw-web-production-page .mw-reveal,
html.mw-reveal-active body.mw-web-production-page .mw-reveal-card {
	opacity: 0;
	transform: translateY(20px);
}

html.mw-reveal-active body.mw-web-production-page .mw-reveal.is-visible,
html.mw-reveal-active body.mw-web-production-page .mw-reveal-card.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(1) { transition-delay: 0s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(2) { transition-delay: .12s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(3) { transition-delay: .24s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(4) { transition-delay: .36s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(5) { transition-delay: .48s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(6) { transition-delay: .60s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(7) { transition-delay: .72s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-types__grid .mw-reveal-card:nth-child(8) { transition-delay: .84s; }

html.mw-reveal-active body.mw-web-production-page .mw-web-features__grid .mw-reveal-card:nth-child(1) { transition-delay: 0s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-features__grid .mw-reveal-card:nth-child(2) { transition-delay: .12s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-features__grid .mw-reveal-card:nth-child(3) { transition-delay: .24s; }
html.mw-reveal-active body.mw-web-production-page .mw-web-features__grid .mw-reveal-card:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
	html.mw-reveal-active body.mw-web-production-page .mw-reveal,
	html.mw-reveal-active body.mw-web-production-page .mw-reveal-card {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* =========================================================
   OUR FEATURES / PRODUCTION FLOW
   左右余白調整
========================================================= */

.mw-web-features > .mw-container,
.mw-web-flow > .mw-container {
	padding-left: 60px;
	padding-right: 60px;
}

@media (max-width: 1100px) {
	.mw-web-features > .mw-container,
	.mw-web-flow > .mw-container {
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 780px) {
	.mw-web-features > .mw-container,
	.mw-web-flow > .mw-container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* =========================================================
   WEB PRODUCTION - MOBILE POLISH
   2026-09-08
========================================================= */

@media (max-width: 780px) {

	/* 01. CONCEPT画像はスマホでは非表示 */
	.mw-web-concept__visual {
		display: none;
	}

	/* 02. SERVICE TYPE
	   ナンバーと見出しを横並び／ナンバー下線を削除 */
	.mw-web-type-card__body {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 12px;
		align-items: baseline;
	}

	.mw-web-type-card__number {
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1.45;
	}

	.mw-web-type-card__number::after {
		display: none;
	}

	.mw-web-type-card h3 {
		margin: 0 !important;
		min-width: 0;
	}

	.mw-web-type-card__body > p:last-child {
		grid-column: 1 / -1;
		margin-top: 14px !important;
	}

	/* 03. OUR FEATURES
	   スマホではSVGアイコンを非表示 */
	.mw-web-feature__icon {
		display: none;
	}

	/* 04. PRODUCTION FLOW
	   左寄せを改善／各ステップの枠線を削除 */
	.mw-web-flow__steps {
		width: 100%;
		margin: 0;
	}

	.mw-web-flow-step,
	.mw-web-flow-step:first-child,
	.mw-web-flow-step:nth-child(5) {
		padding: 20px 0 22px 48px;
		border: 0;
	}

	.mw-web-flow-step + .mw-web-flow-step {
		border-left: 0;
		border-top: 0;
	}

	.mw-web-flow-step__number {
		left: 0;
		top: 17px;
		width: 38px;
		height: 38px;
		margin: 0 !important;
	}

	.mw-web-flow-step h3 {
		min-height: 0;
		margin-bottom: 7px !important;
	}
}
