/**
 * layout
 */
.p-page-home {
  --header-bottom-spacer: 0;
}
.l-home-section {
  padding-inline: var(--home-section-gutter);
  padding-inline-start: var(--home-section-gutter-left, var(--home-section-gutter));
  padding-inline-end: var(--home-section-gutter-right, var(--home-section-gutter));
  padding-block-start: var(--home-section-sapcer-top, var(--home-section-sapcer));
  padding-block-end: var(--home-section-sapcer-bottom, var(--home-section-sapcer));
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .l-home-section {
    --home-section-sapcer: 6.5rem;
    --home-section-gutter: 1.5rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-section {
    --home-section-sapcer: 12rem;
  }
}
.l-home-section__shell {
  container-type: inline-size;
  container-name: container;
  max-width: var(--container-standard);
  margin-inline: auto;
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  [data-tabs-container] .c-tabs {
    margin-block-end: 2.5rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  [data-tabs-container] .c-tabs {
    margin-block-end: 3.6rem;
  }
}

/**
 * module / component
 */
.m-recommend-carousel {
}
.m-ranking-carousel {
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .l-home-section:has(.m-recommend-carousel),
  .l-home-section:has(.m-ranking-carousel) {
    --home-section-gutter-right: 0;
  }
  .l-home-section:has(.m-recommend-carousel) {
    --carousel-button-right-position: var(--home-section-gutter);
  }
  .m-carousel__footer {
    padding-inline-end: var(--home-section-gutter);
  }
  .c-global-heading {
    margin-block-end: var(--home-heading-spacer, 2.5rem);
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
}

/**
 * hero
 */
.m-home-hero__carousel-footer {
}
.c-home-hero__carousel-navigation-shell {
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-home-hero__carousel-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content !important;
}
.c-home-hero__carousel-pager .swiper-pagination-bullet {
  margin: 0 !important;
  background-color: #000;
  opacity: var(--carousel-paginatioin-opacity-active, .15);
  border-radius: 0;
}
.c-home-hero__carousel-pager .swiper-pagination-bullet-active {
  --carousel-paginatioin-opacity-active: 1;
}
.c-home-hero__carousel-navigation-button {
  background-repeat: no-repeat;
  background-size: 100%;
  aspect-ratio: 1 / 2;
}
.c-home-hero__carousel-navigation-button--prev {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3LjA2MSIgaGVpZ2h0PSIxMi43MDciIHZpZXdCb3g9IjAgMCA3LjA2MSAxMi43MDciPiA8cGF0aCBpZD0i44OR44K5XzUzMTM2IiBkYXRhLW5hbWU9IuODkeOCuSA1MzEzNiIgZD0iTTYyNC4yMjksNzI5LjA4bC02LjM1NC02LjM1NCw2LjM1NC02LjM1My43MDcuNzA3LTUuNjQ2LDUuNjQ2LDUuNjQ2LDUuNjQ3WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTYxNy44NzUgLTcxNi4zNzMpIi8+PC9zdmc+");
}
.c-home-hero__carousel-navigation-button--next {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3LjA2MSIgaGVpZ2h0PSIxMi43MDciIHZpZXdCb3g9IjAgMCA3LjA2MSAxMi43MDciPiA8cGF0aCBpZD0i44OR44K5XzUzMTM1IiBkYXRhLW5hbWU9IuODkeOCuSA1MzEzNSIgZD0iTTYxOC45MzYsNzI5LjA4bC0uNzA3LS43MDcsNS42NDYtNS42NDctNS42NDYtNS42NDYuNzA3LS43MDcsNi4zNTQsNi4zNTNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNjE4LjIyOSAtNzE2LjM3MykiLz48L3N2Zz4=");
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .m-home-hero__carousel-footer {
    margin-block-start: 2rem;
  }
  .c-home-hero__carousel-navigation-shell {
    column-gap: 2.4rem;
  }
  .c-home-hero__carousel-pager {
    column-gap: .8rem;
  }
  .c-home-hero__carousel-pager .swiper-pagination-bullet {
    width: 2rem;
    height: .2rem;
  }
  .c-home-hero__carousel-navigation-button {
    width: .5rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .m-home-hero__carousel-footer {
    margin-block-start: 2.5rem;
  }
  .c-home-hero__carousel-navigation-shell {
    column-gap: 2.4rem;
  }
  .c-home-hero__carousel-pager {
    column-gap: .8rem;
  }
  .c-home-hero__carousel-pager .swiper-pagination-bullet {
    width: 2.4rem;
    height: .2rem;
  }
  .c-home-hero__carousel-navigation-button {
    width: .6rem;
  }
}

/**
 * news
 */
.l-home-news {
  display: grid;
}
.m-home-news__list {
  border-top: 1px dotted var(--color-gray-middle);
  font-family: var(--font-ja-primary);
}
.c-home-news__item {
  border-bottom: 1px dotted var(--color-gray-middle);
}
.c-home-news__date {
  color: var(--color-light);
  letter-spacing: .1em;
}
.c-home-news__detail {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: var(--news-detail-rows);
  max-height: calc(var(--news-detail-font-size) * var(--news-detail-line-height) * var(--news-detail-rows) * 0.1rem);
  font-size: calc(var(--news-detail-font-size) * 0.1rem);
  line-height: var(--news-detail-line-height);
  letter-spacing: .08em;
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .l-home-section#news {
    --home-section-gutter-left: 2rem;
  }
  .l-home-news {
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
    row-gap: 2rem;
  }
  .c-home-heading--news {
    --home-heading-spacer: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column-reverse;
    writing-mode: vertical-rl;
    gap: .8rem;
  }
  .c-home-heading--news .c-global-heading--primary {
    line-height: 1;
  }
  .c-home-heading--news .c-global-heading--secondary {
    padding-inline-start: .8rem;
    font-size: 1.3rem;
    line-height: calc(17 / 13);
  }
  .m-home-news__container {
    grid-column: 2;
    grid-row: 1;
    padding-block-start: 1rem;
  }
  .c-home-news__button {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
  .c-home-news__item {
    padding-block: 1.5rem;
  }
  .c-home-news__date {
    font-size: 1.4rem;
    line-height: calc(20 / 14);
  }
  .c-home-news__detail {
    --news-detail-font-size: 14;
    --news-detail-line-height: calc(21 / 14);
    --news-detail-rows: 3;
    margin-block-start: .8rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-news {
    grid-template-columns: auto 1fr;
    column-gap: 9rem;
    row-gap: 4rem;
  }
  .c-home-heading--news {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    gap: 1.5rem;
  }
  .c-home-heading--news .c-global-heading--primary {
    line-height: calc(52 / 36);
  }
  .c-home-heading--news .c-global-heading--secondary {
    font-size: 1.5rem;
    line-height: calc(19 / 15);
  }
  .m-home-news__container {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .c-home-news__button {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .c-home-news__item {
    padding-block: 3rem;
  }
  .c-home-news__body {
    display: grid;
    grid-template-columns: 10rem 1fr;
    align-items: center;
    gap: 1rem;
  }
  .c-home-news__date {
    font-size: 1.5rem;
  }
  .c-home-news__detail {
    --news-detail-font-size: 18;
    --news-detail-line-height: calc(31.5 / 18);
    --news-detail-rows: 2;
  }
}

/**
 * categories
 */
.l-home-section#categories {
  /* background-image: url(../../assets/img/home/common/background-pattern.webp); */
  background-color: #f4f7fb;
}
.l-home-categories {
  font-family: var(--font-heading-ja);
}
.m-home-categories__list {
  display: grid;
}
.c-home-categories__thumbnail-image {
  overflow: hidden;
}
.c-home-categories__thumbnail-caption {
  position: relative;
  font-size: var(--categories-caption-font-size);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .1em;
  z-index: var(--zindex-front);
}
.c-home-categories__thumbnail-caption span {
  position: relative;
}
.c-home-categories__thumbnail-caption span::before,
.c-home-categories__thumbnail-caption span::after {
  content: '';
  position: absolute;
  top: calc(var(--categories-caption-font-size) - var(--categories-caption-decoration-height));
  left: 0;
  width: 1px;
}
.c-home-categories__thumbnail-caption span::before {
  height: var(--categories-caption-decoration-height);
  background-color: var(--color-light);
  z-index: var(--zindex-base);
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .l-home-section#categories {
    --home-section-gutter-left: 2rem;
    --home-section-gutter-right: 2rem;
    background-size: 20rem;
  }
  .l-home-categories {
    --categories-caption-font-size: 1.6rem;
    --categories-caption-decoration-height: 5rem;
  }
  .c-home-heading--categories {
    --home-heading-spacer: 1.6rem;
    --heading-primary-font-size: 2.3rem;
    letter-spacing: .15em;
  }
  .c-home-heading--categories > * {
    line-height: calc(40.2 / 23);
  }
  .l-home-categories__container {
    padding-block-start: 4rem;
  }
  .m-home-categories__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: .5rem;
    row-gap: 2.4rem;
  }
  .m-home-categories__list + .c-home-heading--categories-sub {
    margin-block-start: 6rem;
  }
  .c-home-categories__thumbnail-caption {
    margin-block-start: 1.5rem;
    padding-inline: 1.5rem;
  }
  .c-home-categories__thumbnail-caption span {
    padding-inline-start: 1rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-section#categories {
    background-size: 40rem;
  }
  .l-home-categories {
    --categories-caption-font-size: 2rem;
    --categories-caption-decoration-height: 7rem;
    display: grid;
    grid-template-columns: 114rem auto;
    gap: 4rem;
  }
  .l-home-categories > * {
    grid-row: 1;
  }
  .c-home-heading--categories {
    --heading-primary-font-size: 4rem;
    grid-column: 2;
    writing-mode: vertical-rl;
    letter-spacing: .15em;
  }
  .l-home-categories__container {
    grid-column: 1;
    padding-block-start: 6rem;
  }
  .c-home-heading--categories-sub {
    margin-block-end: 3.6rem;
  }
  .m-home-categories__list {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
    row-gap: 4rem;
  }
  .m-home-categories__list + .c-home-heading--categories-sub {
    margin-block-start: 6rem;
  }
  .c-home-categories__summary-box * {
    transition: all var(--transition-default);
  }
  .c-home-categories__thumbnail-caption {
    margin-block-start: 2rem;
    padding-inline: 2rem;
  }
  .c-home-categories__thumbnail-caption span {
    padding-inline-start: 1.5rem;
  }
  .c-home-categories__thumbnail-caption span::after {
    height: 0;
    background-color: var(--color-primary);
    z-index: var(--zindex-frond);
    transition: all var(--transition-default);
  }
  .c-home-categories__summary-box:hover .c-home-categories__thumbnail-image > * {
    transform: scale(1.2);
  }
  .c-home-categories__summary-box:hover .c-home-categories__thumbnail-caption span::after {
    height: calc(var(--categories-caption-decoration-height) - 1rem);
  }
}

/**
 * recommend
 */
.l-home-recommend {
}
.c-home-heading--trial .c-global-heading--primary {
  position: relative;
  display: flex;
}
.c-home-heading--trial .c-global-heading--primary::after {
  content: '';
  position: relative;
  background-image: url(../../assets/img/home/common/badge-free-shipping-fee.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .c-home-heading--trial .c-global-heading--primary {
    flex-direction: column-reverse;
    gap: .6rem;
  }
  .c-home-heading--trial .c-global-heading--primary::after {
    width: 12.2rem;
    height: 3.3rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-recommend {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 3.6rem;
  }
  .c-home-heading--trial {
    grid-column: 1;
    grid-row: 1;
  }
  .c-home-heading--trial .c-global-heading--primary {
    align-items: center;
    gap: 1.6rem;
  }
  .c-home-heading--trial .c-global-heading--primary::after {
    width: 13rem;
    height: 3.5rem;
  }
  .l-home-recommend .c-button {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .l-home-recommend .l-home-recommend__container {
    grid-column: 1/ span 2;
    grid-row: 2;
  }
}

/**
 * ranking
 */
.l-home-section#ranking {
  background-color: var(--color-gray-light-little);
}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .c-home-heading--ranking {
    flex-direction: column;
    gap: 1rem;
  }
  .c-home-heading--ranking .c-global-heading--primary {
    line-height: calc(35 / 24);
  }
  .c-home-heading--ranking .c-global-heading--secondary {
    font-size: 1.2rem;
    line-height: calc(15 / 12);
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-ranking {
    display: grid;
    grid-template-columns: 1fr 126rem;
    justify-content: space-between;
  }
  .c-home-heading--ranking {
    flex-direction: column-reverse;
    writing-mode: vertical-rl;
    gap: 1.6rem;
  }
  .c-home-heading--ranking .c-global-heading--primary {
    line-height: 1;
  }
  .c-home-heading--ranking .c-global-heading--secondary {
    /* padding-inline-start: 1.6rem; */
    font-size: 1.3rem;
    line-height: calc(17 / 13);
  }
}

/**
 * feature
 */
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .c-home-feature__button {
    margin-block-start: 3rem;
    margin-inline: auto;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-feature {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 3.6rem;
  }
  .c-home-heading--feature {
    grid-column: 1;
    grid-row: 1;
  }
  .c-home-feature__button {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .l-home-feature__container {
    grid-column: 1/ span 2;
    grid-row: 2;
  }
}

/**
 * stores
 */
.l-home-stores {
  display: grid;
  grid-template-columns: 1fr var(--home-stores-container-width);
  justify-content: space-between;
}
.m-home-stores__list {
  display: grid;
}
.c-home-stores__summary-box {
  background-color: var(--color-gray-light-middle);
}
.c-home-stores__caption {
  display: grid;
}
.c-home-stores__store-name {
  font-family: var(--font-heading-ja);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: .15em;
}
.c-home-stores__store-address,
.c-home-stores__store-details {
  font-family: var(--font-ja-primary);
  font-weight: 400;
}
.c-home-stores__button {}
/* --- for small viewport --- */
@media screen and (max-width: 960px) {
  .l-home-stores {
    --home-stores-container-width: 27rem;
  }
  .c-home-heading--stores {
    --home-heading-spacer: 0;
  }
  .m-home-stores__list {
    grid-template-columns: 100%;
    gap: 2rem;
  }
  .c-home-stores__caption {
    grid-template-columns: 100%;
    gap: .8rem;
    padding-block: 1.5rem;
    padding-inline: 1.5rem;
  }
  .c-home-stores__store-name {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }
  .c-home-stores__store-address,
  .c-home-stores__store-details {
    font-size: 1.3rem;
    line-height: calc(19.5 / 13);
  }
  .c-home-stores__text-button {
    justify-content: flex-end;
  }
  .c-home-stores__button {
    margin-block-start: 2rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 961px) {
  .l-home-stores {
    --home-stores-container-width: 126rem;
  }
  .m-home-stores__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .c-home-stores__link {
    display: flex;
    height: 100%;
  }
  .c-home-stores__caption {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding-block: 3rem;
    padding-inline: 4rem;
  }
  .c-home-stores__store-name {
    grid-column: 1;
    grid-row: 1;
    font-size: 2.4rem;
    line-height: calc(35 / 24);
  }
  .c-home-stores__store-address,
  .c-home-stores__store-details {
    grid-column: 1;
    font-size: 1.5rem;
    line-height: calc(26.2 / 15);
  }
  .c-home-stores__store-address {
    grid-row: 2;
  }
  .c-home-stores__store-details {
    grid-row: 3;
  }
  .c-home-stores__text-button {
    grid-column: 2;
    grid-row: 1;
  }
  .c-home-stores__button {
    margin-block-start: 3.6rem;
    margin-inline-start: auto;
  }
}