@charset "UTF-8";
nav.era_nav {
  position: fixed;
  left: 5px;
  top: 50%;
  width: 40px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  height: 70vh;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  -webkit-transition: opacity .6s ease;
  transition: opacity .6s ease;
}

nav.era_nav ul {
  list-style: none;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  /* 均等分割 */
  position: relative;
  z-index: 2;
}

nav.era_nav ul li {
  text-align: center;
  background: #111;
  border-radius: 100px;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border: 1px solid #111;
  box-sizing: border-box;
}

nav.era_nav ul a {
  font-family: 'EB Garamond';
  font-weight: 400;
  font-style: italic;
  display: block;
  margin: 0 auto;
  opacity: .6;
  -webkit-transition: .3s;
  transition: .3s;
  font-size: 12px;
  color: #fff;
  line-height: 27px;
}

nav.era_nav ul li.current {
  background: #fff;
  border: 2px solid #111;
  width: 32px;
  height: 32px;
}

nav.era_nav ul li.current a {
  opacity: 1;
  font-size: 16px;
  color: #333;
}

nav.era_nav.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* 縦線（ベース） */
.era_line {
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #ddd;
  overflow: hidden;
}

/* スクロールで伸びる線 */
.era_line_progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #000;
  -webkit-transition: height .3s ease;
  transition: height .3s ease;
}

.era_hero {
  background-image: url(../img/showa/showa_hero_bg.jpg);
  background-size: cover;
  background-position: top center;
}

.era_hero .era_hero_logo {
  margin: 0 auto;
  padding-top: clamp(90px, 10vw, 120px);
  padding-bottom: clamp(90px, 10vw, 120px);
  width: 70%;
  max-width: 700px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  opacity: 0;
  -webkit-transition: opacity 1.6s ease;
  transition: opacity 1.6s ease;
}

.era_hero .era_hero_logo p {
  color: #fff;
}

.era_hero .era_hero_logo.show {
  opacity: 1;
}

/* --------------------
  左：時代
-------------------- */
.era_info {
  position: -webkit-sticky;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  background: #333;
  padding: 50px 30px 30px 30px;
  scrollbar-width: thin;
  scrollbar-color: #fff #333;
  grid-area: info;
}

/* WebKit */
.era_info::-webkit-scrollbar {
  width: 6px;
}

.era_info::-webkit-scrollbar-track {
  background: #333;
}

.era_info::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 0;
}

.era_info::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.era_info30 {
  background: #000;
}

.era_info50 {
  background: #111;
}

.era_info50 {
  background: #222;
}

.era_info70 {
  background: #333;
}

.era_info80 {
  background: #444;
}

.era_title {
  font-size: clamp(2rem, 2.1vw, 2.2rem);
  margin-bottom: 34px;
  letter-spacing: .05em;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

.era_title span {
  font-size: 115%;
  font-family: 'EB Garamond';
  margin-right: 2px;
}

.era_events {
  list-style: none;
  padding: 0;
  margin: 0;
}

.era_events li {
  margin-bottom: 24px;
}

.era_events img {
  -webkit-filter: grayscale(30%) contrast(1.1);
          filter: grayscale(30%) contrast(1.1);
}

.era_events p {
  font-size: 14px;
  opacity: .85;
  color: #fff;
  margin-top: 6px;
}

.era_events p span {
  font-family: 'EB Garamond';
  font-size: 115%;
  margin-right: 1px;
}

/* --------------------
  右：映画棚
-------------------- */
.era_film {
  padding-top: clamp(90px, 8vw, 120px);
  padding-bottom: clamp(40px, 5vw, 60px);
  grid-area: film;
}

.film_year {
  text-align: center;
  font-size: clamp(6rem, 6vw, 10rem);
  font-family: 'EB Garamond';
  font-weight: 600;
  font-style: italic;
}

.film_year span {
  position: relative;
  display: inline-block;
}

.film_year span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #555;
  -webkit-transition: width 0.6s ease;
  transition: width 0.6s ease;
}

.film_year.line span::after {
  width: 100%;
}

.film_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 0;
  padding: 90px 0 90px 60px;
}

.film_list article {
  width: 25%;
  padding: 50px 20px 30px 20px;
  opacity: 0;
  -webkit-transform: translateY(24px);
      -ms-transform: translateY(24px);
          transform: translateY(24px);
  opacity: 0.7;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.film_list article a {
  -webkit-transition: opacity .6s ease, -webkit-transform .6s ease;
  transition: opacity .6s ease, -webkit-transform .6s ease;
  transition: opacity .6s ease, transform .6s ease;
  transition: opacity .6s ease, transform .6s ease, -webkit-transform .6s ease;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.film_list article a:hover {
  opacity: 0.7;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.film_list article h3 {
  font-size: clamp(1.5rem, 1.6vw, 1.9rem);
  margin-top: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.film_list article p {
  margin-top: 6px;
}

.film_img {
  aspect-ratio: 1 / 1;
  /* 枠は統一 */
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.film_img img {
  max-height: 100%;
  object-fit: contain;
}

.film_shadow {
  box-shadow: 0 0 1.5px #111;
}

article.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

/* --------------------
  昭和の「整ってなさ」
-------------------- */
.film_card:nth-child(3n) {
  -webkit-transform: translateY(10px) rotate(-0.6deg);
      -ms-transform: translateY(10px) rotate(-0.6deg);
          transform: translateY(10px) rotate(-0.6deg);
}

.film_card:nth-child(4n) {
  -webkit-transform: translateY(-6px) rotate(0.4deg);
      -ms-transform: translateY(-6px) rotate(0.4deg);
          transform: translateY(-6px) rotate(0.4deg);
}

/* --------------------
  全体ブロック
-------------------- */
.era_layout {
  margin: 0 auto;
  display: grid;
  grid-template-areas: "film info";
}
