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

html, body {
  font-size: 21px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--main-color);
  background: var(--bg-color);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1 {
  position: fixed;
  top: 40px;
  left: 38px;
  font-size: 3rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: 1000;
  color: var(--main-color);
  pointer-events: none;
}

h1 a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.intro-wrapper,
.list-wrapper {
  position: fixed;
  top: 130px;
  left: 40px;
  width: calc(100% - 76px);
  max-width: 800px;
  z-index: 100;
}

.intro-text,
.list-text {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--main-color);
  mix-blend-mode: normal;
  line-height: 1.4;
  position: relative;
  cursor: pointer;
}

.list-wrapper {
  position: relative;
}

.list-text a,
.intro-text a {
  color: var(--main-color);
  text-decoration: none;
}

.intro-text a {
  text-decoration: underline;
}

.list-text a:hover,
.list-text a:active,
.intro-text a:hover,
.intro-text a:active {
  color: var(--main-color);
}

.full-text {
  display: none;
}

.intro-text.open .short-text {
  display: none;
}

.intro-text.open .full-text {
  display: block;
}

.jpn-translation {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #EFEFEF;
  color: #333;
  padding: 1rem;
  font-size: 1.3rem;
}

.jpn-toggle {
  display: inline-block;
  margin-top: 1rem;
  cursor: pointer;
  text-decoration: underline;
  color: var(--main-color);
}

main {
  padding: 0;
  max-width: 85%;
  margin: 0 auto;
}

section {
  margin: 0;
}

.image-block-index,
.image-block {
  margin: 1rem 0;
}

.image-block-index img,
.image-block img,
.image-block-index video {
  width: 85%;
  max-width: 1300px;
  height: auto;
  display: block;
  margin: 0 auto 25px;
}

.image-block-index:first-of-type,
.image-block:first-of-type {
  margin-top: 100px;
}

.image-block-index video {
  object-fit: contain;
}

.video-wrapper {
  width: 85%;
  max-width: 1300px;
  margin: 0 auto 25px;
}

.video-wrapper video,
video {
  width: 100%;
  height: auto;
  display: block;
}

.fixed-video-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 85%;
  max-width: 1300px;
  pointer-events: auto;
}

#back-button {
  position: fixed;
  top: 0;
  right: 30px;
  font-size: 3rem;
  color: var(--main-color);
  z-index: 1000;
  text-decoration: none;
  pointer-events: auto;
  font-weight: 200;
}

.image-with-caption {
  position: relative;
  width: 85%;
  max-width: 1300px;
  margin: 0 auto;
}

.image-with-caption img {
  width: 100%;
  height: auto;
  display: block;
}

.caption-wrapper,
.credit-line-wrapper {
  margin-left: 40px;
  margin-right: 40px;
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--main-color);
  position: relative;
  z-index: 1;
}

.caption-wrapper {
  margin-top: 3rem;
  margin-bottom: 0;
}

.caption-wrapper a {
  color: var(--main-color);
  text-decoration: underline;
}

.caption-wrapper a:hover,
.caption-wrapper a:active {
  color: var(--main-color);
  text-decoration: underline;
}

.credit-line-wrapper {
  margin-top: 2em;
  margin-bottom: 40px;
}

.media-margin-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.media-margin-sm {
  margin-top: 0;
  margin-bottom: 5rem;
}

.media-margin-md {
  margin-top: 0;
  margin-bottom: 10rem;
}

.media-margin-lg {
  margin-top: 0;
  margin-bottom: 15rem;
}

.yureru {
  animation: yureru 0.2s ease-in-out infinite alternate;
  width: 70px;
  height: 70px;
  margin-top: 15px;
  display: inline-block;
}

@keyframes yureru {
  0% {
    transform: translate(0, 0) rotate(-1deg);
  }
  50% {
    transform: translate(0, -1px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(1deg);
  }
}




.highlight {
  color: #BBBBBB;
}

/* ────────────────────── スマホ版 ────────────────────── */

@media screen and (max-width: 768px) {
  html, body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.8rem;
    top: 20px;
    left: 18px;
  }

  .intro-wrapper,
  .list-wrapper {
    top: 80px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: none;
  }

  .intro-text,
  .list-text {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .jpn-translation {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  main {
    padding: 0;
    max-width: 100%;
  }

  .image-block-index,
  .image-block {
    margin: 1.5rem 0;
  }

  .image-block-index img,
  .image-block img,
  .image-block-index video {
    width: 100%;
    margin: 0 auto 20px;
  }

  .image-block-index:first-of-type,
  .image-block:first-of-type {
    margin-top: 190px;
  }

  .video-wrapper,
  .fixed-video-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 auto 20px;
  }

  #back-button {
    top: -5px;
    right: 15px;
    font-size: 3rem;
    font-weight: 200;
  }

  .caption-wrapper,
  .credit-line-wrapper {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1rem;
  }

  .credit-line-wrapper {
    margin-bottom: 20px;
  }

  .media-margin-sm {
    margin-top: 0;
    margin-bottom: 2.5rem;
  }

  .media-margin-md {
    margin-top: 0;
    margin-bottom: 5rem;
  }

  .media-margin-lg {
    margin-top: 0;
    margin-bottom: 10rem;
  }
}
