@charset 'utf-8';

/* works
------------------------------------------------ */
#works {
}

.works__container {
  margin-bottom: 36px;
  text-align: center;
}

.swiper {
  margin-left: 50px;
  margin-right: 50px;
  text-align: center;
  user-select: text;
}

.swiper-pagination {
  width: 1200px;
  position: relative;
  bottom: 15px;
  text-align: end;
  color: #000;
}

.swiper-pagination {
  font-size: 14px;
  line-height: normal;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  height: 40px;
  width: 52px;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 40px;
  margin: auto;
  width: 52px;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  background-image: url("https://www.culinaire.jp/wpapp/wp-content/uploads/2024/05/pager_prev.png");
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  background-image: url("https://www.culinaire.jp/wpapp/wp-content/uploads/2024/05/pager_next.png");
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -15px;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -35px;
}

.swiper__textarea {
  user-select: text;
  /* position: relative; */
}

.textarea__center {
  user-select: text;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  white-space: nowrap;
}

.swiper__text {
  color: #000; /* 文字色 */
  font-size: 24px; /* 文字の大きさ */
  left: 0;
  top: 0;
}

.darkred {
  color: #000;
}

.works__detail__photo {
  display: block;
  /* display: visible; */
}

.works__container {
  display: none;
}

.works__detail__photo {
  margin-bottom: 36px;
}

.works__detail__photo__main--item {
  margin-top: 8px;
}

.works__detail__photo__main--item > a {
  display: block;
}

.works__detail__info {
  color: #000;
}

.works--title {
  /* font-size: 20px; */
}

works--title h2 {
  font-size: 14px;
}

.works--product,
.works--client,
.works--client_name {
  /* line-height: 2rem; */
  /* letter-spacing: 0.29rem; */
}

.works__detail__photo__main {
  display: visible;
}


.works__detail__photo__thumb {
    display: none;
  }

/* 24_works__container */

/* .works__container {
  width: 1200px;
  height: 800px;
} */



.ytvideo {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* margin: 30px 0 30px;
		height: 2.7vw;
		padding-top: 56.25%;
		overflow: hidden; */
  }

  .ytvideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 90.5%; */
    /* width: 100vw;
		height: 57vw; */
  }


@media screen and (max-width: 425px) {
  /* .works--title {
    font-size: 3.29vw;
  } */
}

@media screen and (min-width: 1024px) {

  .works__detail__photo {
    display: none;
  }

  .works__container {
    display: block;
  }


  .works__detail__info {
    margin: 0 50px;
  }

  .works__detail__photo__main {
    position: relative;
    padding-bottom: 74.1818181818%;
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .works__detail__photo__main--item {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .works__detail__photo__main--item.on,
  .works__detail__photo__main--item:first-child {
    display: block;
    z-index: 2;
  }

  .works__detail__photo__thumb {
    position: relative;
    margin-top: 20px;
  }

  .works__detail__photo__thumb__frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
  }

  .works__detail__photo__thumb__move {
    position: relative;
    margin-left: -16px;
  }

  .works__detail__photo__thumb--item {
    float: left;
    width: 15.4545454545%;
  }

  .works__detail__photo__thumb--item a {
    display: block;
    margin-left: 16px;
    /* width: 802px; */
  }

  /* .works__detail__photo__thumb--item {
    display: none;
  } */

  .works__detail__photo__thumb--direct {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    width: 12px;
    height: 24px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    text-indent: -9999px;
    white-space: nowrap;
    overflow: hidden;
    z-index: 2;
  }

  .works__detail__photo__thumb--direct--prev {
    left: -38px;
    background-image: url(../../img/share/pagination_prev.png);
  }

  .works__detail__photo__thumb--direct--next {
    right: -38px;
    background-image: url(../../img/share/pagination_next.png);
  }

  .ytvideo {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    /* display: block;
		position: relative;
		width: 100%;
		height: 100%;
		padding-top: 56.25%;
		overflow: hidden; */
  }

  .ytvideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* text-align: center;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%; */
  }
}
.html5-video-player:not(.ytp-transparent) {
  background-color: #fff;
}

@media screen and (max-width: 1180px) {
  .works__detail__photo__thumb--direct--prev {
    left: 20px;
  }

  .works__detail__photo__thumb--direct--next {
    right: 20px;
  }
}

/* responsive style
------------------------------------------------ */
@media screen and (max-width: 768px) {
  #works {
  }

  .swiper-slide img {
    max-width: 100%;
    height: auto;
  }

  .works__detail__photo__main--item {
    display: block !important;
    margin-top: 8px;
  }

  .works__detail__photo__main--item:first-child {
    margin-top: 0;
  }

}

.swiper {
  margin-left: 0;
  margin-right: 0;
}

@media screen and (max-width: 1200px) {
  .swiper-pagination,
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .swiper-pagination {
    width: 1195px;
  }

  .works--product {
    display: none;
  }

  .swiper-slide:nth-last-child(1) {
    display: none;
  }
}
