@charset "utf-8";

/*--------------------*/
/*　メニューCSS　*/
/*--------------------*/

nav {
	position: fixed;
	top: 0;
	right:0;
	width: 300px;
	height: 100%;
    background-color: #d3dae1;
	transition: all 0.1s;
	transform: translate(300px);
	z-index: 1000;
}
nav.open {
	transform: translate(0); 
}
nav ul {
	margin: 0;
	padding: 1em;
	list-style-type: none;
	overflow: auto;
}
nav ul li {
	border-bottom: 1px solid #999;
	text-align: left;
}
nav ul li a {
	display: block;
	text-decoration: none;
    color: #1a1a1a;
	padding: 1em 0;
}
nav .h_tel{
    display: none;
}

/* 開閉ボタン */

.navBtn button {
  display: block;
  border: none;
    background-color: transparent;
  padding: 3px 7px;
  width: 48px;
  color: #333;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: fixed;
  top: 17px;
  right:10px;
  z-index: 1001;
  text-align: center;
  outline: none;
    padding-top: 8px;
}
/* ハンバーガーボタン3本線 */
.navBtn button span.bar {
  display: block;
  height: 4px;
    background-color: #1a1a1a;
  margin: 4px 0;
  transition: all 0.1s;
  transform-origin: 0 0;
}
.navBtn button.active{
    padding-top: 3px;
}
.navBtn button.active span.bar {
  width: 36px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.navBtn button.active .bar1 {
  transform: rotate(44deg);
}
.navBtn button .bar2 {
  opacity: 0;
}
.navBtn button.active .bar3 {
  transform: rotate(-44deg);
  margin-left:-2px;
}

@media screen and (min-width:1001px){
	/* PCでメニュボタン非表示 */
	.navBtn{display:none;}
	
	/*　PCでメニュー常時表示　*/
	nav{
		position: static;
		transform:none;
        width:calc(100% - 500px);
        max-width: 1260px;
        background-color:transparent;
        margin: 0;
        display: flex;
        justify-content: flex-end;
    }
	nav ul{
        width:100%;
        margin:0;
        padding: 0 30px;
        overflow: visible;
        display: flex;
        justify-content: space-between;
        border-radius: 10px;
        background-color: #fff;
        font-size: 18px;
        line-height: 1.2;
	}
	nav ul li {
		padding: 0;
		width: auto;
		border-bottom: none;
		text-align:center;
	}
	nav ul li a{
        color:#000;
        padding: 1em 1.5em;
        transition: 0.3s;
    }

    nav ul li a.link-current {
        color: #006837;
    }
    nav ul li.sp{
        visibility: hidden;
        width: 0;
    }
    nav ul li.sp a{
        padding: 0;
        width: 0;
        height: 0;
    }
    nav .h_tel{
        background-color: #006837;
        border-radius: 10px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 25px;
    }
    
}

@media (min-width:1001px) and (max-width:1700px){
    nav ul{
        padding-left: 1.5vw;
        padding-right: 1.5vw;
        font-size: 16px;
    }
    nav ul li a{
        padding-left: 1.3vw;
        padding-right: 1.3vw;
    }
    nav .h_tel{
        width: 16vw;
        margin-left: 0.5vw;
    }
}
@media (min-width:1001px) and (max-width:1400px){
    nav{
        width:calc(100% - 36vw);
    }
    nav ul{
        padding-left: 1vw;
        padding-right: 1vw;
        font-size: 15px;
    }
    nav ul li a{
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}






