﻿@charset "utf-8";

.nav_flex {
-webkit-align-items: center;
align-items: center;
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
height:80vh;
}
.nav_flex div.nav_flex100{
	width: calc(100% - 20px);
	margin:10px; text-align: center;
}
.nav_flex div.nav_c33{
	width: calc(33.33333% - 20px);
	margin:10px;
}
.nav_flex a{ text-decoration:none; color:white; }
.nav_flex a:hover{ opacity:0.7: }

@media (max-width: 991px) {
}
@media (max-width: 830px) {
	.nav_flex div.nav_c33{
		width: calc(100% - 40px);
		margin:5px 20px;
	}
}
.nav_c33 p {
  position: relative;
  margin-bottom: 20px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #ddd; color:#000;
}

.nav_c33 p:before {
  position: absolute;
  bottom: -14px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #ddd transparent transparent transparent;
}

.nav_c33 p:after {
  position: absolute;
  bottom: -10px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #ddd transparent transparent transparent;
}

/* toggleナビ
------------------------- */

.button_container {
  position: fixed;
  top: 0%;
  right: 0%;
  height: 45px;
  width: 45px;
  cursor: pointer;
  z-index: 9999;
  transition: opacity .25s ease;
}
.button_container:hover {
  opacity: .7;
}
.button_container.active .top {
  -webkit-transform: translateY(2px) translateX(0) rotate(45deg);
          transform: translateY(2px) translateX(0) rotate(45deg);
  background: #f3f3f3;
}
.button_container.active .middle {
  opacity: 0;
  background: #f3f3f3;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
          transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #f3f3f3;
}
.button_container span {
  background: #797979;
  border: none;
  height: 1px;
  width: 39%;
  position: absolute;
  top: 14px;
  left: 10px;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 20px;
}
.button_container span:nth-of-type(3) {
  top: 26px;
}
.overlay {
  position: fixed;
  background: #d92c54;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: auto;
  z-index:9998;
}
.overlay.open {
  opacity: .9;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay.open li:nth-of-type(6) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay.open li:nth-of-type(7) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay nav {
  position: relative;
  height: 60%;
  top: 30%;
  -webkit-transform: translateY(-30%);
          transform: translateY(-30%);
	font-size: 20px;
	text-align: left;
	line-height: 1.3;
width: 100%;
  margin: 0 auto;
  max-width: 500px;
}


.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  margin-top: 10%;
height:68%;
}
.overlay ul li {
  display: block;
  height: 12.5%;
  height: calc(100% / 7);
  position: relative;
  opacity: 0;
  text-align: center;
  font-size: 90%;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  transition: .35s;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
.btn-home span{ background-color:#333; }

.menuBtn_name2 {
    padding: 0;
    text-align: center;
    font-size: 8px;
    right: 15px;
    position: absolute;
    letter-spacing: 0;
    bottom: 1px;
}
.button_container.active .menuBtn_name2 { color:white; }

