@charset "UTF-8";

/* ========================================
   Reset
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  background: #000842;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

main {
  display: block;
}

/* ========================================
   Initial visibility
======================================== */

.c-scroll-row,
.l-header {
  opacity: 0;
  visibility: hidden;
}

body.is-ready .c-scroll-row,
body.is-ready .l-header {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

/* ========================================
   Component / Scroll Row
======================================== */

.c-scroll-row {
  position: relative;
  z-index: 1;

  margin-top: 24px;
  margin-bottom: 48px;
}

.c-scroll-row:hover {
  z-index: 100;
}

.c-scroll-row__head {
  position: relative;
  z-index: 30;
  margin-bottom: 12px;
  pointer-events: auto;
}

.c-scroll-row__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.c-scroll-row__title-link {
  position: relative;
  z-index: 31;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;
  pointer-events: auto;
}

.c-scroll-row__title-link img {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.c-scroll-row__body {
  position: relative;
  overflow: visible;
}

.c-scroll-row__track {
  display: flex;
  align-items: center;
  gap: 16px;

  width: max-content;

  overflow: visible;

  will-change: transform;
  transition: transform 0.35s ease;
}

.c-scroll-row__item {
  position: relative;
  z-index: 1;

  flex: 0 0 auto;
}

.c-scroll-row__item:hover {
  z-index: 999;
}

/* ========================================
   Component / Scroll Row Button
======================================== */

.c-scroll-row__button {
  position: absolute;
  z-index: 2000;
  top: 50%;
  translate: 0 -50%;

  display: grid;
  place-items: center;

  width: 47px;
  height: 80px;

  background: rgba(2, 6, 51, 0.5);
  color: #fff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    background-color 0.2s ease;
}

.c-scroll-row__button:hover {
  background: rgba(2, 6, 51, 1);
}

.c-scroll-row__button::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-top: 5px solid #fff;
  border-right: 5px solid #fff;
}

.c-scroll-row__button--prev {
  left: 0;
  border-radius: 0 16px 16px 0;
}

.c-scroll-row__button--prev::before {
  rotate: -135deg;
  margin-left: 4px;
}

.c-scroll-row__button--next {
  right: 0;
  border-radius: 16px 0 0 16px;
}

.c-scroll-row__button--next::before {
  rotate: 45deg;
  margin-right: 4px;
}

.c-scroll-row:hover .c-scroll-row__button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   Component / Product Card
======================================== */

.c-product-card {
  position: relative;
}

.c-product-card__link {
  position: relative;
  display: block;
  transition: transform 0.25s ease;
  transform-origin: center center;
}

.c-product-card:hover .c-product-card__link {
  transform: scale(1.08);
}

.c-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.c-product-card__image img {
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.c-product-card__image.is-landscape,
.c-product-card__image.is-landscape img {
  width: 262px;
  height: 187px;
}

.c-product-card__image.is-portrait,
.c-product-card__image.is-portrait img {
  width: 187px;
  height: 262px;
}

.c-product-card__image.is-square,
.c-product-card__image.is-square img {
  width: 187px;
  height: 187px;
}

.c-product-card__body {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  z-index: 2;

  padding: 14px 18px 16px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #3547ff 0%, #19b8e8 100%);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.c-product-card:hover .c-product-card__body {
  opacity: 1;
  visibility: visible;
}

.c-product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.c-product-card__rank {
  position: absolute;
  left: -8px;
  bottom: -12px;
  z-index: -1;

  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);

  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

/* ========================================
   Component / Scroll Row Layout
======================================== */

.c-scroll-row__head {
  padding: 0 56px;
}

.c-scroll-row__body {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.c-scroll-row__track {
  padding: 56px;
  margin-top: -56px;
  margin-bottom: -56px;
}

@supports not (overflow: clip) {
  .c-scroll-row__body {
    overflow-x: hidden;
  }
}

/* ========================================
   Component / Series Row
======================================== */

.c-scroll-row--series .c-product-card__image,
.c-scroll-row--series .c-product-card__image img {
  width: 432px;
  height: auto;
}

/* ========================================
   Component / Posts Row
======================================== */

.c-scroll-row--posts .c-product-card__image,
.c-scroll-row--posts .c-product-card__image img {
  width: 384px;
  height: auto;
}

/* ========================================
   Component / Lineup Banner
======================================== */

.c-lineup-banner {
  display: flex;
  justify-content: center;
  padding: 48px 56px 0;
  margin-bottom: 240px;
}

.c-lineup-banner__link {
  display: block;
  width: min(100%, 800px);
}

.c-lineup-banner__link img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .c-lineup-banner {
    width: min(calc(100% - 37px), 338px);
    margin: 32px auto 96px;
    padding: 0;
  }

  .c-lineup-banner__link {
    display: block;
    width: 100%;
  }

  .c-lineup-banner__link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
}

/* ========================================
   Common Button
======================================== */

.c-button-primary {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 306px;
  min-height: 50px;
  padding: 12px 32px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3547ff 0%, #19b8e8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .c-button-primary:hover {
  }
}

/* ========================================
   Post Meta
======================================== */

.p-post-card__meta span,
.p-post-detail-article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.p-post-card__meta span::before,
.p-post-detail-article__meta span::before {
  content: "";

  width: 12px;
  height: 12px;
  flex-shrink: 0;

  border: 1px solid #000;
  border-radius: 50%;

  background: #3957cc;
}
