/* Ripple Modal Styles */
.modal2 {
  background: #1f254f;
  height: 100vh;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition: opacity .5s linear;
  transition: opacity .5s linear;
  width: 100vw;
  z-index: 3;
}
.modal2.active {
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: none;
  transition: none;
}

.ripple-container {
  height: 100vh;
  left: 0;
  overflow: hidden;
  position: fixed;
  pointer-events: none;
  top: 0;
  width: 100vw;
  z-index: 3;
}
.ripple-container .ripple {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #1f254f;
  border-radius: 50%;
  display: block;
  -webkit-mask-image: -webkit-radial-gradient(circle, #ffffff, #000000);
  mask-image: radial-gradient(circle, #ffffff, #000000);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  -webkit-transform: translate(-50%, -50%) scale(0) translateZ(0) translate3d(0, 0, 0);
  transform: translate(-50%, -50%) scale(0) translateZ(0) translate3d(0, 0, 0);
  overflow: scroll;
  will-change: opacity;
}
.ripple-container .ripple.is-animating {
  -webkit-animation: ripple 1s linear;
  animation: ripple 1s linear;
  -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
  transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
}

@-webkit-keyframes ripple {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0) translateZ(0) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) scale(0) translateZ(0) translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    opacity: 0;
  }
}

@keyframes ripple {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0) translateZ(0) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) scale(0) translateZ(0) translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) scale(1) translateZ(0) translate3d(0, 0, 0);
    opacity: 0;
  }
}
/* Demo Styles */

.modal2-trigger {
  display: block;
}

.modal2 {
  background: #1f254f;
}
.modal2 .close {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 30px;
  text-indent: -999999px;
  position: fixed;
  right: 40px;
  bottom: 35px;
  width: 30px;
}
.modal2 .close:before {
  content: "\f406";
  font-family: 'Genericons', sans-serif;
  text-indent: 0;
  position: absolute;
  right: 0;
  color: #eee;
  width: 30px;
}
.modal2 .wrapper {
  top: 50%;
  left: 50%;
  position: absolute;
  text-align: left;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 75%;
  overflow: scroll;
}
.modal2 .wrapper p {
  font-size: 35px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 20px;
}
.modal2 .wrapper ul {
  text-align: left;
  margin: 0 auto;
  width: 100%;
}
.modal2 .wrapper ul a {
  color: #eee;
  display: block;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-decoration: none;
}
@media screen and (max-width:750px){
  .modal2 .close {
    font-size: 30px;
    right: 20px;
    bottom: 20px;
  }
}

/* hbbtn
-----------------------------*/
.hbbtn {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2;
}
.hbbtn .hbname {
  position: fixed;
  height:30px;
  width: 80px;
  right: 2vw;
  bottom: 40px;
  text-align: center;
}
.hbbtn .hbname a{
  color: #eee;
  background-color: #444;
  line-height: 30px;
  width: 80px;
  height: 30px;
  border-radius: 5px 5px 0 0;
}
@media screen and (max-width:750px){
  .hbbtn .hbname {
    height:25px;
    width: 60px;
    right: 5px;
    bottom: 30px;
  }
  .hbbtn .hbname a{
    line-height: 25px;
    width: 60px;
    height: 25px;
    font-size: 10px;
  }
}

/* hbcontent
-----------------------------*/
.hb{
  width: 60vw;
  height: 70vh;
  min-width: 600px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.hb a:link {
  text-decoration: none;
  color: #eee;
}
.hb a:visited {
  text-decoration: none;
  color: #eee;
}
.hb a:active {
  text-decoration: none;
  color: #eee;
}
.hb a:hover {
  text-decoration: none;
  color: #eee;
}

.hb_0{
  width: 70%;
  height: 35px;
  line-height: 35px;
  display: block;
  position: absolute;
  top: 0%;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  border: #eee 1px solid;
  text-align: center;
}
.hb_0 a{
  position: absolute;
  width: 100%;
  height: 35px;
  top: 0%;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.hb_1{
  width: 100%;
  height: 50%;
  display: block;
  position: absolute;
  top: 10%;
}/*menu*/
.hb_1_box{
  width: 20%;
  height: 60%;
  box-sizing: border-box;
  display: block;
  position: relative;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  float: left;
  font-size: 12px;
  text-align: center;
}
.hb_1_box img{
  display: block;
  position: absolute;
  top: 35%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100px;
}
.hb_1_box p{
  display: block;
  position: absolute;
  top: 65%;
  width: 100%;
}

.hb_2{
  width: 100%;
  height: 40%;
  display: block;
  position: absolute;
  top: 55%;
}
.hb_2_box1{
  width: 100%;
  height: 50%;
  display: block;
  position: absolute;
}
.hb_2_box1_box{
  width: 25%;
  height: 100%;
  display: block;
  position: relative;
  float: left;
}/*link*/
.hb_2_box1_box_link{
  font-size: 10px;
  display: block;
  position: absolute;
  width: 12em;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.hb_2_box1_box_link p{
  position: relative;
  width: 10em;
  height: 3em;
  line-height: 3em;
  text-align: center;
}
.hb_2_box1_box_link a{
  display: block;
  position: absolute;
  width: calc(100% + 2em);
  height: 100%;
  border-bottom: 1px #eee solid;
}
.hb_2_box2{
  width: 80%;
  height: 50%;
  display: block;
  position: absolute;
  left: 10%;
  top: 60%;
}
.hb_2_box2_box{
  width: 25%;
  height: 35%;
  display: block;
  position: relative;
  float: left;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.hb_2_box2_box figure {
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: left;
}/*sns*/
.hb_2_box2_box figure span {
  width: 30px;
  height:30px;
  border-radius: 5%;
}
.hb_2_box2_box figure img {
  width: 30px;
  height:30px;
}
.hb_2_box2_box figure p {
  width: 60px;
  height: 1em;
  text-align: center;
  -webkit-transform: translate(-25%, 0);
  transform: translate(-25%, 0);
  color: #eee;
  position: absolute;
  top: 25px;
  font-size: 10px;
}

@media screen and (max-width:750px){
  .hb{
    width: 90vw;
    min-width: 0px;
    min-height: 0px;
  }
  
  .hb_0{
    width: 80%;
    height: 30px;
    line-height: 30px;
    display: block;
    position: absolute;
    top: 0%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    border: #eee 1px solid;
    text-align: center;
  }
  .hb_0:hover{
    background-color: #eee;
    -webkit-transition: all .3s;
    -webkit-transition: all .1s;
    transition: all .1s;
  }
  
  .hb_1{
    width: 100%;
    height: 50%;
    display: block;
    position: absolute;
    top: 15%;
  }/*menu*/
  .hb_1_box{
    width: 20%;
  }
  .hb_1_box img{
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 50px;
  }
  .hb_1_box p{
    display: block;
    position: absolute;
    top: 22%;
    width: 100%;
    font-size: 8px;
  }
  
  .hb_2{
    width: 100%;
    height: 30%;
    display: block;
    position: absolute;
    top: 40%;
  }
  .hb_2_box1_box_link{
    font-size: 6px;
  }/*link*/
  .hb_2_box1_box_link a{
    width: calc(100% + 0em);
    margin-left: 1em;
  }
  .hb_2_box2{
    width: 80%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
  }
  .hb_2_box2_box figure {
    display: block;
    width: 30px;
  }/*sns*/
  .hb_2_box2_box figure span {
    width: 25px;
    height:25px;
    border-radius: 5%;
  }
  .hb_2_box2_box figure img {
    width: 25px;
    height:25px;
  }
  .hb_2_box2_box figure p {
    width: 50px;
    height: 25px;
    text-align: center;
    -webkit-transform: translate(-25%, 0);
    transform: translate(-25%, 0);
    color: #eee;
    position: absolute;
    margin-top: 5px;
    font-size: 6px;
  }
}
@media screen and (max-height:300px){
  .hb{
    height: 90vh;
  }
  .hb_1{
    top: 20%;
  }
  .hb_2{
    top: 50%;
  }
  .hb_2_box2{
    top: 100%;
  }
}
@media screen and (min-width:750px) and (max-height:300px){
  .hb{
    width: 60vw;
    min-width: 0px;
    min-height: 0px;
  }

  .hb_0{
    width: 80%;
    height: 30px;
    line-height: 30px;
    display: block;
    position: absolute;
    top: 0%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    border: #eee 1px solid;
    text-align: center;
  }
  .hb_0:hover{
    background-color: #eee;
    -webkit-transition: all .3s;
    -webkit-transition: all .1s;
    transition: all .1s;
  }

  .hb_1{
    width: 100%;
    height: 50%;
    display: block;
    position: absolute;
    top: 20%;
  }/*menu*/
  .hb_1_box{
    width: 20%;
  }
  .hb_1_box img{
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 50px;
  }
  .hb_1_box p{
    display: block;
    position: absolute;
    top: 22%;
    width: 100%;
    font-size: 8px;
  }

  .hb_2{
    width: 100%;
    height: 30%;
    display: block;
    position: absolute;
    top: 50%;
  }
  .hb_2_box1_box_link{
    font-size: 8px;
  }/*link*/
  .hb_2_box1_box_link a{
    width: calc(100% + 0em);
    margin-left: 1em;
  }
  .hb_2_box2{
    width: 80%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
  }
  .hb_2_box2_box figure {
    display: block;
    width: 30px;
  }/*sns*/
  .hb_2_box2_box figure span {
    width: 25px;
    height:25px;
    border-radius: 5%;
  }
  .hb_2_box2_box figure img {
    width: 25px;
    height:25px;
  }
  .hb_2_box2_box figure p {
    width: 50px;
    text-align: center;
    -webkit-transform: translate(-25%, 0);
    transform: translate(-25%, 0);
    color: #eee;
    position: absolute;
    margin-top: 5px;
    font-size: 8px;
  }
  
}

@media screen and (min-width:750px){
  .modal2 .wrapper ul a:hover {
    text-decoration: underline;
  }
  .hbbtn .hbname a:hover{
    text-decoration: none;
    background-color: #1f254f;
  }
  .hb_0:hover{
    background-color: #eee;
    -webkit-transition: all .3s;
    -webkit-transition: all .1s;
    transition: all .1s;
  }
  .hb_1_box:hover{
    opacity: .5;
  }
  .hb_2_box1_box_link a:hover{
    opacity: .5;
  }
  .hb_2_box1_box_link:hover{
    text-decoration: underline;
  }
  .hb_2_box2_box figure:hover{
    opacity: .2;
  }
}







