@charset "utf-8";
/* CSS Document */

/*ここからサンプル画像用CSS*/
.imagesample{
	width: 700px;
	height: 150px;
	object-fit: cover;
}
/*ここまでサンプル画像用CSS*/


/*ここから課題CSS*/
*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
}

/* ナビゲーションメニュー */
.nav-menu {
    background-color: #1c731c;
    colors: #fff;
    font-weight: bold;
}

.menu-list {
    display: flex;
    justify-content: center;
}

.menu-item {
    border-left: 1px dashed #fff;
    position: relative;
}

.menu-item:last-child {
    border-right: 1px dashed #fff;
}

/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list {
    visibility: visible; /* 下層メニューを表示 */
}

.menu-item a {
    align-items: center;
    color: #fff;
    display: flex;
    height: 50px;
    justify-content: center;
    text-decoration: none;
    width: 150px;
}

.menu-item a:hover {
	background-color: #71b171;
}

/* ドロップダウンメニュー */
.drop-menu {
    position: relative;
}

.drop-menu-list {
    background-color: #1c731c;
    left: 0;
    position: absolute;
    top: 100%;
    visibility: hidden; /* 下層メニューを非表示 */
    width: max-content;
    z-index: 1;
}