@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ========================================
   Indie Nest - Home
======================================== */

.indie-nest-home {
	max-width: 900px;
	margin: 0 auto;
	color: #5c4b3d;
}

.indie-nest-home .home-hero {
	display: block !important;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 72px 30px 68px;
	margin: 0 0 70px !important;
	border-bottom: 1px solid #e5e5e5;
	text-align: center;
	float: none !important;
	clear: both !important;
}

.indie-nest-home .home-hero-label,
.indie-nest-home .home-card-label,
.indie-nest-home .home-section-heading p {
	margin: 0 0 12px;
	color: #6faf8e;
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.14em;
}

.indie-nest-home .home-hero h1 {
	margin: 0 0 22px;
	font-size: 2.1rem;
	line-height: 1.6;
	font-weight: 700;
}

.indie-nest-home .home-hero-text {
	margin: 0;
	color: #6b4c3b;
	line-height: 1.9;
}

.indie-nest-home .home-hero-button {
	display: block !important;
	width: 100%;
	margin: 30px 0 0;
	text-align: center;
	float: none !important;
	clear: both !important;
}

.indie-nest-home .home-main-button {
	display: inline-block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 13px 42px;
	border-radius: 8px;
	background: #6faf8e;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	white-space: nowrap;
	word-break: keep-all;
	float: none !important;
	clear: none !important;
}

.indie-nest-home .home-main-button:hover {
	color: #fff;
	opacity: 0.82;
}


/* ゲーム一覧 */

.indie-nest-home .home-games {
	display: block !important;
	width: 100%;
	margin: 0 0 70px !important;
	padding: 0 !important;
	clear: both !important;
	overflow: hidden;
}

.indie-nest-home .home-section-heading {
	display: flex !important;
	align-items: flex-end;
	justify-content: space-between;
	width: 100%;
	margin: 0 0 22px !important;
	padding: 0 !important;
	clear: both !important;
	float: none !important;
}

.indie-nest-home .home-section-title {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.indie-nest-home .home-section-title p {
	display: block !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	color: #6faf8e;
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.14em;
	line-height: 1.4;
}

.indie-nest-home .home-section-name {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	color: #5c4b3d;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
}

.indie-nest-home .home-all-link {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #5c9f7c;
	font-size: 0.9rem;
	font-weight: normal;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	background: none !important;
	border: 0 !important;
	float: none !important;
}

.indie-nest-home .home-game-placeholder {
	display: block !important;
	width: 100%;
	box-sizing: border-box;
	padding: 40px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fffef9;
	text-align: center;
	clear: both;
}

.indie-nest-home .home-game-placeholder p {
	margin: 0 0 12px;
	padding: 0;
	color: #6b4c3b;
	line-height: 1.8;
}

.indie-nest-home .home-text-link {
	color: #5c9f7c;
	font-weight: bold;
	text-decoration: none;
}

.indie-nest-home .home-text-link:hover {
	text-decoration: underline;
}


/* 登録 */

.indie-nest-home .home-join {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	width: 100%;
	margin: 0 0 70px !important;
	float: none !important;
	clear: both !important;
}

.indie-nest-home .home-join-card {
	display: block;
	padding: 30px;
	border-radius: 12px;
	background: #fdf6e3;
}

.indie-nest-home .home-join-card .home-card-label {
	margin-bottom: 10px;
}

.indie-nest-home .home-join-card h2 {
	margin: 0 0 14px;
	font-size: 1.2rem;
	line-height: 1.6;
}

.indie-nest-home .home-join-card p:not(.home-card-label) {
	margin: 0 0 18px;
	line-height: 1.8;
	font-size: 0.95rem;
}


/* About */

.indie-nest-home .home-about {
	display: block !important;
	width: 100%;
	box-sizing: border-box;
	padding: 50px 30px;
	border-top: 1px solid #e5e5e5;
	text-align: center;
	float: none !important;
	clear: both !important;
}

.indie-nest-home .home-about h2 {
	margin: 0 0 20px;
	font-size: 1.5rem;
	line-height: 1.6;
}

.indie-nest-home .home-about > p:last-child {
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.9;
}


/* スマホ */

@media screen and (max-width: 768px) {

	.indie-nest-home {
		width: 100%;
	}

	.indie-nest-home .home-hero {
		padding: 50px 18px 48px;
		margin-bottom: 50px !important;
	}

	.indie-nest-home .home-hero h1 {
		font-size: 1.6rem;
	}

	.indie-nest-home .home-hero-text {
		font-size: 0.95rem;
	}

	.indie-nest-home .home-main-button {
		width: auto !important;
	}

	.indie-nest-home .home-section-heading h2 {
		font-size: 1.3rem;
	}

	.indie-nest-home .home-join {
		grid-template-columns: 1fr;
		margin-bottom: 50px !important;
	}

	.indie-nest-home .home-join-card {
		padding: 24px;
	}

	.indie-nest-home .home-about {
		padding: 40px 18px;
	}

	.indie-nest-home .home-about h2 {
		font-size: 1.3rem;
	}

}
/* ========================================
   Indie Nest - Game Archive
======================================== */

.game-archive {
	max-width: 900px;
	margin: 0 auto;
	color: #5c4b3d;
}


/* ヘッダー */

.game-archive-header {
	margin-bottom: 40px;
	text-align: center;
}

.game-archive-label {
	margin: 0 0 8px;
	color: #6faf8e;
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 0.14em;
}

.game-archive-header h1 {
	margin: 0 0 14px;
	font-size: 2rem;
	line-height: 1.5;
}

.game-archive-description {
	margin: 0;
	color: #6b4c3b;
	line-height: 1.8;
}


/* ゲームカード */

.game-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.game-card {
	margin: 0;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fffef9;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(92, 75, 61, 0.08);
}

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

.game-card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #f5f0e5;
	overflow: hidden;
}

.game-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-card-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #9a8d80;
	font-size: 0.85rem;
}

.game-card-body {
	padding: 18px;
}

.game-card-title {
	margin: 0 0 12px;
	padding: 0;
	background: none !important;
	border: 0 !important;
	color: #5c4b3d;
	font-size: 1.1rem;
	line-height: 1.5;
}

.game-card-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.game-card-genre {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 20px;
	background: #eef7f1;
	color: #5c7f68;
	font-size: 0.75rem;
	line-height: 1.4;
}

.game-card-info {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: #806f62;
	font-size: 0.8rem;
	line-height: 1.5;
}

.game-card-info span:last-child {
	font-weight: bold;
}


/* ゲームがない場合 */

.game-archive-empty {
	padding: 50px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fffef9;
	text-align: center;
}

.game-archive-empty p {
	margin: 0;
	color: #6b4c3b;
}


/* ページネーション */

.game-archive .pagination {
	margin-top: 40px;
}


/* スマホ */

@media screen and (max-width: 768px) {

	.game-archive {
		width: 100%;
	}

	.game-archive-header {
		margin-bottom: 30px;
	}

	.game-archive-header h1 {
		font-size: 1.6rem;
	}

	.game-archive-description {
		font-size: 0.95rem;
	}

	.game-archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.game-card-body {
		padding: 14px;
	}

	.game-card-title {
		font-size: 1rem;
	}

	.game-card-info {
		display: block;
	}

	.game-card-info span {
		display: block;
	}

	.game-card-info span + span {
		margin-top: 4px;
	}

}


@media screen and (max-width: 480px) {

	.game-archive-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

}

/* ========================================
   Indie Nest - Home Game Cards
======================================== */

.indie-nest-home .home-game-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
}

.indie-nest-home .home-game-card {
	margin: 0;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fffef9;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.indie-nest-home .home-game-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(92, 75, 61, 0.08);
}

.indie-nest-home .home-game-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.indie-nest-home .home-game-card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #f5f0e5;
	overflow: hidden;
}

.indie-nest-home .home-game-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.indie-nest-home .home-game-card-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #9a8d80;
	font-size: 0.85rem;
}

.indie-nest-home .home-game-card-body {
	padding: 18px;
}

.indie-nest-home .home-game-card-title {
	margin: 0 0 12px;
	padding: 0;
	background: none !important;
	border: 0 !important;
	color: #5c4b3d;
	font-size: 1.1rem;
	line-height: 1.5;
}

.indie-nest-home .home-game-card-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.indie-nest-home .home-game-card-genre {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 20px;
	background: #eef7f1;
	color: #5c7f68;
	font-size: 0.75rem;
	line-height: 1.4;
}

.indie-nest-home .home-game-card-price {
	color: #806f62;
	font-size: 0.8rem;
	line-height: 1.5;
	text-align: right;
}

.indie-nest-home .home-game-card-price {
	font-weight: bold;
}

.indie-nest-home .home-game-empty {
	padding: 40px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fffef9;
	text-align: center;
}

.indie-nest-home .home-game-empty p {
	margin: 0;
	color: #6b4c3b;
	line-height: 1.8;
}


/* スマホ */

@media screen and (max-width: 768px) {

	.indie-nest-home .home-game-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.indie-nest-home .home-game-card-body {
		padding: 14px;
	}

	.indie-nest-home .home-game-card-title {
		font-size: 1rem;
	}

}


@media screen and (max-width: 480px) {

	.indie-nest-home .home-game-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

}