@charset "UTF-8";

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



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

@media only screen and (max-width: 767.9px) {

#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: 20px;
  height: 20px;
  background: url("/assets/img/common/icon_menu.svg") no-repeat 0 0;
  background-size: 100% auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.page .menu_button::before { /* アイコンのスタイル */
  background: url("/assets/img/common/icon_menu_b.svg") no-repeat 0 0;
  background-size: 100% auto;
}
.menu_button::after {
    content: "MENU";
    display: block;
    position: absolute;
    width: 50px;
    height: 10px;
    left: 0;
    bottom: 0;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    color: #fff;
}
.page .menu_button::after {
    color: initial;
}

#hanburger:checked + .menu_button::before { /* アイコンのスタイル（チェック済み） */
  background: url("/assets/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: 70px 30px 30px 30px;
  color: #333; /* 文字色 */
  background: #fff; /* 背景色 */
  overflow-y:  scroll;
  text-align: left;
}

#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: 0 0 10px 20px;
  border-bottom: solid 1px #dadada;
  font-size: 1.5rem;
  color: initial;
  text-decoration: none;
  position: relative;
}
.menu > a::before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0px;
	border-top: solid 2px #b660b7;
	border-right: solid 2px #b660b7;
	transform: rotate(45deg);
    position: absolute;
    top: 10px;
    left: 0;
}

.child_menu ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}
.child_menu ul > li {
    width: 50%;
}
.child_menu ul > li > a {
  padding: 5px 0;
  color: initial;
  font-size: 90%;
}

.page_top {
	display: none;
}

}/* SPのみ */



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

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

.sitemap {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
}

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

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

.global_menu ul {
    display: flex;
    justify-content: flex-end;
}
.global_menu ul li {
    margin-right: 40px;
}

.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-size: 1.6rem;
	font-weight: normal;
	text-decoration: none;
	color: #fff;
	border: none;
	padding: 0 0 10px 0;
	position: relative;
}
.page .menu > a {
    color: #141414;
}
.menu > a::after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #b660b7;
	width: 0;
	height: 2px;
	transition: .5s all;
}
.menu > a:hover::after {
  width: 100%;
}


.child_menu { /* 下層メニューのスタイル */
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff; /* 背景色 */
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
	visibility: hidden; /* 下層メニューを非表示 */
	opacity: 0; /* 不透明度を最小に */
	transition: 1s opacity; /* アニメーション設定 */
    padding: 40px 0;
}
.child_menu_in {
    width: 90%;
    max-width: 1280px;
    margin: auto;
    text-align: left;
	display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

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

.child_menu a {
    text-decoration: none;
    color: #141414;
}

.page_top {
	display: block;
    width: 20%;
    border-right: solid 1px #dadada;
}
.page_top a {
}
.page_top a:hover {
	opacity: 0.5;
}
.page_top a span {
	font-size: 2rem;
	font-weight: bold;
	padding-right: 30px;
	position: relative;
}
.page_top a span::after {
	content: '';
	width: 10px;
	height: 10px;
	border: 0px;
	border-top: solid 2px #b660b7;
	border-right: solid 2px #b660b7;
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: -4px;
}

.page_con {
    flex: 1;
}
.page_con ul {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 15px 30px;
}
.page_con ul li {
	width: calc((100% - 60px) / 3);
	position: relative;
	margin: 0;
}
.page_con ul li.full {
    width: 100%;
}

.page_con ul > li > a {
	border: none;
	padding: 0 0 5px 0;
	display: block;
	border-bottom: solid 1px #dadada;
}
.page_con ul > li > a:hover {
	background: unset;
	border-color: #b660b7;
}

.page_con2 {
    width: 15%;
	display: flex;
	justify-content: flex-start;
}
.page_con2 ul {
	width: 100%;
	display: block;
}
.page_con2 ul li {
    display: block;
    margin: 0;
}
.page_con2 ul li a {
    display: block;
    border: solid 1px #ccc;
    padding: 8px 5px 8px 25px;
    background: #f1f1f1;
    line-height: 1.6;
    position: relative;
}
.page_con2 ul li.gomu a {
    padding: 15px 5px 15px 25px;
    background: #f1f1f1 url(/assets/img/common/img_gomulina.png) no-repeat right 10px top 50%;
    background-size: auto 80%;
}
.page_con2 ul li a::before {
	content: '';
	width: 15px;
	height: 2px;
	background: #b660b7;
	position: absolute;
	top: 49%;
	left: 0;
}
.page_con2 ul li a:hover {
    border-color: #b660b7;
}

.ex_link {
    display: inline-block;
    padding-right: 25px;
    background: url(/assets/img/common/icon_ex_link_b.svg) no-repeat right 0 top 50%;
    background-size: 16px auto;
}

}/* PCのみ */

