@charset "utf-8";

header{
	position: sticky;
	z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  top: 0;
  font-weight: 700;
}
header .area{
  width: 100%;
  box-sizing: border-box;
  background-color: #f9f9f9;
}
header .logo{
  padding: .5em 1.2em;
}
@media screen and (max-width: 520px){
	header{
    position: fixed;
  }
  header .area{
    align-items: flex-start;
    background-color: transparent;
  }
  header .logo{
    background-color: #fff;
    padding: .5em 1em .75em 1em;
    border-radius: 0 0 1em 0;
  }
  header .logo img{
    max-width: 30vw;
  }
}

/*--------------------------------------------------------------------*/

@media screen and (min-width: 521px){
  header .menu{
    display: none;
  }
}
@media screen and (max-width: 520px){
  header .menu{
    position: relative;
    align-items: stretch;
    display: inline-block;
    z-index: 3;
    margin-left: auto;
    background-color: var(--c_main_orange);
    border-radius: 0 0 0 1em;
  }
  header .menu .button{
    position: relative;
    z-index: 1100;
    width: 14px;
    height: 14px;
    margin: 18px;
  }
  header .menu .button .line{
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    transition: all .3s;
  }
  header .menu .button .line:nth-of-type(1){
    top:0;
  }
  header .menu .button .line:nth-of-type(2){
    top: 0;
    bottom: 0;
  }
  header .menu .button .line:nth-of-type(3){
    bottom: 0;
  }
  header.active .menu .button .line:nth-of-type(1){
    top: 0;
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  header.active .menu .button .line:nth-of-type(2){
    opacity: 0;
  }
  header.active .menu .button .line:nth-of-type(3){
    top: 0;
    bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
}

/*--------------------------------------------------------------------*/

.global_navigation[data-navigation-type="overlay"]{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 999;
}
header.active + .global_navigation[data-navigation-type="overlay"]{
  display: block;
}
.global_navigation[data-navigation-type="overlay"] .bg_button{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/*--------------------------------------------------------------------*/

.global_navigation nav li.anc{
  padding: .75em 1em;
  margin: 0 ;
}
.global_navigation nav li.action{
  margin-left: 2em;
}
.global_navigation nav li.action a{
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2FB476;
  padding: 1em 2em;
  box-sizing: border-box;
}
.global_navigation nav li.action a .label{
  padding-left: 2em;
  background-image: url("../img/icon_scan.svg");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 1.2em auto;
}
@media screen and (max-width: 520px){
  .global_navigation{
    position: fixed;
    bottom: 0;
    width: 100%;
    transform: translate(0, 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, transform .3s;;
  }
  .global_navigation nav{
    overflow: hidden;
  }
  .global_navigation nav ul{
    flex-wrap: wrap;
    align-items: stretch;
    letter-spacing: 0;
    font-size: 3.2vw;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--c_border_gray);
    border-radius: 3vw;
    overflow: hidden;
    background-color: #fff;
  }
  .global_navigation nav li.anc{
    border-color: var(--c_border_gray);
    border-style: solid;
    border-width: 1px 0 0 1px;
    line-height: 1.3;
    width: 50%;
    box-sizing: border-box;
    padding: 0;
  }
  .global_navigation nav li.anc:nth-of-type(1),
  .global_navigation nav li.anc:nth-of-type(2){
    border-top: 0;
  }
  .global_navigation nav li.anc:nth-of-type(odd){
    border-left: 0;
  }
  .global_navigation nav li.anc a{
    min-height: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .global_navigation nav li.action{
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .global_navigation nav li.action a{
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2FB476;
    padding: 1em 2em;
    box-sizing: border-box;
  }
  header.active .global_navigation{
    opacity: 1;
    transform: translate(0, 0%);
    visibility: visible;
  }
  header.active + #main{
    opacity: 0.2;
    pointer-events: none;
  }
}

