/*//////////////////////////////////////////////////

Title : video.scss
For   : snidel Video Liat

Created       : 2022-11-15
Last Modified : 2022-11-15

==========================================

Content
  01: common
  02: layout
  03: breadcrumb
  04: pager
  05: contents
  06: modal

//////////////////////////////////////////////////*/
/* ===================== 01: common */
.pageVideo a {
  display: block;
}
.pageVideo picture,
.pageVideo img {
  width: 100%;
  height: auto;
}

/* --- for small viewport ---*/
@media screen and (max-width: 1023px) {
  .pageVideo .hidden-sml {
    display: none;
  }
}
/* --- for large viewport ---*/
@media screen and (min-width: 1024px) {
  .pageVideo .hidden-lrg {
    display: none;
  }
}
/* ===================== 02: breadcrumb */
.pageVideo {
  margin-inline: auto;
}

/* --- for small view port --- */
@media screen and (max-width: 1023px) {
  #Contents {
    -webkit-padding-before: calc(290 * 100vw / 750);
            padding-block-start: calc(290 * 100vw / 750);
  }
  .pageVideo {
    -webkit-margin-after: calc(90 * 100vw / 750);
            margin-block-end: calc(90 * 100vw / 750);
    padding-inline: calc(20 * 100vw / 750);
    -webkit-padding-before: calc(30 * 100vw / 750);
            padding-block-start: calc(30 * 100vw / 750);
  }
  .pageVideo__wrapper {
    margin-top: calc(20 * 100vw / 375);
  }
}
/* --- for large view port --- */
@media screen and (min-width: 1024px) {
  .pageVideo {
    /* max-width: 1000px;
    width: 95%; */
    /* -webkit-margin-before: 30px;
            margin-block-start: 30px;
    -webkit-margin-after: 100px;
            margin-block-end: 100px; */
  }
  .pageVideo__wrapper {
    margin-top: calc(30 * .0625rem);
  }
}
/* ===================== 03: breadcrumb */
#breadcrumb .cateList {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  line-height: 1.5;
}
#breadcrumb .cateList li {
  flex-shrink: 0;
}

/* --- for small viewport ---*/
@media screen and (max-width: 1023px) {
  #breadcrumb .cateList {
    font-size: 10px;
  }
}
/* --- for large viewport ---*/
@media screen and (min-width: 1024px) {
  #breadcrumb .cateList {
    font-size: 12px;
  }
}
/* ===================== 4: pager */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: futura-pt;
}
.pager .list-pager {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  margin: initial;
}
.pager .list-pager li {
  display: block;
  margin: initial;
}
.pager .list-pager li span {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
}
.pager .list-pager li a {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
}

/* --- for small viewport ---*/
@media screen and (max-width: 1023px) {
  .pager {
    -webkit-margin-before: calc(30 * 100vw / 750);
            margin-block-start: calc(30 * 100vw / 750);
    font-size: 12px;
  }
  .pager .list-pager li {
    font-size: 12px;
  }
  .pager .list-pager li span {
    width: calc(54 * 100vw / 750);
    height: calc(54 * 100vw / 750);
  }
  .pager .list-pager li + li {
    -webkit-margin-start: calc(30 * 100vw / 750);
            margin-inline-start: calc(30 * 100vw / 750);
  }
}
/* --- for large viewport ---*/
@media screen and (min-width: 1024px) {
  .pager {
    -webkit-margin-before: 30px;
            margin-block-start: 30px;
    font-size: 13px;
  }
  .pager .list-pager li {
    line-height: 30px;
    font-size: 14px;
  }
  .pager .list-pager li span {
    width: 30px;
    height: 30px;
  }
  .pager .list-pager li + li {
    -webkit-margin-start: 30px;
            margin-inline-start: 30px;
  }
}
/* ===================== 05: contents */
.pageVideo__list {
  display: grid;
}
.pageVideo__card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.pageVideo__card img{
  aspect-ratio: 3/4;
  object-fit: cover;
}
/* .pageVideo__summary {
  -webkit-margin-before: auto;
          margin-block-start: auto;
} */
.pageVideo__thumb a {
  position: relative;

  &::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;

    width: 40px;
    aspect-ratio: 1;
    margin: auto;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%3E%20%3Cpath%20id%3D%22Play%22%20d%3D%22M768%2C47a30%2C30%2C0%2C1%2C1%2C30%2C30A30%2C30%2C0%2C0%2C1%2C768%2C47Zm18.924-26.222A28.556%2C28.556%2C0%2C1%2C0%2C798%2C18.543%2C28.37%2C28.37%2C0%2C0%2C0%2C786.924%2C20.779Zm7.648%2C17.65L807.428%2C47l-12.857%2C8.571Z%22%20transform%3D%22translate(-768%20-17)%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-size: contain;

    pointer-events: none;
  }

  @media (min-width: 1024px) {
    &::before {
      width: calc(60 * .0625rem);
    }
  }
}
.pageVideo__summary * {
  cursor: pointer;
}
.pageVideo__ttl {
  overflow: hidden;
  text-overflow: ellipsis;
}
.pageVideo__date {
  color: #999999;
}
.pageVideo__store {
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.5;

  @media (min-width: 1024px) {
    font-size: calc(13 * .0625rem);
  }
}
.pageVideo__amount {
  font-size: 20px;

  font-family: var(--font-eng);
  font-style: italic;
  font-weight: 600;
}

.pageVideo__amount span{
  font-size: 14px;
  font-weight: 400;
}

/* --- for mobile phone --- */
@media screen and (max-width: 1023px) {
  .pageVideo__amount {
    /* -webkit-margin-before: calc(40 * 100vw / 750);
            margin-block-start: calc(40 * 100vw / 750); */
  }
  .pageVideo__amount span{
    /* -webkit-margin-before: calc(40 * 100vw / 750);
            margin-block-start: calc(40 * 100vw / 750); */
  }

  .pageVideo__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: calc(50 * 100vw / 750);
    -moz-column-gap: calc(20 * 100vw / 750);
         column-gap: calc(20 * 100vw / 750);
  }
  .pageVideo__card {
    gap: calc(20 * 100vw / 750);
  }
  .pageVideo__ttl {
    font-weight: bold;
    font-size: 13px;
  }
  .pageVideo__date {
    -webkit-padding-before: calc(20 * 100vw / 750);
            padding-block-start: calc(20 * 100vw / 750);
    font-size: 10px;
  }
}
/* --- for desktop --- */
@media screen and (min-width: 1024px) {
  .pageVideo__amount {
    -webkit-margin-before: 30px;
            margin-block-start: 30px;
    font-size: 15px;
  }
  .pageVideo__list {
    grid-template-columns: repeat(5, 1fr);
    row-gap: 50px;
    -moz-column-gap: 1.25rem;
         column-gap: 1.25rem;
  }
  .pageVideo__card {
    gap: 10px;
  }
  .pageVideo__ttl {
    font-size: 13px;
    font-weight: bold;
  }
  .pageVideo__date {
    -webkit-padding-before: 10px;
            padding-block-start: 10px;
    font-size: 12px;
  }
  .pageVideo__thumb {
    border: 2px solid #fff;
    width: calc(100% - 4px);
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
}
/* ===================== 06: modal */


/*
 * 各カテゴリーのリンクタブ
 */

.benent-video__link-list-wrapper {
  margin-top: 10px;

  overflow-x: auto;

  @media (min-width: 1024px) {
    margin-top: calc(10 * .0625rem);
  }

  .benent-video__link-list {
    display: flex;
    justify-content: center;

    width: fit-content;
    border: solid 1px var(--color-font-primary);
    border-radius: 4px;

    overflow: hidden;

    @media (min-width: 1024px) {
      margin-inline: auto;
    }

    & > li {
      &:not(:last-of-type) {
        border-right: solid 1px var(--color-font-primary);
      }
    }
  }

  .benent-video__text--link-tab {
    display: grid;
    place-content: center;

    min-width: 110px;
    height: 100%;
    padding: 4px 12px;
    background-color: #fff;

    font-family: var(--font-eng);
    font-size: 15px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.2;
    text-align: center;

    @media (min-width: 1024px) {
      min-width: calc(172 * .0625rem);
      padding: calc(12 * .0625rem);

      font-size: calc(16 * .0625rem);
    }

    &.is-active {
      background-color: var(--color-font-primary);

      color: #fff;
    }
  }
}
