@charset "UTF-8";
/* -------------------------------
	基本設定
-------------------------------- */
.js-container {
  min-width: 100%;
  margin: 0 auto;
}

.js-item {
  width: 240px;
  max-width: 100%;
  padding: 2px;
  margin: 0;
}

/* コンテナの横幅 基本:240px */
.w-480 {
  width: 480px;
}

.w-720 {
  width: 720px;
}

.w-360 {
  width: 364px;
}

.w-1080 {
  width: 1084px;
}

.w-426 {
  width: 430px;
}

.w-853 {
  width: 857px;
}

.w-1280 {
  width: 1284px;
}

.w-576 {
  width: 580px;
}

.w-1152 {
  width: 1156px;
}

.w-1728 {
  width: 1732px;
}

.w-2592 {
  width: 2596px;
}

/* -------------------------------
	一覧用
-------------------------------- */
.js-item > figure {
  vertical-align: middle;
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
}
.js-item > figure .photo {
  display: block;
}
.js-item > figure .photo img {
  width: 100%;
  display: block;
}
.js-item > figure figcaption {
  padding: 8px 5px 10px;
  margin: 0;
}
.js-item > figure figcaption .title {
  color: #666;
  font-size: 12px;
  font-style: italic;
}
.js-item > figure figcaption .description {
  color: #777;
  font-size: 12px;
}

/* 横並び */
.js-item.side > figure {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.js-item.side > figure .photo {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}
.js-item.side > figure figcaption {
  padding: 5px 8px 5px 10px;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

/* ホバーアクション */
.js-item > figure:not(.no-details) {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.js-item > figure:not(.no-details) .photo img {
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.js-item > figure:not(.no-details):hover {
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.3);
}
.js-item > figure:not(.no-details):hover .photo img {
  opacity: 0.65;
}

/* -------------------------------
	スライダー
-------------------------------- */
.swiper-container {
  background-color: #fff;
  position: relative;
  z-index: 10;
}
.swiper-container .photo {
  height: 0;
  padding-top: 66.667%;
  border-bottom: none;
  background-color: #fff;
  position: relative;
}
.swiper-container .photo img {
  max-width: inherit;
  max-height: inherit;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  font-family: 'object-fit: scale-down; object-position: 50% 50%;';
  object-position: 50% 50%;
  /* 中央寄せ　横/縦 */
  position: absolute;
  left: 0;
  top: 0;
}
.swiper-container .caption {
  padding: 8px 0 0;
}
.swiper-container .caption .title {
  color: #777;
  font-size: 12px;
  font-style: italic;
  line-height: 1.286rem;
  margin: 0;
}
.swiper-container .caption .description {
  color: #666;
  font-size: 12px;
  line-height: 1.286rem;
  margin: 0;
}
.swiper-container .swiper-pagination {
  padding-top: 66.667%;
  bottom: 0;
  top: -30px;
}
.swiper-container .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 0.65;
}
.swiper-container .swiper-button-prev, .swiper-container .swiper-button-next {
  width: 22px;
  height: 13px;
  margin-top: -8px;
  background-size: 13px 22px;
}

/* -------------------------------
	詳細用のボックス
-------------------------------- */
.js-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  cursor: auto;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: -10;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.js-modal .content {
  width: 80%;
  max-width: 1000px;
  max-height: calc(100vh - 100px);
  margin: 0 auto;
  padding: 30px 45px;
  background-color: #fff;
  z-index: 50;
  position: relative;
}
.js-modal .overlay {
  content: '';
  cursor: auto;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 1;
}
.js-modal.open {
  opacity: 1;
  visibility: visible;
  z-index: 100;
}
.js-modal.open .content {
  opacity: 1;
}
.js-modal.open .overlay {
  visibility: visible;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
}

/* -------------------------------
	popup01
-------------------------------- */
.modal-popup-1 {
  padding: 50px;
}

/* -------------------------------
	popup02
-------------------------------- */
.modal-popup-2 {
  padding: 50px;
}
.modal-popup-2 .gallery {
  width: 100%;
}
.modal-popup-2 .htmlarea {
  width: 100%;
  padding: 15px 0;
  background-color: #fff;
}

/* -------------------------------
	popup03
-------------------------------- */
.modal-popup-3 {
  padding: 50px;
}
.modal-popup-3 .htmlarea {
  width: 100%;
  padding: 0;
  background-color: #fff;
}

