@charset "utf-8";

body {
    font-family: 'Catamaran','Noto Sans JP',sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2c2c2c;
  }
  img {
    max-width: 100%;
  }
header {
  background-color: #6495ed;
  max-height: 100px;
}
header h1 {
  text-align: center;
}
header img {
  margin: 0 auto;
  max-height: 80px;
}
h1 {
  font-size: 34px;
  margin: 30px 10px 20px 10px;
  text-align: center;
  color:#5681d1
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 20px;
  margin: 5px 0;
}
h4 {
  font-size: 12px;
  line-height: 1.5;
  color: #2c2c2c61;
}
article {
  margin: 30px 0;
  text-align: center;
}
ul {
  margin-bottom: 20px;
}
span {
  display: flex;
}
.categoryNav {
  margin-left: 24px;
}
.categoryNav ul li{
  list-style-type: square;
  font-size: 16px;
}
.categoryNav a {
  color: #5681d1
}
.recentNav {
  margin-left: 55px;
}
.recentNav ul li{
  list-style-type: square;
  font-size: 16px;
}
.info a {
  color: #5681d1
}
.recentNav a {
  color: #5681d1
}
a:hover {
  text-decoration: underline;
}
.map a {
  color: blue
} 
p {
  text-align: center;
  margin-bottom: 20px;
}
footer {
  text-align: center;
  margin-top: 20px;
  padding: 8px 0;
  background-color: #160803cb;
  color: #f4f4f4;
  font-size: 18px;
}
   /* -----------------------------------
 メディアクエリ
  ----------------------------------- */
  @media screen and (min-width: 800px) {
    #mainarea{
      width: 1020px;
      margin: 0 auto 50px;
      display: flex;
      justify-content: space-between;
    }
    main {
      flex-basis: 700px;
      margin-top: 20px;
      font-size: 16px;
    }
    aside {
      flex-basis: 200px;
      margin-top: 40px;
    }
    h1 {
      font-size: 45px;
    }    
    .categoryNav {
      margin: 20px 0;
    }    
    .recentNav {
      margin-left: 0px;
    }    
    span {
      display: block;
    }
  }
  /* 以下に参考サイトのメニュー用CSSを貼り付ける */
  /* メニューを画面上部に固定表示しています */
.gMenu {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99;
  }
  /* メニューアイコンを画面右上に固定しています */
  .gMenu .menu-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 12px;
    padding-top: 5px;
    height: 12px;
  }
  /* メニューアイコン（三本線）の真ん中の線です */
  .gMenu .menu-icon .navicon {
    background: #ffc107; /* 色は自由に変更可能です */
    display: block;
    height: 2px; /* 太さ */
    width: 31px; /* 長さ */
    position: relative;
    transition: background .4s ease-out; /* 形が変わる時のアニメーション */
  }
  /* メニューアイコン（三本線）の上と下の線を疑似要素で追加 */
  .gMenu .menu-icon .navicon::before,
  .gMenu .menu-icon .navicon::after {
    background: #ffc107; /* 色は自由に変更可能です */
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .4s ease-out; /* 形が変わる時のアニメーション */
    width: 100%;
  }
  .gMenu .menu-icon .navicon::before {top: 10px;} /* 位置を上にずらしています */
  .gMenu .menu-icon .navicon::after {top: -10px;} /* 位置を下にずらしています */
  /* 表示されるメニューです */
  .gMenu .menu {
    background-color: rgba(255,255,255,0.9);
    overflow: hidden;
    max-height: 0; /* ★最初は高さを0にして非表示状態に */
    transition: max-height .6s; /* 表示されるときのアニメーション */
    text-align: center;
  }
  /* メニュー部分のデザインです */
  .gMenu .menu li:first-of-type {
    padding-top: 50px;
  }
  .gMenu .menu li a {
    display: block;
    padding: 24px 20px;
    text-decoration: none;
    text-transform: uppercase;
  }
  .gMenu .menu li a:hover {
    background-color: #f4f4f4;
  }
  /* チェックボックスは常に非表示です */
  .gMenu .menu-btn {
    display: none;
  }
  /* ▼▼▼以下はチェックボックスがONの時の状態です▼▼▼ */
  .gMenu .menu-btn:checked ~ .menu {
    max-height: 500px; /* ★チェックボックスがオンの時高さを338pxにして表示させます */
    transition: max-height .6s;
  }
  /* メニューボタンの中央の線を非表示に */
  .gMenu .menu-btn:checked ~ .menu-icon .navicon {background: transparent;}
  
  /* メニューボタンの上下の線を45度傾けて✕印を作ります */
  .gMenu .menu-btn:checked ~ .menu-icon .navicon::before {transform: rotate(-45deg);top: 0;}
  .gMenu .menu-btn:checked ~ .menu-icon .navicon::after {transform: rotate(45deg);top: 0;}
  /* サイトに合わせてオリジナルカスタマイズ */
  .gMenu .menu-icon {
    top: 26px;
  }
  .gMenu .menu-icon .navicon,
  .gMenu .menu-icon .navicon::before,
  .gMenu .menu-icon .navicon::after {
    background: #333333;
  }