	#logo {
	position: relative;
	top: 0em;
    left: 2em;
	display: inline-block;
	margin: 0;
	padding: 0;
	z-index: 99999;
	}
	.logo-opens {
	display: none;
	visibility: hidden;
	}
	.white {
	color: #ffffff;
	}
	#head-inner {
	margin: 0 auto 0 auto;
	display: flex;
	justify-content: space-between;
    align-items: center;
	}
	#head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: auto;
	}
	.win #head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: auto;  
	}
	
	#gnt {
		display: none;
		visibility: hidden;
	}

@media only screen and (min-width: 1060px) {
    #global-navi { display: flex; align-items: center;}
    #chumon { background: #ffae00; }
    #chin { padding: 1em 1.5em;}
    .ch1 { font-size: 18px; font-weight: bold; line-height: 1;}
    .ch2 { 
    font-family: "Roboto Condensed", sans-serif;
    font-size: 38px;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    line-height: 1;
  }
  .ch3 {line-height: 1;}

  .bt01 a::before { content: url(images/ic01.svg); padding-right: .3em; vertical-align: middle; text-decoration: none; position: relative; top:-.2em;}
  .bt02 a::before { content: url(images/ic02.svg); padding-right: .3em; vertical-align: middle; text-decoration: none; position: relative; top:-.2em;}
  .bt03 a::before { content: url(images/ic03.svg); padding-right: .3em; vertical-align: middle; text-decoration: none; position: relative; top:-.2em;}
    /* .sp { display: none; visibility: hidden;} */
	#menu {
	display: block;
	margin: 0;
	}
	nav ul.menu {
	display: flex;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	line-height: 0;
	}
	_:lang(x)::-moz-placeholder, nav ul.menu {
	display: flex;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	line-height: 1;
	}
	nav ul li {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    list-style: none;
    padding:0;      
    margin: 0; 
    }

    nav ul li a {
      color: #333;
    text-decoration: none;
    -webkit-transition: 0.5s;
     transition: 0.5s;
     margin: 0;
     padding: 2em 0;
     margin: 0 1em;
     line-height: 0;
    }



    nav ul li.end a {
	color: #333;
	background: #fff;   
    }
    nav li a.hierarchy {    
    pointer-events: none;
	}
	
    nav ul li a {
  position: relative;
  display: block;
  text-decoration: none;
}
nav ul li a:hover {
  color: #ec0000;
}


    nav li ul {
    display: none;
    }
    nav li ul.inner {
    line-height: 0;
    margin-top: 0em;
    margin-left: -1em;
    }
    .win nav li ul.inner {
    line-height: 0;
    margin-top: 2.2em;
    margin-left: -1em;
    }

   nav ul li:hover ul {
        display: block;
        position: absolute;
        z-index: 500;
        border: 0;
        margin: 0 0 0 -1em;
    }
    nav li li,
    nav li li:first-child {
        padding: 0;
        margin: 0;
        float: none;
        display: block;
        border: 0;
        list-style: none;
    }
    nav li li a {
        font-size: 16px;
        padding: 1.5em 1em;
        margin: 0;
        background: #212121;
        display: block;
        color: #ffffff;
        width: 100%;
        height: auto;
        opacity: .9;
    }
    nav li.bt01 li a::before, nav li.bt02 li a::before, nav li.bt03 li a::before { content: none;}
    nav li li a:hover {
        background: #ec0000;
        color: #fff;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        opacity: 1;
    }
    nav li:hover ul li a:last-child {
        border: 0;
    }
}



@media screen and (max-width: 1059px) {

	#gnt {
		display: block;
		visibility: visible;
	}
#global-navi {  align-items: center;}
    #chumon { background: #fff; display: block; width: 90%; text-align: center; margin: 5em auto 0 auto; }
    #chin { padding: 1em 1.5em;}
    .ch1 { font-size: 18px; font-weight: bold; line-height: 1;}
    .ch2 { 
    font-family: "Roboto Condensed", sans-serif;
    font-size: 38px;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    line-height: 1;
  }
  .ch3 {line-height: 1;}
#head { 
	box-shadow: none;
}
.win #head { 
	box-shadow: none;
}
    nav li a.hierarchy {    
    pointer-events: auto;
  }
#head {
	width: 100%;
	display: inline-block;
	margin: auto;
	background: none;
	border-radius: 0;   
}
#head.hdb {
	background:#ddd url(images/bkg.jpg) no-repeat -1em center;
	height: 95px;
    position: fixed;
    left: 0;
    right: 0;
}
	


	#logo {
	position: relative;
	top: 0em;
    left: .5em;
	display: inline-block;
	margin: auto;
	padding: 2em 0;
  z-index: 0;
	}

#head.hdb h1 {
	left: 1em;
}
	#head-inner {
	display: block;
}


#global-navi {
    background:#333;
    position: fixed;
    top: 0;
    right: 0px;
    width: 100%;
}

#naviwrap nav {
   position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    background: #df0000;
    box-sizing: border-box;
    z-index: 2;
    overflow-y: auto;
    padding-bottom: 3em;
}

#naviwrap nav ul {
	margin: 3em 0 0 0;
	padding: 0;
	text-align: left;
}

#naviwrap nav ul ul {
	margin:  0;
	padding: 0;
  
}
#naviwrap nav ul li {
    display:block;
    font-size: 26px;
    font-weight: bold;
    padding: .6em 1em;
    margin: 0;
    margin: 0
    }
 #naviwrap nav ul li ul li {
 font-size: 18px;
 line-height: 1.2;
 }
#naviwrap nav ul li a {
    text-decoration: none;
	color: #fff;
	display:block;
}
 
#naviwrap .btn-gnavi span {
     display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}


#naviwrap .btn-gnavi {
	position: fixed;
    top: 25px;
    right: 20px;
    z-index: 3;
    cursor: pointer;
	width: 40px;
  height: 35px;
      box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms
}



#naviwrap .btn-gnavi span {
	position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #111;

	}

#naviwrap .btn-gnavi span:nth-of-type(1) {
   top: 0;
}
 
#naviwrap .btn-gnavi span:nth-of-type(2) {
    top: 12px;
}
 
#naviwrap .btn-gnavi span:nth-of-type(3) {
    bottom: 7px;
}
 
#naviwrap .btn-gnavi.open span:nth-of-type(1) {
  -webkit-transform: translateY(12px) rotate(-315deg);
  transform: translateY(12px) rotate(-315deg);
}
#naviwrap .btn-gnavi.open span:nth-of-type(2) {
  opacity: 0;
}
#naviwrap .btn-gnavi.open span:nth-of-type(3) {
  -webkit-transform: translateY(-12px) rotate(315deg);
  transform: translateY(-12px) rotate(315deg);
}

#naviwrap .btn-gnavi #gnt {
	text-align: center;
	font-size: 12px;
	position: relative;
	color: #333;
	 bottom: -28px;
}
 
#naviwrap .btn-gnavi.open span {
    background: #fff
}

#naviwrap .btn-gnavi.open #gnt {
  color: #fff;
}
 
#naviwrap .btn-gnavi.open span {
    width: 40px;
}
#naviwrap .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 6px #666
}
 
#naviwrap .contents section:nth-child(odd) p {
    left: 10%
}
 
#naviwrap .contents section:nth-child(even) p {
    right: 10%
}

.menu .inner {display: none;}
.menu a {cursor: pointer; padding: 10px;}
.menu a .hierarchy{background: #F50057;}

a.hierarchy:after{
	color: #fff;
    content:url("arrowup.svg");
    padding:0 10px;
    position: relative;
    top: .1em;
}


a.selected:after {
	content:url("arrowdw.svg");
}
}

@media screen and (max-width: 310px) {
	h1 {
	position: relative;
	top: 1.3em;
	display: inline-block;
}

h1 img {
	width: 160px;
	height: auto;
}
.logo-opens {
	top:1.9em;
}
.logo-opens img {
	width: 160px;
	height: auto;
}
}