@import "https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap";

.sec-inner {
  max-width: 1600px;
}
/* .sec-title {
  margin-bottom: 4rem
}
.sec-title-logoWrapper {
  height: 6rem
}
.sec-title-logoWrapper svg {
  width: 100%;
  height: 100%
}
.sec-title-logo {
  height: 100%;
  width: auto
}
.sec-title-text {
  font-size: 3.6rem
} */
.btn-wrapper.opt-col3 {
  align-items: initial;
}
.btn03 {
  background: #fff;
  border-color: #23b7fe;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.p-items-area {
  background: #d5f2ff;
  padding-top: 8rem;
  padding-bottom: 0rem;
}
.p-items-area > *:not(:first-child) {
  margin-top: 12rem;
}

.p-item-tag {
  white-space: nowrap;
  text-overflow: " [..]";
  max-width: 90%;
  overflow: hidden;
  height: min(3rem, 30px);
  line-height: min(3rem, 30px);
  font-size: min(1.4rem, 14px);
  background: #cccccc;
  border-top-right-radius: 100vmax;
  border-bottom-right-radius: 100vmax;
  /* text-align: center; */
  font-family: Inter, sans-serif;
  position: absolute;
  left: 0;
  top: min(2rem, 20px);
  z-index: 10;
  padding: 0 1em 0 0.5em;
}
.p-item-fig {
  width: 100%;
}
.p-item-fig svg {
  width: inherit;
}
.p-item-img {
  width: inherit;
  max-width: initial;
}
/* .p-item-foot, .p-item-body {
  padding-left: 1em;
  padding-right: 1em
} */
/* .p-item-body {
  padding-top: 1em
} */
.p-item-title {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}
.p-item-date {
  display: inline-block;
  text-align: center;
  width: min(4.5rem, 45px);
  flex-shrink: 0;
  border-radius: min(0.6rem, 6px);
  overflow: hidden;
  box-shadow: 2px 2px 4px #00000040;
}
.p-item-month,
.p-item-day {
  display: block;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: Inter, sans-serif;
}
.p-item-month {
  background: #be9e6d;
  color: #fff;
  font-size: min(1.2rem, 12px);
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.p-item-day {
  font-size: min(3rem, 30px);
  letter-spacing: 0em;
  font-weight: 700;
  background: #fff;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}
.p-item-titleText {
  font-weight: bold;
  font-size: min(1.6rem, 16px);
  margin-left: min(0.8rem, 8px);
}
/* .p-item-btn {
  padding-top: min(1.5rem, 15px);
  padding-bottom: min(1.5rem, 15px)
}
.p-item-foot {
  padding-bottom: .5em;
  padding-top: 1em;
  margin-top: auto
} */
.js-mymodal-inner {
  background: #fff;
}
#js-mymodal .trigger-close {
  right: 0rem;
}
#js-mymodal .trigger-close .trigger-close-inner {
  border: 2px solid #fff;
  border-radius: 50%;
}
#js-mymodal .trigger-close .trigger-close-elm {
  background: #fff;
}
#js-mymodal .trigger-close .trigger-close-text {
  color: #fff;
}
#js-mymodal .btn08 {
  font-size: 1.8rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-width: initial;
}
.p-modal-slider,
.p-modal-title,
.p-modal-btnContainer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.p-modal-slider {
  padding-top: 1.5rem;
}
.p-modal-slider img {
  width: 100%;
  max-width: initial;
}
.p-modal-title {
  display: flex;
  align-items: center;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.p-modal-titleText {
  margin-left: 1.6rem;
}
.p-modal-titleText p {
  font-weight: bold;
  font-size: 0.9rem;
  font-family: Inter, sans-serif;
  background: #cccccc;
  border-radius: 100vmax;
  padding: 0.25em 1em;
  display: inline-block;
  margin-bottom: 0.5em;
}
.p-modal-titleText h3 {
  font-weight: bold;
  font-size: 1.2rem;
}

.p-modal-btnContainer {
  background: #f2f3f0;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.p-modal-btnCaption {
  flex-shrink: 0;
}
.p-modal-btnWrapper {
  flex-grow: 1;
}
.p-modal-thumbs {
  padding: 1.6rem 10rem;
}
.p-modal-thumbs .swiper-slide,
.p-modal-thumbs swiper-slide {
  border: 1px solid #23b7fe;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.p-modal-thumbs swiper-slide img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
}
.p-modal-thumbs .swiper-slide:before,
.p-modal-thumbs swiper-slide:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #23b7fe80;
  mix-blend-mode: multiply;
  transition: opacity cubic-bezier(0.215, 0.61, 0.355, 1) 0.6s;
  opacity: 0;
}
.p-modal-thumbs .swiper-slide.swiper-slide-thumb-active:before,
.p-modal-thumbs swiper-slide.swiper-slide-thumb-active:before {
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .about-price-wrapper {
    display: flex;
    justify-content: flex-end;
  }
  .about-price + .about-price {
    margin-left: 2rem;
  }
  /* .sec-title {
    display: flex
  }
  .sec-title-text {
    margin-left: 1.5rem
  } */
  /* .p-item-list {
    display: flex;
    flex-wrap: wrap
  }
  .p-item-list>* {
    width: calc((100% - (min(1.6rem, 16px)*3))/4)
  }
  .p-item-list>*:not(:nth-child(4n+1)) {
    margin-left: min(1.6rem, 16px)
  }
  .p-item-list>*:nth-child(n+5) {
    margin-top: min(4rem, 40px)
  } */
  .js-mymodal-inner {
    width: 77rem;
  }
  .p-modal-slider img {
    height: 50rem;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .p-modal-btnContainer {
    display: flex;
    align-items: center;
  }
  .p-modal-btnCaption {
    margin-right: 4rem;
  }
}
@media screen and (max-width: 767px) {
  .about {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .about-price strong {
    font-size: 2.4rem;
  }
  /* .sec-title {
    margin-bottom: 2rem
  }
  .sec-title-logoWrapper {
    height: 4rem
  }
  .sec-title-text {
    padding-top: 1rem;
    font-size: 2rem
  } */
  .btn03 {
    font-size: 1rem;
    letter-spacing: 0em;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .p-items-area {
    padding-top: 6rem;
    padding-bottom: 0rem;
  }
  .p-items-area > *:not(:first-child) {
    margin-top: 6rem;
  }

  /* .p-item-list {
    display: flex;
    flex-wrap: wrap
  }
  .p-item-list>* {
    width: calc((100% - 1rem)/2)
  }
  .p-item-list>*:not(:nth-child(2n+1)) {
    margin-left: 1rem
  }
  .p-item-list>*:nth-child(n+3) {
    margin-top: 1.6rem
  } */
  .p-item-tag {
    max-width: 90%;
    font-size: 1rem;
    height: 1.6rem;
    line-height: 1.6rem;
    top: 0.8rem;
  }
  /* .p-item-foot, .p-item-body {
    font-size: .8rem
  } */
  /* .p-item-body {
    padding-top: .8rem
  } */
  .p-item-date {
    width: 3.2rem;
  }
  .p-item-month {
    font-size: 1rem;
  }
  .p-item-day {
    font-size: 1.8rem;
  }
  .p-item-titleText {
    font-size: 1.2rem;
  }
  .p-item-btn {
    font-size: 1.2rem;
    /* padding-top: 1rem;
    padding-bottom: 1rem */
  }
  /* .p-item-foot {
    padding-bottom: .8rem;
    padding-top: .8rem
  } */
  .js-mymodal-content {
    top: calc(50% - 5rem);
  }
  .js-mymodal-inner {
    width: calc(100vw - 3rem);
    height: calc(100vh - 16rem);
    height: calc(100lvh - 16rem);
  }
  #js-mymodal .trigger-close {
    right: auto;
    top: calc(100% + 1rem);
    left: 50%;
    translate: -50%;
  }
  #js-mymodal .btn08 {
    font-size: 1.4rem;
    padding: 0.5rem 1.3rem;
  }
  .p-modal-btnCaption {
    margin-bottom: 0.8rem;
    text-align: center;
  }
  .p-modal-thumbs {
    padding: 1.6rem 4rem;
  }
}

/* メインビジュアル */
.mv-section {
  width: 100%;
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* イントロダクション */
.intro-section {
  padding-top: 12rem;
  padding-bottom: 12rem;

  .desc-wrapper {
    border-top: 1px solid #23b7fe;
    border-bottom: 1px solid #23b7fe;
    padding: 4rem 2rem;
    margin-bottom: 8rem;
    p {
      font-size: 1.6rem;
      line-height: 2;
      letter-spacing: 0.1em;
    }
  }

  /* 商品見本 */
  .sample-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
  }
  .sample-item {
    width: calc(50% - 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .item-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    .item-title {
      display: flex;
      background: #23b7fe;
      color: #fff;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      h3 {
        font-size: 1.6rem;
        font-weight: bold;
      }
      p {
        font-size: 1.2rem;
        font-weight: bold;
      }
    }
    figure {
      aspect-ratio: 1 / 1;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    &.type01 {
      .item-title {
        grid-area: 1 / 1 / 2 / 3;
      }
      .main-image {
        grid-area: 1 / 3 / 3 / 5;
      }
      .sub-image01 {
        grid-area: 2 / 1 / 3 / 2;
      }
      .sub-image02 {
        grid-area: 2 / 2 / 3 / 3;
      }
    }
    &.type02 {
      .item-title {
        grid-area: 2 / 3 / 3 / 5;
        order: 4;
      }
      .main-image {
        grid-area: 1 / 1 / 3 / 3;
        order: 1;
      }
      .sub-image01 {
        grid-area: 1 / 3 / 2 / 4;
        order: 2;
      }
      .sub-image02 {
        grid-area: 1 / 4 / 2 / 5;
        order: 3;
      }
    }
  }
  .about-price {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: right;
  }
  .about-price strong {
    font-size: 2.6rem;
    font-weight: 700;
    font-family: Inter, sans-serif;
  }
}
/* イントロダクション モバイル */
@media screen and (max-width: 767px) {
  .intro-section {
    padding-top: 6rem;
    padding-bottom: 6rem;

    .desc-wrapper {
      border-top: 1px solid #23b7fe;
      border-bottom: 1px solid #23b7fe;
      padding: 2rem 1rem;
      margin-bottom: 4rem;
      p {
        font-size: 1.5rem;
        line-height: 1.8;
        letter-spacing: 0.1em;
      }
    }

    /* 商品見本 */
    .sample-wrapper {
      flex-direction: column;
    }
    .sample-item {
      width: 100%;
    }
    .item-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(auto-fit, minmax(150px, 1fr));
      position: relative;
      &.type01,
      &.type02 {
        .main-image {
          grid-area: 1 / 1 / 3 / 3;
        }
        .sub-image01 {
          grid-area: 4 / 1 / 5 / 2;
        }
        .sub-image02 {
          grid-area: 4 / 2 / 5 / 3;
        }
        .item-title {
          grid-area: 3 / 1 / 4 / 3;
          padding: 1rem 0;
        }
      }
    }
  }
}

.category-select-wrapper {
  position: sticky;
  bottom: 0;
  z-index: 100;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffffb6;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: -1;
  }
}
.category-select {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  position: relative;
  padding: 2rem 0;
}
a.category-link {
  display: block;
  border: 2px solid #23b7fe;
  width: 12%;
  padding: 1rem 0;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  background: #fff;
  color: #23b7fe;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 0.8rem;

  &:hover {
    background: #23b7fe;
    color: #fff;
  }
  &:active {
    box-shadow: none;
    transform: translateY(2px);
  }
}

@media screen and (max-width: 767px) {
  main .inner {
    overflow: scroll;
  }
  .category-select {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 2rem 1rem;
    gap: 1rem;
  }
  a.category-link {
    width: 12em;
    flex-shrink: 0;
    padding: 0.8rem 0;
  }
}

/* アイテム表示 */
.sec-inner {
  max-width: none;
}
.p-item-title {
  padding: 1rem;
}
.p-item-list {
  display: grid;
  .p-item {
    width: auto;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
    position: relative;
    box-shadow: 0 2px 8px #95a9b1ba;
    overflow: hidden;
    background: #cccccc;
    transition: box-shadow 0.3s ease, background 0.3s ease;
  }
  .p-item-tag {
    z-index: 20;
  }
  .p-item-fig {
    z-index: 10;
    transition: opacity 0.3s ease;
  }
  .p-item-body {
    z-index: 10;
  }
  .p-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to right, #069fe8, #23b7fe);
    transition: height 0.3s ease;
  }
  .p-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    border: 2px solid transparent;
    z-index: 20;
    transition: border 0.3s ease, height 0.3s ease;
  }
  .p-item:hover {
    background: transparent;
    box-shadow: none;
  }
  .p-item:hover .p-item-fig {
    opacity: 0.5;
  }
  .p-item:hover .p-item-titleText {
    color: #fff;
  }
  .p-item:hover::before {
    height: 100%;
  }
  .p-item:hover::after {
    height: 100%;
    border: 2px solid #069fe8;
  }
  .btn {
    position: unset;
    overflow: visible;
    border-radius: 0;
    z-index: 40;
    box-shadow: none;
    padding: 1.6rem 0;
    background: linear-gradient(to right, #069fe8, #23b7fe);
    color: #fff;
  }
  .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    display: block;
  }
  .btn::after {
    content: none;
  }
}

@media screen and (min-width: 768px) {
  .p-item-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-column-gap: 16px;
    grid-row-gap: 24px;
    .p-item,
    .p-item::after {
      border-radius: min(1.6rem, 16px);
    }
  }
}

@media screen and (max-width: 767px) {
  .p-item-list {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1.6rem;
    .p-item,
    .p-item::after {
      border-radius: 0.8rem;
    }

    .btn {
      font-size: 1rem;
      padding: 1.2rem 0;
    }
  }
  .p-item-title {
    padding: 0.8rem 0.5rem;
    .p-item-titleText {
      font-size: 1rem;
    }
  }
}

/* セクションタイトル */
.sec-inner {
  .sec-title {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    h2 {
      font-weight: bold;
      font-size: 2.4rem;
    }
  }
}

@media screen and (max-width: 767px) {
  .sec-inner {
    .sec-title {
      margin-bottom: 2.4rem;
      h2 {
        line-height: 1.24;
      }
    }
  }
  #dest-sec05 {
    .sec-inner {
      .sec-title {
        img {
          max-width: 60px;
        }
      }
    }
  }
}
