@charset "utf-8";

#navTgl:checked ~ .contents {
	transform: translateX(250px);
}
/* :::::: toggle button :::::: */
#navTgl {
	display: none;
}
label {
	cursor: pointer;
	position: fixed;
	top: 0;
	/* left: 0; */
	right: 0;
}
.open {
	top:30px;
	z-index: 2000;
	width: 60px;
    height: 61px;
	background-image: url(/aichi2021/img/sp_menu.png);
	background-size: 100%;
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/*一時的に解除
.open::before,
.open::after {
	content: "";
}
*/
.open span,
.open::before,
.open::after {
	opacity: 0;
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	/* left: 30%; */
	right: 30%;
	width: 40%;
	border-bottom: 1px solid #000;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before {
	transform: translateY(-8px);
}
.open::after {
	transform: translateY(8px);
}
.close {
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}
#navTgl:checked + .open {
	top:0;
	background: #fff;
	margin: 5px;
	/* transform: translateX(250px); */
	/*transform: translateX(-250px); */
}
#navTgl:checked + .open span {
	transform: scaleX(0);
}
#navTgl:checked + .open::before {
	/* transform: rotate(45deg); */
	transform: rotate(-45deg);/* 追加 */
	opacity: 1;

}
#navTgl:checked + .open::after {
	/* transform: rotate(-45deg); */
	transform: rotate(45deg);/* 追加 */
	opacity: 1;
}
#navTgl:checked ~ .close {
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}

/* :::::: drawer menu :::::: */
.menu {
	z-index: 100;
	position: fixed;
	overflow: auto;
	top: 0;
	/* left: 0; */
	right: 0;
	width: 375px;
	height: 100%;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	background: #fff;
	/* transform: translateX(-100%); */
	transform: translateX(100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
	background-image: url(/aichi2021/img/nav_sp_bg.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
}
.menu h2,
.menu a {
	color: #FFFFFF;
}
.menu h2 {
	text-align: center;
}
.menu ul {
	font-family: 'Noto Sans JP';
    font-weight: bold;
	margin: 0;
	padding: 0;
}
.menu li {
	/* font-size: .8em; */
	line-height: 1.4;
	font-size: 22px;
}
.menu li:not(:first-child) {
	/*border-top: 1px #5c4535 dashed;*/
}
.menu li ul li:not(:first-child) {
	border-top: 1px solid rgba(255,255,255,0);
}
.menu li ul li a{
	/* margin-left: 1em; */
	/* background-color: rgba(0, 0, 0, 0.6); */
	font-size: 16px;
}
.menu li ul li a::before{
	content: "";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-right: 3em;
}
.menu a {
	display: block;
	padding: 1em 2em;
	text-decoration: inherit;
	transition: background .6s;

}
.menu a:hover {
	background: #E4007F;
}
.menu a.current{
	background: #fff;
}
#navTgl:checked ~ .menu {
	transform: none;
}

header nav ul {
	display: -webkit-box;
display: -moz-box;
display: -webkit-flexbox;
display: -moz-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: -moz-flex;
-js-display: flex;
display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	white-space: nowrap;
  /* letter-spacing: .1em;
  text-indent: .1em; */
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
header nav li {
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	-js-display: flex;
	display: flex;
	/*flex-basis: 16.66666666666667%;*/
	flex-basis: 20%;
	letter-spacing: .1em;
	font-size: 15px;
	text-align: center;
}
/* header nav li{
	border-left: 1px solid #FFFFFF;
}
header nav li:last-child{
	border-right: 1px solid #FFFFFF;
} */
header nav li a {
	flex-grow: 1;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	-js-display: flex;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1.5em 0;
	color: #FFFFFF;
	text-decoration: inherit;
	transition: background .6s;
}
header nav li a,
header nav li a:hover,
header nav li a:focus  {
  text-decoration: none;
	color: #FFFFFF;

}
header nav li a:hover,
header nav li a:focus {
	background: #221814;
  color: #FFF;
}

header nav li a.current {
    background: #221814;
}




/*プルダウンメニュー*/
.pc_menu {
    position: relative;
    width: 100%;
    /* height: 50px;
    max-width: 1000px; */
    margin: 0 auto;
}

.pc_menu > li {
    /* float: left;
    width: 16.6666%;
    height: 50px;
    line-height: 50px;
    background: rgb(29, 33, 19); */
}

.pc_menu > li a {
    display: block;
    color: #fff;
	padding: 5px;
}

/* .pc_menu > li a:hover {
    color: #999;
} */

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
		display: block;
}
/*
ul.menu__third-level {
    visibility: hidden;
    opacity: 0;
}

ul.menu__fourth-level {
    visibility: hidden;
    opacity: 0;
} */

.pc_menu > li:hover {
	-webkit-transition: all .5s;
	transition: all .5s;
}

.menu__second-level li {
	list-style: none;
    width: 140px;
    margin: 0 10px;
    padding: 5px 10px;
}

/*
.menu__third-level li {
    border-top: 1px solid #221814;
}

.menu__second-level li a:hover {
    background: #221814;
}

.menu__third-level li a:hover {
    background: #221814;
}

.menu__fourth-level li a:hover {
    background: #221814;
}
*/

/* 下矢印 */
.init-bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* floatクリア */
.pc_menu:before,
.pc_menu:after {
    content: " ";
    display: table;
}

.pc_menu:after {
    clear: both;
}

.pc_menu {
    *zoom: 1;
}

.pc_menu > li.menu__single {
    position: relative;
}

li.menu__single ul.menu__second-level {
	font-family: 'Noto Sans JP';
    font-weight: bold;
	font-size: 12px;
    position: absolute;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    left: 0;
    padding-left: 0 !important;
    text-decoration: none;
	background-image: url(/aichi2021/img/event_sub.png);
	background-size: cover;
    background-repeat: no-repeat;
	height: 360px;
}

li.menu__single:hover ul.menu__second-level {
    top: 80px;
    visibility: visible;
    opacity: 1;
}


/*//プルダウンメニュー*/

/*20210926*/
.menu-title {
	width: 355px;
    height: 70px;
	position: relative;
	margin-bottom: 10px;
	display: inline-block;
	border-bottom: solid 1px #000;
	box-sizing: border-box;
}


.menu-title:before {
	content: "";
    position: absolute;
    bottom: -26px;
    left: 50%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 14px solid #FFF;
    z-index: 2;
}
  
.menu-title:after {
	content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    border-top: 16px solid #000;
    z-index: 1;
}

/*中身を非表示にしておく*/
.close-text {
    display: none;
}

/*クリックで中身表示*/
#navTgl:checked + .open .close-text {
	display: inline;
    position: absolute;
    font-size: 5px !important;
    writing-mode: vertical-rl;
	white-space: nowrap;
    top: 16px;
    right: 0;
    color: #E4007F;
}

/*レスポンシブ*/
@media (max-width:768px) {
	li.menu__single ul.menu__second-level {
		width: 90px;
		font-size: 12px;
	}
	
}



















/* :::::: change mechanism :::::: */
@media screen and (min-width: 992px) {
	.open {
		display: none;
	}
}
@media screen and (max-width: 991px) {
	header nav {
		display: none;
	}
}
@media print{
	.open,.topBtn {
		display: none!important;
	}
}
