@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Slabo+13px);
/* reset */

* {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

a {
  outline: 0;
  text-decoration: none;
  color: #fff;
}

img {
  border: 0;
}

body {
  font: 12px/1.6 'Slabo';
  color: #fff;
}

#l1 {
  width: 100%;
  height: 20px;
  background: rgb(8, 57, 0);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}

#l2 {
  width: 100%;
  height: 20px;
  background: rgb(8, 57, 0);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
}

header {
  position: fixed;
  width: 300px;
  height: 100%;
  background: #fff;
  top: 0px;
  left: 0px;
}

header h1 {
  width: 120px;
  height: 120px;
  background: url(../img/l1.png) no-repeat 0px 0px;
  background-size: contain;
  position: absolute;
  top: 80px;
  left: 50%;
  margin-left: -60px;
  text-indent: -99999px;
}

nav {
  position: fixed;
  top:280px;
  left: 0px;
  width: 300px;
  height: 700px;
}

nav>ul {
  position: absolute;
  top: 0px;
  left: 0px;
}

nav>ul>li {
  padding-bottom: 15px;
}

nav>ul li a {
  font-size: 24px;
  font-weight: bold;
  color: rgb(62, 62, 62);
  padding-left: 70px;
  padding-right: 50px;
}

nav>ul li a:hover {
  display: block;
  background: rgb(8, 57, 0);
  color: #fff;
}

.sns {
  position: fixed;
  bottom: 50px;
  left: 50px;
}

.sns li {
  float: left;
  margin-right: 24px;
}

.sns .fa {
  font-size: 26px;
  color: rgb(62, 62, 62);
  opacity: 0.6;
  transform: scale(1);
  transition: all 0.2s;
}

.sns>.fa:hover {
  opacity: 1;
  transform: scale(1.5);
}

section {
  width: 85%;
  position: fixed;
  top:0px;
  left:0px;
  margin-left:300px;
  margin-top:20px;
  box-sizing: border-box;
}

article {
  float: left;
  height: 310px;
  box-sizing: border-box;
  opacity: 1;
  transition: all 0.5s;
  animation: scale 1s 1;
}

@keyframes scale {
  0% {transform: scale(0.9);}
  100% {transform: scale(1);}
}

article:hover .bg{
  opacity: 0.7;
}
article .bg span {
  font-size: 20px;
  text-shadow: 1px 1px 1px #000;
  text-align: right;
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 30px;
  transform: scale(0); opacity: 0; transition: all 0.3s;}

article:nth-child(1) {
  width: 70%;
  height: 620px;
  background: #ccc;
}

article:nth-child(2) {
  width: 30%;
  background: #ddd;
}

article:nth-child(3) {
  width: 30%;
  background: #eee;
}

article:nth-child(4) {
  width: 30%;
  background: #000;
}

article:nth-child(5) {
  width: 30%;
  background: #666;
}

article:nth-child(6) {
  width: 40%;
  background: #888;
}

article>div {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  cursor: pointer;
}

article .bg1 {
  background-image: url(../img/1.JPG);
}
article .bg2 {
  background-image: url(../img/s2.JPG);
}
article .bg3 {
  background-image: url(../img/s1.JPG);
}
article .bg4 {
  background-image: url(../img/6.JPG);
}

article .txt {
  background: rgb(166, 226, 120);
  box-sizing: border-box;
  color:#777;
  padding: 32px;
  font-size: 28px;
  line-height: 1.4;
  opacity: 0.9;
  overflow: hidden;
}

article .txt strong {
  font-size: 40px;
  line-height: 1.4;
  display: block;
  text-align: right;
  color: #fff;
  opacity: 0.7;
}

article .txt em {
  font-style: normal;
  font-size: 18px;
  color: #fff;
  opacity: 0.7;
}

ins {
  text-decoration: none;
  font-weight: bold;
}

article .txt i {
  font-size: 150px;
  color:#fff;
  opacity: 0.2;
  position: absolute;
  bottom: 10px;
  left: 10%;
  transition: all 0.7s;
}

article:hover .txt {
  opacity: 1;
  overflow: hidden;
}

article:hover .txt i {
  font-size: 250px;
  left: 60%;
  bottom:10px;
  opacity: 0.5;
}

article .txt strong {
  color: #fff;
}

@media (min-width:1280px) and (max-width:1366px) {
  #l1 {display: none;}
  #l2 {display: none;}

  header {
    position: relative;
    width: 100%;
    height: 150px;
  }

  header h1 {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -50px;
    text-indent: -99999px;
  }

  nav {
    position: relative;
    top:0px;
    width: 100%;
    height: 50px;
    background: rgb(8, 57, 0);
    color: #fff;
  }

  ul {
    margin-left: 20%;
    margin-top: 7px;
  }

  ul li {
    float: left;
  }

  nav>ul li a {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 0 20px;
  }

  ul li a:hover {
    color: rgb(119, 255, 181);
  }

  .sns {
    display: none;
  }

  section {
    position: relative;
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
  }

  article:nth-child(1) {
    width: 100%;
    height: 620px;
    background: #ccc;
    float: left;
    }

  article:nth-child(2) {
    width: 50%;
    background: #ddd;
  }

  article:nth-child(3) {
    width: 50%;
    background: #eee;
  }

  article:nth-child(4) {
    width: 30%;
    background: #000;
  }

  article:nth-child(5) {
    width: 30%;
    background: #666;
  }

  article:nth-child(6) {
    width: 40%;
    background: #888;
  }

  article .txt {
    background: rgb(166, 226, 120);
    box-sizing: border-box;
    color:#777;
    padding: 30px;
    font-size: 26px;
    line-height: 1.4;
    opacity: 0.9;
  }
}

@media (min-width:1024px) and (max-width:1279px) {
  #l1 {display: none;}
  #l2 {display: none;}

  header {
    position: relative;
    width: 100%;
    height: 150px;
  }

  header h1 {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -50px;
    text-indent: -99999px;
  }

  nav {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    background: rgb(8, 57, 0);
    color: #fff;
  }

  ul {
    margin-left: 20%;
    margin-top: 7px;
  }

  ul li {
    float: left;
  }

  nav>ul li a {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 0 20px;
  }

  nav>ul li:hover a {
    color: rgb(119, 255, 181);
  }

  .sns {
    display: none;
  }

  section {
    position: relative;
    margin-top: 0px;
    margin-left: 0px;
    width: 100%;
  }

  article {
    width: 100%;
    height: 300px;
  }

  article:nth-child(1) {
    width: 65%;
    height: 600px;
  }

article:nth-child(1)>div {
  background-size: cover;
  background-position: right center;
}

  article:nth-child(2) {
    width: 35%;
    background: #ddd;
  }
  article:nth-child(3) {
    width: 35%;
    background: #eee;
  }
  article:nth-child(4) {
    width: 50%;
    background: #000;
  }
  article:nth-child(5) {
    width: 50%;
    background: #666;
  }
  article:nth-child(6) {
    display: none;
  }
}

div.txt>em {
  display: none;
}

@media (max-width:1023px) {
  header {
    position: relative;
    width: 100%;
    height: 80px;
  }
  header h1 {
    width: 250px;
    background: url(../img/l2.png) no-repeat 0px 0px;
    background-size: contain;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -130px;
    text-indent: -99999px;
  }
  nav {
    width: 100%;
    height: 50px;
    margin-left: 0px;
    display: none;
  }
  section {
    width: 100%;
    margin-left: 0px;
  }
  article {
    float: left;
    height: 300px;
  }
  article:nth-child(1) {
    width: 100%;
    background: #ccc;
  }
  article:nth-child(2) {
    width: 100%;
    background: #ddd;
  }
  article:nth-child(3) {
    width: 100%;
    height: 350px;
    background: #eee;
  }
  article:nth-child(4) {
    width: 100%;
    background: #000;
  }
  article:nth-child(5) {
    width: 100%;
    background: #666;
  }
  article:nth-child(6) {
    width: 100%;
    background: #888;
  }
}
