@charset "utf-8";

body,p,td,li, h5,h6 {
	font-family: "BIZ UDPGothic", "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-weight: 400;
	font-size:1rem;
	line-height:1.8em;
}
h1,h2,h3,h4,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: "BIZ UDPMincho", "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro",source-han-serif-japanese,"游明朝","Yu Mincho","游明朝体",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
	font-weight:800;
	line-height:1.5em;
}

.font-g {
	font-family: "BIZ UDPGothic", "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

.font-m {
	font-family: "BIZ UDPMincho", "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro",source-han-serif-japanese,"游明朝","Yu Mincho","游明朝体",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.bold {
	font-weight:800;
}

.container {
	max-width: 1164px;
}



/* 文字サイズ
==================================================== */
h1 { font-size:1.5rem; }

@media (min-width: 576px) {
	h1 { font-size:1.8rem;letter-spacing:2px; }
}
@media (min-width: 768px) {
	h1 { font-size:1.8rem; }
}
@media (min-width: 1200px) {
	h1 { font-size:2rem;letter-spacing:2px; }
}
@media (min-width: 1400px) {
	h1 { font-size:2.2rem;letter-spacing:2px; }
}

@media (min-width: 768px) and (max-width: 1050.98px) {
	.top_square .top_text { font-size:0.8rem; }
}
@media (max-width: 767.98px) {
	.top_text { font-size:1rem; }
}



/* マージン、パディング
==================================================== */
.mt-40 { margin-top:40px; }
.mb-40 { margin-bottom:40px; }
.pt-40 { padding-top:40px; }
.pb-40 { padding-bottom:40px; }
.mt-80 { margin-top:80px; }
.mb-80 { margin-bottom:80px; }
.pt-80 { padding-top:80px; }
.pb-80 { padding-bottom:80px; }
.ps-80 { padding-left:80px; }
.pe-80 { padding-right:80px; }
.mt-110 { margin-top:110px; }
.mb-110 { margin-bottom:110px; }
.pt-110 { padding-top:110px; }
.pb-110 { padding-bottom:110px; }
.ps-110 { padding-left: 110px; }

.my-80 { margin-top:80px; margin-bottom:80px; }
.my-110 { margin-top:110px; margin-bottom:110px; }
.py-80 { padding-top:80px; padding-bottom:80px; }
.px-80 { padding-left:80px; padding-right:80px; }
.py-110 { padding-top:110px; padding-bottom:110px; }

@media (max-width: 767.98px) {
	.mt-40, .mt-80, .mt-110 { margin-top:30px; }
	.mb-40, .mb-80, .mb-110 { margin-bottom:30px; }
	.pt-40, .pt-80, .pt-110 { padding-top:30px; }
	.pb-40, .pb-80, .pb-110 { padding-bottom:30px; }
	.ps-80, .ps-110 { padding-left:30px; }
	.pe-80, .pe-110 { padding-right:30px; }
	.my-80, .my-110 { margin-top:30px; margin-bottom:30px; }
	.py-80, .py-110 { padding-top:30px; padding-bottom:30px; }
	.mx-80 { margin-left:30px; margin-right:30px; }
}

.lh-1 { line-height: 1em; }
.lh-2 { line-height: 2em; }
.lh-3 { line-height: 3em; }




/* リンク
==================================================== */
a {
	color: #666;
}

footer a {
	color: #fff;
}


/* ナビバー
==================================================== */
/* ==============================
   Contact Form 7
================================ */

/* =========================================================
   Contact Form 7 団体登録フォーム
========================================================= */

.dantai-form {
	margin: 0 auto;
}


/* =========================================================
   通常フォーム
========================================================= */

.dantai-form .form-row-custom {
	margin: 0;
	padding: 25px 0;
	border-bottom: 1px solid #ddd;
	align-items: center;
}

.dantai-form .form-label-area {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

.dantai-form .form-label-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	width: 100%;
}

.dantai-form .form-label-inner label {
	margin: 0;
	font-weight: 700;
}


/* 必須 */
.dantai-form .required-badge {
	display: inline-block;
	flex-shrink: 0;
	margin-left: auto;
	padding: 3px 9px;
	border-radius: 3px;
	background: #dc3545;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}


/* 補足 */
.dantai-form .form-help {
	margin-top: 7px;
	margin-bottom: 0;
	color: #666;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.7;
}


/* =========================================================
   入力フォーム
========================================================= */

.dantai-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.dantai-form input[type="text"],
.dantai-form input[type="email"],
.dantai-form input[type="tel"],
.dantai-form input[type="url"],
.dantai-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 15px;
	border: 1px solid #bbb;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-size: 16px;
	line-height: 1.6;
	box-shadow: none;
}

.dantai-form input[type="text"]:focus,
.dantai-form input[type="email"]:focus,
.dantai-form input[type="tel"]:focus,
.dantai-form input[type="url"]:focus,
.dantai-form textarea:focus {
	border-color: #0371c4;
	outline: none;
	box-shadow: 0 0 0 3px rgba(3, 113, 196, 0.12);
}

.dantai-form textarea {
	min-height: 160px;
	resize: vertical;
}


/* =========================================================
   ファイル
========================================================= */

.dantai-form .file-field {
	margin-bottom: 12px;
}

.dantai-form .file-field:last-child {
	margin-bottom: 0;
}

.dantai-form input[type="file"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #fff;
	font-size: 14px;
}


/* =========================================================
   スポーツ種目
========================================================= */

.dantai-form .sports-section {
	margin: 50px 0;
}

.dantai-form .sports-section-title {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid #0371c4;
}

.dantai-form .sports-section-title h3 {
	margin: 0 0 8px;
	color: #222;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
}

.dantai-form .sports-section-title p {
	margin: 0;
	color: #666;
	font-size: 14px;
}


/* カテゴリ */
.dantai-form .sport-category {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 22px 25px;
	border: 1px solid #dce4ea;
	border-left: 5px solid #0371c4;
	border-radius: 6px;
	background: #f7f9fb;
	overflow: hidden;
}

.dantai-form .sport-category h4 {
	margin: 0 0 18px;
	padding: 0;
	color: #0371c4;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}


/* =========================================================
   CF7 チェックボックス
========================================================= */

.dantai-form .sport-category .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.dantai-form .sport-category .wpcf7-checkbox {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 12px 28px;
	border: 0 !important;
	background: transparent !important;
}

.dantai-form .sport-category .wpcf7-list-item {
	display: inline-block !important;
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.dantai-form .sport-category .wpcf7-list-item label {
	display: flex !important;
	align-items: flex-start;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: normal;
	line-height: 1.5;
	cursor: pointer;
}

.dantai-form .sport-category input[type="checkbox"] {
	position: static !important;
	display: inline-block !important;
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	margin: 2px 8px 0 0 !important;
	padding: 0 !important;
	float: none !important;
	appearance: auto;
	-webkit-appearance: checkbox;
	accent-color: #0371c4;
	cursor: pointer;
}

.dantai-form .sport-category .wpcf7-list-item-label {
	display: inline-block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #333;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.6;
	white-space: normal;
}


/* =========================================================
   その他
========================================================= */

.dantai-form .other-input {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px dashed #ccc;
}

.dantai-form .other-input > label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 700;
}


/* =========================================================
   送信
========================================================= */

.dantai-form .submit-area {
	margin-top: 40px;
	text-align: center;
}

.dantai-form .dantai-submit {
	display: inline-block;
	min-width: 260px;
	padding: 15px 40px;
	border: 0;
	border-radius: 6px;
	background: #0371c4;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.dantai-form .dantai-submit:hover {
	opacity: 0.85;
}


/* =========================================================
   CF7 エラー
========================================================= */

.dantai-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #dc3232;
	font-size: 13px;
}


/* =========================================================
   スマートフォン
========================================================= */

@media (max-width: 767.98px) {

	.dantai-form .form-row-custom {
		padding: 20px 0;
	}

	.dantai-form .form-label-area {
		margin-bottom: 10px;
	}

	/*
	スマホでも項目名左・必須右
	*/
	.dantai-form .form-label-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.dantai-form .sports-section {
		margin: 40px 0;
	}

	.dantai-form .sports-section-title h3 {
		font-size: 21px;
	}

	.dantai-form .sport-category {
		margin-bottom: 15px;
		padding: 18px 15px;
	}

	.dantai-form .sport-category h4 {
		margin-bottom: 15px;
		font-size: 17px;
	}

	.dantai-form .sport-category .wpcf7-checkbox {
		display: flex !important;
		flex-direction: column;
		flex-wrap: nowrap !important;
		gap: 10px;
	}

	.dantai-form .sport-category .wpcf7-list-item {
		display: block !important;
		width: 100% !important;
	}

	.dantai-form .sport-category .wpcf7-list-item label {
		width: 100% !important;
	}

	.dantai-form .dantai-submit {
		width: 100%;
		min-width: 0;
	}
}


@media (max-width: 575.98px) {

	.dantai-form .sport-category {
		padding: 16px 12px;
	}

	.dantai-form .sport-category .wpcf7-list-item-label {
		font-size: 14px;
	}

}


/* =========================================================
   CF7 ラジオボタン
========================================================= */

.dantai-form .sport-category .wpcf7-radio {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 12px 28px;
	border: 0 !important;
	background: transparent !important;
}

.dantai-form .sport-category .wpcf7-radio .wpcf7-list-item {
	display: inline-block !important;
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.dantai-form .sport-category .wpcf7-radio .wpcf7-list-item label {
	display: flex !important;
	align-items: center;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: normal;
	line-height: 1.5;
	cursor: pointer;
}

/* ラジオボタン本体 */
.dantai-form .sport-category input[type="radio"] {
	position: static !important;
	display: inline-block !important;
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	margin: 0 8px 0 0 !important;
	padding: 0 !important;
	float: none !important;

	appearance: auto;
	-webkit-appearance: radio;

	accent-color: #0371c4;
	cursor: pointer;
}

/* 選択肢の文字 */
.dantai-form .sport-category .wpcf7-radio .wpcf7-list-item-label {
	display: inline-block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #333;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.6;
	white-space: normal;
}


/* =========================================================
   スマートフォン
========================================================= */

@media (max-width: 767.98px) {

	.dantai-form .sport-category .wpcf7-radio {
		display: flex !important;
		flex-direction: column;
		flex-wrap: nowrap !important;
		gap: 10px;
	}

	.dantai-form .sport-category .wpcf7-radio .wpcf7-list-item {
		display: block !important;
		width: 100% !important;
	}

	.dantai-form .sport-category .wpcf7-radio .wpcf7-list-item label {
		width: 100% !important;
	}
}

@media (max-width: 575.98px) {

	.dantai-form .sport-category .wpcf7-radio .wpcf7-list-item-label {
		font-size: 14px;
	}
}


/* イベント登録ページ 開催日ピル表示セクション */
.event-date-pill {
	display: inline-flex;
	align-items: center;
	background-color: #f1f3f5;
	color: #212529;
	border: 1px solid #ced4da;
	border-radius: 50rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.9rem;
	line-height: 1;
}

.event-date-pill-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.5rem;
	background: none;
	border: none;
	padding: 0;
	color: #6c757d;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.event-date-pill-remove:hover {
	color: #dc3545;
}

/* イベント登録ページ 開催日インラインカレンダーおよび選択ピル表示セクション */
.inline-calendar {
	margin-top: 0;
	width: 100%;
	max-width: 330px;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	background-color: #ffffff;
	padding: 0.75rem;
	user-select: none;
}

.calendar-header {
	margin-top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.calendar-title {
	margin-top: 0;
	font-weight: 600;
	font-size: 1rem;
	color: #212529;
}

.calendar-btn {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #ced4da;
	background-color: #f8f9fa;
	border-radius: 0.25rem;
	cursor: pointer;
	color: #495057;
	line-height: 1;
}

.calendar-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.calendar-grid {
	margin-top: 0.5rem;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
}

.calendar-weekday {
	margin-top: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: #6c757d;
	padding: 0.25rem 0;
}

.calendar-weekday.sun {
	color: #dc3545;
}

.calendar-weekday.sat {
	color: #0d6efd;
}

.calendar-day {
	margin-top: 0;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	border-radius: 0.25rem;
	cursor: pointer;
	color: #212529;
}

.calendar-day:hover:not(.disabled):not(.selected) {
	background-color: #e9ecef;
}

.calendar-day.sun {
	color: #dc3545;
}

.calendar-day.sat {
	color: #0d6efd;
}

.calendar-day.selected {
	background-color: #0d6efd;
	color: #ffffff;
	font-weight: 600;
}

.calendar-day.disabled {
	color: #ced4da;
	cursor: not-allowed;
}

.calendar-day.empty {
	cursor: default;
}

#event-date-pill-container {
	margin-top: 0.75rem;
}

.event-date-pill {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	background-color: #f1f3f5;
	color: #212529;
	border: 1px solid #ced4da;
	border-radius: 50rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.85rem;
	line-height: 1;
}

.event-date-pill-remove {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.5rem;
	background: none;
	border: none;
	padding: 0;
	color: #6c757d;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.event-date-pill-remove:hover {
	color: #dc3545;
}


/* イベント登録ページ ラベルおよび必須バッジセクション */
.form-label-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: nowrap;
}

.required-badge {
	margin-top: 0;
	white-space: nowrap;
}

/* イベント登録ページ 開催日インラインカレンダーおよび選択ピル表示セクション */
.inline-calendar {
	margin-top: 0.5rem;
	width: 100%;
	max-width: 330px;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	background-color: #ffffff;
	padding: 0.75rem;
	user-select: none;
}

.calendar-header {
	margin-top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.calendar-title {
	margin-top: 0;
	font-weight: 600;
	font-size: 1rem;
	color: #212529;
}

.calendar-btn {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #ced4da;
	background-color: #f8f9fa;
	border-radius: 0.25rem;
	cursor: pointer;
	color: #495057;
	line-height: 1;
}

.calendar-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.calendar-grid {
	margin-top: 0.5rem;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
}

.calendar-weekday {
	margin-top: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: #6c757d;
	padding: 0.25rem 0;
}

.calendar-weekday.sun {
	color: #dc3545;
}

.calendar-weekday.sat {
	color: #0d6efd;
}

.calendar-day {
	margin-top: 0;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	border-radius: 0.25rem;
	cursor: pointer;
	color: #212529;
}

.calendar-day:hover:not(.disabled):not(.selected) {
	background-color: #e9ecef;
}

.calendar-day.sun {
	color: #dc3545;
}

.calendar-day.sat {
	color: #0d6efd;
}

.calendar-day.selected {
	background-color: #0d6efd;
	color: #ffffff;
	font-weight: 600;
}

.calendar-day.disabled {
	color: #ced4da;
	cursor: not-allowed;
}

.calendar-day.empty {
	cursor: default;
}

#event-date-pill-container {
	margin-top: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.event-date-pill {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f1f3f5;
	color: #212529;
	border: 1px solid #ced4da;
	border-radius: 50rem;
	padding: 0.35rem 0.6rem 0.35rem 0.75rem;
	font-size: 0.85rem;
	font-family: monospace;
	line-height: 1;
	box-sizing: border-box;
}

.event-date-pill-remove {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.35rem;
	background: none;
	border: none;
	padding: 0;
	color: #6c757d;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.event-date-pill-remove:hover {
	color: #dc3545;
}

@media (max-width: 575.98px) {
	#event-date-pill-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.375rem;
	}

	.event-date-pill {
		width: 100%;
		padding: 0.35rem 0.4rem 0.35rem 0.5rem;
		font-size: 0.75rem;
	}

	.event-date-pill-remove {
		margin-left: 0.2rem;
		font-size: 1rem;
	}
}

/* イベント登録ページ ラベル内不要改行無効化 */
@media (max-width: 767.98px) {
	.form-label-inner br {
		display: none;
	}
}


/* 登録フォーム エラー表示および確認画面セクション */
.wpcf7-response-output {
  display: none;
}

.wpcf7-response-output.is-visible {
  display: block !important;
  margin-top: 1.5rem !important;
  padding: 1rem !important;
  border-radius: 0.375rem !important;
  font-weight: 600;
}

.custom-error-banner {
  margin-top: 0.5rem;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
}

.has-custom-error {
	background-color: #fff8f8;
	border-left: 4px solid #dc3545;
	padding-left: 0.5rem;
}

.confirm-wrap {
	margin-top: 1rem;
	background-color: #ffffff;
	border: 1px solid #dee2e6;
	padding: 1.5rem;
}

.confirm-header {
	margin-top: 0;
	border-bottom: 2px solid #212529;
	padding-bottom: 0.75rem;
}

.confirm-title {
	margin-top: 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: #212529;
}

.confirm-desc {
	margin-top: 0.5rem;
	color: #6c757d;
	font-size: 0.95rem;
}

.confirm-table {
	margin-top: 1.5rem;
	width: 100%;
}

.confirm-table th {
	margin-top: 0;
	width: 30%;
	background-color: #f8f9fa;
	color: #495057;
	font-weight: 600;
	vertical-align: top;
	padding: 0.75rem;
}

.confirm-table td {
	margin-top: 0;
	color: #212529;
	white-space: pre-wrap;
	word-break: break-word;
	padding: 0.75rem;
}

.confirm-actions {
	margin-top: 2rem;
	display: flex;
	gap: 1rem;
	justify-content: center;
}

.confirm-back-btn {
	margin-top: 0;
	min-width: 160px;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
}

.confirm-submit-btn {
	margin-top: 0;
	min-width: 200px;
}

/* イベント登録ページ ファイルクリアボタンセクション */
.file-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.file-field:first-child {
  margin-top: 0;
}

.file-field p {
  margin: 0;
  flex: 1;
}

.file-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.file-field input[type="file"] {
  width: 100%;
}

.file-clear-btn {
  margin-top: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.file-clear-btn:hover {
  color: #dc3545;
}

@media (max-width: 767.98px) {
  .confirm-table,
  .confirm-table tbody,
  .confirm-table tr,
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  .confirm-table tr {
    border: 1px solid #dee2e6;
    overflow: hidden;
  }

  .confirm-table tr:first-child {
    margin-top: 0;
  }

  .confirm-table th {
    width: 100%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
  }

  .confirm-table td {
    width: 100%;
    border-top: none;
    padding: 0.75rem;
  }

  .confirm-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .confirm-back-btn,
  .confirm-submit-btn {
    width: 100%;
  }
}


/* 送信中全画面ローディングオーバーレイ */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

#loading-overlay .loading-spinner {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1;
}

#loading-overlay .loading-spinner i,
#loading-overlay .loading-spinner svg {
  display: inline-block;
  animation: loading-spin 1.2s linear infinite;
}

@keyframes loading-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loading-overlay .loading-text-main {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

#loading-overlay .loading-text-sub {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}


/* 送信完了メッセージ表示スタイル */
.dantai-form .alert-success {
  background-color: #e8f4fd;
  border-color: #b8daf8;
  color: #212529;
}

.dantai-form .alert-success h4 {
  color: #212529;
}




/* =====================================
   プライバシーポリシー アコーディオン
===================================== */

.privacy-area {
  max-width: 900px;
  margin: 30px auto;
}

/* 外枠 */
.privacy-area .accordion-item {
  border: 1px solid #c5dfef !important;
  border-radius: 8px !important;
  overflow: hidden;
}

/* 見出しの余白をリセット */
.privacy-area .accordion-header {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5;
}





/* 本文 */
.privacy-text {
  max-height: 350px;
  overflow-y: auto;
  padding: 25px;
  font-size: 14px;
  line-height: 1.9;
  background: #fff;
}

.privacy-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.privacy-text h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 25px 0 10px;
  color: #164b78;
}

.privacy-text p {
  margin-bottom: 15px;
}

.privacy-text ol {
  padding-left: 1.8em;
  list-style-type: decimal;
}

.privacy-text ol li {
  display: list-item;
  margin-bottom: 8px;
}

/* 同意チェック */
.privacy-agree {
  text-align: center !important;
}

.privacy-agree .wpcf7-list-item {
  margin: 0;
}

.privacy-agree label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.privacy-agree input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #006bd6;
  cursor: pointer;
}

/* 送信ボタン */
input.privacy-submit {
  display: inline-block;
  width: 100%;
  max-width: 350px;
  padding: 16px 30px;
  border: none;
  border-radius: 50px;
  background: #006bd6;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
}

input.privacy-submit:disabled {
  background: #b8bec5;
  color: #fff;
  opacity: 1;
  cursor: not-allowed;
}

input.privacy-submit:not(:disabled):hover {
  background: #004e9e;
}

@media (max-width: 767px) {
  .privacy-text {
    max-height: 300px;
    padding: 18px;
    font-size: 13px;
  }

  .privacy-area .accordion-button {
    font-size: 14px;
    padding: 15px;
  }

  .privacy-agree {
    text-align: left;
  }
}



/* ===================================
   アコーディオン見出し中央揃え
=================================== */

.privacy-area .accordion-button {
  display: block !important;
  position: relative !important;

  width: 100% !important;
  padding: 18px 50px !important;

  text-align: center !important;

  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", Meiryo, sans-serif !important;
  font-size: 100% !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

/* 矢印は右端に固定 */
.privacy-area .accordion-button::after {
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;

  margin: 0 !important;
  transform: translateY(-50%) !important;
}

/* 開いたときの矢印 */
.privacy-area .accordion-button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(-180deg) !important;
}

/* スマートフォン */
@media (max-width: 767px) {
  .privacy-area .accordion-button {
    padding: 15px 45px !important;
  }

  .privacy-area .accordion-button::after {
    right: 15px !important;
  }
}


/* 確認ボタン */
.dantai-form .privacy-confirm {
  display: inline-block;
  min-width: 260px;
  padding: 15px 40px;
  border: none;
  border-radius: 6px;
  background: #0371c4;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

/* 有効時 */
.dantai-form .privacy-confirm:not(:disabled):hover {
  background: #005a9e;
}

/* 無効時 */
.dantai-form .privacy-confirm:disabled {
  background: #ccc !important;
  color: #777 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}

/* スマートフォン */
@media (max-width: 767px) {
  .dantai-form .privacy-confirm {
    width: 100%;
    min-width: 0;
  }
}


/* ===================================
［開催場所の市町村］および［活動地域（市町村）］
=================================== */


/* 全体 */
.municipality-list {
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
}

/* グループ */
.municipality-group {
  margin-bottom: 25px;
}

.municipality-group:last-child {
  margin-bottom: 0;
}

/* 五十音見出し */
.municipality-group h4 {
  font-size: 17px;
  font-weight: 700;
  color: #006bd6;
  background: #eef6ff;
  border-left: 5px solid #006bd6;
  padding: 10px 15px;
  margin-bottom: 15px;
}

/* チェックボックス一覧 */
.municipality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 15px;
}

/* チェックボックス */
.municipality-grid .wpcf7-list-item {
  margin: 0;
}

.municipality-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
}

.municipality-grid input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #006bd6;
}

/* タブレット */
@media (max-width: 991px) {
  .municipality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .municipality-list {
    padding: 15px;
  }

  .municipality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .municipality-grid label {
    font-size: 14px;
  }
}




/* ==========================================================================
   掲載希望の方へ
   ========================================================================== */

.listing-contact-form {
  max-width: 1000px;
  margin: 0 auto;
}

.listing-contact-form p {
	line-height: 120% !important;
	margin: 5px 0px;
	padding: 0px;
}

.listing-contact-form .form-row-custom {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border-bottom: 1px solid #ddd;
  padding: 22px 0;
  gap: 20px;
}

.listing-contact-form .form-label-inner label {
  font-weight: 600;
  display: block;
}

.listing-contact-form .required-badge,
.listing-contact-form .optional-badge {
  display: inline-block;
  padding: 3px 8px;
  margin-left: 8px;
  font-size: 12px;
  border-radius: 3px;
}

.listing-contact-form .required-badge {
  background: #c62828;
  color: #fff;
}

.listing-contact-form .optional-badge {
  background: #eee;
  color: #555;
}

.listing-contact-form .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 5px;
}

.listing-contact-form .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listing-contact-form .wpcf7-list-item {
  margin: 0;
}

.listing-contact-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  accent-color: #0371c4;
}

.listing-contact-form .privacy-submit,
.listing-contact-form .listing-confirm-btn,
.listing-contact-form .listing-send-btn {
  background: #0371c4;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 15px 35px;
  font-weight: 600;
}

.listing-contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .listing-contact-form .form-row-custom {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }
}


/* ==========================================
   掲載希望フォーム 項目名・必須バッジ調整
========================================== */

/* 項目名と入力ボックスの上端を揃える */
.listing-contact-form .form-row-custom {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start !important;
    gap: 20px;
    padding: 22px 0;
}

/* 項目名エリア */
.listing-contact-form .form-label-inner {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start;
}

/* 項目名 */
.listing-contact-form .form-label-inner label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

/* 必須バッジを項目名の下へ */
.listing-contact-form .required-badge {
    display: table !important;
    width: auto;
    margin: 8px 0 0 !important;
    padding: 4px 10px;
    background: #c62828;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    border-radius: 3px;
}

/* 任意バッジは非表示 */
.listing-contact-form .optional-badge {
    display: none !important;
}

/* 入力エリアも上端に揃える */
.listing-contact-form .form-input-area {
    align-self: start;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}

/* 入力ボックス */
.listing-contact-form .form-input-area .form-control {
    display: block;
    width: 100%;
    margin: 0 !important;
}

/* スマートフォン */
@media (max-width: 767.98px) {
    .listing-contact-form .form-row-custom {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 0;
    }
}

/* 項目名エリアと入力ボックスを上下中央揃え */
.listing-contact-form .form-row-custom {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center !important;
    gap: 20px;
}

/* 項目名エリア */
.listing-contact-form .form-label-inner {
    align-self: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 入力ボックスエリア */
.listing-contact-form .form-input-area {
    align-self: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 必須バッジは項目名の下 */
.listing-contact-form .required-badge {
    display: table !important;
    margin: 8px 0 0 !important;
}

/* スマートフォンは縦並び */
@media (max-width: 767.98px) {
    .listing-contact-form .form-row-custom {
        grid-template-columns: 1fr;
        align-items: stretch !important;
        gap: 12px;
    }
}


.contact-required-tip {
  display: block;
  color: #dc3232;
  font-size: 0.9em;
  margin-top: 5px;
}


.wpcf7-turnstile { text-align: center; }
/* コピーライト
==================================================== */
#copyright {
	font-size:13px;
	padding-bottom:10px;
}




/* ==========================================
   掲載希望フォーム 確認・完了画面
========================================== */

.listing-confirm-panel {
  max-width: 960px;
  margin: 40px auto 60px;
}

.listing-confirm-panel .confirm-wrap {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

.listing-confirm-panel .confirm-title {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.listing-confirm-panel .confirm-desc {
  text-align: center;
  margin-bottom: 30px;
}

.listing-confirm-panel .confirm-table {
  width: 100%;
}

.listing-confirm-panel .confirm-table th {
  width: 32%;
  background: #f5f8fb;
  font-weight: bold;
}

.listing-confirm-panel .confirm-table td {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.listing-confirm-panel .confirm-table th,
.listing-confirm-panel .confirm-table td {
  padding: 15px;
  vertical-align: middle;
}

.listing-confirm-btn,
.listing-send-btn {
  display: inline-block;
  padding: 15px 35px;
  background: #0371c4;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.listing-confirm-btn:hover,
.listing-send-btn:hover {
  background: #005a9e;
  color: #fff;
}

.listing-confirm-btn:disabled,
.listing-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.listing-confirm-panel .confirm-actions {
  margin-top: 30px;
}

.listing-confirm-panel .confirm-back-btn {
  padding: 15px 35px;
}

.listing-confirm-panel .alert-success {
  border-radius: 8px;
  padding: 40px 20px !important;
}

.listing-confirm-panel .alert-success h3 {
  font-size: 1.6rem;
  font-weight: bold;
}

@media (max-width: 767px) {
  .listing-confirm-panel .confirm-wrap {
    padding: 15px;
  }

  .listing-confirm-panel .confirm-table th,
  .listing-confirm-panel .confirm-table td {
    display: block;
    width: 100%;
  }

  .listing-confirm-panel .confirm-table th {
    padding: 12px;
  }

  .listing-confirm-panel .confirm-table td {
    padding: 12px;
  }
}

/* 連絡先入力チェック：3フォーム共通 */
.dantai-form .contact-input-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220,53,69,.12);
}
.dantai-form .contact-validation-tip {
  display: block;
  margin-top: 6px;
  color: #dc3545 !important;
  font-size: .875rem;
  line-height: 1.6;
}


/* トップへ戻る
==================================================== */
a.page-top {
	position:fixed;
	bottom:60px;
	right:10px;
	opacity:0.5;
	color:#0064f2;
	display:block;
}
a.page-top:hover {
	opacity:0.7;
}

/* メディアクエリ
==================================================== */
// X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) {}

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) {}

// X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {}

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) {}


// X-Small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {}

// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) {}

// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) {}

// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) {}

// X-Large devices (large desktops, less than 1400px)
@media (max-width: 1399.98px) {}


