@charset "utf-8";

/* -------------------------------------------------
  #main-movie
------------------------------------------------- */

.rwd-slider-wide.slider-type01.full.single {
  height: 480px;
  margin-bottom: 0 !important;
  overflow: hidden;
  position: relative;
}
.rwd-slider-wide.slider-type01.full.single::after {
  width: 100%;
  height: 100%;
  background: url(/stories/history/img/bg_001.png) repeat center center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: block;
  content: "";
}

#main-movie video {
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

@media print, screen and (min-width:768px) {
  #rwd-content .rwd-keyvisual-caption-title-en {
    font-size: 1.8rem;
    line-height: 1.33;
  }
}

@media screen and (max-width:767px) {
  #rwd-content .rwd-slider-wide.full.single {
    height: 282px;
    margin-bottom: 70px !important;
    overflow: visible !important;
  }
  #rwd-content .slider-type01 {
    margin-bottom: 0 !important;
  }
  #rwd-content .rwd-mc-keyvisual-caption-wrap {
    padding: 0 0 20px;
    bottom: -70px;
  }
  #main-movie .video-wrap {
    height: 282px;
    overflow: hidden;
    position: relative;
  }
  #main-movie video {
    width: 120%;
  }
  #main-movie h1 .rwd-keyvisual-caption-title-jp {
    font-size: 2rem;
  }
}

/* -------------------------------------------------
  #history-nav-block
------------------------------------------------- */

#history-nav-block {
  margin-top: 35px;
  padding-bottom: 176px;
  background: url(/stories/history/img/bg_002.jpg) repeat-x center bottom;
  position: relative;
  border-bottom: solid 2px #fff;
}
#history-nav-block .lead {
  font-size: 2rem;
  line-height: 1.5;
  text-align: center;
  color: #232627;
}
#history-nav-block ul {
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
}
#history-nav-block ul li {
  width: calc(286 / 1220 * 100%);
}
#history-nav-block ul li a {
  display: block;
  position: relative;
  box-shadow: 4px 4px 6px 0 rgba(0,0,0,0.3);
  transition: transform 0.2s ease-out;
}
#history-nav-block ul li a:hover img {
  opacity: 1 !important;
}
#history-nav-block ul li .texts {
  width: 100%;
  position: absolute;
  left: 0;
  top: 30px;
  text-align: center;
}
#history-nav-block ul li .texts p {
  line-height: 1;
  color: #000;
}
#history-nav-block ul li .texts .e {
  font-size: 2.2rem;
  font-family: Roboto;
  font-weight: bold;
}

#history-nav-block .logo {
  width: 257px;
  display: block;
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
}

@media print, screen and (min-width:768px) {
  #history-nav-block ul li a:hover {
    transform: translateY(-10px);
  }
}

@media print, screen and (min-width:768px) and (max-width:1040px) {
  #history-nav-block ul li .texts .e {
    font-size: 1.7rem;
  }
}

@media screen and (max-width:767px) {
  #history-nav-block {
    margin-top: 0;
    padding-top: 23px;
    padding-bottom: 107px;
    background-size: auto 143px;
    border-bottom-width: 1px;
  }
  #history-nav-block .lead {
    font-size: 1.6rem;
    text-align: left;
  }
  #history-nav-block ul {
    margin-top: 23px;
    flex-wrap: wrap;
  }
  #history-nav-block ul li {
    width: calc(164 / 339 * 100%);
  }
  #history-nav-block ul li:nth-child(2) ~ li {
    margin-top: 12px;
  }
  #history-nav-block ul li a {
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.3);
  }
  #history-nav-block ul li .texts {
    left: 0;
    top: 22px;
  }
  #history-nav-block ul li .texts p {
    font-weight: bold;
  }
  #history-nav-block ul li .texts .e {
    font-size: 1.5rem;
  }

  #history-nav-block .logo {
    width: 140px;
    bottom: 24px;
  }
}

@media screen and (max-width:340px) {
  #history-nav-block ul li .texts .e {
    font-size: 1.3rem;
  }
}
