/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 13 2026 | 19:16:46 */
/* お客様の声 */

/* 個別ページ */
#body_wrap.single-voice #content {
	max-width: 900px;
}
/* タクソノミーデフォルト表示を非表示 */
#body_wrap.single-voice .c-taxList:before {
    display: none;
}
/* タクソノミーデフォルト表示を非表示 */
#body_wrap.single-voice .p-articleMetas__termList.c-taxList {
    display: none;
}
/* タクソノミーと時間の調整 */
#body_wrap.single-voice .product-terms {
    margin-top: 0!important;
}
#body_wrap.single-voice .p-articleMetas__times {
    margin-right: 20px;
}
#body_wrap.single-voice .p-articleMetas.-top {
    flex-direction: column-reverse;
    align-items: flex-start;
}
/* 見出し装飾 */
#body_wrap.single-voice .post_content h2.title {
    background-color: #c8e7e1;
    padding: 0.5em 1em;
}
/* テーブルの余白 */
#body_wrap.single-voice .wp-block-table td {
    padding: 1.2em;
}

/* アーカイブページ */
/* タクソノミーサブタイトルの非表示 */
.c-pageTitle__subTitle {
	display: none;
}
/* アーカイブページタイトル */
#content .c-pageTitle[data-style=b_bottom] {
	border-bottom: 0;
}
#content .c-pageTitle[data-style=b_bottom] span {
	float: none;
	border-bottom: 0;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	letter-spacing: .1em;
	position: relative;
}
#content .c-pageTitle[data-style=b_bottom] {
	padding-top: 100px !important;
	background-repeat: no-repeat!important;
	background-size: 80px 80px!important;
	background-position: top center!important;
	background-image: url("http://webup.jp/tsuruki/wp-content/uploads/2024/03/logo_mark.png")!important;
}

/* 下層ページタイトルの中央揃え */
.c-pageTitle {
	text-align: center;
}

/* 制作事例アーカイブページ　カスタムタクソノミー */
#body_wrap[class*="voice"] .voice-terms {
	display: flex;
	flex-wrap: wrap;
    margin-left: -12px;
}
#body_wrap[class*="voice"] .voice-terms > span,
#body_wrap[class*="voice"] .voice-terms > a {
	margin-top: 12px!important;
    margin-left: 12px;
    padding: 5px 15px;
    border: 1px solid var(--color_main);
    border-radius: 14px;
    background-color: #fff;
    font-size: calc(13rem / 16);
    color: var(--color_main);
    display: inline-block;
	line-height: 1;
}
.taxonomy-block .links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.taxonomy-block .links > a {
	position: relative;
	margin-top: 12px!important;
    margin-left: 12px;
    padding: 15px 25px 15px 15px;
    border: 1px solid var(--color_main);
	border-radius: 20px;
    background-color: #fff;
    font-size: calc(20rem / 16);
    color: var(--color_main);
    display: inline-block;
	line-height: 1;
}
.taxonomy-block .links > a.current {
    background-color: var(--color_main);
    color: #fff;
	padding: 15px;
}
.taxonomy-block .links > a::after {
	position: absolute;
	content: "";
	top: 50%;
	right: 12px;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
.taxonomy-block .links > a.current::after {
    display: none;
}
@media (max-width: 599px) {
	.taxonomy-block .links > a {
		padding: 10px 25px 10px 10px;
		border-radius: 10px;
		font-size: calc(16rem / 16);
	}
	.taxonomy-block .links > a.current {
		padding: 10px;
	}
}
.taxonomy-label {
	text-align: center;
	font-size: calc(20rem / 16);
	font-weight: bold;
}

.taxonomy-button {
	transition: .3s;
}
.taxonomy-button:hover {
	opacity: .6;
}

/* サイドバー */
#body_wrap.post-type-archive-voice #sidebar,
#body_wrap[class*="tax-voice"] #sidebar,
#body_wrap.single-voice #sidebar{
	display: none;
}
#body_wrap.post-type-archive-voice #main_content,
#body_wrap[class*="tax-voice"] #main_content,
#body_wrap.single-voice #main_content {
	width: 100%;
}

/* ==========================================================================
   voice：カード型リスト（アーカイブ／シングル下部の関連記事で共用）
   ------------------------------------------------------------------------
   SWELL本体のCSSに負けないよう、すべて .p-voiceArchive 配下で記述して
   詳細度を上げている（セレクタからこのラッパーを外さないこと）
   ========================================================================== */

.p-voiceArchive .p-voiceList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-voiceArchive .p-voiceList__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-voiceArchive .p-voiceList__item::before,
.p-voiceArchive .p-voiceList__item::marker {
	content: none;
	display: none;
}

/* --- カード本体 --- */
.p-voiceArchive .p-voiceCard {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 0 16px -1px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease-out;
}

/* ホバーでカードが少し沈む */
.p-voiceArchive .p-voiceCard:hover,
.p-voiceArchive .p-voiceCard:focus {
	transform: translateY(3px);
	color: inherit;
	text-decoration: none;
	opacity: 1;
}

/* --- 上段（会社名／ロゴ＋写真） --- */
.p-voiceArchive .p-voiceCard__head {
	position: relative;
	height: 222px;
	padding: 24px;
	overflow: hidden;
	background: #fff;
	border-bottom: 1px solid #eee;
}

/* 右上を斜めに白抜きするグレー面（ホバーで左上へスライド→なし） */
.p-voiceArchive .p-voiceCard__head::before {
	content: "";
	position: absolute;
	top: -80px;
	left: -180px;
	z-index: 0;
	display: block;
	width: 480px;
	height: 250px;
	background: #f5f5f6;
	transform: rotate(135deg);
	transition: all 0.2s ease-out;
}

/* .p-voiceArchive .p-voiceCard:hover .p-voiceCard__head::before {
	top: -60px;
	left: -310px;
} */

.p-voiceArchive .p-voiceCard__company {
	position: relative;
	z-index: 10;
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.02em;
	word-break: break-word;
}

/* ロゴ画像（高さはACFの logo-height をインラインstyleで指定） */
.p-voiceArchive .p-voiceCard__logo {
	position: relative;
	z-index: 10;
	display: block;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.p-voiceArchive .p-voiceCard__logoImg {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: left center;
}

.p-voiceArchive .p-voiceCard__thumb {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 10;
	width: 120px;
	margin: 0;
}

.p-voiceArchive .p-voiceCard__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
}

/* --- 下段（抜粋情報） --- */
.p-voiceArchive .p-voiceCard__body {
	flex: 1 1 auto;
	padding: 24px;
}

.p-voiceArchive .p-voiceCard__excerpt {
	font-size: 14px;
	line-height: 1.8;
}

.p-voiceArchive .p-voiceCard__excerpt h2,
.p-voiceArchive .p-voiceCard__excerpt h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.p-voiceArchive .p-voiceCard__excerpt .is-style-border_sg {
	border: 0;
	background-color: #f0f9fa;
	padding: 15px;
	margin-bottom: 10px;
	border-radius: 10px;
}

.p-voiceArchive .p-voiceCard__excerpt .is-style-border_sg p {
	margin: 0;
}

.p-voiceArchive .p-voiceCard__excerpt > *:first-child {
	margin-top: 0;
}

.p-voiceArchive .p-voiceCard__excerpt > *:last-child {
	margin-bottom: 0;
}

.p-voiceArchive .p-voiceCard__excerpt table {
	width: 100%;
	margin: 0;
	border: none;
	font-size: 14px;
}

.p-voiceArchive .p-voiceCard__excerpt table th,
.p-voiceArchive .p-voiceCard__excerpt table td {
	padding: 2px 0;
	border: none;
	background: none;
	text-align: left;
	vertical-align: top;
	font-weight: inherit;
}

.p-voiceArchive .p-voiceCard__excerpt table td:first-of-type {
	font-weight: 700;
}

.p-voiceArchive .p-voiceCard__excerpt table th {
	width: 8em;
	padding-right: 12px;
	font-weight: 700;
	white-space: nowrap;
}

/* お客様の声カード：上部と下部の境界に3色ボーダーを追加 */
.p-voiceCard__body {
	position: relative;
	padding-left: 20px;
    margin-top: 30px;
}

.p-voiceCard__body::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: -30px;
	width: 100%;
	height: 30px;
	background: linear-gradient(
		180deg,
		#9D2220 0%,
		#9D2220 28%,
		#fff 28%,
		#fff 54%,
		#21516D 54%,
		#21516D 100%
	);
}

/* --- シングルページ下部の関連記事（3カラム固定） --- */
.l-articleBottom .p-voiceArchive.-related .p-voiceList,
.p-voiceArchive.-related .p-voiceList {
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 20px;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 959px) {
	.p-voiceArchive .p-voiceList {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 20px;
	}

	.l-articleBottom .p-voiceArchive.-related .p-voiceList,
	.p-voiceArchive.-related .p-voiceList {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 599px) {
	.p-voiceArchive .p-voiceList {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.l-articleBottom .p-voiceArchive.-related .p-voiceList,
	.p-voiceArchive.-related .p-voiceList {
		grid-template-columns: 1fr;
	}

	.p-voiceArchive .p-voiceCard__head {
		height: 200px;
		padding: 18px;
	}

	.p-voiceArchive .p-voiceCard__thumb {
		right: 20px;
		bottom: 20px;
	}

	.p-voiceArchive .p-voiceCard__body {
		padding: 20px;
	}

	/* スマホではホバーの動きを無効化 */
	.p-voiceArchive .p-voiceCard:hover {
		transform: none;
	}

	.p-voiceArchive .p-voiceCard:hover .p-voiceCard__head::before {
		top: -80px;
		left: -180px;
	}
}
