* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Meiryo UI","Hiragino Kaku Gothic ProN";
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

header {
  height: 50px;
  width: 100%;
  background-color: rgba(143, 188, 143, 0.9);
  position :fixed;
  top: 0;
  z-index: 10;
}

.header-left {
  float: left;
  margin-left: 10px;
}

.header-right {
  float: right;
  margin-right: 10px;
}

header a {
  height: 50px;
  padding: 10px 5px 0 5px;
  color: white;
  display: block;
  transition: all 0.5s;
}

header a:hover {
  background-color: rgba(180, 230, 180, 0.9);
}

.language {
  font-size: 20px;
}

.top-wrapper {
  padding: 120px 0 30px 0;
  background-size: cover;
  color: black;
  text-align: center;
}

.top-wrapper h2 {
  font-size: 30px;
  letter-spacing: 4px;
}

.topicTitle h3 {
  text-align: left;
  font-size: 25px;
  margin: 50px 0 10px 0;
}

.topic {
  float: left;
  width: 50%;
  display: inline-block;
  position: relative;
}

.topicFigure {
  width: 99%;
}

.topic .active {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: 0.5s;
}

.photos{
  position: relative;
}
.photos .frame {
 opacity: 0;
}
.photos .anime{
  position: absolute;
  left: 0;
  right: 0;
  animation: photo 12.5s infinite;
  opacity: 0;
}
@keyframes photo{
  0%{ opacity: 0;}
  1%{ opacity: 1;}
  20%{ opacity: 1;}
  21%{ opacity: 0.1;}
  33.3%{ opacity: 0;}
  100%{ opacity: 0;}
}
.photos .anime:nth-of-type(1) {
    animation-delay: 0s;
}
.photos .anime:nth-of-type(2) {
    animation-delay: 2.5s;
}
.photos .anime:nth-of-type(3) {
    animation-delay: 5s;
}
.photos .anime:nth-of-type(4) {
    animation-delay: 7.5s;
}
.photos .anime:nth-of-type(5) {
    animation-delay: 10s;
}

.tenslides{
  position: relative;
}
.tenslides .frame {
 opacity: 0;
}
.tenslides .anime{
  position: absolute;
  left: 0;
  right: 0;
  animation: slide10 18s infinite;
  opacity: 0;
}
@keyframes slide10{
  0%{ opacity: 0;}
  0.5%{ opacity: 0.8;}
  10%{ opacity: 1;}
  10.5%{ opacity: 0.3;}
  11%{ opacity: 0;}
  100%{ opacity: 0;}
}
.teneslides .anime:nth-of-type(1) {
    animation-delay: 0s;
}
.tenslides .anime:nth-of-type(2) {
    animation-delay: 1.8s;
}
.tenslides .anime:nth-of-type(3) {
    animation-delay: 3.6s;
}
.tenslides .anime:nth-of-type(4) {
    animation-delay: 5.4s;
}
.tenslides .anime:nth-of-type(5) {
    animation-delay: 7.2s;
}
.tenslides .anime:nth-of-type(6) {
    animation-delay: 9s;
}
.tenslides .anime:nth-of-type(7) {
    animation-delay: 10.8s;
}
.tenslides .anime:nth-of-type(8) {
    animation-delay: 12.6s;
}
.tenslides .anime:nth-of-type(9) {
    animation-delay: 14.4s;
}
.tenslides .anime:nth-of-type(10) {
    animation-delay: 16.2s;
}


.twelveslides{
  position: relative;
}
.twelveslides .frame {
 opacity: 0;
}
.twelveslides .anime{
  position: absolute;
  left: 0;
  right: 0;
  animation: slide12 21.6s infinite;
  opacity: 0;
}
@keyframes slide12{
  0%{ opacity: 0;}
  0.5%{ opacity: 0.8;}
  8.3%{ opacity: 1;}
  8.8%{ opacity: 0.3;}
  10%{ opacity: 0;}
  100%{ opacity: 0;}
}
.twelveslides .anime:nth-of-type(1) {
    animation-delay: 0s;
}
.twelveslides .anime:nth-of-type(2) {
    animation-delay: 1.8s;
}
.twelveslides .anime:nth-of-type(3) {
    animation-delay: 3.6s;
}
.twelveslides .anime:nth-of-type(4) {
    animation-delay: 5.4s;
}
.twelveslides .anime:nth-of-type(5) {
    animation-delay: 7.2s;
}
.twelveslides .anime:nth-of-type(6) {
    animation-delay: 9s;
}
.twelveslides .anime:nth-of-type(7) {
    animation-delay: 10.8s;
}
.twelveslides .anime:nth-of-type(8) {
    animation-delay: 12.6s;
}
.twelveslides .anime:nth-of-type(9) {
    animation-delay: 14.4s;
}
.twelveslides .anime:nth-of-type(10) {
    animation-delay: 16.2s;
}
.twelveslides .anime:nth-of-type(11) {
    animation-delay: 18s;
}
.twelveslides .anime:nth-of-type(12) {
    animation-delay: 19.8s;
}

.topicText {
  display: block;
  padding-left: 20px;
  text-align: left;
  font-size: 20px;
  width: 99%;
}

.clear {
  clear: left;
}

footer p {
  opacity:0.9;
  font-size: 14px;
}

footer {
  padding-top: 10px;
  padding-bottom: 15px;
  color: black;
  text-align: center;
}
