/*
 * freemium_axis_showcase.css
 * フリーミアムモデルとは｜無料プランを線引きする3つの軸のミニビジュアル
 * 静的な図解に近いが、利用量メーターだけ数値がループでアニメーションする。
 * 既存サイトのクラスと衝突しないよう fax- を接頭辞にしています。
 */

#fax-showcase {
	margin: 1.6rem 0;
}

#fax-showcase *,
#fax-showcase *::before,
#fax-showcase *::after {
	box-sizing: border-box;
}

.fax-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .9rem;
}

.fax-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .35rem;
	padding: 1.1rem .8rem 1.2rem;
	border-radius: 1rem;
	background: #f8f8fd;
	border: .08rem solid #e5e3f7;
}

.fax-card__icon {
	font-size: 1.6rem;
	line-height: 1;
	margin-bottom: .2rem;
}

.fax-card__title {
	font-size: .86rem;
	font-weight: 800;
	color: #12233f;
}

.fax-card__desc {
	font-size: .7rem;
	color: #667;
	line-height: 1.6;
	margin-bottom: .5rem;
}

.fax-meter {
	width: 100%;
}

.fax-meter__track {
	width: 100%;
	height: .6rem;
	border-radius: 999px;
	background: #e8e7f6;
	overflow: hidden;
	margin-bottom: .35rem;
}

.fax-meter__fill {
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background: linear-gradient(90deg, #635bff, #8f7bff);
}

.fax-meter__label {
	display: block;
	font-family: 'Courier New', monospace;
	font-size: .72rem;
	font-weight: 700;
	color: #445;
}

.fax-tiles,
.fax-seats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
}

.fax-tile,
.fax-seat {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: .55rem;
	font-size: 1rem;
	background: #eef0fa;
}

.fax-seat {
	border-radius: 50%;
}

.fax-tile.is-free,
.fax-seat.is-free {
	background: #eafaf1;
	box-shadow: inset 0 0 0 .09rem #7cd6a4;
}

.fax-tile.is-locked,
.fax-seat.is-locked {
	background: #f2f2f6;
	color: #b7bac9;
	filter: grayscale(1);
	opacity: .8;
}

.fax-tile__lock,
.fax-seat__lock {
	position: absolute;
	right: -.25rem;
	bottom: -.25rem;
	font-size: .62rem;
	filter: none;
}

@media screen and (max-width: 640px) {
	.fax-grid {
		grid-template-columns: 1fr;
	}
}
