/* .product-catch-text */
.product-catch-text {
	font-size: clamp(1.5rem, 1.187rem + 1.34vw, 1.938rem);
	font-weight: 300;
	margin: 0 0 min(70px, 8vw);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	/* WebKit font rendering */
}

/* .product-header */
.product-header {
	display: grid;
	grid-template-columns: 41.67vw 1fr;
	/* cqw → vw に変更 */
	gap: 8.33vw;
	/* cqw → vw に変更 */
	align-items: start;
	margin-bottom: min(200px, 26.67vw);

	@media screen and (max-width: 899px) {
		grid-template-columns: 1fr;
		gap: 8vw;
	}
}

/* .swiper-slide[data-label]:first-of-type::before */
.swiper-slide[data-label]:first-of-type::before {
	content: "";
	display: block;
	position: absolute;
	width: 23%;
	height: 0;
	padding-top: 23%;
	/* aspect-ratioをpadding-topで代替 */
	left: 4%;
	top: 4%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	-webkit-mask-image: none;
	/* Ensure mask compatibility */
}

/* .swiper-slide[data-label*="new"]:first-of-type::before */
.swiper-slide[data-label*="new"]:first-of-type::before {
	background-image: url(/wp-content/themes/cligram2025/assets/img/icon_new.svg);
}

/* .swiper-slide[data-label*="renewal"]:first-of-type::before */
.swiper-slide[data-label*="renewal"]:first-of-type::before {
	background-image: url(/wp-content/themes/cligram2025/assets/img/icon_renewal.svg);
}

/* .product-slider */
.product-slider {
	/* container-type は Safari 15.5 ではサポートされていないため、従来の方法に変更 */
	display: block;
}

/* .product-info-top__title */
.product-info-top__title {
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 0 .385em;
}

/* .product-info-top__text-group */
.product-info-top__text-item {
	margin-bottom: min(6.67vw, 8vw);
	/* cqw → vw に変更 */
}

/* .product-info-top__image-text */
.product-info-top__image-text {
	display: grid;
	grid-template-columns: 28vw 1fr;
	/* cqw → vw に変更 */
	gap: 5.5vw;
	/* cqw → vw に変更 */

	@media screen and (max-width: 899px) {
		grid-template-columns: 1fr;
		gap: 5.33vw;
	}
}

/* .product-info-top__image */
.product-info-top__image {
	@media screen and (max-width: 899px) {
		width: 44.8vw;
		margin: 0 auto;
	}
}

/* .product-lp */
.product-lp {
	margin-bottom: min(100px, 10.67vw);
}

/* .product-lp__heading-section */
.product-lp__heading-section {
	font-size: clamp(1.5rem, 1.187rem + 1.34vw, 1.938rem);
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 min(70px, 13.33vw);
}

/* .product-lp__item-wrap */
.product-lp__item-wrap {
	display: grid;
	gap: min(100px, 13.33vw);
	margin-bottom: min(100px, 21.33vw);
}

/* .product-lp__free-list */
.product-lp__free-list {
	font-size: 1rem;
	line-height: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, 200px);
	gap: 1.67vw;
	/* cqw → vw に変更 */
	justify-content: start;
	font-weight: 300;
	margin-bottom: min(50px, 10.67vw);

	@media screen and (max-width: 899px) {
		grid-template-columns: repeat(2, 1fr);
		gap: 5.07vw;
	}
}

/* .product-back__link */
.product-back__link a {
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1;
	padding: 1em;
	color: var(--primary-color);
	background-color: var(--color-white);
	border: 1px solid var(--color-black);
	width: min(300px, 80vw);
	margin: 0 auto;
	display: block;
	text-align: center;

	@media (hover: hover) {
		&:hover {
			background-color: var(--primary-color);
			color: var(--color-white);
		}
	}

	@media (hover: none) {
		&:active {
			background-color: var(--primary-color);
			color: var(--color-white);
		}
	}
}

/* .caution__title:before */
.caution__title:before,
.caution__title::after {
	content: "";
	display: block;
	width: 1.368em;
	aspect-ratio: 26/23;
	background-image: url("/wp-content/themes/cligram2025/assets/img/ico_caution.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	-webkit-mask-image: none;
	/* Ensure mask compatibility */
}

/* .caution__notice-text */
.caution__notice-text {
	text-align: center;
	line-height: 2.5;
	letter-spacing: .05em;
	font-weight: 300;
	padding: 1.938em;

	@media screen and (max-width: 899px) {
		text-align: left;
		line-height: 2;
	}
}