@media screen and (max-width:1024px){
  .wrapper {
    height: 100%;
    overflow-x: hidden;
    position: relative;
  }
  .overlay {
    content: "";
    display: inherit;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1010;
    opacity: 0;
    transition: opacity .5s;
  }
  .overlay.open{
    width: 100%;
    height: 100%;
    opacity: 1;
    position: fixed;
    transition: opacity 1s;
  }
  main {
    height: 100%;
    min-height: 100vh;
    padding: 0 50px;
    background-color: #eee;
    transition: all .5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  main.open {
    transform: translateX(-250px);
  }
  main h1 {
    text-align: center;
    font-weight: 500;
  }
  main p {
    text-align: center;
  }
  #header2{
    display: block;
  }
  .menu-trigger {
    display: inline-block;
    width: 36px;
    height: 28px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 1030;
     transform: translateX(0);
    transition: transform .5s;
   }
   .menu-trigger.active {
    transform: translateX(-250px);
  }
   .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #000;
    transition: all .5s;
  }
  .menu-trigger.active span {
    background-color: #fff;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger.active span:nth-of-type(1) {
    transform: translateY(12px) rotate(-45deg);
  }
  .menu-trigger span:nth-of-type(2) {
    top: 12px;
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg);
  }

  .sp-menu {
    width: 250px;
    height: 100%;
    background-color: #ddd;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1020;
    transform: translate(250px);
    transition: all .5s;
    display: inherit;
  }
  .sp-menu.open {
    transform: translateZ(0);
  }

  .sp-menu ul{
    padding-top: 0;
    height: 100%;
    overflow: auto;
  }

  .sp-menu li {
    text-align: left;
    padding: 20px 0 20px 20px;
    border-bottom: 1px solid #ececec;
  }

  .sp-menu li:nth-last-child(1){
    border-bottom: none;
  }

  .sp-menu li a{
    text-decoration: none;
    color: #006700;
    font-weight: bold;
  }
}


.parent{
    color: #006700;
    text-align:left;
    padding:20px;
    position: relative;
    cursor:pointer;
    font-size: 80%;
    font-weight: bold;
  }

  .item-mincho{
    font-family: Georgia, 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  }

  .sp-item2{
    background:#6CBB5A;
  }

  .sp-menu .child{
    display:none;
    /*height:550px;*/
    padding-top: 0;
  }

  .child li{
    display:none;
    /*margin:20px 0;*/
  }

  .child a{
    display: block;
    padding: 10px 0;
    font-size: 100%;
  }

  .parent:after{
    background:url(../img/sp/open.png) no-repeat left top;
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position:
    absolute;
    right: 14px;
    background-size: 100% auto;
    top:44%;
    bottom:0;
    -webkit-transition: 0.3s linear;
    -moz-transition:0.3s linear;
    -ms-transition:0.3s linear;
    transition: 0.3s linear;
    transform-origin: 0 0;
    -webkit-transform-origin: 50% 25%;
    -ms-transform-origin: 50% 25%;
  }
  .open_close_r:after{
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
  }

.q-2{
  padding: 1.8em 1em;
}

  .sp-item2{
    background:#6CBB5A;
  }

  

  .sp-under{
    width: 15%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }


.open-winow{
  overflow: hidden;
  position: fixed;
  overflow-y:hidden;
}

