@charset "utf-8";
/*
詳細ページ用 画像スライド設定 CSS
*/
  :root {
    --easing: cubic-bezier(.2, 1, .2, 1);
    --transition: .8s var(--easing);
    --color-base: #000000;
    --color-gray: #808080;
    --color-theme: #f5695f;
    --color-theme-darken: #f12617;
    --box-shadow: .8rem .8rem 1.2rem rgba(0, 0, 0, .05), -.2rem -.2rem 0.5rem #cccccc;
    --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, .08), -1rem -1rem 1.5rem #fff;
    --box-shadow-inset: inset .8rem .8rem 1.2rem rgba(0, 0, 0, .05), inset -.8rem -.8rem 1.2rem #fff;
    --box-shadow-dark: .9rem .9rem 1.2rem rgba(0, 0, 0, .1), -.8rem -.8rem 1.2rem rgba(#fff,.2);
  }

  figure {
    margin: 0;
  }
  .l-inner {
    position: relative;
    box-sizing: content-box;
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 0 10px 0
  }

.swiper-wrapper{ margin:0; padding:0;}

/*スライダー上下のすき間*/
  .l-section .l-inner {
    padding-top: 1px;
    padding-bottom: 15px;
  }

  [class*=swiper]:focus {
    outline: none;
  }

  .slide-media,
  .thumb-media {
    position: relative;
    overflow: hidden;
  }
  .slide-media img,
  .thumb-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
       object-fit: cover;
  }

/*   < > ボタンサイズ */
  .swiper-button-prev, .swiper-button-next {
    display: grid;
    place-content: center;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: var(--transition);
  }
  .swiper-button-prev::before, .swiper-button-next::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    border-radius: 50%;
            box-shadow: var(--box-shadow);
  }
/*   < > 文字サイズ */
  .swiper-button-prev::after, .swiper-button-next::after {
    width: 12px;
    height: 12px;
    content: "";
    border: solid var(--color-gray);
    border-width: 3px 3px 0 0;
  }
  .swiper-button-prev::after {
    margin-left: 0.4rem;
            transform: rotate(-135deg);
  }
  .swiper-button-next::after {
    margin-right: 0.4rem;
            transform: rotate(45deg);
  }
/*端まで行ったら矢印非表示*/
  .swiper-button-disabled {
    pointer-events: none;
    opacity: 0;
  }

  .gallery02 {
    overflow: hidden;
  }

/*スライド画像(大)の横幅は yoyaku.css にて指定*/
  .gallery02 .swiper,
  .gallery02 .thumb-wrapper {
    margin: 0 auto 0;
  }
  .gallery02 .swiper {
    overflow: visible;
  }
/*フェードイン*/
  .gallery02 .swiper-fade .swiper-slide {
    transition-property: opacity, transform !important;
    pointer-events: none;
  }
  .gallery02 .swiper-fade .swiper-slide-active {
    pointer-events: auto;
  }
  .gallery02 .swiper-controller {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
padding: 50% 0 7%;
  }
  .gallery02 .swiper-button-prev, .gallery02 .swiper-button-next {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .gallery02 .swiper-button-prev {
    right: calc(100% + 20px);
  }
  .gallery02 .swiper-button-next {
    left: calc(100% + 20px);
  }
  .gallery02 .slide {
    display: block;
    overflow: hidden;
  }
  .gallery02 .slide-media {
    display: block;
  /*  padding-top: 62.5%; */
padding: 50% 0 7%;
    border-radius: 4px;
  }
  .gallery02 .slide-media img {
       object-fit: contain;
  }

  .gallery02 .slide-title {
    padding: 1px 0;
  }
/*サムネイル画像設定  1行に表示するサムの数は yoyaku.css にて指定*/
  .gallery02 .thumb-wrapper {
    display: grid;
    gap: 3px; /*すき間*/
  }
  .gallery02 .thumb-media {
    padding-top: 100%;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
  }
  .gallery02 .thumb-media img {
    transition: var(--transition);
  }
	/*選択サム*/
  .gallery02 .thumb-media-active {
            transform: scale(0.9);
    opacity: 0.3;
  }
  .gallery02 .thumb-media-active img {
            transform: scale(1.1);
  }



  @media only screen and (max-width: 1024px) {
    html {
      -webkit-text-size-adjust: 100%;
    }
    .l-inner {
      padding: 0 4rem;
    }
    .pc {
      display: none !important;
    }
    .gallery02 .swiper-button-prev::before, .gallery02 .swiper-button-next::before {
      background-color: rgba(0, 0, 0, 0.3);
              box-shadow: var(--box-shadow-dark);
    }
    .gallery02 .swiper-button-prev::after, .gallery02 .swiper-button-next::after {
      border-color: #fff;
    }
    .gallery02 .swiper-button-prev {
      right: calc(100% + 0.2rem);      width: 50px;     height: 50px;
    }
    .gallery02 .swiper-button-next {
      left: calc(100% + 0.2rem);    width: 50px;     height: 50px;
    }
  }

  @media only screen and (max-width: 599px) {

    .pc-tab {
      display: none !important;
    }
    .gallery02 .thumb-wrapper {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  @media only screen and (min-width: 1025px) {
    .tab-sp {
      display: none !important;
    }
    .swiper-button-prev::before, .swiper-button-next::before {
      transition: var(--transition);
    }
    .swiper-button-prev:hover::before, .swiper-button-next:hover::before {
              transform: scale(1.2);
    }
    .gallery02 .thumb-media:hover {
              transform: scale(0.9);
    }
    .gallery02 .thumb-media:hover img {
              transform: scale(1.1);
    }
  }

  @media only screen and (min-width: 600px) {
    .sp {
      display: none !important;
    }
  }
