/* =================== シングル、固定ページエリア =================== */

.single-main-contents,
.page-main-contents {
	background: rgba(255, 255, 255, 0.9);
	padding: 3%;
}

/* newsシングルページ */
.single-news-contents h1 {
	font-size: calc(var(--font-m) + 5px);
	margin-bottom: 50px;
}
.single-news-contents h2 {
	font-size: var(--font-m);
	margin: 12px 0;
}
.single-news-contents h2::before {
	width: 20px;
	height: 20px;
}
.single-news-contents h2::after {
	width: 50px;
	height: 50px;
}
.single-news-contents .news-table td {
	border: 1px solid var(--color-box)!important;
}
.single-news-contents .news-table td:first-child {
	background: var(--color-line);
}
.single-news-contents p {
	margin-bottom: 20px;
}
.single-news-contents a {
	display: inline;
	font-weight: bold;
	background: linear-gradient(transparent 70%, var(--sub-sub-color-blue) 0%);
	transition: all 0.5s ease;
}
.single-news-contents a:hover {
	opacity: 0.8;
}
.prev_next_post {
	margin: 100px auto 50px;
	display: flex;
	justify-content: space-between;
}
.prev_next_post div {
	width: min(48%, 450px);
}
.prev_next_post a {
	background: var(--sub-sub-color-blue);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	position: relative;
	font-weight: bold;
}
.prev_next_post a:hover {
	background: var(--sub-color-blue);
}
.prev_post a {
	padding: 20px 20px 20px 50px;
}
.next_post a {
	padding: 20px 50px 20px 20px;
}
.prev_post a::before,
.next_post a::after {
	position: absolute;
	transition: all 0.3s ease;
}
.prev_post a::before {
	content: "＜";
	left: 15px;
}
.next_post a::after {
	content: "＞";
	right: 15px;
}
.prev_post a:hover::before {
	left: 10px;
}
.next_post a:hover::after {
	right: 10px;
}
/* newsシングルページ END */

/* web制作実績シングルページ */
.single-web-archive-contents {
  background: rgba(255, 255, 255, 0.9);
  padding: 3%;
}

.related-posts-content {
  margin: 100px 0 50px;
}
.related-posts-content h2 {
  display: inline-block;
  margin-right: -20px;
  padding-right: 20px;
}
.related-posts-content h2::after {
  content: "<";
  transform: rotate(-90deg);
  position: absolute;
  right: 0;
}
.related-posts-content ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.related-posts-content ul li {
  width: 100%;
}
.related-posts-content ul li a {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  transition: 0.5s;
}
.related-posts-content ul li a img {
  width: 100%;
  height: auto;
}
.related-posts-content ul li a:hover {
  box-shadow: 3px 3px 3px 0 rgba(204, 204, 204, 0.5);
}
/* web制作実績シングルページEND */

.scroll-table {
	overflow-x: scroll;
}

.tablepress {
	border: 1px solid var(--color-line) !important;
}

.tablepress-id-ssl_service td:nth-child(odd),
.tablepress-id-hosting_service td:nth-child(odd),
.tablepress-id-ssl_service tr:hover td,
.tablepress-id-hosting_service tr:hover td {
	background: #f9f9f9;
}

.tablepress tr td {
	min-width: 130px;
	vertical-align: middle;
	background: var(--color-white);
	border-top: 1px solid var(--color-line);
	word-wrap: break-word;
}

.tablepress tr .column-1 {
	background: var(--head-bg-color)!important;
	padding: 1.2rem 0.5rem;
	font-weight: bold;
	min-width: 85px;
	position: sticky;
	left: 0;
}

.tablepress-id-ssl_service tr .column-1,
.tablepress-id-hosting_service tr .column-1 {
	border-top: 1px solid var(--color-white);
	border-left: 1px solid var(--color-line);
}

.tablepress-id-ssl_service .row-1 .column-1,
.tablepress-id-hosting_service .row-1 .column-1 {
	border-top: none;
}

#tablepress-consulting-sales .column-1,
#tablepress-programmer .column-1,
#tablepress-web-designer .column-1 {
	border-top: 1px solid var(--color-white) !important;
	min-width: 200px;
}
#tablepress-consulting-sales .row-1 .column-1,
#tablepress-programmer .row-1 .column-1,
#tablepress-web-designer .row-1 .column-1 {
	border-top: none !important;
}

@media screen and (min-width: 1025px) {
	.scroll-table {
		overflow-x: hidden;
	}
	.tablepress-id-ssl_service,
	.tablepress-id-hosting_service {
		-webkit-writing-mode: vertical-lr;
		-moz-writing-mode: vertical-lr;
		-ms-writing-mode: lr-tb;
		-ms-writing-mode: vertical-lr;
		writing-mode: vertical-lr;
		border: 1px solid var(--color-line);
	}

	.tablepress-id-ssl_service td,
	.tablepress-id-hosting_service td {
		writing-mode: horizontal-tb!important;
		width: 130px;
		min-width: auto;
		vertical-align: middle;
		background: var(--color-white);
		border-top: 1px solid var(--color-line);
		word-wrap: break-word;
	}

	.tablepress-id-ssl_service tr .column-1,
	.tablepress-id-hosting_service tr .column-1 {
		border: none;
	}

	.tablepress-id-ssl_service .row-1 td,
	.tablepress-id-hosting_service .row-1 td {
		border-right: 1px solid var(--color-line);
	}

	.tablepress-id-ssl_service .row-1 .column-1,
	.tablepress-id-hosting_service .row-1 .column-1 {
		border-right: 1px solid var(--color-white);
	}

	.tablepress-id-ssl_service tr:last-child .column-1,
	.tablepress-id-hosting_service tr:last-child .column-1 {
		border-right: none;
	}

	.tablepress-id-ssl_service .row-1 td,
	.tablepress-id-hosting_service .row-1 td {
		font-weight: bold;
		width: 110px;
		min-width: auto;
	}

}

@media screen and (max-width: 767px) {
	#tablepress-consulting-sales tr,
	#tablepress-programmer tr,
	#tablepress-web-designer tr {
		display: flex;
		flex-wrap: wrap;
	}
	#tablepress-consulting-sales td,
	#tablepress-programmer td,
	#tablepress-web-designer td {
		width: 100%;
	}
	#tablepress-consulting-sales .column-1,
	#tablepress-programmer .column-1,
	#tablepress-web-designer .column-1 {
		text-align: center;
		border-top: none !important;
	}
	#tablepress-consulting-sales .column-2,
	#tablepress-programmer .column-2,
	#tablepress-web-designer .column-2 {
		padding: 30px;
	}
}
