@charset "utf-8";
/* CSS Document */
#menu_wrap{
	background-color: #003CB4;
}

.menu_cont{
	width: 1100px;
	margin: 0 auto;
	min-width: 1100px;
}

.menu{
	display: flex;
}

.menu ul{
	display: flex;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	padding: 30px 0;
}


.menu li{	
	width: calc(100% / 5);
	background-image: url( "../img/menu/menu_off.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	
}


.menu li:hover{	
	background-image: url( "../img/menu/menu_on.png");
}




/************SP用**************/
@media screen and (max-width:500px) {

	
#menu_wrap{
	background-color: inherit;
}

.menu_cont{
	width: 100%;
	margin: 0 auto;
	min-width: inherit;
}
	
	
	
.menu ul{
flex-direction: column;
}




.menu li:hover{	
		background:none ;
}



	
	


/* ハンバーガーアイコン */
.hamburger-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 25px;
  justify-content: center;
  align-items: center;
         position: fixed;
        z-index: 1001;
        top: 10vw;
        right: 4vw;
}

/* ハンバーガーの線 */
.hamburger-icon span {
  width: 40px;
  height: 3px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
  position: absolute;
}

/* 1本目（上の線） */
.hamburger-icon span:nth-child(1) {
  top: 0;
}

/* 2本目（中央の線） */
.hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

/* 3本目（下の線） */
.hamburger-icon span:nth-child(3) {
  bottom: 0;
}

/* フルスクリーンメニュー */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color:#FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

/* メニューが開いたとき */
.menu.active {
  opacity: 1;
  visibility: visible;
	
}

/* メニューのリンク */
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu li{
	background:none ;
	width: 100%;
	color: #003CB4;
	
	border-top:1px solid  #003CB4;
	border-bottom:1px solid  #003CB4;
	
	margin: -1px 0 0 0;
}
	


.menu li a {
	display: block;
	padding: 5vw 0;

  color: #003CB4;
  font-size: 21px;
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ddd;
}
.hamburger-menu.active .hamburger-icon span {
  background: #333;
}
/* ハンバーガーアイコンが「×」に変形 */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
}


/************SP用ここまで**************/
