@charset "utf-8";

/*========= 途中からハンバーガーメニューに変化するのためのCSS ===============*/

/*========= ボタンのためのCSS ===============*/

/*ボタン全体の形状*/
.openbtn1{
    /*はじめは非表示に*/
    display: none; 
    /*ボタンの位置*/
  position:fixed;
  top:10px;
  right: 10px;
  z-index: 999;
    /*ボタンの形状*/
    background: rgb(249,255,0);
background: linear-gradient(45deg, rgba(249,255,0,1) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(254,255,0,1) 100%);
    
  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 ===============*/

/*==ヘッダーの形状*/
.site-header{
  height: 80px;
  align-items: center;
  text-align: center;
  padding: 2px;
}
@media screen and (min-width: 515px){
  .site-header{
    height: 70px;
    }
   }

/*.doneクラスがついたヘッダー*/
.site-header .dnone {
  opacity: 0;/*透過0にして非表示に*/
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
.site-header .dnone.panelactive {
  opacity: 1;/*不透明にして出現*/
}


/*==ヘッダーのテキストナビゲーションの形状*/
.menu ul{
  list-style: none;
  display: flex;
  justify-content: center;
}

.menu ul li a{
  display: block;
  text-decoration: none;
  color: rgb(58, 58, 58);
  padding: 4px;
  font-size:3.6vw;
  font-family: 'Noto Serif JP', serif; font-weight: 900;
  
}

@media screen and (max-width: 1024px) and (min-width: 515px){
  .menu ul li a{
    font-size: 18px;
    padding:10px;
    }
   }
@media screen and (min-width: 1025px){
  .menu ul li a{
    font-size: 20px;
    padding:10px;
    }
   }

.menu ul li.current a,
.menu ul li a:hover{
  color:#fff; 
}

/*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
.site-header.dnone .menu{
    /*固定位置にして最背面に*/
  position:fixed;
  top: 0;
  left: 0;
  z-index: -1;
    /*高さと幅*/  
  width:100%;
  height: 100vh;
    /*天地中央＆テキスト中央揃え*/  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
    /*はじめは透過0に*/  
  opacity: 0;
  transition: all 0.4s;
  
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
.site-header.dnone.panelactive .menu{
  opacity: 1;/*不透明に*/
  z-index:3;/*最前面に*/
  background:#eee;
  background-image: url("../img/rogo43.png");
  background-color:rgba(0, 0, 0, 0.815);
  background-blend-mode:lighten;
  background-repeat: no-repeat;
  background-position:54% 9%;
  background-size:25%;
  width: 100%;
}

.site-header.dnone.panelactive .menu ul{
  display:block;/*flexの横並びをblockにして縦並びに*/
}


/*リストの形状*/

.site-header.dnone.panelactive .menu li a{
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  transition:all 0.3s;
  font-size:6vw;
  background-color: rgba(255, 255, 255, 0);
  text-shadow:1px 1px 0 rgb(0, 0, 0),-1px 1px 0 rgb(0, 0, 0),1px -1px 0 rgb(0, 0, 0),-1px -1px 0 rgb(0, 0, 0);
  font-family: 'Noto Serif JP', serif; font-weight: 400;
}


