@charset "UTF-8";

header #nav_menu > ul > li:nth-child(4) > a::before{
	background: var(--mClr2);
}

/*-----------------------------------

	headline

-----------------------------------*/
#headline {
	background-image: url(../img/monodukuri/headline_bg.jpg);
}
#headline h1::before {
	content: "MANUFACTURING PRODUCTION";
}
/*-----------------------------------

	common

-----------------------------------*/
.monodukuri {
	padding-bottom: 100px;
}
.monodukuri .ttlArea {
	width: calc(100vw - (50vw - 600px));
	margin: 0 0 60px auto !important;
	position: relative;
	height: 436px;
}
.monodukuri .ttlArea::before {
	content: "";
	width: calc(1030px + (50vw - 600px));
	height: 100%;
	border-radius: 20px 0 0 20px;
	position: absolute;
	top: 0;
	right: 0;
}
.monodukuri .ttlArea h2 {
	background: #FFF;
	font: 700 1.8rem/1 var(--fJa);
	border-radius: 0 20px 20px 0;
	padding: 35px 70px 30px 0;
	position: absolute;
	bottom: 60px;
	left: 0;
}
.monodukuri .ttlArea h2::before {
	display: block;
	font: 700 5rem/1 var(--fEn);
	margin-bottom: 20px;
}
.monodukuri .ttlArea h2::after {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--mClr1);
	position: absolute;
	bottom: 60px;
	left: 0;
}
.monodukuri .read {
	background: #F4F9F8;
	border: 1px solid #D4E6E3;
	padding: 30px 45px;
	border-radius: 10px;
	margin-bottom: 60px;
}
.monodukuri .ttl {
	font: 700 2.4rem/1 var(--fJa);
	border-left: 6px solid var(--mClr1);
	padding: 8px 20px;
}
.monodukuri .copy {
	font: 700 1.8rem/1.67 var(--fJa);
	padding-left: 33px;
	position: relative;
}
.monodukuri .copy::before {
	content: "";
	width: 21px;
	height: 1px;
	background: var(--mClr1);
	position: absolute;
	top: 13px;
	left: 0;
}
.monodukuri p {
	line-height: 2;
	letter-spacing: 0.03em;
	white-space: pre-line;
}
.monodukuri h3 {
	font: 700 3.4rem/1 var(--fJa);
	letter-spacing: 0.03em;
	padding-bottom: 30px;
	margin-bottom: 30px;
	position: relative;
}
.monodukuri h3::before {
	display: block;
	font: 700 1.2rem/1 var(--fEn);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mClr1);
	margin-bottom: 15px;
}
.monodukuri h3::after {
	content: "";
	width: 43px;
	height: 1px;
	background: var(--mClr1);
	position: absolute;
	top: 100px;
	left: 0;
}
@media screen and (max-width: 1340px) {
	.monodukuri .ttlArea {
		width: 95vw;
	}
	.monodukuri .ttlArea::before {
		width: 81.86vw;
	}
}
@media screen and (max-width: 840px) {
	.monodukuri .ttlArea {
		height: 300px;
	}
	.monodukuri .ttlArea h2 {
		font-size: 1.6rem;
		padding: 35px 50px 30px 0;
	}
	.monodukuri .ttlArea h2::before {
		font-size: 4rem;
	}
	.monodukuri .ttlArea h2::after {
		bottom: 58px;
	}
}
@media screen and (max-width: 640px) {
	.monodukuri {
		padding-bottom: 50px;
	}
	.monodukuri .ttlArea {
		margin: 0 0 30px auto !important;
		height: 200px;
	}
	.monodukuri .ttlArea::before {
		border-radius: 10px 0 0 10px;
	}
	.monodukuri .ttlArea h2 {
		font-size: 1.4rem;
		border-radius: 0 10px 10px 0;
		padding: 15px 30px 15px 0;
		bottom: 30px;
	}
	.monodukuri .ttlArea h2::before {
		font-size: 2.8rem;
		margin-bottom: 15px;
	}
	.monodukuri .ttlArea h2::after {
		width: 18px;
		height: 1px;
		bottom: 38px;
	}
	.monodukuri .ttl {
		font-size: 1.6rem;
		border-left: 4px solid var(--mClr1);
		padding: 5px 15px;
	}
	.monodukuri .copy {
		font-size: 1.4rem;
		padding-left: 22px;
	}
	.monodukuri .copy::before {
		width: 15px;
		top: 10px;
	}
	.monodukuri .read {
		padding: 20px;
		border-radius: 5px;
		margin-bottom: 30px;
	}
	.monodukuri h3 {
		font: 700 2rem/1 var(--fJa);
		margin-bottom: 15px;
	}
	.monodukuri h3::before {
		font: 700 1rem/1 var(--fEn);
		margin-bottom: 10px;
	}
	.monodukuri h3::after {
		width: 30px;
		top: 65px;
	}
}
/*-----------------------------------

	menu_block

-----------------------------------*/
#menu_block .contents_inner {
	max-width: none;
	width: 95vw;
}
#menu_block ul {
	display: flex;
	border-radius: 30px;
	overflow: hidden;
}
#menu_block ul li {
	width: 33.33%;
}
#menu_block ul li:not(:last-child) {
	border-right: 2px solid #FFF;
}
#menu_block ul li a {
	width: 100%;
	height: 370px;
	position: relative;
}
#menu_block ul li.menu01 a {
	background: url(../img/monodukuri/menu_bg01.jpg) no-repeat center center/cover;
}
#menu_block ul li.menu02 a {
	background: url(../img/monodukuri/menu_bg02.jpg) no-repeat center center/cover;
}
#menu_block ul li.menu03 a {
	background: url(../img/monodukuri/menu_bg03.jpg) no-repeat center center/cover;
}
#menu_block ul li a span {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #FFF url(../img/monodukuri/icon_menu_arrow.svg) no-repeat calc(100% - 25px) center/10px;
	border-radius: 0 20px 0 0;
	padding: 20px 60px 20px 30px;
	font: 700 2.2rem var(--fJa);
	letter-spacing: 0.03em;
	text-box: trim-both cap alphabetic;
}
#menu_block ul li a span::before {
	display: block;
	font: 700 1.2rem var(--fEn);
	letter-spacing: 0.06em;
	color: var(--mClr1);
	text-transform: uppercase;
	margin-bottom: 10px;
	text-box: trim-both cap alphabetic;
}
#menu_block ul li.menu01 a span::before {
	content: "Product Areas";
}
#menu_block ul li.menu02 a span::before {
	content: "MANUFACTURING PRODUCTION";
}
#menu_block ul li.menu03 a span::before {
	content: "Manufacturing hub";
}
@media screen and (max-width: 1200px) {
	#menu_block ul li a span {
		background-position: calc(100% - 20px) center;
		padding: 20px 45px 20px 15px;
		font-size: 1.8rem;
		letter-spacing: 0;
	}
	#menu_block ul li a span::before {
		font-size: 1.1rem;
		letter-spacing: 0.03em;
	}
}
@media screen and (max-width: 840px) {
	#menu_block ul li:not(:last-child) {
		border-right: none;
		border-bottom: 2px solid #FFF;
	}
	#menu_block ul li a {
		height: 220px;
	}
	#menu_block ul li a span {
		background-size: 8px;
		background-position: calc(100% - 15px) center;
		padding: 15px 40px 15px 15px;
		font-size: 1.9vw;
	}
	#menu_block ul li a span::before {
		font-size: 1.3vw;
		letter-spacing: 0;
		margin-bottom: 5px;
	}
}
@media screen and (max-width: 640px) {
	#menu_block ul {
		flex-direction: column;
		border-radius: 15px;
	}
	#menu_block ul li {
		width: 100%;
	}
	#menu_block ul li a {
		height: 200px;
	}
	#menu_block ul li a span {
		font-size: 1.6rem;
	}
	#menu_block ul li a span::before {
		font-size: 1rem;
	}
}
/*-----------------------------------

	product_block

-----------------------------------*/
#product_block .ttlArea::before {
	background: url(../img/monodukuri/product_hlbg.jpg) no-repeat center center/cover;
}
#product_block .ttlArea h2::before {
	content: "Product Areas";
}
#product_block .product_inner {
	display: flex;
	flex-wrap: wrap;
	gap: 60px 6.66%;
}
#product_block .product_inner .box {
	width: 46.67%;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
#product_block .product_inner .box img {
	border-radius: 20px;
}
@media screen and (max-width: 640px) {
	#product_block .product_inner {
		gap: 30px 0;
	}
	#product_block .product_inner .box {
		width: 100%;
		gap: 10px;
	}
	#product_block .product_inner .box img {
		border-radius: 10px;
	}
}
/*-----------------------------------

	manufacturing_block

-----------------------------------*/
#manufacturing_block .ttlArea::before {
	background: url(../img/monodukuri/manufacturing_hlbg.jpg) no-repeat center center/cover;
}
#manufacturing_block .ttlArea h2::before {
	content: "Manufacturing production";
}
#manufacturing_block .swiper {
	width: 100vw;
	margin: 0 calc(50% - 50vw) 60px;
}
#manufacturing_block .swiper .swiper-slide {
	width: min(1200px, 90%);
}
#manufacturing_block .swiper .swiper-slide img {
	border-radius: 20px;
	/*overflow: hidden;*/
	position: relative;
	z-index: -1;
}
/*#manufacturing_block .swiper .swiper-slide a .more {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: #231815;
	color: #FFF;
	border-radius: 4px;
	font-weight: 700;
	width: max-content;
	padding: 10px 10px 10px 20px;
	text-box: trim-both cap alphabetic;
}
#manufacturing_block .swiper .swiper-slide a .more::after {
	content: ">";
	margin-left: 10px;
}*/
.swiper-pagination {
	width: auto !important;
    left: 50% !important;
    top: auto !important;
    bottom: 20px !important;
    transform: translateX(-50%) !important;
	display:flex;
}
.swiper-pagination-bullet {
	width: 35px !important;
    height: 3px !important;
    margin: 0 3px !important;
    background: #FFFFFF !important;
    border-radius: calc(1px/0) !important;
	opacity: 1 !important;
}
.swiper-pagination-bullet-active {
	background: #82FFD2 !important;
}
#manufacturing_block .manufacturing_inner {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	margin-bottom: 60px;
}
#manufacturing_block .manufacturing_inner:nth-of-type(4) {
	flex-direction: row;
}
#manufacturing_block .manufacturing_inner > * {
	width: 46.67%;
}
#manufacturing_block .manufacturing_inner .text {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
#manufacturing_block .manufacturing_inner .image img {
	border-radius: 20px;
}
#manufacturing_block .contents_inner > .text {
	text-align: center;
	padding: 60px 0;
	position: relative;
	margin-bottom: 60px;
}
#manufacturing_block .contents_inner > .text::before,
#manufacturing_block .contents_inner > .text::after {
	content: "";
	width: 74px;
	height: 1px;
	background: var(--mClr1);
	position: absolute;
	left: calc(50% - 37px);
}
#manufacturing_block .contents_inner > .text::before {
	top: 0;
}
#manufacturing_block .contents_inner > .text::after {
	bottom: 0;
}
#manufacturing_block .contents_inner > .text p {
	font: 700 1.8rem/2 var(--fJa);
}
#manufacturing_block .qualitypolicy h3::before {
	content: "Quality policy";
}
#manufacturing_block .qualitypolicy .policy {
	margin-bottom: 60px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
#manufacturing_block .qualitypolicy .policy dl {
	display: flex;
	align-items: center;
	background: #EFF9F3;
	border-radius: 10px;
	padding: 15px 0;
}
#manufacturing_block .qualitypolicy .policy dl dt {
	width: 90px;
	font: 700 3.6rem/1 var(--fEn);
	color: var(--mClr1);
	text-align: center;
}
#manufacturing_block .qualitypolicy .policy dl dd {
	width: calc(100% - 90px);
	font: 700 2.6rem/1.61 var(--fJa);
	border-left: 1px solid var(--mClr3);
	padding: 0 30px;
}
#manufacturing_block .qualitypolicy .policy dl dd span {
	color: var(--mClr1);
}
#manufacturing_block .qualitypolicy .quality_inner {
	display: flex;
	flex-direction: row-reverse;
}
#manufacturing_block .qualitypolicy .quality_inner .text {
	width: 67%;
}
#manufacturing_block .qualitypolicy .quality_inner .text p {
	font: 700 1.8rem/1.66 var(--fJa);
	margin-bottom: 20px;
}
#manufacturing_block .qualitypolicy .quality_inner .text p span {
	color: var(--mClr1);
}
#manufacturing_block .qualitypolicy .quality_inner .text table {
	width: 100%;
}
#manufacturing_block .qualitypolicy .quality_inner .text table thead th {
	background: var(--mClr1);
	border: 1px solid var(--mClr1);
	padding: 10px 20px;
	color: #FFF;
	font-weight: 700;
	vertical-align: middle;
}
#manufacturing_block .qualitypolicy .quality_inner .text table tbody td {
	background: var(--mClr4);
	border: 1px solid var(--mClr1);
	padding: 10px 20px;
	line-height: 1.2;
	vertical-align: middle;
}
#manufacturing_block .qualitypolicy .quality_inner .text table tr:first-child td:nth-child(2) {
	text-align: center;
}
#manufacturing_block .qualitypolicy .quality_inner .image {
	width: 33%;
}
#manufacturing_block .qualitypolicy .quality_inner .image img {
	display: block;
	width: min(204px,80%);
	margin: 0 auto;
}
@media screen and (max-width: 1200px) {
	#manufacturing_block .qualitypolicy .policy dl dd br {
		display: none;
	}
}
@media screen and (max-width: 640px) {
	#manufacturing_block .ttlArea h2::before {
		content: "Manufacturing\Aproduction";
		white-space:pre;
	}
	#manufacturing_block .swiper {
		margin: 0 calc(50% - 50vw) 30px;
	}
	#manufacturing_block .swiper .swiper-slide img {
		border-radius: 10px;
	}
	/*#manufacturing_block .swiper .swiper-slide a .more {
		bottom: 10px;
		right: 10px;
		border-radius: 2px;
		font-size: 1.2rem;
		padding: 5px 5px 5px 10px;
	}
	#manufacturing_block .swiper .swiper-slide a .more::after {
		margin-left: 5px;
	}*/
	#manufacturing_block .manufacturing_inner {
		flex-direction: column-reverse !important;
		gap: 10px;
		margin-bottom: 40px;
	}
	#manufacturing_block .manufacturing_inner > * {
		width: 100%;
	}
	#manufacturing_block .manufacturing_inner .text {
		gap: 10px;
	}
	#manufacturing_block .manufacturing_inner .image img {
		border-radius: 10px;
	}
	#manufacturing_block .contents_inner > .text {
		padding: 30px 0;
		margin-bottom: 30px;
	}
	#manufacturing_block .contents_inner > .text p {
		font-size: 1.4rem;
		letter-spacing: 0;
	}
	#manufacturing_block .qualitypolicy .policy {
		margin-bottom: 40px;
		gap: 10px;
	}
	#manufacturing_block .qualitypolicy .policy dl {
		border-radius: 5px;
		padding: 10px 0;
	}
	#manufacturing_block .qualitypolicy .policy dl dt {
		width: 50px;
		font-size: 2.4rem;
	}
	#manufacturing_block .qualitypolicy .policy dl dd {
		width: calc(100% - 50px);
		font-size: 1.6rem;
		padding: 0 15px;
	}
	#manufacturing_block .qualitypolicy .quality_inner {
		flex-direction: column-reverse;
		gap: 20px;
	}
	#manufacturing_block .qualitypolicy .quality_inner .text {
		width: 100%;
	}
	#manufacturing_block .qualitypolicy .quality_inner .text p {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}
	#manufacturing_block .qualitypolicy .quality_inner .image {
		width: 100%;
	}
	#manufacturing_block .qualitypolicy .quality_inner .text table thead th {
		padding: 5px 10px;
	}
	#manufacturing_block .qualitypolicy .quality_inner .text table tbody td {
		padding: 5px 10px;
	}
}
/*-----------------------------------

	hub_block

-----------------------------------*/
#hub_block .ttlArea::before {
	background: url(../img/monodukuri/hub_hlbg.jpg) no-repeat center center/cover;
}
#hub_block .ttlArea h2::before {
	content: "Manufacturing hub";
}
#hub_block .factory {
	margin-bottom: 100px;
}
#hub_block .factory h3::before {
	content: "Kofu Operations";
}
#hub_block .technocenter h3::before {
	content: "Kofu TechnoCenter";
}
#hub_block .image {
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin: 60px 0;
}
#hub_block ul {
	display: flex;
	justify-content: space-between;
}
#hub_block ul li {
	width: 30.4%;
}
#hub_block ul li img {
	border-radius: 20px;
	margin-bottom: 10px;
}
@media screen and (max-width: 640px) {
	#hub_block .image {
		border-radius: 10px;
		margin: 30px 0;
	}
	#hub_block ul {
		flex-direction: column;
		gap: 20px;
	}
	#hub_block ul li {
		width: 100%;
	}
	#hub_block ul li img {
		border-radius: 10px;
		margin-bottom: 5px;
	}
}


/*****モーダル*****/

/* クリック判定を確実に通すための設定 */
.modal-trigger {
    cursor: pointer;
    position: relative;
    z-index: 10; /* スライド内での重なり順を上げる */
}

/* モーダル表示中は背景のSwiperを操作させない（任意） */
body.modal-open {
    overflow: hidden;
}
.modal_overlay {
	/* ▼▼▼ 重要：ここを追加！画面全体に固定するために必須 ▼▼▼ */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* ▲▲▲ 追加終わり ▲▲▲ */
	display: flex;
	/* 常駐させるが... */
	visibility: hidden;
	/* 見えなくする */
	opacity: 0;
	/* 透明にする */
	transition: opacity 0.3s ease, visibility 0.3s ease;
	background-color: rgba(0, 0, 0, 0.8);
	/* 背景を暗く */
	z-index: 1000;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
}
.modal_overlay.active {
	visibility: visible;
	opacity: 1;
	background-color: #fff;
}

.modal_content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	text-align: center;

	/* ▼▼▼ 初期状態：少し小さくしておく ▼▼▼ */
	transform: scale(0.8);
	opacity: 0;

	/* ▼▼▼ ぶわっと出るアニメーション設定 ▼▼▼ */
	/* cubic-bezierを使うと、少し勢いよくボヨンと出る動きになります */
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.modal_overlay.active .modal_content {
	transform: scale(1);
	/* 元のサイズに戻る */
	opacity: 1;
}

.close_icon {
	position: absolute;
	top: -60px;
	right: 0;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	padding: 10px;
}

.modal_content img {
	max-width: 100%;
	max-height: 90vh;
	/* 画面からはみ出さないように */
	display: block;
	margin: 0 auto;
	/* 中央寄せ */
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	background: #fff;

}

.close_btn {
	position: absolute;
	top: -40px;
	right: 0;
	color: #231815;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}


