@charset "utf-8";
body{ /*--HTMLやCSSにおいて、<body>要素にwidth（幅）とheight（高さ）を
  指定する必要性は一般的にはありません。<body>要素は通常、
  ブラウザウィンドウ全体に自動的に広がります。--*/
  border:solid px red;
  padding-top: 10vw;
  font-size: ;/*--<body>要素に対してfont-sizeを指定することは一般的であり、
  推奨される方法です。デフォルトでは16px。65.4%にすれば10pxになる。remは2で20px--*/
}
html,body{font-size:16px;}
header{border:solid px blue;
  width:100%; height:auto;
margin-bottom: 100px; 
  }
h1{/*--このサイトの紹介--*/
    font-size:4vw;
    text-align:center;
    color:forestgreen ;
    margin-bottom: 10px;
    background-color:white;
    margin-top: 0px;
  }
  section.mokuteki{
    width:75%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.5vw;
  }
  section#syomei{
    text-align: right;
  }
  nav{/*--PCメニュー６つの大枠--*/    
    border:solid px red;    
    }
    ul.global-menu{/*--PC横並びメニュー６つのフォントサイズなど--*/
      border:solid px yellowgreen;
      width:80%;
      text-align: center;/*--メニュー内の文字がセンタリング--*/
      font-size: 3vw;
      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メニューそれぞれの幅 */

            }
        nav ul a li#namae{
            color:black;
            font-size: 2vw;
            font-weight: bolder;
            background-color: white;
        }
        nav ul a li#media{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
      }
        nav ul a li#zukan{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
        }
        nav ul a li#keijiban{
          border:solid px rebeccapurple;
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
        }
        nav ul a li#toiawase{
          color:black;
          font-size: 2vw;
          font-weight: bolder;
          background-color: white;
        }
        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{
  text-align:center;
  color:yellowgreen;
  font-size:6vw;
}  
nav.gojyuon{
 border:solid px;
 width:70%;
 height:5vw;
 display: flex;
  justify-content: center;
  align-items: center;
 font-size: 3vw;
 background-color: aqua;
 margin: auto;
}
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;
}

footer{
  border:solid px ;
    width:100%;
    height: auto;
    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: 5vw;        
}
h2{
  
}
section.mokuteki{
  width:75%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  font-size: 2vw;
}
section#syomei{
  text-align: right;
}
.onlei{
  border: solid px blue ;
  width:60%;
  font-size: 1.2rem;
  margin-top: 1.7rem;
  margin-bottom: 1.7rem;
}       
    #bangou{
        width:100%;height: auto;
        text-align: center;
        font-size: 40px;
        background-color: yellow;
    }
}
@media screen and (max-width: 768px){
    header{border:solid px green;
      padding-top:0px;
      padding-bottom:0px;
      width:100%; height: auto;;
    }   
  h1{
      font-size: 6vw;        
  }
section.mokuteki{
    width:75%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    font-size: 3vw;
  }
  section#syomei{
    text-align: right;
    font-size:2vw;
  }
  h2{
    text-align:center;
    color:yellowgreen;
    font-size:6vw;
  }
/* ハンバーガーメニューのボタン */
/* ハンバーガーボタンを押してチェックが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: 3vw;
    right: 9vw;/* この数を増やすと左に移動する */ 
    display: flex;
    height: 15vw;/* ハンバーガーメニューボタンの高さ 60px*/
    width: 8vw;/* ハンバーガーメニューボタン横位置　数を増やすと左に移動する*/
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: transparent;/* ハンバーガーメニューボタンの色transparentは透明のこと */
  }
  .sp-menu__box span,
  .sp-menu__box span:before,
  .sp-menu__box span:after {
    content: "";
    display: block;/* 三本線を表示させる。消す場合は"none" */
    height: 0.3vw;/* ハンバーガーメニューの三本線の太さ */
    width: 10vw;/* ハンバーガーメニューの三本線の長さ */
    border-radius: 3vw;
    background: black;/* 三本線の色 */
    position: absolute;/* positionは、指定した要素の配置方法を決められるプロパティであり、
    absoluteは左上角の起点である絶対配置からどれだけ離れているかが指定できます。 */
  }
  .sp-menu__box span:before {
    bottom: 1.5vw;/*このbottomとtopの数値を増やすと三本線の間隔は広がり減らすと狭まる*/
  }
  .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 violet;
    width: 45%;/* 出てくる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 px hotpink;
    list-style: none;
    width:100%;
    margin-top: 4vw;/*この数を増やすと、それぞれの箱の上下のすき間が増える*/
  }
  .sp-menu__link {/*出てくるメニューの文字の並びや大きさなど。*/
    display: block;
    border: solid 1px silver;
    width: 100%;/*出てくるメニューのそれぞれの枠*/
    font-size: 3vw;
    font-family: sans-serif;
    white-space: nowrap;
    text-decoration: none;
    padding: 5%;
    background-color: white;
  }  
/*ここまでがハンバーガーメニュー*/ 
  nav.gojyuon{
    border:solid px;
    width:95%;
    height:12vw;
    display: flex;
     justify-content: center;
     align-items: center;
    font-size: 5vw;
    background-color: aqua;
    margin-left: auto;margin-right: auto;
    }
   nav.agyo{
       border:solid px;
       width:95%;
       height:8vw;
       display: flex;
        justify-content: center;
        align-items: center;
       font-size: 5vw;
       background-color: pink;
       margin-left: auto;margin-right: auto;
       margin-top: 5vw;
      } 
      nav.waku1{/*外枠*/ 
        border:solid px yellowgreen;
        width:95%;
        height:8vw;
        display: flex;
         margin-left: auto;margin-right: auto;
        margin-top: 5vw;
       }
       a#waku2{/*中枠*/ 
           border:solid px green;
           width:27%;
           height:8vw;
           display: flex;    
           font-size: 3vw;
           margin-right: 1.5%;
          }
          nav#waku3{/*中枠*/ 
           border:solid px red;
           width:50%;
           height:8vw;
           display: flex;
           font-size: 1.5vw;
          }
          nav#waku4{/*中枠*/ 
           border:solid px blue;
           width:48%;
           height:8vw;
           display: flex;
           justify-content: center;
        align-items: center;
           font-size: 2.5vw;
          }
       #samune{
           width:100%;
           height:auto;
       }  

}
@media screen and (max-width: 480px){
  header{border:solid px yellow;
  margin-bottom: 5vw;       
  }
  h1{/*--けせんの野鳥--*/
    font-size:6vw;
    text-align:center;
    color:forestgreen ;
    margin-bottom: 5vw;
    background-color:white;
    margin-top: 0px;
  }
  section.mokuteki{
    width:75%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    font-size: 3vw;
  }
  section#syomei{
    text-align: right;
  }
ul.global-menu {/*--PCメニューが消える--*/
        display: none;    
}
/* ハンバーガーメニューのボタン */
/* ハンバーガーボタンを押してチェックが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: 3vw;
    right: 3vw;
    display: flex;
    height: 15vw;/* ハンバーガーメニューボタンの高さ */
    width: 15vw;/* ハンバーガーメニューボタンの幅*/
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: transparent;/* ハンバーガーメニューボタンの色transparentは透明のこと */
  }
  .sp-menu__box span,
  .sp-menu__box span:before,
  .sp-menu__box span:after {
    content: "";
    display: block;/* 三本線を表示させる。消す場合は"none" */
    height: 0.5vw;/* ハンバーガーメニューの三本線の太さ */
    width:12vw;/* ハンバーガーメニューの三本線の長さ */
    border-radius: 3px;
    background: black;/* 三本線の色 */
    position: absolute;/* positionは、指定した要素の配置方法を決められるプロパティであり、absoluteは左上角の起点である絶対配置からどれだけ離れているかが指定できます。 */
  }
  .sp-menu__box span:before {
    bottom: 3vw;/*このbottomとtopの数値を増やすと三本線の間隔は広がり減らすと狭まる*/
  }
  .sp-menu__box span:after {
    top: 3vw;
  }
  #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 violet;
    width: 60%;/* 出てくる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 px hotpink;
    list-style: none;
    width:100%;
    margin-top: 1rem;
  }
  .sp-menu__link {/*出てくるメニューの文字の並びや大きさなど。*/
    display: block;
    border: solid 1px silver;
    width: 100%;/*出てくるメニューのそれぞれの枠*/
    font-size: 5vw;
    font-family: sans-serif;
    white-space: nowrap;
    text-decoration: none;
    padding: 5%;
    background-color: white;
  }  
/*ここまでがハンバーガーメニュー*/
nav.gojyuon{
  border:solid px;
  width:95%;
  height:12vw;
  display: flex;
   justify-content: center;
   align-items: center;
  font-size: 6vw;
  background-color: aqua;
  margin-left: auto;margin-right: auto;
  }
 nav.agyo{
     border:solid px;
     width:95%;
     height:8vw;
     display: flex;
      justify-content: center;
      align-items: center;
     font-size: 5vw;
     background-color: pink;
     margin-left: auto;margin-right: auto;
     margin-top: 5vw;
    }
 nav.waku1{/*外枠*/ 
  border:solid px yellowgreen;
  width:95%;
  height:8vw;
  display: flex;
   margin-left: auto;margin-right: auto;
  margin-top: 5vw;
 }
 a#waku2{/*中枠*/ 
     border:solid px green;
     width:27%;
     height:8vw;
     display: flex;    
     font-size: 3vw;
     margin-right: 1.5%;
    }
    nav#waku3{/*中枠*/ 
     border:solid px red;
     width:50%;
     height:8vw;
     display: flex;
     font-size: 1.5vw;
    }
    nav#waku4{/*中枠*/ 
     border:solid px blue;
     width:48%;
     height:8vw;
     display: flex;
     justify-content: center;
  align-items: center;
     font-size: 2.5vw;
    }
 #samune{
     width:100%;
     height:auto;
 }
.onlei{
  border: solid px gold ;
  width:80%;
  font-size: 0.8rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}                 
img#newmenu{        
    width:100%; height:auto; 
}
img#cm{        
    width:100%; height:auto; 
}
img#onegai{
    width:100%; height:auto; 
}




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