@charset "UTF-8";
/*------------------- gallery-detail-------------------*/
/*-------------------p-gallery-detail.css -------------------*/
/* ---------------------------------------- */
/* ---------------------------------------- */
.p-gallery-detail {
  width: 88vw;
  margin: 60px auto 0;
}
@media screen and (min-width: 768px) {
  .p-gallery-detail {
    width: 68vw; /* 画面幅1470pxの時に1000pxになるように計算 */
    max-width: 1000px;
    margin: 100px auto 0;
  }
}

/*-------------------p-gallery-detail-heading.css -------------------*/
.p-gallery-detail-heading {
  width: 100%;
  display: flex;
  align-items: center;
  /* スマホファースト: 縦並び */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* 左寄せ */
  /* PC表示時: 横並び */
}
@media screen and (max-width: 767px) {
  .p-gallery-detail-heading {
    padding-left: 6px;
  }
}
@media screen and (min-width: 768px) {
  .p-gallery-detail-heading {
    flex-direction: row;
    align-items: center;
  }
}
.p-gallery-detail-heading__category {
  width: 110px;
  height: 30px;
  background-color: transparent;
  /* 背景色を透明に */
  border: 1px solid #cd4f2f;
  border-radius: 13px;
  color: #cd4f2f;
  /* 文字色を変更 */
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-gallery-detail-heading__category {
    width: 120px;
    height: 35px;
  }
}
.p-gallery-detail-heading__title {
  font-size: 20px;
  margin-left: 0;
  /* スマホでは左マージンをリセット */
  margin-top: 10px;
  /* スマホ時の余白 */
  display: flex;
  align-items: center;
  line-height: 1;
  /* For vertical alignment */
}
@media screen and (min-width: 768px) {
  .p-gallery-detail-heading__title {
    margin-left: 20px;
    /* PCでは左マージンを設定 */
    margin-top: 0;
    font-size: 24px;
  }
}

/*-------------------p-gallery-detail-image.css -------------------*/
/* ==========================================================================
// gallery image
//
// 1. Set top margin
// 2. Set aspect ratio
// 3. slick用のスタイル調整
// ========================================================================== */
.p-gallery-detail-image {
  width: 88vw;
  height: calc(52.8vw + 30px);
  margin-top: 20px;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  .p-gallery-detail-image {
    width: 68vw;
    height: calc(40.8vw + 30px); /*.スライダー用のドットを表示させるため＋30px */
    max-width: 1000px;
    margin-top: 37px;
  }
}
.p-gallery-detail-image__slider .slick-dots li button {
  width: 12px; /* ドットのサイズ */
  height: 12px; /* ドットのサイズ */
}
.p-gallery-detail-image__item img {
  max-width: 100%;
  max-height: 100%;
  width: 88vw;
  height: 52.8vw;
  padding: 6px;
}
@media screen and (min-width: 769px) {
  .p-gallery-detail-image__item img {
    width: 68vw;
    max-width: 1000px;
    height: 40.8vw;
    max-height: 600px;
  }
}
.p-gallery-detail-image__item.item-landscape img {
  object-fit: cover;
  /* 横長画像に対応 */
}
.p-gallery-detail-image__item.item--portrait img {
  object-fit: contain;
  /* 縦長画像に対応 */
}

/*-------------------p-gallery-detail-text.css -------------------*/
/* ==========================================================================
// gallery text
//
// 1. Set top margin
// 2. Set width
// 3. Set font size
// ========================================================================== */
.p-gallery-detail-text {
  width: 100%;
  margin-top: 45px;
}
@media screen and (max-width: 768px) {
  .p-gallery-detail-text {
    padding: 0 6px;
  }
}
@media screen and (min-width: 769px) {
  .p-gallery-detail-text {
    width: 73%;
    max-width: 730px;
  }
}
.p-gallery-detail-text__content {
  font-size: 16px;
  line-height: 2.5;
}

/*-------------------p-gallery-detail-nav.css -------------------*/
/* ==========================================================================
// gallery navigation
//
// 1. Set top margin
// 2. Set layout for links
// 3. Set font size
// ========================================================================== */
.p-gallery-detail-nav {
  margin-top: 85px;
  display: flex;
  width: 100%;
  max-width: 1000px;
  border: 1px solid #cd4f2f;
  border-radius: 10px;
  color: #cd4f2f;
  box-sizing: border-box;
}
.p-gallery-detail-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  box-sizing: border-box;
}
.p-gallery-detail-nav__link__text {
  font-size: 16px;
}
.p-gallery-detail-nav__link--list {
  width: 40%;
  border-left: 1px solid #cd4f2f;
  border-right: 1px solid #cd4f2f;
}
@media screen and (min-width: 769px) {
  .p-gallery-detail-nav__link--list {
    width: 50%;
  }
}
.p-gallery-detail-nav__link--prev {
  width: 30%;
  position: relative;
}
@media screen and (min-width: 769px) {
  .p-gallery-detail-nav__link--prev {
    width: 25%;
  }
}
.p-gallery-detail-nav__link--prev .p-gallery-detail-nav__text {
  padding-left: 20px; /* 擬似要素のためのスペースを確保 */
}
.p-gallery-detail-nav__link--prev::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #cd4f2f;
  border-left: 1px solid #cd4f2f;
  transform: translateY(-50%) rotate(-45deg);
}
.p-gallery-detail-nav__link--next {
  width: 30%;
  position: relative;
}
@media screen and (min-width: 769px) {
  .p-gallery-detail-nav__link--next {
    width: 25%;
  }
}
.p-gallery-detail-nav__link--next .p-gallery-detail-nav__text {
  padding-right: 20px;
}
.p-gallery-detail-nav__link--next::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #cd4f2f;
  border-right: 1px solid #cd4f2f;
  transform: translateY(-50%) rotate(45deg);
}