@charset "utf-8";

.head--sticky {
	position: sticky;
	top: 0;
	right: 20px;
}

header {
	background-color: #f9fafb;
	opacity: 0.9;
}

header > div {
	max-width: 680px;
	margin: 0 auto;
	padding: 10px;
	text-align: right;
}

.menu-btn > i {
	font-size: 36px;
	color: #555;
	display: inline-block;
	padding: 8px;
	cursor: pointer; /* マウスカーソルを指にする */
/*	border-radius: 50%;*/
}

.menu-btn > i:hover {
/*	background-color: #efefef; */
}

.nav-content {
	font-weight: bold;
	font-size: 18px;
	background-color: white;
	width: 80%;
	max-width: 350px;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 50;
	padding: 8px;
	overflow: auto;
	transform: translateX(100%);
	transition-duration: 300ms;
}

.nav-menu ul {
	list-style: none;
	text-align: left;
}

.nav-menu li > a {
	text-decoration: none;
	color: black;
	padding: 10px;
	display: block;
}

.nav-menu li > a:hover {
	background-color: #e2e3e5;
}

.nav-close {
	display: none;
	background-color: black;
	opacity: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 40;
	transition-duration: 300ms;
}

#menu-checkbox {
	display: none;
}

#menu-checkbox:checked ~ .nav-close {
	display: block;
	opacity: 0.5;
}

#menu-checkbox:checked ~ .nav-content {
	transform: translateX(0%);
}

.button_hm {
	color: #fff; /* 文字色 */
	font-size: 18px; /* 文字サイズ */
	line-height: 2; /* 行間 */
	font-weight: bold; /* 文字を太く */
	text-align: center; /* 文字位置 */
	display: inline-block;
	border-radius: 36px; /* 角丸 */
	text-decoration: none;
	cursor: pointer; /* カーソル */
	padding: 16px; /* 余白 */
	background: linear-gradient(-90deg, #2cca3b, #465d90); /* グラデーションの背景色 */
	margin-bottom: 10px;
}

.button_hm a:link {
	color: #fff;
}

.button_hm a:visited {
	color: #fff;
}

.button_hm_return {
	color: #fff; /* 文字色 */
	font-size: 18px; /* 文字サイズ */
	line-height: 2; /* 行間 */
	font-weight: bold; /* 文字を太く */
	text-align: center; /* 文字位置 */
	display: inline-block;
	border-radius: 36px; /* 角丸 */
	text-decoration: none;
	cursor: pointer; /* カーソル */
	padding: 16px; /* 余白 */
	background: linear-gradient(45deg, #2ca9e1 35%, #007bbb); /* グラデーションの背景色 */
	margin-bottom: 100px;
}

.button_hm:hover,
.button_hm_return:hover {
	opacity: 0.8; /* マウスを乗せた時に背景色が薄くなる */
}