/*
Theme Name: if(塾)
Theme URI: https://if-juku.net
Description: if(塾) - AIと起業を学ぶオンラインプログラミング塾 WordPress Theme
Author: if(塾)
Author URI: https://if-juku.net
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: if-juku
Tags: dark, one-column, custom-logo, custom-menu, featured-images, education
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	--primary-color: #00ffcc;
	--secondary-color: #ff00ff;
	--accent-color: #00ff00;
	--bg-dark: #0a0a0a;
	--bg-secondary: #1a1a2e;
	--text-light: #ffffff;
	--text-gray: #b0b0b0;
	--neon-glow: 0 0 20px rgba(0, 255, 204, 0.5);
	--purple-glow: 0 0 30px rgba(255, 0, 255, 0.3);
	--font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	background-color: var(--bg-dark);
	color: var(--text-light);
	overflow-x: hidden;
	position: relative;
	line-height: 1.8;
	font-size: 18px;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(0, 255, 204, 0.03) 2px,
			rgba(0, 255, 204, 0.03) 4px
		);
	pointer-events: none;
	z-index: 1;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--secondary-color);
}

img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes glow {
	from { filter: brightness(1); }
	to { filter: brightness(1.2); }
}

@keyframes blueGlow {
	0%, 100% {
		text-shadow:
			0 0 20px rgba(100, 200, 255, 0.8),
			0 0 40px rgba(100, 200, 255, 0.6),
			0 0 60px rgba(100, 200, 255, 0.4);
	}
	50% {
		text-shadow:
			0 0 30px rgba(100, 200, 255, 1),
			0 0 50px rgba(100, 200, 255, 0.8),
			0 0 70px rgba(100, 200, 255, 0.6);
	}
}

@keyframes yellowGlow {
	0%, 100% {
		text-shadow:
			0 0 20px rgba(255, 215, 0, 0.8),
			0 0 40px rgba(255, 215, 0, 0.6),
			0 0 60px rgba(255, 215, 0, 0.4);
	}
	50% {
		text-shadow:
			0 0 30px rgba(255, 215, 0, 1),
			0 0 50px rgba(255, 215, 0, 0.8),
			0 0 70px rgba(255, 215, 0, 0.6);
	}
}

@keyframes pulse {
	0% { box-shadow: 0 0 20px rgba(0, 255, 204, 0.5); }
	50% { box-shadow: 0 0 40px rgba(0, 255, 204, 0.8); }
	100% { box-shadow: 0 0 20px rgba(0, 255, 204, 0.5); }
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-left {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(0); }
}

@keyframes talk {
	0%, 100% { background-image: url('assets/images/getabako0.png'); }
	50% { background-image: url('assets/images/getabako1.png'); }
}

@keyframes logoFloat {
	0%, 100% {
		transform: translateY(0px) scale(1);
	}
	50% {
		transform: translateY(-10px) scale(1.05);
	}
}

@keyframes digitGlow {
	0%, 100% {
		box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.3), 0 0 8px rgba(255, 0, 255, 0.2);
	}
	50% {
		box-shadow: inset 0 0 15px rgba(255, 0, 255, 0.5), 0 0 12px rgba(255, 0, 255, 0.4);
	}
}

@keyframes minecraftPulse {
	0%, 100% {
		transform: skewY(-5deg) scale(1);
	}
	50% {
		transform: skewY(-5deg) scale(1.05);
	}
}

@keyframes fireFlicker {
	0%, 100% {
		text-shadow:
			0 0 10px #ff6600,
			0 0 20px #ff6600,
			0 0 30px #ff3300,
			0 0 40px #ff3300,
			0 0 50px #ff0000,
			0 -10px 60px #ff3300,
			0 -15px 80px #ff0000;
		filter: brightness(1.2);
	}
	50% {
		text-shadow:
			0 0 5px #ff9900,
			0 0 15px #ff6600,
			0 0 25px #ff3300,
			0 0 35px #ff3300,
			0 0 45px #ff0000,
			0 -5px 55px #ff6600,
			0 -10px 70px #ff3300;
		filter: brightness(1);
	}
}

@keyframes gradientShift {
	0%, 100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

@keyframes floatingBubbles {
	0%, 100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.5;
	}
	33% {
		transform: translate(30px, -30px) scale(1.1);
		opacity: 0.7;
	}
	66% {
		transform: translate(-20px, 20px) scale(0.9);
		opacity: 0.6;
	}
}

@keyframes particleMove {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-50px);
	}
}

@keyframes wave {
	0%, 100% {
		transform: translateX(0) scaleY(1);
	}
	50% {
		transform: translateX(-25%) scaleY(1.2);
	}
}

@keyframes energyFlow {
	0%, 100% {
		transform: translate(0, 0) rotate(0deg);
		opacity: 0.6;
	}
	25% {
		transform: translate(5%, -5%) rotate(5deg);
		opacity: 0.8;
	}
	50% {
		transform: translate(-5%, 5%) rotate(-5deg);
		opacity: 1;
	}
	75% {
		transform: translate(5%, 5%) rotate(3deg);
		opacity: 0.7;
	}
}

@keyframes energyOrbs {
	0%, 100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.5;
	}
	20% {
		transform: translate(50px, -30px) scale(1.2);
		opacity: 0.8;
	}
	40% {
		transform: translate(-30px, 40px) scale(0.9);
		opacity: 0.6;
	}
	60% {
		transform: translate(40px, 30px) scale(1.1);
		opacity: 0.9;
	}
	80% {
		transform: translate(-40px, -20px) scale(0.95);
		opacity: 0.7;
	}
}

@keyframes slideShine {
	0% {
		transform: translateX(-100%) translateY(-100%) rotate(45deg);
	}
	100% {
		transform: translateX(100%) translateY(100%) rotate(45deg);
	}
}

@keyframes titlePulse {
	0%, 100% {
		box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 20px rgba(0, 255, 204, 0.6), 0 0 30px rgba(0, 255, 204, 0.4);
		transform: scale(1.02);
	}
}

@keyframes gridMove {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(10px, 10px);
	}
}

@keyframes dotPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
}

/* ==========================================================================
   Section Common
   ========================================================================== */

section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 60px 20px;
	border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

.section-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 3rem;
	text-align: center;
	background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: var(--neon-glow);
	animation: glow 2s ease-in-out infinite alternate;
}

/* ==========================================================================
   Navigation (matches original if-juku HTML site)
   ========================================================================== */

.nav-container {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	padding: 20px;
}

.hamburger {
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	border: 1px solid var(--primary-color);
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	transition: all 0.3s;
	box-shadow: var(--neon-glow);
	position: relative;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: var(--primary-color);
	transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
	transform: scale(0);
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger.active {
	z-index: 10001;
	background: rgba(0, 0, 0, 0.95);
	border: 2px solid var(--primary-color);
}

.hamburger.active span {
	background: var(--primary-color);
	box-shadow: 0 0 5px var(--primary-color);
}

.nav-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 320px;
	height: 100vh;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(20px);
	border-left: 1px solid var(--primary-color);
	transition: right 0.3s;
	padding: 80px 30px 30px;
	overflow-y: auto;
	z-index: 999;
}

.nav-menu.active {
	right: 0;
}

.nav-menu ul {
	list-style: none;
}

.nav-menu > ul > li {
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(0, 255, 204, 0.1);
	padding-bottom: 20px;
}

.nav-menu a {
	color: var(--text-light);
	text-decoration: none;
	font-size: 1.1rem;
	display: block;
	padding: 10px 0;
	transition: all 0.3s;
	position: relative;
}

.nav-menu a:hover {
	color: var(--primary-color);
	padding-left: 10px;
}

.nav-menu ul ul {
	margin-left: 20px;
	margin-top: 10px;
}

.nav-menu ul ul a {
	font-size: 0.95rem;
	color: var(--text-gray);
}

/* ==========================================================================
   Main Content Area (WordPress)
   ========================================================================== */

.site-main {
	position: relative;
	z-index: 2;
	min-height: 100vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* ==========================================================================
   Page Hero / Page Header
   ========================================================================== */

.page-hero {
	padding: 4rem 0 3rem;
	text-align: center;
	position: relative;
}

.page-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
	box-shadow: var(--neon-glow);
}

.page-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
}

.page-description {
	font-size: 1.1rem;
	color: var(--text-gray);
	max-width: 700px;
	margin: 1rem auto 0;
}

/* ==========================================================================
   Hero Section (Front Page)
   ========================================================================== */

#hero {
	position: relative;
	overflow: hidden;
}

#hero video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
	opacity: 0.5;
}

.hero-content {
	text-align: center;
	z-index: 2;
	max-width: 900px;
}

.hero-logo {
	width: 200px;
	height: auto;
	margin-bottom: 2rem;
	filter: drop-shadow(var(--neon-glow));
}

.hero-title {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
	font-weight: 700;
	color: #4da6ff;
	-webkit-text-stroke: 2px #000;
	paint-order: stroke fill;
	text-shadow:
		0 0 20px rgba(77, 166, 255, 0.8),
		0 0 40px rgba(77, 166, 255, 0.6),
		0 0 60px rgba(77, 166, 255, 0.4);
	animation: blueGlow 2s ease-in-out infinite;
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.3rem);
	color: #ffd700;
	margin-bottom: 3rem;
	line-height: 1.8;
	-webkit-text-stroke: 1.5px #000;
	paint-order: stroke fill;
	text-shadow:
		0 0 20px rgba(255, 215, 0, 0.8),
		0 0 40px rgba(255, 215, 0, 0.6),
		0 0 60px rgba(255, 215, 0, 0.4);
	animation: yellowGlow 2s ease-in-out infinite;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */

.cta-button {
	display: inline-block;
	padding: 15px 40px;
	background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
	color: var(--bg-dark);
	font-weight: bold;
	font-size: 1.1rem;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s;
	box-shadow: var(--neon-glow);
	animation: pulse 2s infinite;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 40px rgba(0, 255, 204, 0.6);
	color: var(--bg-dark);
}

/* ==========================================================================
   About Section
   ========================================================================== */

#about img {
	width: 100%;
	max-width: 1200px;
	height: auto;
	border-radius: 10px;
	box-shadow: var(--purple-glow);
}

/* ==========================================================================
   Course Section (Tabs)
   ========================================================================== */

.tab-container {
	width: 100%;
	max-width: 1000px;
}

.tab-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-bottom: 3rem;
}

.tab-button {
	padding: 12px 30px;
	background: transparent;
	color: var(--text-gray);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 30px;
	cursor: pointer;
	font-size: 1rem;
	transition: all 0.3s;
	font-weight: 600;
}

.tab-button:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.tab-button.active {
	background: var(--primary-color);
	color: var(--bg-dark);
	border-color: var(--primary-color);
	box-shadow: var(--neon-glow);
}

.tab-content {
	display: none;
	animation: fadeIn 0.5s;
}

.tab-content.active {
	display: block;
}

.course-window {
	background-size: cover;
	background-position: center;
	border-radius: 15px;
	padding: 40px;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.course-window::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
	z-index: 1;
}

.course-content {
	position: relative;
	z-index: 2;
}

.course-title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--primary-color);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.course-info {
	display: flex;
	gap: 30px;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.course-info span {
	background: rgba(0, 255, 204, 0.1);
	padding: 8px 16px;
	border-radius: 20px;
	border: 1px solid rgba(0, 255, 204, 0.3);
	font-size: 0.9rem;
}

.course-points {
	list-style: none;
	margin-top: 1.5rem;
}

.course-points li {
	padding: 10px 0;
	padding-left: 30px;
	position: relative;
}

.course-points li::before {
	content: '\25B6';
	position: absolute;
	left: 0;
	color: var(--primary-color);
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */

#schedule {
	background: linear-gradient(135deg, var(--bg-dark), var(--bg-secondary));
	padding: 40px 20px;
	min-height: auto;
}

.calendar-container {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	background: rgba(26, 26, 46, 0.8);
	border-radius: 15px;
	padding: 20px;
	box-shadow: var(--purple-glow);
}

.calendar-image {
	width: 100%;
	border-radius: 10px;
	display: block;
}

.schedule-note {
	text-align: center;
	margin-top: 0;
	padding-top: 1rem;
	font-size: 1rem;
	color: var(--text-gray);
	line-height: 1.4;
}

/* ==========================================================================
   Service Grid (Front Page)
   ========================================================================== */

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
	max-width: 1000px;
	margin-top: 2rem;
}

.service-card {
	position: relative;
	aspect-ratio: 1;
	border-radius: 15px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s;
	transform: scale(1);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
	z-index: 1;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--neon-glow);
}

.service-image {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
}

.service-info {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	z-index: 2;
}

.service-name {
	font-size: 1.2rem;
	margin-bottom: 8px;
	color: var(--primary-color);
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.service-brief {
	color: var(--text-light);
	font-size: 0.9rem;
	margin-bottom: 0;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.service-detail {
	display: none;
}

/* Service Modal */
.service-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	color: var(--text-light);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
	box-sizing: border-box;
}

.service-modal.active {
	display: flex;
}

.service-modal-content {
	max-width: 800px;
	width: 100%;
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.8;
	position: relative;
}

.service-modal-close {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: var(--bg-dark);
	border: none;
	border-radius: 50%;
	font-size: 2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	font-weight: bold;
}

.service-modal-close:hover {
	background: var(--text-light);
	transform: scale(1.1);
}

/* ==========================================================================
   Challenge Section
   ========================================================================== */

.challenge-container {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	width: 100%;
	max-width: 1400px;
	align-items: center;
}

.challenge-image {
	width: 100%;
	border-radius: 15px;
	box-shadow: var(--purple-glow);
}

.challenge-window {
	background: rgba(26, 26, 46, 0.8);
	border: 2px solid var(--primary-color);
	border-radius: 15px;
	padding: 40px;
	box-shadow: var(--neon-glow);
}

.challenge-title {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: var(--primary-color);
}

.challenge-text {
	line-height: 1.8;
	margin-bottom: 1rem;
	color: var(--text-light);
}

.challenge-note {
	font-size: 0.9rem;
	color: var(--text-gray);
	margin-top: 2rem;
}

/* ==========================================================================
   Issues Slider
   ========================================================================== */

.slider-container {
	width: 100%;
	max-width: 1000px;
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: var(--purple-glow);
}

.slider-wrapper {
	display: flex;
	transition: transform 0.5s ease;
}

.slide {
	min-width: 100%;
	background: rgba(26, 26, 46, 0.9);
	border-radius: 15px;
	overflow: hidden;
}

.slide-image {
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.slide-title {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(0, 0, 0, 0.8);
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 1.5rem;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.slide-text {
	padding: 30px;
	line-height: 1.8;
	color: var(--text-light);
}

.slider-dots {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 30px;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(0, 255, 204, 0.3);
	border: 1px solid var(--primary-color);
	cursor: pointer;
	transition: all 0.3s;
}

.slider-dot.active {
	background: var(--primary-color);
	box-shadow: var(--neon-glow);
}

/* ==========================================================================
   Flow Section
   ========================================================================== */

.flow-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.flow-image {
	width: 60%;
	border-radius: 15px;
	box-shadow: var(--purple-glow);
}

.flow-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* ==========================================================================
   Staff Slider
   ========================================================================== */

.staff-slider {
	width: 100%;
	max-width: 1000px;
	background: rgba(26, 26, 46, 0.8);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: var(--purple-glow);
}

.staff-slide {
	display: none;
	grid-template-columns: 300px 1fr;
	min-height: 400px;
}

.staff-slide.active {
	display: grid;
}

.staff-image-container {
	position: relative;
	overflow: hidden;
}

.staff-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.staff-role {
	position: absolute;
	bottom: 20px;
	left: 20px;
	background: rgba(0, 0, 0, 0.8);
	padding: 8px 16px;
	border-radius: 8px;
	color: var(--primary-color);
	font-size: 0.9rem;
	border: 1px solid var(--primary-color);
}

.staff-name {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.8);
	padding: 10px 20px;
	border-radius: 8px;
	color: var(--text-light);
	font-size: 1.3rem;
	font-weight: bold;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.staff-description {
	padding: 40px;
	display: flex;
	align-items: center;
}

.staff-text {
	line-height: 1.8;
	color: var(--text-light);
}

.staff-dots {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 30px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-container {
	width: 100%;
	max-width: 1000px;
	text-align: center;
}

.faq-character {
	width: 200px;
	height: 200px;
	margin: 0 auto 30px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	animation: talk 0.5s infinite;
}

.faq-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.faq-button {
	padding: 15px 20px;
	background: rgba(26, 26, 46, 0.8);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 10px;
	color: var(--text-light);
	cursor: pointer;
	transition: all 0.3s;
	font-size: 1rem;
}

.faq-button:hover {
	border-color: var(--primary-color);
	background: rgba(0, 255, 204, 0.1);
	transform: translateY(-3px);
}

.faq-message {
	background: rgba(26, 26, 46, 0.9);
	border: 2px solid var(--primary-color);
	border-radius: 15px;
	padding: 30px;
	min-height: 120px;
	display: none;
	box-shadow: var(--neon-glow);
}

.faq-message.active {
	display: block;
}

.faq-text {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-light);
	text-align: left;
}

/* ==========================================================================
   YouTube Section
   ========================================================================== */

.youtube-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.youtube-scroll {
	display: flex;
	gap: 20px;
	animation: scroll-left 10s linear infinite;
}

.youtube-video {
	min-width: 320px;
	height: 180px;
	background: rgba(26, 26, 46, 0.8);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	border: 1px solid rgba(0, 255, 204, 0.2);
	overflow: hidden;
	position: relative;
}

.youtube-video iframe {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 10px;
}

.youtube-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--text-gray);
	font-size: 0.9rem;
}

.youtube-button {
	margin-top: 30px;
}

/* ==========================================================================
   Comic Section
   ========================================================================== */

.comic-slider {
	width: 100%;
	max-width: 900px;
	position: relative;
}

.comic-slide {
	display: none;
}

.comic-slide.active {
	display: block;
}

/* SP only slides - hidden by default */
.comic-slide.sp-only {
	display: none !important;
}

/* Only show SP slides when they are active */
.comic-slide.sp-only.active {
	display: block !important;
}

.comic-slide img {
	width: 100%;
	border-radius: 15px;
	box-shadow: var(--purple-glow);
}

.comic-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.comic-nav button {
	padding: 12px 30px;
	background: rgba(0, 255, 204, 0.1);
	border: 2px solid var(--primary-color);
	border-radius: 30px;
	color: var(--primary-color);
	cursor: pointer;
	transition: all 0.3s;
	font-size: 1rem;
}

.comic-nav button:hover {
	background: var(--primary-color);
	color: var(--bg-dark);
}

.comic-nav button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* ==========================================================================
   Message Section
   ========================================================================== */

.message-container {
	width: 100%;
	max-width: 1100px;
	background: url('assets/images/paper.png') center/cover;
	background-size: 110%;
	border-radius: 15px;
	padding: 60px;
	box-shadow: var(--purple-glow);
	position: relative;
}

.message-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 15px;
	z-index: 1;
}

.message-content {
	position: relative;
	z-index: 2;
}

.message-text {
	font-size: 1.1rem;
	line-height: 2;
	margin-bottom: 2rem;
	color: var(--text-light);
	padding-left: 1.2em;
}

.message-signature {
	text-align: right;
	margin-top: 3rem;
	position: relative;
}

.message-signature p {
	margin: 5px 0;
	color: var(--primary-color);
}

/* ==========================================================================
   NPO if(AI) Section
   ========================================================================== */

#if-ai {
	position: relative;
	overflow: hidden;
}

#if-ai .heart-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

#if-ai .section-title,
#if-ai .section-content {
	position: relative;
	z-index: 1;
}

#if-ai .business-card {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s;
	background: var(--bg-secondary);
	border: 1px solid rgba(0, 255, 204, 0.3);
	display: flex;
	flex-direction: column;
	aspect-ratio: 1/1;
}

#if-ai .business-card-image {
	width: 100%;
	height: 60%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

#if-ai .business-card-content {
	padding: 20px 15px;
	height: 40%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	overflow: hidden;
}

#if-ai .business-card-content h3 {
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
	color: var(--primary-color);
}

#if-ai .business-card-detail {
	color: var(--text-light);
	font-size: 1.1rem;
	line-height: 1.6;
}

#if-ai .business-card-detail p {
	margin: 0;
}

#if-ai .business-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--neon-glow);
	border-color: var(--primary-color);
}

/* ==========================================================================
   Business Section
   ========================================================================== */

#business,
#kitazuna {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
}

.business-container {
	width: 100%;
	max-width: 1200px;
	position: relative;
}

.business-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	opacity: 0;
	z-index: -1;
	pointer-events: none;
	transition: opacity 0.5s ease;
	filter: brightness(0.7);
}

.business-video.active {
	opacity: 1;
}

.kitazuna-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	opacity: 0;
	z-index: -1;
	pointer-events: none;
	transition: opacity 0.5s ease;
	filter: brightness(0.7);
}

.kitazuna-video.active {
	opacity: 1;
}

#business::after,
#kitazuna::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 0;
	pointer-events: none;
}

.business-content {
	position: relative;
	z-index: 1;
	text-align: center;
	background: rgba(0, 0, 0, 0.4);
	padding: 40px;
	border-radius: 20px;
	backdrop-filter: blur(2px);
}

.business-subtitle {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.business-text {
	font-size: 1.1rem;
	margin-bottom: 3rem;
	color: var(--text-gray);
}

.business-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 3rem;
}

#if-ai .business-grid {
	max-width: 1400px;
	margin: 0 auto 3rem;
	gap: 40px;
}

.business-card {
	background-size: cover;
	background-position: center;
	aspect-ratio: 16/9;
	border-radius: 15px;
	display: flex;
	align-items: flex-end;
	padding: 20px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.business-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.business-card-title {
	position: relative;
	z-index: 2;
	color: var(--text-light);
	font-size: 1.3rem;
	font-weight: bold;
}

.business-card-detail {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	color: var(--text-light);
	padding: 20px;
	text-align: center;
	font-size: 1.1rem;
	line-height: 1.4;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
}

.business-card:hover .business-card-detail {
	opacity: 1;
}

/* ==========================================================================
   Contact Section (Front Page)
   ========================================================================== */

#contact {
	background: linear-gradient(135deg, var(--bg-secondary), var(--bg-dark));
}

.contact-links {
	display: grid;
	gap: 20px;
	width: 100%;
	max-width: 800px;
	margin-bottom: 3rem;
}

.contact-link {
	display: block;
	padding: 20px 40px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	color: var(--text-light);
	text-decoration: none;
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
	border: 2px solid;
	border-radius: 50px;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.contact-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s;
}

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

.contact-link:nth-child(1) {
	border-color: #4a90e2;
	box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-link:nth-child(1):hover {
	background: linear-gradient(135deg, #4a90e2, #357abd);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(74, 144, 226, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-link:nth-child(2) {
	border-color: #ff8c42;
	box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-link:nth-child(2):hover {
	background: linear-gradient(135deg, #ff8c42, #ff6b1a);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 140, 66, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-link:nth-child(3) {
	border-color: #06c755;
	box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-link:nth-child(3):hover {
	background: linear-gradient(135deg, #06c755, #05a344);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(6, 199, 85, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-info {
	text-align: center;
	color: var(--text-gray);
	line-height: 1.8;
}

/* ==========================================================================
   Footer (Original Front Page)
   ========================================================================== */

.footer {
	text-align: center;
	padding: 40px;
	border-top: 1px solid rgba(0, 255, 204, 0.2);
	color: var(--text-gray);
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.footer-link {
	color: var(--text-gray);
	text-decoration: none;
	padding: 5px 10px;
	border-radius: 5px;
	transition: color 0.3s ease, background-color 0.3s ease;
	font-size: 0.9rem;
}

.footer-link:hover {
	color: var(--primary-color);
	background-color: rgba(0, 255, 204, 0.1);
}

/* ==========================================================================
   Site Footer (WordPress)
   ========================================================================== */

/* Footer (matches original if-juku HTML site) */
.footer {
	text-align: center;
	padding: 40px;
	border-top: 1px solid rgba(0, 255, 204, 0.2);
	color: var(--text-gray);
	position: relative;
	z-index: 2;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.footer-link,
.footer-links a {
	color: var(--text-gray);
	text-decoration: none;
	padding: 5px 10px;
	border-radius: 5px;
	transition: color 0.3s ease, background-color 0.3s ease;
	font-size: 0.9rem;
}

.footer-link:hover,
.footer-links a:hover {
	color: var(--primary-color);
	background-color: rgba(0, 255, 204, 0.1);
}

.footer p {
	color: var(--text-gray);
	font-size: 0.85rem;
}

/* ==========================================================================
   Blog Scroll
   ========================================================================== */

.blog-scroll {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin: 30px 0;
}

.blog-items {
	display: flex;
	gap: 20px;
	animation: scroll-right 13s linear infinite;
}

.blog-items.reverse {
	animation: scroll-left 13s linear infinite;
}

.blog-item {
	min-width: 300px;
	padding: 20px;
	background: rgba(26, 26, 46, 0.8);
	border: 1px solid rgba(0, 255, 204, 0.2);
	border-radius: 10px;
	transition: all 0.3s;
}

.blog-item:hover {
	border-color: var(--primary-color);
	transform: translateY(-5px);
}

.blog-title {
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.blog-excerpt {
	font-size: 0.9rem;
	color: var(--text-gray);
	line-height: 1.6;
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */

.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg-dark);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	transition: opacity 0.5s;
}

.loading.hidden {
	opacity: 0;
	pointer-events: none;
}

.loading-logo {
	width: 200px;
	height: 200px;
	margin-bottom: 30px;
	position: relative;
}

.loading-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	animation: logoFloat 2s ease-in-out infinite;
}

.loading-progress {
	width: 300px;
	height: 8px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	margin-bottom: 20px;
}

.loading-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 10px;
	width: 0%;
	transition: width 0.3s ease;
	box-shadow: 0 0 20px rgba(0, 255, 204, 0.6);
}

.loading-text {
	font-size: 1.2rem;
	color: var(--text-gray);
	font-weight: 500;
}

.loading-percentage {
	font-size: 2rem;
	color: var(--primary-color);
	font-weight: bold;
	margin-bottom: 20px;
}

/* ==========================================================================
   Visitor Counter
   ========================================================================== */

.visitor-counter {
	display: inline-block;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	border: 3px solid var(--primary-color);
	border-radius: 12px;
	padding: 15px 20px;
	box-shadow: 0 0 30px rgba(0, 255, 204, 0.4), inset 0 0 20px rgba(0, 255, 204, 0.1);
	font-family: 'Courier New', monospace;
	min-width: 250px;
	margin-left: 20px;
}

.counter-title {
	font-size: 0.9rem;
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
	text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.counter-stats {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.counter-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
	background: rgba(0, 0, 0, 0.4);
	border-radius: 6px;
	border: 1px solid rgba(0, 255, 204, 0.2);
}

.counter-label {
	font-size: 0.85rem;
	color: var(--text-gray);
	font-weight: 600;
}

.counter-value {
	display: flex;
	gap: 3px;
}

.counter-digit {
	display: inline-block;
	background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
	border: 1px solid var(--secondary-color);
	border-radius: 4px;
	padding: 4px 6px;
	font-size: 0.9rem;
	color: var(--secondary-color);
	font-weight: bold;
	min-width: 22px;
	text-align: center;
	box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.3), 0 0 8px rgba(255, 0, 255, 0.2);
	animation: digitGlow 2s ease-in-out infinite;
}

/* ==========================================================================
   Minecraft Style Text
   ========================================================================== */

.minecraft-text {
	font-family: 'Press Start 2P', 'Courier New', monospace;
	font-size: clamp(1.2rem, 3vw, 2rem);
	color: #ffff00;
	text-shadow:
		3px 3px 0px #000000,
		-1px -1px 0px #000000,
		1px -1px 0px #000000,
		-1px 1px 0px #000000,
		0 0 20px rgba(255, 255, 0, 0.8);
	transform: skewY(-5deg);
	display: block;
	animation: minecraftPulse 2s ease-in-out infinite;
	line-height: 1.8;
	margin-bottom: 0.5rem;
	margin-top: -1rem;
	font-weight: bold;
	letter-spacing: 2px;
	text-align: right;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 5;
}

/* ==========================================================================
   Fire Effect for Challenge Title
   ========================================================================== */

.fire-text {
	position: relative;
	display: inline-block;
	animation: fireFlicker 1.5s ease-in-out infinite;
	color: #333;
	-webkit-text-stroke: 1.5px #000;
	paint-order: stroke fill;
}

/* ==========================================================================
   Blog Modal
   ========================================================================== */

.blog-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	animation: fadeIn 0.3s;
}

.blog-modal-content {
	background: rgba(26, 26, 46, 0.95);
	border: 2px solid var(--primary-color);
	border-radius: 15px;
	max-width: 900px;
	max-height: 80vh;
	overflow-y: auto;
	padding: 40px;
	position: relative;
	box-shadow: var(--neon-glow);
}

.blog-modal-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 2rem;
	color: var(--primary-color);
	cursor: pointer;
	transition: all 0.3s;
}

.blog-modal-close:hover {
	color: var(--secondary-color);
	transform: rotate(90deg);
}

.blog-modal-content h2 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 2rem;
}

.blog-modal-date {
	color: var(--text-gray);
	margin-bottom: 2rem;
}

.blog-modal-body {
	color: var(--text-light);
	line-height: 1.8;
}

.blog-modal-body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1rem 0;
}

.blog-modal-body pre {
	background: rgba(0, 0, 0, 0.5);
	padding: 1rem;
	border-radius: 10px;
	overflow-x: auto;
	margin: 1rem 0;
}

.blog-modal-content::-webkit-scrollbar {
	width: 10px;
}

.blog-modal-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 5px;
}

.blog-modal-content::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 5px;
}

.blog-modal-content::-webkit-scrollbar-thumb:hover {
	background: var(--secondary-color);
}

/* ==========================================================================
   Animated Background
   ========================================================================== */

.animated-bg {
	position: relative;
	overflow: hidden;
}

.animated-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg,
		rgba(255, 107, 107, 0.05) 0%,
		rgba(255, 140, 66, 0.05) 25%,
		rgba(102, 126, 234, 0.05) 50%,
		rgba(118, 75, 162, 0.05) 75%,
		rgba(255, 107, 107, 0.05) 100%
	);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	z-index: 0;
}

.animated-bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
	animation: floatingBubbles 20s ease-in-out infinite;
	z-index: 0;
}

.animated-bg > * {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Particle Animation
   ========================================================================== */

.particle-bg {
	position: relative;
	overflow: hidden;
}

.particle-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: particleMove 30s linear infinite;
	z-index: 0;
}

.particle-bg > * {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Wave Animation
   ========================================================================== */

.wave-bg {
	position: relative;
	overflow: hidden;
}

.wave-bg::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 200px;
	background: linear-gradient(to top, rgba(102, 126, 234, 0.1), transparent);
	animation: wave 8s ease-in-out infinite;
	z-index: 0;
}

.wave-bg::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(to top, rgba(255, 140, 66, 0.08), transparent);
	animation: wave 10s ease-in-out infinite reverse;
	z-index: 0;
}

.wave-bg > * {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Dynamic Issues Section Animation
   ========================================================================== */

.issues-dynamic-bg {
	position: relative;
	overflow: hidden;
}

.issues-dynamic-bg::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		45deg,
		rgba(0, 255, 204, 0.08) 0%,
		rgba(102, 126, 234, 0.08) 25%,
		rgba(255, 107, 107, 0.08) 50%,
		rgba(255, 140, 66, 0.08) 75%,
		rgba(0, 255, 204, 0.08) 100%
	);
	background-size: 200% 200%;
	animation: energyFlow 12s ease-in-out infinite;
	z-index: 0;
}

.issues-dynamic-bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 10% 20%, rgba(0, 255, 204, 0.15) 0%, transparent 30%),
		radial-gradient(circle at 90% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 30%),
		radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.12) 0%, transparent 35%),
		radial-gradient(circle at 70% 30%, rgba(255, 140, 66, 0.12) 0%, transparent 25%),
		radial-gradient(circle at 30% 70%, rgba(0, 255, 204, 0.1) 0%, transparent 28%);
	animation: energyOrbs 20s ease-in-out infinite;
	z-index: 0;
}

.issues-dynamic-bg > * {
	position: relative;
	z-index: 1;
}

/* Enhanced slide animations for Issues */
#issues .slide {
	transition: all 0.5s ease;
}

#issues .slide-image {
	transition: transform 0.6s ease, filter 0.6s ease;
	position: relative;
	overflow: hidden;
}

#issues .slide-image::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		45deg,
		transparent 30%,
		rgba(0, 255, 204, 0.1) 50%,
		transparent 70%
	);
	transform: rotate(45deg);
	animation: slideShine 3s ease-in-out infinite;
}

#issues .slide-title {
	animation: titlePulse 2s ease-in-out infinite;
	transform-origin: left center;
}

#issues .slider-container {
	position: relative;
}

#issues .slider-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 10px,
			rgba(0, 255, 204, 0.03) 10px,
			rgba(0, 255, 204, 0.03) 11px
		),
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 10px,
			rgba(102, 126, 234, 0.03) 10px,
			rgba(102, 126, 234, 0.03) 11px
		);
	animation: gridMove 20s linear infinite;
	pointer-events: none;
	z-index: 1;
}

#issues .slider-dot {
	animation: dotPulse 2s ease-in-out infinite;
}

#issues .slider-dot:nth-child(1) {
	animation-delay: 0s;
}

#issues .slider-dot:nth-child(2) {
	animation-delay: 0.3s;
}

#issues .slider-dot:nth-child(3) {
	animation-delay: 0.6s;
}

/* ==========================================================================
   Takumi Workshop Section
   ========================================================================== */

.takumi-section {
	background: #0a0f1b;
	padding: 5rem 2rem;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Yu Gothic', sans-serif;
	position: relative;
	overflow: hidden;
}

.takumi-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
	z-index: 0;
}

.takumi-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(10, 15, 27, 0.9) 0%, rgba(15, 30, 50, 0.85) 100%);
	z-index: 1;
}

.takumi-content {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.takumi-header {
	text-align: center;
	margin-bottom: 1rem;
}

.takumi-title {
	font-size: 4rem;
	margin-bottom: 0.5rem;
	color: #00ff88;
	text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
	letter-spacing: 0.2em;
}

.takumi-subtitle {
	color: #00ff88;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.takumi-description-box {
	background: rgba(0, 0, 0, 0.8);
	border: 1px solid #00ff88;
	border-radius: 8px;
	padding: 1.5rem;
	max-width: 800px;
	margin: 0 auto 3rem;
	position: relative;
}

.takumi-description-box::before {
	content: '\25CF\25CF\25CF';
	position: absolute;
	top: 10px;
	left: 15px;
	color: #ff5f56;
	font-size: 0.8rem;
	letter-spacing: 0.3em;
}

.takumi-description-box::after {
	content: '';
	position: absolute;
	top: 10px;
	left: 45px;
	width: 12px;
	height: 12px;
	background: #ffbd2e;
	border-radius: 50%;
}

.takumi-description {
	color: #ffffff;
	line-height: 1.8;
	margin-top: 1rem;
}

.takumi-features-title {
	font-size: 1.2rem;
	color: #00ff88;
	margin-bottom: 1.5rem;
}

.takumi-features {
	display: flex;
	gap: 2rem;
	margin-bottom: 3rem;
	justify-content: center;
}

.takumi-feature {
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
}

.takumi-feature-icon {
	font-size: 1.2rem;
}

.takumi-services-title {
	text-align: center;
	font-size: 1.5rem;
	color: #00ff88;
	margin-bottom: 2rem;
	letter-spacing: 0.1em;
}

.takumi-services {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
}

.takumi-service-card {
	background: rgba(0, 0, 0, 0.6);
	border: 2px solid #00ff88;
	border-radius: 8px;
	padding: 2rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.takumi-service-card::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #00ff88, #00ffdd, #00ff88);
	border-radius: 8px;
	opacity: 0;
	z-index: -1;
	transition: opacity 0.3s ease;
}

.takumi-service-card:hover {
	transform: translateY(-5px);
	background: rgba(0, 255, 136, 0.1);
}

.takumi-service-card:hover::before {
	opacity: 0.3;
}

.takumi-service-icon {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.takumi-service-name {
	font-size: 1.3rem;
	color: #00ff88;
	margin-bottom: 0.5rem;
}

.takumi-service-desc {
	color: #ffffff;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.takumi-service-price {
	font-size: 1.5rem;
	color: #00ffdd;
	font-weight: bold;
}

/* ==========================================================================
   Inokura Section (Minecraft Style)
   ========================================================================== */

.inokura-section {
	background: #0a0f1b;
	padding: 5rem 2rem;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Yu Gothic', sans-serif;
}

.inokura-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
	z-index: 0;
}

.inokura-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(10, 15, 27, 0.85) 0%, rgba(15, 30, 50, 0.8) 100%);
	z-index: 1;
}

.inokura-content {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.inokura-title {
	font-size: 3.5rem;
	text-align: center;
	margin-bottom: 1rem;
	color: #ffd700;
	text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
	letter-spacing: 0.2em;
}

.inokura-subtitle {
	text-align: center;
	color: #ffffff;
	font-size: 1rem;
	margin-bottom: 3rem;
	opacity: 0.9;
}

.inokura-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.inokura-item {
	background: linear-gradient(135deg, #2c5f88 0%, #1a3a52 100%);
	border: 2px solid rgba(255, 215, 0, 0.3);
	border-radius: 8px;
	padding: 1rem;
	text-align: center;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	overflow: hidden;
}

.inokura-item::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.inokura-item:hover {
	transform: translateY(-5px);
	border-color: #ffd700;
	box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.inokura-item:hover::before {
	opacity: 1;
}

.inokura-item-header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.inokura-icon {
	width: 40px;
	height: 40px;
	image-rendering: pixelated;
	margin-right: 0.5rem;
}

.inokura-name {
	font-size: 0.9rem;
	color: #ffffff;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.inokura-price {
	font-size: 1rem;
	color: #ffd700;
	font-weight: bold;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Specific item colors */
.inokura-item:nth-child(1) { background: linear-gradient(135deg, #4a90e2 0%, #2c5f88 100%); }
.inokura-item:nth-child(2) { background: linear-gradient(135deg, #5cb85c 0%, #3d7e3d 100%); }
.inokura-item:nth-child(3) { background: linear-gradient(135deg, #f0ad4e 0%, #d58512 100%); }
.inokura-item:nth-child(4) { background: linear-gradient(135deg, #d9534f 0%, #ac2925 100%); }
.inokura-item:nth-child(5) { background: linear-gradient(135deg, #868e96 0%, #495057 100%); }
.inokura-item:nth-child(6) { background: linear-gradient(135deg, #9b59b6 0%, #6c3483 100%); }
.inokura-item:nth-child(7) { background: linear-gradient(135deg, #6c757d 0%, #343a40 100%); }
.inokura-item:nth-child(8) { background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%); }
.inokura-item:nth-child(9) { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); }

.inokura-item-emoji {
	font-size: 1.5rem;
	display: block;
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   Default Page Content
   ========================================================================== */

.page-content {
	padding: 3rem 0 5rem;
}

.page-content .entry-content {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--text-light);
}

.page-content .entry-content h2 {
	font-size: 1.8rem;
	color: var(--primary-color);
	margin: 2.5rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(0, 255, 204, 0.3);
}

.page-content .entry-content h3 {
	font-size: 1.4rem;
	color: var(--secondary-color);
	margin: 2rem 0 0.8rem;
}

.page-content .entry-content h4 {
	font-size: 1.2rem;
	color: var(--primary-color);
	margin: 1.5rem 0 0.6rem;
}

.page-content .entry-content p {
	margin-bottom: 1.5rem;
}

.page-content .entry-content ul,
.page-content .entry-content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.page-content .entry-content li {
	margin-bottom: 0.5rem;
}

.page-content .entry-content blockquote {
	background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(255, 0, 255, 0.1));
	border-left: 4px solid var(--primary-color);
	padding: 1.5rem;
	margin: 2rem 0;
	border-radius: 8px;
}

.page-content .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.page-content .entry-content pre {
	background: rgba(26, 26, 46, 0.8);
	border: 1px solid rgba(0, 255, 204, 0.3);
	border-radius: 10px;
	padding: 1.5rem;
	overflow-x: auto;
	margin: 1.5rem 0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.page-content .entry-content code {
	background: rgba(0, 255, 204, 0.1);
	padding: 0.2em 0.5em;
	border-radius: 4px;
	font-size: 0.9em;
	color: var(--primary-color);
}

.page-content .entry-content pre code {
	background: none;
	padding: 0;
	color: var(--text-light);
}

.page-content .entry-content img {
	border-radius: 10px;
	border: 1px solid rgba(0, 255, 204, 0.2);
	margin: 1.5rem 0;
}

.page-content .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.page-content .entry-content th,
.page-content .entry-content td {
	padding: 0.8rem 1rem;
	border: 1px solid rgba(0, 255, 204, 0.2);
	text-align: left;
}

.page-content .entry-content th {
	background: rgba(0, 255, 204, 0.1);
	color: var(--primary-color);
	font-weight: 600;
}

.page-content .entry-content td {
	background: rgba(26, 26, 46, 0.4);
}

/* ==========================================================================
   Manual Page Template
   ========================================================================== */

.manual-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
	align-items: start;
}

/* Table of Contents Sidebar */
.manual-toc {
	position: sticky;
	top: 100px;
	background: rgba(26, 26, 46, 0.8);
	border: 1px solid rgba(0, 255, 204, 0.3);
	border-radius: 15px;
	padding: 1.5rem;
	backdrop-filter: blur(10px);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.manual-toc::-webkit-scrollbar {
	width: 4px;
}

.manual-toc::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.3);
}

.manual-toc::-webkit-scrollbar-thumb {
	background: rgba(0, 255, 204, 0.3);
	border-radius: 2px;
}

.manual-toc-title {
	font-size: 0.9rem;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

.manual-toc ul {
	list-style: none;
}

.manual-toc li {
	margin-bottom: 0.3rem;
}

.manual-toc a {
	display: block;
	padding: 0.4rem 0.8rem;
	color: var(--text-gray);
	font-size: 0.85rem;
	border-radius: 6px;
	transition: all 0.3s;
	border-left: 2px solid transparent;
}

.manual-toc a:hover,
.manual-toc a.active {
	color: var(--primary-color);
	background: rgba(0, 255, 204, 0.05);
	border-left-color: var(--primary-color);
}

.manual-toc .toc-h3 {
	padding-left: 1.5rem;
	font-size: 0.8rem;
}

/* Manual Content */
.manual-content {
	min-width: 0;
}

.manual-intro {
	text-align: center;
	font-size: 1.1rem;
	color: var(--text-gray);
	margin-bottom: 2.5rem;
	padding: 1.5rem;
	background: rgba(0, 255, 204, 0.05);
	border-radius: 10px;
	border: 1px solid rgba(0, 255, 204, 0.2);
}

.manual-section {
	background: rgba(26, 26, 46, 0.6);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 15px;
	padding: 2rem;
	margin-bottom: 2rem;
	backdrop-filter: blur(10px);
}

.manual-section h2 {
	font-size: 1.8rem;
	color: var(--primary-color);
	margin-bottom: 1.2rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.manual-section h3 {
	font-size: 1.4rem;
	color: var(--secondary-color);
	margin: 1.5rem 0 1rem;
}

.manual-section p {
	font-size: 1.05rem;
	margin-bottom: 1rem;
}

.manual-section img {
	border-radius: 10px;
	border: 2px solid rgba(0, 255, 204, 0.2);
	margin: 1rem 0;
}

.manual-section .wp-caption {
	max-width: 100%;
	margin: 1rem 0;
}

.manual-section .wp-caption img {
	margin-bottom: 0.5rem;
}

.manual-section .wp-caption-text {
	font-size: 0.85rem;
	color: var(--text-gray);
	text-align: center;
	font-style: italic;
}

/* Highlight Box */
.manual-section .highlight-box,
.manual-section blockquote {
	background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(255, 0, 255, 0.1));
	border-left: 4px solid var(--primary-color);
	padding: 1.2rem;
	margin: 1.2rem 0;
	border-radius: 8px;
}

/* Price Box */
.manual-section .price-box {
	background: rgba(255, 0, 255, 0.15);
	border: 2px solid var(--secondary-color);
	padding: 1.5rem;
	border-radius: 12px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--secondary-color);
	margin: 1.2rem 0;
	box-shadow: var(--purple-glow);
}

/* Warning Box */
.manual-section .warning-box {
	background: rgba(255, 215, 0, 0.1);
	border: 2px solid #ffd700;
	padding: 1.2rem;
	border-radius: 10px;
	margin: 1.2rem 0;
}

/* Step List */
.manual-section ol.step-list,
.manual-section .step-list {
	counter-reset: step-counter;
	list-style: none;
	padding-left: 0;
}

.manual-section .step-list li {
	counter-increment: step-counter;
	position: relative;
	padding: 1rem 1rem 1rem 3.5rem;
	margin-bottom: 0.8rem;
	background: rgba(0, 255, 204, 0.05);
	border-radius: 10px;
	border-left: 3px solid var(--accent-color);
}

.manual-section .step-list li::before {
	content: counter(step-counter);
	position: absolute;
	left: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: var(--bg-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.9rem;
}

/* Code Blocks in Manual */
.manual-section pre {
	background: rgba(26, 26, 46, 0.9);
	border: 1px solid rgba(0, 255, 204, 0.3);
	border-radius: 10px;
	padding: 1.5rem;
	overflow-x: auto;
	margin: 1rem 0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.manual-section code {
	background: rgba(0, 255, 204, 0.1);
	padding: 0.2em 0.5em;
	border-radius: 4px;
	font-size: 0.9em;
	color: var(--primary-color);
}

.manual-section pre code {
	background: none;
	padding: 0;
	color: var(--text-light);
}

/* Image Gallery in Manual */
.manual-section .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.manual-section .gallery-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid rgba(0, 255, 204, 0.2);
	transition: all 0.3s;
}

.manual-section .gallery-item:hover {
	border-color: var(--primary-color);
	box-shadow: var(--neon-glow);
	transform: translateY(-3px);
}

.manual-section .gallery-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);
	color: var(--primary-color);
	padding: 0.5rem;
	font-size: 0.8rem;
	text-align: center;
}

/* CTA / Tool Link in Manual */
.manual-section .tool-link,
.neon-button {
	display: inline-block;
	padding: 0.8rem 2rem;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--bg-dark);
	text-decoration: none;
	border-radius: 10px;
	font-weight: bold;
	margin: 1rem 0;
	transition: all 0.3s;
	box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.manual-section .tool-link:hover,
.neon-button:hover {
	transform: scale(1.05);
	box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
	color: var(--bg-dark);
}

/* Requirements List */
.manual-section ul.requirements-list {
	list-style: none;
	padding-left: 0;
}

.manual-section ul.requirements-list li {
	padding: 0.7rem 0.7rem 0.7rem 2.5rem;
	margin-bottom: 0.5rem;
	position: relative;
	background: rgba(0, 255, 204, 0.05);
	border-radius: 8px;
}

.manual-section ul.requirements-list li::before {
	content: '\2713';
	position: absolute;
	left: 0.8rem;
	color: var(--accent-color);
	font-weight: bold;
	font-size: 1.2rem;
}

/* ==========================================================================
   Materials Page Template
   ========================================================================== */

.materials-hero {
	padding: 4rem 0 2rem;
	text-align: center;
}

.materials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem 5rem;
}

.material-card {
	background: rgba(26, 26, 46, 0.6);
	border: 1px solid rgba(0, 255, 204, 0.2);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s;
	position: relative;
}

.material-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--neon-glow);
	border-color: var(--primary-color);
}

.material-card-image {
	width: 100%;
	aspect-ratio: 16/10;
	overflow: hidden;
	position: relative;
}

.material-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.material-card:hover .material-card-image img {
	transform: scale(1.05);
}

.material-card-image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 50%, rgba(10, 10, 10, 0.8));
}

.material-card-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(0, 255, 204, 0.9);
	color: var(--bg-dark);
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: bold;
	z-index: 2;
}

.material-card-body {
	padding: 1.5rem;
}

.material-card-title {
	font-size: 1.2rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.material-card-excerpt {
	color: var(--text-gray);
	font-size: 0.9rem;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.material-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 255, 204, 0.1);
}

.material-card-category {
	font-size: 0.8rem;
	color: var(--secondary-color);
	background: rgba(255, 0, 255, 0.1);
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
}

.material-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: var(--primary-color);
	font-size: 0.85rem;
	font-weight: 600;
	transition: all 0.3s;
}

.material-card-link:hover {
	color: var(--secondary-color);
	transform: translateX(3px);
}

/* Materials Filter Tabs */
.materials-filter {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-bottom: 3rem;
}

.materials-filter .filter-btn {
	padding: 0.5rem 1.5rem;
	background: transparent;
	color: var(--text-gray);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 30px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: all 0.3s;
	font-family: inherit;
}

.materials-filter .filter-btn:hover,
.materials-filter .filter-btn.active {
	background: var(--primary-color);
	color: var(--bg-dark);
	border-color: var(--primary-color);
	box-shadow: var(--neon-glow);
}

/* ==========================================================================
   Student Service Page Template
   ========================================================================== */

.service-section {
	min-height: 100vh;
	padding: 5rem 2rem;
	position: relative;
	overflow: hidden;
}

.service-section .section-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(10, 15, 27, 0.9) 0%, rgba(15, 30, 50, 0.85) 100%);
	z-index: 1;
}

.service-section .section-content {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.service-section-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	text-align: center;
	margin-bottom: 1rem;
	letter-spacing: 0.15em;
}

.service-section-title.neon-green {
	color: #00ff88;
	text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

.service-section-title.neon-gold {
	color: #ffd700;
	text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.service-section-subtitle {
	text-align: center;
	color: var(--text-light);
	font-size: 1rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.service-description-box {
	background: rgba(0, 0, 0, 0.8);
	border: 1px solid #00ff88;
	border-radius: 8px;
	padding: 1.5rem;
	max-width: 800px;
	margin: 0 auto 3rem;
}

.service-description-box p {
	color: var(--text-light);
	line-height: 1.8;
}

/* Service Feature Tags */
.service-features {
	display: flex;
	gap: 2rem;
	margin-bottom: 3rem;
	justify-content: center;
	flex-wrap: wrap;
}

.service-feature-tag {
	color: var(--text-light);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
}

/* Service Cards Grid */
.service-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
}

.service-card-icon {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.service-card-name {
	font-size: 1.3rem;
	color: #00ff88;
	margin-bottom: 0.5rem;
}

.service-card-desc {
	color: var(--text-light);
	margin-bottom: 1rem;
	line-height: 1.6;
}

.service-card-price {
	font-size: 1.5rem;
	color: #00ffdd;
	font-weight: bold;
}

/* Inokura / Gold Grid Items */
.service-grid-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.service-grid-item {
	background: linear-gradient(135deg, #2c5f88 0%, #1a3a52 100%);
	border: 2px solid rgba(255, 215, 0, 0.3);
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	transition: all 0.3s ease;
	overflow: hidden;
}

.service-grid-item:hover {
	transform: translateY(-5px);
	border-color: #ffd700;
	box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.service-grid-item-name {
	font-size: 1rem;
	color: var(--text-light);
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.service-grid-item-price {
	font-size: 1.1rem;
	color: #ffd700;
	font-weight: bold;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ==========================================================================
   Contact Page Template
   ========================================================================== */

.contact-hero {
	padding: 4rem 0 2rem;
	text-align: center;
}

.contact-layout {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2rem 5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}

.contact-form-area {
	background: rgba(26, 26, 46, 0.6);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 15px;
	padding: 2rem;
	backdrop-filter: blur(10px);
}

.contact-form-area h2 {
	font-size: 1.4rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.contact-form-area .wpcf7-form label,
.contact-form-area label {
	display: block;
	color: var(--text-gray);
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
}

.contact-form-area .wpcf7-form input[type="text"],
.contact-form-area .wpcf7-form input[type="email"],
.contact-form-area .wpcf7-form textarea,
.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(0, 255, 204, 0.3);
	border-radius: 8px;
	color: var(--text-light);
	font-family: inherit;
	font-size: 1rem;
	margin-bottom: 1rem;
	transition: border-color 0.3s;
}

.contact-form-area .wpcf7-form input:focus,
.contact-form-area .wpcf7-form textarea:focus,
.contact-form-area input:focus,
.contact-form-area textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.contact-form-area .wpcf7-form textarea,
.contact-form-area textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form-area .wpcf7-form input[type="submit"],
.contact-form-area .submit-btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--bg-dark);
	border: none;
	border-radius: 10px;
	font-weight: bold;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
	font-family: inherit;
}

.contact-form-area .wpcf7-form input[type="submit"]:hover,
.contact-form-area .submit-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}

/* Contact Info Sidebar */
.contact-info-area {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.contact-info-box {
	background: rgba(26, 26, 46, 0.6);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 15px;
	padding: 2rem;
	backdrop-filter: blur(10px);
}

.contact-info-box h3 {
	font-size: 1.2rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.contact-info-box p {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 0.5rem;
}

.line-button {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem 2rem;
	background: #06C755;
	color: #ffffff;
	text-decoration: none;
	border-radius: 10px;
	font-weight: bold;
	font-size: 1.1rem;
	margin-top: 1rem;
	transition: all 0.3s;
	box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.line-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(6, 199, 85, 0.6);
	color: #ffffff;
}

.line-button svg {
	width: 24px;
	height: 24px;
}

.contact-map {
	background: rgba(26, 26, 46, 0.6);
	border: 2px solid rgba(0, 255, 204, 0.3);
	border-radius: 15px;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.contact-map .map-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	font-size: 1rem;
	min-height: 200px;
}

/* ==========================================================================
   SP (Mobile) break helpers
   ========================================================================== */

.sp-break {
	display: inline;
}

.curriculum-sp-break {
	display: inline;
}

.curriculum-pc-break {
	display: inline;
}

/* ==========================================================================
   WordPress Utility / Alignment
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--bg-secondary);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--primary-color);
	display: block;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5rem;
}

.alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	width: 100vw;
}

/* WordPress Captions */
.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wp-caption-text {
	font-size: 0.85rem;
	color: var(--text-gray);
	padding-top: 0.5rem;
	text-align: center;
}

/* WordPress Gallery */
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1.5rem;
}

.gallery-item {
	flex: 1 1 calc(33.333% - 10px);
}

.gallery-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.gallery-caption {
	font-size: 0.85rem;
	color: var(--text-gray);
	text-align: center;
	padding-top: 0.3rem;
}

/* WordPress block editor */
.wp-block-image {
	margin-bottom: 1.5rem;
}

.wp-block-image img {
	border-radius: 10px;
}

.wp-block-image figcaption {
	font-size: 0.85rem;
	color: var(--text-gray);
	text-align: center;
	margin-top: 0.5rem;
}

/* Sticky post */
.sticky .entry-content {
	border-left: 4px solid var(--primary-color);
	padding-left: 1.5rem;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 3rem 0;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 8px 16px;
	background: rgba(26, 26, 46, 0.8);
	border: 1px solid rgba(0, 255, 204, 0.3);
	border-radius: 8px;
	color: var(--text-light);
	text-decoration: none;
	transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--primary-color);
	color: var(--bg-dark);
	border-color: var(--primary-color);
}

/* WordPress navigation links */
.nav-links {
	display: flex;
	justify-content: space-between;
	margin: 2rem 0;
}

.nav-links a {
	color: var(--primary-color);
	text-decoration: none;
	padding: 10px 20px;
	border: 1px solid var(--primary-color);
	border-radius: 8px;
	transition: all 0.3s;
}

.nav-links a:hover {
	background: var(--primary-color);
	color: var(--bg-dark);
}

/* Comment styles */
.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	background: rgba(26, 26, 46, 0.6);
	border: 1px solid rgba(0, 255, 204, 0.2);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

.comment-author {
	color: var(--primary-color);
	font-weight: bold;
	margin-bottom: 10px;
}

.comment-content {
	color: var(--text-light);
	line-height: 1.8;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
	.manual-layout {
		grid-template-columns: 1fr;
	}

	.manual-toc {
		position: relative;
		top: 0;
		max-height: none;
	}
}

/* Mobile specific styles for if(AI) section */
@media (max-width: 768px) {
	#if-ai .business-card {
		min-height: 200px;
		background-size: contain;
		background-repeat: no-repeat;
	}

	#if-ai .business-card-content h3 {
		font-size: 1.2rem;
	}

	#if-ai .business-card-detail {
		font-size: 0.95rem;
		padding: 15px;
	}

	/* Course titles smaller on mobile */
	.course-title {
		font-size: 1.2rem !important;
		line-height: 1.4;
	}

	/* Challenge subtitle smaller on mobile */
	.challenge-title {
		font-size: 1.2rem !important;
	}

	/* Section titles smaller for long titles */
	#comic .section-title,
	#business .section-title,
	#kitazuna .section-title {
		font-size: 1.5rem !important;
		line-height: 1.2;
	}

	/* Flow section button adjustments */
	.flow-button .cta-button {
		width: 100%;
		font-size: 0.9rem;
		padding: 12px 20px;
	}

	/* Business section subtitle smaller */
	.business-subtitle {
		font-size: 1rem !important;
	}

	/* Message section fixes */
	.message-signature {
		position: relative;
		bottom: auto;
		right: auto;
		margin-top: 2rem;
		text-align: center;
	}

	.message-signature > div {
		flex-direction: row !important;
		gap: 2rem !important;
		justify-content: center !important;
	}

	.message-signature p {
		margin: 2px 0 !important;
		line-height: 1.2;
	}

	/* if(AI) section mobile fixes */
	#if-ai .business-card-detail {
		font-size: 0.9rem !important;
		padding: 15px !important;
		line-height: 1.4 !important;
	}
}

@media (max-width: 768px) {
	/* Hamburger nav menu full width on mobile */
	.nav-menu {
		width: 100%;
	}

	.hero-logo {
		width: 150px;
	}

	.service-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.challenge-container {
		grid-template-columns: 1fr;
	}

	.staff-slide {
		grid-template-columns: 1fr;
	}

	.staff-image-container {
		height: 300px;
	}

	.faq-buttons {
		grid-template-columns: 1fr;
	}

	.business-grid {
		grid-template-columns: 1fr;
	}

	.slide-image {
		height: 250px;
	}

	.message-container {
		padding: 30px;
	}

	.comic-slider {
		padding: 0 20px;
	}

	.flow-image {
		width: 85%;
	}

	.cta-button {
		width: 90%;
		max-width: 400px;
	}

	/* Curriculum section mobile layout */
	.curriculum-two-column {
		grid-template-columns: 1fr !important;
		gap: 3rem !important;
	}

	/* Fix case section text overflow on mobile */
	.change-item p {
		font-size: 0.85rem !important;
		line-height: 1.5 !important;
		padding: 1rem !important;
	}

	.change-item > div {
		padding: 1rem !important;
	}

	/* Service modal mobile */
	.service-modal-close {
		top: 10px;
		right: 10px;
	}

	.service-modal-content {
		font-size: 1.1rem;
		padding: 60px 20px 20px;
	}

	/* Visitor counter mobile */
	.visitor-counter {
		display: block;
		min-width: 200px;
		padding: 12px 15px;
		margin-left: 0;
		margin-top: 15px;
	}

	.counter-title {
		font-size: 0.75rem;
	}

	.counter-label {
		font-size: 0.75rem;
	}

	.counter-digit {
		font-size: 0.85rem;
		min-width: 24px;
		padding: 3px 6px;
	}

	/* Minecraft text mobile */
	.minecraft-text {
		font-size: 0.9rem;
		letter-spacing: 1px;
	}

	/* Takumi and Inokura mobile */
	.takumi-services,
	.inokura-grid {
		grid-template-columns: 1fr;
	}

	.takumi-title {
		font-size: 2.5rem;
	}

	.inokura-title {
		font-size: 2rem;
	}

	.takumi-features {
		flex-direction: column;
		align-items: center;
	}

	/* WordPress page templates mobile */
	.service-cards-grid,
	.service-grid-items {
		grid-template-columns: 1fr;
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

	.materials-grid {
		grid-template-columns: 1fr;
	}

	.manual-layout {
		padding: 1rem;
	}

	.manual-section {
		padding: 1.5rem;
	}

	.service-features {
		flex-direction: column;
		align-items: center;
	}

}

@media (max-width: 480px) {
	#if-ai .business-card {
		min-height: 150px;
		aspect-ratio: 16/9;
	}

	#if-ai .business-card-content {
		padding: 15px;
	}

	#if-ai .business-card-content h3 {
		font-size: 1rem;
	}

	section {
		padding: 40px 15px;
	}

	.section-title {
		font-size: 2rem;
	}

	.hero-title {
		font-size: 1.5rem;
		line-height: 1.6;
	}

	.hero-title .sp-break {
		display: block;
	}

	.hero-subtitle {
		font-size: 1rem;
		line-height: 1.8;
	}

	.hero-subtitle .sp-break {
		display: block;
	}

	.curriculum-sp-break {
		display: block;
		font-size: 1.1rem;
	}

	.curriculum-pc-break {
		display: none;
	}

	.tab-buttons {
		flex-direction: column;
	}

	.tab-button {
		width: 100%;
	}

	.course-window {
		padding: 20px;
	}

	.service-section {
		padding: 3rem 1rem;
	}

	.service-section-title {
		font-size: 2rem;
	}
}
