/*
Theme Name: Creative Partner
Description: 「AI時代の社外クリエイティブパートナー」サイト用の独立WordPressテーマ
Author: Studio Blend
Version: 2.0.0
Text Domain: creative-partner
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

html{box-sizing:border-box;-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:inherit}
body{margin:0}
button,input,select,textarea{font:inherit}
img{max-width:100%;height:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{z-index:100000;top:5px;left:5px;display:block;width:auto;height:auto;padding:15px 23px;clip:auto!important;color:#1c1d1a;background:#fcfbf7;font-size:14px;font-weight:700;line-height:normal;text-decoration:none;box-shadow:0 0 2px 2px rgba(0,0,0,.2)}

/* ========================================
   PAGE TOP
======================================== */

#sen-page-top {
	position: fixed;
	right: 24px;
	bottom: 24px;

	width: 48px;
	height: 48px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: #111;
	color: #fff;

	text-decoration: none;

	border-radius: 50%;

	font-size: 22px;
	font-weight: 400;
	line-height: 1;

	z-index: 9999;

	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);

	transition:
		opacity .3s ease,
		transform .3s ease,
		background .3s ease,
		visibility .3s;
}


/* 表示 */

#sen-page-top.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


/* hover */

#sen-page-top:hover {
	background: #333;
	color: #fff;
	transform: translateY(-3px);
}


/* スマートフォン */

@media (max-width: 767px) {

	#sen-page-top {
		right: 15px;
		bottom: 15px;

		width: 44px;
		height: 44px;

		font-size: 20px;
	}

}


/* ========================================
   CATEGORY INDEX
======================================== */

.sen-category-page {
	padding: 80px 24px 120px;
}

.sen-category-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}


/* HEADER
---------------------------------------- */

.sen-category-header {
	margin-bottom: 55px;
}

.sen-category-en {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: .18em;
	opacity: .55;
}

.sen-category-header h1 {
	margin: 0 0 20px;
	font-size: min(8vw, 50px);
	line-height: 1.25;
	font-weight: 600;
}

.sen-category-lead {
	margin: 0;
	font-size: 15px;
	line-height: 2;
}


/* CATEGORY NAV
---------------------------------------- */

.sen-category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 70px;
}

.sen-category-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	padding: 10px 18px;

	border: 1px solid #ddd;
	border-radius: 100px;

	color: #111;
	background: #fff;

	font-size: 13px;
	line-height: 1;

	text-decoration: none;

	transition:
		background .2s ease,
		color .2s ease,
		border-color .2s ease;
}

.sen-category-button span {
	font-size: 10px;
	opacity: .5;
}

.sen-category-button:hover,
.sen-category-button.is-active {
	background: #111;
	border-color: #111;
	color: #fff;
}


/* RESULT HEADER
---------------------------------------- */

.sen-category-result-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.sen-category-result-header h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
}

.sen-category-result-header p {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.8;
	opacity: .7;
}


/* POST GRID
---------------------------------------- */

.sen-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 55px 28px;
}


/* CARD
---------------------------------------- */

.sen-post-card {
	min-width: 0;
}

.sen-post-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sen-post-thumbnail {
	position: relative;
	overflow: hidden;

	width: 100%;
	aspect-ratio: 16 / 9;

	margin-bottom: 20px;

	background: #f4f4f4;
}

.sen-post-thumbnail img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .5s ease;
}

.sen-post-card-link:hover .sen-post-thumbnail img {
	transform: scale(1.035);
}


/* NO IMAGE
---------------------------------------- */

.sen-no-image {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;

	background: #f2f2f2;
}

.sen-no-image span {
	font-size: 12px;
	letter-spacing: .15em;
	opacity: .35;
}


/* CATEGORY
---------------------------------------- */

.sen-post-category {
	margin-bottom: 10px;

	font-size: 11px;
	letter-spacing: .08em;

	opacity: .55;
}


/* TITLE
---------------------------------------- */

.sen-post-title {
	margin: 0 0 12px;

	font-size: 18px;
	font-weight: 500;
	line-height: 1.65;
}


/* EXCERPT
---------------------------------------- */

.sen-post-excerpt {
	margin-bottom: 18px;

	font-size: 13px;
	line-height: 1.8;

	opacity: .7;
}


/* META
---------------------------------------- */

.sen-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 15px;

	font-size: 10px;
	letter-spacing: .05em;

	opacity: .55;
}

.sen-post-more {
	white-space: nowrap;
}


/* EMPTY
---------------------------------------- */

.sen-no-posts {
	padding: 60px 0;
	text-align: center;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {

	.sen-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 600px) {

	.sen-category-page {
		padding: 50px 18px 80px;
	}

	.sen-category-header {
		margin-bottom: 35px;
	}

	.sen-category-nav {
		gap: 7px;
		margin-bottom: 50px;
	}

	.sen-category-button {
		padding: 9px 13px;
		font-size: 12px;
	}

	.sen-post-grid {
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.sen-post-title {
		font-size: 17px;
	}

	.sen-pc-only {
		display: none;
	}

}


@media screen and (min-width:768px) {
.sp {
	display:none;
}
}
@media screen and (max-width:767px) {
.sp {
	display: block;
}
}