@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');


html {
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  height: 80px;
  background-color: #abdbd8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

header div a {
  padding: 0.6em 1em;
  border: 2px solid #FFF;
}

header div a:hover {
  background-color: #fff;
  color: #0000ee;
}

h1 img {
  width: 170px;
  display: block;
  padding: 13px 0;
}

/* search nav */

header nav ul {
  display: flex;
}

ul li {
  margin-left: 10px;
}

header nav a {
  /* padding: 10px 16px; */
  padding: 0.6em 1em;
  border: 2px solid #FFF;
}

header nav a:hover {
  background-color: #fff;
  color: #0000ee;
}

/* 改行タグ無効 */
.sp_br {
  display: none;
}

hr {
  margin: 30px 0;
}


/* main */

main {
  padding: 0 30px;
}

h2 {
  display: inline-block;
  border: 2px solid #0B9A94;
  font-family: "Zen Maru Gothic", serif;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 20px 30px;
  margin: 45px 0;
}

h2 a {
  text-decoration: none;
  color: #0B9A94;
}

h2:hover {
  background-color: rgb(226, 243, 242);
}

h3 {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1rem;
  margin: 40px 0 20px 0;
}

.spec {
  line-height: 2rem;
}


/* form */

form {
  margin: 40px 0;
}

tr th {
  text-align: right;
  padding: 8px;
}

tr td {
  padding: 4px;
}

td input,
select {
  border: 1px solid #333;
  padding: 4px;
}

.tcenter {
  text-align: center;
}

.button {
  display: inline-block;
  border-radius: 5%;
  /* 角丸       */
  font-size: 16pt;
  /* 文字サイズ */
  text-align: center;
  /* 文字位置   */
  cursor: pointer;
  /* カーソル   */
  padding: 8px 8px;
  /* 余白       */
  background: #abdbd8;
  /* 背景色     */
  color: #000;
  /* 文字色     */
  line-height: 1em;
  /* 1行の高さ  */
  transition: .3s;
  /* なめらか変化 */
  box-shadow: 4px 4px 2px #666666;
  /* 影の設定 */
  border: 1px solid #84ccc9;
  /* 枠の指定 */
}

.button:hover {
  box-shadow: none;
  /* カーソル時の影消去 */
  background: #ffffff;
  /* 背景色     */
}


/* table（result） */

table.tline {
  width: 100%;
  border: 1px rgb(171 219 216) solid;
}

/* .tline tr, */
.tline th,
.tline td {
  border: 1px rgb(171 219 216) solid;
}

.tline th {
  text-align: center;
}

.tline2 td {
  border: none;
}

/* 学校沿革史の記号カラー */
/* デフォルトを黒にしておいて、
jQueryで「×」の文字だけを白にする */
td.enkakushi {
  color: #000;
}

/* footer */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 100vh;
  width: 100%;
  height: 80px;
  background-color: #abdbd8;
  text-align: center;
}

.copyright {
  color: #000;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 30px 0;
}

/* 横幅660以下 */

@media screen and (max-width: 660px) {

  header {
    padding: 0 10px;
  }

  header a {
    font-size: 0.9rem;
  }

  h1 img {
    width: 140px;
  }

  h2 {
    font-size: 1.3rem;
  }


  /* index コメント */

  .spec {
    font-size: 0.7rem;
    line-height: 1.6rem;
  }


  /* search nav */
  /* table（search） */

  /* レスポンシブ調整 */
  ul li {
    margin-left: 5px;
  }

  header nav a {
    padding: 0.6em 0.3em;
  }

  form {
    margin: 20px 0;
    font-size: 0.9rem;
  }

  table.tsearch {
    width: 90%;
  }

  .tsearch tr th {
    text-align: left;
    padding: 4px;
  }

  .tsearch th,
  .tsearch td {
    display: block;
    width: 100%;
  }


  /* table（result） */

  table.tline {
    font-size: 0.7rem;
  }

  .smallgengou {
    font-size: 0.4rem;
  }

}