@charset "UTF-8";

/* =========================================
   1. フォント定義
   ========================================= */
@font-face {
	font-family: 'HigureGothic';
	/* 相対パス: assets/css/ から見て assets/fonts/ を指す */
	src: url('../fonts/HigureGothic-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'HigureGothic';
	src: url('../fonts/HigureGothic-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

/* =========================================
   2. 基本変数・リセット
   ========================================= */
:root {
	--main-green: #2E8B57;
	--light-green: #E8F5E9;
	--accent-color: #FFA500;
	--text-color: #333;
	--bg-color: #fff;
	--gray: #f4f4f4;

	--font-heading: 'HigureGothic', sans-serif;
	--font-body: 'Noto Sans JP', sans-serif;
}

body {
	font-family: var(--font-body);
	color: var(--text-color);
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

/* 見出し等へのフォント適用 */
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.hero-title,
.hero-sub,
.card-catch,
.presenters-hero h1,
.recruit-hero h1 {
	font-family: var(--font-heading);
}

a {
	text-decoration: none;
}

/* =========================================
   3. 共通レイアウト & パーツ
   ========================================= */
.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	padding: 80px 0;
}

/* 見出しデザイン */
.section-title {
	text-align: center;
	font-size: 2rem;
	color: var(--main-green);
	margin-bottom: 50px;
	position: relative;
}

.section-title::after {
	content: '';
	display: block;
	width: 50px;
	height: 3px;
	background: var(--main-green);
	margin: 10px auto 0;
}

/* ボタン */
.btn-primary {
	display: inline-block;
	background: var(--main-green);
	color: #fff;
	padding: 15px 40px;
	border-radius: 50px;
	font-weight: bold;
	font-size: 1.1rem;
	box-shadow: 0 4px 10px rgba(46, 139, 87, 0.3);
	transition: transform 0.2s;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

/* ヘッダー */
.site-header {
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-size: 1.5rem;
	color: var(--main-green);
	margin: 0;
}

.main-nav ul {
	display: flex;
	list-style: none;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.main-nav a {
	color: var(--text-color);
	font-weight: bold;
}

.btn-nav {
	background: var(--main-green);
	color: #fff !important;
	padding: 8px 16px;
	border-radius: 20px;
	transition: opacity 0.3s;
}

.btn-nav:hover {
	opacity: 0.8;
}

/* フッター */
.site-footer {
	background: #222;
	color: #fff;
	text-align: center;
	padding: 20px;
	font-size: 0.9rem;
}

/* =========================================
   4. ページ別スタイル：発表一覧 (presenters.php)
   ★ここを優先的に適用させます
   ========================================= */
.page-presenters .presenters-hero {
	background: var(--light-green);
	padding: 160px 20px 60px;
	/* ヘッダー被り防止のため上部余白多め */
	text-align: center;
}

.presenters-hero h1 {
	color: var(--main-green);
	font-size: 2.2rem;
	margin-bottom: 15px;
}

.list-section {
	padding: 60px 0;
	border-bottom: 1px dashed #ddd;
}

.list-section:last-of-type {
	border-bottom: none;
}

.category-title {
	font-size: 1.8rem;
	color: var(--text-color);
	margin-bottom: 10px;
	border-left: 6px solid var(--main-green);
	padding-left: 15px;
}

.category-desc {
	margin-bottom: 40px;
	color: #666;
	padding-left: 20px;
}

/* 発表カードグリッド */
.presentation-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 25px;
}

/* カードデザイン */
.present-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s;
	display: flex;
	flex-direction: column;
}

.present-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* メタ情報 */
.present-meta {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.badge {
	font-size: 0.8rem;
	padding: 4px 10px;
	border-radius: 4px;
	font-weight: bold;
	display: inline-block;
}

.badge-place {
	background: #FFF3E0;
	color: #E65100;
}

.badge-place-blue {
	background: #E3F2FD;
	color: #1565C0;
}

.badge-type {
	background: #f5f5f5;
	color: #666;
	border: 1px solid #ddd;
}

/* タイトル・演者 */
.present-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--main-green);
	margin: 0 0 15px 0;
	line-height: 1.5;
}

.present-actor {
	font-size: 0.9rem;
	margin-bottom: 10px;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
}

.actor-group {
	color: var(--main-green);
	font-weight: bold;
}

.actor-individual {
	color: #999;
}

.present-desc {
	font-size: 0.9rem;
	color: #666;
	margin: 5px 0 0;
	background: #fafafa;
	padding: 10px;
	border-radius: 6px;
}

/* =========================================
   5. ページ別スタイル：トップ (index.php)
   ========================================= */
.hero {
	background: linear-gradient(135deg, var(--light-green) 0%, #fff 100%);
	padding: 160px 20px 100px;
	text-align: center;
}

.hero-sub {
	color: var(--main-green);
	font-weight: bold;
	letter-spacing: 0.05em;
}

.hero-title {
	font-size: 2.5rem;
	margin: 20px 0;
	line-height: 1.4;
}

.hero-desc {
	margin-bottom: 40px;
	font-size: 1.1rem;
}

/* 出展内容カード */
.section-contents {
	background: var(--gray);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.card {
	background: #fff;
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.card-icon {
	font-size: 3rem;
	margin-bottom: 10px;
}

.card h4 {
	margin: 10px 0;
	font-size: 1.2rem;
}

.card-catch {
	color: var(--main-green);
	font-weight: bold;
	margin-bottom: 15px;
}

/* ブースリスト */
.booth-list {
	display: grid;
	gap: 20px;
	margin-top: 20px;
}

.booth-item {
	padding: 20px;
	border-radius: 8px;
}

.booth-item h4 {
	margin-top: 0;
}

.booth-item p {
	margin-bottom: 0;
}

/* タイムスケジュール等 */
dl {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 15px;
	margin: 0;
}

dt {
	font-weight: bold;
	color: var(--main-green);
}

dd {
	margin: 0;
}

.access-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

/* メッセージボックス */
.message-box {
	position: relative;
	border: 2px solid #FF69B4;
}

.message-box::before {
	content: '❤';
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	padding: 0 10px;
	color: #FF69B4;
	font-size: 1.5rem;
}

/* CTAエリア */
.section-cta {
	background: var(--main-green);
	color: #fff;
	text-align: center;
}

.section-cta .section-title {
	color: #fff;
}

.section-cta .section-title::after {
	background: #fff;
}

.section-cta .btn-primary {
	background: #fff;
	color: var(--main-green);
}

/* =========================================
   6. ページ別スタイル：募集 (recruit.php)
   ========================================= */
.page-recruit .recruit-hero {
	background: var(--main-green);
	color: #fff;
	padding: 120px 20px 80px;
	text-align: center;
}

.recruit-intro {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
	padding: 60px 20px;
}

.recruit-intro h2 {
	color: var(--main-green);
	font-size: 1.8rem;
	margin-bottom: 30px;
}

.recruit-card {
	text-align: left;
	border-top: 5px solid var(--main-green);
}

.recruit-card h4 {
	text-align: center;
	font-size: 1.3rem;
	margin-bottom: 15px;
}

.recruit-card .card-icon {
	text-align: center;
}

.target-desc {
	font-weight: bold;
	color: #555;
	margin-bottom: 15px;
	min-height: 3em;
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.check-list li {
	position: relative;
	padding-left: 1.5em;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.check-list li::before {
	content: '✔';
	position: absolute;
	left: 0;
	color: var(--accent-color);
	font-weight: bold;
}

.details-box {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 30px;
	max-width: 800px;
	margin: 0 auto;
}

.details-box dl {
	grid-template-columns: 120px 1fr;
}

/* =========================================
   7. ページ別スタイル：その他 (404, 準備中)
   ========================================= */
.page-coming-soon {
	background: linear-gradient(135deg, var(--light-green) 0%, #fff 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.coming-soon-container {
	padding: 20px;
	max-width: 600px;
	width: 100%;
}

.logo-large {
	font-size: 2.5rem;
	color: var(--main-green);
	margin-bottom: 10px;
}

.date-info {
	font-size: 1.2rem;
	font-weight: bold;
	color: #555;
	margin-bottom: 40px;
}

.status-text {
	font-size: 1.8rem;
	margin-bottom: 20px;
}

.recruit-link-area {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 2px dashed #ccc;
}

.recruit-text {
	font-weight: bold;
	margin-bottom: 20px;
}

/* 404 */
.page-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 20px;
	background: radial-gradient(circle at center, var(--light-green) 0%, #fff 70%);
}

.error-content {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.error-number {
	font-family: var(--font-heading);
	font-size: 8rem;
	line-height: 1;
	font-weight: bold;
	color: var(--main-green);
	opacity: 0.2;
	margin-bottom: -40px;
	position: relative;
	z-index: 0;
}

.error-title {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	color: var(--text-color);
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}

.error-text {
	color: #666;
	margin-bottom: 40px;
}

/* =========================================
   8. スマホ対応・レスポンシブ (最後にまとめて記述)
   ========================================= */
@media (max-width: 768px) {
	.header-container {
		flex-wrap: wrap;
	}

	.main-nav {
		display: none;
		width: 100%;
		margin-top: 20px;
	}

	.main-nav.active {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: center;
	}

	.hamburger {
		display: block;
		cursor: pointer;
		width: 30px;
	}

	.hamburger span {
		display: block;
		height: 3px;
		background: var(--main-green);
		margin: 5px 0;
	}

	.hero-title {
		font-size: 1.8rem;
	}

	.program-block {
		flex-direction: column;
	}

	.access-box {
		grid-template-columns: 1fr;
	}

	.error-number {
		font-size: 5rem;
		margin-bottom: -20px;
	}

	.error-title {
		font-size: 1.4rem;
	}
}

@media (min-width: 769px) {
	.hamburger {
		display: none;
	}
}

@media (max-width: 600px) {
	.details-box dl {
		grid-template-columns: 1fr;
	}

	.logo-large {
		font-size: 1.8rem;
	}

	.schedule-box dl {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.schedule-box dt {
		border-bottom: none !important;
		padding-bottom: 0 !important;
	}

	.schedule-box dd {
		margin-bottom: 15px;
		padding-left: 10px;
	}
}