@charset "UTF-8";
/* CSS Document */

@media screen and (max-width:499px){

/*-----------menu SP----------------*/
#menu_sp {
  width: 100%;
  margin: 0px;
  display: flex;
  justify-content: flex-end;
  padding-right: 10px;
}

#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 40px;
    height: 20px;
    vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 4px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: black;
    display: block;
    content: '';
    cursor: pointer;
}
#nav-open span:before {
    bottom: -8px;
}
#nav-open span:after {
    bottom: -16px;
}

/*--------------閉じる用の薄黒カバー-------------*/
#nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;/*最前面に*/
    width: 100%;/*右側に隙間を作る*/
    max-width: 330px;/*最大幅*/
    height: 100%;
    background: url("../image/naviback-u15908-r-fr.png");/*背景色*/
    background-color:rgba(0,0,0,0.70);
    transition: .3s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);/*左に隠しておく*/
    
}

/*--------------チェックが入ったらもろもろ表示-------------*/
#nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*中身を表示*/
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
 
    /*-------------navi text deco----------------*/
.menu_sp_navi{ 
    color: black;
    font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    font-size: 1em;
	text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 200;
    margin: 20px 0px 0px 20px;
 }   
.menu_sp_navi a{ 
    color: white;
    text-decoration: none;
}
.menu_sp_navi a:hover{
    color: red;
    border-bottom: solid 1px; 
    padding-bottom: 10px;
} 
 .title-border {
display: flex;
align-items: center;
}
.title-border:before,
.title-border:after {
border-top: 1px solid;
content: "";
flex-grow: 1;
}
.title-border:before {
margin-right: 1rem;
}
.title-border:after {
margin-left: 1rem;
}   

/*-----------menu PC display-none-----------*/  
nav {
    display:none;
  }

}
