@charset "utf-8";

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
共通CSS - リニューアル版
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
CSS変数（カスタムプロパティ）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
:root {
	/* カラー */
	--color-base:     #222;
	--color-main:     #222;
	--color-main-rgb: 27, 90, 145;
	--color-sub:      rgb(72, 72, 72);

	/* フォント */
	--font-main:      "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Noto Sans CJK JP", Meiryo, sans-serif;
	--font-english:   Roboto, "Helvetica Neue", Arial, sans-serif;
}

img {
	max-width: 100%;
	height: auto;
}
/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ページヘッダー（共通スタイル）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.page-header {
	/* 共通の基本スタイル */
	padding: 80px 0 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	
	/* デフォルトの背景スタイル（必要に応じてページ固有で上書き） */
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	color: #1f2937;
}

.page-header-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
見出しスタイル
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.page-heading {
	font-weight: 700;
	font-size: 3rem;
	line-height: 1.4;
	margin-bottom: 0.5em;
}

.section-heading {
	margin-bottom: 1em;
	color: var(--color-main);
	font-size: 2.2rem;
	text-align: center;
}

.section-heading-english {
	display: flex;
	margin-bottom: 0.3em;
	font-size: 1.8rem;
	font-family: var(--font-english);
	text-transform: uppercase;
	justify-content: center;
	align-items: center;
}

.section-heading-english::before,
.section-heading-english::after {
	width: 100%;
	max-width: 80px;
	border-top: 1px solid;
	content: "";
}

.section-heading-english::before {
	margin-right: 0.8em;
}

.section-heading-english::after {
	margin-left: 0.8em;
}

.section-heading-japanese {
	display: block;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
レスポンシブ対応
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
@media (min-width: 768px) {
	.page-heading {
		font-size: 3.6rem;
	}

	.section-heading {
		font-size: 2.8rem;
	}
	
	.page-header-content {
		padding: 0 40px;
	}
}

@media (min-width: 1024px) {
	.page-header-content {
		padding: 0;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
コンテナ（共通レイアウト）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
セクション（共通レイアウト）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.section {
	padding: 40px 0;
	position: relative;
}

.section:nth-child(even) {
	background-color: #f8f9fa;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
アニメーション用CSSクラス
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
/* フェードインアニメーション */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
	opacity: 1;
	transform: translateY(0);
}

/* スライドインアニメーション */
.slide-in {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in.animate {
	opacity: 1;
	transform: translateX(0);
}

/* スケールインアニメーション */
.scale-in {
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.animate {
	opacity: 1;
	transform: scale(1);
}

/* decorative-polygonアニメーション */
.decorative-polygon {
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

/* ヘッダースクロール時のスタイル */
header.scrolled {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ページヘッダーポリゴン（共通スタイル）
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
/* ロゴポリゴン背景（右側） */
.logo-polygon-bg {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pentagon-logo {
	width: 250px;
	height: 250px;
	position: relative;
	animation: logoRotate 30s linear infinite;
}

.pentagon-shape {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, 
		#ff6b6b 0%, 
		#4ecdc4 25%, 
		#45b7d1 50%, 
		#96ceb4 75%, 
		#ffeaa7 100%);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	opacity: 0.3;
	position: relative;
}

/* 内側に小さなポリゴンを配置 */
.inner-pentagon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	height: 60%;
	background: linear-gradient(135deg, 
		#a855f7 0%, 
		#ec4899 50%, 
		#06b6d4 100%);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	opacity: 0.4;
	animation: logoRotate 20s linear infinite reverse;
}

/* さらに内側の小さなポリゴン */
.core-pentagon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30%;
	height: 30%;
	background: linear-gradient(135deg, 
		#8b5cf6 0%, 
		#d946ef 100%);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	opacity: 0.6;
	animation: logoRotate 15s linear infinite;
}

/* 周囲の装飾ポリゴン */
.decorative-polygon {
	position: absolute;
	opacity: 0.2;
	animation: gentleFloat 25s ease-in-out infinite;
}

.decorative-polygon:nth-child(1) {
	width: 50px;
	height: 50px;
	top: 10%;
	left: 10%;
	background: rgba(139, 92, 246, 0.3);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	animation-delay: 0s;
}

.decorative-polygon:nth-child(2) {
	width: 40px;
	height: 40px;
	top: 80%;
	left: 20%;
	background: rgba(236, 72, 153, 0.3);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	animation-delay: 5s;
}

.decorative-polygon:nth-child(3) {
	width: 45px;
	height: 45px;
	top: 15%;
	right: 15%;
	background: rgba(6, 182, 212, 0.3);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	animation-delay: 10s;
}

.decorative-polygon:nth-child(4) {
	width: 35px;
	height: 35px;
	top: 70%;
	right: 10%;
	background: rgba(16, 185, 129, 0.3);
	clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
	animation-delay: 15s;
}

/* ポリゴンアニメーション定義 */
@keyframes logoRotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes gentleFloat {
	0%, 100% {
		transform: translateY(0px) rotate(0deg) scale(1);
	}
	50% {
		transform: translateY(-15px) rotate(5deg) scale(1.02);
	}
}

/* フッター */
.footer {
	background: #1a1a1a;
	color: #fff;
	padding:3rem 2rem 8rem;
	text-align: center;
}

.footer-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-link {
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	position: relative;
	overflow: hidden;
}

.footer-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
	transition: left 0.5s ease;
}

.footer-link:hover {
	color: #a855f7;
	background: rgba(168, 85, 247, 0.1);
	transform: translateY(-1px);
}

.footer-link:hover::before {
	left: 100%;
}

.footer p {
	margin: 0;
	font-size: 0.8rem;
	color: #888;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
	.footer-nav {
		flex-direction: column;
		gap: 1rem;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
SP/PC表示制御クラス
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

/* PC表示制御 */
.pc {
	display: block;
}

.sp {
	display: none;
}

/* タブレット・スマートフォン用（768px以下） */
@media (max-width: 768px) {
	.pc {
		display: none;
	}
	
	.sp {
		display: block;
	}
}

/* スマートフォン専用（480px以下） */
@media (max-width: 480px) {
	.pc {
		display: none;
	}
	
	.sp {
		display: block;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
404ページ専用スタイル
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

.notfound-content {
	text-align: center;
	padding: 4rem 0;
	max-width: 600px;
	margin: 0 auto;
}

.notfound-illustration {
	margin-bottom: 3rem;
}

.notfound-number {
	font-size: 8rem;
	font-weight: 900;
	color: var(--color-main);
	line-height: 1;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
	background: linear-gradient(135deg, var(--color-main) 0%, #666 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.notfound-message {
	margin-bottom: 2rem;
}

.notfound-message p {
	font-size: 1.2rem;
	line-height: 1.8;
	color: #666;
	margin: 0;
}

.notfound-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.primary-button {
	background: linear-gradient(135deg, var(--color-main) 0%, #444 100%);
	color: white;
	padding: 1rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.primary-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	background: linear-gradient(135deg, #444 0%, var(--color-main) 100%);
}

.secondary-button {
	background: transparent;
	color: var(--color-main);
	padding: 1rem 2rem;
	border: 2px solid var(--color-main);
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.secondary-button:hover {
	background: var(--color-main);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.notfound-number {
		font-size: 6rem;
	}
	
	.notfound-message p {
		font-size: 1rem;
	}
	
	.notfound-actions {
		flex-direction: column;
		align-items: center;
	}
	
	.primary-button,
	.secondary-button {
		width: 100%;
		max-width: 300px;
		text-align: center;
	}
}



/* single.php */
.post-content {
    padding: 40px 100px;
    margin: 0 auto;
}


