@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@100;300;400;500;700;900&family=Noto+Sans+JP:wght@100;300;400;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  background-color: black;
}

p {
  font-size: 1rem;
  line-height: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.12rem;
}

a {
  color: white;
  text-decoration: none;
  letter-spacing: 0.12rem;
}

h2 {
  font-family: noto serif jp, sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.12rem;
}

a:hover {
  color: #000;
  background-color: #fff;
}

summary {
  cursor: pointer;
}

span {
  line-height: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.12rem;
}

span:hover {
  color: #000;
  background-color: #fff;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms;
}

.loading p {
  animation: blink 150ms infinite;
}

.main-visual {
  flex-grow: 1;
  flex-direction: column;
  height: auto;
  margin-top: 2rem;
}

.first-row {
  margin-left: calc(100vw - (100vw - 0.082 * 74.72222222222222vh - 1.666666666666667vw - 1rem));
}

.first-row img {
  display: flex;
  width: calc(10.698 * 10.87962962962963vh);
  height: 10.87962962962963vh;
}

.second-row {
  display: flex;
  flex-flow: row;
  align-items: center;
}

#left-img {
  flex-grow: 1;
  height: 74.72222222222222vh;
  margin-left: 1.666666666666667vw;
  margin-right: 1rem;
}

#left-img-sp {
  display: none;
}

#center-img {
  flex-grow: 1;
  width: calc(100vw - 0.082 * 74.72222222222222vh * 2 - 1.666666666666667vw * 2 - 2rem);
  height: 74.72222222222222vh;
  object-fit: cover;
}

#center-img-sp {
  display: none;
}

#right-img {
  flex-grow: 1;
  height: calc(4.896 * 0.082 * 74.72222222222222vh);
  margin-left: 1rem;
  margin-right: 1.666666666666667vw;
  margin-top: calc(74.72222222222222vh - 4.896 * 0.082 * 74.72222222222222vh);
}

#right-img-sp {
  display: none;
}

.nav-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: 100vw;
  padding: 30px 10vw;
  margin: 0 auto;
  backdrop-filter: blur(3px);
}

.nav-link {
  font-size: 1rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 400;
  width: auto;
  height: 1.5rem;
  overflow: hidden;
  transition: all 0.3s 0s ease;
}

.info-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info {
  margin-top: 20rem;
  display: grid;
  grid-template-columns: 12.5rem 45.25rem;
  gap: 5vw;
}

.info-item th {
  font-size: 1rem;
  font-family: noto sans jp, sans-serif;
  font-weight: 300;
  padding-right: 4rem;
}

.info-item {
  border: 0px solid #ddd;
  text-align: left;
  align-self: center;
}

.info-item img {
  width: 100%;
  height: 100%;
}

.info-right {
  height: 33.1rem;
}

.theme-grid {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-right: calc((105vw - 1084px) / 2);
}

.theme {
  margin-top: 20rem;
  display: grid;
  grid-template-columns: 62rem;
  gap: 1rem;
}

.theme-item {
  border: 0px solid #ddd;
  text-align: left;
  align-self: center;
  width: 40vw;
}

.theme-item h2 {
  font-size: 3rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.theme-item iframe {
  width: 42rem;
  height: 23.625rem;
}

.left-theme {
  height: 20rem;
}

.right-theme {
  width: 42rem;
  height: 23.625rem;
}

.works-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.works {
  margin-top: 20rem;
  display: grid;
  grid-template-columns: 42rem 16.5rem;
  gap: 2rem 5vw;
}

.works-item {
  /* ÄÚ‚È¤ÎÓà°× */
  border: 0px solid #ddd;
  /* ¾³½ç¾€ */
  text-align: left;
  align-self: center;
}

.works-item h2 {
  font-size: 2rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 400;
}

.works-right {
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  -writing-mode: vertical-rl;
  /* height: 26.4rem; */
  height: 32rem;
  text-align: left;
}

.works-item img {
  width: 85%;
  height: 85%;
}

.works-left {
  aspect-ratio: 16 / 9;
  height: 23.625rem;
  height: 29rem;
  margin-bottom: 4.8rem;
}

.works-right {
  font-family: noto serif jp, sans-serif;
  font-size: 1.2rem;
  line-height: 2.8rem;
  margin-bottom: 2.2rem;
}

.works-right a {
  font-family: noto serif jp, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 2.8rem;
}

.works-right span:hover {
  color: #fff;
  background-color: #000;
}

.events-grid {
  display: flex;
  justify-content: center;
  align-items: start;
}

.related-exhibits {
  margin-top: 20rem;
  display: grid;
  grid-template-columns: 18.5rem 40rem;
  gap: 2rem 5vw;
}

.events {
  margin-top: 20rem;
  display: grid;
  grid-template-columns: 18.5rem 40rem;
  gap: 2rem 5vw;
}

.radio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(5vw + 58.5rem);
  margin-bottom: 1rem;
}

.radio h3 {
  font-size: 1.5rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 100;
  letter-spacing: 0.12rem;
}

.radio label {
  cursor: pointer;
  display: block;
  background: #000000;
  color: #ffffff;
  text-align: center;
  width: calc((5vw + 58.5rem) / 4);
  border-left: #000 0.05px solid;
  /* transition: .2s; */
}

.radio label:hover {
  background: #ffffff;
  color: #000000;
}

.radio input {
  display: none;
}

.radio input[type="radio"]:checked+label {
  background-color: #ffffff;
  color: #000;
}

#day2 {
  display: none;
}

#day3 {
  display: none;
}

#day4 {
  display: none;
}

#img-a:hover {
  background-color: #000;
}

.events-item {
  border: 0px solid #ddd;
  text-align: left;
  align-self: center;
  height: auto;
}

.events-top {
  margin-bottom: 0rem;
}

.events-radio {
  height: 2.15625rem;
}

.events-day {
  margin-top: 0rem;
  margin-bottom: 0.5rem;
}

.events-item h2 {
  font-size: 2rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 400;
}

.events-item h3 {
  font-size: 1.5rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 100;
}

.events-item a {
  font-size: 1.2rem;
  font-family: noto sans jp, sans-serif;
  font-weight: 400;
}

.events-item img {
  width: 100%;
  height: 100%;
}

.events-left {
  height: 22.5rem;
}

.events-right {
  aspect-ratio: 16 / 9;
}

.events-right img:hover {
  opacity: 0.5;
  transition: opacity 0.3s 0s ease;
}

.access-grid {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-right: calc((105vw - 1084px) / 2);
}

.access {
  margin-top: 20rem;
  display: grid;
  grid-template-columns: 31rem 31rem;
  grid-template-rows: auto auto;
  gap: 1rem 1rem;
}

.access-item {
  border: 0px solid #ddd;
  text-align: left;
  align-self: center;
}

.g-map {
  grid-column: 1 / -1;
}

.g-map iframe {
  width: 100%;
  height: 36rem;
}

.car-access {
  grid-column: auto;
  width: 31rem;
}

.train-access {
  grid-column: auto;
  width: 31rem;
  margin-bottom: 3.3rem;
}

.train-access p {
  font-size: 0.9rem;
  line-height: 1.6rem;
}

.access-item img {
  width: 100%;
  height: 100%;
}

.access-item h2 {
  margin-bottom: 3rem;
}

.access-item h3 {
  font-size: 1.5rem;
  font-family: noto serif jp, sans-serif;
  font-weight: 100;
  margin-bottom: 1.5rem;
}

.footer {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.footer-item {
  border: 0px solid #ddd;
  text-align: left;
  align-self: center;
}

.footer-item th {
  font-size: 1rem;
  font-family: noto sans jp, sans-serif;
  font-weight: 300;
  padding-right: 4rem;
}

.footer-img {
  margin-bottom: 8rem;
  width: 48rem;
}

.footer-img img {
  width: 48rem;
}

.comment p {
  margin-bottom: 1rem;
}

.footer-info {
  margin-bottom: 5rem;
}

.sns {
  position: relative;
  font-size: 1.8rem;
  bottom: 0;
  align-self: center;
  width: 48rem;
}

.sns a {
  display: inline-block;
  margin-right: 1.5rem;
}

.sns a:hover {
  color: gray;
  background-color: #000;
}

.fa-twitter:before {
  content: "?" !important;
  font-family: sans-serif !important;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  .main-visual {
    margin-top: 2.8rem;
    margin-bottom: 1rem;
    height: auto;
  }

  #left-img {
    margin-left: 0.8vw;
  }

  .nav-bar {
    padding: 10px 5vw;
    margin: 0 auto;
  }

  .nav-bar a {
    font-size: 1rem;
  }

  #sp-none {
    display: none;
  }

  .info-grid {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .info {
    display: grid;
    grid-template-columns: 90vw;
    gap: 5vw;
    margin-top: 10rem;
  }

  .info-item {
    height: auto;
  }

  .info-left {
    display: none;
  }

  .info-item th {
    padding-right: 1rem;
  }

  .theme-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0rem;
  }

  .theme {
    display: grid;
    grid-template-columns: 90vw;
    gap: 1rem;
    margin-top: 10rem;
  }

  .left-theme {
    height: auto;
  }

  .right-theme {
    width: 90vw;
    height: calc(90vw * 9 / 16);
  }

  .theme-item iframe {
    width: 90vw;
    height: calc(90vw * 9 / 16);
  }

  .works-grid {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .works {
    display: grid;
    grid-template-columns: 90vw;
    gap: 1rem;
    height: auto;
    margin-top: 10rem;
  }

  .works-item {
    height: auto;
  }

  .works-left {
    display: none;
  }

  .works-right a {
    line-height: 16vw;
    margin-bottom: 3rem;
  }

  .events-grid {
    display: flex;
    justify-content: center;
    align-items: start;
  }

  .related-exhibits {
    display: grid;
    grid-template-columns: 90vw;
    gap: 0.5rem;
    margin-top: 10rem;
  }

  .events {
    display: grid;
    grid-template-columns: 90vw;
    gap: 0.5rem;
    margin-top: 10rem;
  }

  .radio {
    width: 90vw;
  }

  .radio label {
    width: calc(90vw / 4);
  }

  #img-a:hover {
    background-color: #000;
  }

  .events-item {
    height: auto;
  }

  .events-item br {
    display: none;
  }

  .events-radio {
    margin-bottom: 1rem;
  }

  .events-right {
    margin-bottom: 1.5rem;
  }

  #dummy {
    display: none;
  }

  .access-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0rem;
  }

  .access {
    display: grid;
    grid-template-columns: 90vw;
    gap: 1rem;
    margin-top: 10rem;
  }

  .left-access {
    height: auto;
  }

  .right-access {
    height: auto;
  }

  .access-item {
    width: 90vw;
  }

  .access-item img {
    width: 90vw;
  }

  .access-item iframe {
    width: 90vw;
    height: 35vh;
  }

  .train-access {
    margin-bottom: 0rem;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-item {
    width: auto;
  }

  .footer-info {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 0;
    margin-bottom: 5rem;
  }

  .footer-img {
    width: 90vw;
    margin-bottom: 2rem;
  }

  .footer-img img {
    width: 90vw;
  }

  .footer-info th {
    padding-right: 2rem;
  }

  .sns {
    width: 90vw;
  }
}

@media screen and (max-width: 430px) {
  .main-visual {
    margin-top: 2.5rem;
    display: flex;
    flex-flow: column;

    align-items: center;
    justify-content: center;
  }

  #top-img {
    display: none;
  }

  #left-img {
    display: none;
  }

  #left-img-sp {
    display: flex;
    flex-grow: 1;
    width: auto;
    height: 53.08370044052863vh;
    margin-left: 1rem;
    margin-bottom: calc((81.82819383259912vh - 53.08370044052863vh));
  }

  #center-img {
    display: none;
  }

  #center-img-sp {
    display: block;
    height: 81.82819383259912vh;
    margin: 0 auto;
  }

  #right-img {
    display: none;
  }

  .radio h3 {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 0.9rem;
    line-height: 1.8rem;
    overflow-wrap: anywhere;
  }

  .info-right th {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .theme-item {
    width: 100%;
  }

  .theme-item p {
    font-size: 0.9rem;
    line-height: 1.8rem;
    overflow-wrap: anywhere;
  }

  .nav-link {
    font-size: 1.5rem;
    width: 1rem;
    transition: none;
  }
}