@charset "utf-8";
/* CSS Document */

/*ブラウザクリア*/
body {
  margin: 0;
}

ul {
  display: block;
  margin-block-end: 0;
  margin-block-start: 0;
  margin-inline-end: 0;
  margin-inline-start: 0;
  padding-inline-start: 0;
}

p {
  display: block;
  margin-block-end: 0;
  margin-block-start: 0;
  margin-inline-end: 0;
  margin-inline-start: 0;
}

h2 {
  display: block;
  font-size: 0;
  font-weight: bold;
  margin-block-end: 0;
  margin-block-start: 0;
  margin-inline-end: 0;
  margin-inline-start: 0;
}

h3 {
  font-family: Arial;
}

img {
  max-width: 100%;
}

/*ブラウザクリア*/

.contents_area_ {
  padding-bottom: 0;
}

/******************************************************
main page
******************************************************/
#tbshij {
  font-family: arial, "yu-gothic-pr6n", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  width: 100%;
}

#tbshij a {
  transition: 0.6s;
}
#tbshij a:hover {
  opacity: 0.4;
  transition: 0.6s;
}

/***** main *****/
#tbshij .main {
  /* background-image: url(img/main_pc.jpg); */
  height: auto;
  position: relative;
  width: 100%;
  z-index: -1;
}

#tbshij .main img.logo {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 18%;
  z-index: 99;
}

#tbshij .main .main_slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 90vh;
  background: #e7e9e8;
}

#tbshij .main .main_slide img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideAnime 16s ease infinite;
  object-fit: cover;
}

#tbshij .main .main_slide img:nth-of-type(1) {
  animation-delay: 0s;
}
#tbshij .main .main_slide img:nth-of-type(2) {
  animation-delay: 4s;
}
#tbshij .main .main_slide img:nth-of-type(3) {
  animation-delay: 8s;
}
#tbshij .main .main_slide img:nth-of-type(4) {
  animation-delay: 12s;
}

@keyframes slideAnime {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/***** lead *****/
#tbshij .lead {
  text-align: center;
  margin: 80px 0;
  width: 100%;
}

#tbshij .lead h2 {
  font-size: 2rem;
  font-weight: 100;
  margin-bottom: 0px;
  padding: 0;
}

#tbshij .lead p {
  font-size: 1.4rem;
}

/***** items *****/
#tbshij .items {
  width: 95%;
  margin: 0 auto;
}

.item_grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
}
.itemBox {
  width: 100%;
  margin-bottom: 48px;
  cursor: pointer;
}
.itemBox h3 {
  font-size: 1.2rem;
  font-weight: 100;
}
.thumb-wrap {
  position: relative;
  display: block; /* 幅100%でブロック化 */
  overflow: hidden;
}
a.thumb-wrap:hover {
  opacity: 1 !important;
}
.thumb-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4.5;
  object-fit: cover;
  display: block;
}

.thumb-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 1;
}

/* ＋マーク（横棒×縦棒を1つの疑似要素で） */
.thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 2つの linear-gradient を重ねて十字を作る */
  background: linear-gradient(#fff 0 0) center / 80px 4px no-repeat,
    /* 横棒 */ linear-gradient(#fff 0 0) center / 4px 80px no-repeat; /* 縦棒 */
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 2;
}

/* ホバーで表示 */
.thumb-wrap:hover::before,
.thumb-wrap:hover::after {
  opacity: 1;
}

/* モーダル */
.modal[hidden] {
  display: none !important;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(1px);
}

.modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1/2;
  height: 88vh;
  margin: 6vh auto;
  background: #fff;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 88px rgba(0, 0, 0, 0.4);
  padding-bottom: 2vh;
  box-sizing: border-box;
}

.modal__close {
  --x-size-pc: 36px;
  --x-size-sp: 56px;
  --x-thk-pc: 4px; /* PCの線の太さ */
  --x-thk-sp: 8px; /* SPの線の太さ */
  --x-color: #fff; /* バツの色 */
  position: absolute;
  top: 12px;
  right: 12px;
  width: var(--x-size-pc);
  height: var(--x-size-pc);
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 100;
  font-size: 0;
  line-height: 0;
}
.modal__close::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      45deg,
      transparent calc(50% - var(--x-thk-pc) / 2),
      var(--x-color) 0 calc(50% + var(--x-thk-pc) / 2),
      transparent 0
    ),
    linear-gradient(
      -45deg,
      transparent calc(50% - var(--x-thk-pc) / 2),
      var(--x-color) 0 calc(50% + var(--x-thk-pc) / 2),
      transparent 0
    );
  background-repeat: no-repeat;
  pointer-events: none;
}
.modal__close:hover {
  opacity: 1;
}

/* フェードボックス（画像3枚を重ねてふわっと） */
#gallery-modal .fadebox {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/2;
  background: #fff;
}
#gallery-modal .fadebox > figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#gallery-modal .fadebox > figure.is-active {
  opacity: 1;
}
#gallery-modal .fadebox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery-modal .fadebox > figure:nth-of-type(1) {
  animation-delay: 0s;
}
#gallery-modal .fadebox > figure:nth-of-type(2) {
  animation-delay: 4s;
}
#gallery-modal .fadebox > figure:nth-of-type(3) {
  animation-delay: 8s;
}

/* フェードアニメーション */
@keyframes slideAnime3 {
  0% {
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  42% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 情報ブロック */
#gallery-modal .info {
  display: block;
  width: 80%;
  aspect-ratio: 2/1;
  margin: auto;
  padding-right: 0 !important;
  align-items: center;
}

#gallery-modal .info::-webkit-scrollbar {
  width: 6px;
}
#gallery-modal .info::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

p.eyebrow {
  font-size: 2vh;
  text-transform: uppercase;
  color: #000;
  margin: 4vh auto;
  border-bottom: #000 solid 1px;
  width: auto;
  display: inline-block;
  line-height: 1;
  width: auto;
}
.products-3 {
  margin: 0 auto;
}

.product-slot {
  margin-bottom: 16px;
}
.product-slot:last-of-type {
  margin-bottom: 0;
}
.product-title {
  font-size: min(2vh, 16px);
  text-align: left;
  margin-bottom: 0;
  font-weight: 400;
  color: #000;
}
.buyrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 8px;
  width: 90%;
  justify-content: flex-end;
}
.price {
  font-size: min(1.6vh, 14px);
  font-weight: 100;
  color: #000;
}
.btn.buy {
  display: inline-block;
  font-size: 1.2vh;
  padding: 0.8vh 2vh;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.store {
  display: inline-block;
  font-size: 1.4vh;
  padding: 0.8vh 2vh;
  background: #fff;
  color: #000;
  border: solid 1px #000;
  text-decoration: none;
  font-weight: 700;
}
.btn.cs10,
.btn.cs11 {
  display: inline-block;
  font-size: 1.4vh;
  padding: 0.8vh 2vh;
  background: #fff;
  color: #000;
  border: solid 1px #000;
  text-decoration: none;
  font-weight: 700;
}
.buybtn:hover {
  filter: brightness(0.92);
}

.itemBox .products-html {
  display: none !important;
}

@media (max-width: 520px) {
  .modal__content {
    width: 94vw;
  }
  .fadebox {
    height: auto;
  }
  .product-title {
    font-size: 18px;
  }
  .price {
    font-size: 16px;
  }
}

/***** bottomArea *****/
.bottomArea a {
  border: solid 1px #000;
  width: 320px;
  display: block;
  margin: 24px auto 64px;
  padding: 16px 0;
  transition: 0.6s;
  opacity: 1;
  text-align: center;
}
.bottomArea a:hover {
  background: #000;
  color: #fff;
  transition: 0.6s;
  opacity: 1 !important;
}

.bottomArea h4 {
  font-size: 1.4rem;
  font-weight: 100;
  text-align: center;
}

.bottomArea .movie {
  width: 32%;
  aspect-ratio: 9 / 16;
  margin: 0 auto 64px;
  text-align: center;
}

.bottomArea .movie p {
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.bottomArea iframe {
  aspect-ratio: 9 / 16;
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .thumb-wrap:hover::before,
  .thumb-wrap:hover::after {
    opacity: 1;
  }
}
/******************************************************
main page
******************************************************/

/******************
fade
*******************/
.sa {
  opacity: 0;
  transition: all 2s ease;
}

.sa.show {
  opacity: 1;
  transform: none;
}

.sa--lr {
  transform: translate(-100px, 0);
}

.sa--rl {
  transform: translate(100px, 0);
}

.sa--up {
  transform: translate(0, 100px);
}

.sa--down {
  transform: translate(0, -100px);
}

.sa--scaleUp {
  transform: scale(0.5);
}

.sa--scaleDown {
  transform: scale(1.5);
}

.sa--rotateL {
  transform: rotate(180deg);
}

.sa--rotateR {
  transform: rotate(-180deg);
}

/******************
fade
*******************/

/********オーダー**********/
.oA {
  order: 1;
}
.oB {
  order: 2;
}

.spR {
  order: 1;
}
.spL {
  order: 2;
}
/********オーダー**********/

.pc {
  display: block !important;
}
.sp {
  display: none !important;
}

@media only screen and (max-width: 750px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }

  .contents_area_ {
    padding-top: 43px;
  }

  /******************************************************
main page
******************************************************/

  /***** main *****/
  #tbshij .main .main_slide {
    height: 64vh;
  }

  #tbshij .main img.logo {
    position: absolute;
    top: 8%;
    right: 4%;
    width: 24%;
  }
  /***** lead *****/
  #tbshij .lead {
    text-align: center;
    margin: 60px 0;
    width: 100%;
  }

  #tbshij .lead h2 {
    font-size: 1.6rem;
    font-weight: 100;
    margin-bottom: 16px;
    line-height: 1.2;
    padding: 0;
  }

  #tbshij .lead p {
    font-size: 1rem;
  }
  /***** items *****/
  .item_grid {
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 1200px;
  }
  .itemBox {
    width: 100%;
    margin-bottom: 16px;
    cursor: pointer;
  }
  .itemBox h3 {
    font-size: 1rem;
  }
  .thumb-wrap {
    --cross-thk-sp: 8px;
  }
  @media (hover: none) and (pointer: coarse), (max-width: 767px) {
    .thumb-wrap::after {
      background-size: 60% var(--cross-thk-sp), var(--cross-thk-sp) 60%;
    }
  }

  .thumb-wrap img {
    height: 40vh;
  }
  .thumb-wrap::before {
    opacity: 0 !important;
  }

  .thumb-wrap::after {
    opacity: 1;
    inset: auto;
    right: 0px;
    bottom: 0px;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 2;
    background-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 80% 3px, 3px 80%;
  }

  .modal__content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 80vw;
    height: 84vh;
    margin: 8vh auto;
    background: #fff;
    color: #fff;
    padding-bottom: 1vh;
    aspect-ratio: auto;
  }
  #gallery-modal .fadebox {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 12px;
    background: #fff;
    display: block;
  }
  p.eyebrow {
    font-size: min(2.5vh, 18px);
    letter-spacing: 0;
    margin: 8px auto 12px;
    font-weight: 100;
  }
  .product-title {
    font-size: min(2vh, 16px);
    margin-bottom: 0px;
    font-weight: 600;
    color: #000;
    font-weight: 400;
  }
  .buyrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 1vh;
    width: 100%;
  }
  .product-slot {
    margin: 0 auto 1vh;
  }
  .price {
    font-size: min(2vh, 12px);
    font-weight: 100;
    color: #000;
  }
  .btn.buy {
    display: inline-block;
    font-size: 0.6rem;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }
  .store {
    font-size: 1.2vh;
    padding: 0.4vh 2vh;
  }
  .btn.cs10,
  .btn.cs11 {
    font-size: 1.2vh;
    padding: 0.4vh 2vh;
  }
  .bottomArea a {
    width: 80%;
    font-size: 0.9rem;
  }
  #gallery-modal .info {
    display: block;
    width: 80%;
    margin: auto auto 0;
  }
  .bottomArea h4 {
    font-size: 1rem;
  }
  .bottomArea .movie p {
    font-size: 1rem;
  }
  /***** fade *****/
  #tbshij .sa {
    opacity: 0;
    transition: 1s;
  }

  #tbshij .sa.show {
    opacity: 1;
    transform: none;
  }

  .bottomArea .movie {
    width: 80%;
  }
  /********オーダー**********/
  .spR {
    order: 2;
  }
  .spL {
    order: 1;
  }

  .oA {
    order: 2;
  }
  .oB {
    order: 1;
  }
  /********オーダー**********/
  /******************************************************
main page
******************************************************/
}
