body {
  padding-top: 50px;
}

em {
   font-style: normal;
   color: red;
   font-weight: bold;
}

#s1brand {
  background-color: #006600;
  color: #ffffff;
  font-weight: bold;
  font-size: small;
}

/* トップページ */
.jumbotron {
  background-color: #ffffff;
  background-position: center center;
  background-size: cover;
  color: #ffffff;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.8);
}

.jumbotron a{
  color: #ffffff;
  text-decoration: none;
}

.soroban {
  background-image: url(./img/soroban1.jpg);
}

.school {
  background-image: url(./img/school1.jpg);
}


.secA {
  padding: 50px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e7e7e7
}

.secB {
  padding: 50px 0;
  border-bottom: 1px solid #e7e7e7
}


.content-section-a {
  padding: 50px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #006600;
}

.content-section-b {
  padding: 50px 0;
  border-bottom: 1px solid #006600;
}


.sheader {
  border-left: 10px solid #006600;
  padding-left: 5px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.sheader2 {
  margin-top: 30px;
  margin-bottom: 20px;
}

.intro-header {
  padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
  padding-bottom: 50px;
  text-align: center;
  color: #f8f8f8;
  background: url(./img/top5.jpg) no-repeat center center;
  background-size: cover;
}

.intro-message {
  position: relative;
  padding-top: 20%;
  padding-bottom: 20%;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.8);
}

.intro-message > h1 {
  margin: 0;
  font-size: 5em;
}

.intro-message > h2 {
  font-size: 3em;
}

.intro-divider {
  width: 400px;
  border-top: 1px solid #f8f8f8;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

@media(max-width:767px) {
  .intro-message {
    padding-bottom: 15%;
  }

  .intro-message > h1 {
    font-size: 3em;
  }

  .intro-message > h2 {
    font-size: 2em;
  }

  .intro-divider {
    width: 100%;
  }
}



/* フッター */
footer {
   border-top: solid 1px #006600;
   text-align: center;
   margin: 10px 0;
   padding-top: 8px;
}

small {
   font-size: 0.75em;
   font-style: normal;
}


/* テーブル */
table.s1tbl {
   empty-cells: show;
   border-collapse: separate;
   border-spacing: 2px;
}

table.s1tbl caption {
   font-weight: bold;
   font-size: small;
   text-align: right;
   margin: 0px;
   padding: 0px;
}

table.s1tbl th {
   background: #006600;
   background: linear-gradient(to right bottom, #00AA00, #006600);
   border-bottom: solid 1px #B2B2B2;
   border-right: solid 1px #B2B2B2;
   padding: 5px;
   color: #FFFFFF;
   font-size: small;
   line-height: 120%;
}

table.s1tbl td {
   background: #66DD66;
   background: linear-gradient(to right bottom, #CCFFCC, #66DD66);
   border-bottom: solid 1px #B2B2B2;
   border-right: solid 1px #B2B2B2;
   padding: 5px;
   color: #000000;
   font-size: small;
   line-height: 120%;
}

table.kaikotbl tbody tr th {
   background: #006600;
   background: linear-gradient(to right bottom, #00AA00, #006600);
   padding: 5px;
   color: #FFFFFF;
   font-size: small;
   text-align: center;
   vertical-align: middle;
}

table.kaikotbl tbody tr td {
   text-align: center;
   vertical-align: middle;
}


/* アコーディオン */
.accordion-toggle a:after {
    font-family: 'Glyphicons Halflings';
    content:"\e113";
    float: right;
    color: inherit;
}

.accordion-toggle a.collapsed:after {
    font-family: 'Glyphicons Halflings';
    content:"\e114";
    float: right;
    color: inherit;
}

.panel ul{
   padding: 0px 10px;
   margin-bottom: 0em;
}


.old {
   display: block;
   margin: 50px 10px;
}

.old > section {
   margin-bottom: 10px;
}

.old > section h1 {
   background-color: #006600;
   color: #ffffff;
   font-size: 1em;
   padding: 5px 0px 5px 12px;
   margin: 0px auto;
}

.old > section h2 {
   color: #006600;
   font-size: 100%;
   font-wight: bold;
   border-left: solid 5px #006600;
   border-bottom: solid 1px #006600;
   padding-left: 5px;
   margin: 30px 0 10px 0;
}

.old > section div.sbody {
   border: solid 1px #AAAAAA;
   padding: 0px 15px;
}

.old > section div.ssbody {
   padding-left: 10px;
}

.old > section em {
   font-style: normal;
   color: red;
   font-weight: bold;
}

.old > section table {
   border-top: 1px solid #999999;
   border-left: 1px solid #999999;
   border-collapse: collapse;
   border-spacing: 0;
   background-color: #ffffff;
   empty-cells: show;
   margin: 20px auto;
}

.old > section table th {
   border-right: 1px solid #999999;
   border-bottom: 1px solid #999999;
   color: #ffffff;
   background-color: #006600;
   padding: 0.3em 0.5em;
   text-align: center;
}

.old > section table td {
   border-right: 1px solid #999999;
   border-bottom: 1px solid #999999;
   padding: 0.3em 0.5em;
   color: #006600;
   font-weight: bold;
   text-align: center;
}

.old > section table.schedule td {
   text-align: left;
}


/* soroban11111印刷設定 */
@media print{
  thead{display:table-header-group}
  img,tr{page-break-inside:avoid}
  .navbar{display:none}
  footer{display:none}
}
