@charset "utf-8";
/* ==========================================================
   ショートコース紹介サイト 共通デザイン（PC・スマホ対応）
   既存CSSの後に読み込み、見た目を上書きします。
   ========================================================== */

:root {
	--green-900: #0d3b24;
	--green-700: #146c3c;
	--green-600: #1a8a4c;
	--green-100: #e6f4ea;
	--green-50: #f3faf5;
	--orange: #f07c1e;
	--orange-dark: #d8620a;
	--ink: #1f2a24;
	--ink-sub: #5b6b62;
	--line: #dbe5de;
	--bg: #eef3ef;
	--card: #ffffff;
	--red: #d93025;
	--radius: 12px;
	--shadow: 0 4px 18px rgba(13, 59, 36, .08);
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

html body {
	margin: 0;
	padding: 0;
	width: auto;
	max-width: none;
	min-width: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, "Yu Gothic", sans-serif;
	font-size: 16px;
	line-height: 1.75;
	text-align: center;
	overflow-wrap: anywhere;
}

/* ---------- ページ全体の枠 ---------- */
html body .all {
	width: auto;
	max-width: 960px;
	margin: 0 auto;
	background: var(--card);
	box-shadow: var(--shadow);
	min-height: 100vh;
	overflow-x: clip;
}

/* ---------- ヘッダー（サイト名） ---------- */
html body .header {
	position: sticky;
	top: 0;
	z-index: 50;
}
html body .header .midashi-sp0 {
	margin: 0;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--green-900), var(--green-700));
	font-size: clamp(16px, 2.4vw, 20px);
	line-height: 1.4;
	letter-spacing: .04em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
html body .header .midashi-sp0 a {
	color: #fff !important;
	text-decoration: none;
}
html body .header .midashi-sp0 a br { display: none; }

/* 一覧から飛んだ時、固定ヘッダーに隠れないように */
html body a[name="A"] { display: block; scroll-margin-top: 64px; }

/* ---------- 画像 ---------- */
html body img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
html body .all > img:first-of-type {
	display: block;
	width: 100% !important;
	height: auto;
}

/* ---------- 見出し：オレンジ帯 ---------- */
html body .midashi-sp {
	margin: 0;
	padding: 16px 20px;
	background: linear-gradient(135deg, var(--orange), var(--orange-dark));
	color: #fff;
	font-size: clamp(18px, 3vw, 24px);
	font-weight: bold;
	line-height: 1.45;
	letter-spacing: .03em;
	text-align: center;
	background-image: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

/* コース詳細のコース名見出し */
html body #contents > .midashi-sp {
	margin: 0 0 8px;
	padding: 20px 20px 18px;
	background: var(--green-50);
	background-image: none;
	color: var(--green-900);
	border-top: 4px solid var(--green-600);
	border-bottom: 1px solid var(--line);
	font-size: clamp(22px, 4vw, 30px);
}

/* 小見出し（■コース概要 など） */
html body .midashi-sp1 {
	margin: 36px 0 14px;
	padding: 0 0 8px 14px;
	color: var(--green-900);
	font-size: clamp(18px, 2.6vw, 21px);
	font-weight: bold;
	line-height: 1.4;
	text-align: left;
	border-left: 5px solid var(--green-600);
	border-bottom: 2px solid var(--green-100);
}

/* ---------- 本文エリア ---------- */
html body #contents {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0 24px 24px;
	font-size: 16px;
	line-height: 1.8;
	text-align: left;
	color: var(--ink);
}
html body #contents strong {
	display: inline-block;
	margin-top: 8px;
	color: var(--green-900);
}
html body #contents p:empty,
html body .all > p:empty { display: none; }

/* ---------- テーブル共通 ---------- */
html body table {
	border-collapse: collapse;
	border: 0;
	max-width: 100%;
}
html body td,
html body th {
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: 15px;
}

/* ---------- コース一覧（名前・住所・電話） ---------- */
html body table[bordercolor="#0000FF"] {
	width: calc(100% - 32px);
	margin: 16px auto 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
html body table[bordercolor="#0000FF"] td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: #fff;
	text-align: left;
	vertical-align: middle;
	line-height: 1.5;
	height: auto;
	width: auto;
}
html body table[bordercolor="#0000FF"] tr:last-child td { border-bottom: 0; }
html body table[bordercolor="#0000FF"] tr:hover td { background: var(--green-50); }
html body table[bordercolor="#0000FF"] td:first-child {
	width: 40%;
	border-left: 4px solid var(--green-600);
}
html body table[bordercolor="#0000FF"] td:first-child div { text-align: left !important; }
html body table[bordercolor="#0000FF"] .style28,
html body table[bordercolor="#0000FF"] .style28 a {
	font-size: 16px;
	font-weight: bold;
	color: var(--green-700);
	text-decoration: none;
}
html body table[bordercolor="#0000FF"] .style28 a:hover { text-decoration: underline; }
html body table[bordercolor="#0000FF"] .style22 {
	color: var(--ink-sub);
	font-size: 14px;
}
html body table[bordercolor="#0000FF"] a[href^="tel:"] {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--green-600);
	border-radius: 999px;
	color: var(--green-700);
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
}
html body table[bordercolor="#0000FF"] a[href^="tel:"]::before { content: "\260E\FE0E  "; }
html body table[bordercolor="#0000FF"] a[href^="tel:"]:hover {
	background: var(--green-600);
	color: #fff;
}
html body table[bordercolor="#0000FF"] td:last-child { text-align: right; width: 1%; }
html body table[bordercolor="#0000FF"] a[href^="tel:"]:empty { display: none !important; }

/* 閉鎖したコース（電話番号の代わりに表示） */
html body .sc-closed {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #eceff1;
	color: #6b7378;
	font-size: 13px;
	font-weight: bold;
	white-space: nowrap;
}
html body table[bordercolor="#0000FF"] tr:has(.sc-closed) td { background: #f7f8f8; }
html body table[bordercolor="#0000FF"] tr:has(.sc-closed) td:first-child { border-left-color: #b7bfc4; }
html body table[bordercolor="#0000FF"] tr:has(.sc-closed) .style28 a { color: #6b7378; }

/* 一覧の見出し行（コース名称／住所／電話番号） */
html body table[bordercolor="#0000FF"] tr:has(> td.style22:first-child) td {
	background: var(--green-700);
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	text-align: left;
}
html body table[bordercolor="#0000FF"] tr:has(> td.style22:first-child) td:first-child { border-left-color: var(--green-700); }

html body .all > br { display: none; }

/* 閉鎖表示 */
html body .font-red,
html body .font-red strong,
html body strong.font-red {
	display: inline-block;
	margin-top: 4px;
	padding: 1px 8px;
	border-radius: 4px;
	background: #fdecea;
	color: var(--red);
	font-size: 12px;
	font-weight: bold;
}
html body .font-red strong { padding: 0; margin: 0; background: none; }

/* ---------- コース概要（住所・営業時間など） ---------- */
html body #contents table[cellpadding="10"] {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
html body #contents table[cellpadding="10"] td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: #fff;
	font-size: 15px;
	line-height: 1.7;
	vertical-align: top;
	text-align: left;
}
html body #contents table[cellpadding="10"] tr:last-child td { border-bottom: 0; }
html body #contents table[cellpadding="10"] td:first-child {
	width: 26%;
	background: var(--green-100);
	color: var(--green-900);
	font-weight: bold;
	white-space: nowrap;
}

/* ---------- ホール距離表 ---------- */
html body #contents table[cellspacing="1"],
html body #contents table[cellspacing="1"] > tbody,
html body #contents table[cellspacing="1"] > tbody > tr,
html body #contents table[cellspacing="1"] > tbody > tr > td {
	display: block;
	width: 100%;
	border: 0;
	padding: 0;
	background: none;
}
html body #contents table[cellspacing="1"] { margin: 6px 0 18px; }

html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]),
html body #contents table[style*="text-align:center"] {
	width: 100%;
	margin: 6px 0 18px;
	border: 1px solid var(--line);
	border-radius: 8px;
}
html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]) td,
html body #contents table[style*="text-align:center"] td {
	min-width: 38px;
	width: auto;
	padding: 8px 6px;
	border: 1px solid var(--line);
	background: #fff;
	text-align: center;
	white-space: nowrap;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}
html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]) tr:first-child td,
html body #contents table[style*="text-align:center"] tr:first-child td {
	background: var(--green-700);
	color: #fff;
	font-weight: bold;
}
html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]) tr:nth-child(2) td,
html body #contents table[style*="text-align:center"] tr:nth-child(2) td {
	background: var(--green-100);
	color: var(--green-900);
	font-weight: bold;
}
html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]) td:first-child,
html body #contents table[style*="text-align:center"] td:first-child {
	min-width: 60px;
	font-weight: bold;
}
html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]) td:last-child,
html body #contents table[style*="text-align:center"] td:last-child {
	min-width: 56px;
	font-weight: bold;
}
html body #contents td div { text-align: inherit; }

/* ---------- 動画・地図 ---------- */
html body iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 8px 0 20px;
	border: 0;
	border-radius: 10px;
	background: #e9eee9;
}
html body iframe[src*="youtube"] {
	height: auto;
	aspect-ratio: 16 / 9;
}
html body iframe[src*="google.com/maps"] { height: 420px; }

html body #contents img {
	display: block;
	margin: 12px auto;
	border-radius: 10px;
}
/* 表の中の予約バナー */
html body #contents td img {
	width: auto;
	max-width: min(100%, 320px);
	margin: 4px 0;
}

/* ---------- バナー・フッター ---------- */
html body .all > p {
	margin: 16px;
	text-align: center;
}
html body .all > p img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	border-radius: 6px;
}
html body .all > .midashi-sp0 {
	margin: 24px 0 0;
	padding: 20px 16px;
	background: var(--green-900);
	color: rgba(255, 255, 255, .85);
	font-size: 12px;
	font-weight: normal;
	line-height: 1.7;
	letter-spacing: .06em;
}

/* ---------- スクールへの誘導 ---------- */
html body .sc-cta {
	display: block;
	margin: 28px 0;
	padding: 22px 22px 20px;
	border: 2px solid var(--orange);
	border-radius: var(--radius);
	background: #fff8f1;
	text-align: left;
	color: var(--ink);
	line-height: 1.7;
}
html body .sc-cta p { margin: 0; }
html body .sc-cta__lead {
	display: inline-block;
	margin-bottom: 6px !important;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--orange);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .04em;
}
html body .sc-cta__title {
	color: var(--green-900);
	font-size: clamp(18px, 2.6vw, 21px);
	font-weight: bold;
	line-height: 1.45;
}
html body .sc-cta__text {
	margin-top: 8px !important;
	font-size: 15px;
}
html body .sc-cta b { color: var(--orange-dark); }
html body .sc-cta__points {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}
html body .sc-cta__points li {
	position: relative;
	padding: 3px 0 3px 26px;
}
html body .sc-cta__points li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .62em;
	width: 12px;
	height: 7px;
	border-left: 3px solid var(--green-600);
	border-bottom: 3px solid var(--green-600);
	transform: rotate(-45deg);
}
html body .sc-cta__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}
html body .sc-cta .sc-cta__btn {
	flex: 1 1 220px;
	display: block;
	padding: 13px 16px;
	border: 2px solid var(--orange);
	border-radius: 999px;
	background: var(--orange);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 3px 0 var(--orange-dark);
	transition: transform .1s, box-shadow .1s, background .15s;
}
html body .sc-cta .sc-cta__btn:hover {
	background: var(--orange-dark);
	border-color: var(--orange-dark);
	color: #fff;
}
html body .sc-cta .sc-cta__btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-dark); }
html body .sc-cta .sc-cta__btn--sub {
	background: #fff;
	color: var(--orange-dark);
	box-shadow: none;
}
html body .sc-cta .sc-cta__btn--sub:hover { background: #fff1e4; color: var(--orange-dark); }
html body .all > .sc-cta--footer { margin: 28px 16px; }

/* スマホ下部の固定帯（PCでは非表示） */
html body .sc-ctabar { display: none; }

html body a { color: var(--green-700); }
html body a:hover { color: var(--orange-dark); }

/* ==========================================================
   スマホ
   ========================================================== */
@media (max-width: 640px) {
	html body .all { box-shadow: none; }

	html body .header .midashi-sp0 { padding: 12px; font-size: 16px; }

	html body .midashi-sp { padding: 14px 16px; }
	html body #contents > .midashi-sp { padding: 16px; }

	html body #contents { padding: 0 16px 16px; }
	html body .midashi-sp1 { margin-top: 28px; }

	/* 一覧をカード表示に */
	html body table[bordercolor="#0000FF"],
	html body table[bordercolor="#0000FF"] > tbody,
	html body table[bordercolor="#0000FF"] tr,
	html body table[bordercolor="#0000FF"] td {
		display: block;
		width: auto !important;
	}
	html body table[bordercolor="#0000FF"] {
		width: auto;
		margin: 12px;
		border: 0;
		box-shadow: none;
		background: none;
		overflow: visible;
	}
	html body table[bordercolor="#0000FF"] tr {
		margin-bottom: 10px;
		padding: 12px 14px;
		border: 1px solid var(--line);
		border-left: 4px solid var(--green-600);
		border-radius: 10px;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
	}
	html body table[bordercolor="#0000FF"] tr:hover td { background: none; }
	html body table[bordercolor="#0000FF"] tr:has(> td.style22:first-child) { display: none; }
	html body table[bordercolor="#0000FF"] tr:has(.sc-closed) { background: #f7f8f8; border-left-color: #b7bfc4; }
	html body table[bordercolor="#0000FF"] tr:has(.sc-closed) td { background: none; }
	html body table[bordercolor="#0000FF"] .sc-closed { display: block; text-align: center; }
	html body table[bordercolor="#0000FF"] td,
	html body table[bordercolor="#0000FF"] td:first-child,
	html body table[bordercolor="#0000FF"] td:last-child {
		padding: 0;
		border: 0;
		background: none;
		text-align: left;
	}
	html body table[bordercolor="#0000FF"] td:first-child { margin-bottom: 4px; }
	html body table[bordercolor="#0000FF"] td:last-child { margin-top: 8px; }
	html body table[bordercolor="#0000FF"] .style28,
	html body table[bordercolor="#0000FF"] .style28 a { font-size: 17px; }
	html body table[bordercolor="#0000FF"] a[href^="tel:"] {
		display: block;
		padding: 9px 12px;
		text-align: center;
		background: var(--green-600);
		color: #fff;
		font-size: 15px;
	}

	/* コース概要：見出しと内容を縦に */
	html body #contents table[cellpadding="10"],
	html body #contents table[cellpadding="10"] > tbody,
	html body #contents table[cellpadding="10"] tr,
	html body #contents table[cellpadding="10"] td {
		display: block;
		width: auto !important;
	}
	html body #contents table[cellpadding="10"] td:first-child {
		padding: 8px 14px;
		border-bottom: 0;
		font-size: 14px;
	}
	html body #contents table[cellpadding="10"] td { padding: 10px 14px 14px; }

	/* 距離表は横スクロール */
	html body #contents table[border="1"][cellspacing="0"]:not([cellpadding]),
	html body #contents table[style*="text-align:center"] {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	html body iframe[src*="google.com/maps"] { height: 300px; }

	html body .all > p { margin: 12px; }

	html body .sc-cta { padding: 18px 16px; }
	html body .all > .sc-cta--footer { margin: 24px 12px; }
	html body .sc-cta .sc-cta__btn { flex-basis: 100%; }

	html body .sc-ctabar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
	}
	html body .sc-ctabar a {
		display: block;
		padding: 8px 12px;
		border-radius: 999px;
		background: var(--orange);
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		line-height: 1.3;
		text-align: center;
		text-decoration: none;
	}
	html body .sc-ctabar small {
		display: block;
		font-size: 11px;
		font-weight: normal;
		opacity: .9;
	}
	html body { padding-bottom: 76px; }
}

@media print {
	html body { background: #fff; }
	html body .header { position: static; }
	html body iframe { display: none; }
}
