
/*基本設定*/

.jumbotron {
     background:url(../img/nego_head.jpg) center no-repeat;
     background-size: cover;
}

.jumbotron .container h1 {
     color:#FFF;
     text-shadow: 2px 2px 5px #191bed,
                  -2px  2px 5px #191bed,
                  2px -2px 5px #191bed,
                  -2px -2px 5px #191bed;
     padding: 0.25em 0;
}

.jumbotron .container h1:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
  background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}

.jumbotron .container {
     color:#FFF;
     font-weight: bold;
}

.jumbotron h2{
  text-shadow: 1px 1px 1px black,
               -1px  1px 1px black,
               1px -1px 1px black,
               -1px -1px 1px black;
}

.jumbotron p{
  color: #1646f0;
  background-color: rgba(235, 233, 233,0.5);
  padding: 7px;
  border-radius: 0.5em;
  display: inline-block;
  text-shadow: 1px 1px 1px white,
               -1px  1px 1px white,
               1px -1px 1px white,
               -1px -1px 1px white;
}

body {
     background-color: #fff;
     margin-top: 0px;
     font-family: 'メイリオ' ,Meiryo, 'ヒラギノ角ゴ Pro W3' , 'Hiragino Kaku Gothic Pro' , 'ＭＳ Ｐゴシック' , 'Osaka' ,sans-serif;
}

h4 {
      padding-left: 1em;
      margin-top: 1em;
}

h4 a {
  color: white;
  text-decoration:none;
}

#header {
    width: auto;
    height: 27px;
    margin: 0px;
    background-color: #66361a;
    overflow: hidden;
}

#header h1 {
    padding-top: 5px;
    margin: 0;
    text-align: right;
    font-weight: normal;
    line-height: 18px;
    font-size: 12px;
}

#header h1  a{
       color: #fff;
}

img {
      max-width: 100%;
}

.colorful span:nth-child(8n+1) { color: red; }
.colorful span:nth-child(8n+2) { color: yellow; }
.colorful span:nth-child(8n+3) { color: green; }
.colorful span:nth-child(8n+4) { color: goldenrod; }
.colorful span:nth-child(8n+5) { color: white; }
.colorful span:nth-child(8n+6) { color: #e26198; }
.colorful span:nth-child(8n+7) { color: #20b7e7; }
.colorful span:nth-child(8n) { color: darkviolet; }


/*もくじ*/
.up-bar{
	    width: 90%;
    	height: auto;
	    padding: 5px 0 20px 0px;
      text-align: center;
      background: linear-gradient( #067a5f, #84c27c);
	    color:#ffffff;
      margin: 10px auto;
      border-radius: 15px;
	    box-shadow: 5px 5px 10px #333;
}

.up-bar h3{
      font-weight: bold;
      text-shadow: 2px 2px 5px #c22dcf,
                   -2px  2px 5px #c22dcf,
                   2px -2px 5px #c22dcf,
                   -2px -2px 5px #c22dcf;
}

#contents a{
      text-decoration: none;
}

#contents a:hover{
      color: #0432d5;
      font-weight: bold;
}

/* 地区の情報 */
p#jinko{
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 2em;
  margin-right: 1em;
  border-top: 2px solid #79797e;
  border-right: 1px solid #79797e;
  border-left: 7px solid orange;
  border-bottom: 1px solid #79797e;
}

.chiku {
  position: relative;/*相対位置*/
  padding-left: 1.5em;/*アイコン分のスペース*/
  line-height: 1.4;/*行高*/
}

.chiku::before {
  font-family: "Font Awesome 5 Free";/*忘れずに*/
  content: "\f111";/*アイコンのユニコード*/
  position: absolute;/*絶対位置*/
  font-size: 1.3em;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: -0.2em;/*アイコンの位置*/
  color: #ffa7a1;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table#table1,
table#table2 {
    width: 600px;
    margin: 0.5em 1em;
    border-top: 1px solid #ccc;
    /*table要素の「上」ボーダー*/
    border-left: 1px solid #ccc;
    /*table要素の「左」ボーダー*/
    border-spacing: 0;
    /*セル同士の間隔*/
}

table#table1 tr th,
table#table1 tr td {
    /*「,」で区切って複数のセレクタを指定しています*/
    border-bottom: 1px solid #ccc;
    /*セルの「下」ボーダー*/
    border-right: 1px solid #ccc;
    /*セルの「右」ボーダー*/
    padding: 0.5em;
    /*セルのボーダーとテキストの間をあけて読みやすく*/
}

table#table1 tr th {
    background-color: #172aeb;
    /*th（見出し）だけ背景色を付けてます*/
    text-align: center;
    color: white;
}

table#table1 tr td {
    text-align: right;
    background-color: none
}

table#table2 tr th,
table#table2 tr td {
    /*「,」で区切って複数のセレクタを指定しています*/
    border-bottom: 1px solid #ccc;
    /*セルの「下」ボーダー*/
    border-right: 1px solid #ccc;
    /*セルの「右」ボーダー*/
    padding: 0.5em;
    /*セルのボーダーとテキストの間をあけて読みやすく*/
}

table#table2 tr th {
    background-color: #51a186;
    /*th（見出し）だけ背景色を付けてます*/
    text-align: center;
    color: white;
}

table#table2 tr td {
    text-align: right;
    background-color: none
}

th a {
   color: white;
   text-decoration:none;
}

th a:hover {
  color: skyblue;
  font-size: 2em;/*文字サイズ2倍*/
  font-weight: bold;
  text-decoration:none;
}

th a:visited {
  color: #dd3636;
  text-decoration:none;
}

/*地図情報*/
p#map{
      color: white;
      font-size: 1.3em;
      font-weight: bold;
      background: linear-gradient(#05FBFF, #1D62F0 );
      padding: 0.5em;
      margin-top: 2em;
      margin-right: 1em;
      border-top: 2px solid #79797e;
      border-right: 1px solid #79797e;
      border-left: 7px solid #2b84d6;
      border-bottom: 1px solid #79797e;
}

/*お知らせ*/
p#info{
        font-size: 1.3em;
        font-weight: bold;
        padding: 0.5em;
        margin-top: 2em;
        margin-right: 1em;
        border-top: 2px solid #79797e;
        border-right: 1px solid #79797e;
        border-left: 7px solid #04780c;
        border-bottom: 1px solid #79797e;
}

p.info {
        font-size: 1.2em;
}

.under{
   background: linear-gradient(transparent 70%, #ff99ab 70%);
   font-weight: bold;
}

/*トピックス*/
.col-md-3, .col-md-9, .col-md-12 {
       margin-bottom: 1em;
}

.col-mid-9 p {
       padding: 0px 10px;
}

p#news1{
        font-size: 1.3em;
        font-weight: bold;
        padding: 0.5em;
        margin-top: 2em;
        margin-right: 1em;
        border-top: 2px solid #79797e;
        border-right: 1px solid #79797e;
        border-left: 7px solid #1245df;
        border-bottom: 1px solid #79797e;
}

p#news2{
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 2em;
  margin-right: 1em;
  border-top: 2px solid #79797e;
  border-right: 1px solid #79797e;
  border-left: 7px solid red;
  border-bottom: 1px solid #79797e;
}

p#news3{
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 2em;
  margin-right: 1em;
  border-top: 2px solid #79797e;
  border-right: 1px solid #79797e;
  border-left: 7px solid #023d1d;
  border-bottom: 1px solid #79797e;
}

p#news4{
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 2em;
  margin-right: 1em;
  border-top: 2px solid #79797e;
  border-right: 1px solid #79797e;
  border-left: 7px solid #ed850b;
  border-bottom: 1px solid #79797e;
}

p#news5{
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 2em;
  margin-right: 1em;
  border-top: 2px solid #79797e;
  border-right: 1px solid #79797e;
  border-left: 7px solid #0bed28;
  border-bottom: 1px solid #79797e;
}

p#bus{
  font-size: 1.3em;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 2em;
  margin-right: 1em;
  border-top: 2px solid #79797e;
  border-right: 1px solid #79797e;
  border-left: 7px solid #5420df;
  border-bottom: 1px solid #79797e;
}

p.news{
        font-size: 1.3em;
        font-weight: bold;
        padding: 0.5em;
        margin-top: 2em;
        margin-right: 1em;
        border-top: 2px solid #79797e;
        border-right: 1px solid #79797e;
        border-left: 7px solid red;
        border-bottom: 1px solid #79797e;
}

.gmap {
       height: 0;
       overflow: hidden;
       padding-bottom: 56.25%;
       position: relative;
}

.gmap iframe {
       position: absolute;
       left: 0;
       top: 0;
       height: 100%;
       width: 70%;
}

/*学校関連*/
.link{
       padding-left: 2em;
       margin-bottom: 2em;
       font-size: 1.3em;
}


/*ＴＯＰへボタン*/
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#pageTop i {
  padding-top: 18px
}

#pageTop a {
  display: block;
  z-index: 999;
  padding: 0 0 8px;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  background-color: #e07b9a;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  color: black;
  opacity: 0.7;
}

hr {
  height: 2px;
  background-color: #a7aba2;
  border: none;
}

/*フッター*/
#footer {
  text-align: center;
  margin-top: 20px;
}
