@charset "utf-8";

body {
  margin: 0;
  font-family: yu-mincho-pr6n, sans-serif;
}

.container {
  width: 100%;
  margin: 0 auto 0 auto;
}

section .container {
  display: flex;
  flex-flow: column;
}
/*スクロールアニメーション*/

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ナビ */
.nav .container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.nav .container {
  transition: top .3s ease;
}

.nav .container.hide {
  top: -70px;
}


/* メニューボタン */
.menu-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;
  border: none;
  background: url(../images/menuba40x40.png) no-repeat center;
  background-size: contain;
  cursor: pointer;
  z-index: 101;
}

.menu-btn.open {
  background-image: url(../images/menubaopen40x40.png);
}

/* メニューボタン表示 */
.menu-btn {
  display: block;
}


.about-menu {
  font-weight: bold;
}

.nav.scrolled .title a,
.nav.scrolled .navbar li a {
  color: #fff;
}


/*動画*/
.c4 {
  text-align: center;
  padding: 0 10px;
}

.c4 video {
    width: 80%;
    max-width: 1500px;
    height: auto;
}

.c4-about0 {
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
  padding: 20px;
}

.br-sp {
  display: none;
}

.c4-about1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.c4-about2 {
  text-align: center;
  margin-bottom: 30px;
}

.small {
  font-size: 0.9em;
}

.c4-about3 {
  text-align: center;
  margin-bottom: 66px;
}

.art.title {
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
}

.art1-1 {
  text-align: center;
  margin: 0px;
  margin-bottom: 30px;
}

.art1-2 {
  text-align: center;
  margin: 0px;
  margin-bottom: 50px;
}


.history-title {
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
}

.vertical-text-dot::before {
  content: "";
  position: absolute;
  top: -6px;
  right: -4px;
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
}

.history {
  position: relative;
  border-collapse: collapse;
  margin-bottom: 70px;
}

/* これまでの「一九四六」展*/
.history::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: #d8d0b4;
}

/* th */
.history th {
  position: relative;
  width: 90px;
  text-align: left;
  padding: 8px 0 8px 50px;
  font-weight: normal;
}

/* 年表の丸形・*/
.history th:not(:empty)::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b59948;
  z-index: 1;
}

.history td {
  padding: 8px 0;
}

.history {
  position: relative;
  border-collapse: collapse;

  margin: 0 auto 60px;
}

.footer-inner {
  text-align: center;
  font-size: 0.5em;
}

/*  一九四六拡大  */
.intro {
  height: 38vh;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro .title {
  font-size: clamp(34px, 7vw, 60px);
  font-weight: 400;
  letter-spacing: 0.4em;
  margin: 0;
  color: #efe9df;
  text-indent: 0.4em;
}

.intro .reading {
  font-size: 12px;
  letter-spacing: 0.5em;
  color: #6a655c;
  margin: 1.2em 0 0;
  text-indent: 0.5em;
}

.intro .artist {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #8a857b;
  margin-top: 2em;
}

.gallery-wrap {
  padding: 0 0 1rem;
}

.viewport {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 300px;
  max-height: 460px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #000;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 40px 60px -20px rgba(0, 0, 0, 0.9),
    inset 0 -40px 60px -20px rgba(0, 0, 0, 0.9);
}

.viewport.grabbing {
  cursor: grabbing;
}

.viewport::-webkit-scrollbar {
  height: 6px;
}

.viewport::-webkit-scrollbar-track {
  background: transparent;
}

.viewport::-webkit-scrollbar-thumb {
  background: #3a3833;
  border-radius: 999px;
}

.strip {
  height: 100%;
  width: 2000px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  user-select: none;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a463f;
  font-size: 13px;
  letter-spacing: 0.1em;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.minimap {
  position: relative;
  width: calc(100% - 4rem);
  max-width: 1000px;
  margin: 14px auto 0;
  height: 22px;
  cursor: pointer;
  overflow: hidden;
  background-size: 100% 100%;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.minimap:hover {
  opacity: 0.85;
}

.minimap-window {
  position: absolute;
  top: 0;
  height: 100%;
  border: 1px solid rgba(239, 233, 223, 0.9);
  box-shadow: 0 0 0 9999px rgba(10, 9, 8, 0.6);
  pointer-events: none;
}

/*拡大機能、ヒント文章*/
.pc-nav-hint,
.sp-nav-hint {
  display: none;
}


.captions {
  max-width: 1040px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
}

.cap {
  flex: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.cap.visible {
  opacity: 1;
  transform: translateY(0);
}

.cap .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.4em;
  color: #6a655c;
  margin: 0 0 1.4em;
  text-transform: uppercase;
}

.cap p {
  font-size: 15px;
  line-height: 2.1;
  color: #b3aea4;
  margin: 0 0 1.3em;
  text-align: justify;
  font-weight: 300;
}

.cap p:last-child {
  margin-bottom: 0;
}

.cap .lead {
  color: #d8d2c8;
  font-size: 16px;
}

.spec {
  margin-top: 2em;
}

.spec div {
  display: flex;
  font-size: 13px;
  padding: 0.7em 0;
  border-bottom: 1px solid #1c1a17;
  font-weight: 300;
}

.spec div:first-child {
  border-top: 1px solid #1c1a17;
}

.spec .k {
  flex: 0 0 6.5em;
  color: #6a655c;
  letter-spacing: 0.1em;
}

.spec .v {
  color: #b3aea4;
}

.colophon {
  text-align: center;
  font-size: 10.5px;
  color: #44413b;
  letter-spacing: 0.1em;
  line-height: 2;
  padding: 0 1rem 5rem;
}

/*  一九四六の拡大スマホ用  */
@media (max-width: 760px) {

  .captions {
    flex-direction: column;
    gap: 0;
    max-width: 620px;
    padding: 4rem 1.5rem 5rem;
  }

  .cap {
    margin-bottom: 4.5rem;
  }

  .cap:last-child {
    margin-bottom: 0;
  }

  .viewport {
    height: 40vh;
  }
}


/* ---------- スマホ用 ---------- */
@media only screen and (max-width:767px) {

  /*ナビ*/
  .nav .container {
    position: fixed;
    background: rgba(181, 153, 72, 0.8);
  }

    .main-inner {
    max-width: 100%;
    background: #fff;
  }
  

  .container {
    width: 80%;
    margin: 0 auto;
  }

  .c4 video {
    width: 100%;
    margin-top: 80px;
    height: auto;
  }

  .c4 {
    text-align: center;
    padding: 0;
  }

  .menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 101;
  }

  .c4-about1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
  }



  .br-sp {
    display: block;
    white-space: none;
  }

  br {
    display: none;
  }

  .history tr {
    display: block;
  }

  .history th,
  .history td {
    display: block;
    width: auto;
  }

  .history th {
    padding-left: 50px;
  }

  .history td {
    padding-left: 50px;
    white-space: pre-wrap;
  }

  .history th:empty {
    display: none;
  }

  /* メニュー（初期状態は非表示） */
  #menu {
    display: none;
  }

  /* 開いたときだけ表示 */
  #menu.open {
    display: block;
    position: absolute;
    top: 70px;
    /* ?w?b?_?[?̍????ɍ??킹?・*/
    left: 0;
    width: 100%;
    background: rgba(181, 153, 72, 0.8);
    z-index: 100;
  }

  /* メニュー縦並び */
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 20px 0;

  }

  .navbar li {
    flex: none;
    width: 100%;
  }

  .navbar li a {
    display: block;
    text-align: center;
    padding: 15px 0;

    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    white-space: nowrap;
    padding: 20px 0;
  }

  /* スクロール後 */
  .nav.scrolled .container {
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  .title a,
  .nav.scrolled .navbar li a {
    color: #fff;
  }

  /*拡大機能、ヒント文章*/
  .sp-nav-hint {
    display: block;
    font-size: 15px;
    color: #56524a;
    text-align: center;
    margin: 10px 0;
  }

  .c4-about2,
  .c4-about3 {
    text-align: left;
  }

  .art1-1,
  .art1-2 {
    text-align: left;
  }

}

/* ---------- PC用 ---------- */
@media only screen and (min-width:768px) {
  .about-page .menu-btn {
    display: none;
  }

  /* メニュー横並び */

  .nav {
    height: 100px;
  }

  .nav .container nav {
    width: 100%;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  .navbar li a {
    display: block;
    color: #fff;

    font-size: 1.5em;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 15px;
  }

  /* ナビゲーション */
  .navbar li {
    flex: 1;
    text-align: center;
  }

  /*サブ*/
  .navbar li a:hover {
    transform: scale(1.1);
  }

  .main-inner {
    max-width: 100%;
    margin-top: 30px;
    background: #fff;
  }

  /*ナビゲーション*/

  .main-inner {
    background: #fff;
  }

  #menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .navbar {
    justify-content: center;
  }

  /*拡大機能、ヒント文章*/
  .pc-nav-hint {
    display: block;
    font-size: 15px;
    color: #56524a;
    text-align: center;
    margin: 10px 0;
  }

}
