
.anchor-link{
	scroll-margin-top: 80px;
}
.pointer {
	cursor: pointer;
}

/* モーダルスタイル */
.modal {
	display: none;
	position: fixed;
	z-index: 10;
	width: 100%;
	background: #80808091;
	height: 100%;
	top: 0;
	left: 0;
}

	.modal-content {
		background-color: #fff;
		padding: 30px;
		border-radius: 8px;
		max-width: 400px;
		width: 75%;
		text-align: center;
		position: fixed;
		z-index: 10;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.error-modal .modal-message {
		color: #FF0000;
		font-size: 14px;
		margin-bottom: 20px;
	}

	.success-modal .modal-message {
		color: #008000;
		font-size: 14px;
		margin-bottom: 20px;
	}

	.modal-close {
		background-color: #0072B0;
		color: white;
		border: none;
		padding: 10px 20px;
		border-radius: 4px;
		cursor: pointer;
		font-size: 16px;
	}

	.modal-close:hover {
		background-color: #005D8F;
	}

/* プライバシーポリシー・利用規約モーダルスタイル */
.policy-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

	.policy-modal-content {
	  background-color: #fefefe;
	  margin: 10% auto;
	  padding: 0;
	  border: 1px solid #888;
	  width: 80%;
	  max-width: 700px;
	  border-radius: 6px;
	  max-height: 70vh;
	  display: flex;
	  flex-direction: column;
	  overflow: hidden;
	}

	.policy-modal-header {
	  position: sticky;
	  top: 0;
	  background-color: #fefefe;
	  padding: 20px 20px 15px;
	  border-bottom: 1px solid #ddd;
	  z-index: 1;
	}

	.policy-modal-header h2 {
	  margin: 0;
	  font-family: "NotoSansJp-Bold", sans-serif;
	  color: #333;
	}

	.policy-modal-body {
	  padding: 15px 20px;
	  overflow-y: auto;
	  flex-grow: 1;
	}

	.policy-modal-body pre {
	  white-space: pre-wrap;
	  font-family: "NotoSansJp-Medium", sans-serif;
	  line-height: 1.5;
	  color: #333;
	  font-size: 14px;
	  margin: 0;
	}

	.policy-modal-close {
	  color: #aaa;
	  float: right;
	  font-size: 28px;
	  font-weight: bold;
	  cursor: pointer;
	  line-height: 1;
	  position: absolute;
	  right: 15px;
	  top: 10px;
	}

	.policy-modal-close:hover,
	.policy-modal-close:focus {
	  color: black;
	  text-decoration: none;
	  cursor: pointer;
	}