@charset "UTF-8";
/*スマホメニューの色*/
/*スマホメニューの色*/
.menu-trigger,
nav {
  display: none;
}

@media screen and (max-width: 842px) {
  .wrapper {
    overflow-x: hidden;
    position: relative;
  }
  .wrapper.on {
    height: 100vh;
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
  }
  .overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
    position: fixed;
  }
  .wrapp_bace {
    padding: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    min-height: 100vh;
  }
  .wrapp_bace.open {
    height: 0;
  }
  .menu-trigger {
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 100;
    background-color: #00a273;
  }
  .menu-trigger span {
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    left: 11px;
    width: 30px;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 14px;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 24px;
  }
  .menu-trigger span:nth-of-type(3) {
    top: 34px;
  }
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(8px) rotate(-45deg);
            transform: translateY(8px) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
            transform: translateY(-12px) rotate(45deg);
  }
  nav {
    display: block;
    width: 100vw;
    height: 100%;
    padding-top: 100px;
    background-color: #00a273;
    color: #333;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    -webkit-transform: translate(100vw);
            transform: translate(100vw);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  nav ul {
    padding: 40px;
  }
  nav.open {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  nav li {
    color: #333;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px #ccc solid;
    text-align: left;
    color: #fff;
  }
  nav li a {
    display: block;
  }
  nav li a:link {
    color: #fff;
  }
  nav li a:visited {
    color: #fff;
  }
  nav li a:hover {
    color: #fff;
  }
  nav li.spmenuon {
    position: relative;
  }
  nav li.spmenuon:after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
    -webkit-transform-origin: bottom left;
            transform-origin: bottom left;
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
  }
  nav li.spmenuon.on:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: 20px;
  }
  nav li.spmenuon ul {
    display: none;
    padding: 0;
  }
  nav li.spmenuon ul li {
    padding: 10px 10px 10px 40px;
    border-bottom: none;
  }
  nav .contactbtn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    background: #fff;
    line-height: 1;
    height: 60px;
    display: -ms-grid;
    display: grid;
    justify-items: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 80vw;
    margin: 0 auto;
  }
  nav .contactbtn i {
    width: 25px;
    height: 20px;
    margin: 0 auto 0.1em auto;
    display: table;
    background: url("../images/common/email_PC2.svg") no-repeat center;
    background-size: contain;
  }
  nav .contactbtn a:after {
    content: "お問い合わせ";
    color: #00a273;
    font-size: 15px;
  }
}