.filterControl__input {
	position: relative;
	.previewSelect {
		display: none;
		position: absolute;
		z-index: 2;
		top: 64px;
		left: 0;
		background-color: #fff;
		width: 100%;

		border-radius: 4px;
		border: 1px solid #d6d6d6;
		padding: 10px;

		.previewSelect__inner {
			.option {
				margin-bottom: 4px;
				border-bottom: 1px dashed #d6d6d6;
				&:last-child {
					margin-bottom: 0;
				}
				&:hover {
					background-color: #f5f5f5;
				}
			}
		}
	}
	.previewSelect.is-open {
		display: block;
	}
}

.p-fontsBox__inner {
	.p-fontsBox__text {
		width: fit-content;
		text-align: left;
		font-weight: normal;
	}
}

.fontSize16px {
	font-size: 16px;
}

.kumimihon-list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;

	.single-kumimihon {
		max-width: 320px;
		width: 26%;
		.single-kumimihon__img {
			display: block;
			/* aspect-ratio: 2/3; */
			width: 100%;
			margin-bottom: 10px;
			img {
				width: 100%;
				height: 100%;
				object-fit: contain;
			}
		}
		.single-kumimihon__caption {
			font-size: 20px;
			text-align: center;
		}
	}
}

@media (max-width: 768px) {
	.kumimihon-list {
		display: flex;
		justify-content: space-between;
		gap: 16px;

		.single-kumimihon {
			max-width: 320px;
			width: 30%;
			.single-kumimihon__img {
				/* aspect-ratio: 2/3; */
				width: 100%;
				margin-bottom: 10px;
				img {
					width: 100%;
					height: 100%;
					/* object-fit: cover; */
					object-fit: contain;
				}
			}
			.single-kumimihon__caption {
				font-size: 16px;
				text-align: center;
			}
		}
	}
}

.modal-title-link {
	border-radius: 120px;
	background: #0e1014;
	display: flex;
	padding: 12px 64px;
	justify-content: center;
	align-items: center;
	gap: 24px;

	margin: 0 auto;

	width: fit-content;
	.modal-title-link__icon {
		display: flex;
		align-items: center;
		img {
			width: 16px;
			height: 18.88px;
		}
	}
	.modal-title-link__text {
		color: #fff;
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 150%; /* 24px */
		letter-spacing: 0.64px;
	}
}

.p-pagination {
	.nav-links {
		.page-numbers {
			display: flex;
			padding: 0;
			/* line-height: 32px; */
			min-height: auto;
			padding: 5px 0px;
			line-height: 1;
			text-align: center;
			align-items: center;
			justify-content: center;
		}
	}
}

.c-accodionItem__body {
	p {
		font-weight: 500;
		font-family: var(--font-family-base-medium);
	}
}

.p-boxes__item.swiper-slide {
	.c-box {
		display: block;
	}
}

@media (min-width: 992px) {
	.c-card06__headTitle {
		line-height: 1.5 !important;
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		line-height: calc(110 / 32);
		letter-spacing: 0;
	}
}

/* @media (min-width: 992px) {
    .c-card06__headText {
        font-size: 14px;
        margin-top: 0;
        position: absolute;
        bottom: 0;
        left: 0;
    }
} */

.c-card06__head {
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}

/* ぱんくずリスト */

.p-breadcrumb ul {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.p-breadcrumb ul li:last-child {
	color: var(--color-blue01);
	text-decoration: underline;
}

.p-breadcrumb ul li {
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
}

.p-breadcrumb ul li:not(:first-child)::before {
	content: "";
	color: var(--color-black01);
	margin-right: 12px;
	margin-left: 12px;
	width: 1px;
	height: 70%;
	rotate: 15deg;
	background-color: var(--color-black01);
	/* position: absolute; */
	display: block;
}

.p-postsContents iframe {
	height: 300px;
	max-height: 500px;
}

/* .filterControl__input--noTrialWriting{


	position: relative;
	.noTrialWriting-description{
		position: absolute;

		bottom:0;
		transform: translateY(120%);
		a{
			color: var(--color-blue01);
			text-decoration: underline;
		}
	}
  } */

.noTrialWriting-description {
	margin-top: 24px;
	margin-bottom: 24px;
	a {
		color: var(--color-blue01);
		text-decoration: underline;
	}
}

.p-topPlan__title {
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.p-topPlan__title {
		margin-bottom: 32px;
	}
}

@media (min-width: 768px) {
	.l-inner {
		.overflow-wrapper {
			overflow: hidden;
		}
		.font-list-table-wrapper {
			overflow-x: auto;
			overflow-y: visible;
			max-height: 100vh;

			.font-list-table {
				position: relative;
				border-collapse: separate;
				border-spacing: 0;
				width: max-content;
				margin: 0 auto;

				tr {
					th {
						padding: 6px;
						white-space: nowrap;
						font-size: 12px;
						background-color: #f5f5f5;
						position: sticky;
						top: 0;
						z-index: 3;
					}

					th:first-child {
						position: sticky;
						top: 0;
						left: 0;
						z-index: 7 !important;
						background-color: #f5f5f5;
					}

					th:nth-child(2) {
						position: sticky;
						top: 0;
						left: 160px;
						z-index: 7 !important;
						background-color: #f5f5f5;
					}

					td {
						padding: 6px;
						white-space: nowrap;
						font-size: 12px;
						background-color: #fff;
					}

					td:first-child {
						position: sticky;
						left: 0;
						z-index: 1;
						max-width: 160px;
						background-color: #fff;
					}

					td:nth-child(2) {
						position: sticky;
						left: 160px;
						z-index: 1;
						white-space: normal;
						min-width: 160px;
						width: 160px;
						background-color: #fff;
					}

					td.fixed-col-1 {
						position: sticky;
						left: 0;
						z-index: 6;
						max-width: 160px;
						background-color: #fff;
					}
					td.fixed-col-2 {
						position: sticky;
						left: 160px;
						z-index: 2;
						white-space: normal;
						min-width: 160px;
						width: 160px;
						background-color: #fff;
					}

					td:nth-child(7),
					th:nth-child(7) {
						white-space: normal;
						min-width: 80px;
						width: 80px;
					}

					td:nth-child(8),
					th:nth-child(8) {
						white-space: normal;
						min-width: 160px;
						width: 160px;
					}

					td:nth-child(9),
					th:nth-child(9) {
						white-space: normal;
						min-width: 160px;
						width: 160px;
					}

					td:nth-child(10),
					th:nth-child(10) {
						white-space: normal;
						min-width: 160px;
						width: 160px;
					}

					td:nth-child(11),
					th:nth-child(11) {
						white-space: normal;
						min-width: 160px;
						width: 160px;
					}

					td:nth-child(12),
					th:nth-child(12) {
						white-space: normal;
						min-width: 80px;
						width: 80px;
					}
				}
			}
		}
	}
}

/* @media (max-width: 768px) {
	.l-inner {
		.font-list-table-wrapper {
			overflow-x: scroll;
			.font-list-table {
				tr {
					th {
						padding: 6px;
						white-space: nowrap;
						font-size: 12px;
						background-color: #f5f5f5;
					}
					td {
						padding: 6px;
						white-space: nowrap;
						font-size: 12px;
					}
					td:first-child {
						background-color: transparent;
					}
				}
			}
		}
	}
} */

@media (max-width: 768px) {
	.l-inner {
		.font-list-table-wrapper {
			overflow-x: scroll;
			overflow-y: visible; /* 追加: 縦方向のstickyを有効にする */
			max-height: 80vh; /* 追加: スクロール領域を作る */
			.font-list-table {
				tr {
					th {
						padding: 6px;
						white-space: nowrap;
						font-size: 12px;
						background-color: #f5f5f5;
						position: sticky;
						top: 0;
						z-index: 3;
					}
					td {
						padding: 6px;
						white-space: nowrap;
						font-size: 12px;
					}
					td:first-child {
						background-color: transparent;
					}
				}
			}
		}
	}
}

@media (max-width: 768px) {
	.pc-only {
		display: none;
	}
}

.is-grid {
	.font-preview {
		.preview-text {
			overflow: visible;
		}
	}
}

.p-modal__buttonBox {
	position: relative;
	.p-modal__buttonBox-price {
		position: absolute;
		left: 24px;
		bottom: 4px;
		font-size: 12px;
	}
}

.p-modal__buttonBoxText {
	display: flex;
	align-items: center;
	gap: 8px;
	img {
		margin-top: 1px;
	}
}

.c-commonMiddleButton.c-commonMiddleButton--transparent {
	background-color: #e29d4e;
	border: 1px solid #e29d4e;
	color: white;
	font-size: 19.2px;
}

.c-commonMiddleButton.c-commonMiddleButton--transparent:hover {
	background-color: transparent;
	color: black;
}

.c-commonMiddleButton--transparent.c-commonButton--arrow::after {
	content: "";
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-left: 10px;
	background: url(../images/icon_arrow_white.svg) no-repeat center / contain;
}

.c-commonMiddleButton--transparent.c-commonButton--arrow:hover::after {
	background: url(../images/icon_arrow_black3.svg) no-repeat center / contain;
}

.checkCart {
	width: fit-content;
	padding: 16px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: #fff;
	font-size: 14px;
	img {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 768px) {
	.wp-block-spacer {
		display: none;
	}
}

.p-fontsAside__styleFilter .filter-item {
	height: 74px;

	label {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding: 0 16px;
	}
}

/* 新聞社システムの書体一覧のテーブル */
.is-style-regular.scrollable-table {
	table {
		min-width: 750px !important;
	}

	th {
		display: table-cell !important;
		width: auto !important;
	}

	table {
		td {
			display: table-cell !important;
			width: auto !important;
			white-space:nowrap !important;
		}
	}
}

@media (max-width: 992px) {
	.is-style-regular.scrollable-table {
	  table {
		min-width: 930px !important;
	  }
	}

  }
