@import url("/store/miknits/shorts/css/base.css");
@import url("/store/miknits/shorts/css/footer.css");

:root {
  --marquee-speed: 8s;
  --gap: 3rem;
}

.main {
  background: #fff7d9;
}

@media (min-width: 1024px) {
  :root {
    --marquee-speed: 12s;
    --gap: 4.5rem;
  }
}

/*.wrapper */
@media (min-width: 1024px) {
  .wrapper {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 5rem;
    width: 93%;
    max-width: 1158px;
    margin-inline: auto;
  }
}

/*.intro */
.intro {
  padding: 0 1.5rem 2.6rem;
}

.intro__head {
  display: flex;
  align-items: flex-end;
  max-width: 350px;
  margin-inline: auto;
  gap: 1.9rem;
}

.intro__head::before {
  content: "";
  display: block;
  width: 9.2rem;
  height: 13.9rem;
  background: center / contain no-repeat
    url("/store/miknits/shorts/img/neko.gif");
}

.intro__title {
  max-width: 201px;
  margin-bottom: 2rem;
}

.intro__body {
  margin-top: 1rem;
}

.intro__linearText {
  width: 100%;
  overflow: hidden;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #bf0e16;
}

.intro__marqueeTrack {
  display: flex;
  align-items: center;
  width: 200%;
  animation: marquee linear infinite;
  animation-duration: var(--marquee-speed);
  will-change: transform;
}

.intro__marqueeGroup {
  flex: 1;
  display: flex;
  align-items: center;
}

.intro__linearTextInner {
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.intro__text {
  margin-top: 0.9rem;
  padding-top: 2.3rem;
  font-family: "Shuei KakuGo Gin M";
  font-size: 1.4rem;
  line-height: 1.45;
  background: top left / 350px 5px repeat-x
    url("/store/miknits/shorts/img/border_rd.webp");
}

.intro__bottom {
  display: none;
}

.intro__bottomLogo {
}

.intro__credit {
}

@media (min-width: 1024px) {
  .intro {
    position: sticky;
    top: 0;
    flex: 1;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr);
    /* grid-template-rows: minmax(0, 1fr) auto auto; */
    align-content: center;
    padding: 2rem 0;
    max-height: 100vh;
  }

  .intro__head {
    max-width: 350px;
  }

  .intro__head::before {
    display: none;
  }

  .intro__title {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    margin-bottom: 0;
  }

  .intro__title img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .intro__body {
    margin-top: 1rem;
  }

  .intro__linearText {
    font-size: 1.8rem;
    line-height: 2;
  }

  .intro__text {
    display: flex;
    align-items: flex-end;
    gap: 3rem;
    margin-top: 0.4rem;
    padding: 4rem;
    font-family: "Shuei KakuGo Gin M";
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0.02em;
    background: top left / 350px 5px repeat-x
        url("/store/miknits/shorts/img/border_rd.webp"),
      bottom left / 350px 5px repeat-x
        url("/store/miknits/shorts/img/border_rd.webp");
  }

  .intro__text::after {
    content: "";
    flex: 1;
    max-width: 16.6rem;
    display: block;
    width: 16.6rem;
    min-width: 10rem;
    height: 24.9rem;
    background: center / contain no-repeat
      url("/store/miknits/shorts/img/neko.gif");
  }

  .intro__bottom {
    display: grid;
    justify-items: end;
    display: block;
    padding-right: 3rem;
  }

  .intro__bottomLogo {
    width: 22rem;
  }

  .intro__credit {
    margin-top: 0.8rem;
    font-family: "shuei KakuGo Gin M";
    font-size: 1.3rem;
    line-height: 2;
    letter-spacing: 0.03em;
  }
}

/*.content */
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4.7rem;
  padding-block: 7.2rem 4rem;
  background: #fff;
}

@media (min-width: 1024px) {
  .content {
    gap: 10rem;
    flex-shrink: 0;
    width: 40rem;
    padding-block: 13rem 18rem;
  }
}

/*block*/
.block {
}

.block--new {
  position: relative;
}

.block--new::after {
  content: "";
  position: absolute;
  left: 1.6rem;
  bottom: calc(100% + 0.8rem);
  display: block;
  width: 9.4rem;
  aspect-ratio: 94/26;
  background: center / contain no-repeat
    url("/store/miknits/shorts/img/new.svg");
}

.block__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
}

.block__video iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.block__title {
  margin-top: 2.4rem;
  font-family: "shuei KakuGo Gin M";
  font-size: 2.2rem;
  text-align: center;
  line-height: 1.35;
}

.block__date {
  margin-top: 0.3rem;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 2;
  text-align: center;
}

.block__buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: calc(100% - 3rem);
  margin-top: 2.4rem;
  margin-inline: auto;
}

.block__button {
  width: calc(50% - 1rem);
}

@media (min-width: 1024px) {
  .block--new::after {
    width: 11rem;
  }

  .block__title {
    margin-top: 2.6rem;
    font-size: 2.6rem;
    line-height: 1.15;
  }

  .block__date {
    margin-top: 1rem;
  }

  .block__buttons {
    margin-top: 4.8rem;
  }
}

/*.credit */
.credit {
  width: calc(100% - 3rem);
  margin-inline: auto;
  padding: 4rem 1rem;
  background: top left / 350px 5px repeat-x
      url("/store/miknits/shorts/img/border_bk.webp"),
    bottom left / 350px 5px repeat-x
      url("/store/miknits/shorts/img/border_bk.webp");
}

.credit__logo {
  max-width: 22rem;
  margin-inline: auto;
}

.credit__text {
  margin-top: 2rem;
  font-family: "shuei KakuGo Gin M";
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  line-height: 2;
  text-align: center;
}

@media (min-width: 1024px) {
  .credit {
    display: none;
  }
}

/* yomimono */

.yomimono {
  padding: 5rem 1.5rem 0;
}

.yomimono__banners {
  display: grid;
  gap: 1rem;
  padding-bottom: 5rem;
  background: bottom left / 350px 5px repeat-x
    url("/store/miknits/shorts/img/border_bk.webp");
}

.yomimono__banners img {
  border-radius: 6px;
}

@media (min-width: 1024px) {
  .yomimono {
    padding: 6rem 0;
    background: top left / 350px 5px repeat-x
      url("/store/miknits/shorts/img/border_bk.webp");
  }

  .yomimono__banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    max-width: 1000px;
    padding-inline: 3rem;
    padding-bottom: 0;
    margin-inline: auto;
    background: none;
  }
}
