@charset "UTF-8";

/*
=====================================================================
  特定非営利活動法人 ひびきの杜 モーダル
=====================================================================
*/

/*
Pure CSS modal box
Author: Jorge Chavez
Github: http://github.com/jorgechavz
*/

input {
  display: none;
  }

button {
  border: none;
  background: none;
  outline:none;
  padding:0 !important;
  }

.menu, .menu span {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  box-sizing: border-box;
}

.menu {
  position: relative;
  top: 0;
  right: 0;
  width: 40px;
  height: 26px;
  z-index: 20000;
  cursor:pointer;
  }

.menu span {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #3e3a39;
  z-index: 20000!important;
  }

.menu span:nth-of-type(1) {
  top: 0px;
  }

.menu span:nth-of-type(2) {
  top: 12px;
  }

.menu span:nth-of-type(3) {
  bottom: 0px;
  }

.menu.active span:nth-of-type(1) {
  -webkit-transform: translateY(12px) rotate(45deg);
  transform: translateY(12px) rotate(45deg);
  }

.menu.active span:nth-of-type(2) {
  opacity: 0;
  }

.menu.active span:nth-of-type(3) {
  -webkit-transform: translateY(-12px) rotate(-45deg);
  transform: translateY(-12px) rotate(-45deg);
  }

.menu p{
  padding-top:30px;
  }

#nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  opacity: 0;
  background-color: #fffbe9;
  transition: all 0.3s ease-in-out;
  visibility: hidden;
  z-index: 20000!important;
  }

#nav.active {
  right: 0;
  opacity: 1;
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  }

#nav a{
  color:#3e3a39;
  text-decoration:none;
  }

#nav a:hover{
  color:#ccc;
  }

#nav ul.navMenu{
  margin:60px 0 30px;
  text-align:center;
}

#nav ul.navMenu{
  background-image: url(../img/union/bg_roof.png), url(../img/union/bg_floor.png);
  background-position: top center, bottom center;
  background-size: 80% auto, 80% auto;
  background-repeat: no-repeat, no-repeat;
  padding:160px 0 120px;
}


#nav ul.navMenu li {
  width: 100%;
  font-weight:500;
  }

#nav ul.navMenu a {
  color: #3e3a39;
  font-size: 1.6rem;
  display:inline-block;
  padding:15px 40px;
  letter-spacing: 0.1em;
}

#nav ul.navMenu li.btnIgSp a{
  background: #ea5614;
  width: 50%;
  margin-bottom: 15px;
  color: #fffbe9;
  border-radius: 100px;
  font-size: 1.4rem;
}

#nav ul.navMenu li.btnIgSp a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  background: url(../img/union/icon_ig.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
}

#nav ul.navMenu li.btnNetshopSp a{
  background: #469f5a;
  width: 50%;
  color: #fffbe9;
  border-radius: 100px;
  font-size: 1.4rem;
}

#nav ul.navMenu li.btnNetshopSp a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  background: url(../img/union/icon_shop.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
}


























