@charset "UTF-8";
:root {
  --rem: 0.0625rem;
  --color-base: #402627;
  --text-light-color: #9ea0a1;
  --text-accent-color: #c43737;
  --primary-color: #c2ffdf;
  --secondary-color: #f2ff00;
  --number-color: #ff9bf2;
  --bg-color: #e2ece5;
  --bg-gray: #edecec;
}

.pageTop {
  display: none !important;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background: #f9f8f7;
}

/* 
@media (min-width: 375px) and (max-width: 600px) {
  html {
    font-size: 100%;
  }
} */

/* @media (min-width: 768px) {
  html {
    font-size: 90%;
  }
} */

/* @media (min-width: 1024px) {
  html {
    font-size: 100%;
  }
} */

.js-fade-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

.js-fade-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.wrapper {
  font-family: "Shuei KakuGo Gin M";
  font-size: 1.6rem;
}

/* .index-banner */
.index-banner {
  position: relative;
  padding: 4.8rem 2rem 4.2rem;
  background: var(--bg-color);

  &::after {
    position: absolute;
    top: -2.5008px;
    left: 50%;
    content: "";
    display: block;
    width: calc(100% - 1.5rem);
    height: 5px;
    background: top left / auto 5px repeat-x
      url("/store/miknits/2025aw/img/pre/border.webp");
    transform: translateX(-50%);
  }
}

.index-banner__inner {
  max-width: 600px;
  margin: 0 auto;
}

.index-banner__credit {
  margin-top: 25px;
  text-align: center;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: #333;
}

@media (min-width: 801px) {
  .index-banner {
    padding: 8.5rem 2rem;

    &::after {
      left: 0;
      content: "";
      display: block;
      width: 100%;
      transform: unset;
    }
  }

  .index-banner__credit {
    margin-top: 35px;
    font-size: 14px;
    line-height: 2;
  }
}

/* articles */
.articles {
  position: relative;
  padding: 4.8rem 2rem 4.2rem;
  background: var(--bg-color);
}

.articles::after {
  position: absolute;
  top: -2.5008px;
  left: 50%;
  content: "";
  display: block;
  width: calc(100% - 1.5rem);
  height: 5px;
  background: top left / auto 5px repeat-x
    url("/store/miknits/2025aw/img/pre/border.webp");
  transform: translateX(-50%);
}

.articles__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.3rem 1.4rem;
  max-width: 60.8rem;
  width: 100%;
  margin-inline: auto;
}

.article {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  &.is-coming-soon {
    opacity: 0.5;
    pointer-events: none;
  }
}

.article__link {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
}

.article__img {
}

.article__title {
  margin-top: 0.8rem;
  font-family: "Shuei KakuGo Gin B";
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.09em;

  span {
    display: inline-block;
  }
}

.article__date {
  margin-top: 3.2rem;
  font-family: "Aoto Gothic Regular";
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

@media (min-width: 801px) {
  .articles {
    padding: 6.4rem 2rem;
  }

  .articles::after {
    left: 0;
    content: "";
    display: block;
    width: 100%;
    transform: unset;
  }

  .articles__inner {
    gap: 3.8rem 4rem;
    max-width: 65.4rem;
  }

  .article__title {
    margin-top: 1.2rem;
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.09em;

    span {
      display: inline-block;
    }
  }

  .article__date {
    margin-top: 1.6rem;
  }
}

/* yomimono */
.yomimono {
  padding: 6.4rem 2rem 8rem;
  color: var(--color-brown);
  background: var(--color-bg-accent);
}

.yomimono__inner {
  max-width: 900px;
  margin-inline: auto;
}

.yomimono__head {
  display: grid;
  gap: 1.4rem 1.2rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.yomimono__icon {
  width: 7rem;
}

.yomimono__title {
  font-size: 1.8rem;
  letter-spacing: 0.09em;
}

.yomimono__text {
  grid-column: 1/3;
  font-size: 1.5rem;
}

.yomimono__banners {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.yomimono__banners img {
  border-radius: 0.6rem;
}

@media (min-width: 801px) {
  .yomimono {
    padding: 7.2rem 4rem;
  }

  .yomimono__head {
    gap: 0 3rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
  }

  .yomimono__icon {
    grid-row: 1/3;
    width: 13rem;
  }

  .yomimono__title {
    font-size: 2.8rem;
    line-height: 2;
  }

  .yomimono__text {
    grid-column: 2/3;
    font-size: 1.5rem;
  }

  .yomimono__banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    margin-top: 0;
  }

  .yomimono__banners img {
    border-radius: 0.6rem;
  }
}
