/* ------------------------------
 width: all
------------------------------ */
main {
  background-image: none !important;
}

main section.bc {
  position: relative;
}

main section.bc .pagemenu {
  font-size: 0;
  letter-spacing: 0;
  position: absolute;
  top: 30px;
  right: 20px;
  text-align: right;
}

main section.bc .pagemenu li {
  display: inline-block;
  vertical-align: top;
  padding: 0 20px;
  border-right: 1px solid #AEAEAE;
}

main section.bc .pagemenu li:last-child {
  border: none;
}

main section.bc .pagemenu li a,
main section.bc .pagemenu li span {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  line-height: 16px;
}

main section.s01 .wrapper {
  padding-bottom: 150px;
}

main section.s01 .wrapper h2 {
  font-size: 36px;
  text-align: center;
  color: #fff;
  background-color: #298DC4;
  line-height: 36px;
  padding: 90px 0;
}

main section.s01 .wrapper h2 span {
  font-size: 14px;
  text-align: center;
  color: #fff;
  margin-top: 20px;
}

main section.s01 .wrapper .data {
  width: 1177px;
  display: block;
  margin: 80px auto 0;
}

main section.s03 {
  background-image: url(../../images/bg_msg.jpg);
  background-size: 100% 100%;
  padding: 100px 40px 520px;
  margin-top: 0;
}

main section.s03 .wrapper dl {
  width: 1200px;
  margin: 0 auto;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

main section.s03 .wrapper dl dt {
  width: 400px;
  font-size: 80px;
  color: #fff;
  letter-spacing: 8px;
}

main section.s03 .wrapper dl dd {
  width: 700px;
  color: #fff;
  font-size: 33px;
  line-height: 190%;
}

main section.s03 .wrapper .msglist {
  width: 1200px;
  margin: 80px auto 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

main section.s03 .wrapper .msglist li {
  width: 300px;
}

main section.s03 .wrapper .msglist li a {
  display: block;
  text-decoration: none;
  position: relative;
}

main section.s03 .wrapper .msglist li a:hover, main section.s03 .wrapper .msglist li a.active {
  opacity: 1;
}

main section.s03 .wrapper .msglist li a:hover .photobox::after, main section.s03 .wrapper .msglist li a.active .photobox::after {
  opacity: 0;
}

main section.s03 .wrapper .msglist li a:hover .txtbox, main section.s03 .wrapper .msglist li a.active .txtbox {
  background-color: #000;
}

main section.s03 .wrapper .msglist li a .photobox {
  position: relative;
  display: block;
}

main section.s03 .wrapper .msglist li a .photobox img {
  width: 100%;
  display: block;
}

main section.s03 .wrapper .msglist li a .photobox::after {
  content: "";
  display: block;
  background-color: rgba(63, 143, 219, 0.5);
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main section.s03 .wrapper .msglist li a .txtbox {
  width: 210px;
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 12px 0;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -35px;
  left: 0;
  margin: 0 auto;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main section.s03 .wrapper .msglist li a .txtbox .t01 {
  text-align: center;
  color: #fff;
  font-size: 14px;
}

main section.s03 .wrapper .msglist li a .txtbox .t02 {
  text-align: center;
  font-size: 12px;
  color: #fff;
  margin-top: 10px;
}

footer {
  margin-top: -390px;
  padding-top: 0;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 800px) {
  main {
    background-image: none !important;
  }
  main section.bc {
    position: relative;
  }
  main section.bc .pagemenu {
    display: none;
  }
  main section.s01 .wrapper {
    padding-bottom: 50px;
  }
  main section.s01 .wrapper h2 {
    font-size: 22px;
    text-align: center;
    color: #fff;
    background-color: #298DC4;
    line-height: 36px;
    padding: 30px 0;
  }
  
  main section.s01 .wrapper h2 span {
    font-size: 14px;
    text-align: center;
  }
  
  main section.s01 .wrapper .data {
    width: calc(100% - 40px);
    display: block;
    margin: 40px auto 0;
  }
  main section.s03 {
    background-image: url(../../images/bg_msg.jpg);
    background-size: 100% 100%;
    padding: 30px 20px 200px;
    margin-top: 0px;
  }
  main section.s03 .wrapper dl {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  main section.s03 .wrapper dl dt {
    width: 100%;
    font-size: 40px;
    color: #fff;
    letter-spacing: 4px;
  }
  main section.s03 .wrapper dl dd {
    width: 100%;
    color: #fff;
    font-size: 18px;
    line-height: 160%;
    margin-top: 10px;
  }
  main section.s03 .wrapper .msglistbox {
    overflow-x: scroll;
    margin: 30px auto 0;
    padding-bottom: 30px;
  }
  main section.s03 .wrapper .msglist {
    width: 800px;
    margin: 0;
    display: table;
  }
  main section.s03 .wrapper .msglist li {
    width: 200px;
    display: table-cell;
  }
  main section.s03 .wrapper .msglist li a {
    display: block;
    text-decoration: none;
    position: relative;
  }
  main section.s03 .wrapper .msglist li a:hover, main section.s03 .wrapper .msglist li a.active {
    opacity: 1;
  }
  main section.s03 .wrapper .msglist li a:hover .photobox::after, main section.s03 .wrapper .msglist li a.active .photobox::after {
    opacity: 0;
  }
  main section.s03 .wrapper .msglist li a:hover .txtbox, main section.s03 .wrapper .msglist li a.active .txtbox {
    background-color: #000;
  }
  main section.s03 .wrapper .msglist li a .photobox {
    position: relative;
    display: block;
  }
  main section.s03 .wrapper .msglist li a .photobox img {
    width: 100%;
    display: block;
  }
  main section.s03 .wrapper .msglist li a .photobox::after {
    content: "";
    display: block;
    background-color: rgba(63, 143, 219, 0.5);
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  main section.s03 .wrapper .msglist li a .txtbox {
    width: 140px;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 6px 0;
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -23px;
    left: 0;
    margin: 0 auto;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  main section.s03 .wrapper .msglist li a .txtbox .t01 {
    text-align: center;
    color: #fff;
    font-size: 12px;
  }
  main section.s03 .wrapper .msglist li a .txtbox .t02 {
    text-align: center;
    font-size: 10px;
    color: #fff;
    margin-top: 2px;
  }
  footer {
    margin-top: -180px;
    padding-top: 0;
  }
}
