@charset "utf-8";

/*
==================================================
GMOクラウド共通ヘッダー（白帯）
ALTUS等のoned-website GmocloudHeaderに合わせたスタイル
==================================================
*/

#gmocloud_header {
	position: absolute;
	top: 29px;
	left: 0;
	right: 0;
	z-index: 10003;
	height: 40px;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.8;
}

/* 下線（グラデーション） */
#gmocloud_header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(to right, #2a3f78 8%, #59f3ff 29%, #ffffff 45%);
}

#gmocloud_header ul,
#gmocloud_header li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#gmocloud_header a,
#gmocloud_header span {
	font-size: 12px;
	color: #196fa9;
}

#gmocloud_header a {
	text-decoration: none;
}

/* リンクのホバー時に下線を伸ばす */
#gmocloud_header a span {
	background-image: linear-gradient(#196fa9, #196fa9);
	background-size: 0 1px;
	background-position: left bottom;
	background-repeat: no-repeat;
	transition: background-size 0.3s;
}

#gmocloud_header a:hover span,
#gmocloud_header a:focus span {
	background-size: 100% 1px;
}

/* サイトのヘッダーと左端を揃える */
.gmocloud_header_inner {
	display: flex;
	align-items: center;
	max-width: 74.45rem;
	height: 40px;
	margin: 0 auto;
	padding: 0 0.1rem;
}

.gmocloud_header_menu {
	display: flex;
	position: relative;
	gap: 24px;
}

.gmocloud_header_menu > li {
	display: flex;
	align-items: center;
}

.gmocloud_header_menu > li > a,
.gmocloud_header_menu > li > .gmocloud_header_parent {
	display: flex;
	align-items: center;
	height: 40px;
	cursor: pointer;
}

/* サブメニュー */
.gmocloud_header_sub {
	display: none;
	position: absolute;
	top: 40px;
	padding: 24px !important;
	flex-direction: column;
	gap: 16px;
	background: #fff;
	box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	z-index: 1000;
	white-space: nowrap;
}

.gmocloud_header_menu > li:hover > .gmocloud_header_sub,
.gmocloud_header_menu > li:focus-within > .gmocloud_header_sub {
	display: flex;
}

.gmocloud_header_sub > li {
	font-weight: bold;
}

.gmocloud_header_subitem {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px !important;
}

.gmocloud_header_subitem li {
	padding-left: 16px !important;
	font-weight: normal;
}

.gmocloud_header_subitem a::before {
	content: "ー";
	margin-right: 8px;
	color: #196fa9;
	font-size: 12px;
}

@media screen and (max-width: 1279px) {
	.gmocloud_header_menu {
		gap: 16px;
	}
}

@media screen and (max-width: 1200px) {
	#gmocloud_header a,
	#gmocloud_header span,
	.gmocloud_header_subitem a::before {
		font-size: 10px;
	}
}

@media screen and (max-width: 1180px) {
	.gmocloud_header_menu {
		gap: 12px;
	}
}

@media screen and (max-width: 1079px) {
	#gmocloud_header {
		display: none;
	}
}
