﻿#nsv-menu-open span{
  display: block;
  height: 2px;
  margin: 10px 0px;
  background: #333333;
  border-radius: 1px;
  transition: 0.2s ease-in-out;
}

#nsv-menu-open{
  width: 40px;
  height: 40px;
  position: fixed;
  top: 0px;
  right: 7px;
  z-index: 3;
  -webkit-tap-highlight-color:transparent;
}

#nsv-menu-open:after{
	display: block;
	content:"メニュー";
	text-align: center;
	margin-top:-7px;
	font-size:8.5px;
	color:#333333;
}

#nsv-menu-input{
  display: none;
}

#nsv-menu-input:checked ~ #nsv-menu-close {
  display: block;
  opacity: 0;
}
#nsv-menu-close {
  display: none;
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-tap-highlight-color:transparent;
}

#nsv-menu-input:checked ~ #nsv-menu-open span:nth-of-type(1){
  transform:rotate(-30deg) translateX(-9px) translateY(9px);
  width: 43px;
  height: 1.5px;
}
#nsv-menu-input:checked ~ #nsv-menu-open span:nth-of-type(2){
  opacity: 0;
}
#nsv-menu-input:checked ~ #nsv-menu-open span:nth-of-type(3){
  transform:rotate(30deg) translateX(-9px) translateY(-9px);
  width: 43px;
  height: 1.5px;
}

/*文字列を記述しない場合
#nsv-menu-input:checked ~ #nsv-menu-open span:nth-of-type(1){
  transform:rotate(-45deg) translateX(-12px) translateY(5px);
  width: 41px;
  height: 1.5px;
}
#nsv-menu-input:checked ~ #nsv-menu-open span:nth-of-type(2){
  opacity: 0;
}
#nsv-menu-input:checked ~ #nsv-menu-open span:nth-of-type(3){
  transform:rotate(45deg) translateX(-12px) translateY(-5px);
  width: 41px;
  height: 1.5px;
}
*/

#nsv-menu-input:checked ~ #nsv-menu-open:after{
	display: block;
	content:"閉じる";
	text-align: center;
	margin-top:-7px;
	font-size:8.5px;
	color:#333333;
}

#nsv-menu-content{
  position: fixed;
  top: 55px;
  background: #f5f8fa;
  width: 70%;
  height: 100%;
  transition: 0.3s ease-in-out;
}
#nsv-menu-content ul{
  list-style: none;
  padding-top:10px;
  padding-left: 30px;
}
#nsv-menu-content ul ul{
  list-style: none;
  padding-top:0px;
  padding-left: 10px;
}
.sub-menu li{
  list-style: none;
}
#nsv-menu-content ul li{
  list-style: none;
  padding: 1px;
}
#nsv-menu-content ul ul li{
  list-style: none;
  padding: 1px;
  margin-right:-10px;
}
#nsv-menu-content ul li a{
  display: block;
  text-decoration: none;
  position: relative;
  color: #333333;
  -webkit-tap-highlight-color:transparent;
}
#nsv-menu-content{
  position: fixed;
  right: -70%;
  z-index: 8;

}
#nsv-menu-input:checked ~ #nsv-menu-content{
  right: 0px;
}

ul li:not(.menu-item) {
  text-indent: -1em;
}

a{
  color : #00146e;
}

a:focus{
  color : #00146e;
}

a:hover{
  color : #00146e;
}

@media screen and (max-width: 568px) {
  #sp-site-navigation-1 {
    display:none;
  }

  .sp-site-navigation.horizontal ul li.current_page_item > a{
    color : #000000;
    background-color : initial !important;
  }

  .sp-site-navigation.horizontal ul li > a:active{
    color : #000000;
    background-color : initial !important;
  }

  .sp-site-navigation.horizontal ul li > a:hover{
    color : #000000;
    background-color : initial !important;
  }

  .sp-site-navigation.horizontal ul ul{
    display : initial !important;
    position : initial !important;
  }

  .button-menu#sp-site-navigation-1 > .menu-toggle{
    background-image : none !important;
  }

  body{
    padding-top : 55px !important;
  }

  #masthead{
    background-color : rgba(255, 255, 255, 1);
    width : 100%;
    position : fixed;
    height : 55px !important;
    top : 0px;
    z-index : 7;
  }

  #main-inner{
    margin-left : 7px!important;
    margin-right : 10px!important;
  }

  .nsv-fixed-banner-mobile {
    position: fixed;
    z-index: 9;
    bottom: 10px;
    right: 10px;
    width:150px;
  }

  .nsv-fixed-banner-pc {
    display:none;
  }
  .sp-site-navigation.horizontal ul ul{
    z-index : 4!important;
  }

  #sp-site-navigation-2 {
    display:none;
  }

  #page_top {
    position: fixed;
    right: 0px;
    width: 35px;
    height: 45px;
    background: rgba(102, 102, 102, 0.5) no-repeat;
    z-index: 10000;
  }

  #page_top a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 25px;
    height: 25px;
    margin: auto;
    margin-top:0px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f062';
    font-size: 30px;
    text-align: center;
  }

  .nsv-fixed01{
    width: 15%;
    height: 45px;
    background: #00146e;
    position: fixed;
    bottom: 0px;
/*    right: 230px;*/
	  left:0px;
    z-index: 10000;
    text-decoration: none;
    font-size: 25px;
    color:#ffffff;
	text-align: center;
    padding-top:5px;
    padding-left:4px;
    &:hover,&:visited {
      color: #ffffff;
    }
  }

  .nsv-fixed02{
    width: 70%;
    height: 14px;
    background: #00146e;
    position: fixed;
    bottom: 31px;
	left:15%;
    z-index: 10000;
    text-decoration: none;
    font-size: 11px;
    color:#ffffff;
    padding-top:2px;
    line-height: 100%;
    &:hover,&:visited {
      color: #ffffff;
    }
  }
  .nsv-fixed12{
    width: 70%;
    height: 17px;
    background: #00146e;
    position: fixed;
    bottom: 14px;
	left:15%;
    z-index: 10000;
    text-decoration: none;
    font-size: 16px;
	  color:#ffffff;
    padding-top:0px;
    line-height: 100%;
    &:hover,&:visited {
      color: #ffffff;
    }
  }
  .nsv-fixed22{
    width: 70%;
    height: 14px;
    background: #00146e;
    position: fixed;
    bottom: 0px;
	left:15%;
    z-index: 10000;
    text-decoration: none;
    font-size: 12px;
    color:#ffffff;
    padding:0px;
    line-height: 100%;
    &:hover,&:visited {
      color: #ffffff;
    }
  }
  
.nsv-triangle {
    width: 5%;
    height: 45px;
	left:80%;
    background: #00aff0;
    position: fixed;
    bottom: 0px;
    z-index: 10000;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
	.nsv-fixed03{
    width: 15%;
    height: 45px;
    background: #00aff0;
    position: fixed;
    bottom: 0px;
    /*right: 50px;*/
	  left:85%;
    z-index: 10000;
    text-decoration: none;
    font-size: 25px;
    color:#ffffff;
	text-align: center;
    padding-top:5px;
	padding-left:0px;
    &:hover,&:visited {
      color: #ffffff;
    }
  }

}

@media not screen, screen and (min-width: 569px) {
  #nsv-hamburger {
    display:none;
  }

  body{
    padding-top : 100px !important;
  }

  #masthead{
    background-color : rgba(255, 255, 255, 1);
    width : 100%;
    position : fixed;
    top : 0px;
    z-index : 7;
  }

  #masthead-inner {
    height : 60px;
    width : 1150px !important;
  }

  .nsv-fixed-banner-pc {
    position: fixed;
    z-index: 6;
    bottom: 110px;
    right: 3px;
    width:50px;
  }

  .nsv-fixed-banner-pc:hover {
    opacity: 0.6;
  }

  .nsv-fixed-banner-mobile {
    display:none;
  }

  #masthead-inner #sp-site-navigation-1{
    width : 800px!important;
  }

  #sp-site-navigation-2{
    padding-top : 10px!important;
    padding-bottom : 10px!important;
  }

  #page_top {
    position: fixed;
    right: 10px;
    width: 55px;
    height: 45px;
    background: rgba(102, 102, 102, 0.5) no-repeat;
    z-index: 10000;
  }

  #page_top a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 25px;
    height: 25px;
    margin: auto;
    margin-top:0px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f062';
    font-size: 30px;
    text-align: center;
  }

  .nsv-fixed03{
    width: 55px;
    height: 60px;
    background: #00aff0;
    position: fixed;
    bottom: 70px; /* 画面上から50px */
    right: 10px; /* 画面左から50px */
    z-index: 10000;
    text-decoration: none;
    font-size: 38px;
    color:#ffffff;
    padding-left:7px;
    &:hover,&:visited {
      color: #ffffff;
    }
  }


.nsv-triangle {
    width: 55px;
    height: 20.4px;
    background: #00aff0;
    position: fixed;
    bottom: 129.6px;
    right: 10px;
    z-index: 10000;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

  .nsv-fixed02{
    width: 15px;
    height: 300px;
    background: #00146e;
    position: fixed;
    bottom: 130px; /* 画面上から50px */
    right: 10px; /* 画面左から50px */
    z-index: 10000;
    writing-mode: vertical-rl;
    text-decoration: none;
    font-size: 12px;
    color:#ffffff;
    padding:3px;
    padding-top:13px;
    line-height: 100%;
    &:hover,&:visited {
      color: #ffffff;
    }
  }
  .nsv-fixed12{
    width: 25px;
    height: 300px;
    background: #00146e;
    position: fixed;
    bottom: 130px; /* 画面上から50px */
    right: 25px; /* 画面左から50px */
    z-index: 10000;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-decoration: none;
    font-size: 18px;
    color:#ffffff;
    padding:5px;
    padding-top:10px;
    line-height: 100%;
    &:hover,&:visited {
      color: #ffffff;
    }
  }
  .nsv-fixed22{
    width: 15px;
    height: 300px;
    background: #00146e;
    position: fixed;
    bottom: 130px; /* 画面上から50px */
    right: 50px; /* 画面左から50px */
    z-index: 10000;
    writing-mode: vertical-rl;
    text-decoration: none;
    font-size: 12px;
    color:#ffffff;
    padding:0px;
    padding-top:13px;
    line-height: 100%;
    &:hover,&:visited {
      color: #ffffff;
    }
  }

  .nsv-fixed01{
    width: 55px;
    height: 50px;
    background: #00146e;
    position: fixed;
    bottom: 425px; /* 画面上から50px */
    right: 10px; /* 画面左から50px */
    z-index: 10000;
    writing-mode: vertical-rl;
    text-decoration: none;
    font-size: 38px;
    color:#ffffff;
    padding-left:7px;
    padding-top:10px;
    &:hover,&:visited {
      color: #ffffff;
    }
  }

}


@media not screen, screen and (min-width: 569px) {

  #sp-site-navigation-1 > ul > li li{
    padding-left : 30px!important;
  }

  .nsv-footer01 .copyright{
    text-align : right!important;
  }

}

@media screen and (max-width: 568px) {
h1.entry-title{
	font-size: 24px!important;
}
body.accesshtml iframe{
	height:230px!important;
}
}


