@charset "utf-8";
/* =========================================================================================
Layout
=========================================================================================*/
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
MAIN VISUAL
=========================================================================================*/
.main-visual {
	position: relative;
	margin-bottom: 50px;
}
/*slider*/
.main-visual .swiper {
	padding: 0;
	margin: 0;
}
.main-visual .swiper-wrapper {
	/* wrapperのサイズを調整 */
	width: 100%;
	height: auto;
}
.main-visual .swiper-slide {
	/* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
	width: 100%;
	aspect-ratio: 1920 / 695;
}
.main-visual .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media only screen and (max-width: 820px) {
	.main-visual {
		margin-bottom: 25px;
	}
}
@media only screen and (max-width: 468px) {
}

/*btn-area*/
.main-visual .btn-area {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
}
.main-visual .btn-area ul {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}
.main-visual .btn-area li {
	width: calc(100% / 3);
	overflow: hidden;
}
.main-visual .btn-area li a {
	color: #fff;
	font-size: clamp(1.875rem, calc(0.097rem + 2.903vw), 3rem); /* min: 30px, max: 48px */
	font-weight: var(--black-font-weight);
	text-align: center;
	line-height: 1.4;
	letter-spacing: 0.05em;
	width: 100%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	padding: 1em 10% 1em 0.5em;
	position: relative;
	z-index: 5;
}
.main-visual .btn-area li a::before {
	content: "";
	width: 40%;
	max-width: 180px;
	background-image: url(../images/common/object_gear_s.svg);
	aspect-ratio: 1 / 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	mix-blend-mode: soft-light;
	position: absolute;
	top: 0;
	right: 0;
	translate: 30% -30%;
	z-index: -1;
	opacity: 0.7;
	transition: 0.3s;
}
.main-visual .btn-area li a::after {
	content: "";
	width: 0.5em;
	aspect-ratio: 2 / 3;
	background: #fff;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	border-radius: 0.1em;
	position: absolute;
	top: 50%;
	right: 5%;
	translate: 0 -50%;
	z-index: 1;
	transition: 0.3s;
}
.main-visual .btn-area li a:hover {
	text-decoration: none;
}
.main-visual .btn-area li.exhibitor a {
	background: var(--blue);
}
.main-visual .btn-area li.event a {
	background: var(--pink);
}
.main-visual .btn-area li.interview a {
	font-size: clamp(1.875rem, calc(1.282rem + 0.968vw), 2.25rem); /* min: 30px, max: 36px */
	background: var(--green);
}
.main-visual .btn-area a:hover {
	opacity: 0.8;
}
.main-visual .btn-area li a:hover::before,
.main-visual .btn-area li a:hover::after {
	scale: 1.2;
}
@media only screen and (max-width: 820px) {
	.main-visual .btn-area li.exhibitor,
	.main-visual .btn-area li.event {
		width: 50%;
	}
	.main-visual .btn-area li {
		width: 100%;
	}
	.main-visual .btn-area li a,
	.main-visual .btn-area li.interview a {
		font-size: clamp(1.5rem, calc(1.184rem + 1.348vw), 1.875rem); /* min: 24px, max: 30px */
		padding: 1em 1.25em 1em 0.5em;
	}
	.main-visual .btn-area li a::before {
		content: "";
		width: 100px;
	}
	.main-visual .btn-area li a::after {
		content: "";
		width: 0.5em;
		right: 0.75em;
	}
}
@media only screen and (max-width: 468px) {
	.main-visual .btn-area li.exhibitor,
	.main-visual .btn-area li.event {
		width: 100%;
	}
}

/* =========================================================================================
News
=========================================================================================*/
section.news .btn {
	width: 100%;
	justify-content: right;
}
section.news::before,
section.news::after {
	content: "";
	aspect-ratio: 1 / 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	mix-blend-mode: multiply;
	position: absolute;
	z-index: -1;
}
section.news::before {
	width: 15%;
	max-width: 260px;
	background-image: url(../images/common/object_gear_s.svg);
	left: -5%;
	bottom: 0;
}
section.news::after {
	width: 40%;
	max-width: 530px;
	background-image: url(../images/common/object_gear_l.svg);
	top: 5%;
	right: -10%;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
For-buyer
=========================================================================================*/
section.for-buyer {
	text-align: center;
}
section.for-buyer h2 {
	font-size: clamp(1.667rem, calc(1.011rem + 3.146vw), 2.444rem); /* min: 30px, max: 44px */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 1em;
}
section.for-buyer h2 .sub {
	color: var(--main-color);
	font-weight: var(--black-font-weight);
	line-height: 1.6;
	position: relative;
	z-index: 1;
}
section.for-buyer h2 .sub::before,
section.for-buyer h2 .sub::after {
	content: "";
	width: 2px;
	height: 80%;
	background: var(--main-color);
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	z-index: 1;
}
section.for-buyer h2 .sub::before {
	transform: rotate(-20deg);
	left: -0.5em;
}
section.for-buyer h2 .sub::after {
	transform: rotate(20deg);
	right: -0.5em;
}
section.for-buyer h2 .main {
	font-weight: var(--black-font-weight);
}
section.for-buyer .box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 50px 7.5%;
	padding-block: 50px 100px;
	translate: 10px 0;
}
section.for-buyer .box .item {
	color: #fff;
	width: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 20px 40px;
	position: relative;
	z-index: 5;
}
section.for-buyer .box .item::before {
	/*背景*/
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	clip-path: polygon(0% 25%, 8% 0%, 0% 0%, 0% 0%, 100% 0, 100% 0%, 100% 75%, 92% 100%, 100% 100%, 0% 100%, 0 100%, 0% 100%);
}
section.for-buyer .box .item.pink::before {
	background: var(--pink);
}
section.for-buyer .box .item.green::before {
	background: var(--green);
}
section.for-buyer .box .item::after {
	/*線*/
	content: "";
	width: 100%;
	height: 100%;
	border: 2px solid var(--base-font-color);
	position: absolute;
	top: -14px;
	left: -14px;
	z-index: 10;
	clip-path: polygon(0% 30%, 10% 0%, 0% 0%, 0% 0%, 100% 0, 100% 0%, 100% 75%, 92% 100%, 100% 100%, 0% 100%, 0 100%, 0% 100%);
}
section.for-buyer .box .item h3 {
	font-size: 1.1em;
	line-height: 1.4;
	border-top: 1px solid;
	border-bottom: 1px solid;
	padding: 0.2em 0.25em;
	margin-bottom: 0.25em;
}
section.for-buyer .box .item h3::before,
section.for-buyer .box .item h3::after {
	/*斜め*/
	content: "";
	width: 2px;
	background: var(--base-font-color);
	position: absolute;
	transform: rotate(43deg);
	transform-origin: center;
	z-index: 10;
}
section.for-buyer .box .item h3::before {
	height: 78px;
	top: -30px;
	left: 4px;
}
section.for-buyer .box .item h3::after {
	height: 74px;
	bottom: -4px;
	right: 30px;
}
section.for-buyer .buyer-form {
	display: flex;
	align-items: center;
	justify-content: center;
}
section.for-buyer .buyer-form a:hover {
	opacity: 0.7;
}
@media only screen and (max-width: 820px) {
	section.for-buyer .box {
		padding-block: 50px 75px;
	}
}
@media only screen and (max-width: 468px) {
	section.for-buyer .box {
		gap: 30px;
		padding-block: 50px;
	}
}

/* =========================================================================================
Event
=========================================================================================*/
section.event .inner {
	max-width: var(--large-contents-width);
}
section.event .box {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: space-between;
	gap: 50px 5%;
}
section.event .box .item {
	width: calc((100% - 5%) / 2);
	max-width: 720px;
	position: relative;
	z-index: 1;
}
section.event .box .item .text {
	width: 350px;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: left;
	gap: 20px;
	position: absolute;
	right: 0;
	bottom: 7.5%;
	z-index: 5;
}
section.event .box .item .text h3 {
	font-weight: var(--black-font-weight);
	line-height: 1.4;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: left;
	gap: 0.5em;
}
section.event .box .item .text h3 span {
	color: #fff;
	display: inline-block;
	background: var(--base-font-color);
	padding: 0.25em 10px;
}
section.event .box .item .text h3 span.sub {
	font-size: 1em;
}
section.event .box .item .text h3 span.main {
	font-size: clamp(1.556rem, calc(1.228rem + 1.573vw), 1.944rem); /* min: 28px, max: 35px */
	width: 100%;
}
section.event .box .item .image {
	width: 80%;
	max-width: 480px;
	min-width: 350px;
	padding-bottom: calc(300px - 20vw);
}
section.event .box .item .image a {
	display: block;
	overflow: hidden;
}
section.event .box .item .image a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}
section.event .box .item .image a:hover img {
	scale: 1.2;
}
/*ものづくりパーク*/
section.event .box .item.manufacturing .text h3 span {
	background: var(--blue);
}
/*体験ブース*/
section.event .box .item.experience .text h3 span {
	background: var(--pink);
}
section.event .box .item.experience .text h3 span.main {
	letter-spacing: 0.25em;
}
/*こどもものづくり教室*/
section.event .box .item.classroom .text h3 span {
	background: var(--orange);
}
/*ものづくり親子見学会*/
section.event .box .item.tour .text h3 span {
	background: var(--green);
}
/*飲食コーナー*/
section.event .box .item.food .text h3 span {
	background: var(--purple);
}
section.event .box .item.food .text h3 span.main {
	letter-spacing: 0.25em;
}
/*お仕事体験*/
section.event .box .item.work .text h3 span {
	background: var(--blue-green);
}
section.event .box .item.work .text h3 span.main {
	letter-spacing: 0.25em;
}
@media only screen and (max-width: 820px) {
	section.event .box {
		justify-content: center;
		gap: 30px;
	}
	section.event .box .item {
		width: 100%;
		min-height: 350px;
		max-width: 600px;
	}
	section.event .box .item .image {
		min-width: 400px;
		padding-bottom: calc(220px - 20vw);
	}
}
@media only screen and (max-width: 468px) {
	section.event .box {
		gap: 20px;
	}
	section.event .box .item {
		min-height: auto;
		display: flex;
		flex-direction: column-reverse;
		gap: 0;
	}
	section.event .box .item .text {
		width: 100%;
		position: static;
		translate: 0 -20px;
	}
	section.event .box .item .text h3 span.main {
		width: fit-content;
		max-width: calc(100% - 115px);
	}
	section.event .box .item .text .btn {
		position: absolute;
		right: 0;
		bottom: 0;
		z-index: 10;
	}
	section.event .box .item .image {
		width: 100%;
		min-width: auto;
		padding: 0 !important;
	}
}

/* =========================================================================================
Special
=========================================================================================*/
section.special {
	position: relative;
}
section.special::before,
section.special::after {
	content: "";
	aspect-ratio: 1 / 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	mix-blend-mode: multiply;
	position: absolute;
	z-index: -1;
}
section.special::before {
	width: 25%;
	max-width: 260px;
	background-image: url(../images/common/object_gear_l.svg);
	left: -2.5%;
	bottom: 0;
}
section.special::after {
	width: 30%;
	max-width: 375px;
	background-image: url(../images/common/object_gear_s.svg);
	top: 5%;
	right: -5%;
}
section.special .inner {
	max-width: 1100px;
}
section.special .box {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: stretch;
	gap: 50px 7.5%;
}
section.special .box h3 {
	color: rgba(0, 0, 0, 0) /*文字隠し対策で透明に*/;
	font-size: 1.25em;
	font-weight: var(--black-font-weight);
	writing-mode: vertical-lr;
	text-indent: -9999px;
	width: 100%;
	max-width: 90px;
	aspect-ratio: 98 / 1065;
	background: url(../images/special_title.svg) no-repeat center;
	background-size: contain;
	margin: 0 auto;
}
section.special .box .item {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
	gap: 2em;
}

@media only screen and (max-width: 820px) {
	section.special .box {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2em;
	}
	section.special .box h3 {
		min-width: 70%;
		aspect-ratio: 335 / 155;
		background: url(../images/special_title_mb.svg) no-repeat center;
		background-size: contain;
		margin: 0 auto;
	}
	section.special .box .item {
		text-align: center;
		align-items: center;
		justify-content: center;
	}
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Live
=========================================================================================*/
section.live p {
	text-align: center;
	margin-bottom: 2em;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}
