@charset "utf-8";
@media screen and (max-width:700px){

#menu_parent ul {
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-bottom: 72px;
    max-height: calc(100vh - 100px); /* ナビの高さを調整 */
    overflow-y: auto; /* たくさん項目があるときのみスクロール */
}

#menu_parent {
	background-color: rgba(255,255,255,1.00);
	padding-top: 16px;
	padding-bottom: 16px;
	padding-right: 16px;
	width: 90%;
	margin-left: auto;
/*	overflow: auto;*/
	margin-top: 0px;
    height: 100vh;  /* 画面の高さにフィット */
    overflow: hidden; /* スクロールバーを表示しない */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#menu_parent a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    display: block;
    /* [disabled]line-height: 1.5em; */
}

#menu_parent ul ul {
    margin-left: 0px;
    padding-left: 8px;
}
#menu_parent ul ul ul {
	margin-left: 24px;
}
#menu_parent ul li {
    padding-top: 8px; /*メニュー項目の上パディング*/
    padding-bottom: 8px; /*メニュー項目の下パディング*/
    /*background-image: url(images/nav_arrow.svg);*/
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px auto;
    border-bottom: 1px solid #275AF2;
    line-height: 1.5em;
}


#menu_parent li{
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}
#menu_parent #root_ul ul li a {
    font-weight: 400;
    font-size: 15px;
}


#menu_parent > li{
    display: table-cell;
}




/*parent_menu_style*/

input[type="checkbox"].menu-trigger ~ #menu_parent{
	box-sizing: border-box;
	height: 100%;
	padding: 10px 20px; /*メニュー内部上下左右余白*/
	position: fixed;
	right: -300px; /*メニュー横幅①と合わせる*/
	top: 56px;
	transition: transform 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
	width: 300px; /*メニュー横幅①*/
	z-index: 1000;
	overflow: scroll;
}

input[type="checkbox"].menu-trigger ~ #menu_parent + #menu-background{
	background-color: #333; /*黒背景部分背景色*/
	display: none;
	height: 100%;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 56px;
	transition: all 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
	width: 100%;
	z-index: -1;
}
input[type="checkbox"].menu-trigger:checked ~ #menu_parent{
	transform: translate(-300px); /*メニュー横幅①と合わせる*/
}

input[type="checkbox"].menu-trigger:checked ~ #menu_parent + #menu-background{
	display: block;
    opacity: 0.5; /*黒背景部分透過度*/
    z-index: 999;
}

input[type="checkbox"].menu-trigger{
    display: none;
}
/*ハンバーガーの位置*/
input[type="checkbox"].menu-trigger + div{
    padding: 0;
    float: right;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 999;
}
input[type="checkbox"].menu-trigger + div > label{ /*ハンバーガーのサイズ*/
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	padding: 0;
	position: relative;
	width: 30px;
	height: 24px;
	float: right;
}

input[type="checkbox"].menu-trigger + div > label > span{
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #275AF2; /*ハンバーガーの色*/
	border-radius: 4px;
}

input[type="checkbox"].menu-trigger + div > label > span:nth-of-type(1) {
	top: 0;
}

input[type="checkbox"].menu-trigger + div > label > span:nth-of-type(2) {
	top: 11px;/*ハンバーガーの真ん中の棒*/
}

input[type="checkbox"].menu-trigger + div > label > span:nth-of-type(3) {
	bottom: 0;
}


input[type="checkbox"].menu-trigger:checked + div > label{
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}

input[type="checkbox"].menu-trigger:checked + div > label > span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(11px) rotate(-45deg);/*×左下から右上の棒の上からの位置*/
}

input[type="checkbox"].menu-trigger:checked + div > label > span:nth-of-type(2) {
	-webkit-transform: translateY(0) rotate(45deg);
	transform: translateY(0) rotate(45deg);
}

input[type="checkbox"].menu-trigger:checked + div > label > span:nth-of-type(3) {
	opacity: 0;
}


/*child_menu_style*/

input[type="checkbox"].on-off{
    display: none;
}


input[type="checkbox"].on-off + li > label{
	padding: 0;
	float: left;
}
/*
input[type="checkbox"].on-off + li > label:before{
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	padding: 0;
	position: relative;
	width: 30px;
	height: 22px;
}*/
#menu_parent{
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	margin: 0;
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	border-left: 5px solid #275AF2;
/*    list-style: none;*/
}
#menu_parent > ul * {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
/*    list-style: none;*/
    overflow:auto;
}


#menu_parent + label > li * {
    padding: 5px;
}

input[type="checkbox"].on-off + label + ul{
    height: 0;
    overflow: hidden;
    height: 0px;
}

input[type="checkbox"].on-off:checked + label + ul{
    height: 10000px;
    max-height: 50px;
}

input[type="checkbox"].on-off + label > li > div{
	padding: 0;
	float: right;
	position: relative;
	left:0px;
	width:20px;
	height: 24px;
}



/*右側の＋*/
input[type="checkbox"].on-off + label > li > div > span{
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	position: absolute;
	width: 50%;
	height: 2px;
	background-color: #275AF2;
	border-radius: 4px;
	top: 10px;
}

input[type="checkbox"].on-off + label > li > div > span:nth-of-type(1){
	-webkit-transform: translateY(0) rotate(90deg);
	transform: translateY(0) rotate(90deg);
	/*top:10px;*/
}

input[type="checkbox"].on-off + label > li > div > span:nth-of-type(2){
	/*top:10px;*/
}

input[type="checkbox"].on-off:checked + label > li > div > span:nth-of-type(1){
	opacity: 0;
	/*-webkit-transform: translateY(0px) rotate(35deg);
	transform: translateY(0px) rotate(0deg);*/
}

input[type="checkbox"].on-off:checked + label > li > div > span:nth-of-type(2){
	-webkit-transform: translateY(0) rotate(360deg);
	transform: translateY(0) rotate(360deg);

/*-	-webkit-transform: translateY(0px) rotate(-30deg);
	transform: translateY(0px) rotate(-0deg);*/
}

.disable-accordion-menu{
	padding: 0;
	float: right;
	position: relative;
	left: 0px;
	width: 20px;
	height: 24px;
}



.scroll-stop{
	overflow: hidden;
}

label > * { /*iOSでlabelの子要素クリックがinput type=checkboxに反映されない問題を解決*/
    display: block;
    pointer-events: none;
}

.closebuttonlabel{
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    width: 88px;
    height: auto;
    margin-top: 16px;
    background-color: rgba(51,18,18,1.00);
}


}
