
body {
  font-family: Arial, sans-serif;
  padding: 0 0px;
  margin: 0 0px;
  background-color: #EEFFED;
}
 div {
 padding: 0 0px;
  margin: 0 0px;
  }
    a {
  color: #006000;
  font-weight: bold;
  margin: 0 0px;
  }
  a:hover { /* 上に5px移動 */
  color: #009425;
  border-bottom: 2px solid #009425;
  }
  a:hover:after {
  width:100%;
  }

h1 {
  color: #4CAF50;
}
 p.special-font {
    color: darkblue;
    font-family: "keifont", sans-serif;
    font-size: 20px;
    padding: 0 20px;
    line-height: 1.8; 
    text-align: center;
}
 .down_id {
 color: #757575;
 font-family: Arial, sans-serif;
 font-size: 12px;
 padding: 5 0px;
 text-align: left;
 margin: 0 0px;
 padding-left: 5px;
 }
 .down_2 {
 color: #545454;
 font-family: Arial;
 font-size: 10px;
 padding: 0 20px;
 text-align: left;
 margin: 0 0px;
 }

@font-face {
    font-family: 'keifont'; /* 任意のフォント名 */
    src: url('../fonts/keifont.woff2') format('woff2'); /* .ttf ファイルを追加 */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    }
    
    a {
    font-family: "keifont", sans-serif;
    }
    
    html {
      margin: 0; 
      padding: 0 0;
    }
p {
            font-family: "keifont", sans-serif;
            font-size: 20px;
            padding: 0 0px;
            margin: 0 0px;
            color: black;
            line-height: 1.8; 
            text-align: center;
        }
        h1 {
            font-family: "keifont", "Arial Black", sans-serif;
            color: #4EB3ED;
            padding: 20px;
            text-align: center;
        }

        /* ナビゲーションバーのスタイル */
        nav {
            background-color: #006600;
            padding: 0;
            position: fixed; /* 画面に固定 */
            top: 0; /* 上端に配置 */
            width: 100%; /* 幅を100%に */
            z-index: 1000; /* 他の要素より前面に表示 */
        }

        nav ul {
            list-style-type: none;
            flex-wrap: wrap;
            margin: 0;
            padding: 0 0;
            display: flex; /* 横並びにする */
            justify-content: center; /* 中央寄せ */
            align-items: center; /* 垂直方向中央 */
            height: auto; /* ナビバーの高さ */
        }

        nav li a {
            display: block; /* リンク全体をブロック要素に */
            color: #ffffff;
            border-radius: 15px;
            text-align: center;
            padding: 20px 18px;
            text-decoration: none;
            font-family: Arial, sans-serif; /* ナビバーのフォント */
            height: 100%; /* 親要素の高さに合わせる */
            display: flex;
            align-items: center; /* リンクテキストを垂直方向中央に */
        }

        nav li a:hover {
            background-color: #00D000; /* ホバー時の背景色 (少し暗いLightBlue) */
            color: black;
        }

        /* special-font クラスのスタイル */
        .special-font {
            font-family: "Arial", sans-serif; /* 「arial」から変更 */
            font-size: 20px;
            color: darkblue;
            font-weight: bold;
        }
        u {
            text-decoration: underline;
            text-decoration-color: white; /* ここで下線の色を指定します */
        }
                .banner-image {
    width: 100%; /* 親要素の幅に合わせて表示 */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 下部の余白をなくす */
    margin-bottom: 20px; /* バナーの下にスペース */
    text-align: center;
}
        h2 {
        padding: 0 20px;
        text-align: center;
       }
       h3 {
        padding: 0 20px;
        text-align: center;
       }

              .nav-animation2 a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  margin: 10 25px;
  display: inline-block;
  transition: all 0.3s ease; /* すべてのプロパティを0.3秒で */
  border-bottom: 2px solid transparent;
}

.nav-animation2 a:hover {
  transform: translateY(4px); /* 上に5px移動 */
  color: #003000;
  border-bottom: 2px solid #003000;
}
.nav-animation2 a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0; /* 初期状態は幅0 */
  height: 2px;
  background-color: #E6F2E6;
  transition: width 0.3s ease; /* 幅の変化にアニメーションを適用 */
}

.nav-animation2 a:hover::after {
  width: 100%; /* ホバーで幅を100%に */
} 

p, h1, h2, h3, h4, h5, h6, span, div.all {
  animation: fadeIn 0.5s ease-in-out forwards;
  opacity: 0; /* 最初は非表示 */
}

/* アニメーションの定義 */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px); /* 少し下から */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* 通常位置へ */
  }
}
.welcomefavicon {
  line-height: 1;
  display: flex;
  align-items: center;
}
.main {
  padding: 5 5px;
  margin: 5 5px;
  margin-left: 2px;
  margin-right: 2px;
  align-items: center;
  width: 100vw !important;
  text-align: center;
.main p, h1, h2, h3, h4, h5, a {
  text-align: center;
}
}
.sidebar {
  display: flex;
  padding: 4 4px;
  margin-left: 2%;
  width: 24%;
  margin: 4 4px;
  justify-content: flex-start;
  text-align: center;
  padding-bottom: 10%;
  flex-direction: column;
  gap: 10px;
  border-radius: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}
.sidebar p, h1, h2, h3 {
  margin-left: 2%;
  justify-content: center;
  text-align: center;
  color: #00051f;
}
.sidebar h1, h2, h3, h4, h5 {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}
.sidebar p {
  font-size: 15px;
}
div.title-box {
  /* 1. 上でおすすめしたカラーから、好きな色を設定してみてください（例はくすみブルー） */
  background-color: #d0d0d0 !important; 
  overflow: hidden !important;
  /* 2. 他の箱（top-announce等）とお揃いの枠線と角丸をつけて一体感を出す */  /* 3. 内側と外側の余白の調整 */
  padding: 0px;
  border-bottom: 2px solid #000000; 
  border-radius: 8px 8px 0 0;
  margin-top: 0px;
  margin-bottom: 5px; /* 下のお知らせの箱（top-announce）との間の隙間 */
}
.title-box h1, h2, h3, h4, h5 {
    margin-left: 10px;
}
div.top-announce {
  border: 2px solid #444444 !important;
  border-radius: 10px;
  padding-bottom: 10%;
  background-color: #d2e4d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}
div.none-style {
  border: 2px solid #444444 !important;
  border-radius: 10px;
  padding-bottom: 10%;
  background-color: #d2e4d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.all {
  margin: 0 0px;
  padding: 0 0px;
  display: flex;
  justify-content: space-between; 
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.announce-card-tab {
  display:flex;
  flex-direction: column;
 margin: 2 2px;
 text-decoration: none;
}
div.announce-card-tab a {
  display: block;
  text-decoration: none;

}
div.announce-card-tab p {
  padding-bottom: 10px;
}
.announce-category-kahoot {
  margin-top: 3px;
  color: #521BA6;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #521BA6;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 

}
.announce-category-kahoot h2 {
  color: #521BA6;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #521BA6;
  border-bottom: 2px solid #521BA6;
}
.announce-category-site {
  margin-top: 3px;
  color: #2965ff;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #2965ff;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
}
.announce-category-site h2 {
  color: #2965ff;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #2965ff;
  border-bottom: 2px solid #2965ff;
}
.announce-category-zyuuyou {
  margin-top: 3px;
  color: #ff8500;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #ff8500;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
}
.announce-category-zyuuyou h2 {
  color: #ff8500;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #ff8500;
  border-bottom: 2px solid #ff8500
}
.announce-category-other {
  margin-top: 3px;
  color: #6c757d;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #6c757d;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
}
.announce-category-other h2 {
  color: #6c757d;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #6c757d;
  border-bottom: 2px solid #6c757d
}
.scroll-to-top {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  background-color: #007438 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999 !important;

  /* ★1. 縦と横を同じサイズにして「正方形」の土台を作る */
  width: 60px !important;
  height: 60px !important;

  /* ★2. 角丸を 50% にすることで、正方形が綺麗な「正円」に変わります */
  border-radius: 50% !important;

  /* ★3. 丸の枠の中で、文字を【上下左右のド真ん中】に寄せる命令セット */
  display: flex !important;
  justify-content: center !important; /* 左右中央 */
  align-items: center !important;     /* 上下中央 */

  /* 今までの枠線や影、アニメーションの設定 */
  border: 2px solid #84bf98 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

/* ★最初（上の方にいるとき）にボタンを隠しておく設定（前回のまま） */
.scroll-to-top.hide {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important; 
}

/* マウスを乗せたときの効果（形が変わらないように少し調整） */
.scroll-to-top:not(.hide):hover {
  background-color: #84bf98 !important;
  color: #00051f !important;
  transform: scale(1.1); /* ★ホバーしたときに、丸い形のまま「一回り大きく」なる演出 */
}
div.index {
  border: 2px solid #444444 !important;
  border-radius: 10px;
  padding-bottom: 10%;
  background-color: #d2e4d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  list-style: none;     /* 1. デフォルトの黒丸を消す */
}
div.index li {
  position: relative;
  margin-left: auto;  /* 3. 【黒丸と文字の間隔】ここを小さくすると文字が「・」に寄ります */
  text-align: left;
}
div.index li a {
  text-align: left;
}
div.index li::before {
  position: absolute;
  left: 0;
  top: 0;
}
@media (max-width: 600px) {
  body {
  font-family: Arial, sans-serif;
  padding: 0 0px;
  margin: 0 0px;
  background-color: #EEFFED;
}
 div {
 padding: 0 0px;
  margin: 0 0px;
  }
    a {
  color: #006000;
  font-weight: bold;
  margin: 10 25px;
  }
  a:hover { /* 上に5px移動 */
  color: #009425;
  border-bottom: 2px solid #009425;
  }
  a:hover:after {
  width:100%;
  }

h1 {
  color: #4CAF50;
}
 p.special-font {
    color: darkblue;
    font-family: "keifont", sans-serif;
    font-size: 20px;
    padding: 0 20px;
    line-height: 1.8; 
    text-align: center;
}
 .down_id {
 color: #757575;
 font-family: Arial, sans-serif;
 font-size: 12px;
 padding: 5 0px;
 text-align: left;
 margin: 0 0px;
 padding-left: 5px;
 }
 .down_2 {
 color: #545454;
 font-family: Arial;
 font-size: 10px;
 padding: 0 20px;
 text-align: left;
 margin: 0 0px;
 }

@font-face {
    font-family: 'keifont'; /* 任意のフォント名 */
    src: url('../fonts/keifont.woff2') format('woff2'); /* .ttf ファイルを追加 */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    }
    
    a {
    font-family: "keifont", sans-serif;
    }
    
    html {
      margin: 0; 
      padding: 0 0;
    }
p {
            font-family: "keifont", sans-serif;
            font-size: 20px;
            padding: 0 0px;
            margin: 0 0px;
            color: black;
            line-height: 1.8; 
            text-align: center;
        }
        h1 {
            font-family: "keifont", "Arial Black", sans-serif;
            color: #4EB3ED;
            padding: 20px;
            text-align: center;
        }

        /* ナビゲーションバーのスタイル */
        nav {
            background-color: #006600;
            padding: 0;
            position: fixed; /* 画面に固定 */
            top: 0; /* 上端に配置 */
            width: 100%; /* 幅を100%に */
            z-index: 1000; /* 他の要素より前面に表示 */
        }

        nav ul {
            list-style-type: none;
            flex-wrap: wrap;
            margin: 0;
            padding: 0 0;
            display: flex; /* 横並びにする */
            justify-content: center; /* 中央寄せ */
            align-items: center; /* 垂直方向中央 */
            height: auto; /* ナビバーの高さ */
        }

        nav li a {
            display: block; /* リンク全体をブロック要素に */
            color: #ffffff;
            border-radius: 15px;
            text-align: center;
            padding: 20px 18px;
            text-decoration: none;
            font-family: Arial, sans-serif; /* ナビバーのフォント */
            height: 100%; /* 親要素の高さに合わせる */
            display: flex;
            align-items: center; /* リンクテキストを垂直方向中央に */
        }

        nav li a:hover {
            background-color: #00D000; /* ホバー時の背景色 (少し暗いLightBlue) */
            color: black;
        }

        /* special-font クラスのスタイル */
        .special-font {
            font-family: "Arial", sans-serif; /* 「arial」から変更 */
            font-size: 20px;
            color: darkblue;
            font-weight: bold;
        }
        u {
            text-decoration: underline;
            text-decoration-color: white; /* ここで下線の色を指定します */
        }
                .banner-image {
    width: 100%; /* 親要素の幅に合わせて表示 */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 下部の余白をなくす */
    margin-bottom: 20px; /* バナーの下にスペース */
    text-align: center;
}
        h2 {
        padding: 0 20px;
        text-align: center;
       }
       h3 {
        padding: 0 20px;
        text-align: center;
       }

              .nav-animation2 a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  margin: 10 25px;
  display: inline-block;
  transition: all 0.3s ease; /* すべてのプロパティを0.3秒で */
  border-bottom: 2px solid transparent;
}

.nav-animation2 a:hover {
  transform: translateY(4px); /* 上に5px移動 */
  color: #003000;
  border-bottom: 2px solid #003000;
}
.nav-animation2 a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0; /* 初期状態は幅0 */
  height: 2px;
  background-color: #E6F2E6;
  transition: width 0.3s ease; /* 幅の変化にアニメーションを適用 */
}

.nav-animation2 a:hover::after {
  width: 100%; /* ホバーで幅を100%に */
} 

p, h1, h2, h3, h4, h5, h6, span, div.all {
  animation: fadeIn 0.5s ease-in-out forwards;
  opacity: 0; /* 最初は非表示 */
}
img {
  text-align: center;
  align-items: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
/* アニメーションの定義 */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px); /* 少し下から */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* 通常位置へ */
  }
}
.welcomefavicon {
  line-height: 1;
  display: flex;
  align-items: center;
}
.main {
  padding: 5 5px;
  margin: 5 5px;
  margin-left: 2px;
  margin-right: 2px;
  align-items: center;
  width: 100vw !important;
  text-align: center;
.main p, h1, h2, h3, h4, h5, a {
  text-align: center;
}
}
.sidebar {
  display: flex;
  padding: 4 4px;
  margin-left: 2%;
  width: 70vh;
  margin: 4 4px;
  justify-content: center;
  text-align: center;
  padding-bottom: 10%;
  flex-direction: column;
  gap: 10px;
  border-radius: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}
.sidebar p, h1, h2, h3 {
  margin-left: 2%;
  justify-content: center;
  text-align: center;
  color: #00051f;
}
.sidebar h1, h2, h3, h4, h5 {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}
.sidebar p {
  font-size: 15px;
}
div.title-box {
  /* 1. 上でおすすめしたカラーから、好きな色を設定してみてください（例はくすみブルー） */
  background-color: #d0d0d0 !important; 
  overflow: hidden !important;
  /* 2. 他の箱（top-announce等）とお揃いの枠線と角丸をつけて一体感を出す */  /* 3. 内側と外側の余白の調整 */
  padding: 0px;
  border-bottom: 2px solid #000000; 
  border-radius: 8px 8px 0 0;
  margin-top: 0px;
  margin-bottom: 5px; /* 下のお知らせの箱（top-announce）との間の隙間 */
}
.title-box h1, h2, h3, h4, h5 {
    margin-left: 10px;
}
div.top-announce {
  border: 2px solid #444444 !important;
  border-radius: 10px;
  padding-bottom: 10%;
  background-color: #d2e4d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}
div.none-style {
  border: 2px solid #444444 !important;
  border-radius: 10px;
  padding-bottom: 10%;
  background-color: #d2e4d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.all {
  margin: 0 0px;
  padding: 0 0px;
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  flex-direction: column;
}
.announce-card-tab {
  display:flex;
  flex-direction: column;
 margin: 2 2px;
 text-decoration: none;
}
div.announce-card-tab a {
  display: block;
  text-decoration: none;

}
div.announce-card-tab p {
  padding-bottom: 10px;
}
.announce-category-kahoot {
  margin-top: 3px;
  color: #521BA6;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #521BA6;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 

}
.announce-category-kahoot h2 {
  color: #521BA6;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #521BA6;
  border-bottom: 2px solid #521BA6;
}
.announce-category-site {
  margin-top: 3px;
  color: #2965ff;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #2965ff;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
}
.announce-category-site h2 {
  color: #2965ff;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #2965ff;
  border-bottom: 2px solid #2965ff;
}
.announce-category-zyuuyou {
  margin-top: 3px;
  color: #ff8500;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #ff8500;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
}
.announce-category-zyuuyou h2 {
  color: #ff8500;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #ff8500;
  border-bottom: 2px solid #ff8500
}
.announce-category-other {
  margin-top: 3px;
  color: #6c757d;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #6c757d;
  border-radius: 10px;
  background-color: #b3e4c0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
}
.announce-category-other h2 {
  color: #6c757d;
  margin-left: 3px;
  margin-right: 3px;
  border-color: #6c757d;
  border-bottom: 2px solid #6c757d
}
.scroll-to-top {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  background-color: #007438 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999 !important;

  /* ★1. 縦と横を同じサイズにして「正方形」の土台を作る */
  width: 60px !important;
  height: 60px !important;

  /* ★2. 角丸を 50% にすることで、正方形が綺麗な「正円」に変わります */
  border-radius: 50% !important;

  /* ★3. 丸の枠の中で、文字を【上下左右のド真ん中】に寄せる命令セット */
  display: flex !important;
  justify-content: center !important; /* 左右中央 */
  align-items: center !important;     /* 上下中央 */

  /* 今までの枠線や影、アニメーションの設定 */
  border: 2px solid #84bf98 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

/* ★最初（上の方にいるとき）にボタンを隠しておく設定（前回のまま） */
.scroll-to-top.hide {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important; 
}

/* マウスを乗せたときの効果（形が変わらないように少し調整） */
.scroll-to-top:not(.hide):hover {
  background-color: #84bf98 !important;
  color: #00051f !important;
  transform: scale(1.1); /* ★ホバーしたときに、丸い形のまま「一回り大きく」なる演出 */
}
div.index {
  border: 2px solid #444444 !important;
  border-radius: 10px;
  padding-bottom: 10%;
  background-color: #d2e4d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important; 
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  list-style: none;     /* 1. デフォルトの黒丸を消す */
}
div.index li {
  position: relative;
  margin-left: auto;  /* 3. 【黒丸と文字の間隔】ここを小さくすると文字が「・」に寄ります */
  text-align: left;
}
div.index li a {
  text-align: left;
}
div.index li::before {
  position: absolute;
  left: 0;
  top: 0;
}
}
