﻿@charset "UTF-8";
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans CJK JP", "Helvetica Neue", Arial, sans-serif; margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.breadcrumbs { padding: 15px 0; font-size: 14px; color: #555; background-color: #f9f9f9; }
.breadcrumbs .container { padding-left: 15px; }
.breadcrumbs a { color: #007bff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; }

.tournament-header { padding: 30px 0; }
.tournament-header h1 { font-size: 32px; margin: 0 0 5px 0; }
.tournament-header .location { font-size: 18px; color: #666; }

.section-nav { background-color: #fff; border-top: 1px solid #ddd; border-bottom: 2px solid #ddd; }
.section-nav ul { display: flex; list-style: none; margin: 0; padding: 0; justify-content: center; }
.section-nav li a {
	display: block; padding: 15px 25px; text-decoration: none;
	color: #333; font-weight: bold; border-bottom: 3px solid transparent;
}
.section-nav li a:hover { background-color: #f8f8f8; }
.section-nav li a.active, .section-nav li a:focus { border-bottom-color: #007bff; }
.section-nav.sticky {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	width: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sticky-padding { height: 57px;  display: none; }
.sticky-padding.visible { display: block; }

.content-section { padding: 40px 15px; border-bottom: 1px solid #eee; }
.content-section h2, .section-title {
	font-size: 24px; font-weight: bold; margin-bottom: 20px; padding-bottom: 10px;
	border-bottom: 2px solid #007bff;
	margin-top: 0;
}

#gaiyou .gaiyou-flex { display: flex; flex-wrap: wrap; gap: 30px; }
#gaiyou .gaiyou-main { flex: 2; min-width: 300px; }
#gaiyou .gaiyou-sidebar { flex: 1; min-width: 280px; position: relative; }
#gaiyou .gaiyou-sidebar-inner {
	background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; padding: 20px;
	position: sticky; top: 80px;
}
#gaiyou .gaiyou-main .notice { list-style: none; padding-left: 0; }
#gaiyou .gaiyou-main .notice li {
	position: relative; padding-left: 2em; margin-bottom: 10px;
	font-size: 16px; line-height: 1.6;
}
#gaiyou .gaiyou-main .notice li::before {
	content: '●'; color: #007bff; position: absolute; left: 0.5em;
	font-size: 12px; top: 0.3em;
}
.entry-info-box h3 { margin-top: 0; font-size: 20px; }
.entry-info-box p { margin: 10px 0; font-size: 16px; }
.entry-info-box .date-info { font-weight: bold; font-size: 1.1em; }
.entry-info-box .entry-button {
	display: block; width: 100%; background-color: #e60012; color: white;
	text-align: center; padding: 15px; font-size: 18px; font-weight: bold;
	text-decoration: none; border-radius: 5px; margin-top: 20px;
	transition: background-color 0.2s; box-sizing: border-box;
}
.entry-info-box .entry-button:hover { background-color: #c00; }

h3 {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin-top: 30px;
	margin-bottom: 15px;
	padding-left: 10px;
	border-left: 4px solid #007bff;
}

.past-tournament-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	background-color: #fff;
}
.past-tournament-table th, .past-tournament-table td {
	border: 1px solid #ddd; padding: 12px; text-align: left; vertical-align: middle;
}
.past-tournament-table th { background-color: #f4f4f4; }
.past-tournament-table .link-button {
	display: inline-block; padding: 5px 10px; font-size: 13px;
	color: #fff; background-color: #007bff; text-decoration: none;
	border-radius: 4px;
}
.past-tournament-table .link-button:hover { background-color: #0056b3; }

.video-responsive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}
.video-item h3 {
	font-size: 18px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #333;
}
.video-responsive-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: #eee;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.video-responsive-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}


.review-grid { display: flex; flex-direction: column; gap: 16px; }
.review-item { border: 1px solid #eee; border-radius: 8px; padding: 16px; background-color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-header .user-avatar-icon { flex-shrink: 0; }
.review-user-info { flex-grow: 1; }
.review-user-name { font-size: 14px; font-weight: bold; }
.review-date { font-size: 12px; color: #888; }
.review-event-link a { font-size: 12px; color: #007bff; text-decoration: none; }
.review-event-link a:hover { text-decoration: underline; }
.review-title { font-size: 16px; font-weight: bold; margin-bottom: 5px; color: #333; }
.review-body { font-size: 14px; line-height: 1.6; color: #555; white-space: pre-wrap; }
.review-body.collapsed { max-height: 120px; overflow: hidden; position: relative; }
.review-body.collapsed::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(transparent, #fff); }
.review-toggle { color: #007bff; cursor: pointer; font-size: 13px; margin-top: 5px; text-decoration: underline; }
.review-toggle:hover { color: #0056b3; }
.review-images { margin: 10px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.review-images img { max-width: 120px; max-height: 120px; border-radius: 4px; object-fit: cover; }
.review-thread { margin-top: 10px; padding: 10px; background-color: #f8f9fa; border-radius: 4px; border-left: 3px solid #007bff; }
.review-thread-count { font-size: 12px; color: #666; margin-bottom: 5px; }
.review-thread-reply { font-size: 13px; color: #555; line-height: 1.4; }

#jizen .entry-header h3 {
	font-size: 1.5em;
	color: #007bff;
	border-bottom: 2px solid #007bff;
	padding-bottom: 8px;
	margin-top: 40px;
	margin-bottom: 20px;
}
#jizen .entry-header:first-child h3 {
	margin-top: 0;
}
#jizen .syumoku {
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 20px;
	background: #fff;
	display: flex;
	flex-direction: row;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
#jizen .syumoku .item-name {
	background: #f5f5f5;
	padding: 20px;
	font-weight: bold;
	font-size: 16px;
	flex: 0 0 30%;
	border-right: 1px solid #ddd;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#jizen .syumoku .item-name .small_notice {
	font-size: 12px;
	font-weight: normal;
	color: #e60012;
	margin-top: 5px;
}
#jizen .syumoku .detail {
	padding: 20px;
	flex: 1;
	line-height: 1.7;
	font-size: 15px;
}

#jizen .syumoku .detail a.entry {
	display: inline-block;
	background: #007bff;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 15px;
	font-weight: bold;
	transition: background-color 0.2s;
}
#jizen .syumoku .detail a.entry:hover {
	background: #0056b3;
}
#jizen .syumoku.available .item-name {
	background: #fff8e1;
	color: #e60012;
}

@media (max-width: 767px) {
	.mainvisual img.pc-only { display: none; }
	.mainvisual img.pc-hidden { display: block; width: 100%; }

	.tournament-header { padding: 20px 0; }
	.tournament-header h1 { font-size: 24px; }
	.tournament-header .location { font-size: 16px; }

	.section-nav ul { justify-content: space-around; flex-wrap: wrap; }
	.section-nav li a { padding: 12px 10px; font-size: 14px; }

	#gaiyou .gaiyou-flex { flex-direction: column; }
	#gaiyou .gaiyou-sidebar-inner { position: static; top: auto; }

	.past-tournament-table { display: block; overflow-x: auto; white-space: nowrap; }
	.past-tournament-table th, .past-tournament-table td { padding: 8px; }

	#jizen .syumoku {
		flex-direction: column;
	}
	#jizen .syumoku .item-name {
		border-right: none;
		border-bottom: 1px solid #ddd;
		flex: 1;
		text-align: center;
	}
	#jizen .entry-header h3 {
		font-size: 1.25em;
	}

	.entry-info-box .entry-button {
		position: fixed;
		bottom: 20px;
		left: 15px;
		right: 15px;
		width: auto;
		z-index: 999;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		margin-top: 0;
	}

	body {
		padding-bottom: 80px;
	}
}

.feature { margin-top: 0; }
.contents { margin: 0; padding: 0; }
section.title { display: none; }
section.mainvisual { margin-bottom: 0; }
.feature section.narrow>div { max-width: unset; }