*{
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  position: relative;
  background:#000;
  margin: 0;
  padding: 0;
  min-height: 100vh; /* 画面いっぱいに広がるように */
  z-index: 0;
}

h2 ruby,
p ruby {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: var(--ruby-gap);
  ruby-position: over;
  vertical-align: bottom;
}

h2 rt,
p rt {
  display: block;
  width: max-content;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

h2 ruby {
  --ruby-gap: 0.1em;
}

h2 rt {
  font-size: 0.3em;
  letter-spacing: 0.4em;
}

p ruby {
  --ruby-gap: 0em;
}

p rt {
  font-size: 0.46em;
  letter-spacing: 0.12em;
}

.first-view {
  --first-view-logo-bottom: 70px;
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background-image: url("img/top-sp.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
}

.first-view__copy-area {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.first-view__copy {
  color: #fff;
  font-size: clamp(20px, 8vw, 23px);
  font-weight: 600;
  letter-spacing: 0.4em;
  line-height: 1.8;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.first-view__logo {
  position: absolute;
  left: 50%;
  bottom: var(--first-view-logo-bottom);
  width: 70%;
  height: auto;
  transform: translateX(-50%);
}

.first-view__scroll-light {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: calc(var(--first-view-logo-bottom) - 60px);
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}

.first-view__scroll-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.first-view__scroll-light::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 46px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0)
  );
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0;
  transform: translate(-50%, -100%);
  animation: scroll-light 2.8s ease-in-out infinite;
}

@keyframes scroll-light {
  0% {
    opacity: 0;
    transform: translate(-50%, -100%);
  }

  18% {
    opacity: 1;
  }

  72% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, calc(100% + 46px));
  }
}

.about-section {
  position: relative;
  overflow: hidden;
  background: #000;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: max(100%, calc(100vh * 1000 / 641));
  background-image: url("img/about/about.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
  opacity: 0.15;
  animation: about-bg-slide 30s ease-in-out infinite alternate both;
}

.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/01.png");
  background-repeat: repeat;
  background-size: auto;
  pointer-events: none;
}

.about-section__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 560px);
  margin: 0 auto;
  padding: 120px 0 96px;
}

.about-section__copy {
  margin-bottom: 52px;
  font-size: clamp(22px, 7vw, 23px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 2;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
}

.about-section__body {
  font-size: clamp(14px, 4vw, 12px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 2.15;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.term-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.term-title::before {
  content: "";
  width: 27px;
  height: 1px;
  background: #fff;
  opacity: 0.7;
}

.about-section__body p + p {
  margin-top: 1.7em;
}

@keyframes about-bg-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100vw - 100%));
  }
}

.keywords-section {
  background: #2b0406;
  overflow: hidden;
}

.keywords-section__inner {
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: 76px 0 88px;
}

.keywords-section__heading {
  margin-bottom: 38px;
}

.keywords-section__title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1;
  text-align: center;
}

.keywords-section__subtitle {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
}

.keywords-section__slider {
  position: relative;
}

.keywords-section__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.keywords-section__track::-webkit-scrollbar {
  display: none;
}

.keyword-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.keyword-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 24px;
  object-fit: cover;
}

.keyword-card__title {
  min-height: 2.2em;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: center;
  padding-top:40px;
}

.keyword-card__body {
  margin-top: 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 2;
  text-align: left;
}

.keyword-card__title + .keyword-card__body {
  margin-top: 15px;
}

.keyword-card__body p + p {
  margin-top: 1.55em;
}

.keywords-section__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  font-family: serif;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.keywords-section__arrow--prev {
  left: 0;
}

.keywords-section__arrow--next {
  right: 0;
}

.legend-section {
  position: relative;
  overflow: hidden;
  background: #000;
  text-align: center;
}

.legend-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/legend_soushoku/back.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
}

.legend-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/01.png");
  background-repeat: repeat;
  background-size: auto;
  pointer-events: none;
}

.legend-section__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: 82px 0 96px;
}

.legend-section__heading {
  margin-bottom: 34px;
}

.legend-section__title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.5;
}

.legend-section__subtitle {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.legend-section__icon {
  display: block;
  width: 60%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 34px;
}

.legend-section__body {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
}

.legend-section__body p + p {
  margin-top: 1.55em;
}

.legend-section__button {
  display: block;
  width: min(100%, 260px);
  min-height: 50px;
  margin: 42px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
}

.zankyo-section {
  background: #000;
}

.zankyo-section__inner {
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: 82px 0 96px;
}

.zankyo-section__heading {
  margin-bottom: 34px;
}

.zankyo-section__title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.5;
  text-align: center;
}

.zankyo-section__subtitle {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
}

.zankyo-section__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 34px;
}

.zankyo-section__body {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 2;
  text-align: center;
}

.zankyo-section__body p + p {
  margin-top: 1.55em;
}

.zankyo-section__button {
  display: block;
  width: min(100%, 260px);
  min-height: 50px;
  margin: 42px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  background: #000;
  padding: 42px 16px 28px;
}

.site-footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-footer__logo {
  display: block;
  height: auto;
}

.site-footer__logo--gewalt {
  width: min(46vw, 190px);
}

.site-footer__logo--cliff {
  width: min(28vw, 118px);
}

.site-footer__copyright {
  margin-top: 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
  opacity: 0.78;
}
