@charset "utf-8";
/* /chart/: live price table (「価格で選ぶ」) and the LINE CTA. The root font size is 62.5% (1rem = 10px). */

/* ---- chart images ---- */

/* The chart images have no width/height. Reserve their space so the text below doesn't jump
   while they load (CLS), now that the chart is in the page HTML. Sizes are the image files' own. */
.character_w img,
.character_b img,
.character_b2 img {
	aspect-ratio: 1 / 1;
}

.mokume_b img {
	aspect-ratio: 720 / 250;
}

.hardness p img {
	box-sizing: content-box;
	width: 500px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 500 / 40;
}

.chart_title img {
	width: 512px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 512 / 36;
}

/* ---- price table ---- */

.chartPrice {
	margin: 15px 0 0;
	padding: 16px;
	border: 1px solid #e0d9bd;
	background: #f9f7f4;
}

.chartPrice__lead {
	margin: 0 0 12px;
}

.chartPrice__br {
	display: none;
}

.chartPrice__presets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.chartPrice__preset {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 6px 4px;
	border: 1px solid #b9ae8c;
	border-radius: 6px;
	background: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	color: #333;
	cursor: pointer;
}

.chartPrice__preset[aria-pressed="true"] {
	border-color: #000300;
	background: #000300;
	color: #fff;
}

.chartPrice__presetSize {
	font-size: 1.2rem;
	font-weight: 400;
}

.chartPrice__custom {
	margin: 12px 0 0;
}

.chartPrice__custom summary {
	display: inline-block;
	font-size: 1.4rem;
	text-decoration: underline;
	cursor: pointer;
}

.chartPrice__fields {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 12px 0 0;
}

.chartPrice__field {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
}

.chartPrice__field input {
	width: 6.5em;
	min-height: 44px;
	padding: 4px 8px;
	border: 1px solid #b9ae8c;
	border-radius: 4px;
	background: #fff;
	font-size: 1.6rem; /* 16px keeps iOS from zooming in on focus */
	text-align: right;
}

.chartPrice__btn {
	min-height: 44px;
	padding: 8px 28px;
	border: 0;
	border-radius: 4px;
	background: #000300;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
}

.chartPrice__note {
	margin: 12px 0 0;
	font-size: 1.3rem;
	color: #555;
}

.chartPrice__cond {
	font-weight: 400;
}

.chartPrice__table td {
	padding-top: 6px;
	padding-bottom: 6px;
	vertical-align: middle;
}

/* One line in every state, so rows don't move when a price arrives. */
.chartPrice__table td.chartPrice__cell {
	height: 2.4em;
	line-height: 1.5;
}

.contents .article a.chartPrice__buy {
	display: inline-block;
	padding: 2px 10px;
	border: 1px solid #b9ae8c;
	border-radius: 4px;
	background: #fff;
	font-weight: 700;
	color: #333;
	text-decoration: none;
}

.contents .article a.chartPrice__buy::after {
	content: "›";
	margin-left: .5em;
	color: #999;
}

.contents .article a.chartPrice__buy:hover {
	border-color: #333;
}

.chartPrice__muted,
.chartPrice__cell--none {
	font-size: .9em;
	color: #777;
}

@media (max-width: 480px) {
	.chartPrice {
		padding: 12px;
	}

	.chartPrice__br {
		display: inline;
	}

	.chartPrice__preset {
		font-size: 1.3rem;
	}

	.chartPrice__presetSize {
		font-size: 1.1rem;
	}

	.chartPrice__field input {
		width: 5.5em;
	}

	.chartPrice__btn {
		width: 100%;
	}
}

/* ---- LINE banner between the price and the colour chart ---- */

.chartLineMid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	margin: 32px 0;
	padding: 16px;
	border: 2px solid #06c755;
	border-radius: 12px;
	background: #f2fbf5;
}

.chartLineMid__img {
	width: 72px;
	height: 54px;
	border-radius: 6px;
	object-fit: cover;
}

.chartLineMid__text {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.6;
	color: #1e3a2b;
}

.chartLineMid__br {
	display: none;
}

.contents .article a.chartLineMid__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 8px 20px;
	border-radius: 10px;
	background: #06c755;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.contents .article a.chartLineMid__btn:hover {
	background: #05b94f;
}

.chartLineMid__btn i {
	font-size: 2.2rem;
}

@media (max-width: 480px) {
	.chartLineMid__br {
		display: inline;
	}

	.chartLineMid__text {
		flex: 1 1 180px;
		font-size: 1.5rem;
	}

	.contents .article a.chartLineMid__btn {
		width: 100%;
		justify-content: center;
	}
}

/* ---- LINE CTA ---- */

.chartLine {
	clear: both;
	margin: 48px 0 24px;
	padding: 32px 16px;
	border-radius: 16px;
	background: linear-gradient(160deg, #2f5a40 0%, #1e3a2b 100%);
	color: #fff;
	text-align: center;
}

.chartLine__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: .12em;
	color: #e1edd4;
}

.chartLine__eyebrow i {
	font-size: 2.4rem;
	color: #fff;
}

.article h3.chartLine__ttl {
	margin: 8px 0 0;
	border: 0;
	font-size: 2.1rem;
	line-height: 1.5;
	color: #fff;
}

.chartLine__lead {
	margin: 8px 0 0;
	font-size: 1.5rem;
	line-height: 1.8;
	color: #eef4e8;
}

.chartLine__features {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.chartLine__feature {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 10px;
	border-radius: 12px;
	background: #fbf8f1;
	color: #27302a;
}

.chartLine__feature img {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	border-radius: 8px;
	object-fit: cover;
}

.chartLine__featureTtl {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	color: #1e3a2b;
}

.chartLine__featureText {
	margin: 4px 0 0;
	font-size: 1.3rem;
	line-height: 1.6;
	color: #4d5750;
}

.contents .article a.chartLine__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 420px;
	min-height: 60px;
	margin: 24px auto 0;
	padding: 12px 20px;
	border-radius: 14px;
	background: #06c755;
	box-shadow: 0 4px 0 #04a347;
	font-size: 1.8rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s, background-color .15s;
}

.contents .article a.chartLine__btn:hover {
	background: #05b94f;
	box-shadow: 0 2px 0 #04a347;
	transform: translateY(2px);
}

.contents .article a.chartLine__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.chartLine__btn i {
	font-size: 2.6rem;
}

.chartLine__note {
	margin: 12px 0 0;
	font-size: 1.2rem;
	color: #e1edd4;
}

@media (min-width: 768px) {
	.chartLine {
		padding: 40px 32px;
	}

	.article h3.chartLine__ttl {
		font-size: 2.8rem;
	}

	.chartLine__features {
		grid-template-columns: repeat(3, 1fr);
	}

	.chartLine__feature {
		flex-direction: column;
		align-items: stretch;
		padding: 0 0 16px;
		overflow: hidden;
	}

	.chartLine__feature img {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		border-radius: 0;
	}

	.chartLine__featureBody {
		padding: 0 16px;
	}
}
