h2,
h3 {
	font-weight: 700;
	line-height: 1.4;
	>.note {
		margin-left: 0.5em;
	}
}
h2 {
	font-size: 1.625rem;
	margin-bottom: 1.5em;
}
h3 {
	font-size: 1.125rem;
	margin: 2em 0 0.75em;
	line-height: 1.5;
	scroll-margin-top: calc(60px + 1.5em);
}
h4 {
	font-weight: 600;
	line-height: 1.5;
	margin: 1em 0 0.5em;
}
em {
	font-weight: 600;
	font-style: normal;
}
section { scroll-margin-top: calc(60px + 1.5em); }
main .inner img { border-radius: 1.25rem; }

/* ========== リスト ========== */
ol:not(.note) {
	counter-reset: li;
	>li {
		position: relative;
		padding-left: 1.75em;
		margin-bottom: .3125em;
		line-height: 1.6;
		&:last-child { margin-bottom: 0; }
		&::before {
			counter-increment: li;
			content: counter(li);
			position: absolute;
			left: 0;
			top: 0.3em;
			width: 1.7em;
			height: 1.7em;
			line-height: 1.7em;
			background-color: var(--golf);
			color: #fff;
			text-align: center;
			font-weight: bold;
			font-size: .75em;
			border-radius: 0.25em;
		}
	}
}
ul.disc,
ul.wp-block-list {
	margin-top: 1em;
	padding-left: 0;
	li {
		position: relative;
		padding-left: 1em;
		margin-bottom: .3125em;
		&::before {
			content: "";
			position: absolute;
			left: 0;
			top: .5em;
			background: var(--general);
			width: .5em;
			height: .5em;
			border-radius: 50%;
		}
	}
	&:last-child { margin-bottom: 0; }
}
ol>li>ul.disc { margin: 0.25em 0 1em; }

/* ========== 注釈 ========== */
.inner p.note {
	padding-left: 1rem;
	text-indent: -1rem;
}
table+.note {
	@media screen and (min-width: 769px) {
		margin: .75em 0 0 .75em;
	}
}
ul.note,
ol.note {
	padding-left: 0;
	li {
		position: relative;
		line-height: 1.4;
		margin-bottom: 0.3em;
		&:last-child {
			margin-bottom: 0;
		}
	}
}
ul.note li {
	padding-left: 1.25em;
	&::before {
		content: "※";
		position: absolute;
		left: 0;
	}
}
ol.note {
	counter-reset: note;
	li {
		counter-increment: note;
		padding-left: 2em;
		&::before {
			content: "※" counter(note);
			position: absolute;
			left: 0;
		}
	}
}

/* ========== 汎用装飾 ========== */
.highlight {
	margin: 0.2em 0 0.5em;
	line-height: 1.8;
	color: var(--sub-text);
	display: inline-block;
	background-color: var(--sub);
	padding: 0 0.5em;
	mix-blend-mode: multiply;
}
.pdf {
	text-align: right;
	text-decoration: underline;
	&::before {
		display: inline-block;
		content: "";
		vertical-align: middle;
		width: 1em;
		height: 1em;
		margin-right: 0.25em;
		background: url(../img/common/ico_pdf.svg) no-repeat center;
		background-size: contain;
	}
}
.blank::after {
	display: inline-block;
	content: "";
	width: 1em;
	height: 1em;
	margin: 0 0.25em;
	background: url(../img/common/ico_window.svg) no-repeat center;
	background-size: contain;
}

/* ===============================
階層名
=============================== */
.heading {
	height: 16.25rem;
	background-image: url(../img/second/info/info.jpg);
	background-position-x: center;
	display: flex;
	align-items: flex-end;
	.inner {
		height: calc(100% - 60px);
		display: flex;
		align-content: center;
		flex-wrap: wrap;
	}
	.title {
		color: #fff;
		font-family: var(--en);
		font-weight: 700;
		font-size: clamp(2.5rem, 1.607rem + 4.46vw, 3.75rem);
		margin-bottom: 1em;
		text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
		padding-left: 1.25rem;
		text-transform: uppercase;
		line-height: 1;
		>span {
			display: block;
			font-family: var(--jp);
			font-size: 6.51162vw;
			font-weight: 600;
			margin-top: 0.25em;
			padding-left: 0.2em;
		}
	}
	@media screen and (min-width: 769px) {
		margin-top: 60px;
		.title {
			max-width: 1100px;
			font-size: 3.75rem;
			>span { font-size: 2rem; }
		}
	}
}

/* ===============================
アーカイブ
=============================== */
.archive_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1em;
	li {
		position: relative;
		.news_card {
			margin-bottom: .5em;
		}
	}
	@media screen and (min-width: 769px) {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto;
		gap: 1.5em;
	}
}
.wp-pagenavi {
	margin: 2em auto 0;
	font-family: var(--en);
	display: flex;
	gap: 0.75em;
	justify-content: center;
	.current,
	.page {
		display: block;
		width: 3.43em;
		height: 3.43em;
		border: 1px solid var(--line);
		text-align: center;
		text-decoration: none;
		border-radius: 50%;
		font-weight: 500;
		line-height: 3.43em;
		box-sizing: border-box;
		transition: background 500ms ease, border 500ms ease, color 500ms ease;
	}
	.current,
	.page:hover {
		color: #fff;
		background-color: var(--text);
	}
}
.pages { display: none; }
.archive,
#pickup {
	main>div:has(.archive_list) {
		padding: 0 1.25rem;
		margin: 5rem 0;
		@media screen and (min-width: 769px) {
			padding: 0;
			margin: 7.5rem 0;
		}
	}
}

/*  下層メニュー  */
main:has(nav)>section:first-of-type {
	margin-top: 0;
}
main nav {
	margin: 2rem 0 5rem;
	padding: 0 1.25rem;
	.arrow_link {
		list-style: none;
		padding: 0;
		margin: 0;
		display: block;
		position: relative;
		li {
			display: none;
			width: 100%;
			&:first-child {
				display: block;
				@media screen and (max-width: 768px) {
					&:after { display: none; }
					a {
						color: #fff;
						font-weight: 600;
						&::after {
							position: absolute;
							top: 50%;
							right: 1.5em;
							transform: translateY(-50%);
							content: "";
							display: inline-block;
							width: 0;
							height: 0;
							border-style: solid;
							border-width: 5px 5px 0px 5px;
							border-color: #fff transparent transparent transparent;
						}
					}
				}
			}
		}
	}
	@media screen and (max-width: 768px) {
		.arrow_general li:first-child { background-color: var(--general); }
		.arrow_golf li:first-child { background-color: var(--golf); }
		.arrow_tennis li:first-child { background-color: var(--tennis); }
		.arrow_restaurant li:first-child { background-color: var(--restaurant); }
	}
	.arrow_general li:has(.current) { background-color: var(--general); }
	.arrow_golf li:has(.current) { background-color: var(--golf); }
	.arrow_tennis li:has(.current) { background-color: var(--tennis); }
	.arrow_restaurant li:has(.current) { background-color: var(--restaurant); }
	&.active li { display: block; }
	@media screen and (min-width: 769px) {
		padding: 0;
		margin: 2rem 0 7.5rem;
		.arrow_link {
			display: flex;
			flex-wrap: wrap;
			gap: 1em;
			&::after { content: none; }
			li {
				display: block;
				width: calc(100% / 4 - 0.75em);
				&:has(.current) {
					a { color: #fff; }
					&::after { border-color: transparent transparent transparent #fff; }
				}
			}
		}
	}
}
.modaal-container:has(.category_modal_list) { border-radius: .75rem; }
.modaal-content-container:has(.category_modal_list) {
	padding: 0em;
	ul li { font-size: 0.75rem; }
}
.modaal-outer-wrapper:last-child {
	ul {
		height: fit-content;
		a {
			padding: 1em;
			display: inline-block;
			color: var(--text);
			width: 100%;
			height: 100%;
			position: relative;
			text-decoration: none;
			&::after {
				position: absolute;
				top: 50%;
				right: 1em;
				transform: translateY(-50%);
				content: "";
				display: inline-block;
				width: 0;
				height: 0;
				border-style: solid;
				border-width: 5px 0px 5px 5px;
			}
		}
		li {
			border-bottom: 1px solid var(--line);
			&:last-child { border-bottom: none; }
		}
	}
	.arrow_general a::after { border-color: transparent transparent transparent var(--general); }
	.arrow_golf a::after { border-color: transparent transparent transparent var(--golf); }
	.arrow_tennis a::after { border-color: transparent transparent transparent var(--tennis); }
	.arrow_restaurant a::after { border-color: transparent transparent transparent var(--restaurant); }
}
.modaal-inner-wrapper { padding: 0 1.25rem; }

/* ===============================
フロー
=============================== */
.flowcard {
	padding: 1.5em;
	border-radius: 1.25em;
	background-color: var(--bg);
	text-align: center;
	@media screen and (min-width: 769px) { width: calc(100% / 2 - 0.5em); }
	h3, h4 {
		text-align: center;
		padding-bottom: 1rem;
		border-bottom: 1px solid var(--line);
		margin: 0 0 1rem;
		>span {
			font-size: 0.875rem;
			margin-left: 0.5em;
		}
	}
	ul, ol {
		li {
			background-color: #fff;
			border-radius: 0.5em;
			text-align: center;
			margin-bottom: calc(0.75em + 0.6rem);
			padding: 0.5em;
			position: relative;
			&:after {
				position: absolute;
				bottom: -1.5em;
				left: 50%;
				transform: translateX(-50%);
				margin-bottom: 0.5em;
				content: "";
				display: block;
				width: 0;
				height: 0;
				border-style: solid;
				border-width: 0.6rem 0.5rem 0px 0.5rem;
				border-color: var(--text) transparent transparent transparent;
			}
			&:last-child {
				margin-bottom: 0;
				&::after { display: none; }
			}
		}
	}
	p { margin-top: 0.5em; }
}
.flowcard.non_after {
	ul {
		li {
			margin-bottom: 0.75em;
			&:last-child { margin-bottom: 0; }
		}
		li:after { display: none }
	}
}
.two_column>.flowcard { width: 100%; }

/* ===============================
カラム
=============================== */
.two_column {
	h3 { margin: 0 0 1em; }
	>p,
	>div,
	>li {
		margin-bottom: 1.5em;
		&:last-child { margin-bottom: 0; }
	}
	@media screen and (min-width: 769px) {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5em;
		>p, >div { margin-bottom: 0; }
	}
}
.three_column {
	h3 { margin: 0 0 0.75em; }
	iframe { aspect-ratio: 16 / 9; }
	>p, >div { margin-bottom: 1.5em; }
	>li {
		margin-bottom: 1.75em;
		.triangle {
			margin-bottom: 0.5em;
			font-size: 1.125rem;
			font-weight: 600;
		}
		.arrow_link {
			margin-top: 0.75em;
			display: flex;
			gap: 0.5em;
		}
		.first { margin: 0; }
	}
	@media screen and (min-width: 769px) {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5em;
		li { margin-bottom: 0; }
		>p { width: calc(100% / 2 - 0.5em); }
		>p, >div { margin-bottom: 0; }
	}
}

/* ===============================
リードテキスト
=============================== */
div.inner:has(.visual) {
	h2 {
		margin-bottom: 1.5em;
	}
	.visual {
		margin: 1rem 0 0;
		padding: 0 0;
	}
}
.visual {
	margin: 5em 0;
	padding: 0 1.25rem;
	img { border-radius: 1.25rem;}
}
.visual .leadtext h2 {
	font-weight: 800;
	font-size: 1.375rem;
	margin: .5em 0;
	@media screen and (min-width: 768px) { margin: 0 0 .5em 0; }
}
@media screen and (min-width: 768px) {
	.visual {
	    max-width: 1100px;
	    margin: 7.5em auto;
	    display: grid;
	    gap: 40px;
	    grid-template-columns: 60% 1fr;
	    > p img {
	    	width: 100%;
	    	height: auto;
	    }
	}
}

/* ===============================
サービス
=============================== */
.service {
	>div {
		border-radius: 1.25rem;
		padding: 1.5em;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 1em;
		background-color: var(--bg);
		text-align: justify;
		h3 {
			text-align: center;
			margin-bottom: .5em;
			span { font-size: .875rem; }
		}
		>p {
			height: 6.25rem;
			>img {
				width: auto;
				height: 6.25rem;
				border-radius: 0;
			}
		}
		a { text-decoration: underline; }
	}
}

/* ===============================
イベント
=============================== */
.event {
	width: 100vw;
	time+p { font-weight: 600; }
	@media screen and (min-width: 768px) {
		padding-top: 1.5em;
		.splide__arrows { transform: translateY(-1em); }
		button {
			width: 3rem;
			height: 3rem;
		}
		.splide__arrow--prev>span { border-width: 0.35rem 0.65rem 0.35rem 0; }
		.splide__arrow--next>span { border-width: 0.35rem 0px 0.35rem 0.65rem; }
	}
}

/* ===============================
施設案内 - ショップ
=============================== */
.shop {
	h3 { color: var(--restaurant); }
	a {
		text-decoration: none;
		display: block;
		position: relative;
		div:has(img) {
			overflow: hidden;
			border-radius: 1.25rem;
			img {
				transition: transform .5s ease;
				transform: scale(1);
			}
		}
		.btn {
			position: absolute;
			right: .75em;
			bottom: .75em;
		}
		@media screen and (min-width: 769px) {
			&:hover {
				img { transform: scale(1.15); }
				.btn { background-color: var(--text); }
			}
		}
	}
}

/* ===============================
選択式テーブル
=============================== */
.select_wrap {
	position: relative;
	&::after {
		position: absolute;
		top: 50%;
		right: 1em;
		transform: translateY(-50%);
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 7px 7px 0px 7px;
		border-color: #fff transparent transparent transparent;
	}
}
select {
	text-align: center;
	text-align-last: center;
	padding: 1em;
	border-radius: 1.25rem 1.25rem 0 0;
	color: #fff;
	width: 100%;
	font-weight: 500;
	option {
		color: var(--text);
		background-color: #fff;
	}
}
.selectTable_wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	table {
		display: table;
		border-radius: 0 0 1.25rem 1.25rem;
		td {
			border-right: none;
			display: none;
		}
	}
	thead, .head {
		th { display: none; }
	}
	th, td {
		@media screen and (min-width: 769px) { display: table-cell; }
	}
	td[data-key] {
		display: none;
		&.show { display: table-cell; }
		@media screen and (min-width: 769px) { display: table-cell; }
	}
	.show th { display: table-cell; }
	@media screen and (min-width: 769px) {
		table {
			border-radius: 1.25em;
			td {
				border-right: 1px solid var(--line);
				&:last-child { border-right: none; }
			}
		}
		thead, .head {
			th { display: table-cell; }
		}
	}
}

/*  カレンダー */
.calendar {
	width: 100%;
	padding-bottom: 0.1em;
	table {
		margin-bottom: 0.1em;
		thead {
			th:first-child { background: #db7d7a; }
			th:last-child { background: #6a9cd1; }
		}
		td {
			font-weight: 600;
			padding: .75em;
			>p {
				font-size: clamp(0.5rem, 0.321rem + 0.89vw, 0.75rem);
				font-weight: normal;
				line-height: 1.4;
			}
		}
		.sat { background: rgba(0, 156, 213, 0.05); }
		.sun { background: rgba(227, 73, 68, 0.07); }
	}
	.splide__track { transition: height 0.3s ease; }
	.splide__slide { height: fit-content; }
	.splide__arrows {
		display: flex;
		justify-content: flex-end;
		gap: 0.5em;
		margin-top: -4.375rem;
		transform: translateY(-1rem);
		width: 100%;
		button {
			border: 1px solid var(--line);
			border-radius: 50%;
			width: 3rem;
			height: 3rem;
			display: flex;
			align-items: center;
			justify-content: center;
			>span {
				display: inline-block;
				width: 0;
				height: 0;
				border-style: solid;
			}
			&:hover { opacity: .7; }
		}
	}
	.splide__arrow--next>span {
		border-width: 0.35rem 0px 0.35rem 0.65rem;
		border-color: transparent transparent transparent var(--text);
	}
	.splide__arrow--prev>span {
		border-width: 0.35rem 0.65rem 0.35rem 0;
		border-color: transparent var(--text) transparent transparent;
	}
	h3 { margin-top: 0; }
	@media screen and (min-width: 769px) {
		.splide__slide { margin-right: 1.5em; }
	}
}

/* ===============================
ミニカード
=============================== */
.inner.minibox {
	background-color: var(--bg);
	padding: 2.5rem;
	border-radius: 1.75rem;
	>div {
		display: flex;
		gap: 1em;
		h3 { margin-top: 0; }
		>p {
			width: 80%;
			height: auto;
			img { border-radius: 1em; }
		}
	}
	@media screen and (min-width: 769px) {
		width: 650px;
		>div  >p { width: 6.25rem; }
	}
}

/* ===============================
コーチ紹介
=============================== */
.photo_card {
	>li {
		overflow: hidden;
		background-color: var(--bg);
		border-radius: 1.25em;
		margin-bottom: 1.5em;
		&:last-child { margin-bottom: 0; }
		p:first-child {
			height: fit-content;
			aspect-ratio: 3 / 2;
			overflow: hidden;
			img {
				width: 100%;
				aspect-ratio: 3 / 2;
				height: auto;
				object-fit: cover;
				object-position: center;
				margin: 0 auto 0.5em;
				transition: 0.5s;
				border-radius: 0;
			}
		}
		.qualification {
			margin-top: 1em;
			display: flex;
			gap: 1em;
			font-size: 0.625rem;
			@media screen and (min-width: 769px) {
				p {
					font-size: 0.625rem;
				}
			}
			>ul { margin: 0; }
			>p {
				width: 3.5rem;
				height: 1.35rem;
				color: #fff;
				background-color: var(--text);
				padding: 0.25em 0;
				border-radius: 2rem;
				text-align: center;
				font-weight: 600;
			}
		}
	}
	p+div:not(.qualification) {
		h3 {
			margin-top: 0;
			text-align: center;
		}
		padding: 1.25em;
	}
	@media screen and (min-width: 769px) {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto;
		gap: 1.5em;
		li {
			margin-bottom: 0;
			>p:last-child { margin-top: 0; }
		}
	}
}

/* ===============================
自動スクロールスライド
=============================== */
.gallery {
	.splide__track { transform-style: preserve-3d; }
	.splide__slide {
		will-change: transform;
		backface-visibility: hidden;
		transform: translateZ(0);
		contain: layout paint;
		img { image-rendering: auto; }
	}
}

/* PWAのご案内 */
.pwa .visual {
	.leadtext {
		.pwa_btn {
			margin-top: 1em;
			position: relative;
			span {
				font-size: 1.25rem;
				margin-right: 0.25rem;
				width: 18px;
				height: 23px;
				display: inline-block;
				position: absolute;
				top: 23%;
				left: 30px;
				img {
					border-radius: 0;
				}
			}
			input {
				padding: 15px 30px 15px 52px;
				border-radius: 2rem;
				background-color: #F8D376;
				color: #51412A;
				font-weight: bold;
			}
		}
		.ios p {
			img {
				display: inline-block;
				height: 1em;
				width: 1em;
				vertical-align: middle;
			}
			span {
				font-size: 87.5%;
			}
		}
	}
}

