@charset "utf-8";

#nav-spacer {
  min-height: 0;
}


#second {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: absolute;
    z-index: 8;
    background: rgba(252, 252, 252, 0.3);
    padding: 0px 0 15px;
}  
    
#second.m_fixed {
    left: 0;
    position: fixed;
    top: 0;
    background: rgba(252, 252, 252, 0.3);
    padding-bottom: 15px;
    z-index: 9;
}    
    
header h1{
	margin-left:7%;
	width: 30%;
	max-width:180px;
}    

header #navi{
	width:100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

header #navi ul {
  width: 60%;
  display: flex;
  justify-content: flex-end;
  margin-right: 7%;
  align-content: center;
}

header #navi ul li {
  margin-left: 3%;
  font-size: 16px;
}

header #navi ul a {
  position: relative;
  text-decoration: none;
  padding-bottom: 6px;
  color: #b3b3b3;
  transform: translateY(0);
}
header #navi ul a:hover{
  animation: fadeUp 3.0s cubic-bezier(.4,0,.2,1);
}


header #navi ul a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

header #navi ul a:hover::after{
  transform: scaleX(1);
}

header #navi ul a.current{
  opacity: 1;
  transform: translateY(0);
}

header #navi ul a.current::after{
  transform: scaleX(1);
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.3); 
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
  position: fixed;
}  

@media only screen and (max-width: 1000px) {
header #navi ul li {
  font-size: 14px;
}
 }    
    

/*
ハンバーガーメニュー
------------------------------------------------------------------------------------*/
	.menu-trigger{
        display: none;
	}
/*
スマホメニュー
------------------------------------------------------------------------------------*/

.side-menu > ul{
	width:85%;
	margin:15% auto 0;
}

.side-menu ul > li{
	margin-bottom:15px;
	font-size:18px;
	text-align:left;
	padding-bottom:15px;
}


.side-menu > ol{
	width:85%;
	/*border-top: 1px solid #444;
	padding-top: 30px;*/
	margin: auto;
}

.side-menu ol > li{
	margin-bottom:15px;
	letter-spacing:2px;
	text-align:center;
	background: #ddd;
}

.side-menu ol > li a{
    padding: 15px 0;
    display: block;
}


.side-menu #side_sns{
	width: 95%;
	/*position: absolute;
	bottom: 10%;
	left: 13%;*/
	margin: 55% auto 50px;
	font-size: 32px;
	font-weight: 300;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.side-menu #side_sns p{
	margin-right: 15px;
	line-height: 1.3;
}

.side-menu #side_sns p:first-child{
	width: 100%;
	margin: auto;
}

.side-menu #side_sns p a{
	color: #999;
}
    

/*
スマホナビ
スライダー内容
------------------------------------------------------------------------------------*/

    nav {
	width:75% !important;
	max-width: 340px;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 10000;
	transform: translate(500px);
	transition: all .5s;
	text-align: left;
	background: #fff;
	letter-spacing: 3px;
	padding: 2%;
	overflow-y: scroll;
}
nav.open {
	transform: translateZ(0);
}

.side-menu a{
	text-decoration: none;
}

.side-menu h2{
	display: none;
	width:40%;
	max-width:150px;
	margin: 4% 0 40px 5% !important;
}


.side-menu > ul{
	width:85%;
	margin:15% auto 0;
}

.side-menu ul > li{
	margin-bottom:15px;
	font-size:17px;
	text-align:left;
	padding-bottom:15px;
}  
    
    .side-bnr{
        display: none;
        text-align: center;
    }
    .side-bnr a{
        display: block;
        color: #fff;
    }
    .side-bnr li{
        position:fixed;
        right: 0;
        top: 15%;
        color: #fff;
        background-color: #8BB77F;
        font-size: 18px;
        letter-spacing: 0.1em;
        opacity: 0.9;
        z-index: 9999;
    }
    .side-bnr li:nth-child(2){
        display: none;
    }
    .side-bnr li a{
        padding: 15px;
    }
    .side-bnr li p{
        writing-mode: vertical-rl;
    }
    .side-bnr .to-top{
        position:fixed;
        right: 2%;
        bottom: 4%;
        width: 5%;
        z-index: 9999;
    }
    .is-hidden {
        visibility: hidden;
          opacity: 0;
        transition: 0.3s;
    }

    .side-menu ul > li.yoyaku{
        background: #8BB77F;
        padding-top: 15px;
        text-align: center;
    }

    .side-menu ul > li.yoyaku a{
        color: #fff;
    } 
    
    
@media only screen and (max-width: 900px) {
.menu-trigger {
	width: 10%;
	max-width: 20px;
    height: 15px;
    padding: 5px;
    /* position: fixed; */
    position: absolute;
    z-index: 999999;
    display: block;
    transform: translateX(0);
    transition: transform .5s;
    cursor: pointer;
 }
 .menu-trigger.active {
	transform: translateX(0px);
	right: 400px;
	cursor: pointer;
}
.menu-trigger span {
	display: inline-block;
	box-sizing: border-box;
	position: absolute;
	right: 0;
	width: 100%;
	height: 1px;
	background-color: #b3b3b3;
	cursor: pointer;
}
.menu-trigger.active span {
	background-color: #444;
	cursor: pointer;
}
.menu-trigger span:nth-of-type(1) {
	top: 0;
}
.menu-trigger.active span:nth-of-type(1) {
	transform: translateY(14px) rotate(-45deg);
	background: #fff;
}
.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(-10px) rotate(45deg);
	background: #fff;
    bottom: 0px;
}

.menu-trigger p{
	position:absolute;
	bottom:-20px;
	color:#d3d3d3;
	font-size:12px;
	font-family: 'Montserrat', sans-serif;
	font-weight:100;
}

    
    
	header h1{
		width: 35%;
	}
	.menu-trigger{
		right: 4%;
		top: 18px;
        display: block;
	}
	header #navi ul{
		display: none;
	}

	.menu-trigger.active {
		left: 5%;
	}

	.side-menu > ol{
		border-top: none;
		margin: auto;
		padding-top: 0;
	}
	.side-menu ol > li{
		text-align: center;
		background: #ddd;
		padding: 0;
	}
	.side-menu ol > li a{
		padding: 15px 0;
		display: block;
	}
	.side-menu #side_sns{
		margin-top: 15%;
	}
	.footer_wrapper #f-sns{
		padding-top: 30px;
	}
	.footer_wrapper #copyright {
	  padding: 30px 0 135px;
	}
    
    
    .side-bnr li{
        width: 90%;
        bottom: 3%;
        top: unset;
        margin: 0 5%;
        writing-mode:unset;
    }
    .side-bnr li a{
        justify-content: center;
        align-items: center;
        display: flex;
        padding: 10px 0 10px;
    }
    .side-bnr .icon{
        width: 9%;
    }
    .side-bnr li p{
        margin-top: 0;
        margin-left: 15px;
        writing-mode: horizontal-tb;
        font-size: 16px;
    }
    .side-bnr .to-top{
        right: 5%;
        bottom: 13%;
        width: 13%;
    }
}
    
    
 /*footer*/   
     
footer #copyright {
    font-size: 15px;
    padding: 100px 0 40px;
    text-align: center;
}  

footer.bk {
    padding: 0;
}  

     
@media only screen and (max-width: 760px) {     
    footer #copyright {
    font-size: 12px;
    padding: 40px 0 25px;
}
    
     }

