@charset "UTF-8";

/* 全体のセンタリングと余白 */
.case-area{
	text-align: center;
	padding: 30px 20px;
}

/* タイトル部分 */
.case-area h2.second-top-page-title {
	font-family: 'Jost';
	font-size: 30px;
	letter-spacing: 3px;
	margin-bottom: 10px;
	color: #3f3f3f;
	border-bottom: none;
}

.case-area p.second-top-page-subtitle {
	color: #3f3f3f;
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 40px;
}

/* カード全体を横並び＋レスポンシブ対応 */
.case-flex-area {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

/* 各カードのスタイル */
.contents-menu-box {
	width: 280px;
	border-radius: 15px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	text-align: left;
}

/* 調整用の各カードのスタイル */
.empty-contents-menu-box {
	width: 280px;
}

/* 各カードのスタイル */
.contents-menu-box:hover {
	text-decoration: none;
}

/* ホバー時の動き */
.contents-menu-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 画像部分 */
.contents-menu-box img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

/* テキスト＋アイコン部分 */
.contents-menu-box div {
	background-color: #0088a9;
	color: #fff;
	padding: 5px 10px;
	position: relative;
	height: 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* 英語タイトル */
.contents-menu-box div p.en-title {
	margin: 0px;
	font-family: "Jost";
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 1px;
	text-align: center;
}

/* 日本語サブタイトル */
.contents-menu-box div p.jp-title {
	margin: 0px;
	text-align: center;
	letter-spacing: 0.15em;
	font-size: 10px;
}

/* アイコンの配置 */
.contents-menu-box i {
	position: absolute;
	bottom: 8px;
	right: 8px;
	font-size: 14px;
	background: #fff;
	color: #0088a9;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* PSI 画像位置調整 */
.contents-menu-box.psi-box img {
	object-position: 90% 100%;
}

/* RFID 画像位置調整 */
.contents-menu-box.rfid-box img {
	object-position: 30% 100%;
}

/* WEB PEYMENT 画像位置調整 */
.contents-menu-box.payment-box img {
	object-position: 50% 10%;
}


/* タブレットレイアウト */
@media screen and (min-width:768px) and (max-width:1049.99px) {
	.contents-menu-box {
		width: 100%;
		max-width: 450px;
	}

	/* 各コンテンツイメージ画像の高さ調整 */
	.contents-menu-box img {
		height: 330px;
	}
}

/* スマートフォンレイアウト */
@media screen and (max-width: 767px) {

	/* 各コンテンツの幅調整 */
	.contents-menu-box {
		width: 100%;
		max-width: 450px;
	}

	/* 各コンテンツイメージ画像の高さ調整 */
	.contents-menu-box img {
		height: 240px;
	}
}