/* humberger menu*/
.header-menu{
    color: #fff;
    position: fixed;
    top: 20px;
    left: 4vw;
    z-index: 1;
}
.fv{
    background-color: gray;
    height: 100vh;
}
/* ------------------------------
バーガー中身
---------------------------------*/
.header-nav{ /* メニュー本体のパラメータ */
    display: initial;
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 69vw; /*画面幅の約2/3*/
    height: 100vh;
    background-color: #f4810e;
    z-index: 2;
    text-align: left;
    padding: 60px 30px 0 30px;
    color: #fff;
    /*　透明にして表示を消しています　 */
    opacity: 0;
    /*　X（右）方向に100％ずらして画面外に移動させています。　*/
    transform: translateX(100%);
    /* 　スライドで出てくる秒数と表示される秒数を指定　*/
    transition: transform .3s, opacity .3s;
}
.nav-item{
    margin-bottom: 15px;
    line-height: 2!important;
}
.nav-item:first-of-type{
    margin-bottom: 15px;
}

.header-nav a{
    color: #ffffff;
    font-size: 18px;
    letter-spacing: .05em;
}

.search-input{
    padding: 12.8px 28.8px;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    line-height: 1.8;
}
/* ------------------------------
BURGER
---------------------------------*/
.burger-btn{
    display: flex;/* 　ハンバーガーメニューとmenuを横並びに　*/
    align-items: center;
    position: fixed;
    top: 60px;
    right: 50px;
    z-index: 3;/* 　他の指数よりも大きくして一番前面に表示　*/
}
/* 　ここでハンバーガーメニューの大きさや色を変更　*/
.bar{
    display: block;
    background-color: #000;
    height: 1px;
    width: 22px;
    border-radius: 1px;
}
/*　topとbottomをY方向に移動させて3本の線に。秒数はバツから戻る時の秒数　 */
.bar-top{
    transform: translateY(-8px);
    transition: transform .3s;
}
.bar-bottom{
    transform: translateY(8px);
    transition: transform .3s;
}

.bars{
    transition: transform .3s;
}

.bars.cross{
    transform: translateX(-66.6vw);
    transition: .3s;
}

.menu{
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    margin-left: 5px;
}
/* ハンバーガーボタンを押した後のバツの記述
rotateで角度を決める事ができるので好きなバツを作れます */
.bar.cross.bar-top{
    transform: rotate(45deg) translateX(1px);
    transition: .3s;
}
.bar.cross.bar-mid{
    opacity: 0;
    transition: opacity .3s;
}
.bar.cross.bar-bottom{
    transform:  rotate(-45deg) translateX(1px);
    transition: .5s;
}
/* メニューが開いた時に画面をスクロールしないようにする記述。
jQueryと組み合わせます。 */
body.noscroll{
    overflow: hidden;
}
/* 　開いた時にX(0)で元の位置へ。
openというクラスをjQueryでつけます。　*/
.header-nav.open{
    transform: translateX(0);
    opacity: 1;
    transform: transform .3s, opacity .3s;
}
/* 　薄暗い画面の記述　背景*/
.burger-musk{
    display: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
/* 　buttonのリセットです。これをしないとどうなるか以下で紹介しますね。　*/
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}