@charset "UTF-8";

* {
	margin:  0; /*上右下左*/
	padding: 0;
	user-select: none;
}

/*------------------------------------------------*/

.header-wrap {
	background-color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}

.logo {
	background-color: transparent;
	display: flex;
	justify-content: left;
	align-items: center;
	padding-left: 20px;
	width: calc(240px - 10px);
	height: 100px;
	line-height: 100px;
	color: rgb(44,84,120);
}

.logo img {
	/*width: 230px;*/
	height: 80px;
	object-fit: contain;
}

.link {
	background-color: transparent;
	display: flex;
	align-items: flex-end;
	margin: 0px 10px 10px 10px;
	/*padding: 0px 10px 10px 10px;*/
	height: 80px;
	/*border-bottom: solid 1px silver;*/
}

.link a {
	padding: 5px 20px 5px 20px;
	text-decoration: none;
	color: rgb(44,84,120);
	transition: background-color 0.5s, color 0.5s;
	clip-path: polygon(16px 0px, 0px 60px, calc(100% - 16px) 60px, 100% 0px);
}

.link a:hover {
	background-color: rgb(44,84,120);
	color: white;
}

.link span {
	padding: 0px 0px 5px 0px;
	color: silver;
}

/*------------------------------------------------*/

.menu-wrap {
	background-color: blue;
	display: flex;
	justify-content: center;
	align-items: center;
	width:  100%;
	height: 40px;
}

.menu-item {
	background-color: red;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 160px;
	height: 40px;
	position: relative;
	color: white;
}

.menu-item a{
	background-color: transparent;
	position: absolute;
	top:  1px;
	left: 1px;
	width: 158px;
	height: 38px;
	text-decoration: none;
	color: white;
}

.back {
	background-color: rgb(44,84,120);
	position: absolute;
	width: 160px;
	height: 40px;
	overflow: hidden;
}

.tama1, .tama2 {
	background-color: white;
	position: absolute;
	width:  21px;
	height: 21px;
	border-radius: 50%;
	transition: opacity 0.3s;
	opacity: 0;
}

.tama1 {
	top:  -10px;
	left: -10px;
}

.tama2 {
	top:   30px;
	left: 150px;
}

@keyframes tama1 {
	 80% {
		transform: translateX(160px);
	}
	100% {
		transform: translate(160px, 40px);
	}
}

@keyframes tama2 {
	 80% {
		transform: translateX(-160px);
	}
	100% {
		transform: translate(-160px, -40px);
	}
}

.menu-item:hover .tama1 {
	opacity: 0.7;
	animation: tama1 0.9s linear infinite;
}

.menu-item:hover .tama2 {
	opacity: 0.7;
	animation: tama2 0.9s linear infinite;
}

.front {
	background-color: rgb(44,84,120);
	/*background-image: linear-gradient(165deg, rgb(54,94,130), rgb(44,84,120));*/
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 158px;
	height: 38px;
}

.drop {
	background-color: rgba(255,255,255,0.5);
	background-filter: blur(3px);
	box-shadow: 2px 2px 5px rgba(60,60,60,0.7);
	position: absolute;
	top: calc(100% + 1px);
	padding: 0px 5px 0px 5px;
	list-style-type: none;
	transform-origin: top;
	transform: scaleY(0);
	transition: transform 0.3s;
	z-index: 100;
}

.drop li {
	background-color: rgba(255,255,255,0.8);
	margin-top: 5px;
	padding: 12px 6px 12px 6px;
	width: 308px;
	border: solid 1px white;
	color: rgb(80,80,80);
	transition: background-color 0.5s, color 0.5s;
}

.drop li:not(last-child) {
	margin-bottom: 5px;
}

.drop li:hover {
	background-color: rgb(44,84,120);
	color: white;
}

.menu-item:hover .drop {
	transform: scaleY(1);
}

/*------------------------------------------------*/



