@charset "UTF-8";

.p-gallery .container {
  padding: 120px 0 180px;
}


.p-gallery-content {
    padding: 130px 30px 0;
}

.p-gallery {
    padding: 0 0 180px;
}



.p-sort {
  margin-bottom: 80px;
    max-width: 180px;
    border-bottom: solid 1px #E0E0E0;
    font-size: 1.5rem;
    background: url("../../../images/post/gallery/ico_sort.svg")no-repeat;
    background-size: 13px;
    background-position: right center;
}

.p-sort-select {
    height: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 30px 0 10px;
    width: 100%;
}

.p-slider-pic {
  margin-bottom: 15px;
  position: relative;
}

.p-slider-pic .pic::before {
  position: absolute;
  content: "";
  border: solid 1px #E0E0E0;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.p-slider-thumbnail .slick-track {
  transform: unset !important;
}

.p-slider-thumbnail .box {
  position: relative;
  cursor: pointer;
  opacity: .3;
  transition: opacity .3s linear;
}


.p-slider-thumbnail .box::before {
  position: absolute;
  content: "";
  border: solid 1px #E0E0E0;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.p-slider-thumbnail .box:last-child {
  margin: 0;
}
.p-slider-thumbnail .slick-current {
  opacity: 1;
}

.p-single-heading {
    font-size: 3.2rem;
    font-weight: bold;
    padding-bottom: 15px;
}

.p-detail p {
    font-size: 1.5rem;
    line-height: 1.9;
}

.p-detail p + p {
  padding-top: 20px;
}

.p-gallery .button {
    max-width: 350px;
    margin: 90px auto 65px;
}

.p-gallery .button a {
    font-size: 2.1rem;
    padding: 22px;
}

.p-gallery .button a span {
    display: inline-block;
    padding-right: 45px;
    background: url("../../../images/post/information/ico_mail.png")no-repeat;
    background-size: 30px;
    background-position: center right;
}

.p-gallery .back {
    text-align: center;
    margin: 0 auto 90px;
}

.p-gallery .back a {
    display: inline-block;
    font-size: 21px;
    font-size: 2.1rem;
    letter-spacing: 0.06em;
    color: #000;
    text-decoration: none;
    padding-left: 35px;
    background: url("../../../images/post/information/ico_archive.png")no-repeat;
    background-size: 22px;
    background-position: center left;
    min-height: 22px;
    transition: .3s;
}

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

  .p-gallery-content {
      padding: 80px 30px 0;
  }

  .p-gallery {
      padding: 0 0 100px;
  }



}

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

  .p-single {
      display: flex;
      justify-content: space-between;
  }

  .p-slider {
      max-width: 470px;
      width: 48%;
  }

  .p-detail {
      max-width: 470px;
      width: 47%;
  }


  .p-slider-thumbnail .box {
    margin: 0 18px 0 0;
  }


}



@media screen and (max-width: 767px){
  .p-sort {
      width: 165px;
      margin-bottom: 30px;
  }


  .p-sort-select {
      font-size: 1.2rem;
      height: 30px;
  }


  .p-gallery-content {
      padding: 45px 20px 0;
  }

  .p-gallery {
      padding: 0 0 60px;
  }

  .p-single-heading {
      font-size: 1.8rem;
  }

  .p-detail {
      margin: 30px auto 0;
  }

  .p-detail p {
      font-size: 1.3rem;
      line-height: 1.5;
  }

  .p-detail p + p {
      padding-top: 10px;
  }

  .p-slider-thumbnail .box {
      float: inherit!important;
      margin: 0 0 9px;
      width: 100%!important;
    }

    .p-slider-pic {
      margin: 0;
      width: calc(100% - 75px);
    }

    .p-slider {
    display: flex;
    justify-content: space-between;
    }

    .p-slider-thumbnail.slick-initialized.slick-slider {
      width: 65px;
    }


    .p-gallery .button {
        max-width: 230px;
        margin: 50px auto 20px;
    }

    .p-gallery .button a {
        font-size: 1.5rem;
        min-height: 55px;
        padding: 15px;
    }

    .p-gallery .button a span {
        background-size: 20px;
        padding-right: 30px;
    }

    .p-gallery .back {
        margin: 0 auto 45px;
    }

    .p-gallery .back a {
        font-size: 1.7rem;
        background-size: 24px;
        min-height: 24px;
    }
}
