@charset "utf-8";

/* --------------------- SD ------------------------------ */
header.header{
  height: 55px;
  border-bottom: 1px solid #c0c0c0;
}
.fixed-menu{
  display:none;
}
#page-wrapper{
  top:55px;
}
.breadcrumb{
  background:#CCCCCC;
}
.breadcrumb__item[aria-current="page"] {
  color: #9E9E9E;
}
.photo-article-header {
  height: 50px;
  padding: 11px 12px;
  position: relative;
  overflow: hidden;
  background: #000;
}
.photo-article-header a {
  width: 28px;
  display: block;
  line-height: 0;
}
.photo-article-header a.close {
  float: left;
}
.photo-article-header a.gallery {
  float: right;
}


#photo-main-block {
  position: relative;
}
#photo-main-block figure.image-area {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#photo-main-block figure.image-area .photo-num {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 285px;
  display: inline-block;
  background: rgba(132 132 132 / 0.5);
  color: #fff;
  font-size: 12px;
  border-radius: 12px;
  padding: 2px 5px;
}
#photo-main-block figure.image-area img {
  vertical-align: bottom;
}
#photo-main-block figure.image-area #photo-main-carousel {
  height: 300px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  background: #000;
  touch-action: auto;
}
#photo-main-block figure.image-area #photo-main-carousel li {
  width: 100%;
  height: 300px;
}
#photo-main-block figure.image-area #photo-main-carousel li .image-block {
  height: 300px;
  max-height: 300px;
  position: relative;
  justify-content: center;
  align-items: center;
}
#photo-main-block figure.image-area #photo-main-carousel li .image-block img {
  width: auto;
  max-height: inherit;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: inline-block;
  color: #000;
}
#photo-main-block figure.image-area #photo-main-carousel li .image-block img.loading {
  width: 25%;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block {
  margin: 0 10px;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .block h3 {
  text-align: left;
  color: #FFF;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .block .related-list li {
  width: 100%;
  height: auto;
  margin: 8px 0;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .block .related-list li a {
  display: flex;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .block .related-list li a .image {
  width: 30%;
  float: left;
  margin-right: 10px;
  overflow: hidden;
  position: relative;
  height: 62.7px;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .block .related-list li a .title {
  width: 70%;
  float: right;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .block .related-list li a .title h4 {
  text-align: left;
  color: #FFF;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 500;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block-links {
  display: flex;
  width: 100%;
}
#photo-main-block figure.image-area #photo-main-carousel li .related-block .related-block-links .related-back-to-article,
#photo-main-block figure.image-area #photo-main-carousel li .related-block .related-block-links .related-back-to-first {
  display: block;
  border: solid 2px #b1b1b1;
  width: 48%;
  height: 50px;
  line-height: 50px;
  box-sizing: border-box;
  text-align: center;
  color: #2379ca;
  font-size: 14px;
  text-decoration: underline;
  margin: auto;
  background: #fff;
}
#photo-main-block figure figcaption {
  color: #fff;
  font-size: 12px;
  min-height: 50px;
  padding: 0 .5em;
  line-height: 1.4;
  text-align: left;
}
#photo-main-block figure.image-area .error {
  color: #fff;
}

#photo-main-block #photo-main-carousel-dots {
  width: 75px;
  height: 10px;
  margin: 14px auto 5px;
  position: relative;
  overflow-y: hidden;
  line-height: 0;
}
#photo-main-block #photo-main-carousel-dots .slick-dots {
  position: relative;
  bottom: auto;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 50px;
  -webkit-overflow-scrolling: touch;
  font-size: 0;
}
#photo-main-block #photo-main-carousel-dots .slick-dots li {
  width: 10px;
  height: 10px;
  margin: 0 2.5px;
}
#photo-main-block #photo-main-carousel-dots .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}
#photo-main-block #photo-main-carousel-dots .slick-dots li button.scale-1 {
  transform: scale(0.6, 0.6);
}
#photo-main-block #photo-main-carousel-dots .slick-dots li button.scale-2 {
  transform: scale(0.4, 0.4);
}
#photo-main-block #photo-main-carousel-dots .slick-dots li button.scale-3 {
  transform: scale(0, 0);
}
#photo-main-block #photo-main-carousel-dots .slick-dots li.slick-active button {
  background: #e3413a;
}
#photo-main-block #photo-main-carousel-dots .slick-dots li button::before {
  display: none;
}

#photo-thumbnail {
  width: 100%;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  overflow-y: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  background: rgba(0, 0, 0, 0.8);
  line-height: 0;
}
#photo-thumbnail.active {
  opacity: 1;
  visibility: visible;
}
#photo-thumbnail ul {
  padding-bottom: 50px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  font-size: 0;
}
#photo-thumbnail .image-block {
  margin: 18px 0 0 20px;
  display: inline-block;
  box-sizing: content-box;
  vertical-align: top;
}
#photo-thumbnail .image-block:last-child {
  margin-right: 20px;
}
#photo-thumbnail .image-block img {
  max-height: 64px;
}
#photo-thumbnail .image-block.is-selected img {
  padding-bottom: 5px;
  display: block;
  border-bottom: solid 2px #fff;
}

/* iphone5 */
@media screen and (max-width: 320px) {
  #photo-thumbnail {}
}
/* iphone5 */
@media screen and (min-width: 321px) and (max-width: 360px) {
  #photo-thumbnail {}
}
/* iphone6plus */
@media screen and (min-width: 414px) and (max-width: 500px) {
  #photo-thumbnail {}
}
/* iphone5(landscape) */
@media (min-width: 568px) and (orientation: landscape) {
  #photo-thumbnail {}
}
/* iphone6(landscape) */
@media (min-width: 667px) and (orientation: landscape) {
  #photo-thumbnail {}
}
/* iphone6plus(landscape) */
@media (min-width: 736px) and (orientation: landscape) {
  #photo-thumbnail {}
}

.back-to-article-outer, .back-to-article-outer-last {
  background: #000;
  padding: 0.5em 0.2em;
}
.back-to-article {
  margin: 0 auto;
  box-sizing: border-box;
  border: solid 2px #b1b1b1;
}
.back-to-article-outer .back-to-article {
  display: inline-block;
  width: 49%;
}
.back-to-article-outer-last .back-to-article {
  display: block;
}
.back-to-article a {
  display: block;
  height: 60px;
  line-height: 60px;
  box-sizing: border-box;
  text-align: center;
  color: #2379ca;
  font-size: 16px;
  text-decoration: underline;
  margin: auto;
  background: #fff;
}

/* ---------------------  photo-main-block-v2 ------------------------------ */
.ttl-box{
  display: flex;
  align-items: center;
  padding: 8px;
  overflow-x: scroll;
  white-space: nowrap;
}
p.breadcrumb_article{
  display: block;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
}
p.breadcrumb_article a{
  color: #2379ca;
}
p.breadcrumb_article:after{
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 5px;
  margin-right: 8px;
  display: inline-block;
  position: relative;
  top: -1px;
  border-bottom: solid 1px #333;
  border-right: solid 1px #333;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}
h1.ttl {
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
  display: block;
  max-width: 1200px;
}

.link-back-to-article {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  width: 100%;
  z-index: 100;
}
.link-back-to-article.js-down-move {
animation: down-anime 0.5s forwards;
}
@keyframes down-anime{
  from {
  	opacity: 0;
  transform: translateY(-100px);
  }
  to {
  	opacity: 1;
  transform: translateY(0);
  }
}

.link-back-to-article.js-up-move {
animation: up-anime 0.5s forwards;
}

@keyframes up-anime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 0;
  transform: translateY(-100px);
  }
}

.link-back-to-article-item{
  flex-grow: 1;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid #c0c0c0;
  z-index: 100;
  display: block;
  font-size: 12px;
  font-size: 1.2rem;
}
.link-back-to-article .link-back-to-article__arrow {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 0.1em;
  background: #333;
  margin-right: 7px;
}
.link-back-to-article .link-back-to-article__arrow::before {
  content: '';
  width: 0.65em;
  height: 0.65em;
  border: 0.1em solid #333;
  border-top: 0;
  border-right: 0;
  transform: rotate(45deg);
  transform-origin: bottom left;
  position: absolute;
  left: 0px;
  top: calc(50% - 0.67em);
  box-sizing: border-box;
}
.link-back-to-article .link-back-to-article-item.-next .link-back-to-article__arrow,
.link-back-to-article .link-back-to-article-item.-next .link-back-to-article__arrow:before,
.link-back-to-article .link-back-to-article-item.-next .link-back-to-article__arrow:after{
  content: '';
  display: inline-block;
  height: 1px;
  width: 24px;
  background: #333;
}
.link-back-to-article-item.-next{
  text-align: right;
  border: none;
  border-bottom: 1px solid #c0c0c0;
  color: #333;
}
.link-back-to-article .link-back-to-article-item.-next .link-back-to-article__arrow {
  position: relative;
  margin: 0 0 0 7px;
}
.link-back-to-article .link-back-to-article-item.-next .link-back-to-article__arrow:before{
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  transform: none;
}
.link-back-to-article .link-back-to-article-item.-next .link-back-to-article__arrow:after{
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
}

#photo-main-carousel-v2 .image-block {
  background: #000;
  text-align: center;
  max-height: 300px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center
}
#photo-main-carousel-v2 .image-block img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 300px;
}
#photo-main-carousel-v2 .bottom {
  padding: 5px 8px 8px;
  font-size: 12.5px;
  line-height: 1.3;
  text-align: left;
  background: #000;
  color: #fff;
  position: relative;
  top: -1px;
  margin-bottom: -1px;
}
#photo-main-carousel-v2 .photo_bottom_text-guide{
  text-align: center;
  color: #999;
  padding: 6px 0;
  font-size: 12px;
  position: relative;
  background: #e9e9e9;
}

#photo-main-carousel-v2 .btn-more-images{
  display: block;
  text-align: center;
  padding: 10px;
  margin: 10px auto;
  border: solid 2px #AEAEAE;
  color: #2379ca;
  width: calc(100% - 20px);
  background: none;
}
#photo-main-carousel-v2 .btn-more-images span{
  text-decoration: underline;
}

.box-more-images{
  position: fixed;
  top: 0;
  bottom: 0;
  right: -100vw;
  transition: 0.2s ease 0.1s;
  z-index: 9999;
  background-color: #fff;
  width: 90vw;
  padding: 50px 0 250px;
}
.box-more-images.open{
  right: 0;
  overflow: scroll;
}
.box-more-images .overlay-content{
  position: initial;
  background-color: #fff;
}
.box-more-images .overlay-content .btn-side .closebtn{
  color: #333;
  top: 0;
}
.box-more-images .overlay-content .block-header{
  color: #333;
  margin-bottom: 15px;
}
.box-more-images .overlay-content .block-header h2{
  font-size: 18px;
  font-size: 1.8rem;
}
.box-more-images .overlay-content .flex{
  row-gap: 7px;
  column-gap: 10px;
  background-color: #000;
  padding: 10px;
}
.box-more-images .image-block{
  width: calc((100% - 10px) / 2);
  max-height: 120px;
  background-color: #000;
}
.box-more-images .image-block img{
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.box-more-images .more-link{
  width: calc(100% - 20px);
  background-color: #fff;
  border: solid 2px #AEAEAE;
  margin: 20px auto 0;
  padding: 10px;
  max-height: fit-content;
}
.box-more-images .more-link a p{
  font-weight: bold;
  line-height: 1.5;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}
.box-more-images .more-link a p:after{
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-bottom: solid 2px #000;
  border-right: solid 2px #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#photo-main-carousel-v2 .bottom .photo-caption,
#photo-main-carousel-v2 .bottom .photo-number {
  margin-top: 5px;
}
#photo-main-carousel-v2 .bottom .photo-caption {
  text-align: left;
  width: 80%;
}
#photo-main-carousel-v2  .bottom .photo-number {
 width: 20%;
 text-align: right;
}
#photo-main-carousel-v2 .link-to-related {
  width: 100%;
}
#photo-main-carousel-v2 .link-to-related a {
  display: block;
  margin: 10px;
  text-align: center;
  border: 2px solid #aeaeae;
  color: #2379ca;
  padding: 10px;
  border-radius: 4px;
  font-size: 15px;
}

#photo-main-carousel-v2 .sd_banner01_photo {
  margin: 20px auto 10px;
  width: fit-content;
}

#photo-main-carousel-v2 .ats_custom_inarticle_wrapper {
  margin: 0;
  padding: 20px 0;
  min-height: 250px;
}

#photo-main-carousel-v2 .recommend-articles.sp {
  margin: 0;
  padding: 10px 24px;
  min-height: 230px;
}

.taboola-mid-article-thumbnails {
  min-height: 180px;
}

.taboola-mid-article-thumbnails.trc_elastic_exchange-thumbs-feed-es .trc_rbox_outer .videoCube {
  margin-bottom: 0;
}

.photo-block-series,
.photo-block-related{
  margin: 20px 10px 10px;
}

.image-area .photo-block-series,
.image-area .photo-block-related {
  padding: 10px;
  margin: 0;
  min-height: 100px;
  display: flex;
  align-items: center;
}

.photo-block-series a.btn,
.photo-block-related a.btn {
  margin-bottom: 0;
  padding: 10px;
  height: max-content;
}

.photo-block-series a.btn span.fixed-label,
.photo-block-series a.btn span.link-label,
.photo-block-related a.btn span.fixed-label,
.photo-block-related a.btn span.link-label {
  font-size: 13px;
  font-size: 1.3rem;
}

/*スクロールガイドのオーバレイ*/
.photo-scrollguide-overlay {
  position: fixed;
  background: rgba(0,0,0, 0.8) top left no-repeat;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-scrollguide-overlay__text {
  position: relative;
  display: inline-block;
}

.photo-scrollguide-overlay__text:before{
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    right: 0;
    bottom: -12px;
    margin: auto;
    background: url("/common/images/bunshun/v1/article/photo/arrow-down-white.svg") top left no-repeat;
    display: inline-block;
    transform: translate(0,10px);
    animation: guideMove 2s infinite;
}

@keyframes guideMove{
  0%{
    transform: translate(0,10px);
  }
  100%{
    transform: translate(0,20px);
  }
}

.ats_custom_inarticle_wrapper {
  padding-top: 34px;
}

/*画像下広告中央合わせ*/
.ats_custom_inarticle{
    display: block;
    text-align: center;
}

/*誘導枠*/
.provide-site.denshiban {
  margin: 20px 16px 10px;
}
.provide-site.denshiban .logo,.provide-site.denshiban .title {
  line-height: 1.6;
}
.provide-site.denshiban .provide-articles li a {
  color: #2379ca;
  line-height: 1.4;
}

/*パートナーリンクからの遷移時のみ*/
.partnerlink.js-active .btn-subscription{
  display:none;
}
.partnerlink.js-active .header-btn{
  display:none;
}
.partnerlink.close-btn{
  display: none;
}
.partnerlink.js-active .close-btn{
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 0px;
  color: #fff;
  display: block;
  width: 75px;
  padding: 0;
  text-align: center;
}
.partnerlink.js-active .close-btn a{
  display: block;
  line-height: 10px;
  height: 100%;
}
.partnerlink.js-active .close-btn a img{
  width: 100%;
  max-width: 20px;
  margin-top: 10px;
}
.partnerlink.js-active .close-btn a span{
  font-size: 12px;
  font-size: 1.2rem;
  color: #333;
  display: inline-block;
  margin-top: 5px;
}
.partnerlink.this-link,.partnerlink.related.js-active,.partnerlink.series.js-active{
  display:none;
}
.partnerlink.this-link.js-active {
  display: flex;
}
.partnerlink.this-link.first a.btn span.link-label{
  font-weight: bold;
}

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

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

  .book-cover {
    width: 86%;
    box-sizing: border-box;
    padding: 3%;
    &::before {
      display: none;
    }
    .flex-side {
      margin-bottom: 0;
    }
    .title__link {
      font-size: 1.3rem;
      line-height: 1.4em;
      display: inline-block;
    }
    .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;
    .swiper-pagination,
    .swiper-button-prev,
    .swiper-button-next {
      display: none;
    }
  }

  &.single .book-cover {
    width: 100%;
    .flex-side {
      align-items: center;
    }
  }

}