#header {
    /* position: fixed; */
    z-index: 960;
    height: 70px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: rgb(37, 37, 37);
    color: rgb(255, 255, 255);
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* #header{
  height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
} */

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 10px;
}

section {
    padding: 100px 0;
}

.openbtn1 {
    /*はじめは非表示に*/
    display: none;
    /*ボタンの位置*/
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 960;
    /*ボタンの形状*/
    background: #666;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}


/*ボタンのアイコン設定*/

.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
}

.openbtn1 span:nth-of-type(1) {
    top: 15px;
}

.openbtn1 span:nth-of-type(2) {
    top: 23px;
}

.openbtn1 span:nth-of-type(3) {
    top: 31px;
}


/*activeクラスが付与された後のボタンのアイコン設定*/

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/

.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}

@keyframes fadeDownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*========= ヘッダーナビゲーションのためのCSS ===============*/


/*==ヘッダーの形状*/


/* #header{
  height: 70px;
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:#333;
  color:#fff;
  text-align: center;
  padding: 20px;
} */


/*.doneクラスがついたヘッダー*/

#header.dnone {
    opacity: 0;
    /*透過0にして非表示に*/
}


/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/

#header.dnone.panelactive {
    opacity: 1;
    /*不透明にして出現*/
}


/*==ヘッダーのテキストナビゲーションの形状*/

#g-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

#g-nav ul li a {
    display: block;
    text-decoration: none;
    color: rgb(230, 230, 230);
    padding: 10px;
}

#g-nav ul li.current a,
#g-nav ul li a:hover {
    color: #fff;
}


/*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/

#header.dnone #g-nav {
    /*固定位置にして最背面に*/
    /*天地中央＆テキスト中央揃え*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /*はじめは透過0に*/
    opacity: 0;
    transition: all 0.4s;
}


/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/

#header.dnone.panelactive #g-nav {
    top: 0;
    left: 0;
    z-index: -1;
    /*高さと幅*/
    width: 100%;
    height: 100vh;
    opacity: 1;
    /*不透明に*/
    z-index: 3;
    /*最前面に*/
    background: #eee;
    position: fixed;
}

#header.dnone.panelactive #g-nav ul {
    display: block;
    /*flexの横並びをblockにして縦並びに*/
}


/*リストの形状*/

#header.dnone.panelactive #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    transition: all 0.3s;
}


/*========= レイアウトのためのCSS ===============*/