@charset "UTF-8";

#wpadminbar{
    bottom: 0;
    top: auto;
}
body , html {
    height: 100%;
}
#screen{
    width: 100%;
    position: relative;
    height: auto !important;
    height: 100%;
    min-height: 100%;
}

/* ===== header ===== */
#header{
  /*
  box-shadow:  0 5px 5px rgba( 0, 0, 0, 0.1 );
  */
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  z-index: 1000;
  background: rgba( 255, 255, 255, 1 );
  border-bottom: 1px solid #eee
}
  div.header-inner{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width:100%;
  }
  div.header-inner > div{
  }
  #prev{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-right:1px solid #ccc;
    background: #fff;
  }

  #MINAQUATELLA{
    padding: 15px 0px 15px 0px;
    width: 50px;
    margin:0 auto;
    z-index: 10
  }
  #MINAQUATELLA a{
    display: block;
    color:#666;
  }
  #MINAQUATELLA img{
    display: block;
    width:100%;
    opacity: 0.8;
  }

  #contact_info{
    position: absolute;
    top: 18px;
    right:30px;
    width:25px;
    height:20px;
  }
  #contact_info img{
    display: block;
  }
  #menu{
    display: block;
    position: absolute;
    top:0;
    height: 100%;
    width:100%;
    padding: 0 30px ;
    box-sizing: border-box;
    font-size:90%;
  }
  #menu ul{
    display: flex;
    justify-content: center;
    width:100%;
    max-width: 1000px;
    margin: 0 auto;
  }
  #menu li{
    flex-grow: 1;
    width:20%;
  }
  #menu li#b_MINAQ{

  }
  #menu li#b_WORKS{

  }
  #menu li#b_MEMBER{
    margin-right:120px;
  }
  #menu li#b_PROFILE,
  #menu li#b_ONENGA,
  #menu li#b_CONTACT{

  }
  #menu a{
    padding: 25px 3px;
    display: block;
    color:#555;
    text-align: center;
    line-height: 1;
    letter-spacing: 1px;
    font-weight: normal;
    font-family: 'citizen';
    font-size:1.1rem;
  }
  #menu li.active a,
  #menu a:hover{
    color: #b2a99e;
  }
  #menu a.arrow::before{
    content: none;
  }
  #menu li:last-child a{
    border-bottom: none;
  }

  #overlay{
    background: rgba( 255, 255, 255, 0.8 );
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 10;
    display: none;
  }
  .show-menu #overlay{
    display: block;
  }

/* ===== contents ===== */
#main{
    padding-top: 45px;
    padding-bottom: 100px;
    position: relative;
    width:100%;
    box-sizing: border-box;
    left:0;
    overflow: hidden;
}
#contents{
}
.page-header{
  text-align: center;
  padding: 8px 0;
  background: #ff0000;
}
.page-header h1{
  font-size:110%;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 3px rgba( 0, 0, 0, 0.3 );
}
.pad{
  padding: 90px 5%;
}
.narrow{
  max-width: 50%;
  margin:0 ;
}
section.detail .pad{
  padding-top: 70px;
}
section{
  border-bottom:1px solid rgba( 178, 169, 158 , 0.7 );
}

section:last-child{
  border-bottom: none;
}
section#CONTACT{
  border-bottom: none;
}

/* ===== page ===== */
#page{
  position: fixed;
  left: 100%;
  width: calc(100% - 60px);
  height: 100%;
  padding: 0;
  top: 0;
  background: #fff;
  overflow: auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  padding: 0px;
  box-sizing: border-box;
}

/* ===== pageActive ===== */
body #page,
body #main,
body #header,
body #footer{
  transition:all 0.1s;
  transition-timing-function :ease-in-out;
}

body.pageActive #page,
body.pageActive #main,
body.pageActive #header,
body.pageActive #footer{
  transition:all 0.4s;
  will-change: transform;
}

body.pageActive #header {
  left: calc(-100% + 60px);
  border-color:#000;
}
body.pageActive #footer {
  left: calc(-100% + 60px);
}
body.pageActive #main{
  left: calc(-100% + 60px);
  z-index: 10;
}
body.pageActive #page{
  left:60px;
  will-change: transform;
}
body.pageActive #navBg{
  opacity: 1;
  transition:all 0s;
  transition-delay : 0.3s;
}
#navBg{
  opacity: 0;
  position: fixed;
  height:100%;
  width:60px;
  background: rgba( 255,255, 0, 1 );
  z-index: 1005;
  cursor: pointer;
}
#navBg::after{
  content:'';
  border:8px solid transparent;
  border-right:12px solid #333;
  position: absolute;
  top:50%;
  left:14px;
}

/* ===== footer ===== */
#footer{
  text-align: center;
  padding: 40px 0;
  font-size: 0.85rem;
  color:#666;
  position: absolute;
  bottom:0;
  left:0;
  width:100%
}
#privacy_policy{
}
#footer .p-mark{
  width: 60px;
  margin: 0 auto;
}
#footer a{
  color: #004098;
}

#footer .p-mark img{
  display: block;
  width: 100%;
}
.wrapper{
  max-width: 1100px;
  margin: 0 auto;
}


/* ==================== タブレット ==================== */
@media screen and (max-width: 768px){
  #header{
    border-top:1px solid #cc0000;
  }
  #menu li#b_MEMBER{
    margin-right:110px;
  }
  #menu li#b_PROFILE {
    margin-left: 0px;
  }
  .pad{
    padding: 50px 5%;
  }
  #menu{
    padding: 0 10px;
  }
  #menu a{
    font-size:1rem;
    letter-spacing: 0.2px;
  }
  #MINAQUATELLA{
    width:45px;
  }
  .narrow{
    max-width: none;
  }
  section.detail .pad{
    padding-top:50px;
  }
}



/*
    sp
*/
@media screen and (max-width:479px) {
  div.header-inner{
    display: block;
  }
  #MINAQUATELLA{
    width: 26px;
    padding: 8px 0px;
  }

  /* nav */
  #nav{
    display: block;
    position: absolute;
    right:20px;
    top:50%;
    width:40px;
    height:40px;
    margin:-20px 0 0 0;
  }
  #nav span {
    background: #333;
    display: block;
    height: 3px;
    margin: 0 0 0 0px;
    left: 22px;
    width: 20px;
    border-radius: 3px;
    position: absolute;
    transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
  }
  #nav span:first-child{
    top:50%;
    margin-top: -6px;
  }
  #nav span:nth-child(2){
    top:50%;
  }
  #nav span:nth-child(3){
    top:50%;
    margin-top: 6px;
  }
  #nav.active{
    background: #aaa;
  }
  #nav.active span{
    background: #fff;
  }
  #nav.active span:first-child{
    -o-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    margin:0;
    left:22px;
  }
  #nav.active span:nth-child(2){
    opacity:0;
  }
  #nav.active span:nth-child(3){
    margin:0;
    -o-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left:22px;
  }
  #pageTitle{
    justify-content: center;
  }

  #menu{
    position: static;
    padding:0;
    border-top:1px solid #eee;
  }
  #menu li#b_MEMBER,
  #menu li#b_PROFILE{
    margin:0;
  }
  #menu li{
    width:auto;
  }
  #menu a{
    padding: 10px 1px;
    font-size:0.85rem;
    letter-spacing: 0;
  }
  section.detail .pad{
    padding-top:30px;
  }

  #main{
    padding-bottom: 150px;
  }
  /* menu */
  /*
  #menu{
    background: #333;
    display: none;
  }
  #menu ul{
    display: block;
  }
  #menu li{
    width:auto;
  }

  #menu a{
    padding: 12px 5%;
    font-size:1.1rem;
    text-align: left;
    border-bottom:1px solid rgba( 0, 0, 0, 1 );
    border-top:1px solid rgba( 255,255, 255, 0.2 );
  }
  #menu a::after{
    content: '';
    border-top:2px solid #999;
    border-right:2px solid #999;
    transform: rotate(45deg);
    width:5px;
    height:5px;
    display: inline-block;
    vertical-align: middle;
    margin:-2.5px 10px 0 0 ;
    line-height: 1;
    position: absolute;
    right:13px;
    top: 50%;
  }
  #menu li:last-child a{
    border-bottom: none;
  }
  */
  section.detail .pad{
    padding-top:30px;
  }
  .pad{
    padding:25px 20px;
  }

  /* ===== pageActive ===== */

  body.pageActive #header {
    left: calc(-100% + 40px);
  }
  body.pageActive #footer {
    left: calc(-100% + 40px);
  }
  body.pageActive #main{
    left: calc(-100% + 40px);
    z-index: 10;
  }
  body.pageActive #page{
    left:40px;
  }

  #navBg{
    width:40px;
  }
  #navBg::after{
    border:7px solid transparent;
    border-right:10px solid #000;
    left:8px;
  }
  /* ===== page ===== */
  #page{
    width: calc(100% - 40px);
  }
}
