@charset "utf-8";

/*========= バー表示のためのCSS ===============*/

/*タイムライン全体の設定*/
.timeline {
  max-width: 100%;
  width: 700px;
  margin: 50px auto;
  padding: 0 30px;
  color: white;
}

.timeline > li.tile {
  /*線の起点とするためrelativeを設定*/
  position: relative;
  list-style: none;
  padding: 0 0 20px 0;
}

.timeline dl {
  margin: 0 0 20px 3em;
}

.timeline dd strong {
  display: block;
  padding: 10px 0;
}

.timeline img.history-img {
  width: 100%;
  filter: grayscale(100%);
  transition: filter 1s;
}

.timeline img.history-img:hover {
  filter: grayscale(0%);
  transition: filter 1s;
}

/*絶対配置で線を設定*/
.border-line {
  /*線の位置*/
  position: absolute;
  left: 0.2em;
  top: 0;
  width: 2px; /*線の太さ*/
  height: 0; /*はじめは高さを0に*/
  background: #ccc;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline > li.tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
}

/*========= レイアウトのためのCSS ===============*/

header {
  background: #333;
}

h1 {
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  padding: 20px;
  color: #fff;
}

h2 {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}

li.tile p,
ul.slideshow-fade {
  margin-top: 20px;
}

a {
  color: #333;
}

small {
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  padding: 20px;
}

/** Slideshow **/
.slideshow-fade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.slideshow-fade li.slideshow-image {
  list-style: none;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.slideshow-fade li.slideshow-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
}
/*========= レスポンシブのためのCSS ===============*/
@media screen and (max-width: 650px) {
  .timeline {
    padding: 0;
  }
}
