.Hmenu ul{
margin: 0; 
padding: 0; 
list-style: none;
}

.Hmenu li{ 
display: inline;
margin-right: 5px;
background-color: orange;
border-style:solid solid none solid;
border-width:2px;
border-color: black;
border-radius: 8px 8px 0 0;
}

.Hmenu li a{
display: block; 
padding: 3px;
text-decoration: none;
color: black;
width: 100px; 
margin: 1px;
text-align: center;
font-size: 14px;
}

.Hmenu li:hover{
background-color: #2d56be;
}
.Hmenu li a:hover{
	color:white;
}
.Hmenu li.bk_clear{ 
	display: inline;
  position: relative;
  background: var(--bk_col);/* style.cssの#Page のbackgroundカラーと一致させること */
	margin-right: 5px;
}
.Hmenu li.bk_clear::before {
  content: "";
  width: 102px;
  height: 4px;
  background: var(--bk_col);/* style.cssの#Page のbackgroundカラーと一致させること */
  display: inline-block;
  position: absolute;
  top: 28px;
	left:0;
}

.Vmenu ul {
	list-style-type: none;
	margin: 0px;
	padding:0px;
	list-style-type: none;
}
.Vmenu li {
  font-size: 16px; /* 必要に応じてフォントサイズを指定 */
  margin-bottom: 5px; /* 項目間の余白 */
	background-color: #3de09c;
	text-align: center;
  border: solid 1px black;
  border-radius: 5px;
}
.Vmenu li a{
text-decoration: none;
color: black;
}




.droplinetabs9 {
	position: relative;
	background: #6f9c43;
	/* メニューの背景色 */
	text-align: left;
	/* set to left, center, or right */
	font: bold 12px 'Bitter', sans-serif;
	/* use google font */
	z-index: 10;
}

.droplinetabs9 * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.droplinetabs9 a {
	text-decoration: none;
	color: black;
	display: inline-block;
	font-weight: bold;
	padding: 8px;
	position: relative;
}

.droplinetabs9,
.droplinetabs9 ul {
	list-style: none;
	margin: 0;
	padding: 0;
	-webkit-perspective: 1000px;
	perspective: 1000px;
	-webkit-perspective-origin: 50% 0%;
	perspective-origin: 50% 0%;
}

/* 下の階層がない場合のスタイル */
.droplinetabs9 li>a:only-child {
	/* undo padding for non submenu LIs */
	padding-right: 15px;
	background: linear-gradient(to top, #d3d3d3, #ffffff);
	/* 親メニューの背景色　*/
	border: solid 1px black;
	border-radius: 20px;
}

/* 下の階層がある場合のスタイル */
.droplinetabs9 li>a:not(:only-child) {
	background: linear-gradient(to top, #d3d3d3, #ffffff);
	/* 親メニューの背景色　*/
	border: solid 1px black;
	border-radius: 8px 8px 0 0;
}

/* 子メニュー　スタイル */
.droplinetabs9>li>ul {
	background: #e2b9f2;
	border: solid 1px black;
}

/* 孫メニュー　スタイル */
.droplinetabs9>li>ul>li>ul {
	background: #f9d423;
	border: solid 1px black;
}

/* ひ孫メニュー　スタイル */
.droplinetabs9>li>ul>li>ul>li>ul {
	background: #ce944d;
	border: solid 1px black;
}

/* Top Level LI style */
.droplinetabs9>li {
	line-height: 0.6;
}

/* 親メニュー　リンク　スタイル */
.droplinetabs9>li>a {
	border-radius: 10px 10px 0 0;
	background: #4f9909;
	text-transform: uppercase;
}

/* 親メニュー ホーバーの時 */
.droplinetabs9 li:hover>a {
	top: 1px;
	border: solid 1px black;
	border-bottom: solid 2px #e2b9f2;
	background: #e2b9f2;
	z-index: 10;
}

.droplinetabs9 li {
	display: inline;
}

/* drop line ULタグ　共通スタイル */
.droplinetabs9 ul {
	background: #f8ecc9;
	position: absolute;
	left: -5000px;
	width: 100%;
	opacity: 0;
	padding: 10px 0;
	margin-top: -2px;
	box-shadow: 0 3px 5px #eee;
	-webkit-transform: rotateX(-70deg);
	transform: rotateX(-70deg);
	backface-visibility: hidden;
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transition: opacity .3s, -webkit-transform .5s, visibility 0s .3s, left 0s .3s;
	transition: opacity .3s, transform .5s, visibility 0s .3s, left 0s .3s;
}

/* メニュー　ホーバー時 */
.droplinetabs9 li:hover>ul {
	opacity: 1;
	left: 0;
	top: auto;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transition: opacity .5s, -webkit-transform .5s;
	transition: opacity .5s, transform .5s;
}

.droplinetabs9 ul li {
	display: inline;
}

/* 子メニュー　ホーバー時 */
.droplinetabs9 ul li:hover>a {
	top: 1px;
	border-bottom: solid 2px #f9d423;
	background: #f9d423;
}

/* 孫メニュー　ホーバー時 */
.droplinetabs9 ul li ul li:hover>a {
	top: 1px;
	border-bottom: solid 2px #ce944d;
	background: #ce944d;
}

/* 下の階層がある場合のスタイル */
.droplinetabs9 li:hover>a:not(:only-child) {
	border-radius: 8px 8px 0 0;
}

/* 下の階層がない場合のスタイル */
.droplinetabs9 li:hover>a:only-child {
	/* undo padding for non submenu LIs */
	padding-right: 15px;
	background: linear-gradient(to bottom, #8fc947, #d4f1f0);
	/* 親メニューの背景色　*/
	border: solid 1px black;
	border-radius: 20px;
}

/* LIs with a sub UL style */
.droplinetabs9 li>a {
	/* add padding to accomodate arrow inside LIs */
	padding-right: 30px;
}


/* Arrow for LIs with sub ULs */
.droplinetabs9 li>a:after {
	/* add arrow inside LIs */
	content: "";
	position: absolute;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-top-color: black;
	top: 45%;
	right: 8px;
}


/* LIs with NO sub UL pseudo class */
.droplinetabs9 li>a:only-child:after {
	/* undo arrow for non submenu LIs */
	display: none;
}

/* ####### responsive layout CSS ####### */

@media (max-width: 720px) {

	/* Top Level link style */
	.droplinetabs9>li>a {
		border-radius: 0;
		margin-top: 5px;
	}

}


/*   mega menu */
#menu-tittle {
	width: 120px;
	margin: 20px 0 0 20px;
	padding: 5px 15px 5px 15px;
	border-radius: 8px 8px 0 0;
	background: #2f3842;
	line-height: 1;
	color: #fff;
	font-size: 13px;
	text-align: center;
}

#megamenu {
	position: relative;
	z-index: 2050;
	width: 180px;
	margin: 0 0 10px 10px;
	padding: 10px 0;
	border-top: 3px solid #2f3842;
	border-radius: 0 0 3px 3px;
	box-shadow: 3px 3px 5px #4f9909, -3px 3px 5px #4f9909;
	font-size: 14px;
	background: #8fc947;
	color: black;
}

#megamenu li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	color: black;
}

#megamenu li a {
	position: relative;
	display: block;
	padding: 5px;
	color: #0e2236;
	text-decoration: none;
	line-height: 1;
}
#megamenu li ul {
	z-index: 2050;
}

#megamenu li ul li a {
	line-height: 1;
}

#megamenu>li:hover>a {
	color: black;
	font-weight: bold;
}

#megamenu ul li a:hover {
	text-decoration: underline;
}

#megamenu:hover>li {
	opacity: 0.5;
}

#megamenu>li:hover {
	opacity: 1;
	background: #deb79a;
}

#megamenu>li:hover>a:after {
	display: block;
	position: absolute;
	content: "";
	top: 50%;
	right: 5px;
	width: 0px;
	height: 0px;
	margin-top: -8px;
	border: 8px solid transparent;
	border-left-color: #666;
}

#megamenu ul {
	display: none;
	position: absolute;
	top: -3px;
	right: -150px;
	width: 150px;
	height: 360px;
	z-index:2050;
	margin: 0;
	padding: 5px;
	border-top: 3px solid #2f3842;
	border-radius: 0 0 3px 0;
	background: #deb79a;
	box-shadow: 3px 3px 5px #f98289, 3px 0px 3px #f98289 inset;
}

#megamenu>li ul:hover {
	opacity: 0.9;
	z-index:2050;
}

#megamenu>li>ul>li:hover a {
	color: white;
	font-weight: bold;
}

#megamenu>li>ul>li:hover {
	opacity: 1;
	z-index:2050;
	background: #6163ab;
}

#megamenu li:hover ul {
	z-index:2050;
	display: block;
}

#megamenu ul.big {
	z-index:2050;
	right: -500px;
	width: 500px;
}

#megamenu ul.big li {
	float: left;
	width: 100px;
	line-height: 1;	;

}

#megamenu ul h3 {
	clear: left;
	padding: 5px;
	margin: 0;
	color: black;
	background: #b3ba60;
	box-shadow: 3px 3px 5px #4f9909, -3px 3px 5px #4f9909;
	font-size: 14px;
	line-height: 1;
	font-weight: bold;
}

#megamenu ul li a {
	padding: 8px 8px;
}

/* https://js.crap.jp/book/chapter2/drop-down-3menu.html */
/*
/* ナビゲーションメニュー */
#dropmenu {
  list-style-type: none;
  width: 100%;
  margin: 0px;
  padding: 0;
}
#dropmenu li {
  position: relative;
  width: 20%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
}
#dropmenu li a {
  display: block;
  margin: 0;
  padding: 16px 0;
  background: rgb(5, 228, 90);
  color: black;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
	border:1px sorid  #000;
}
#dropmenu li ul {
  list-style: none;
  position: absolute;
	z-index: 5;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}
#dropmenu li ul li {
  overflow: hidden;
  width: 100%;
  height: 0;
  color: #fff;
  transition: .2s;
}
#dropmenu li ul li a {
  padding: 13px 15px;
  background: #7c8c0e;
  text-align: left;
  font-size: 12px;
  font-weight: normal;
}
#dropmenu > li:hover > a {  background: #7c8c0e }
#dropmenu > li:hover li:hover > a {  background: #6e7c0c }
#dropmenu li:hover > ul > li {
  overflow: visible;
  height: 38px;
}
#dropmenu li ul li ul {
  top: 0;
  left: 100%;
}
#dropmenu li:last-child ul li ul {
  left: -100%;
  width: 100%;
}
#dropmenu li ul li ul li a {  background: #616d0b }
#dropmenu li:hover ul li ul li:hover > a {  background: #535d09 }
#dropmenu li ul li ul:before {
  position: absolute;
  content: "";
  top: 13px;
  left: -20px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-color: #454e08;
}
#dropmenu li:last-child ul li ul:before {
  position: absolute;
  content: "";
  top: 13px;
  left: 200%;
  margin-left: -20px;
  border: 5px solid transparent;
  border-right-color: #454e08;
}
