@charset "utf-8";

/* --------------------- pc ------------------------------ */
.photo-article-title{
  width:880px;
  margin:0 auto 28px;
  border-bottom:solid 1px #ddd;
  padding-bottom:18px;
  font-weight:500;
}
.photo-article-title a{display:block;font-size:20px;color:#2379ca;position:relative;padding-left:25px;border-style:none !important;}
.photo-article-title a::before{content:"";display:block;position:absolute;top:4px;left:0;width:17px;height:17px;border-left:solid 3px #2379ca;border-bottom:solid 3px #2379ca;transform:rotate(45deg);line-height:1;}

#photo-main-block #photo-main-carousel{overflow:hidden;}
#photo-main-block #photo-main-carousel ul{height:468px;max-width:750px;margin:0;position:relative;}
#photo-main-block #photo-main-carousel li{margin:0;padding:0;line-height:0;}
#photo-main-block #photo-main-carousel li::before{display:none;}
#photo-main-block #photo-main-carousel li.last .article-link {
  gap: 0 20px;
  color: rgb(51, 51, 51);

  .left {
    width: calc(50% - 10px);
  }

  .right {
    width: calc(50% - 10px);
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    line-height: 1;
    .title {
      font-weight: bold;
      margin-bottom: 10px;
      line-height: 1.6em;
    }
    .subtitle {
      font-size: 14px;
      width: 100%;
      margin-bottom: 10px;
    }
    .date {
      font-size: 14px;
    }
  }
}

#photo-main-block #photo-main-carousel li.last .related-articles {
  line-height: 1.5;
  background-color: #f4f4f4;
  padding: 20px;
  margin-top: 20px;
  p {
    margin-bottom: 0;
    font-weight: bold;
  }
  a {
    display: block;
    margin: 10px 0;
    color: rgb(51, 51, 51);
  }
  .pr {
    color: #AAA;
    margin-left: 10px;
  }
}

#photo-main-block figure.image-area{width:750px !important;margin:0 auto;}
#photo-main-block figure figcaption{color:#888;font-size:12px;margin-top:10px;}
#photo-main-block .image-block{position:relative;text-align:center;min-height:468px;}
#photo-main-block .image-block img{color:#fff;max-height: 540px;}
#photo-main-block .image-block .loading{width:100px;margin:0 auto;position:absolute;top:calc(50% - 84px);left:0;right:0;}
#photo-main-block .image-block .photo-num{position:absolute;bottom:10px;left:50%;display:inline-block;background:rgba(0,0,0,0.5);color:#fff;font-size:16px;border-radius:12px;height:24px;line-height:22px;padding:0 15px;letter-spacing:1px;transform:translate(-50%, -50%);-webkit-transform:translate(-50%, -50%);}
#photo-main-block .image-block .error{margin:0 auto;position:absolute;top:calc(50% - 48px);left:0;right:0;}

#photo-thumbnail{margin:18px auto 0;}
#photo-thumbnail::after{content:"";display:block;clear:both;}
#photo-thumbnail .swiper-wrapper {
  flex-wrap: wrap;
}
#photo-thumbnail .swiper-slide {
  display: block;
  float: left;
  width: 64px !important;
  height: 64px;
  position: relative;
  overflow: hidden;
  margin: 0 12px 12px 0;
  box-sizing: border-box;
}
#photo-thumbnail .swiper-slide:nth-child(10n){margin-right:0;}
#photo-thumbnail .swiper-slide:hover,#photo-thumbnail .swiper-slide.swiper-slide-thumb-active{outline: solid 2px #e64b43;}
#photo-thumbnail .swiper-slide:hover,.prevnext-btn:hover {
  cursor: pointer;
}
#photo-thumbnail .swiper-slide a{display:block;width:64px;height:64px;}
#photo-thumbnail .swiper-slide img{position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;max-width:inherit;}
#photo-thumbnail .swiper-slide:last-child {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #adadad;
}
#photo-thumbnail .swiper-slide.swiper-slide-thumb-active:last-child, #photo-thumbnail .swiper-slide:last-child:hover {
  border: none;
}

.provide-site.denshiban {
  margin-top: 30px;
}

.back-to-article{/*width:750px;*/margin:48px auto 0;box-sizing:border-box;}

.vertical-sns-bar{
  margin-right: 40px;
}
#article-body-outer.photo .article-body{
padding:0;
width:750px;
margin: 0 auto;
}
.prevnext-btn-lane-prev{
width:48px;
margin-left:40px;
margin-right:15px;
}
#article-body-outer.photo.fixed-top .prevnext-btn-lane-prev,
#article-body-outer.photo.fixed-bottom .prevnext-btn-lane-prev{
  margin-left:0px;
}
.prevnext-btn-lane-next{
width:48px;
margin-left:15px;
}

.prevnext-btn {
  position: absolute;
  top: 225px;
  width: 48px;
  height: 48px;
  text-indent:150%;
  overflow:hidden;
  white-space:nowrap;
  border-radius: 50%;
  background: #000;
  background-repeat:no-repeat;
  background-size:15px 26px;
  -webkit-background-size:15px 26px;
  -moz-background-size:15px 26px;
  opacity: 0.4;
  z-index: 100;
}
.prevnext-btn:hover {
  opacity:0.5;
}
.prevnext-btn.previous{
  left: -60px;
}
.prevnext-btn.next{
  right: -60px;
}
.prevnext-btn.previous {
  background-image:url(/common/images/bunshun/v1/article/photo/icon_left.png);
  background-position:14px center;
}
.prevnext-btn.next {
  background-image:url(/common/images/bunshun/v1/article/photo/icon_right.png);
  background-position:18px center;
}

/* バナー */
.books-bnr {
  max-width: 100%;
  margin: 20px 0 0;
}
.books-bnr a {
  display: block;
}
.books-bnr a:hover {
  opacity: 0.7;
}
.books-bnr img {
  display: block;
  width: 100%;
}

/* book-cover-carousel */
.book-cover-carousel {
  position: relative;
  padding-bottom: 50px;
  overflow: hidden;
  margin: 20px auto;
  max-width: 750px;

  .heading {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: bold;
  }

  ul.swiper-wrapper {
    margin: 0 !important;

    li.book-cover {
      width: 80%;
      box-sizing: border-box;
      max-width: 350px;
      padding: 15px;
      margin-bottom: 0;
      &::before {
        display: none;
      }
      .flex-side {
        margin-bottom: 0;
      }
      .title {
        font-size: 16px;
      }
      .buy {
        width: 100%;
        margin-top: 10px;
      }
    }
  }

  .swiper-pagination {
    bottom: 10px;
    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      margin: 0 4px;
      background: #000;
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    bottom: 0;
    top: inherit;
    width: auto;
    &::after {
      color: #000;
      font-size: 12px;
      font-weight: bold;
    }
  }

  &.no-carousel {
    padding-bottom: 0;

    ul.swiper-wrapper {
      display: flex;
      justify-content: center;
      gap: 22px;
      li.book-cover {
        margin-right: 0 !important;
        max-width: calc(50% - 11px);
      }
    }

    .swiper-pagination,
    .swiper-button-prev,
    .swiper-button-next {
      display: none;
    }
  }

  &:not(.no-carousel) ul.swiper-wrapper li.book-cover {
    max-width: 300px;
  }

  &.single ul.swiper-wrapper li.book-cover {
    width: 100%;
    max-width: 100%;
    .flex-side {
      align-items: center;
    }
  }

  &:not(.single) ul.swiper-wrapper li.book-cover {
    .image-side {
      width: 108px;
      margin-right: 18px;
    }
    .title__link {
      line-height: 1.4em;
      font-size: 1.4rem;
      display: inline-block;
    }
    .text-side .default{
      line-height: 1.6;
      font-size: 1.3rem;
    }
  }

}