@charset "utf-8";
#works_slider{
    width            : 100%;
    height           : 800px;
    position         : relative;
    left             : 0;
    top              : 0;
    opacity        : 1;
    transition     : .5s;
}
.slider-num {
    position  : absolute;
    left      : 5px;
    top       : 5px;
    font-size : 12px;
    color     : #ddd;
}
.slider-close {
    position        : absolute;
    right           : 5px;
    top             : 5px;
    color           : #fff;
    height          : 40px;
    width           : 40px;
    background      : rgba(30,30,30,.6);
    display         : flex;
    justify-content : center;
    align-items     : center;
    z-index         : 3001;
    cursor          : pointer;
}
.slider-items {
    width           : 100%;
    height          : 100%;
    position        : absolute;
    left            : 0;
    top             : 0;
    display         : flex;
    align-items     : center;
    justify-content : center;
}

.worksSplide{
    width : 1000px;
    max-width: 100%;
    margin: auto;
}
.worksSplide .splide__track{
    overflow: visible;
}
.worksSplide .splide__slide{
    position: relative;
    width: fit-content;
    max-width: 96%;
}
.worksSplide .splide__picture{
    width: 900px;
    height: 600px;
    position: relative;
    object-fit: contain;
    object-position: center;
}
.worksSplide .splide__formwork{
    width: 100%;
    height: auto;
    aspect-ratio: 337 / 506;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: -1;
}
.worksSplide .splide__blur-picture{
    width: calc(100% + 20px);
    height: auto;
    max-width: initial;
    aspect-ratio: 337 / 506;
    position: relative;
    left: -10px;
    top: -10px;
    object-fit: cover;
    object-position: center;
    filter: blur(10px) brightness(60%);
}
.worksSplide .splide__arrow--prev{
    left: 0;
}
.worksSplide .splide__arrow--next{
    right: 0;
}
.pagerSplide{
    width: 640px;
    padding: 0 50px;
    box-sizing: content-box;
    margin: 40px auto 0;
}
.pagerSplide .splide__slide{
    width: 100px;
    height: 60px;
}
.pagerSplide .splide__slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
  
.category-link {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 10px;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s;
  }

  .category-link__item{
    display: flex;
    height: 22px;
    padding-left: 12px;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-txt-s);
    background-color: #5f5e59;
    color: #fff;
  }
  .category-link__item::after {
    content: "";
    display: block;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    width: 20px;
    height: 30px;
    background-size: 7px;
    margin-right: 4px;
    margin-left: 0;
    position: relative;
    top: 1px;
    background-image: url(/wp/wp-content/themes/wp-templ/assets/img/top/link_arrow_w.svg);
  }
  .header .contact-btn-group .free-catalog{
    display: flex;
    background-color: #fff;
    border: 1px solid #000;
  }
  #category-description {
    max-width: 900px;
    margin: 0 auto 60px;
  }
  
  .model-info {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 15px;
  }
  
  .model-info span {
    font-size: 3rem;
    line-height: 30px;
    letter-spacing: 0.07em;
    font-weight: bold;
    color: #333333;
    padding-left: 15px;
  }
  
  .model-info span:first-child {
    padding: 2px 10px;
    margin-right: 5px;
    font-size: var(--fs-ttl-s);
    border-bottom: 1px solid #ddd;
  }
  
  .model-info span.small {
    font-size: 15px;
    line-height: 15px;
    padding-left: 0;
    display: block;
    width: 45px;
  }
  
  .category-description {
    padding: 0 1em;
    font-size: var(--fs-txt-m);
    line-height: 2.28571em;
  }

@media (max-width: 767px){
    .worksSplide .splide__slide{
        width: calc(100% - 20px);
    }
    .worksSplide .splide__picture{
        height: auto;
        aspect-ratio: 506 / 337;
    }
    .pagerSplide {
        max-width: calc(100% - 100px);
        padding: 0 50px;
        box-sizing: content-box;
        margin: 40px auto 0;
    }
    .pagerSplide .splide__slide{
        width: 60px;
        height: 40px;
    }
}

.slider-items .item {
    width           : 90vw;
    height          : 100%;
    display         : flex;
    align-items     : center;
    justify-content : center;
}
.slider-items .item img {
    display         : block;
    width           : auto;
    height          : auto;
    max-width       : 100%;
    max-height      : 100%;
    object-fit      : contain;
    object-position : center;
}
.works-gallery {
    margin-top   : 44px;
    margin-right : -1px;
    display      : flex;
    flex-wrap    : wrap;
    gap          : 5px;
    max-width    : 1200px;
    padding      : 0 5px;
    margin       : 44px auto 0;
}
.works-gallery .gallery-item {
    margin-bottom    : 0;
    background-color : #fafafa;
    width            : calc( ( 100% - 15px) / 4);
    aspect-ratio     : 1 / 1;
    object-fit       : cover;
    object-position  : center;
    cursor           : pointer;
}
@media (max-width: 767px){
    .works-gallery .gallery-item {
        width : calc( ( 100% - 10px) / 3);
    }
}

#works .mainContents .sg-block .sg-cate{
    display: flex;
    justify-content: center;
    gap: 1em;
}

.sg_voice_link{
    margin-top      : 45px;
    display         : flex;
    flex-direction  : column;
    align-items     : center;
    justify-content : center;
}
.sg_voice_link .section-title{
    color          : #333;
    font-size      : 1.8rem;
    font-weight    : bold;
    letter-spacing : 0.25em;
    font-family    : 'HigureGothic';
}
.sg_voice_link .section-title img{
    height       : 1em;
    position     : relative;
    margin-right : 0.5em;
    top          : 3px;
}
.pagerLink ul li {
    display     : flex;
    align-items : center;
    flex        : 3;
}
.pagerLink ul li.prev{
    justify-content : start;
}
.pagerLink ul li.back{
    justify-content : center;
    flex            : 1;
}
.pagerLink ul li.next{
    justify-content : end;
    text-align      : right;
}
.pagerLink ul a.cmn-fs-en-ttl{
    font-size      : 1.4rem;
    letter-spacing : 0.25em;
}
.pagerLink ul .prev a {
    padding-left : 20px;
}
.pagerLink ul .next a {
    padding-right : 20px;
}
.pagerLink ul .prev a:after{
    left: 4px;
}
.pagerLink ul .next a:after{
    right: 4px;
}
.pagerLink ul .prev a:after, .pagerLink ul .next a:after{
    border-left : 3px solid #000;
    border-top  : 3px solid #000;
}

.sg-note{
    margin-top: 60px;
}
@media (max-width: 767px){
    .sg_voice_link .section-title {
        margin-bottom : 20px;
    }
    .pagerLink ul .next a {
        padding-right : 10px;
    }
    .pagerLink ul .prev a {
        padding-left : 10px;
    }
    .pagerLink ul a.cmn-fs-en-ttl {
        font-size      : 1rem;
        letter-spacing : 0.1em;
    }
}


/*追加分*/

h1.fs-ttl-m{
    font-size: var(--fs-ttl-m);
    font-weight: bold;
  }
  .read_text{
    width: fit-content;
    max-width: calc(100% - 40px);
    margin: 60px auto 30px;
  } 
  @media (min-width: 768px) {
    h1.section-title{
      margin-bottom: 60px;
    }
  }
  @media (max-width: 767px) {
    .read_text{
      margin: 40px auto 10px;
    } 
  }
  .worksSplide {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
  }

  .popup-slider{
    display: none;
  }
  @media (max-width: 767px) {
    .popup-slider{
      display: flex;
      width: 100%;
      height: 100%;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: fixed;
      left: 0;
      top: 0;
      background-color: rgba(0,0,0,0.8);
      z-index: 10000;
      opacity: 0;
      pointer-events: none;

    }
    .popup-slider.visible{
      opacity: 1;
      pointer-events: initial;
    }
    .splide.worksSpSplide{
      gap: 10px;
      width: 100%;
    }

    .worksSpSplide .splide__slide{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100vw;
      height: calc(90vh - 90px);
    }
    .worksSpSplide .splide__slide img{
      max-width: 90%;
      max-height: 100%;
    }
    .worksSpSplide .button__close{
      width: fit-content;
      margin: 10px auto 0;
      padding: 5px 10px;
      background-color: rgba(255,255,255,0.8);
    }
  }

  .sg-flex__left{
    width: 650px;
    max-width: calc(100% - 40px);
    margin: auto;
  }
.sg-flex__col{
  display: flex;
  margin-top: 40px;
  flex-direction: column;
  gap: 10px;
}
.sg-flex__col dl{
  display: flex;
  gap: 1em;
}
.sg-flex__col dl dt{
  display: flex;
  min-width: 110px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  padding: 3px 10px;
}
.sg-flex__col dl dd{
  border-bottom: 1px solid #ddd;
  padding: 0.5em 0 0.5em 1em;
  flex: 1;
}
.works-plan{
  max-width: 650px;
  width: calc(100% - 40px);
  margin: 80px auto 0;

}
.works-plan__title{
  display: flex;
  min-width: 110px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  padding: 3px 10px;
}
.works-plan__image{
  padding: 20px;
  margin-top: 20px;
}
.product__link:link, .product__link:visited, .product__link:active{
  text-decoration: underline;
  color: #333;
}
.sg_voice_link{
  margin-top: 80px;
}
.longcard-link {
    max-width: 650px;
    display: flex;
    margin-right: 0;
}
@media (max-width: 767px) {
  .worksSplide .splide__arrow--prev {
    left: 1em;
  }
  .worksSplide .splide__arrow--next {
    right: 1em;
  }
}

.thumb-mask{
  display: flex;
  max-width: 650px;
  width: calc(100% - 40px);
  padding: 16px;
  gap: 16px;
  border-radius: 16px;
  background-color: rgba(181, 183, 86, 1);
  margin: auto;
  }
  .thumb-mask__inner{
    display: flex;
    max-width: 650px;
    width: 100%;
    gap: 20px;
  }
  .thumb-mask__image-box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
  }
  .thumb-mask__frame{
    width: 85%;
    height: auto;
    margin: auto;
    transition-duration: .5s;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    overflow: hidden;
  }
  .thumb-mask__image{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition-duration: 0.3s;
  }
  .voice-link__description{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .voice-link__arrow{
    display: flex;
    width: auto;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
  }
  .voice-link__lead{
    width: fit-content;
    color: rgba(181, 183, 86, 1);
    background-color: #fff;
    padding: 1px 1em;
    line-height: 1;
    font-size: var(--fs-txt-m);
    font-weight: bold;
    letter-spacing: 0.1em;
    font-family: 'HigureGothic';
  }
  .voice-link__bubble-icon{
    height: 1em;
    position: relative;
    margin-right: 0.5em;
    top: 3px;
  }
  .voice-link__title{
    color: #fff;
    font-size: var(--fs-ttl-s);
  }
  .voice-link__text{
    padding-top: .8em;
    font-size: var(--fs-txt-s);
    line-height: 1.4;
    font-weight: 400;
    opacity: .8;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .voice-link__link{
    text-align: right;
    text-decoration: underline;
    font-size: var(--fs-txt-m);
    color: #fff;
  }
  .voice-arrow__right{
    display: block;
    color: #fff;
    line-height: 1;
    width: 22px;
    height: 22px;
    margin-left: -14px;
    border: 2px solid currentColor;
    border-radius: 0 2px;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-25%) rotate(45deg);
  }
  .sg-note__content{
    width: 650px;
    max-width: calc(100% - 40px);
    margin: auto;
  }
  @media (max-width: 767px) {
    .thumb-mask{
      padding: 40px 20px;
      max-width: 360px;
    }
    .thumb-mask__inner{
      flex-direction: column;
    }
    .thumb-mask__image-box{
      width: initial;
      height: initial;
    }
    .thumb-mask__frame {
      width: 70%;
    }
    .voice-link__description{
      gap: 16px;
    }
  }

  .other-works{
    margin: 60px 0;
  }
  .other-works__title{
    font-family: var(--ff-title);
    font-size: var(--fs-ttl-s);
    letter-spacing: var(--ls-base);
    text-indent: var(--ti-adjust);
    font-weight: 900;
    text-align: center;
    margin-bottom: 45px;
  }
  .splide.is-initialized:not(.is-active) .splide__list.other-works__list {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .other-list__link{
    display: block;
    width: 220px;
  }
  .other-list__img {
    width: 220px;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
  }
  .other-list__img img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 50%;
    top: 50%;
    transform: translate(-50% ,-50%);
    transition: .3s;
  }
  a:hover .other-list__img img{
    transform: translate(-50% ,-50%) scale(1.1);
  }
  .other-list__title {
    padding: 4px;
  }
  .other-list__date {
    font-size: 0.66em;
  }
  .other-list__text {
    width: 100%;
    font-weight: bold;
    line-height: 1.2em;
    font-size: var(--fs-txt-m);
  }
  @media (max-width: 767px) {
    .other-works .splide__arrow {
      width: 2.5em;
      height: 2.5em;
    }
    .other-list__link{
      display: block;
      width: 48vw;
      margin: auto;
    }
    .other-list__img{
      width: 100%;
    }
  }