@charset "utf-8";

/*
--------------------
メインビュー
--------------------
*/
.swiper-pagination {
	/*widthを初期化*/
	width: initial !important;
	right: 60px !important;
	left: unset !important;
}

.swiper-slide img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

.mainView {
	width: 100%;
	max-width: 1400px;
	aspect-ratio: 480 / 191;
	margin: auto;
	padding: 0;
	position: relative;
}

.mainView_imgWrapper {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.mainView_img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

/*
--------------------
ニュース
--------------------
*/
.top-news {
	background: #fefefe;
	z-index: 10;
	position: relative;
}
/*
--------------------
製品
--------------------
*/
.ourProducts {
	/* background-color: #F0F5F5; */
	background-image: -webkit-linear-gradient(
		340.4deg,
		rgba(240, 245, 245, 1) 11.2%,
		rgb(204, 232, 232) 100.2%
	);
	background-image: -o-linear-gradient(
		340.4deg,
		rgba(240, 245, 245, 1) 11.2%,
		rgb(204, 232, 232) 100.2%
	);
	background-image: linear-gradient(
		109.6deg,
		rgba(240, 245, 245, 1) 11.2%,
		rgb(204, 232, 232) 100.2%
	);
}

.products__img img {
	aspect-ratio: 1 / 1;
	-o-object-fit: cover;
	object-fit: cover;
}
.products__img {
	margin-bottom: 7px;
	overflow: hidden;
}

.products {
	margin-bottom: 43px;
}

.products__item:hover img {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

.products__ttl {
	font-size: 25px;
	line-height: 1.1;
	margin-bottom: 12px;
}
.products__ttl > span,
.products__desc {
	font-size: var(--font_small);
	color: var(--gray-txt);
}
/*
--------------------
メディア
--------------------
*/

.media .flexContainer {
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
}
.media .flexContainer__item {
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

.mediaCards {
	margin-bottom: 43px;
}

.mediaCards.swiper {
	overflow: hidden;
	/* width: calc(68.57143vw * 0.67 + 15.714285vw); */
}

.swiper-wrapper {
	/* overflow: hidden; */
}
.mediaCards__item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.mediaCards__item:hover img {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}
.mediaCards__img {
	overflow: hidden;
}

.mediaCards--top .mediaCards__item {
	/* margin-right: calc(68.57143vw * 0.035); */
}
.mediaCards__img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	aspect-ratio: 1 / 1;
	/* margin-bottom: 3px; */
}
.mediaCards__item p:first-of-type {
	font-size: var(--font_middle);
}
.mediaCards__item p:last-of-type {
	font-size: var(--font_small);
}
.mediaCards__item:first-child p:first-of-type {
	font-size: 25px;
}
.mediaCards__item:first-child p:last-of-type {
	font-size: var(--font_small);
}

.mediaCards__info {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-size: var(--font_small);
	letter-spacing: 0.01em;
}

.mediaCards__info > time {
	margin-top: 3px;
	color: var(--gray-txt);
	padding-right: 10px;
	position: relative;
}
.mediaCards__info > time::after {
	position: absolute;
	content: '';
	width: 1px;
	height: 11px;
	left: 100%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background: var(--gray-txt);
}

.mediaCards__ttl {
	font-size: var(--font-lg);
}

.mediaCards__img {
	position: relative;
}

.mediaCards__category {
	color: var(--gray-txt);
	padding: 3px 2px 0px 3px;
	margin-left: 10px;
}

@media (min-width: 768px) {
	.mediaCards--top .mediaCards__item {
		/* width: calc(68.57143vw * 0.34); */
	}
}
/*
--------------------
メディア > 記事
--------------------
*/
.articleImg {
	/*
	height: min(calc(100vh - 208px), 100vw);
	width: min(calc(100vh - 208px), 100vw); */
	width: min(calc(100vh - 208px), 50%);
}
.articleImg2 {
	width: min(calc(100vh - 208px), 80%);
}
.image_2 {
	margin-top: 45px;
}

.articleTtl {
	margin-top: 50px;
	font-size: var(--font_bg);
	text-align: center;
}

.articleInfo {
	margin-top: 17px;
	font-size: var(--font_small);
	color: var(--gray-txt);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.articleInfo > time {
	padding-right: 10px;
	position: relative;
}

.articleInfo > time:after {
	position: absolute;
	content: '';
	width: 1px;
	height: 11px;
	left: 100%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background: var(--gray-txt);
}

.articleInfo_category {
	margin-left: 10px;
}

.articleCtt {
	margin-inline: auto;
	max-inline-size: max-content;
	margin-top: 55px;
}

@media (max-width: 768px) {
	.articleTtl {
		font-size: var(--font-lg);
	}
}

.NewsTitle {
	width: 100%;
	text-align: center;
}

.NewsContent {
	/* width: 50%; */
	margin: 0 auto;
}

.NewsContent_main {
	width: 100%;
	margin: 0 auto;
}

.swiper-container {
	position: relative;
}
.swiper-pagination {
	bottom: -40px !important;
	position: absolute;
}
.swiper-wrapper {
	aspect-ratio: 480 / 191;
}

.swiper-pagination {
	opacity: 1 !important;
	z-index: 999 !important; /* 他の要素に隠れていないか確認 */
}

.products__ttl--sub {
	margin-left: -10px;
}

@media screen and (max-width: 768px) {
	.mainView {
		aspect-ratio: 1 / 1;
		width: 100%;
		margin-top: 0;
	}

	.swiper-wrapper {
		aspect-ratio: 1 / 1;
	}

	.mainView_imgWrapper {
		width: 100%;
		height: 100%;
		margin-top: 0;
	}

	.mainView_img,
	.swiper-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		margin-top: 0;
	}
}

@media only screen and (max-width: 1024px) {
	main {
		margin-top: 0;
	}

	.mainView {
		margin-top: 0;
	}
}

/*
--------------------
ニュース
--------------------
*/

.newsList a {
	padding: 0 50px;
}
.NewsContentWrapper {
	max-width: 450px; /* コンテンツの最大幅を設定 */
	margin: 0 auto; /* 左右のマージンを自動で設定して中央配置 */
}

.newsMore {
	padding-left: 45px; /* NEWSの本文と同じ左パディングを設定 */
}

@media screen and (max-width: 768px) {
	.newsList a {
		padding: 0 25px;
	}
	.NewsContentWrapper {
		max-width: 330px; /* コンテンツの最大幅を設定 */
	}
	.newsMore {
		padding-left: 25px; /* モバイル時のパディングを調整 */
	}
}
.NewsTitle,
.newsList,
.newsMore {
	text-align: left; /* 内部のテキストは左揃え */
}

/*
--------------------
プロダクト
--------------------
*/
/* 製品の基本レイアウト */
.col3.products {
	display: grid;
	gap: 3.5%;
	grid-template-columns: repeat(3, 1fr);
}

/* 製品画像の統一サイズ設定 */
.products__img {
	width: 100%;
	position: relative;
	padding-top: 100%;
	overflow: hidden;
	margin-bottom: 7px;
}

.products__img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* タブレット用のレイアウト調整 */
@media (max-width: 1023px) and (min-width: 769px) {
	.section__inner {
		width: 85%;
		margin: 0 auto;
	}

	.col3.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 4%;
		row-gap: 40px;
	}

	.products__item {
		max-width: 100%;
		margin: 0 auto;
	}
}

/* スマートフォン用のレイアウト */
@media (max-width: 768px) {
	.section.ourProducts .section__inner {
		width: 85%;
		max-width: 500px;
		margin: 0 auto;
		padding: 0;
	}

	.col3.products {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.products__item {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}

	/* スマホ版での画像サイズ調整 */
	.products__img {
		width: 100%;
		padding-top: 100%;
		margin-bottom: 7px;
	}

	/* 説明文の調整 */
	.products__desc-wrapper {
		width: 100%;
		margin: 0.5em auto 0;
	}
}

/* 共通のスタイル */
.products__ttl {
	font-size: 25px;
	line-height: 1.1;
	margin-bottom: 12px;
	text-align: center;
}

.products__ttl--sub {
	display: block;
	font-size: var(--font_small);
	color: var(--gray-txt);
	margin-top: 5px;
}

.products__desc {
	text-align: center;
	margin: 0;
	line-height: 1.5;
}

/* ホバーエフェクト */
.products__item:hover .products__img img {
	transform: scale(1.1);
	transition: transform 0.6s ease;
}
.products__desc-spacer {
	height: 1em;
	margin: 0;
}
