@charset "utf-8";
body{ /*--HTMLやCSSにおいて、<body>要素にwidth（幅）とheight（高さ）を
  指定する必要性は一般的にはありません。<body>要素は通常、
  ブラウザウィンドウ全体に自動的に広がります。--*/
  border:solid px red;
  padding-top: 5vw;
  font-family: sans-serif;/*--<body>要素に対してfont-sizeを指定することは一般的であり、
  推奨される方法です。デフォルトでは16px。65.4%にすれば10pxになる。remは2で20px--*/
}
header{border:solid px blue;
  width:100%; height:auto;
 
  }
h1{/*--けせんの野鳥--*/
    font-size:4vw;
    text-align:center;
    color:forestgreen ;
    margin-bottom: 10px;
    background-color:white;
    margin-top: 1vw;
  }
  nav{/*--PCメニュー６つの大枠--*/    
    border:solid px red;    
    }
    ul.global-menu{/*--PC横並びメニュー６つのフォントサイズなど--*/
      border:solid px yellowgreen;
      width:78%;
      text-align: center;/*--メニュー内の文字がセンタリング--*/
      font-size: 1.5rem;
      font-weight: bold;
      padding: 0 ;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 0px;
      display:flex ;/* flexで横並びにする */
      align-items: center; /* 垂直方向の中央揃え */
      justify-content: center; /* 横方向の中央揃え このプロパティはブロック要素、
      インライン要素どちらもセンタリングできる*/
      }
      nav ul li{/* PCメニューの各箱の大きさ */
        background-color: ;
        border:solid px brown;
        list-style: none; /* リストのマーカー（点）を削除 */
        height:4vw;
       width:13vw;
        display:flex ;
        justify-content: center;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-right: 3%;
      }
      nav ul a li#home {/* メニューのホームの文字色が赤にする */
            color: red;
            font-size: 2vw;
            font-weight: bold;
            background-color: white;/* PCメニューのそれぞれの背景色 */
            /* PCメニューそれぞれの幅 */
            margin-right: 2rem;
            }
        nav ul a li#namae{
            color:black;
            font-size: 2vw;
            font-weight: bolder;
            background-color: white;
            
            margin-right: 2rem;
        }
        nav ul a li#media{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
          
          margin-right: 2rem;
      }
        nav ul a li#zukan{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
          
          margin-right: 2rem;
        }
        nav ul a li#keijiban{
          border:solid px rebeccapurple;
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
         
          margin-right: 2rem;
        }
        nav ul a li#toiawase{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
        
          margin-right: 2rem;
        }
        a {
          text-decoration: none;/* メニューをリンクにした際にできる下線を消去 */
        }            
    nav ul li#home:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#birdname:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#media:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#zukan:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#keijiban:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#toiawase:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
/* ハンバーガーメニューについてのCSS */
/* ハンバーガーボタンを押してチェックがONの時だけ
   スマホ用メニューを画面左端に移動する */
   #sp-menu__check:checked ~ .sp-menu__content {/*#sp-menu__check:checkedは
    ハンバーガーメニューが開いた状態のときに、.sp-menu__content 要素にスタイルを適用します。
    さらに"~"は指定した要素の後にある要素全てに適用されます。*/
    left: 0;/* 0以外では画面から出てしまうので通常は0で使う */
  }
  .sp-menu__box {/* ハンバーガーメニューボタンに関するCSS */ 
    position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
    後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
    top: 2rem;/* ハンバーガーメニューボタンの位置で増やすと下に下がる */ 
    right: 3rem;/* ハンバーガーメニューボタンの位置で増やすと左に移動する */ 
    display: flex;
    height: 4rem;/* ハンバーガーメニューボタンの高さ 60px*/
    width: 4rem;/* ハンバーガーメニューボタンの幅 60px*/
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: transparent;/* ハンバーガーメニューボタンの色 */
  }
  .sp-menu__box span,
  .sp-menu__box span:before,
  .sp-menu__box span:after {
    content: "";
    display: none;/* 三本線を表示させる。消す場合は"none" */
    height: 3px;/* ハンバーガーメニューの三本線の太さ */
    width: 3rem;/* ハンバーガーメニューの三本線の長さ */
    border-radius: 3px;
    background: black;/* ハンバーガーメニューの三本線の色 */
    position: absolute;/* positionは、指定した要素の配置方法を決められるプロパティであり、
    absoluteは左上角の起点である絶対配置からどれだけ離れているかが指定できます。 */
  }
  .sp-menu__box span:before {
    bottom: 8px;
  }
  .sp-menu__box span:after {
    top: 8px;
  }
  #sp-menu__check {
    display: none;/*チェックボックスを表示させるかさせないか。表示させたい場合はblockにする  */
  }
  #sp-menu__check:checked ~ .sp-menu__box span {
    background: rgba(255, 255, 255, 0);/* この数字を変えるとHBメニューを
    クリックした時の✖の形が変わった。 */
  }
  #sp-menu__check:checked ~ .sp-menu__box span::before {
    bottom: 0;
    transform: rotate(45deg);/*HBボタンを押したとき線を45度回転させ✖にする。*/
  }
  #sp-menu__check:checked ~ .sp-menu__box span::after {/*HBボタンを押したとき線が
    45度元に戻り横線になる。*/
    top: 0;
    transform: rotate(-45deg);
  }
 /*HBメニューがスライドして出てくる時のCSS */
  .sp-menu__content {
    border:solid px pink;
    width: 15%;/* 出てくるHBメニューの幅 */
    height:auto;/* 出てくるHBメニューの高さ */
    position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
    後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
    top: 0;/* 出てくるメニューの上のmarginが0ということ。数を増やしていけば下に下がる */
   /* 普段は画面外にするために左端を画面右端の位置にする */
    left: 100%;/* 100%にすればHBメニューは隠れる。50％なら半分しか隠れない。 */
    z-index: 90;/*z-indexは要素の重なり順を指定するプロパティである。
    指定した値が大きい要素ほど順位が上に表示されます。数字には整数を入れます。*/
    background-color: white;/*出てくるHBメニューの色 */
    /* transitionは、ある要素の状態の変化をアニメーションとして動作させることができる。
    横にスライドし、スピードも変更できる */
    transition: all 0.5s;
    display: none;
  }
  ul.sp-menu__list {/*出てくるメニューの位置を調整する。top,left,bottom*/
    border: solid px red;
    width:95%;/*出てくるメニューの全体枠の幅*/
    height:auto;/*出てくるメニューの全体枠の高さ*/
    padding-left:3%;/*出てくるメニューそれぞれの左の余白を小さくする*/
  }
  .sp-menu__item {/*出てくるメニューそれぞれの枠の幅を調整できる。*/
    border-bottom: solid 1px white;
    list-style: none;
    width:83%;
  }
  .sp-menu__link {/*出てくるメニューの文字の並びや大きさなど。*/
    display: block;
    color: black;
    border: solid 1px silver;
    width: 100%;/*出てくるメニューのそれぞれの枠*/
    font-size: 1.3rem;/*出てくるメニューの文字の大きさ。*/
    /*box-sizing: border-box;*/    
    white-space: nowrap;
    text-decoration: none;
    padding: 5% 5% 5% 5%;
    background-color: white;
    text-align: center;
  }
  
/*ここまでがハンバーガーメニュー*/           
/*ここまでがheaderで以下がmain*/
main{border:solid px gold;
    width:100%;height: auto;
    margin-top: 10px;
}
h2{/*バードウォッチングの方法は？*/
  border: solid px red ;
  width:80%;min-height: 12px;
  font-size: 2.5vw;
  color:royalblue;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10vw;
}
nav.agyo{
  border:solid px;
  width:70%;
  height:3vw;
  display: flex;
   justify-content: center;
   align-items: center;
  font-size: 2vw;
  background-color: pink;
  margin-left: auto;margin-right: auto;
  margin-top: 50px;
 }
nav.waku1{/*外枠*/ 
 border:solid px yellowgreen;
 width:70%;
 height:6vw;
 display: flex;
  margin-left: auto;margin-right: auto;
 margin-top: 30px;
}
a#waku2{/*中枠*/ 
  border:solid px green;
  width:27%;
  height:6vw;
  display: flex;    
  font-size: 1.5vw;
  margin-right: 1.5%;
 }
 nav#waku3{/*中枠*/ 
  border:solid px red;
  width:50%;
  height:6vw;
  display: flex;
  font-size: 1.5vw;
 }
 nav#waku4{/*中枠*/ 
  border:solid px blue;
  width:48%;
  height:6vw;
  display: flex;
  justify-content: center;
align-items: center;
  font-size: 1.5vw;
 }
#samune{
    width:100%;
    height:auto;
}
a.modolu{/*戻る*/
  border:solid px;
width:7%;
height:2vw;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5vw;
background-color: rgb(180, 231, 180);
margin-left: auto; margin-right: auto;
margin-top: 3vw;
color: white;
}
footer{
  border:solid px ;
    width:100%;
    height: 50px;
    text-align: center;
    font-size: 15px;     
    margin-bottom: 0px;
    margin-top: 50px;
}

@media screen and (max-width: 1024px){
  header{border:solid px red;
}
h1{/*--けせんの野鳥--*/  
    font-size: 4vw;        
}
h2{/*--大きさで名前を知ろう--*/ 
    font-size: 4vw;
}
nav{/*--PCメニュー６つの大枠--*/    
  border:solid px red;    
  }
  ul.global-menu{/*--PC横並びメニュー６つのフォントサイズなど--*/
    border:solid px yellowgreen;
    width:85%;
    text-align: center;/*--メニュー内の文字がセンタリング--*/
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 ;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    display:flex ;/* flexで横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え このプロパティはブロック要素、
    インライン要素どちらもセンタリングできる*/
    }
    nav ul li{/* PCメニューの各箱の大きさ */
      background-color: ;
      border:solid px brown;
      list-style: none; /* リストのマーカー（点）を削除 */
      height:4vw;
     width:13vw;
      display:flex ;
      justify-content: center;
      align-items: center;
      padding-top: 10px;
      padding-bottom: 10px;
      margin-right: 1vw;
    }
    nav ul a li#home {/* メニューのホームの文字色が赤にする */
          color: red;
          font-size: 2vw;
          font-weight: bold;
          background-color: white;/* PCメニューのそれぞれの背景色 */
          /* PCメニューそれぞれの幅 */
          margin-right: 1vw;
          }
      nav ul a li#namae{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
          
          margin-right: 1vw;
      }
      nav ul a li#media{
        color:black;
        font-size: 2vw;
        font-weight: bolder;
        background-color: white;
        
        margin-right: 1vw;
    }
      nav ul a li#zukan{
        color:black;
        font-size: 2vw;
        font-weight: bolder;
        background-color: white;
        
        margin-right: 1vw;
      }
      nav ul a li#keijiban{
        border:solid px rebeccapurple;
        color:black;
        font-size: 2vw;
        font-weight: bolder;
        background-color: white;
       
        margin-right: 1vw;
      }
      nav ul a li#toiawase{
        color:black;
        font-size: 2vw;
        font-weight: bolder;
        background-color: white;
      
        margin-right: 1vw;
      }
      a {
        text-decoration: none;/* メニューをリンクにした際にできる下線を消去 */
      }            
  nav ul li#home:hover{/* マウスが通るとメニューの色がwhiteに変わる */
              background-color: yellowgreen;
            }
  nav ul li#birdname:hover{/* マウスが通るとメニューの色がwhiteに変わる */
              background-color: yellowgreen;
            }
  nav ul li#media:hover{/* マウスが通るとメニューの色がwhiteに変わる */
              background-color: yellowgreen;
            }
  nav ul li#zukan:hover{/* マウスが通るとメニューの色がwhiteに変わる */
              background-color: yellowgreen;
            }
  nav ul li#keijiban:hover{/* マウスが通るとメニューの色がwhiteに変わる */
              background-color: yellowgreen;
            }
  nav ul li#toiawase:hover{/* マウスが通るとメニューの色がwhiteに変わる */
              background-color: yellowgreen;
            }
/* ハンバーガーメニューについてのCSS */
/* ハンバーガーボタンを押してチェックがONの時だけ
 スマホ用メニューを画面左端に移動する */
 #sp-menu__check:checked ~ .sp-menu__content {/*#sp-menu__check:checkedは
  ハンバーガーメニューが開いた状態のときに、.sp-menu__content 要素にスタイルを適用します。
  さらに"~"は指定した要素の後にある要素全てに適用されます。*/
  left: 0;/* 0以外では画面から出てしまうので通常は0で使う */
}
.sp-menu__box {/* ハンバーガーメニューボタンに関するCSS */ 
  position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
  後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
  top: 2rem;/* ハンバーガーメニューボタンの位置で増やすと下に下がる */ 
  right: 3rem;/* ハンバーガーメニューボタンの位置で増やすと左に移動する */ 
  display: flex;
  height: 4rem;/* ハンバーガーメニューボタンの高さ 60px*/
  width: 4rem;/* ハンバーガーメニューボタンの幅 60px*/
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: transparent;/* ハンバーガーメニューボタンの色 */
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: none;/* 三本線を表示させる。消す場合は"none" */
  height: 3px;/* ハンバーガーメニューの三本線の太さ */
  width: 3rem;/* ハンバーガーメニューの三本線の長さ */
  border-radius: 3px;
  background: black;/* ハンバーガーメニューの三本線の色 */
  position: absolute;/* positionは、指定した要素の配置方法を決められるプロパティであり、
  absoluteは左上角の起点である絶対配置からどれだけ離れているかが指定できます。 */
}
.sp-menu__box span:before {
  bottom: 8px;
}
.sp-menu__box span:after {
  top: 8px;
}
#sp-menu__check {
  display: none;/*チェックボックスを表示させるかさせないか。表示させたい場合はblockにする  */
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);/* この数字を変えるとHBメニューを
  クリックした時の✖の形が変わった。 */
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);/*HBボタンを押したとき線を45度回転させ✖にする。*/
}
#sp-menu__check:checked ~ .sp-menu__box span::after {/*HBボタンを押したとき線が
  45度元に戻り横線になる。*/
  top: 0;
  transform: rotate(-45deg);
}
/*HBメニューがスライドして出てくる時のCSS */
.sp-menu__content {
  border:solid px pink;
  width: 15%;/* 出てくるHBメニューの幅 */
  height:auto;/* 出てくるHBメニューの高さ */
  position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
  後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
  top: 0;/* 出てくるメニューの上のmarginが0ということ。数を増やしていけば下に下がる */
 /* 普段は画面外にするために左端を画面右端の位置にする */
  left: 100%;/* 100%にすればHBメニューは隠れる。50％なら半分しか隠れない。 */
  z-index: 90;/*z-indexは要素の重なり順を指定するプロパティである。
  指定した値が大きい要素ほど順位が上に表示されます。数字には整数を入れます。*/
  background-color: white;/*出てくるHBメニューの色 */
  /* transitionは、ある要素の状態の変化をアニメーションとして動作させることができる。
  横にスライドし、スピードも変更できる */
  transition: all 0.5s;
  display: none;
}
ul.sp-menu__list {/*出てくるメニューの位置を調整する。top,left,bottom*/
  border: solid px red;
  width:95%;/*出てくるメニューの全体枠の幅*/
  height:auto;/*出てくるメニューの全体枠の高さ*/
  padding-left:3%;/*出てくるメニューそれぞれの左の余白を小さくする*/
}
.sp-menu__item {/*出てくるメニューそれぞれの枠の幅を調整できる。*/
  border-bottom: solid 1px white;
  list-style: none;
  width:83%;
}
.sp-menu__link {/*出てくるメニューの文字の並びや大きさなど。*/
  display: block;
  color: black;
  border: solid 1px silver;
  width: 100%;/*出てくるメニューのそれぞれの枠*/
  font-size: 1.3rem;/*出てくるメニューの文字の大きさ。*/
  /*box-sizing: border-box;*/    
  white-space: nowrap;
  text-decoration: none;
  padding: 5% 5% 5% 5%;
  background-color: white;
  text-align: center;
}
/*ここまでがハンバーガーメニュー*/
nav.agyo{
  border:solid px;
  width:80%;
  height:5vw;
  display: flex;
   justify-content: center;
   align-items: center;
  font-size: 3vw;
  background-color: pink;
  margin-left: auto;margin-right: auto;
  margin-top: 50px;
 }
nav.waku1{/*外枠*/ 
 border:solid px yellowgreen;
 width:80%;
 height:6vw;
 display: flex;
  margin-left: auto;margin-right: auto;
 margin-top: 30px;
}
a#waku2{/*中枠*/ 
  border:solid px green;
  width:27%;
  height:6vw;
  display: flex;  
  margin-right: 1.5%;
 }
 nav#waku3{/*中枠*/ 
  border:solid px red;
  width:50%;
  height:6vw;
  display: flex; 
 }
 nav#waku4{/*中枠*/ 
  border:solid px blue;
  width:48%;
  height:6vw;
  display: flex;
  justify-content: center;
align-items: center;
  font-size: 2vw;/*鳥の名前のフォントサイズ*/ 
 }
#samune{
    width:100%;
    height:auto;
}
a.modolu{/*戻る*/
  border:solid px;
width:7%;
height:2vw;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5vw;
background-color: rgb(180, 231, 180);
margin-left: auto; margin-right: auto;
margin-top: 3vw;
color: white;
}
footer{
  border:solid px ;
    width:100%;
    height: 50px;
    text-align: center;
    font-size: 15px;     
    margin-bottom: 0px;
    margin-top: 50px;
}



}
@media screen and (max-width: 768px){
    header{border:solid px green;
      padding-top:0px;
      padding-bottom:0px;
      width:100%; height: auto;;
    }   
  h1{/*--けせんの野鳥--*/ 
      font-size: 5vw;        
  }
    nav{/*--PCメニュー６つの大枠--*/    
    border:solid px red;    
    }
    ul.global-menu{/*--PC横並びメニュー６つのフォントサイズなど--*/
      border:solid px yellowgreen;
      width:85%;
      text-align: center;/*--メニュー内の文字がセンタリング--*/
      font-weight: bold;
      padding: 0 ;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 0px;
      display:flex ;/* flexで横並びにする */
      align-items: center; /* 垂直方向の中央揃え */
      justify-content: center; /* 横方向の中央揃え このプロパティはブロック要素、
      インライン要素どちらもセンタリングできる*/
      }
      nav ul li{/* PCメニューの各箱の大きさ */
        background-color: ;
        border:solid px brown;
        list-style: none; /* リストのマーカー（点）を削除 */
        height:4vw;
       width:13vw;
        display:flex ;
        justify-content: center;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
       
      }
      nav ul a li#home {/* メニューのホームの文字色が赤にする */
            color: red;
            font-size: 2vw;
            font-weight: bold;
            background-color: white;/* PCメニューのそれぞれの背景色 */
            /* PCメニューそれぞれの幅 */
            margin-right: 1vw;
            }
        nav ul a li#namae{
            color:black;
            font-size: 2vw;
            font-weight: bolder;
            background-color: white;            
            margin-right: 1vw;
        }
        nav ul a li#media{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;          
          margin-right: 1vw;
      }
        nav ul a li#zukan{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;          
          margin-right: 1vw;
        }
        nav ul a li#keijiban{
          border:solid px rebeccapurple;
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;         
          margin-right:1vw;
        }
        nav ul a li#toiawase{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;        
          margin-right: 1vw;
        }
        a {
          text-decoration: none;/* メニューをリンクにした際にできる下線を消去 */
        }            
    nav ul li#home:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#birdname:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#media:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#zukan:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#keijiban:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
    nav ul li#toiawase:hover{/* マウスが通るとメニューの色がwhiteに変わる */
                background-color: yellowgreen;
              }
/* ハンバーガーメニューについてのCSS */
/* ハンバーガーボタンを押してチェックがONの時だけ
   スマホ用メニューを画面左端に移動する */
   #sp-menu__check:checked ~ .sp-menu__content {/*#sp-menu__check:checkedは
    ハンバーガーメニューが開いた状態のときに、.sp-menu__content 要素にスタイルを適用します。
    さらに"~"は指定した要素の後にある要素全てに適用されます。*/
    left: 0;/* 0以外では画面から出てしまうので通常は0で使う */
  }
  .sp-menu__box {/* ハンバーガーメニューボタンに関するCSS */ 
    position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
    後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
    top: 2rem;/* ハンバーガーメニューボタンの位置で増やすと下に下がる */ 
    right: 3rem;/* ハンバーガーメニューボタンの位置で増やすと左に移動する */ 
    display: flex;
    height: 4rem;/* ハンバーガーメニューボタンの高さ 60px*/
    width: 4rem;/* ハンバーガーメニューボタンの幅 60px*/
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: transparent;/* ハンバーガーメニューボタンの色 */
  }
  .sp-menu__box span,
  .sp-menu__box span:before,
  .sp-menu__box span:after {
    content: "";
    display: block;/* 三本線を表示させる。消す場合は"none" */
    height: 0.7vw;/* ハンバーガーメニューの三本線の太さ */
    width: 10vw;/* ハンバーガーメニューの三本線の長さ */
    border-radius: 3vw;
    background: black;/* ハンバーガーメニューの三本線の色 */
    position: absolute;/* positionは、指定した要素の配置方法を決められるプロパティであり、
    absoluteは左上角の起点である絶対配置からどれだけ離れているかが指定できます。 */
  }
  .sp-menu__box span:before {
    bottom: 1.5vw;
  }
  .sp-menu__box span:after {
    top: 1.5vw;
  }
  #sp-menu__check {
    display: none;/*チェックボックスを表示させるかさせないか。表示させたい場合はblockにする  */
  }
  #sp-menu__check:checked ~ .sp-menu__box span {
    background: rgba(255, 255, 255, 0);/* この数字を変えるとHBメニューを
    クリックした時の✖の形が変わった。 */
  }
  #sp-menu__check:checked ~ .sp-menu__box span::before {
    bottom: 0;
    transform: rotate(45deg);/*HBボタンを押したとき線を45度回転させ✖にする。*/
  }
  #sp-menu__check:checked ~ .sp-menu__box span::after {/*HBボタンを押したとき線が
    45度元に戻り横線になる。*/
    top: 0;
    transform: rotate(-45deg);
  }
 /*HBメニューがスライドして出てくる時のCSS */
  .sp-menu__content {
    border:solid px pink;
    width: 40%;/* 出てくるHBメニューの幅 */
    height:auto;/* 出てくるHBメニューの高さ */
    position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
    後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
    top: 0;/* 出てくるメニューの上のmarginが0ということ。数を増やしていけば下に下がる */
   /* 普段は画面外にするために左端を画面右端の位置にする */
    left: 100%;/* 100%にすればHBメニューは隠れる。50％なら半分しか隠れない。 */
    z-index: 90;/*z-indexは要素の重なり順を指定するプロパティである。
    指定した値が大きい要素ほど順位が上に表示されます。数字には整数を入れます。*/
    background-color: white;/*出てくるHBメニューの色 */
    /* transitionは、ある要素の状態の変化をアニメーションとして動作させることができる。
    横にスライドし、スピードも変更できる */
    transition: all 0.5s;
    display: block;
  }
  ul.sp-menu__list {/*出てくるメニューの位置を調整する。top,left,bottom*/
    border: solid px red;
    width:95%;/*出てくるメニューの全体枠の幅*/
    height:auto;/*出てくるメニューの全体枠の高さ*/
    padding-left:3%;/*出てくるメニューそれぞれの左の余白を小さくする*/
  }
  .sp-menu__item {/*出てくるメニューそれぞれの枠の幅を調整できる。*/
    border-bottom: solid 1px white;
    list-style: none;
    width:83%;
    margin-top: 4vw;/*この数を増やすと、それぞれの箱の上下のすき間が増える*/
  }
  .sp-menu__link {/*出てくるメニューの文字の並びや大きさなど。*/
    display: block;
    color: black;
    border: solid 1px silver;
    width: 100%;/*出てくるメニューのそれぞれの枠*/
    font-size: 3vw;/*出てくるメニューの文字の大きさ。*/
    /*box-sizing: border-box;*/    
    white-space: nowrap;
    text-decoration: none;
    padding: 5% 5% 5% 5%;
    background-color: white;
    text-align: center;
  }  
/*ここまでがハンバーガーメニュー*/  
h2{/*--大きさで名前を知ろう--*/ 
  font-size: 5vw;
}
nav.agyo{
  border:solid px;
  width:90%;
  height:7vw;
  display: flex;
   justify-content: center;
   align-items: center;
  font-size: 5vw;
  background-color: pink;
  margin-left: auto;margin-right: auto;
  margin-top: 50px;
 }
nav.waku1{/*外枠*/ 
 border:solid px yellowgreen;
 width:90%;
 height:6vw;
 display: flex;
  margin-left: auto;margin-right: auto;
 margin-top: 30px;
}
a#waku2{/*中枠*/ 
  border:solid px green;
  width:27%;
  height:6vw;
  display: flex;  
  margin-right: 1.5%;
 }
 nav#waku3{/*写真の枠*/ 
  border:solid px red;
  width:40%;
  height:6vw;
  display: flex; 
 }
 nav#waku4{/*鳥の名前の枠*/ 
  border:solid px blue;
  width:60%;
  height:6vw;
  display: flex;
  justify-content: center;
align-items: center;
  font-size: 2.5vw;/*鳥の名前のフォントサイズ*/ 
 }
#samune{
    width:100%;
    height:auto;
}

footer{
  border:solid px ;
    width:100%;
    height: 50px;
    text-align: center;
    font-size: 15px;     
    margin-bottom: 0px;
    margin-top: 50px;
}

}
@media screen and (max-width: 480px){
  header{border:solid px green;
    padding-top:0px;
    padding-bottom:0px;
    width:100%; height: auto;;
  }   
h1{/*--けせんの野鳥--*/ 
    font-size: 5vw;        
}
  nav{/*--PCメニュー６つの大枠--*/    
  border:solid px red;    
  }
  ul.global-menu {/*--PCメニューが消える--*/
    display: none;    
}
/* ハンバーガーメニューについてのCSS */
/* ハンバーガーボタンを押してチェックがONの時だけ
 スマホ用メニューを画面左端に移動する */
 #sp-menu__check:checked ~ .sp-menu__content {/*#sp-menu__check:checkedは
  ハンバーガーメニューが開いた状態のときに、.sp-menu__content 要素にスタイルを適用します。
  さらに"~"は指定した要素の後にある要素全てに適用されます。*/
  left: 0;/* 0以外では画面から出てしまうので通常は0で使う */
}
.sp-menu__box {/* ハンバーガーメニューボタンに関するCSS */ 
  position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
  後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
  top: 2rem;/* ハンバーガーメニューボタンの位置で増やすと下に下がる */ 
  right: 3rem;/* ハンバーガーメニューボタンの位置で増やすと左に移動する */ 
  display: flex;
  height: 4rem;/* ハンバーガーメニューボタンの高さ 60px*/
  width: 4rem;/* ハンバーガーメニューボタンの幅 60px*/
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: transparent;/* ハンバーガーメニューボタンの色 */
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;/* 三本線を表示させる。消す場合は"none" */
  height: 0.7vw;/* ハンバーガーメニューの三本線の太さ */
  width: 10vw;/* ハンバーガーメニューの三本線の長さ */
  border-radius: 3vw;
  background: black;/* ハンバーガーメニューの三本線の色 */
  position: absolute;/* positionは、指定した要素の配置方法を決められるプロパティであり、
  absoluteは左上角の起点である絶対配置からどれだけ離れているかが指定できます。 */
}
.sp-menu__box span:before {
  bottom: 1.5vw;
}
.sp-menu__box span:after {
  top: 1.5vw;
}
#sp-menu__check {
  display: none;/*チェックボックスを表示させるかさせないか。表示させたい場合はblockにする  */
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);/* この数字を変えるとHBメニューを
  クリックした時の✖の形が変わった。 */
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);/*HBボタンを押したとき線を45度回転させ✖にする。*/
}
#sp-menu__check:checked ~ .sp-menu__box span::after {/*HBボタンを押したとき線が
  45度元に戻り横線になる。*/
  top: 0;
  transform: rotate(-45deg);
}
/*HBメニューがスライドして出てくる時のCSS */
.sp-menu__content {
  border:solid px pink;
  width: 40%;/* 出てくるHBメニューの幅 */
  height:auto;/* 出てくるHBメニューの高さ */
  position: fixed;/*fixed」を使うと横から出てきたメニューは固定され、
  後ろの画面をマウスでスクロールしても出てきたメニューはスクロールしません。*/
  top: 0;/* 出てくるメニューの上のmarginが0ということ。数を増やしていけば下に下がる */
 /* 普段は画面外にするために左端を画面右端の位置にする */
  left: 100%;/* 100%にすればHBメニューは隠れる。50％なら半分しか隠れない。 */
  z-index: 90;/*z-indexは要素の重なり順を指定するプロパティである。
  指定した値が大きい要素ほど順位が上に表示されます。数字には整数を入れます。*/
  background-color: white;/*出てくるHBメニューの色 */
  /* transitionは、ある要素の状態の変化をアニメーションとして動作させることができる。
  横にスライドし、スピードも変更できる */
  transition: all 0.5s;
  display: block;
}
ul.sp-menu__list {/*出てくるメニューの位置を調整する。top,left,bottom*/
  border: solid px red;
  width:95%;/*出てくるメニューの全体枠の幅*/
  height:auto;/*出てくるメニューの全体枠の高さ*/
  padding-left:3%;/*出てくるメニューそれぞれの左の余白を小さくする*/
}
.sp-menu__item {/*出てくるメニューそれぞれの枠の幅を調整できる。*/
  border-bottom: solid 1px white;
  list-style: none;
  width:83%;
  margin-top: 4vw;/*この数を増やすと、それぞれの箱の上下のすき間が増える*/
}
.sp-menu__link {/*出てくるメニューの文字の並びや大きさなど。*/
  display: block;
  color: black;
  border: solid 1px silver;
  width: 100%;/*出てくるメニューのそれぞれの枠*/
  font-size: 3vw;/*出てくるメニューの文字の大きさ。*/
  /*box-sizing: border-box;*/    
  white-space: nowrap;
  text-decoration: none;
  padding: 5% 5% 5% 5%;
  background-color: white;
  text-align: center;
}  
/*ここまでがハンバーガーメニュー*/  
h2{/*--大きさで名前を知ろう--*/ 
font-size: 5vw;
}
nav.agyo{
border:solid px;
width:90%;
height:7vw;
display: flex;
 justify-content: center;
 align-items: center;
font-size: 5vw;
background-color: pink;
margin-left: auto;margin-right: auto;
margin-top: 50px;
}
nav.waku1{/*外枠*/ 
border:solid px yellowgreen;
width:90%;
height:6vw;
display: flex;
margin-left: auto;margin-right: auto;
margin-top: 30px;
}
a#waku2{/*中枠*/ 
border:solid px green;
width:27%;
height:6vw;
display: flex;  
margin-right: 1.5%;
}
nav#waku3{/*写真の枠*/ 
border:solid px red;
width:40%;
height:6vw;
display: flex; 
}
nav#waku4{/*鳥の名前の枠*/ 
border:solid px blue;
width:60%;
height:6vw;
display: flex;
justify-content: center;
align-items: center;
font-size: 3vw;/*鳥の名前のフォントサイズ*/ 
}
#samune{
  width:100%;
  height:auto;
}

footer{
border:solid px ;
  width:100%;
  height: 50px;
  text-align: center;
  font-size: 15px;     
  margin-bottom: 0px;
  margin-top: 50px;
}



}
/*ここからメイン*/
