/* CSS Document */
/* main top
------------------------------------------------------------*/
main.top {
  padding-top: 60px;
  padding-bottom: 80px;
}

main.top > section:not(:last-child) {
  margin-bottom: 60px;
}

main.top > section .content {
  position: relative;
}

main.top > section:nth-child(odd) .content {
  padding-bottom: 70px;
}

main.top > section:nth-child(odd) .item-img {
  padding-right: 10%;
}

main.top > section:nth-child(odd) .item-img span {
  left: 0;
  color: rgba(255, 255, 255, 0.53);
}

main.top > section:nth-child(odd) .item-text {
  right: 0;
  bottom: 0;
  background: #260101;
  background: -moz-linear-gradient(top, #260101 0%, #000000 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #260101 0%, #000000 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #260101 0%, #000000 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

main.top > section:nth-child(odd) .item-text .number {
  right: 0;
  top: 0;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}

main.top > section:nth-child(even) .content {
  padding-top: 70px;
}

main.top > section:nth-child(even) .item-img {
  text-align: right;
  padding-left: 10%;
}

main.top > section:nth-child(even) .item-img span {
  right: 0;
  color: rgba(120, 8, 14, 0.6);
}

main.top > section:nth-child(even) .item-text {
  background: #79090e;
  background: -moz-linear-gradient(top, #79090e 0%, #5f060a 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #79090e 0%, #5f060a 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #79090e 0%, #5f060a 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  top: 0;
  left: 0;
}

main.top > section:nth-child(even) .item-text .number {
  top: 100%;
  left: 0;
}

main.top > section .item-img {
  line-height: 0;
  position: relative;
}

main.top > section .item-img span {
  position: absolute;
  line-height: 1;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 80px;
  font-size: 5rem;
  font-style: italic;
  bottom: 0;
  display: block;
  padding: 10px 20px;
  letter-spacing: 0.1em;
}

main.top > section .item-text {
  position: absolute;
  width: 450px;
  padding: 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  color: #FFF;
}

main.top > section .item-text .number {
  position: absolute;
  line-height: 0;
}

main.top > section .item-text h2 {
  line-height: 0;
  margin-bottom: 20px;
}

main.top > section .item-text p {
  font-size: 18px;
  font-size: 1.125rem;
}

main.top #news .news-list:not(:last-child) {
  margin-bottom: 40px;
}

main.top #news .news-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  font-size: 16px;
  font-size: 1rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-decoration: none;
  color: black;
  margin: 10px 0;
}

main.top #news .news-list li time {
  color: #666666;
  font-size: 14px;
  font-size: 0.875rem;
}

main.top #news .news-list li .news-category {
  margin: 0 25px;
  color: #78080e;
  font-weight: bold;
  font-size: 14px;
  font-size: 0.875rem;
  border: 3px solid #78080e;
  width: 100px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  text-decoration: none;
}

main.top #news .news-list li .news-text {
  color: black;
  text-decoration: none;
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

main.top #news .news-list li a:hover {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -ms-filter: "alpha( opacity=$number*100 )";
  filter: alpha(opacity=60);
  opacity: 0.6;
}

@media screen and (min-width: 701px) and (max-width: 1000px) {
  /* main top
------------------------------------------------------------*/
  main.top > section .item-img span {
    font-size: 60px;
    font-size: 3.75rem;
  }
  main.top > section .item-text {
    width: 400px;
  }
}

/*sp*/
@media screen and (max-width: 700px) {
  /* main top
------------------------------------------------------------*/
  main.top {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  main.top > section:not(:last-child) {
    margin-bottom: 50px;
  }
  main.top > section:nth-child(odd) .content {
    padding-bottom: 0;
  }
  main.top > section:nth-child(odd) .item-img {
    padding-right: 30px;
  }
  main.top > section:nth-child(odd) .item-img span {
    left: 0;
    color: rgba(255, 255, 255, 0.53);
  }
  main.top > section:nth-child(odd) .item-text {
    margin-left: auto;
  }
  main.top > section:nth-child(odd) .item-text .number {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    top: 5px;
    right: 5px;
  }
  main.top > section:nth-child(even) .content {
    padding-top: 0;
  }
  main.top > section:nth-child(even) .item-img {
    padding-left: 30px;
  }
  main.top > section:nth-child(even) .item-text .number {
    top: 5px;
    right: 5px;
    left: initial;
  }
  main.top > section .item-img {
    line-height: 0;
    position: relative;
  }
  main.top > section .item-img span {
    font-size: 50px;
    font-size: 3.125rem;
    bottom: 20px;
  }
  main.top > section .item-text {
    position: relative;
    width: calc(100% - 20px);
    padding: 30px;
    margin-top: -30px;
  }
  main.top > section .item-text .number {
    width: 40px;
  }
  main.top > section .item-text h2 img {
    height: 26px;
  }
  main.top > section .item-text p {
    font-size: 16px;
    font-size: 1rem;
  }
  main.top #news .news-list:not(:last-child) {
    margin-bottom: 25px;
  }
  main.top #news .news-list li {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  main.top #news .news-list li a.news-time {
    -webkit-box-original-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
  }
  main.top #news .news-list li a.news-category {
    -webkit-box-original-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
    margin-left: 10px;
  }
  main.top #news .news-list li a.news-text {
    -webkit-box-original-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
    padding-top: 10px;
    width: 100%;
  }
}
