﻿@charset "UTF-8";

/* トップページ（スマートフォン） ファーストビュー用 */

@media screen and (max-width: 1100px) {
  .block-sp-scroll {
    display: flex;
    margin: 0 -20px;
    padding: 0;

    .mCSB_scrollTools.mCSB_scrollTools_horizontal {
      left: 20px;
      width: calc(100% - 40px);
      height: 10px;

      &::before {
        content: "";
        display: block;
        position: absolute;
        top: 2px;
        width: 100%;
        height: 6px;
        border-radius: 6px;
        background-color: #ededed;
      }
    }

    &.sb-wt {
      .mCSB_scrollTools.mCSB_scrollTools_horizontal {
        &::before {
          background-color: #ffffff;
        }
      }
    }

    .mCSB_horizontal.mCSB_inside > .mCSB_container {
      margin-bottom: 0;
    }

    .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
      height: 10px;
      border-radius: 10px;
      margin: 0 auto;
    }

    .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
      background-color: var(--cl-pgr);
    }

    .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,
    .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar {
      background-color: var(--cl-pgr);
    }
  }
}

.block-top-mv-slider {
  display: flex;

  .list-item {
    width: 300px;
    margin: 0 3px;
    flex-shrink: 0;

    &:not(.slick-current) {
      transform: scale(0.96);
    }

    a {
      display: block;
    }

    .list-img {
      img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        aspect-ratio: 1 / 1;
      }
    }

    .list-comment {
      margin-top: 12px;
      padding: 0 8px;
      color: var(--cl-gy);
      font-size: 1.2rem;
      font-weight: 500;
      text-align: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}

.block-top-mv {
  margin-top: 24px;
  overflow: hidden;

  .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 16px;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 32px;
  }

  li {
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    background-color: var(--cl-lpgr);
    opacity: 1;

    &.slick-active {
      background-color: var(--cl-pgr);
    }

    button {
      width: 100%;
      height: 100%;
      border: none;
      background-color: transparent;
      text-indent: -999999px;
      cursor: pointer;
    }
  }
}

.block-top-container {
  max-width: 100vw;
  padding: 0 20px;
  overflow: hidden;
}

.block-top-search {
  max-width: 100vw;
  margin-top: 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: var(--cl-lpgr);
  overflow: hidden;

  h2 {
    margin: 40px 0 16px;
    padding: 0;
    border: none;
    color: var(--cl-pgr);
    font-size: 1.8rem;
    font-weight: 700;
  }
}

.block-top-search-form {
  form {
    display: flex;
    align-items: center;
    width: 100%;
  }
}

.block-top-search-form-keyword[type="text"] {
  width: calc(100% - 40px);
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--cl-pgr);
  border-right: none;
  font-size: 1.4rem;

  &::placeholder {
    color: #aaaaaa;
  }
}

.block-top-search-form-submit {
  width: 40px;
  height: 40px;
  border: none;
  background-color: var(--cl-pgr);
  background-image: url(../../img/usr/common/sp/searchbox_search.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.block-top-search-keyword {
  .list-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 28px;
      padding: 0 11px;
      border: 1px solid var(--cl-pgr);
      background-color: #ffffff;
      color: var(--cl-pgr);
      font-size: 1.2rem;
      line-height: 1;

      &:hover {
        text-decoration: none;
      }
    }
  }
}

@media screen and (max-width: 590px) {
  .block-top-search-works-list {
    display: flex;
    position: relative;
    padding: 0 20px 32px;

    &::after {
      content: "";
      display: block;
      flex-shrink: 0;
      width: 20px;
      height: 1px;
    }

    > ul {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 12px;
      width: 484px;
      flex-shrink: 0;

      > li {
        flex-shrink: 0;
        width: 84px;
        border-radius: 50%;
        aspect-ratio: 1 / 1;
        overflow: hidden;

        img {
          width: 100%;
          height: auto;
        }
      }
    }
  }
}

.block-top-more-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;

  a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 48px;
    background-color: var(--cl-pgr);
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;

    &.btn-bdr-gr {
      border: 2px solid var(--cl-pgr);
      background-color: #ffffff;
      color: var(--cl-pgr);
    }
  }
}

.ttl-h2-top-1 {
  position: relative;
  margin-bottom: 32px;

  .ttl-en {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
  }

  .ttl-ja {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 2.4rem;
    font-weight: 700;
  }

  .item-help {
    position: absolute;
    right: 0;
    bottom: 0;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      width: 140px;
      height: 32px;
      border: 2px solid var(--cl-pgr);
      background-color: #ffffff;
      color: var(--cl-pgr);
      font-size: 1.2rem;
      text-align: center;
      line-height: 1;

      &::before {
        content: "";
        display: inline-block;
        position: relative;
        width: 15px;
        height: 15px;
        margin-right: 4px;
        background-image: url(../../img/usr/top/icon_help.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
      }
    }
  }
}

.block-top-event-content,
.block-top-pickup-content,
.block-top-fair-content,
.block-top-movicbrand-content,
.block-top-news-content,
.block-top-site,
.block-top-exhibition-content,
.block-top-press-content {
  padding-top: 80px;
  padding-bottom: 32px;
}

.block-top-event-content {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDQuNSIgaGVpZ2h0PSIxMDQuNSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiNlNmY0ZjgiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBmaWxsPSIjZmZmIiBkPSJNMS41IDEuNWgxMDB2MTAwSDEuNXoiLz48L3N2Zz4=");
  background-position: center top;
  background-repeat: repeat;
  background-size: 22px;

  .ttl-h2-top-1 {
    .ttl-en {
      color: var(--cl-lpgr);
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-event--goods + .block-top-event-content-item,
.block-top-event-content-item + .block-top-event-content-item {
  margin-top: 80px;
}

.block-top-event-list {
  .list-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 12px;
  }

  .list-item {
    width: calc((100% - 12px) / 2);

    a {
      display: block;
    }

    .list-img {
      position: relative;
      aspect-ratio: 1 / 1;
      border-radius: 10px;
      overflow: hidden;

      &::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 1px solid #cccccc;
        border-radius: 10px;
      }

      img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
      }
    }

    .list-comment {
      display: -webkit-box;
      margin-top: 8px;
      padding: 0 7px;
      font-size: 1.2rem;
      line-height: 1.4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
    }
  }
}

.block-top-pickup-content {
  background-color: #dee7ec;

  .ttl-h2-top-1 {
    .ttl-en {
      color: #ffffff;
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }

  h3 {
    margin: 0 0 20px;
    padding: 0;
    border: none;
    color: var(--cl-gy);
    font-size: 2rem;
    font-weight: 700;
  }
}

.block-top-pickup-content-item + .block-top-pickup-content-item {
  margin-top: 40px;
}

.block-top-pickup-list {
  .list-items {
    display: flex;
  }

  .list-item {
    a {
      display: block;
      position: relative;

      &.is-new {
        &::after {
          content: "";
          display: block;
          position: absolute;
          top: 1px;
          right: 1px;
          width: 45px;
          height: 48px;
          background-image: url(../../img/usr/top/new.png);
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain;
        }
      }
    }
  }

  .list-img {
    position: relative;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    overflow: hidden;

    img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
    }
  }

  .list-name {
    display: -webkit-box;
    margin-top: 12px;
    font-size: 1.2rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
  }
}

@media screen and (max-width: 868px) {
  .block-top-pickup-list {
    display: flex;
    margin: 0;
    padding: 0 20px 42px;

    &::after {
      content: "";
      display: block;
      position: relative;
      flex-shrink: 0;
      width: 20px;
      height: 1px;
    }

    .list-item {
      flex-shrink: 0;
      width: 136px;
      padding: 12px 8px;
      background-color: #ffffff;

      &:first-child {
        width: 140px;
        padding-left: 12px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
      }

      &:last-child {
        width: 140px;
        padding-right: 12px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
      }
    }
  }
}

.block-top-fair-content {
  background-color: var(--cl-lpgr);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDQuNSIgaGVpZ2h0PSIxMDQuNSI+PHBhdGggZmlsbD0iI2YwZjRmNiIgZD0iTTAgMTMzaDEwMHYxMDBIMHoiLz48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBmaWxsPSJub25lIiBkPSJNMS41IDEuNWgxMDB2MTAwSDEuNXoiLz48L3N2Zz4=");
  background-position: center top;
  background-repeat: repeat;
  background-size: 22px;

  .ttl-h2-top-1 {
    .ttl-en {
      color: #ffffff;
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-fair-list {
  padding: 20px 8px;
  border-radius: 10px;
  background-color: #ffffff;

  .list-item {
    & + .list-item {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--cl-lpgr);
    }

    a {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .list-img {
      width: 72px;

      img {
        display: block;
        width: 100%;
        height: auto;
      }
    }

    .list-detail {
      width: calc(100% - 84px);
      font-size: 1.2rem;
      line-height: 1.4;
    }

    .list-ttl {
      margin-top: 8px;
      line-height: 1.16;
      overflow-wrap: anywhere;
    }
  }
}

.page-top {
  .block-goods_list-history,
  .block-goods_list-recommend {
    margin-top: 0;
  }
}

.block-top-movicbrand-content {
  .ttl-h2-top-1 {
    .ttl-en {
      color: var(--cl-lpgr);
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-movicbrand-list {
  .list-items {
    display: flex;
    flex-wrap: wrap;
    border: 1px dashed var(--cl-pgr);
  }

  .list-item {
    width: 50%;
    padding: 7px;

    &:not(:nth-child(-n + 2)) {
      border-top: 1px dashed var(--cl-pgr);
    }

    &:nth-child(odd) {
      border-right: 1px dashed var(--cl-pgr);
    }
  }

  .list-img {
    img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 6px;
      aspect-ratio: 1 / 1;
    }
  }

  .list-detail {
    margin-top: 8px;
    color: var(--cl-gy);
    font-size: 1.2rem;
  }

  .list-ttl {
    font-weight: 700;
    text-align: center;
  }

  .list-comment {
    margin-top: 8px;
    line-height: 1.4;
  }
}

.block-top-news-content {
  background-color: var(--cl-lpgr);

  .ttl-h2-top-1 {
    .ttl-en {
      color: #ffffff;
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-news-list {
  .list-item {
    display: block;
    color: var(--cl-gy);
    font-size: 1.2rem;
    line-height: 1.4;

    > a {
      display: block;
    }

    .list-ttl {
      margin-top: 12px;
    }

    & + .list-item {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 2px solid #ffffff;
    }
  }
}

.block-top-site {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDUiIGhlaWdodD0iMTA1Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTEzIDEzM2gxMDB2MTAwSDExM3oiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iI2U2ZjRmOCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJtMTAxLjEgMS45OTktMTAwIDEwMCIvPjwvc3ZnPg==");
  background-position: center top;
  background-repeat: repeat;
  background-size: 34px;

  .ttl-h2-top-1 {
    .ttl-en {
      color: var(--cl-lpgr);
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-special-content {
  margin-top: 80px;
}

@media screen and (max-width: 1100px) {
  .block-top-official-list,
  .block-top-special-list {
    display: flex;
    padding: 0 20px 32px;

    &::after {
      content: "";
      display: block;
      flex-shrink: 0;
      width: 20px;
      height: 1px;
    }

    .list-items {
      display: grid;
      grid-template-rows: auto auto;
      gap: 24px 36px;

      .list-item:nth-child(1) {
        grid-area: list1;
      }

      .list-item:nth-child(2) {
        grid-area: list2;
      }

      .list-item:nth-child(3) {
        grid-area: list3;
      }

      .list-item:nth-child(4) {
        grid-area: list4;
      }

      .list-item:nth-child(5) {
        grid-area: list5;
      }

      .list-item:nth-child(6) {
        grid-area: list6;
      }

      .list-item:nth-child(7) {
        grid-area: list7;
      }

      .list-item:nth-child(8) {
        grid-area: list8;
      }

      .list-item:nth-child(9) {
        grid-area: list9;
      }

      .list-item:nth-child(10) {
        grid-area: list10;
      }

      .list-item:nth-child(11) {
        grid-area: list11;
      }

      .list-item:nth-child(12) {
        grid-area: list12;
      }

      .list-item {
        width: 200px;

        .list-img {
          position: relative;
          border-radius: 5px;
          overflow: hidden;

          &::after {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 1px solid #cccccc;
            border-radius: 5px;
          }

          img {
            display: block;
            width: 100%;
            height: auto;
          }
        }

        .list-ttl {
          display: -webkit-box;
          margin-top: 12px;
          font-size: 1.2rem;
          line-height: 1.4;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
          -webkit-line-clamp: 2;
        }
      }
    }
  }

  .block-top-official-list {
    .list-items {
      grid-template-columns: auto auto auto auto auto auto;
      grid-template-areas:
        "list1 list3 list5 list7 list9 list11"
        "list2 list4 list6 list8 list10 list12";
    }
  }

  .block-top-special-list {
    .list-items {
      grid-template-columns: 200px 200px 200px 200px;
      grid-template-areas:
        "list1 list3 list5 list7 "
        "list2 list4 list6 list8 ";
    }
  }
}

.block-top-exhibition-content {
  .ttl-h2-top-1 {
    .ttl-en {
      color: var(--cl-lpgr);
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-exhibition-list {
  .list-items {
    display: flex;
  }

  .list-item {
    flex-shrink: 0;
    width: 200px;
  }

  .list-img {
    img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 6px;
    }
  }

  .list-ttl {
    display: -webkit-box;
    margin-top: 16px;
    font-size: 1.2rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
  }
}

@media screen and (max-width: 1100px) {
  .block-top-exhibition-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNzUiIGhlaWdodD0iMjE1Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNmMGY0ZjYiIGQ9Ik0uOTY2LS4wMDhoMzc0LjAzM0wyMTYuNDQxIDIxNC45OTNIMHoiLz48L3N2Zz4=");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .block-top-exhibition-list {
    display: flex;
    padding: 0 20px;

    &::after {
      content: "";
      display: block;
      flex-shrink: 0;
      width: 20px;
      height: 1px;
    }

    .list-items {
      min-height: 216px;
      gap: 40px;
      padding: 32px 0 70px;
    }
  }

  .block-top-exhibition-list-inner {
    display: flex;
    padding: 0 20px;

    &::after {
      content: "";
      display: block;
      flex-shrink: 0;
      width: 20px;
      height: 1px;
    }
  }
}

.block-top-press-content {
  background-color: #f6f6f6;

  .ttl-h2-top-1 {
    .ttl-en {
      color: #ffffff;
    }

    .ttl-ja {
      color: var(--cl-pgr);
    }
  }
}

.block-top-press-list {
  .list-item {
    display: block;
    font-size: 1.2rem;
    line-height: 1.4;

    & + .list-item {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px dotted var(--cl-bk);
    }

    > a {
      display: block;
    }

    .list-date {
      display: flex;
      align-items: center;

      .new {
        margin-left: 8px;
        color: var(--cl-rd);
        font-weight: 500;
      }
    }

    .list-ttl {
      margin-top: 12px;
      color: var(--cl-gy);
    }
  }
}

.block-top-pickup-container {
  .block-thumbnail-t--items {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;

    .block-goods-favorite,
    .block-icon,
    .block-thumbnail-t--price-infos,
    .variation-name {
      display: none;
    }

    .block-thumbnail-t--goods-name {
      display: -webkit-box;
      margin-top: 12px;
      font-size: 1.2rem;
      line-height: 1.4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
    }

    .block-thumbnail-t--item .block-thumbnail-t--goods-image figure {
      position: relative;
      border-radius: 6px;
      overflow: hidden;

      &::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 1px solid #eeeeee;
        border-radius: 6px;
      }

      img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
      }
    }
  }

  .block-thumbnail-t--item a {
    padding: 0;
    background-color: transparent;
  }
}

@media screen and (max-width: 768px) {
  .block-top-pickup-container {
    .block-top-event--goods {
      display: flex;
    }

    .block-thumbnail-t {
      position: relative;
      padding: 0 20px 42px;

      &::after {
        content: "";
        display: block;
        position: relative;
        flex-shrink: 0;
        width: 20px;
        height: 1px;
      }
    }

    .block-thumbnail-t--item {
      flex-shrink: 0;
      width: 136px;
      padding: 12px 8px;
      background-color: #ffffff;

      &:first-child {
        width: 140px;
        padding-left: 12px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
      }

      &:last-child {
        width: 140px;
        padding-right: 12px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
      }
    }
  }
}
