@charset "utf-8";

/*
	グローバルメニュー専用css

*/

/* -----------------------------------------------
 HEADER
-------------------------------------------------- */
/* header_menu */
.header {
    display: block;
    /* border-top: 4px solid var(--mainColor); */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    background-color: var(--baseColor);
    box-shadow: 15px 5px 29px 0px rgb(0 0 0 / 4%);
    z-index: 100;
}
.header_inner {
	width: calc(100% - 4rem);
	height: 100%;
	margin: 0 auto;
	display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    /* flex-wrap: wrap; */
}
.h_logo { /*サイト名*/
	vertical-align: middle;
	display: flex;
	align-items: center;
	padding-bottom: 6px;
}
.h_logo-img {
	width: 250px;
	margin-right: 0.5rem;
}
.h_logo a {
	color: var(--baseBlack);
	cursor: pointer;
}
.h_logo:hover {
	transform: 0.5s;
}
.h_logo:hover .h_logo-img {
	opacity: 0.5;
}

/* スマホ版ナビ nav-toggle 非表示*/
#nav-toggle {
	display: none;
}
.sp_menu {
	display: none;
}
/* PC版グローバルメニュー PC_menu */
.pc_menu {
	height: calc(100% - 0.25rem);
	position: relative;
	margin: auto 0 auto auto;
}
.pc_gloval-nav {
	width: 100%;
	height: 100%;
	margin: auto;
}
.pc_gloval-nav ul {
	width: 100%;
	height: 100%;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: flex-end;
	list-style: none;
}
.pc_gloval-nav li {
	text-align: center;
	font-weight: bold;
	position: relative;
}
.pc_gloval-nav li a {
    display: block;
    padding: .5rem 1.75rem;
    margin: 0 .5rem;
    color: var(--baseBlack);
    word-break: keep-all;
    text-decoration: none;
    font-size: 1.2222222222222rem;
	border-radius: 5px;
}

.pc_gloval-nav li ::after {
    position: absolute;
    left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
    top: 18px;
    bottom: 18px;
	height: 1.5rem;
    content: "";
    display: block;
    border-left: 1px solid  #e3dfbf;
}

.pc_gloval-nav--item_sub {
	font-weight: normal;
	font-size: 0.7rem;
	color: var(--mainColor);
}
.pc_gloval-nav li a:hover {
    background-color:rgb(255 246 221);
}
.pc_gloval-list li:first-child ::after{
	border-left: none;
  }
/* -----------------------------------------------
PC 1280px以下
-------------------------------------------------- */
@media screen and (max-width: 1200px) {
	.pc_gloval-nav li {
		font-size: 0.875rem;
	}
	/* .pc_gloval-nav li a {
		padding: 1rem 1rem;
	} */
}
/* -----------------------------------------------
PC 1200px以下
-------------------------------------------------- */
@media screen and (max-width: 1200px) {
	.header_inner {
		width: 95%;
	}
	.pc_gloval-nav {
		max-width: 100%;
	}
	.h_logo-img {
		width: 200px;
	}
	
}
/* -----------------------------------------------
 tablet 980px以下
-------------------------------------------------- */
@media screen and (max-width: 992px) {
  /* header_menu */
	.header {
		height: 86px;
		position: fixed;
		top: 0;
		left: 0;
		border-bottom: 2px solid #fff;
	}
	.h_logo { /*ヘッダー サイト名*/
		margin-left: 0.5rem;
		padding-bottom: 0;
	}

	.header_inner {
		height: 100%;
	}
	/*PC版非表示*/
	.h_nav { 
		display: none;
	}
	.h_english {
		display: none;
	}
	.header_inner .search_container {
		display: none;
	}
	.pc_menu {
		display: none;
	}
	.h_logo-img {
		width: 220px;
	}
	
	/** ハンバーガーメニューボタン（toggle_menu） **/
	#nav-toggle {
		display: block;
        position: fixed;
        top: .75rem;
        right: 1rem;
        height: 60px;
        width: 60px;
        cursor: pointer;
        background-color: #fffef7e6;
        z-index: 200;
	}
	#nav-toggle > div {
		position: relative;
		width: 34px;
	}
	#nav-toggle > p { /* menuの文字 */
		font-size: 10px;
		color: #000;
		position: absolute;
		display: block;
		width: 100%;
		top: 38px;
		text-align: center
	}
	#nav-toggle span { /*三本線*/
		width: 100%;
		height: 2px;
		left: 14px;
		display: block;
		background: var(--baseBlack);
		position: absolute;
		transition: transform 0.3s ease-in-out, top 0.3s ease;
	}
	#nav-toggle span:nth-child(1) {
		top: 10px;
	}
	#nav-toggle span:nth-child(2) {
		top: 20px;
	}
	#nav-toggle span:nth-child(3) {
		top: 30px;
	}
	#nav-toggle:hover span:nth-child(1) {
		top: 15px;
	}
	#nav-toggle:hover span:nth-child(3) {
		top: 24px;
	}
	.open #nav-toggle { /*メニューを開いたとき*/
		border: 0;
	}
	.open #nav-toggle span {
		background: var(--baseBlack);
	}
	.open #nav-toggle > p {
		color: var(--baseBlack);
	}
	.open #nav-toggle span:nth-child(1) {
		top: 20px;
		transform: rotate(45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		top: 20px;
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 20px;
		transform: rotate(-45deg);
	}
	.h_logo-img {
		width: 200px;
	}
	
	/** スマホ版グローバルメニュー **/
	.sp_menu {
		/*画面を覆う*/
		width: 100%;
		height: 100%;
        background: rgb(26 13 0 / 92%);;
		color: #fff;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 150;
		/*テキスト*/
		/*font-size: 1.5rem;*/
		/*text-align: center;*/
		/*普段は不可視*/
		visibility: hidden;
		opacity: 0;
		/*flexbox*/
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		/*変化*/
		transition: opacity 0.6s ease, visibility 0.6s ease;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch; /*慣性スクロールを追加*/
	}
	.sp_menu a {
		display: block;
		color: #fff;
		text-decoration: none;
		/*padding: 10px 0;*/
		transition: color 0.6s ease;
	}
	.sp_menu a:hover {
		color: #F2E591; /*タッチ後、違う要素がタッチされるまでの色*/
	}
	
	/** スマホ版グローバルメニュー全般の挙動 **/
	.sp_menu ul {
		list-style: none;
	}
	.sp_menu ul li {
		/* border-left: 0;*/
		opacity: 0; /*不可視*/
		transform: translateX(200px); /*徐々に変化する*/
		transition: transform 0.2s ease, opacity 0.2s ease;
	}
	.sp_menu ul li:nth-child(2) { /*一行ずつ表示アニメ*/
		transition-delay: 0.15s;
	}
	.sp_menu ul li:nth-child(3) {
		transition-delay: 0.3s;
	}
	.sp_menu ul li:nth-child(4) {
		transition-delay: 0.45s;
	}
	.sp_menu ul li:nth-child(5) {
		transition-delay: 0.6s;
	}
	.sp_menu ul li:nth-child(6) {
		transition-delay: 0.75s;
	}
	.sp_menu ul li:nth-child(7) {
		transition-delay: 0.9s;
	}

	
	
	/* open: メニューを開くとclass.open付与 表示させる */
	.open {
		overflow: hidden;
	}
	.open .sp_menu {
		visibility: visible;
		opacity: 1;
	}
	.open .sp_menu li {
		opacity: 1;
		transform: translateX(0);
		transition: transform 1s ease, opacity 0.9s ease;
	}
	
	/* スマホ版グローバルメニュー（メニュースタイル）sp_gloval-nav*/
	.sp_gloval-nav {
		width: 80%;
		font-size: 1.25rem;
	}
	.sp_gloval-nav a {
		padding: 1rem 0;
	}
	.sp_gloval-nav-list li > a:hover {
		color: #F2E591;
	}
	.sp_gloval-nav-list li > a {
		border-bottom: 1px solid #666;
		cursor: pointer;
	}
	
	.sp_gloval-nav-list li > a:after { /*開閉の矢印アイコン*/
		font-size: 12px;
		position: absolute;
		right: 12px;
		top: 16px;
		color: #FFF;
		content: "\f054";
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
	}

}
/* -----------------------------------------------
smartPhone 576以下
-------------------------------------------------- */
@media (max-width: 576px) {
	.hidden_sp {
		display: none;
	}
	.h_logo-img {
		width: 150px;
	}
	
}
/* ----- /heaerここまで ------- */
