@keyframes ani-sb-tbl {
  0% {
    background-position: left top, left top, bottom left;
  }
  100% {
    background-position: right top, left bottom, bottom right;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  background-image: url(https://www.shimz.co.jp/heritage/img/kazari2.svg);
  background-position: calc(50vw - 770px) 700px;
  background-size: 250px auto;
  background-repeat: repeat-y;
  background-attachment: fixed;
  background-color: white;
}
body.inopening {
  background: none;
  scrollbar-gutter: stable;
}
body.inopening #timeline_body {
  margin: 50px auto 50px;
}
body.inopening #timeline {
  background-image: url(https://www.shimz.co.jp/heritage/img/kazari2.svg);
  background-position: calc(50vw - 770px) 700px;
  background-size: 250px auto;
  background-repeat: repeat-y;
  background-attachment: fixed;
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  top: 100vh;
  position: fixed;
  overflow: hidden;
  z-index: 100;
  background-color: white;
  height: 100vh;
  overflow: hidden;
}
body.inopening #timeline main {
  scrollbar-gutter: stable;
}
body.inopening #timeline > header {
  position: sticky;
}
#timeline .timeline-cover {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
  opacity: 0.8;
  z-index: 20;
}
#timeline .kanekimark::before {
  content: "";
  height: 1em;
  width: 1em;
  background-repeat: no-repeat;
  background-image: url(https://www.shimz.co.jp/heritage/img/timeline/kaneki.svg);
  display: inline-block;
}
#timeline .markedword {
  background-color: yellow;
}
#timeline > header {
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2509803922);
  position: fixed;
  width: 100vw;
  top: 0;
  height: 70px;
  z-index: 10;
}
#timeline > header::before {
  content: "";
  display: box;
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  left: 0;
  background-image: url(https://www.shimz.co.jp/heritage/img/kazari2.svg);
  background-position: calc(50vw - 770px) 700px;
  background-size: 250px auto;
  background-repeat: repeat-y;
  background-attachment: fixed;
}
#timeline > header #grouplink {
  position: relative;
  color: #003561;
  font-weight: 600;
  width: 100%;
  padding-top: 13px;
}
#timeline > header #grouplink #toHome {
  width: 120px;
  left: 50%;
  position: absolute;
  transform: translate(-484px, -6px);
  opacity: 1;
  transition: 0.4s ease all;
}
#timeline > header #grouplink #toHome:hover {
  opacity: 0.6;
}
#timeline > header #grouplink.group0 > ul li:nth-child(1) {
  border-bottom: 4px solid #003561;
  padding-bottom: 6px;
}
#timeline > header #grouplink.group1 > ul li:nth-child(2) {
  border-bottom: 4px solid #003561;
  padding-bottom: 6px;
}
#timeline > header #grouplink.group2 > ul li:nth-child(3) {
  border-bottom: 4px solid #003561;
  padding-bottom: 6px;
}
#timeline > header #grouplink.group3 > ul li:nth-child(4) {
  border-bottom: 4px solid #003561;
  padding-bottom: 6px;
}
#timeline > header #grouplink.group4 > ul li:nth-child(5) {
  border-bottom: 4px solid #003561;
  padding-bottom: 6px;
}
#timeline > header #grouplink.group5 > ul li:nth-child(6) {
  border-bottom: 4px solid #003561;
  padding-bottom: 6px;
}
#timeline > header #grouplink > ul {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 620px;
  position: relative;
  padding: 0 50px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 12%, rgb(255, 255, 255) 88%, rgba(255, 255, 255, 0) 100%);
  font-size: 16px;
  margin: 0 auto;
}
#timeline > header #grouplink > ul::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 53, 97, 0) 0%, rgb(0, 53, 97) 12%, rgb(0, 53, 97) 88%, rgba(0, 53, 97, 0) 100%);
  height: 2px;
  top: 0;
  left: 0;
}
#timeline > header #grouplink > ul::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 53, 97, 0) 0%, rgb(0, 53, 97) 12%, rgb(0, 53, 97) 88%, rgba(0, 53, 97, 0) 100%);
  height: 2px;
  bottom: 0;
  left: 0;
}
#timeline > header #grouplink > ul li {
  padding: 10px;
}
#timeline > header #langAndSearch {
  z-index: 20;
  display: block;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(min(400px, 29vw));
  font-size: 16px;
  line-height: 100%;
}
#timeline > header #langAndSearch ul {
  display: flex;
  gap: 30px;
  align-items: center;
}
#timeline > header #langAndSearch ul li:nth-child(1) {
  color: #8a8a8a;
}
#timeline > header #langAndSearch ul li:nth-child(1) span {
  font-weight: bold;
  color: #003561;
}
#timeline > header #langAndSearch ul li:nth-child(1) span a {
  color: #8a8a8a;
  transition: color 0.3s ease;
}
#timeline > header #langAndSearch ul li:nth-child(1) span a:hover {
  color: #003561;
}
#timeline > header #langAndSearch ul li:nth-child(2) button {
  display: block;
  height: 27px;
  width: 27px;
  cursor: pointer;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
#timeline > header #langAndSearch ul li:nth-child(2) button:hover {
  transform: scale(1);
}
#timeline > header #langAndSearch ul li:nth-child(2) button:hover svg {
  fill: #003561;
}
#timeline > header #langAndSearch ul li:nth-child(2) button svg {
  fill: #8a8a8a;
  width: 100%;
  height: 100%;
}

.search-container {
  padding: 0 16px;
  position: fixed;
  width: 100%;
  z-index: 20;
  top: 80px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.42, 0, 0.94, 1.39);
}
.search-container.is-visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}
.search-container .search-bar {
  display: flex;
  max-width: 600px;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0px 3px 2px 3px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  position: relative;
}
.search-container .search-bar section {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.search-container .search-input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 18px;
}
.search-container .button-group {
  display: flex;
  align-items: center;
}
.search-container .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.search-container .btn:hover {
  background-color: #f5f5f5;
}
.search-container .btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #666;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#timeline_body {
  max-width: 1200px;
  margin: 120px auto 50px;
  padding: 0 20px;
}
#timeline_body > section {
  margin-bottom: 10em;
}
#timeline_body h2.age {
  font-size: 84px;
  font-weight: 400;
  margin-left: 111px;
  color: #003561;
  border-bottom: 2px solid #626c78;
  padding-left: 100px;
}
#timeline_body dl.age_set {
  display: grid;
  align-items: stretch;
  grid-template-columns: 215px 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
#timeline_body dl.age_set.hasOpenner > dt .era {
  margin-top: 140px;
}
#timeline_body dl.age_set.hasOpenner > dt .decorated-box {
  margin-top: 125px;
}
#timeline_body dl.age_set > dt {
  display: flex;
  gap: 15px;
  position: relative;
  align-items: flex-start;
}
#timeline_body dl.age_set > dt::after {
  content: "";
  display: block;
  width: 111px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-right: 2px solid #626c78;
}
#timeline_body dl.age_set > dt .era {
  font-size: 16px;
  line-height: 100%;
  font-weight: bold;
  display: flex;
  gap: 7px;
  align-items: center;
  position: relative;
  margin-top: 45px;
  transition: 0.5s margin-top 0.5s ease-in-out;
}
#timeline_body dl.age_set > dt .era::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20data-name%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20viewBox%3D%220%200%2014%2014%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.st0%20%7B%20fill%3A%20%23626c78%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Ccircle%20class%3D%22st0%22%20cx%3D%227%22%20cy%3D%227%22%20r%3D%227%22%2F%3E%3C%2Fsvg%3E");
}
#timeline_body dl.age_set > dt .decorated-box {
  display: inline-block;
  position: relative;
  background-color: #002f5e;
  color: white;
  font-size: 17px;
  font-weight: bold;
  padding: 3px;
  width: 90px;
  text-align: center;
  margin-top: 30px;
  transition: 0.5s margin-top 0.5s ease-in-out;
}
#timeline_body dl.age_set > dt .decorated-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-left: 10px solid #a0c4f5;
}
#timeline_body dl.age_set > dd > ul {
  position: relative;
  height: -moz-fit-content;
  height: fit-content;
  /*
                  &:hover {
                      &::before {
                          animation: ani-sb-tbl 10s infinite linear;
                      }
                  }*/
}
#timeline_body dl.age_set > dd > ul::before {
  content: "";
  height: 100%;
  width: 10px;
  left: -10px;
  position: absolute;
  background-image: linear-gradient(to right, #666666 4px, #fff 4px), linear-gradient(to top, #666666 4px, #fff 4px), linear-gradient(to left, #666666 4px, #ffffff 4px);
  background-size: 0px 1px, 1px 9px;
  background-repeat: repeat-x, repeat-y, repeat-x;
  background-position: top, left, left;
}
#timeline_body dl.age_set > dd > ul > li {
  margin-bottom: 70px;
}
#timeline_body dl.age_set > dd > ul > li:first-child {
  margin-top: 20px;
}
#timeline_body dl.age_set > dd > ul > li:first-child.noImage {
  margin-top: 40px;
}
#timeline_body dl.age_set > dd > ul > li:last-child {
  margin-bottom: 3em;
}
#timeline_body dl.age_set > dd > ul > li h3 {
  color: #003561;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 1em;
  text-indent: -1em;
  padding-left: 1em;
  margin-left: -13px;
}
#timeline_body dl.age_set > dd > ul > li h3 a {
  padding-right: 1em;
}
#timeline_body dl.age_set > dd > ul > li h3 a:hover {
  text-decoration: underline;
}
#timeline_body dl.age_set > dd > ul > li h3 a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(https://www.shimz.co.jp/heritage/img/link_vector.svg);
  background-size: cover;
  margin-left: 5px;
}
#timeline_body dl.age_set > dd > ul > li.hasImage {
  cursor: pointer;
  display: flex;
  background: rgb(217, 220, 223);
  background: linear-gradient(90deg, rgba(217, 220, 223, 0) 0%, rgb(217, 220, 223) 100%);
}
#timeline_body dl.age_set > dd > ul > li.hasImage:not(.noFolding):hover {
  background: linear-gradient(90deg, rgba(217, 220, 223, 0) 0%, rgba(217, 220, 223, 0.692) 100%);
}
#timeline_body dl.age_set > dd > ul > li.hasImage:not(.noFolding):hover button {
  opacity: 0.3;
}
#timeline_body dl.age_set > dd > ul > li.hasImage.open .description_wrapper {
  padding: 20px 0 70px;
}
#timeline_body dl.age_set > dd > ul > li.hasImage.open .seeImage figcaption {
  opacity: 1;
}
#timeline_body dl.age_set > dd > ul > li.hasImage.open button {
  opacity: 0.4;
}
#timeline_body dl.age_set > dd > ul > li.hasImage.open button::after {
  transform: rotate(225deg) translate(15%, -52%) !important;
}
#timeline_body dl.age_set > dd > ul > li.hasImage.noFolding {
  cursor: unset;
}
#timeline_body dl.age_set > dd > ul > li.hasImage.noFolding .seeImage figcaption {
  opacity: 1;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper {
  flex: 1;
  padding: 20px 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .relatedContents {
  /*font-weight: 800;*/
  color: #003561;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .relatedContents h4 {
  font-size: 16px;
  border-bottom: 2px solid #003561;
  font-weight: 800;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .relatedContents li {
  font-size: 14px;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .relatedContents li a:hover {
  text-decoration: underline;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .relatedContents li a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url(https://www.shimz.co.jp/heritage/img/link_vector.svg);
  background-size: cover;
  margin-right: 5px;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .description {
  height: 0px;
  padding-right: 1em;
  overflow: hidden;
  font-size: 16px;
  transition: height 0.5s ease-in-out;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper .description p {
  margin-bottom: 1em;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper > button {
  width: 80px;
  height: 30px;
  border: 2px solid #003561;
  border-radius: 15px;
  margin: 20px auto 0;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper > button:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #003561;
  border-bottom: 2px solid #003561;
  transform: rotate(45deg) translate(-72%, 20%);
  transform-origin: center;
  margin-left: 50%;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .seeImage {
  width: 365px;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .seeImage figure img {
  display: block;
}
#timeline_body dl.age_set > dd > ul > li.hasImage .seeImage figure figcaption {
  height: 0;
  text-align: center;
  line-height: 110%;
}
#timeline_body dl.age_set > dd > ul > li h3 {
  font-size: 24px;
  line-height: 100%;
}
#timeline_body dl.age_set > dd > ul > li h3::before {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  width: 24px;
  height: 24px;
  background-position: right;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_aa%22%20data-name%3D%22aa%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20viewBox%3D%220%200%2014.8%2024%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.st0%20%7B%20fill%3A%20%23003561%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpolygon%20class%3D%22st0%22%20points%3D%2210.2%2012%205%209%205%2015%2010.2%2012%22%2F%3E%3C%2Fsvg%3E");
}
#timeline_body dl.age_set > dd > ul > li.noImage h3 {
  color: #003561;
}
#timeline_body dl.age_set > dd > ul > li.world h3 {
  color: #d39000;
  font-weight: normal;
  font-size: 1.3em;
}
#timeline_body dl.age_set > dd > ul > li.world h3::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20id%3D%22_aa%22%20data-name%3D%22aa%22%20version%3D%221.1%22%20viewBox%3D%220%200%2014.8%2024%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.st0%20%7B%20fill%3A%20%23d39000%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpolygon%20class%3D%22st0%22%20points%3D%2210.2%2012%205%209%205%2015%2010.2%2012%22%2F%3E%3C%2Fsvg%3E");
}
#timeline_body.en dl.age_set {
  grid-template-columns: 155px 1fr;
}

@media screen and (max-width: 1000px) {
  html {
    scroll-padding-top: 110px;
  }
  body.inopening {
    background: none;
  }
  body.inopening #timeline_body {
    margin: 5px auto 50px;
  }
  #timeline_body dl.age_set.hasOpenner > dt .era {
    margin-top: 45px;
    width: 90px;
  }
  #timeline_body dl.age_set.hasOpenner > dt .decorated-box {
    margin-top: 30px;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage .seeImage {
    width: 100%;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage .seeImage figure img {
    margin: 0 auto;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage .seeImage figure img.null {
    height: 0px;
  }
  #timeline > header {
    height: 115px;
    width: 100vw;
  }
  .search-container {
    top: 64px;
    max-width: 100vw;
  }
  .search-container .search-bar {
    max-width: 100vw;
    margin: 0;
  }
  #timeline_body h2.age {
    margin-left: 100px;
  }
  #timeline_body dl.age_set {
    grid-template-columns: 145px 1fr;
  }
  #timeline_body dl.age_set > dt .decorated-box {
    width: 72px;
  }
  #timeline_body dl.age_set > dt::after {
    width: 100px;
  }
  #timeline_body dl.age_set > dt .era {
    flex-direction: row-reverse;
    /* align-items: flex-end; */
    /* transform: translateX(calc(-100% - 15px)); */
    white-space: nowrap;
    position: absolute;
    right: 50px;
    top: 1.2em;
    font-weight: 600;
    font-size: 0.9em;
  }
  #timeline_body dl.age_set > dt .era::before {
    transform: translate(13px, -18px);
  }
  #timeline_body.en dl.age_set {
    grid-template-columns: 145px 1fr;
  }
  #timeline > header #langAndSearch {
    top: 70px;
    right: 30px;
    transform: none;
    left: auto;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage {
    flex-direction: column;
    gap: 10px;
  }
  #timeline > header #grouplink > ul {
    max-width: 100%;
  }
  #timeline > header #grouplink #toHome {
    width: 90px;
    left: 20px;
    top: 66px;
    transform: none;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage .seeImage {
    margin: 0 auto;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper > button {
    bottom: 10px;
    width: 50px;
    height: 20px;
    border: 1.5px solid #003561;
  }
  #timeline_body dl.age_set > dd > ul > li.hasImage .description_wrapper > button::after {
    width: 7px;
    height: 7px;
  }
}
@media screen and (max-width: 600px) {
  #timeline > header #grouplink > ul {
    max-width: 100%;
    gap: 10px;
  }
  #timeline_body {
    padding: 0;
  }
  #timeline_body > section {
    max-width: 100vw;
  }
  #timeline_body dl.age_set > dd > ul > li h3 {
    font-size: 20px;
    line-height: 100%;
  }
  #timeline_body h2.age {
    margin-left: 90px;
  }
  #timeline_body dl.age_set {
    grid-template-columns: 117px 1fr !important;
  }
  #timeline_body dl.age_set > dt .era::before {
    transform: translate(8px, -18px);
  }
  #timeline_body dl.age_set > dt::after {
    width: 90px;
  }
  #timeline_body dl.age_set > dt .era {
    right: 27px;
  }
}
@media screen and (max-width: 425px) {
  #timeline_body dl.age_set > dt .era {
    left: -13px;
    font-size: 13px;
    line-height: 140%;
  }
  #timeline_body dl.age_set > dt .era::before {
    transform: translate(5px, -18px);
  }
  #timel #timeline_body h2.age {
    margin-left: 75px;
  }
  #timeline_body dl.age_set {
    grid-template-columns: 105px 1fr !important;
  }
  #timeline > header #grouplink > ul {
    max-width: 100vw;
    gap: 0;
    justify-content: space-evenly;
    padding: 0;
    font-size: 4vw;
  }
  #timeline_body dl.age_set > dt::after {
    width: 75px;
  }
  #timeline_body dl.age_set > dt .decorated-box {
    width: 55px;
  }
  #timeline_body h2.age {
    margin-left: 75px;
    font-size: 60px;
    text-align: right;
  }
}/*# sourceMappingURL=style_timeline_gsap.css.map */