@charset "UTF-8";

/* CSS変数定義 */
:root {
	/* カラー */
	--primary: #c41e3a;
	--primary-dark: #a01830;
	--text: #333;
	--text-light: #666;
	--background: #f7f7f7;
	--white: #fff;
	--border: #eee;
	--border-light: #f0f0f0;
	--shadow: rgba(0, 0, 0, 0.06);
	--shadow-hover: rgba(0, 0, 0, 0.1);

	/* コンテナ幅 */
	--container-width-xl: 1600px;  /* データ表示用の広い幅 */
	--container-width-lg: 1400px;  /* 標準的なコンテンツ用 */
	--container-width-md: 1200px;  /* テキスト主体のコンテンツ用 */

	/* コンテナパディング */
	--container-padding-desktop: clamp(2rem, 5vw, 4rem);
	--container-padding-mobile: 1rem;

	/* スペーシング */
	--space-xs: 0.3em;
	--space-sm: 0.5em;
	--space-md: 1em;
	--space-lg: 1.5em;
	--space-xl: 2em;

	/* フォントサイズ */
	--text-xs: 0.85em;
	--text-sm: 0.9em;
	--text-base: 1em;
	--text-lg: 1.2em;
	--text-xl: 1.4em;

	/* 境界線半径 */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 15px;

	/* アニメーション */
	--transition: all 0.3s ease;

	--primary-color: #2c3e50;
	--accent-color: #c41e3a;
	--border-color: #e0e0e0;
	--bg-alt-color: #f8f9fa;
	--cell-padding: 15px;
}

/* ベースリセット */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: var(--text);
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.6;
	background: var(--background);
}

h2 {
	margin-bottom: 1em;
	padding-left: 1em;
	font-size: 1.5em;
	text-align: left;
	border-left: 6px solid var(--primary);
}

h3,
.content-section h3 {
	font-size: 1.5em;
	text-align: center;
	letter-spacing: 2px;
}
@media (max-width: 767px) {
	h3,
	.content-section h3 {
		font-size: 4vw;
	}
}

h4,
.action-item h4,
.info-card h4 {
	color: unset;
	font-size: 1.2em;
	text-align: center;
	letter-spacing: 1px;
}

@media (max-width: 767px) {
	h4,
	.action-item h4,
	.info-card h4 {
	letter-spacing: 0px;
	}
}

ul {
	margin-left: 20px;
}

@media (max-width: 767px) {
	ul{
	margin-left: 0px;
	}
}

li {
	/* list-style: none; */
}

/* --- main ------------------------------------------ */
/* リセット */
.hero {
	text-align: left;
	background: #fff;
	border-radius: 0;
	box-shadow: none;
}

.content-wrapper {
	margin: 0;
	padding: 0;
	background: unset;
	box-shadow: none;
}

.content-wrapper p {
	margin-bottom: 0;
}

.content-section {
	margin-bottom: 2em;
	padding: 0;
	background: unset;
	border-radius: 0;
	box-shadow: none;
}

/* 以下の重複したスタイルを削除 */
/* 削除: .info-block, .info-card, .action-item, .manual-item スタイル */
/* 削除: .league-table, .game-table, .stats-table スタイル */
/* 削除: .btn スタイル */
/* 削除: フォーム要素の重複スタイル */

/* 特殊なスタイルのみ残す */
.hero h2 {
	margin-bottom: 0.5em;
	color: #c41e3a;
	font-size: 1.4em;
}

.hero p {
	margin-bottom: 1em;
}

.info-block h2 {
	margin-bottom: 0.8em;
	padding-left: 0.5em;
	font-size: 1.3em;
	border-left: 6px solid #c41e3a;
}

.info-block p {
	margin-bottom: 1.2em;
	line-height: 1.6;
}

/* 以下、特殊なスタイルのみ残す */

/* ヘッダー */
.site-header {
	background: #fff;
	padding: 1em 0 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
	display: flex;
	max-width: var(--container-width-lg);
	margin: 0 auto;
	padding: 0 var(--container-padding-desktop);
	align-items: center;
	justify-content: space-between;
}

.site-logo {
	display: inline-block;
	width: 200px;
	height: 50px;
	text-indent: -9999px;
	background-image: url("../images/logo.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
}

/* メインナビゲーション */
.global-nav {
	width: 100%;
	padding: 15px 0;
	background: #fff;
}

.nav-inner {
	max-width: var(--container-width-lg);
	margin: 0 auto;
	padding: 0 var(--container-padding-desktop);
}

.global-nav ul {
	display: flex;
	width: 100%;
	max-width: var(--container-width-lg);
	padding: 0;
	margin: 0 auto;
	list-style: none;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.global-nav li {
	position: relative;
	white-space: nowrap;
	flex: 0 0 auto;
}

.global-nav a {
	display: block;
	padding: 0.8em 1em;
	color: #333;
	font-size: 1em;
	font-weight: 600;
	text-align: center;
	letter-spacing: 2px;
	text-decoration: none;
	border-radius: 10px;
	transition: color 0.3s ease;
}

.global-nav a:hover {
	color: #c41e3a;
	background: #fff;
	border-bottom: none;
}

.global-nav a.active {
	color: #fff;
	background: #c41e3a;
	border-bottom: none;
}

/* サイトコンテンツ */
.site-content {
	padding-top: 2rem;
}

/* データ表示用の広いレイアウト */
.content-wrapper--wide {
	max-width: var(--container-width-xl);
}

/* テキスト主体のコンテンツ用の狭いレイアウト */
.content-wrapper--narrow {
	max-width: var(--container-width-md);
}

/* 上部メニュー */
.top-menu {
	display: flex;
	align-items: center;
}

.top-menu ul {
	display: flex;
	list-style: none;
	align-items: center;
}

.top-menu li {
	display: flex;
	margin-left: 10px;
	font-size: 14px;
	align-items: center;
}

@media (max-width: 767px) {
    .top-menu li {
        display: flex;
        margin-left: 10px;
        font-size: 12px;
    }
}

.top-menu a {
	color: #333;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.top-menu a:hover {
	color: #c41e3a;
}

/* ヒーローエリア（メインビジュアル） */
.hero {
	margin: 2em 0;
	padding: 2em;
	text-align: left;
	background: #fff;
	border-radius: 0;
	box-shadow: none;
}

/* Next Action ブロック */
.next-action-box {
	margin-bottom: 2em;
	padding: 1.5em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.next-action-box h3 {
	display: inline-block;
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	color: #c41e3a;
	font-size: 1.1em;
	border-bottom: 2px solid #ffebee;
}

.action-list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
	gap: 1em;
}

.action-item {
	padding: 1em;
	border: 2px solid #ffebee;
	background: #fff;
	border-radius: 8px;
	flex: 1 1 280px;
	transition: 0.3s;
}

.action-item:hover {
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.07);
	transform: translateY(-2px);
}

.action-item h4 {
	margin-bottom: 0.5em;
	color: #c41e3a;
	font-size: 1em;
}

.action-item p {
	margin-bottom: 0.5em;
	color: #333;
	font-size: 0.9em;
}

.action-item a {
	display: inline-block;
	padding: 0.4em 0.8em;
	color: #fff !important;
	font-size: 0.9em;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 4px;
}

.action-item a:hover {
	background: #a01830;
}

/* おすすめ情報などを並べるカード */
.top-info-cards {
	display: flex;
	margin-bottom: 2em;
	flex-wrap: wrap;
	gap: 1em;
}

.info-card {
	padding: 1em;
	background: #fff;
	border-radius: 8px;
	flex: 1 1 320px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: 0.3s;
}

.info-card:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.info-card h4 {
	margin-bottom: 0.5em;
	color: #c41e3a;
	font-size: 1em;
}

.info-card p {
	margin-bottom: 0.5em;
	color: #333;
	font-size: 0.9em;
}

.info-card a {
	display: inline-block;
	margin-top: 0.5em;
	padding: 0.4em 0.8em;
	color: #fff !important;
	font-size: 0.9em;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 4px;
}

.info-card a:hover {
	background: #a01830;
}

/* 機能・ページ一覧セクション */
.content-section {
	margin-bottom: 2em;
	padding: 0;
	background: unset;
	border-radius: 0;
	box-shadow: none;
}

.content-section h3 {
	display: block;
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	color: #c41e3a;
	font-size: 1.5em;
	text-align: center;
	letter-spacing: 2px;
	border-bottom: 2px solid #c41e3a;
}

.link-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 1em;
}

.link-item {
	padding: 1em;
	background: #fff;
	border: 2px solid #ffebee;
	border-radius: 8px;
	transition: 0.3s;
}
/*
.link-item:hover {
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.07);
	transform: translateY(-2px);
}
*/
.link-item a {
	display: inline-block;
	margin-bottom: 0.3em;
	color: #c41e3a;
	font-size: 1em;
	font-weight: 600;
	text-decoration: none;
}
.link-item a:hover {
	color: #a01830;
}

.link-description {
	color: #666;
	font-size: 0.9em;
}

/* メインコンテンツ */
.content-wrapper {
	max-width: var(--container-width-lg);
	margin: 0 auto;
	padding: 1.5rem var(--container-padding-desktop);
	background: #fff;
	border-radius: 8px;
	/*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);*/
}

/* カードやブロック */
.info-block {
	margin-bottom: 2em;
	padding: 2em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
@media screen and (max-width: 767px) {
  .info-block.style02 {
		padding-left: 5px;
		padding-right: 5px;
	}
}

.info-block h2 {
	margin-bottom: 0.8em;
	padding-left: 0.5em;
	font-size: 1.3em;
	border-left: 6px solid #c41e3a;
}

.info-block p {
	margin-bottom: 1.2em;
	line-height: 1.6;
}

.front-page-content h2 {
	margin: 1em 0 1em;
	padding-bottom: 0.5em;
	font-size: 1.8em;
	text-align: center;
	border: none;
}

.front-page-content h3 {
	font-size: 1.5em;
}

.front-page-content h4 {
	font-size: 1.3em;
}

.front-page-content p {
	font-size: 1.2em;
	text-align: center;
}

@media (max-width: 767px) {
	.front-page-content h2 {
		font-size: 5.5vw;
	}
	.front-page-content p {
		font-size: 13px;
		text-align: left;
	}

	.front-page-content {
		.info-block{
			padding: 2px;
		}
	}
}

/* リーグ情報テーブル */
.league-table {
	width: 100%;
	margin-top: 1em;
	font-size: 0.95em;
	border-collapse: collapse;
}

.league-table th {
	width: 25%;
	color: unset;
	font-weight: 600;
	background: #ededed;
}
.league-table th,
.league-table td {
	padding: 0.8em;
	text-align: left;
	border-bottom: 1px solid #ededed;
}

.league-table a {
	color: #c41e3a;
	text-decoration: none;
}

.league-table a:hover {
	color: #a01830; 
}

@media (max-width: 767px) {
    .league-table {
        font-size: 12px;
    }

    .league-table  td{
		padding-left: 20px;
		font-size: 12px;
	}

	.league-table th {
		width: 37%;
	}
}

/* スポンサードリンク */
.list_links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.list_links li {
	position: relative;
	margin-right: 20px;
}
.list_links li:last-child {
	margin-right: 0;
}
.list_links li:not(:first-child)::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 0;
}
.list_links li a {
	display: block;
}
.list_links li img {
	max-width: 200px;
	max-height: 200px;
}
@media (max-width: 767px) {
	.list_links li img {
		max-width: 100px;
		max-height: 100px;
	}
}

/* ===== フッター ===== */
.site-footer {
	margin-top: 1.5em;
	padding: 0.7em 0;
	color: #fff;
	background: #2e2e2e;
}

/* フッターコンテナ */
.container {
	max-width: var(--container-width-lg);
	margin: 0 auto;
	padding: 0 var(--container-padding-desktop);
}

/* オーバーレイ付きフッター（必要な場合） */
.container .overlay {
	padding: 1em 0;
}

/* フッターウィジェット */
.footer-widgets {
	margin-bottom: 0.7em;
}

/* フッターメニュー */
.footer-menu {
	display: flex;
	margin-bottom: 0.7em;
	justify-content: center;
}

/* フッターリンク */
.footer-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-links a {
	display: inline-block;
	padding: 2px 6px;
	color: #ccc;
	font-size: 0.85em;
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: #fff;
	text-decoration: underline;
	transform: translateY(-2px);
}

/* サイト情報 */
.site-info {
	margin-top: 0.7em;
	font-size: 0.85em;
}

/* コピーライト */
.footer-copyright {
	padding: 0.3em 0;
	text-align: center;
}

.copyright {
	margin: 0;
	color: #ccc;
	font-size: 0.85em;
}

/* ボタンスタイルの改善 */
.info-block .hero-btns {
	display: flex;
	/* margin-top: 1.5em; */
	gap: 1em;
	justify-content: center;
}

.info-block .hero-btns a {
	display: inline-block;
	padding: 0.8em 1.5em;
	/*color: #c41e3a;
	border: 2px solid #c41e3a;*/
	color: #fff !important;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 30px;
	transition: all 0.3s ease;
}

@media (max-width: 767px) {
	.info-block .hero-btns a {
		padding: 10px;
	}
}

.info-block .hero-btns a:hover {
	color: #fff !important;
	background: #c41e3a;
	background: #a01830;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

.teamentry-btn {
	display: flex;
	margin: 0;
	gap: 1em;
	justify-content: center;
}

.teamentry-btn a {
	display: inline-block;
	padding: 0.8em 1.5em;
	color: #c41e3a;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	background: #c41e3a;
	border: 2px solid #c41e3a;
	border-radius: 30px;
	transition: all 0.3s ease;
}
.teamentry-btn a:hover {
	background: #a01830;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

/* 個人成績ページ用のスタイル */
/* 画面説明 */
.page-intro {
	margin-bottom: 2em;
	padding: 2em;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
}

.page-intro h3 {
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	color: #c41e3a;
	font-size: 1.2em;
	border-bottom: 2px solid #ffebee;
}

.page-intro p {
	margin-bottom: 0.8em;
	line-height: 1.6;
}

/* シーズン選択 */
.season-select {
	display: flex;
	margin-bottom: 2em;
	padding: 1.5em;
	background: #fff;
	border-radius: 8px;
	align-items: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.season-select label {
	margin-right: 1em;
	color: #333;
	font-weight: bold;
	flex-shrink: 0;  /* ラベルが縮むのを防ぐ */
}

.season-select select {
	padding: 0.5em 1em;
	font-size: 1em;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
}

.season-select select:focus {
	border-color: #c41e3a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.1);
}

/* プレイヤー基本情報 */
.basic-info {
	display: flex;
	margin-bottom: 2em;
	flex-wrap: wrap;
	gap: 1em;
}

.info-box {
	min-width: 180px;
	padding: 1.5em;
	text-align: center;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
	flex: 1;
}

.info-box strong {
	display: block;
	margin-bottom: 0.5em;
	color: #c41e3a;
	font-size: 1.1em;
}

/* 説明テキスト */
.stats-description {
	margin: 2em 0;
	padding: 1.5em;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
}

.stats-note {
	margin-top: 1.5em;
	padding: 1em;
	color: #666;
	font-size: 0.9em;
	background: #fff1f1;
	border-radius: 8px;
}

/* お問い合わせフォーム用スタイル */
/* フォーム専用スタイル */
.form-container {
	margin: 2em auto;
	padding: 2em;
	background: #fff;
	/*border-radius: 15px;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);*/
}

.form-section {
	margin-bottom: 2em;
}

.form-section fieldset {
	padding: 1.5em;
	border: 2px solid #ffebee;
	border-radius: 8px;
}

.form-section legend {
	padding: 0 0.5em;
	color: #c41e3a;
	font-size: 1.2em;
	font-weight: 600;
}

.form-group {
	margin-bottom: 1.5em;
}

.form-group label {
	display: block;
	margin-bottom: 0.5em;
	color: #333;
	font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.8em;
	font-size: 1em;
	border: 2px solid #ffebee;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: #c41e3a;
	outline: none;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
	min-height: 120px;
	resize: vertical;
}

.req {
	margin-left: 0.2em;
	color: #c41e3a;
}

.req-text {
	margin-top: 1em;
	color: #666;
	font-size: 0.9em;
}

.btn-submit {
	padding: 1em 3em;
	color: #fff;
	font-size: 1.1em;
	font-weight: 600;
	background: #c41e3a;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
	transition: all 0.3s ease;
}

.btn-submit:hover {
	background: #a01830;
	box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
	transform: translateY(-2px);
}

.button-container {
	margin-top: 2em;
	text-align: center;
}

/* ページ説明エリアの追加スタイル */
.page-intro ul {
	padding: 0;
	list-style: none;
}

.page-intro li {
	position: relative;
	margin-bottom: 0.8em;
	padding-left: 1.5em;
}

.page-intro li:before {
	content: "•";
	position: absolute;
	left: 0.5em;
	color: #c41e3a;
}

.page-intro strong {
	color: #c41e3a;
}

/* FAQ専用スタイル */
.faq-description {
	margin-bottom: 2em;
	color: #666;
	text-align: center;
}

.faq-description a {
	color: #c41e3a;
	text-decoration: none;
	transition: color 0.3s ease;
}

.faq-description a:hover {
	color: #a01830;
}

.faq-list {
	margin-top: 2em;
}

details {
	margin-bottom: 1em;
	border: 2px solid #ffebee;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

details:hover {
	/*box-shadow: 0 2px 8px rgba(196, 30, 58, 0.1);*/
}

summary {
	position: relative;
	padding: 1em;
	font-weight: 600;
	background: #fff;
	cursor: pointer;
	outline: none;
	transition: background-color 0.3s ease;
}

summary:hover {
	background: #fff1f1;
}

details[open] summary {
	border-bottom: 2px solid #ffebee;
}

details p {
	margin: 0;
	padding: 1.5em;
	line-height: 1.6;
	background: #fff;
}

details p strong {
	color: #c41e3a;
}

details p code {
	padding: 0.2em 0.4em;
	color: #666;
	font-size: 0.9em;
	background: #f5f5f5;
	border-radius: 4px;
}

summary::-webkit-details-marker {
	display: none;
}

summary::after {
	content: "+";
	position: absolute;
	right: 1em;
	color: #c41e3a;
	font-weight: bold;
	transition: transform 0.3s ease;
}

details[open] summary::after {
	transform: rotate(45deg);
}

/* 試合結果ページ用のスタイル */
.content-area {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-lg);
}

.main-content {
	min-width: 300px;
	padding: var(--space-xl);
	background: var(--white);
	border-radius: var(--radius-md);
	/*box-shadow: 0 2px 10px var(--shadow);*/
	flex: 1;
}

.sidebar-content {
	width: 300px;
	padding: var(--space-lg);
	background: var(--white);
	border-radius: var(--radius-md);
	box-shadow: 0 2px 10px var(--shadow);
}

.widget {
	margin-bottom: var(--space-lg);
}

.widget-title {
	margin: 0;
	padding: var(--space-md);
	color: var(--white);
	background: var(--primary);
	border-radius: var(--radius-sm);
}

.widget-title h6 {
	margin: 0;
	font-size: var(--text-base);
}

.n01-online-widget img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-sm);
	transition: var(--transition);
}

.n01-online-widget img:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

/* マニュアルページ用のスタイル */
/* マニュアル一覧 */
.manual-list {
	display: grid;
	gap: 1em;
	grid-template-columns: 1fr;
}

.manual-item {
	display: flex;
	padding: 1em;
	background: #fff;
	border: 2px solid #f2f2f2;
	border-radius: 8px;
	flex-direction: column;
	gap: 0.5em;
	/*transition: box-shadow 0.3s;*/
}

.manual-item:hover {
	/*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
}

.manual-item h4 {
	margin-bottom: 0.2em;
	color: #c41e3a;
	font-size: 1em;
}

.manual-item p {
	font-size: 0.95em;
	line-height: 1.5;
	flex: 1;
}

.manual-item a {
	display: inline-block;
	margin-top: 0.5em;
	padding: 0.6em 1em;
	color: #fff !important;
	font-size: 0.9em;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 4px;
	transition: background-color 0.3s;
}

.manual-item a:hover {
	background: #a01830;
}

/* マニュアルページのコンテンツラッパー */
.content-wrapper {
	max-width: var(--container-width-lg);
	margin: 2em auto;
	padding: 1em var(--container-padding-desktop);
	background: #fff;
	border-radius: 8px;
	/*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
}

/* インラインリンクスタイル */
.content-wrapper a {
	color: #c41e3a;
	font-weight: bold;
	text-decoration: none;
	transition: color 0.3s;
}

.content-wrapper a:hover {
	color: #a01830;
}

/* マージン調整用 */
.content-wrapper p {
	margin-bottom: 1.5em;
}

/* 登録タイプナビゲーション */
.register-type-nav {
	display: flex;
	margin-bottom: 2em;
	padding: 0 1em;
	gap: 1em;
}

.register-type-nav a {
	padding: 0.8em 2em;
	color: #666;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.register-type-nav a.active {
	color: #fff;
	background: #c41e3a;
}

.register-type-nav a:hover:not(.active) {
	color: #c41e3a;
	background: #ffebee;
}

/* フォーム内の小さなテキスト */
.form-group small {
	display: block;
	margin-top: 0.3em;
	color: #666;
	font-size: 0.85em;
}

/* フォームグループの追加スタイル */
.form-group input[type="date"] {
	width: auto;
	min-width: 200px;
}

/* 都道府県セレクトボックス */
.form-group select#pref {
	background: #fff;
}

/* reCAPTCHAホルダー */
.inv-recaptcha-holder {
	margin: 2em 0;
}

/* スケジュールページ用のスタイル */
/* Container */
.container {
	max-width: var(--container-width-lg);
	margin: 0 auto;
	padding: 1em;
}

/* Filter Area */
.filter-area {
	display: flex;
	margin-bottom: 2em;
	padding: 1em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	flex-wrap: wrap;
	gap: 1em;
	align-items: center;
}

.filter-area select {
	padding: 0.5em;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.day-tabs {
	display: flex;
	margin-left: auto;
	gap: 0.5em;
}

.day-tab {
	padding: 0.5em 1em;
	background: #eee;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.3s;
}

.day-tab:hover ,
.day-tab.active {
	color: #fff;
	background: #c41e3a;
}

/* Division Container */
.division-container {
	margin-bottom: 2em;
}

.division-title {
	padding: 0.8em;
	font-size: 1.1em;
	font-weight: 700;
	background: #fff;
	border: 2px solid #ffebee;
	border-bottom: none;
	border-radius: 6px 6px 0 0;
}

/* Table Card */
.schedule-table {
	background: #fff;
	border: 2px solid #ffebee;
	border-top: none;
	border-radius: 0 0 6px 6px;
	overflow-x: auto;
}

.schedule-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
	padding: 0.7em;
	font-size: 0.9em;
	text-align: center;
	border: 1px solid #eee;
}

.schedule-table th {
	background: #fafafa;
}

.team-name-cell {
	width: 200px;
	font-weight: 700;
	text-align: left;
}

/* ホーム/アウェイ表記 */
.home {
	margin-left: 0.3em;
	color: #090;
	font-weight: bold;
}

.away {
	margin-left: 0.3em;
	color: #c30;
	font-weight: bold;
}

/* 結果スコア */
.score-win {
	color: #090;
	font-weight: bold;
}

.score-lose {
	color: #c30;
	font-weight: bold;
}

.score-draw {
	color: #333;
	font-weight: bold;
}

/* ページヒーロー - 新規追加 */
.page-hero {
	margin-bottom: 2em;
	padding: 3em 1em;
	color: #fff;
	text-align: center;
	background: linear-gradient(to right, #c41e3a, #e63b50);
	border-radius: 0 0 50% 50%/6% 6% 0% 0%;
}

.page-hero h1 {
	margin-bottom: 0.3em;
	font-size: 1.8em;
	font-weight: 700;
}

.page-hero p {
	font-size: 1em;
	opacity: 0.9;
}

/* イントロボックス - 新規追加 */
.intro-box {
	margin-bottom: 2em;
	padding: 1.5em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.intro-box h2 {
	margin-bottom: 0.8em;
	color: #c41e3a;
	font-size: 1.2em;
}

/* 曜日セレクト - 新規追加 */
.weekday-select {
	display: inline-block;
	margin-bottom: 1.5em;
	padding: 1em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.weekday-select label {
	margin-right: 0.5em;
	font-weight: 600;
}

.weekday-select select {
	padding: 0.5em;
	font-size: 0.9em;
	border: 1px solid #ccc;
	border-radius: 4px;
	outline: none;
}

/* チーム一覧 - 新規追加 */
.team-lists {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.division-block {
	padding: 1.5em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.division-block h3 {
	display: inline-block;
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	color: #c41e3a;
	font-size: 1.1em;
	border-bottom: 2px solid #ffebee;
}

.team-table {
	width: 100%;
	margin-bottom: 0.5em;
	font-size: 0.9em;
	border-radius: 6px;
	border-collapse: collapse;
	overflow: hidden;
}

.team-table thead th {
	padding: 0.8em;
	color: #333;
	background: #f7f7f7;
	border-bottom: 2px solid #ddd;
}

.team-table tbody tr {
	border-bottom: 1px solid #eee;
	transition: background 0.2s;
}

.team-table tbody tr:nth-child(even) {
	background: #fcfcfc;
}

.team-table tbody tr:hover {
	background: #fafafa;
}

.team-table td {
	padding: 0.8em;
	border-right: 1px solid #eee;
}

.team-table td:last-child {
	border-right: none;
}

/* オーダー画面用のスタイル */
#order_proc {
	display: flex;
	width: 100%;
	min-height: 800px;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	gap: 20px;
}

.order_lBox {
	width: 41%;	
}

/* チーム名のスタイル */
.team-name {
	position: relative;
	margin-bottom: 15px;
	padding: 12px 15px;
	color: #333;
	font-size: 1.3em;
	font-weight: bold;
	background: #fff;
	border-left: 4px solid #c41e3a;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

#ML {
	width: 280px;
	min-width: 200px;
	padding: 15px;
}

#ML.style02 {
	min-height: 90%;
}

#ML_container {
	margin: 0;
	color: #333;
	font-size: 1.1em;
	padding: 8px 12px;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
	position: relative;
	align-items: center;
	background: #fff;
	border: 2px solid #ffcccc;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.ML_containerInner {
	height: 400px;
	overflow-Y: auto;
	-webkit-overflow-scrolling: touch;
}


#ML_container p {
	font-weight: bold;
	padding-top: 20px;
}

#order_list_area {
	display: grid;
	padding: 15px;
	background: #fff;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	flex: 1;
}

.order-section {
	display: flex;
	min-height: 80px;
	padding: 15px;
	background: #fff;
	border: 2px solid #ffcccc;
	border-radius: 12px;
	flex-direction: column;
	transition: all 0.3s ease;
	gap: 8px;
}

.order-section p {
	display: flex;
	position: relative;
	margin: 0;
	padding: 8px 12px;
	color: #333;
	font-size: 1.1em;
	font-weight: bold;
	background: #fff1f1;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	align-items: center;
}

#ML div,
.order-section div[draggable="true"] {
	display: flex;
	position: relative;
	height: 40px;
	margin: 4px 0;
	padding: 0 12px 0 30px;
	color: #333;
	font-size: 0.95em;
	white-space: nowrap;
	text-overflow: ellipsis;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	cursor: grab;
	overflow: hidden;
	align-items: center;
	transition: all 0.2s ease;
}

#ML div:hover,
.order-section div[draggable="true"]:hover {
	border-color: #ffcccc;
	box-shadow: 0 2px 5px rgba(0,0,0,0.08);
	transform: translateY(-1px);
}

#ML div::before,
.order-section div[draggable="true"]::before {
	content: "⋮";
	position: absolute;
	left: 12px;
	top: 50%;
	color: #666;
	font-size: 1.2em;
	line-height: 1;
	transform: translateY(-50%);
}

/* ドラッグ時のスタイル */
.dragover {
	background: #fff1f1 !important;
	border: 2px dashed #ffcccc !important;
}

/* シングルスの制限表示 */
#S1.full,
#S2.full,
#S3.full,
#S4.full,
#S5.full {
	background: #f8f8f8;
	border: 2px solid #eee;
	pointer-events: none;
}

#S1.full div,
#S2.full div,
#S3.full div,
#S4.full div,
#S5.full div {
  opacity: 0.7;
	background: #f5f5f5;
	border-color: #ddd;
}

/* エリアごとの最小高さ設定 */
#S1,
#S2,
#S3,
#S4,
#S5 {
	min-height: 100px;
}

#D1,
#D2,
#D3,
#D4,
#D5 {
	min-height: 100px;
}

#T1,
#T2,
#T3 {
	min-height: 100px;
}

/* 削除エリアのスタイル */
.deleteContainer {
	height: 210px;
}
@media (max-width: 767px) {
	.deleteContainer {
	  height: 210px;
  }	
}

/* リセットボタンのスタイル */
.resetContainer {
	display: flex;
	justify-content: center;
	align-items: center;
}

.bottomContainer {
	margin-top: 40px;
}

#LISTOUT {
	margin-top: 20px;
}

#DL {
	display: flex;
	position: relative;
	width: 100%;
	min-height: 50px;
	margin: 20px 0;
	padding: 8px;
	background: #fff1f1;
	border: 2px dashed #ffcccc;
	border-radius: 12px;
	flex-wrap: wrap;
	gap: 10px;
	transition: all 0.2s ease;
}
#DL.style02 {
	min-height: 130px;
	max-height: 190px;
	justify-content: space-between;
	overflow-Y: auto;
	-webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
	#DL.style02 {
		display: block;
	  min-height: 130px;
	  max-height: 190px;
		padding: 4px 0;
	  justify-content: space-between;
	  overflow-Y: auto;
	  -webkit-overflow-scrolling: touch;
  }
}
#DL::before {
	content: "ここにドラッグで削除";
	position: absolute;
	top: 50%;
	left: 50%;
	color: #999;
	font-size: 0.9em;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

#DL.dragover {
	background: #ffe4e4;
	border-color: #ffb3b3;
}

#DL div {
	position: relative;
	display: flex;
	height: 40px;
	margin: 0;
	padding: 8px 12px 8px 30px;
	color: #333;
	line-height: 1.3;
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	align-items: center;
	overflow: hidden;
	cursor: move;
	transition: all 0.2s ease;
}
#DL.style02 div {
	width: 48%;
}
@media (max-width: 767px) {
	#DL.style02 div {
		width: 95%;
		height: auto;
	  font-size: 2.8vw;
		padding: 5px;
		padding-left: 4vw;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1vw;
  }
}
#DL div::before {
	content: "⋮";
	position: absolute;
	left: 12px;
	top: 50%;
	color: #666;
	font-size: 1.2em;
	line-height: 1;
	transform: translateY(-50%);
}
@media (max-width: 767px) {
	#DL.style02 div::before{
		left: 1.5vw;
	}
}

#DL div:hover {
	border-color: #ffcccc;
	box-shadow: 0 2px 5px rgba(0,0,0,0.08);
	transform: translateY(-1px);
}

/* メンバー追加フォームのスタイル */
.member-add-form {
	margin-top: 20px;
	padding: 15px;
	background: #fff1f1;
	border-radius: 8px;
}

.member-add-form input[type="email"] {
	width: 100%;
	margin-bottom: 10px;
	padding: 8px 12px;
	border: 1px solid #ffcccc;
	border-radius: 4px;
}

.member-add-form button {
	padding: 8px 15px;
	color: #fff;
	background: #c41e3a;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.member-add-form button:hover {
	background: #a01830;
}

/* 共通コンポーネント */
/* カード */
.card {
	background: var(--white);
	padding: var(--space-lg);
	border-radius: var(--radius-md);
	box-shadow: 0 2px 10px var(--shadow);
	transition: var(--transition);
}

.card:hover {
	box-shadow: 0 4px 15px var(--shadow-hover);
	transform: translateY(-2px);
}

.card-title {
	margin-bottom: 0.8em;
	color: #c41e3a;
	font-size: 1.1em;
}

.card-body {
	color: #333;
	font-size: 0.95em;
	line-height: 1.5;
}

/* ボタン */
.btn {
	display: inline-block;
	padding: var(--space-md) var(--space-lg);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	transition: var(--transition);
}

.btn-primary {
	color: var(--white) !important;
	background: var(--primary);
}
.btn-primary:hover {
	background: var(--primary-dark);
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

.btn-outline {
	color: #c41e3a;
	background: transparent;
	border: 2px solid #c41e3a;
}
.btn-outline:hover {
	color: #fff !important;
	background: #c41e3a;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

/* テーブル */
.table {
	width: 100%;
	margin-bottom: 1em;
	background: #fff;
	border-collapse: collapse;
	border-radius: 8px;
	overflow: hidden;
}

.table th {
	padding: 0.8em;
	font-weight: 600;
	text-align: left;
	background: #f7f7f7;
	border-bottom: 2px solid #ddd;
}

.table td {
	padding: 0.8em;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #eee;
}

.table td:last-child {
	border-right: none;
}

.table tbody tr:hover {
	background: #fafafa;
}

/* 見出し */
.heading {
	margin-bottom: 0.8em;
	color: #333;
	font-size: 1.3em;
	font-weight: 600;
}

.heading-primary {
	padding-left: 0.5em;
	border-left: 6px solid #c41e3a;
}

.heading-underline {
	display: inline-block;
	padding-bottom: 0.3em;
	border-bottom: 2px solid #ffebee;
}

/* 既存のスタイルを共通クラスに置き換え */
.info-block,
.info-card,
.action-item,
.manual-item,
.page-intro,
.season-select,
.division-block {
	margin: 0;
	padding: 0.5em;
	background: unset;
	border-radius: 0px;
	box-shadow: none !important;
}

.info-block h2,
.info-card h4,
.action-item h4,
.manual-item h4,
.page-intro h3 {
	margin-bottom: 0.8em;
	color: #c41e3a;
}

/* .info-block a, */
.info-card a,
.action-item a,
.manual-item a {
	display: inline-block;
	padding: 0.8em 1.5em;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 30px;
	transition: all 0.3s ease;
}

/* .info-block a:hover, */
.info-card a:hover,
.action-item a:hover,
.manual-item a:hover {
	background: #a01830;
	/*box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);*/
}

.league-table,
.game-table,
.stats-table,
.venue-table,
.team-table {
	width: 100%;
	margin-bottom: 1em;
	background: #fff;
	border-collapse: collapse;
	border-radius: 8px;
	overflow: hidden;
}

#ML div {
	display: flex;
	position: relative;
	height: 45px;
	margin: 4px 0;
	padding: 0 15px 0 35px;
	color: #333;
	font-size: 0.95em;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	cursor: grab;
	overflow: hidden;
	align-items: center;
	transition: all 0.2s ease;
}


#ML div::before {
	content: "⋮";
	position: absolute;
	left: 15px;
	top: 50%;
	color: #666;
	font-size: 1.2em;
	line-height: 1;
	transform: translateY(-50%);
}


.n01-banner img {
	width: 100%;
	height: auto;
}

/* チャットウィジェットのスタイル */
#LL_Chat_Widget {
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
}
#LL_Chat {
	width: 100%;
}

.ChatTxtBox {
	width: 100%;
	height: 60px;
	max-height: 150px;
	margin: 0;
	color: #333;
	line-height: 1.3em;
	border: 2px solid #bbb;
	resize: vertical;
}

.ChatBtn {
	float: right;
	margin: 4px 0 4px auto;
	padding: 8px 15px;
	color: white;
	background: #0073aa;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}
.ChatBtn:hover {
	background: #005177;
}

#chat-status {
	font-style: italic;
}

.chat-message {
	margin-bottom: 8px;
	line-height: 1.4;
}

.chat-time {
	color: #666;
	font-size: 0.8em;
}

.chat-user {
	color: #0073aa;
	font-weight: bold;
}

.chat-text {
	word-break: break-word;
}
#ChatWindow {
	width: 100%;
	height: 600px;
	padding: 10px;
	background: #fff;
	border: 2px solid #bbb;
	overflow: scroll;
}

.MesBox {
	word-break: break-word;      /* Safari以外で有効 */
	overflow-wrap: break-word;   /* 標準的な推奨（以前は "word-wrap"） */
}

/* メディアクエリ集約 */
@media (min-width: 1024px) {
	.global-nav a {
		padding: 10px 15px;
		font-size: 14px;
	}

	.link-list {
		grid-template-columns: 1fr 1fr;
	}

	.manual-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.global-nav a {
		padding: 10px 8px;
		font-size: 13px;
	}

	.link-list {
		grid-template-columns: 1fr 1fr;
	}

	.content-wrapper {
		padding: 1.2rem;
	}

	.manual-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.header-inner,
	.nav-inner,
	.content-wrapper,
	.container {
		padding-left: var(--container-padding-mobile);
		padding-right: var(--container-padding-mobile);
	}

	.site-logo {
		width: 180px;
		height: 45px;
		margin-bottom: 10px;
	}

	.top-menu {
		margin-top: 15px;
	}

	.global-nav ul {
		flex-wrap: wrap;
	}

	.global-nav li {
		flex: 1 0 auto;
	}

	.global-nav a {
		padding: 10px 5px;
		font-size: 12px;
	}

	.footer-links {
		flex-direction: column;
		align-items: center;
		gap: 3px;
	}

	.footer-links a {
		padding: 1px 4px;
	}

	.content-area {
		width: 100%;
		grid-template-columns: 1fr;
		flex-direction: column;
	}

  .content-wrapper {
    padding: 1rem;
    /*margin: 0 0.5rem;*/
    border-radius: 6px;
  }

	.site-content {
		padding-top: 1rem;
	}

	.main-content {
		width: 100%;
		padding: 2px;
	}

	.manual-list,
	.link-list {
		grid-template-columns: 1fr;
	}

	.title-area h2 {
		font-size: 1.8rem;
	}

	.content-area {
		flex-direction: column;
	}

	.sidebar-content {
		width: 100%;
	}

	#ChatWindow {
		height: 300px !important;
	}

	h3,
	.content-section h3 {
		font-size: 4vw;
	}

	.header-inner {
        display: block;
	}
}

/* フォームスタイル */
form p {
	margin: 20px 0 0 0;
}

label {
	font-size: 1.1em;
	font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
	width: 100%;
	padding: 10px;
	font-size: 1em;
	background: #ededed;
	border: 2px solid #ededed;
	border-radius: 5px;
}

input[type="checkbox"] {
	position: relative;
	width: 20px;
	height: 20px;
	margin: 0 10px 0 0;
	border: 1px solid #333;
	vertical-align: -5px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="checkbox"]:checked:before {
	content: '';
	position: absolute;
	top: 2px;
	left: 6px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(50deg);
}

input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 0 10px 0 0;
	border: 1px solid #333;
	vertical-align: -3px;
}

select {
	padding: 0.8em 1.5em;
	background: #ededed;
	border: 2px solid #ededed;
	border-radius: 5px;
}

button {
	padding: 0.8em 1.5em;
	background: #ededed;
	border: 2px solid #ededed;
	border-radius: 10px;
}

input[type="submit"] {
	padding: 0.8em 3em;
	color: #fff !important;
	font-size: 1.2em;
	font-weight: 600;
	letter-spacing: 1px;
	background: #c41e3a;
	border: 2px solid #c41e3a;
	border-radius: 30px;
}

@media (max-width: 767px) {
	input[type="submit"] {
		display: block;
		margin: auto;
	}
}

input[type="reset"] {
	padding: 0.8em 3em;
	color: #333 !important;
	font-size: 1.2em;
	font-weight: 600;
	letter-spacing: 1px;
	background: #fff;
	border: 2px solid #333;
	border-radius: 30px;
}

/* 共通カードコンポーネント */
.card-base {
	padding: 1.5em;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}
.card-base:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.card-title {
	margin-bottom: 0.8em;
	color: #c41e3a;
	font-size: 1.1em;
}

/* 共通テーブルコンポーネント */
.table-base {
	width: 100%;
	margin-bottom: 1em;
	background: #fff;
	border-collapse: collapse;
	border-radius: 8px;
	overflow: hidden;
}

.table-base th {
	padding: 0.8em;
	font-weight: 600;
	text-align: left;
	background: #f7f7f7;
	border-bottom: 2px solid #ddd;
}

.table-base td {
	padding: 0.8em;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.table-base td:last-child {
	border-right: none;
}

.table-base tbody tr:hover {
	background: #fafafa;
}

/* 共通ボタンコンポーネント */
.btn {
	display: inline-block;
	padding: 0.8em 1.5em;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary {
	color: #fff !important;
	background: #c41e3a;
}

.btn-primary:hover {
	background: #a01830;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

.btn-outline {
	color: #c41e3a;
	background: transparent;
	border: 2px solid #c41e3a;
}
.btn-outline:hover {
	color: #fff !important;
	background: #c41e3a;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

/* 共通フォームコンポーネント */
.form-input {
	width: 100%;
	padding: 0.8em;
	font-size: 1em;
	background: #ededed;
	border: 2px solid #ededed;
	border-radius: 5px;
}

/* カード系コンポーネントのスタイル適用 */
.info-block,
.info-card,
.action-item,
.manual-item,
.page-intro,
.season-select,
.division-block {
	padding: 1.5em;
	background: #fff;
	border-radius: 8px;
	/*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);*/
	transition: all 0.3s ease;
}
/*
.info-block:hover,
.info-card:hover,
.action-item:hover,
.manual-item:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}
*/

/* テーブル系コンポーネントのスタイル適用 */
.league-table,
.game-table,
.stats-table,
.venue-table,
.team-table {
	width: 100%;
	margin-bottom: 1em;
	background: #fff;
	border-collapse: collapse;
	border-radius: 8px;
	overflow: hidden;
}

/* ボタン系コンポーネントのスタイル適用 */
.info-card a,
.action-item a,
.manual-item a {
	display: inline-block;
	padding: 0.8em 1.5em;
	color: #fff !important;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.info-card a:hover,
.action-item a:hover,
.manual-item a:hover {
	background: #a01830;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

/* フォーム要素のスタイル適用 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
	width: 100%;
	padding: 0.8em;
	font-size: 1em;
	font-family: inherit;
	background: #ededed;
	border: 2px solid #ededed;
	border-radius: 5px;
}

input[type="date"] {
	width: auto;
	min-width: 200px;
	padding: 0.8em;
	font-family: inherit;
	background: #ededed;
	border: 2px solid #ededed;
	border-radius: 5px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	margin-left: 8px;
	cursor: pointer;
	opacity: 0.6;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

.form fieldset {
	border: none;
}
.form fieldset legend {
	display: none;
}
.button_div {
	padding: 24px 0;
	text-align: center;
}


/* 共通ページスタイル */
.static-content {
	margin-bottom: 2em;
}

/* ページタイトル共通スタイル */
/*
.page-title {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 2em;
  padding-bottom: 0.5em;
  position: relative;
  color: var(--text);
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}
*/

/* エントリーコンテンツ共通スタイル */
.entry-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 2em 0;
}

/* 規約系ページ共通スタイル */
.legal-document {
	max-width: min(1000px, 90%);  /* 横幅を1000pxに拡大、モバイルでは90%に */
	max-width: 800px;
	margin: 0 auto;
	padding: 2em 0;
}

.legal-content {
	max-width: 800px;  /* コンテンツ部分は800pxに制限 */
	margin: 0 auto;
	padding: 2em clamp(1.5em, 5%, 3em);  /* パディングを可変に */
	padding: 2em;
	background: var(--white);
	border-radius: var(--radius-md);
	/*box-shadow: 0 2px 10px var(--shadow);*/
}

/* 見出しスタイル */
.legal-title {
	position: relative;
	margin: 2em 0 1em;
	padding-bottom: 0.5em;
	color: var(--text);
	font-size: 1.5em;
	text-align: center;
	border-left: none;
}
.legal-title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 50%;
	width: 60px;
	height: 3px;
	background: var(--primary);
	transform: translateX(-50%);
}

.legal-content h2 {
	margin: 2em 0 1em;
	padding-bottom: 0.5em;
	color: var(--text);
	font-size: 1.5em;
	text-align: center;
	border: note;
}

.legal-content h3 {
	margin: 1.5em 0 1em;
	padding-left: 1em;
	color: var(--text);
	font-size: 1.3em;
	text-align: left;
	border-left: 4px solid var(--primary);
}

.legal-content h4 {
	margin: 1.2em 0 0.8em;
	color: var(--text);
	font-size: 1.1em;
	text-align: left;
}

.legal-content h5 {
	margin: 1.2em 0 0.8em;
	color: var(--text);
	font-size: 1.0em;
	text-align: left;
}

/* 段落スタイル */
.legal-content p {
	margin-bottom: 1em;
	color: var(--text);
	line-height: 1.8;
}

/* リストスタイル */
.legal-content ul,
.legal-content ol {
	margin: 1em 0 1em 1.5em;
	line-height: 1.8;
}

.legal-content li {
	margin-bottom: 0.5em;
}

/* 番号付きリストのネスト */
.legal-content ol {
	counter-reset: item;
	list-style-type: none;
}

.legal-content ol > li {
	position: relative;
	padding-left: 1.5em;
	counter-increment: item;
}

.legal-content ol > li::before {
	content: counter(item) ".";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

/* テーブルスタイル */
.legal-content table {
	width: 100%;
	margin: 1.5em 0;
	background: var(--white);
	border-collapse: collapse;
	border-radius: var(--radius-md);
	overflow: hidden;
}
.legal-content th,
.legal-content td {
	padding: 1em;
	line-height: 1.6;
	border: 1px solid var(--border);
}
.legal-content th {
	width: 30%;
	padding: 1.2em 1.5em;
	color: var(--text);
	font-weight: 600;
	text-align: left;
	background: var(--background);
	border: 1px solid var(--border);
}
.legal-content td {
	padding: 1.2em 1.5em;
	line-height: 1.6;
	border: 1px solid var(--border);
}
.legal-content td a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.3s ease;
}
.legal-content td a:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}


/* リンクスタイル */
.legal-content a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.3s ease;
	overflow-wrap: anywhere;
}

.legal-content a:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

/* 引用スタイル */
.legal-content blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	color: var(--text-light);
	background: var(--background);
	border-left: 4px solid var(--primary);
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
	.legal-document {
		padding: 1.5em var(--container-padding-mobile);
	}

	.page-title {
		margin-bottom: 1.5em;
		font-size: 1.5em;
	}

	.legal-content {
		padding: 1.5em;
	}

	.legal-content h2 {
		font-size: 1.3em;
	}

	.legal-content h3 {
		font-size: 1.2em;
	}

	.legal-content h4 {
		font-size: 1.1em;
	}

	.legal-content th,
	.legal-content td {
		padding: 0.8em;
	}
}

/* マニュアルページ用のスタイル */
.title-area h1 {
	margin-bottom: 1.5em;
	font-size: 1.8em;
	color: var(--text);
	text-align: center;
}

.page-intro {
	margin-bottom: 2em;
	padding: 2em;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
}

.page-intro h2 {
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	color: #c41e3a;
	font-size: 1.2em;
	text-align: left;
	border-bottom: 2px solid #ffebee;
}

.page-intro ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-intro li {
	position: relative;
	margin-bottom: 0.8em;
	padding-left: 1.5em;
}

.page-intro li:before {
	content: "•";
	position: absolute;
	left: 0.5em;
	color: #c41e3a;
}

.page-intro strong {
	color: #c41e3a;
}

.manual-notice {
	margin-bottom: 2em;
	text-align: center;
}

.manual-notice p {
	line-height: 1.8;
}

.contact-link {
	color: #c41e3a;
	font-weight: bold;
	text-decoration: none;
	transition: color 0.3s;
}

.contact-link:hover {
	color: #a01830;
}

.manual-list {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	gap: 1.5em;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.manual-item {
	display: flex;
	padding: 1.5em;
	background: #fff;
	border: 2px solid #f2f2f2;
	border-radius: 8px;
	flex-direction: column;
	gap: 0.8em;
	transition: all 0.3s ease;
}
/*
.manual-item:hover {
	border-color: #ffebee;
	box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
	transform: translateY(-2px);
}
*/

.manual-item h3 {
	margin: 0;
	color: #c41e3a;
	font-size: 1.1em;
	text-align: left;
}

.manual-item p {
	margin: 0;
	font-size: 0.95em;
	line-height: 1.6;
	flex-grow: 1;
}

.manual-link {
	display: inline-block;
	padding: 0.8em 1.2em;
	color: #fff !important;
	font-size: 0.9em;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	background: #c41e3a;
	border-radius: 6px;
	align-self: flex-start;
	transition: all 0.3s ease;
}

.manual-link:hover {
	background: #a01830;
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.title-area h1 {
		margin-bottom: 1.2em;
		font-size: 1.5em;
	}

	.page-intro {
		padding: 1.5em;
	}

	.manual-list {
		grid-template-columns: 1fr;
		gap: 1em;
	}

	.manual-item {
		padding: 1.2em;
	}
}

/* アクショングリッド */
.action-grid {
	display: grid;
	margin: 2em 0;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
}

.action-card {
	display: flex;
	padding: 1.5em;
	text-align: center;
	background: var(--white);
	border-radius: var(--radius-md);
	box-shadow: 0 2px 10px var(--shadow);
	flex-direction: column;
	transition: var(--transition);
}
.action-card:hover {
	box-shadow: 0 4px 15px var(--shadow-hover);
	transform: translateY(-2px);
}

.action-card h4 {
	margin-bottom: 1em;
	color: var(--primary);
	font-size: 1.2em;
}

.action-card p {
	margin-bottom: 1.5em;
	font-size: 0.95em;
	line-height: 1.6;
	flex-grow: 1;
}

.action-link {
	display: inline-block;
	padding: 0.8em 1.5em;
	color: var(--white) !important;
	font-weight: 600;
	text-decoration: none;
	background: var(--primary);
	border-radius: 30px;
	align-self: center;
	transition: var(--transition);
}
.action-link:hover {
	background: var(--primary-dark);
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

@media (max-width: 1024px) {
	.action-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.action-grid {
		grid-template-columns: 1fr;
		gap: 1em;
	}

	.action-card {
		padding: 1.2em;
	}
}

/* 試合情報グリッド */
.info-grid {
	display: grid;
	margin: 2em 0;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5em;
}

.info-card {
	display: flex;
	padding: 1.5em;
	text-align: center;
	background: var(--white);
	border-radius: var(--radius-md);
	box-shadow: 0 2px 10px var(--shadow);
	flex-direction: column;
	transition: var(--transition);
}
.info-card:hover {
	box-shadow: 0 4px 15px var(--shadow-hover);
	transform: translateY(-2px);
}

.info-card h4 {
	margin-bottom: 1em;
	color: var(--primary);
	font-size: 1.2em;
}

.info-card p {
	margin-bottom: 1.5em;
	font-size: 0.95em;
	line-height: 1.6;
	flex-grow: 1;
}

.info-link {
	display: inline-block;
	padding: 0.8em 1.5em;
	color: var(--white) !important;
	font-weight: 600;
	text-decoration: none;
	background: var(--primary);
	border-radius: 30px;
	align-self: center;
	transition: var(--transition);
}
.info-link:hover {
	background: var(--primary-dark);
	box-shadow: 0 4px 10px rgba(196, 30, 58, 0.2);
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.info-grid {
		grid-template-columns: 1fr;
		gap: 1em;
	}

	.info-card {
		padding: 1.2em;
	}
}

@media (max-width: 767px) {
	#D1,
	#D2,
	#D3,
	#D4,
	#D5 {
		min-height: 80px;
	}

	#S1,
	#S2,
	#S3,
	#S4,
	#S5 {
		min-height: 80px;
	}

	#order_proc {
		padding: 0px;
		gap: 2px;
		min-height: 700px;
	}

	#order_list_area {
		display: block !important;
		padding: 5px;
		margin-right: 0px;
		width: 160px;
	}

	#ML_container p {
		font-weight: bold;
		padding-top: 5px;
		font-size: 15px;
		margin-bottom: 0.8vw;
	}

	#ML_container {
		padding: 2px;
	}
  .ML_containerInner {
  	height: 300px;
  }
	#ML div {
		height: 30px;
		font-size: 3vw;
		padding-left: 5.8vw;
		width: 95%;
		margin: 0 auto;
		margin-bottom: 10px;
	}
	#ML div::before {
	  left: 2.6vw;
  }	
	#ML {
		padding: 3px;
		width: 50px;
		min-width: 130px;
		margin-right: 0px;
		border: 0px solid #ddd;
		min-height: 650px;
	}
	#ML.style02 {
		min-height: 100%;
  }
}



/*
 * トップスライダーコンテナ
 */
.topSplideSlider {
  position: relative;
  width: 100%;
  height: 30vw;
  background: #000;
  overflow: visible;
	padding-bottom: 2.4vw;
}

@media (max-width: 767px) {
  .topSplideSlider {
    height: 98.5vw;
		padding-bottom: 5vw;
  }
}

/* スライダートラック */
.topSplideSlider .splide__track {
	width: 100%;
  height: 100%;
	padding: 20px 0;
  overflow: hidden;
}

/* スライダーリスト */
.topSplideSlider .splide__list {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各スライド */
.topSplideSlider .splide__slide {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
	cursor: pointer;
}

/* スライドホバー効果 */
.topSplideSlider .splide__slide:hover img {
	transform: scale(1.1);
}

/* スライド画像 */
.topSplideSlider .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition-duration: 0.3s;
}

/* ページネーション */
.topSplideSlider .splide__pagination {
  position: absolute;
  bottom: 1.3vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex !important; /* 画像3枚でも強制表示 */
  gap: 8px;
}

@media (max-width: 767px) {
	.topSplideSlider .splide__pagination {
		bottom: 3.5vw;
	}
}

.topSplideSlider .splide__pagination li {
	display: block;
	width: 2vw;
  height: 2vw;
	max-width: 20px;
	max-height: 20px;
  border-radius: 50%;
	position: relative;
	overflow: hidden;
}

@media (max-width: 767px) {
	.topSplideSlider .splide__pagination li {
		width: 3vw;
    height: 3vw;
	}
}

.topSplideSlider .splide__pagination__page {
	display: block;
  background: #fff;
  border: none;
	width: 100%;
  height: 100%;
	padding: 0; /* デフォルトスタイル打ち消し */
  transition: all 0.3s ease;
  cursor: pointer;
}

.topSplideSlider .splide__pagination__page.is-active {
  background: #DC143C;
}

/*
 * お知らせ詳細ページスタイル
 */
.newsPost {
  /* max-width: 600px; */
  width: 90%;
  margin: 0 auto;
}

.newsPostTitle {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.newsPostThumbnail img {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
  margin-top: 30px;
}

.newsPostDate {
  font-size: 15px;
  color: #888;
  margin-top: 20px;
}

.newsPostCategory {
	margin-top: 5px;
}

.newsPostCategory .category {
  display: inline-block;
  background: #f3f3f3;
  color: #333;
  font-size: 14px;
  padding: 4px 14px;
  border-radius: 12px;
  margin-right: 8px;
  border: 1px solid #e0e0e0;
}

.newsPostDescription {
	margin-top: 20px;
	font-size: 18px;
}

.newsPostDescription p img {
	display: block;
	margin: 0 auto;
}

.newsPostDescription h1,
.newsPostDescription h2,
.newsPostDescription h3,
.newsPostDescription h4,
.newsPostDescription h5,
.newsPostDescription h6,
.newsPostDescription ul,
.newsPostDescription ol, 
.newsPostDescription p {
	margin-bottom: 1em;
}

.newsPostDescription h1 {
	padding-left: 1em;
	font-size: 1.5em;
	text-align: left;
	border-left: 6px solid var(--primary);
}

.newsPostDescription h2 {
	padding-left: 1em;
	font-size: 1.5em;
	text-align: left;
	border-left: 6px solid var(--primary);
}


.newsPostDescription ul {
	margin-left: 20px;
}

.newsPostDescription ol {
	margin-left: 20px;
}

.newsPostPagination {
  display: flex;
  justify-content: space-between;
  list-style: none;
	width: 90%;
	max-width: 600px;
	margin: 0 auto;
	margin-top: 30px;
}

.newsPostPrev,
.newsPostTop,
.newsPostNext {
	min-width: 120px;
}

@media (max-width: 767px) {
	.newsPostPrev,
  .newsPostTop,
  .newsPostNext {
	  min-width: 10vw;
  }
}

.newsPostPrev a,
.newsPostTop a,
.newsPostNext a {
	display: flex;
	justify-content: center;
	align-items: center;
  padding: 10px 32px;
  color: #333;
  text-decoration: none;
	border-radius: 4px;
  background-color: #f5f5f5;
	border: 1px solid #ccc;
  font-size: 16px;
  font-weight: 500;
  transition-duration: 0.2s;
}

@media (max-width: 767px) {
	.newsPostPrev a,
  .newsPostTop a,
  .newsPostNext a {
		font-size: 3vw;
		padding: 1vw 2vw;
	}
}

@media (min-width: 768px) {
	.newsPostPagination a:hover {
	  background-color: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
  }
}
