@charset "utf-8";

/***** box_btn *****/
.box_btn {
  text-align: center;
  width: 240px;
  margin: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 16%);
}

.box_btn:before {
  /*background: #000;*/
  transition: 0.3s;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  z-index: 999999;
  position: absolute;
  border: #000 solid 2px;
  border-image: linear-gradient(60deg, #faee00, #49b993, #2ea7e0, #601986, #e4007f) 1;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
}

.box_btn::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 41.17"><path fill="%23000" d="m2.61 41.17-2.32-2.2 17.3-18.24L0 2.2 2.32 0 22 20.73z" /></svg>');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;
  width: 14px;
  height: 16px;
  right: 20px;
  top: calc(50% - 8px);
  transition: 0.3s;
}

.box_btn .btn_link {
  display: block;
  position: relative;
  font-weight: 900;
  text-decoration: none;
  padding: 20px 20px 20px 0;
  background: #fff;
  border: #000 solid 2px;
}

.box_btn .btn_link::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 5px;
  left: 5px;
  background: linear-gradient(60deg, #faee00, #49b993, #2ea7e0, #601986, #e4007f);
  z-index: -1;
}

.box_btn .btn_link .btn-text {
  letter-spacing: 1px;
  transition: 0.3s;
}

.box_btn .btn_link .off-hover {
  display: block;
  color: #000;
  z-index: 0;
}

.box_btn .btn_link .on-hover {
  position: absolute;
  top: 50%;
  left: 46%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background: linear-gradient(115deg, #49b993, #2ea7e0, #601986);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  z-index: -1;
  opacity: 0;
}

.box_btn:hover::before {
  opacity: 1;
}

.box_btn:hover::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 41.17"><path fill="%23c20781" d="m2.61 41.17-2.32-2.2 17.3-18.24L0 2.2 2.32 0 22 20.73z" /></svg>') !important;
}

.box_btn:hover .btn_link .off-hover {
  opacity: 0;
}

.box_btn:hover .btn_link .on-hover {
  opacity: 1;
  z-index: 0;
}

/************side-manu***********************/
/*g-menu*/
#humberger {
  cursor: pointer;
  position: absolute;
  height: 50px;
  width: 50px;
  display: inline-block;
  box-sizing: border-box;
  top: 5px;
  right: 5px;
  z-index: 999;
  display: none;
  transition: all .6s;
  transform-origin: center;
}

#humberger span {
  transition: all .4s;
  background-color: #000;
}

#humberger span:nth-of-type(1) {
  bottom: 30px;
  left: 10px;
}

#humberger span:nth-of-type(2) {
  bottom: 20px;
  left: 10px;
}

#humberger span:nth-of-type(3) {
  bottom: 10px;
  left: 10px;
}

#humberger.active {
  /*transform: rotate(360deg);*/
}

#humberger.active span {
  background-color: #fff;
}

#humberger.active span:nth-of-type(1) {
  top: 22px;
  left: 10px;
  transform: translateY(6px) rotate(-45deg);
  width: 60%;
}

#humberger.active span:nth-of-type(2) {
  opacity: 0;
  /*真ん中の線は透過*/
}

#humberger.active span:nth-of-type(3) {
  top: 34px;
  left: 10px;
  transform: translateY(-6px) rotate(45deg);
  width: 60%;
}


@media (max-width: 769px) {
  body.passive {
    overflow: hidden;
  }
}

.hide-menu {
  display: none;
}

#header.slim .hide-menu {
  display: block;
}

#header.slim .hide-menu-small {
  font-size: 16px !important;
  bottom: 50px;
  position: absolute;
  transition: .3s;
}

#header.slim #humberger {
  display: block;
}

#header.slim .logo {
  background: none;
}

#header.slim .head-nav {
  transition: .4s ease-out;
  height: 100vh;
  width: 100%;
  max-width: 400px;
  right: 0;
  position: absolute;
  right: -100%;
  background: url(../img-top/rgb.jpg);
  background-size: cover !important;
  background-position: center !important;

}

#header.slim.active .head-nav {
  top: 0;
  right: 0;
}

#header.slim .head-nav ul {
  flex-direction: column;
  justify-content: flex-start;
  padding: 13%;
  position: relative;
  /*padding-top: 15vh;*/
  padding-top: 0;
}

#header.slim .head-nav a {
  font-size: 1.8rem;
  margin: 20px 0;
}

#header.slim #open-bg {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  background: #fff;
  z-index: -1;
  top: 0;
  left: 0;
  opacity: .0;
  transition: all .3s;
  pointer-events: none;
}

#header.slim.active #open-bg {
  opacity: .8;
  pointer-events: auto;
  cursor: pointer;
}

/*style.cssへ統合　打消し*/
#header .logo {
  min-width: 200px;
  text-align: center;
}

#header .head-nav {
  padding: 20px 0;
}

#header .head-nav a {
  letter-spacing: .1em;
}

@media only screen and (max-width: 1200px) {
  #header .logo {
    width: 100%;
    background: #fff !important;
    text-align: left;
  }

  #header.slim .head-nav {
    max-width: 270px;
  }

  #header.slim .head-nav ul {
    display: initial !important;
  }

  #header .head-nav {
    width: initial;
  }

  #header.slim .hide-menu-small {
    bottom: 150px;
  }
}

@media only screen and (max-height: 490px) {
  #header.slim .hide-menu-small {
    opacity: 0;
  }


}



@media(max-width:599px) {

  #header.slim .head-nav ul {
    padding: 10%;
    padding-top: 10vh;

  }

  #header.slim .head-nav a {
    margin: 15px 0;
  }


}


@media (max-height:670px) {


  #header.slim .head-nav a {
    font-size: 27px;
  }

  #header.slim .navbar-nav .menu-jp {
    font-size: 12px;
  }

  #header.slim.active #menu-item-1077 {
    display: none;
  }

}
