@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Akshar:wght@300..700&display=swap');

:root {
  --font-size-3xl: 32px;
  --font-size-2xl: 24px;
  --font-size-xl: 20px;
  --font-size-l: 18px;
  --font-size-m: 16px;
  --font-size-s: 14px;
  --font-size-xs: 12px;

  --font-weight-bold: 600;
  --font-weight-normal: normal;

  --line-l: 1.75;
  --line-m: 1.5;
  --line-s: 1.4;
  --line-xs: 1.2;
  --line-none: 1;

  --font-en: "Akshar", sans-serif;

  --trans: 0.3s ease;
}

/* icon */
[class^=rn-icon-] {
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: var(--color-main400);
  font-size: 0;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;

  @media (max-width: 767px) {

    .rn-heading & {
      margin-top: -2px;
    }
  }
}

.rn-icon-brightness {
  mask-image: url('../img/icon/ico_brightness.svg');
}

/* heading */
.rn-heading {
  display: flex;
  gap: 6px;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
  line-height: var(--line-xs);

  @media (max-width: 767px) {
    font-size: var(--font-size-xl);
  }
}

.rn-product-recommend {
  margin-bottom: 12px;
}

/* 商品一覧 */
.rn-product-box {
  overflow-x: auto;
}

.rn-product-list {
  display: flex;
  gap: 5px;
}

.rn-product-list__item {
  display: flex;
  flex: 1;
  min-width: 180px;
  max-width: 244px;

  @media (max-width: 767px) {
    min-width: 192px;
  }
}

.rn-product-list__link {
  display: flex;
  flex-direction: column;
  padding: 9px 15px 15px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-black200);
  border-radius: 6px;
  height: 100%;
  box-sizing: border-box;
  transition: opacity var(--trans);

  @media (any-hover: hover) {
    &:hover {
      opacity: 0.8;
    }
  }
}

.rn-product-list__image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;

  img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.rn-product-list__title {
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-bold);
  overflow-wrap: anywhere;
  line-height: var(--line-s);
  margin-bottom: 18px;
}

.rn-product-list__price {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: auto;
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-none);

  b {
    font-size: 26px;
    font-family: var(--font-en);
    font-weight: var(--font-weight-bold);
  }

  span {
    font-size: var(--font-size-xs);
  }
}
