@charset "utf-8";

/* ------------------------------------------------------- */
/* global menu ------------------------------------------- */
/* ------------------------------------------------------- */

#globalmenu ul {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 2;
	position: relative;
	border-left: 1px solid #090909;
	box-sizing: border-box;
}

#globalmenu ul::before { display: none; }

/* 全階層共通：liの右側に縦線を引く */
#globalmenu ul li {
	position: relative;
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	box-sizing: border-box;
	border-right: 1px solid #090909;
}

#globalmenu ul li::after { display: none; }

/* 全階層共通：Aタグの設定 */
#globalmenu ul li a {
	text-decoration: none;
	width: 100%;
	height: 50px;
	padding: 1px 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #090909;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	transition: 0.3s;
	box-sizing: border-box;
	position: relative; /* 影を正しく表示するために必要 */
	z-index: 1; /* 通常時の重なり順 */
	/* 隙間用の透明ボーダー */
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
}

/* メインメニュー1段目の端処理 */
#globalmenu > ul > li:first-child > a { border-left: none; }
#globalmenu > ul > li:last-child > a { border-right: none; }

/* マウスオーバー時：影の設定 */
#globalmenu ul li a:hover {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); /* 影を少し強めに */
	color: #090909;
	background: #fff; /* 背景を明示して影を浮き立たせる */
	z-index: 5; /* ホバーした項目を最前面に出して、下の項目に影が隠れないようにする */
}

/* アクティブ項目：黒塗り（左右に隙間あり） */
#globalmenu ul li.current-menu-item a {
	background: #090909;
	color: #fff;
	background-clip: padding-box;
	z-index: 2;
}

/* トップページがアクティブの時，メニューの「Topics」の項目以下
  （hrefを https://ayaweek.jp/#～ としてid指定しているもの）が
  「Top」と同時にアクティブ化（黒塗り） された時，背景と文字色を通常時に戻す */
#globalmenu ul .current-menu-item a[href*="https://ayaweek.jp/#"] {
    background: transparent !important; /* 背景を透明（または元の色）に */
    color: #333 !important;             /* 文字色を通常時の色（黒系）に */
}

/* --- サブメニュー（ドロップダウン）設定 --- */

#globalmenu ul ul {
	position: absolute;
	display: none;
	top: 50px;
	left: -1px; /* 親のborder-left(1px)分を左にずらして重ねる */
	right: 0px;
	width: ;
	padding: 0;
	margin: 0;
	width: calc(100% + 2px); /* 右側の線を親のliと一致させるための補正 */
	z-index: 10;
	border: none;
	background: #fff;
}

#globalmenu ul ul li {
	display: flex;
	flex: none;
	width: 100%;
	border-left: 1px solid #090909; /* サブメニュー左側の縦線 */
	border-right: 1px solid #090909; /* サブメニュー右側の縦線 */
	border-top: none;
	border-bottom: none;
}

#globalmenu ul ul li a {
	height: auto;
	padding: 15px 10px;
	/* サブメニュー内でも左右の隙間を維持 */
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
}

#globalmenu ul ul li::before {
	display: none !important;
}

/* 3階層目以降の設定 */
#globalmenu ul ul ul {
	top: 0;
	left: calc(100% - 1px); /* 縦線を重ねる */
}

/* サブメニューの矢印
#globalmenu ul ul li.gmsub a { padding-right: 25px; }
.gmsub a::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f0da";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}
*/

/* サブメニューを持つメニューアイテムにインジケーターを追加 */
#globalmenu ul li.menu-item-has-children > a::after {
    content: "▶"; /* ここに表示したい記号（例: " >", " +", " ▾"）を入力 */
    margin-left: 0.5em; /* テキストとの間隔を調整 */
    font-size: 0.65em; /* サイズを調整 */
    /* 他のスタイル（色や位置）もここに追加できます */
}

/* サブメニューが開いている時に表示を変える場合 */
#globalmenu ul li.menu-item-has-children.open > a::after,
#globalmenu ul li.menu-item-has-children:hover > a::after {
    content: "▼"; /* 開いている（またはホバー時）の記号 */
}

#drawernav { display: none; }

@media only screen and (max-width:999px) {
#globalmenu {
	position: static;
	display: none;
}
/*スマートフォン用メニュー*/
#page {
	padding-top: 50px;
	position: relative;
	z-index: 999;
	left: 0;
	background: #fff;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#drawernav {
	display: block;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	right: -240px;
	width: 240px;
	height: 100%;
	background: #333;
	color: #fff;
	z-index: 995;
	padding-top: 45px;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#drawernav ul {
	list-style: none;
	padding: 0;
}
#drawernav ul li {
	border-bottom: 1px solid #666;
}
#drawernav ul li a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f105";
	padding: 0 5px 0 0;
}
#drawernav ul li a.gmc::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f107";
}
#drawernav ul li ul {
	margin: 0 0 0 20px;
}
#drawernav ul li ul li:last-child {
	border-bottom: none;
}
#drawernav ul li a {
	color: #fff;
	display: block;
	padding: 10px;
	text-decoration: none;
}
#drawernav ul li a:hover {
	background: #999;
}
#drawernav h4 {
	padding: 0 15px;
}
#humberger {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 997;
	cursor: pointer;
	box-sizing: border-box;
	display: none;
	display: block;
	width: 50px;
	height: 50px;
	/*border-radius: 3px;
	padding: 5px 2px;
	margin: 7px 2px 0 0;
	text-align: center;
	font-size: 1.2rem;
	color: #fff;*/
	background: #090909;
}
.drawer-opened #humberger {
    background: #999;
}
.icon-bar {
	height: 2px;
	background: #333;
	display: block;
	margin-bottom: 6px;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
/*.humbergerMenu::before {
	content: "MENU";
}*/
	
/*------------------追加------------------*/
/*ハンバーガーアイコンを作る三本線*/
span.humbergerMenu, span.humbergerMenu::before, span.humbergerMenu:after {
    position: absolute;
    right: 0;
    left: 0;
    /*bottom: 0;*/
    height: 2px; /*線の太さ*/
    width: 35px; /*線の長さ*/
    background-color: #fff;
    border-radius: 2px;
    display: block;
    cursor: pointer;
    margin: auto;
	content: "";
}
/*三本線の間隔*/
	span.humbergerMenu{
		top: 0;
		bottom: 0;
	}
	span.humbergerMenu::before {
		top: 10px;
		/*bottom:10px;*/
	}
	span.humbergerMenu::after {
		/*top: -20px;*/
		bottom:10px;
	}	
	
/*クリック後*/
.drawer-opened span.humbergerMenu {
    background: transparent;
}
.drawer-opened span.humbergerMenu::before {
    transform: rotate(-45deg);
    top: 0;
}
.drawer-opened span.humbergerMenu::after {
    transform: rotate(45deg);
    bottom: 0;
	/*top:0;*/
}
span.humbergerMenu,
span.humbergerMenu:before,
span.humbergerMenu:after {
    transition: all .5s;
}
	
/*----------------//追加------------------*/
/*.drawer-opened .humbergerMenu::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f00d";
}*/
.fixed-content {
	right: inherit;
	width: 100%;
	z-index: 996;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#overlay {
	z-index: -1;
	opacity: 0;
	background: #000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
/**
* ドロワー開放時のスタイル
**/

body.drawer-opened #page {
	left: -240px;
	-webkit-box-shadow: 1px 0 2px #000;
	box-shadow: 1px 0 2px #000;
}
body.drawer-opened .fixed-content {
	left: -240px;
}
body.drawer-opened #drawernav {
	right: 0;
}
#gmenu {
	display: none;
}
#humberger {
	display: block;
}
body.drawer-opened #humberger .icon-bar {
	background: #fff;
}

body.drawer-opened #overlay {
	z-index: 997;
	opacity: 0.3;
	left: -240px;
}

	/*drawer の開閉*/
	#drawernav ul li.menu-item-has-children ul { display: none; }
    #drawernav ul li.menu-item-has-children > a {
        padding-right: 30px;
		position: relative;
    }
	#drawernav ul li.menu-item-has-children > a:after {
		font-family: "Font Awesome 5 Free";
		font-weight: 400;
		content: "\f0fe";
		padding: 0 5px 0 0;
        position: absolute;
		font-size: 2.0rem;
		right: 0;
        top: 7px;
	}
	#drawernav ul li.menu-item-has-children > a.active:after {
		content: "\f146";
	}
}