@charset "UTF-8";

.sitemap {
	position: relative;
}


/* スマホ閲覧時のハンバーガーメニュー */

#hanburger {
  display: none; /* チェックボックスを非表示 */
}

.menu_button { /* ボタンのスタイル */
  width: 50px; /* 幅 */
  height: 50px; /* 高さ */
  position: fixed;
  top: 0;
  right: 0;
  background: #009844; /* 背景色 */
  z-index: 10;
}

.menu_button::before { /* アイコンのスタイル */
  content: ""; /* アイコン「３本線」 */
  width: 25px;
  height: 25px;
  background: url("../img/common/icon_menu.svg") no-repeat 50% 50%;
  background-size: 100% auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#hanburger:checked + .menu_button::before { /* アイコンのスタイル（チェック済み） */
  background: url("../img/common/icon_menu2.svg") no-repeat 50% 50%;
  background-size: 100% auto;
}

.global_menu { /* メニュー全体のスタイル */
  visibility: hidden; /* メニューを非表示 */
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 30px;
  color: #333; /* 文字色 */
  background: #f1f1f1; /* 背景色 */
  overflow-y:  scroll;
  text-align: center;
}

#hanburger:checked ~ .global_menu { /* メニュー全体のスタイル（チェック済） */
  visibility: visible; /* メニューを表示 */
}

.global_menu a { /* 各項目のスタイル */
  display: block;
  width: 100%;
}

.global_menu a:hover { /* 各項目のスタイル（ホバー時） */
}

.menu:not(:last-child) {
  margin-bottom: 20px;
}

.menu > a { /* 親項目のスタイル */
  font-weight: bold;
  padding: 10px 20px;
  border-bottom: solid 2px #009844;
  font-size: 1.8rem;
}

.child_menu ul > li > a {
  padding: 10px 30px;
  border-bottom: solid 1px #ccc;
}

.page_top {
	display: none;
}



@media screen and (min-width: 768px) {

/* PC閲覧時のメガメニュー */

.menu_button {
	display: none; /* ハンバーガーメニューのボタンを非表示 */
}

.global_menu { /* メニュー全体のスタイル */
	position: relative;
	padding: 0;
	color: #fff; /* 文字色 */
	background-color: transparent; /* 背景色 */
	visibility: visible;
	overflow-y: visible;
	text-align: right;
}

.menu, .child_menu ul > li {
	display: inline-block;
}

.menu:not(:last-child) {
	margin-bottom: 0;
}
.menu:nth-child(7), .menu:nth-child(8) {
	display: none;
}

.menu > a { /* 親項目のスタイル */
	font-weight: normal;
	font-size: 1.6rem;
	line-height: 1;
	padding: 20px 30px;
	border: none;
}

.menu:hover > a {
	background-color: #f1f1f1;
}

.child_menu { /* 下層メニューのスタイル */
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	padding: 30px;
	background-color: #f1f1f1; /* 背景色 */
	visibility: hidden; /* 下層メニューを非表示 */
	opacity: 0; /* 不透明度を最小に */
	transition: 1s opacity; /* アニメーション設定 */
	text-align: left;
	display: flex;
    flex-wrap: wrap;
}

.menu:hover .child_menu { /* 下層メニューのスタイル（親項目ホバー時） */
	visibility: visible; /* 下層メニューを表示 */
	opacity: 1; /* 不透明度を最大に */
}

.page_top {
	display: block;
	width: 50%;
}
.page_top a {
	display: block;
	width: 100%;
	height: 200px;
	background-color: #666;
	text-align: center;
	line-height: 200px;
	color: #fff;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	transition-property: all;
	transition: 0.2s linear;
}
.page_top.no01 a { background-image: url("../img/common/g_menu01.jpg"); }
.page_top.no02 a { background-image: url("../img/common/g_menu02.jpg"); }
.page_top.no03 a { background-image: url("../img/common/g_menu03.jpg"); }
.page_top.no04 a { background-image: url("../img/common/g_menu04.jpg"); }
.page_top.no05 a { background-image: url("../img/common/g_menu05.jpg"); }
.page_top a:hover {
	background-image: none;
	background-color: #000;
}
.page_top a span {
	border: solid 1px #fff;
	font-size: 1.8rem;
	padding: 10px 15px;
	margin-right: 15px;
}
.page_top a span::after {
	content: '';
	width: 20px;
	height: 4px;
	background: url("../img/common/arrow02.svg") no-repeat;
	display: inline-block;
	margin-left: 20px;
	vertical-align: middle;
}

.child_menu ul {
	width: 50%;
	padding-left: 40px;
	overflow: hidden;
}
.child_menu ul > li > a {
	padding: 10px 0 10px 20px;
}
.child_menu ul li {
	display: block;
	width: 50%;
	float: left;
	position: relative;
	padding-right: 30px;
}
.child_menu ul li a::before {
	content: '';
	width: 5px;
	height: 5px;
	border: 0px;
	border-top: solid 2px #009844;
	border-right: solid 2px #009844;
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -4px;
}

.child_menu ul > li > a:hover {
	background: unset;
	color: #009844;
}

.child_menu ul li:first-child {
	display: none;
}


}

