/*******************************************************
 * Taxsonomy: costume_cat 
 *******************************************************/

/*-------------------------------------------------
 cos-wedding
------------------------------------------------- */
:root {
 --easing: cubic-bezier(.2, 1, .2, 1);
 --transition: .8s var(--easing);
 --box-shadow: .8rem .8rem 1.2rem rgba(0, 0, 0, .05), -.8rem -.8rem 1.2rem #fff;
 --box-shadow-dark: .8rem .8rem 1.2rem rgba(0, 0, 0, .1), -.8rem -.8rem 1.2rem rgba(#fff,.2);
}
[class*=swiper]:focus { outline: none; }

.costume_cat-cos-wedding .entry-header { display: none; }
.costume_cat-cos-wedding .entry-content h1 {
 margin-bottom: 0;
 padding: 1rem 0 0;
 font-size: clamp(2.5rem, 2.045rem + 2.27vw, 3.75rem);
 font-family: "Cinzel", serif;
 font-optical-sizing: auto;
 font-weight: 400;
 font-style: normal;
 line-height: 1.3;
 letter-spacing: 0.05em;
}
.costume_cat-cos-wedding .entry-content h1 span {
 margin-top: 0 !important;
 display: block;
 font-size: 40%;
 font-family: 'Noto Sans JP';
 letter-spacing: 0.2em;
}

.wd-gallery {
 margin: 2rem auto 0!important;
 padding: 0 0 3rem;
 width: 90% !important;
 max-width: 600px !important;
}
.wd-gallery .swiper { overflow: initial; }
.wd-gallery .thumb-wrapper {
 margin: 20px -10px 0 0;
 display: flex;
 flex-wrap: wrap;
}
.wd-gallery .thumb-wrapper .slide {
 display: block;
 overflow: hidden;
 padding-top: 130.3333%;
 border-radius: 4px;
  }
.wd-gallery .thumb-wrapper .slide img {
    -o-object-fit: contain;
       object-fit: contain;
  }
.wd-gallery .thumb-wrapper .thumb-media {
 margin: 0 10px 10px 0;
 width: calc((100% - 50px) / 5);
 max-width: 100px;
 height: auto;
 aspect-ratio: 1;
 border-radius: 4px;
 cursor: pointer;
 -webkit-transition: var(--transition);
 transition: var(--transition);
 overflow: hidden;
}
.wd-gallery .thumb-wrapper .thumb-media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 -webkit-transition: var(--transition);
 transition: var(--transition);
}
.wd-gallery .thumb-wrapper .thumb-media-active {
 -webkit-transform: scale(0.9);
 transform: scale(0.9);
 opacity: 0.5;
}
.wd-gallery .thumb-wrapper .thumb-media-active img {
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
 opacity: 0.5;
}
.wd-gallery .thumb-wrapper .thumb-media:hover {
 -webkit-transform: scale(0.9);
 transform: scale(0.9);
}

/* Swiper button -----------------------------*/
.swiper-button-prev, .swiper-button-next {
 display: grid;
 place-content: center;
 width: 4rem;
 height: 4rem;
 cursor: pointer;
 -webkit-transition: var(--transition);
 transition: var(--transition);
 position: absolute;
 z-index: 2;
 top: 50%;
 transform: translateY(-50%);
}
.swiper-button-prev { left: -1.4rem; }
.swiper-button-next { right: -1.4rem; }

.swiper-button-prev::before, .swiper-button-next::before {
 background-color: rgba(0, 0, 0, 0.3);
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 content: "";
 border-radius: 50%;
 box-shadow: var(--box-shadow-dark);
 }
 .swiper-button-prev::after, .swiper-button-next::after {
  width: 0.75rem;
  height: 0.75rem;
  content: "";
  border: solid #fff;
  border-width: 3px 3px 0 0;
 }
 .swiper-button-prev::after {
  margin-left: 0.25rem;
   -webkit-transform: rotate(-135deg);
           transform: rotate(-135deg);
  }
.swiper-button-next::after {
  margin-right: 0.25rem;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  }
.swiper-button-disabled {
 pointer-events: none;
 opacity: 0;
}

@media screen and (max-width: 500px){
.swiper-button-prev, .swiper-button-next {
 width: 3rem;
 height: 3rem;
}
}
@media screen and (min-width: 640px){
.wd-gallery .thumb-wrapper .thumb-media { width: calc((100% - 50px) / 7); }
}
@media screen and (min-width: 768px){
.swiper-button-prev { left: auto; right: calc(100% + 2rem); }
.swiper-button-next { left: calc(100% + 2rem); right: auto; }

}


/* Pagenation -----------------------------*/
#single-pager {
 margin: clamp(40px,12vw,80px) 0 0;
 display: flex;
 align-items: center;
 justify-content: center;
}
#single-pager li {
 margin: 0 20px;
 font-size: clamp(0.625rem, 0.557rem + 0.34vw, 0.813rem);
 font-weight: 500;
 letter-spacing: 0.2em;
 list-style: none;
 transition: all .5s;
}
#single-pager li a {
 display: block;
 padding: 0.5rem 1rem;
 min-width: 7em;
 color: #404040;
 text-align: center;
 text-decoration: none;
 white-space: nowrap;
 transition: all .5s;
}
#single-pager li:hover,
#single-pager li a:hover { opacity: .6; }
#single-pager li:has(a) { border-bottom: 1px solid #dfdfdf; }

@media screen and (max-width: 500px){
#single-pager { margin-right: -20px; }
#single-pager li { margin: 0 20px 0 0; }
}





/*-------------------------------------------------
 cos-
------------------------------------------------- */



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


}




