/* ---------------------------------------------------
  表示切り替え（PC / SP）
--------------------------------------------------- */
.pc {
	display: block;
}

.sp {
	display: none;
}

.pc-only {
	display: inline-block;
}

@media screen and (max-width: 768px) {
	.pc {
		display: none;
	}

	.sp {
		display: block;
	}

	.pc-only {
		display: none;
	}
}

/* ---------------------------------------------------
  汎用リスト
--------------------------------------------------- */
ul.list li {
	margin-left: 1em;
	text-indent: -1em;
}

ul.list.en li {
	margin-left: 0.5em;
	text-indent: -0.5em;
}

/* 注記リスト（改良版） */
ul.note li {
	font-size: 1.3rem;
}

ul.note li::before {
	content: "※";
}

ul.note.en li::before {
	content: "*";
}

@media screen and (max-width: 768px) {
	ul.note li {
		font-size: 0.9rem;
	}
}

/* circle */
ul.circle li::before {
	content: "●";
}

/* ---------------------------------------------------
  電話リンク
--------------------------------------------------- */
.telephone {
	text-decoration: none;
	pointer-events: none;
}

@media screen and (max-width: 768px) {
	.telephone {
		pointer-events: all;
	}
}

/* ---------------------------------------------------
  ボタンリンク
--------------------------------------------------- */
.link-button {
	background-color: rgb(var(--gre));
	width: 23.6rem;
	height: 4.6rem;
	font-family: var(--en);
	font-size: 1.7rem;
	text-decoration: none;
	border-radius: 0.8rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.8rem;
	position: relative;
}

/* ---------------------------------------------------
  ページトップ
--------------------------------------------------- */
.pageTop a {
	background: rgba(var(--gre), 0.8);
	width: 6.4rem;
	height: 6.4rem;
	border-radius: 0.8rem;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: var(--pageTop-right);
	bottom: var(--pageTop-bottom);
	z-index: 10;
}

.pageTop a svg {
	fill: rgb(var(--wht));
	width: 1.6rem;
	height: auto;
}

/* ---------------------------------------------------
  bg-color
--------------------------------------------------- */
.bg-blu {
	background-color: rgb(var(--blu));
}

.bg-blu .link-button {
	color: rgb(var(--blu));
}

.bg-red {
	background-color: rgb(var(--red));
}

.bg-red .link-button {
	color: rgb(var(--red));
}

.bg-ora {
	background-color: rgb(var(--ora));
}

.bg-ora .link-button {
	color: rgb(var(--ora));
}

.bg-gra {
	background-color: rgb(var(--gra));
}

.bg-gra .link-button {
	color: rgb(var(--gra));
}

/* ---------------------------------------------------
  bg-fixed
--------------------------------------------------- */
.bg-fixed {
	position: relative;
}

.bg-fixed__media {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.bg-fixed__clip {
	height: 100%;
	overflow: hidden;
	position: relative;
	clip-path: inset(0 0 0 0);
}

.bg-fixed__clip picture {
	display: block;
}

.bg-fixed__clip img {
	width: 100vw;
	height: 100vh;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	object-fit: cover;
	pointer-events: none;
}

/* ---------------------------------------------------
	modal
--------------------------------------------------- */
.modal__trigger {
	cursor: pointer;
}

.modal__panel {
	background: rgb(var(--ora));
	padding: 8rem;
	width: 86rem;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	border-radius: 0.8rem;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1001;
	transform: translate(-50%, -50%);
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal__panel.is-open {
	opacity: 1;
	visibility: visible;
}

.modal__content {
	position: relative;
}

.modal__close {
	width: 4rem;
	height: 4rem;
	text-indent: -9999px;
	position: absolute;
	top: -5rem;
	right: -5rem;
	cursor: pointer;
}

.modal__close::before,
.modal__close::after {
	background-color: rgb(var(--gre));
	width: 100%;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	content: "";
}

.modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.is-modal-open {
	overflow: hidden;
}

.overlay.is-modal-overlay {
	background: rgba(var(--blk), 0.7);
	width: 100vw;
	height: 100vh;
	opacity: 0;
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay.is-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
	cursor: pointer;
}

@media screen and (max-width: 768px) {
	.modal__panel {
		padding: 5rem 0;
		width: 35rem;
		max-height: 95vh;
		overflow-y: auto;
		border-radius: 0;
	}

	.modal__close {
		width: 3rem;
		height: 3rem;
		top: -3rem;
		right: 2rem;
	}
}