@charset "utf-8";
/* CSS Document */

/*==============================
共通部分
==============================*/
header{
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("../img/headBack.jpg");
  background-size: cover;
  background-position: center center;
}

header > h2{
  position: relative;
  display: inline-block;
  top: 150px;
  bottom: 0;
  left: 20px;
  margin: auto;
  padding: 20px 50px;
  color: #fff;
  background-color: rgba(89,111,127,.8);
}

@media screen and (max-width: 600px){  
  header{
    height: 200px;
  }

  header > h2{
    top: 70px;
    font-size: 26px;
    letter-spacing: 4px;
    padding: 10px 20px;
  }
}
/*==============================
メイン
==============================*/

#programWrap{
  padding: 50px 20px;
  text-align: center;
}

#programWrap > p{
  margin-bottom: 30px;
}

#programWrap > ul{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#programWrap > ul li{
  width: 20%;
}

#programWrap > ul li:hover{
}

#programWrap > ul li a{
  display: block;
  transition: .3s;
  padding: 20px;
  
}

#programWrap > ul li a:hover{
  background-color: #ecf2f6;
  transition: .3s;
  opacity: 1;  
}

#programWrap > ul li img{
  width: 100%;
}

#historyWrap{
  padding: 0px 20px 50px;
  text-align: center;
}

.historyTablebox{
}

.historyTablebox > table{
  margin: 0 auto;
}

.historyTablebox > table tr:first-of-type td{
  border-top: 2px solid #596f7f;
}

.historyTablebox > table tr td:first-of-type{
  vertical-align: top;
  text-align: right;
  border-bottom: 2px solid #596f7f;
  color: #596f7f;
  padding: 10px;
}

.historyTablebox > table tr td:last-of-type{
  vertical-align: top;
  text-align: left;
  border-bottom: 2px solid #596f7f;
  padding: 10px;
}

/*==============================
レスポンシブ
==============================*/

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

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

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

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

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

@media screen and (max-width: 800px) {
  .historyTablebox{
    width: 100%;
    overflow-x: scroll;
  }
  .historyTablebox > table{
    width: 660px;
  }
}

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

  #programWrap > ul li{
    width: 50%;
  }
}

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

  #programWrap > ul li{
    width: 100%;
  }
}