@charset "utf-8";

body {
    font-family: 'Catamaran','Noto Sans JP',sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #2c2c2c;
  }
  img {
    max-width: 100%;
  }
  .topPage header {
    height: 100vh;
    background: url(../images/ogp.jpg) no-repeat center top/cover;
    padding-top: 40px;
    margin-bottom: 64px;
  }
  .topPage header h1 img {
    width: 380px;
  }
  .topPage header h1 {
    text-align: center;
    background-color: rgba(0, 12, 56, 0.3);
    position: absolute;
    left: 0; 
  }
  .topPage header p {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 320px;
    background-color: rgba(0, 12, 56, 0.3);
  }
  .linkList {
    padding: 0 20px;
  }
  .linkList li {
    margin-bottom: 40px;
  }
  .linkList li a {
    display: block;
    background-color: #f5f5f5;
  }
  .linkList li a span {
    display: block;
    padding: 12px 15px 10px;
    font-size: 18px;
  }
  .linkList li a:hover {
    filter: brightness(105%);
  }
  footer {
    background-color: #160803cb;
    text-align: center;
     color: #f4f4f4;
     align-self: flex-end;
     padding: 20px;
  }
  /* -----------------------------------
  SNSリンク
  ----------------------------------- */
  ul.sns {
    list-style: none;
    display: -webkit-box;
    display: flex;
    margin-bottom: 20px;
  }
  
  ul.sns li {
    margin: 0 auto;
  }
  
  ul.sns li a {
    display: block;
    margin: 0　auto;
  }
  
  ul.sns li a img {
    width: 80px;
    height: 80px;
  }
   /* -----------------------------------
 メディアクエリ
  ----------------------------------- */
  @media screen and (min-width: 920px) {
    .topPage header h1 {
      text-align: center;
    }
    .topPage header h1 img {
      width: 480px;
    }  
    .topPage header p {
      width: 700px;
    }  
    .linkList {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: space-around;
    }
    .linkList li {
        flex-basis: 47%;
        margin-bottom: 20px;
    }
    ul.sns {
      list-style: none;
      display: -webkit-box;
      display: flex;
      margin: 14px 50px;
    }  
    footer {
      font-size: 26px;
    }
  }
  /* 以下に参考サイトのメニュー用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;
  }