/* ==========================================================

title : 刀剣・日本刀写真集【名古屋刀剣ワールド】
scope : 刀剣・日本刀写真集【名古屋刀剣ワールド】

last modify：2023/08/18 WEB2TCI-32110_tanaka スライドアニメーション共通化

2021/10/07 WEB2TCI-22039_igarashi 刀剣・日本刀写真集新規作成
========================================================== */

/*  共通上書き  */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}
img {
  vertical-align: bottom;
}
.w960 {
  max-width: 960px;
  margin: 0 auto;
}
/* ------------------------------------ */
/* ▼ .photo_wrap */
/* ------------------------------------ */
.photo_wrap_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.photo_wrap_list li {
  overflow: hidden;
  position: relative;
}
.photo_wrap_list li a {
  height: 100%;
}
.photo_wrap_list .photo .photo_thum {
  width: 100%;
}
.photo a {
  display: block;
}
.photo a p {
  color: #fff;
  font-size: 18px;
  left: 50%;
  line-height: 1.4;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  bottom: 25px;
  z-index: 1;
  width: 78%;
}
.photo a:hover {
  color: #ffffff;
  opacity: .8;
}

@media only screen and (max-width: 1024px)  {
  .photo_wrap {
    padding: 0 10px;
  }
  .photo_wrap_list li {
    margin: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .photo a p {
    font-size: 18px;
    font-weight: 600;
  }
}

/* ------------------------------------ */
/* ▼ .cmn_link_btn */
/* ------------------------------------ */
.showcase_box .cmn_link_btn {
  margin-top: 10px;
  width: 255px;
}
.showcase_box .cmn_link_btn_inner {
  pointer-events: none;
}
.showcase_box .cmn_link_btn_text {
  font-size: 15px;
}

/* ------------------------------------ */
/* ▼ .fancybox */
/* ------------------------------------ */
.fancybox:after {
  background: url(../image/ico_zoom01.png) no-repeat;
  background-size: 100%;
  bottom: 0;
  border: 1px solid #fff;
  content: '';
  display: block;
  height: 28px;
  position: absolute;
  right: 0;
  width: 28px;
}
.fancybox-arrow:after {
  top: 0;
}

@media only screen and (max-width: 767px)  {
  .fancybox-arrow {
    top: 46.7%;
  }
}

/* ------------------------------------ */
/* ▼ .showcase_box */
/* ------------------------------------ */
.showcase_box {
  background: none;
  display: none;
  font-size: 0;
  height: auto;
  text-align: center;
  max-width: 900px;
  overflow: visible;
  padding: 0;
  width: 100%;
}
.showcase_box .showcase_box__content p {
  color: #c3b79a;
  font-size: 18px;
  padding: 10px;
  text-align: center;
}
.showcase_box .zoomer .zoomer-holder {
  box-shadow: 0 0 1px 0px rgba(80, 80, 80, 0.5);
}
.showcase_box .showcase_box__content img {
  display: block;
  height: auto;
  margin: auto;
  width: auto;
}
@media (max-width:767px) {
  .showcase_box .showcase_box__content p {
    font-size: 18px;
  }
}
.zoomer_basic {
  height: 210px;
  width: 100%;
  overflow: hidden;
}
.zoomer_fancy {
  height: 500px;
  width: 100%;
}
.zoomContainer {
  z-index: 99999;
}
.fancybox-enabled body {
  width: auto;
}
body .fancybox-close-small {
  background: url(../image/close.jpg) no-repeat top left;
  height: 35px;
  top: -20px;
  transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  width: 35px;
}
.fancybox-close-small:after {
  display: none;
}
.fancybox-close-small:hover {
  opacity: 0.5;
}
.fancybox-arrow--left:after,
.fancybox-arrow--right:after {
  background-color: #848484;
}
.fancybox-show-nav .fancybox-arrow {
  opacity: 1;
}
.showcase_change_zoom {
  background: #fff;
  border: 1px solid #8E8E8E;
  bottom: -30px;
  display: none;
  font-size: 0;
  height: 30px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 117px;
}
.showcase_change_zoom a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  height: 100%;
  line-height: 30px;
  outline: none;
  text-align: center;
  vertical-align: top;
  width: 50%;
}
.showcase_change_zoom a:first-child {
  border-right: 1px solid #8E8E8E;
}
.showcase_change_zoom a.active {
  background: #8E8E8E;
  color: #fff;
}
.fancybox-is-open .showcase_change_zoom {
  display: block;
}
.zoomer_wrapper,
.zoomer .zoomer-positioner,
.zoomer .zoomer-holder,
.zoomer {
  background: none;
  margin: 0;
  padding: 0;
}
.zoomer {
  padding: 0;
}
.fancybox-is-open .fancybox-bg {
  background: rgba(6, 6, 9, 0.9);
  opacity: 1;
}
.showcase_box1 .zoomer_basic {
  height: 187px;
}

@media (min-width: 767px) and (max-width: 1024px) {
  .showcase_box .showcase_box__content img {
    border: none;
  }
}

@media (max-width: 767px) {
  .zoomer_fancy {
    height: 380px;
  }
}
/* add banner 9/5/2018 */
.box_detail__banner {
  max-width: 416px;
  margin: 30px auto 0;
  display: none;
}
.box_detail__banner figcaption {
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0;
  text-align: left;
}
.box_detail__banner a:hover {
  opacity: 0.5;
}

/* close add banner 9/5/2018 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .btn_red span {
    padding: 12px 45px 10px 25px;
  }
  .box_search_detail a.btn_red_arr span {
    padding: 14px 45px 8px 25px;
  }
}

.zoomer .zoomer-controls {
  background: none;
  box-shadow: none;
}
.zoomer .zoomer-controls span {
  background: rgba(255,255,255,1);
  margin: 0 15px;
}
.zoomer .zoomer-controls:before {
  display: none;
}
.zoomer .zoomer-controls-top,
.zoomer .zoomer-controls-bottom {
  margin-left: -60px;
  transform: translate3d(0, 0, 0);
}
.zoomer .zoomer-controls span.zoomer-zoom-out:hover,
.zoomer .zoomer-controls span.zoomer-zoom-in:hover {
  background: #333;
}

@media (max-width: 1024px) {
  .seo_frame__wrapper {
    background: #ffffff;
  }
}

@media (max-width: 767px) {
  .btn_red span {
    padding: 11px 35px 11px 18px;
  }
}

/* ------------------------------------ */
/* ▼ 共通設定 */
/* ------------------------------------ */
.banner_h1 .txth1{
  background-color: initial;
}
.mt_004{
  margin-top: .4%;
}

/* ------------------------------------ */
/* ▼ タグ設定 */
/* ------------------------------------ */
.photo span.tag{
  color: #fff;
  display: inline-block;padding: 3px 6px;
  font-size: 14px;
  left: 17px;
  position: absolute;
  top: 14px

}
/* 重要文化財 */
.photo span.tag01{
  background-color: #6e624d;
}

/* 重要美術品 */
.photo span.tag02{
  background-color: #734d6b;
}

/* 特別重要刀剣 */
.photo span.tag03{
  background-color: #96514d;
}
/* 重要刀剣 */
.photo span.tag04{
  background-color: #9e6034;
}

/* 特別保存刀剣 */
.photo span.tag05{
  background-color: #55693a;
}

/* 未鑑定 */
.photo span.tag06{
  background-color: #b07b9c;
}

.photo .sword_tag {
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  padding: 2px 8px;
  border: 1px solid #fff;
  margin-top: 5px;
}

/* ------------------------------------ */
/* ▼ レイアウト設定 */
/* ------------------------------------ */
/* ▼ .type_a 左下にスペーサー */
.type_a.photo_wrap_list:first-of-type {
  margin-top: 4%;
}
.type_a.photo_wrap_list li {
  height: 100%;
}
.type_a.photo_wrap_list li:nth-of-type(1){
  width: 42.3%;
}
.type_a.photo_wrap_list li:nth-of-type(2){
  width: 57.2%;
}
.type_a.photo_wrap_list li:nth-of-type(3){
  margin-top: -14.5%;
  width: 42.3%;
}
.type_a.photo_wrap_list li:nth-of-type(4){
  margin-top: 0.5%;
  width: 57.2%;
}
.type_a.photo_wrap_list li:nth-of-type(5){
  margin-top: -29.5%;
  text-align: center;
  width: 42.3%;
}
/* ▼ .type_b 右下にスペーサー */
.type_b.photo_wrap_list li:nth-of-type(1){
  width: 57.2%;
}
.type_b.photo_wrap_list li:nth-of-type(2){
  width: 42.3%;
}
.type_b.photo_wrap_list li:nth-of-type(3){
  margin-top: 0.5%;
  width: 57.2%;
}
.type_b.photo_wrap_list li:nth-of-type(4){
  margin-top: -14.5%;
  width: 42.3%;
}
.type_b.photo_wrap_list li:nth-of-type(5){
  margin-top: -29.5%;
  margin-left: auto;
  text-align: center;
  width: 42.3%;
}
/* ▼ .type_c 画像2つ＆スペーサー */
.type_c.photo_wrap_list li {
  height: 100%;
}
.type_c.photo_wrap_list li:nth-of-type(1){
  width: 42.3%;
}
.type_c.photo_wrap_list li:nth-of-type(2){
  width: 57.2%;
}
.type_c.photo_wrap_list li:nth-of-type(3){
  margin-top: -14.5%;
  margin-right: auto;
  text-align: center;
  width: 42.3%;
}
/* ▼ .type_d 画像3つ＆スペーサー */
.type_d.photo_wrap_list li {
  height: 100%;
}
.type_d.photo_wrap_list li:nth-of-type(1){
  width: 57.2%;
}
.type_d.photo_wrap_list li:nth-of-type(2){
  width: 42.3%;
}
.type_d.photo_wrap_list li:nth-of-type(3){
  width: 57.2%;
}
.type_d.photo_wrap_list li:nth-of-type(4){
  margin-top: -14.5%;
  width: 42.3%;
}
/* ▼ .type_e 縦長画像＆左下スペーサー */
.type_e.photo_wrap_list li {
  height: 100%;
}
.type_e.photo_wrap_list li:nth-of-type(1){
  width: 42.3%;
}
.type_e.photo_wrap_list li:nth-of-type(2){
  width: 57.2%;
}
.type_e.photo_wrap_list li:nth-of-type(3){
  width: 42.3%;
}
.type_e.photo_wrap_list li:nth-of-type(4){
  margin-top: -29.4%;
  width: 57.2%;
}

@media (max-width: 768px) {
  .type_e.photo_wrap_list li:nth-of-type(4) {
    margin-top: -31%;
  }
}

/* ▼ .type_f 縦長画像＆右下スペーサー（type_eの反転） */
.type_f.photo_wrap_list li {
  height: 100%;
}
.type_f.photo_wrap_list li:nth-of-type(1){
  width: 42.3%;
  order: 2;
}
.type_f.photo_wrap_list li:nth-of-type(2){
  width: 57.2%;
  order: 1;
}
.type_f.photo_wrap_list li:nth-of-type(3){
  width: 42.3%;
  order: 4;
}
.type_f.photo_wrap_list li:nth-of-type(4){
  margin-top: -29.4%;
  width: 57.2%;
  order: 3;
}

@media (max-width: 768px) {
  .type_f.photo_wrap_list li:nth-of-type(4) {
    margin-top: -31%;
  }
}

/* ▼ .type_g 画像3枚 左上spacer*/
.type_g.photo_wrap_list li:nth-of-type(1) {
  width: 57.2%;
}
.type_g.photo_wrap_list li:nth-of-type(2) {
  width: 42.3%;
}
.type_g.photo_wrap_list li:nth-of-type(3) {
  width: 57.2%;
  margin-top: -14.8%;
}
.type_g.photo_wrap_list li:nth-of-type(4) {
  width: 42.3%;
  margin-top: .5%;
}

@media (max-width: 1024px) {
  .type_g.photo_wrap_list li:nth-of-type(3) {
    margin-top: -14.8%;
  }
}
@media (max-width: 768px) {
  .type_g.photo_wrap_list li:nth-of-type(3) {
    margin-top: -14.4%;
  }
}

/* ▼ .type_h 画像3枚 右上spacer（type_gの反転）*/
.type_h.photo_wrap_list li:nth-of-type(1) {
  width: 57.2%;
  order: 2;
}
.type_h.photo_wrap_list li:nth-of-type(2) {
  width: 42.3%;
  order: 1;
}
.type_h.photo_wrap_list li:nth-of-type(3) {
  width: 57.2%;
  margin-top: -14.4%;
  order: 4;
}
.type_h.photo_wrap_list li:nth-of-type(4) {
  width: 42.3%;
  margin-top: .5%;
  order: 3;
}

@media (max-width: 1024px) {
  .type_h.photo_wrap_list li:nth-of-type(3) {
    margin-top: -14.8%;
  }
}
@media (max-width: 768px) {
  .type_h.photo_wrap_list li:nth-of-type(3) {
    margin-top: -14.4%;
  }
}

/* ▼ .type_i 画像2枚 右上spacer*/
.type_i.photo_wrap_list li:nth-of-type(1){
  width: 57.2%;
}
.type_i.photo_wrap_list li:nth-of-type(2){
  margin-right: auto;
  text-align: center;
  width: 42.3%;
}
.type_i.photo_wrap_list li:nth-of-type(3){
  width: 42.3%;
  margin-left: auto;
  margin-top: -46.5%;
}

@media (max-width: 1024px) {
  .type_i.photo_wrap_list li:nth-of-type(3) {
    margin-left: auto;
    margin-top: -47.4%;
  }
}
@media (max-width: 768px) {
  .type_i.photo_wrap_list li:nth-of-type(3) {
    margin-left: auto;
    margin-top: -46.7%;
  }
}


/* ▼ .type_j 画像2枚 左上spacer（type_iの反転）*/
.type_j.photo_wrap_list li:nth-of-type(1){
  width: 57.2%;
  order: 2;
}
.type_j.photo_wrap_list li:nth-of-type(2){
  margin-right: auto;
  text-align: center;
  width: 42.3%;
  order: 1;
}
.type_j.photo_wrap_list li:nth-of-type(3){
  width: 42.3%;
  margin-top: -46.5%;
  order: 3;
}

@media (max-width: 1024px) {
  .type_j.photo_wrap_list li:nth-of-type(3) {
    margin-left: auto;
    margin-top: -47.4%;
  }
}
@media (max-width: 768px) {
  .type_j.photo_wrap_list li:nth-of-type(3) {
    margin-left: auto;
    margin-top: -46.7%;
  }
}

/* ▼ .type_k 画像4枚 中央右spacer（type_bベース）*/
.type_k.photo_wrap_list li:nth-of-type(1){
  width: 57.2%;
  order: 1;
}
.type_k.photo_wrap_list li:nth-of-type(2){
  width: 42.3%;
  order: 2;
}
.type_k.photo_wrap_list li:nth-of-type(3){
  margin-top: 0.5%;
  width: 57.2%;
  order: 3;
}
.type_k.photo_wrap_list li:nth-of-type(4){
  margin-top: -46.5%;
  margin-left: auto;
  width: 42.3%;
  order: 5;
}
.type_k.photo_wrap_list li:nth-of-type(5){
  margin-top: -14.9%;
  margin-left: auto;
  text-align: center;
  width: 42.3%;
  order: 4;
}

/* ▼ .type_l 画像4枚 中央左spacer（type_aベース）*/
.type_l.photo_wrap_list li {
  height: 100%;
}
.type_l.photo_wrap_list li:nth-of-type(1){
  width: 42.3%;
  order: 1;
}
.type_l.photo_wrap_list li:nth-of-type(2){
  width: 57.2%;
  order: 2;
}
.type_l.photo_wrap_list li:nth-of-type(3){
  margin-top: -46.5%;
  width: 42.3%;
  order: 5;
  
}
.type_l.photo_wrap_list li:nth-of-type(4){
  margin-top: 0.5%;
  width: 57.2%;
  order: 4;
}
.type_l.photo_wrap_list li:nth-of-type(5){
  margin-top: -14.5%;
  text-align: center;
  width: 42.3%;
  order: 3;
}

.photo_wrap .photo.size_s img,
.photo_wrap .photo.size_m img, 
.photo_wrap .photo.size_l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo_wrap .photo.size_s {
  height: 446px;
}
.photo_wrap .photo.size_m {
  height: 590px;
}
.photo_wrap .photo.size_l {
  height: 876px;
}


@media (max-width: 768px) {
  .photo_wrap .photo.size_s {
    height: 348px;
  }
  .photo_wrap .photo.size_m {
    height: 460px;
  }
  .photo_wrap .photo.size_l {
    height: 697px;
  }
  
}

@media (max-width: 767px) {
  .photo_wrap .photo.size_s {
    height: 188px;
  }
  .photo_wrap .photo.size_m {
    height: 249px;
  }
  .photo_wrap .photo.size_l {
    height: 377px;
  }
}

@media (max-width: 375px) {
  .photo_wrap .photo.size_s {
    height: 165px;
  }
  .photo_wrap .photo.size_m {
    height: 218px;
  }
  .photo_wrap .photo.size_l {
    height: 331px;
  }
}

/* アニメーションボタンcss */
@media (min-width: 768px) {
  .cmn_animation_btn_wrap {
    max-width: 960px;
  }
}


/* ------------------------------------ */
/* ▼ モーダルデザイン変更
/* ------------------------------------ */
:root {
  --vh: 1vh;
}
.showcase_box {
  margin: 0;
  max-width: none;
}
.fancybox-slide > .showcase_box  {
  margin: 0;
}
.showcase_box .showcase_box__content p {
  margin: 0;
}
body .fancybox-close-small {
  border: 1px solid #cccccc;
  height: 37px;
  top: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  width: 37px;
}
.fancybox-close-small::after {
  display: none;
}
.fancybox-close-small:hover {
  opacity: 0.5;
}
.zoomer_wrapper,
.zoomer .zoomer-positioner,
.zoomer .zoomer-holder,
.zoomer {
  background:none;
  margin: 0;
  padding: 0;
}

.showcase_box_cap {
  background-color: rgba(68, 68, 68, .6);
  border-bottom-right-radius: 8px;
  left: 0;
  line-height: 1;
  padding: 20px 25px;
  position: absolute;
  text-align: left; 
  top: 0; 
} 
.showcase_box_cap .showcase_box_cat {
  background: #734d6b;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  letter-spacing: .06em;
  line-height: 1.3;
  margin-bottom: 12px;
  padding: 4px 10px;
}
.showcase_box .showcase_box__content p.showcase_box_tit {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
  text-align:left;
}
.showcase_box_cap .showcase_box_btn {
  font-size:18px;
  margin-top:18px;
  width: 240px;
}
.showcase_box_cap .showcase_box_btn .cmn_link_btn_text {
  font-weight:600;
}
.showcase_box_cap .colw {
  border-top-color: #fff;
  margin-bottom: 15px;
  margin-top: 15px;
  
}
.zoomer_fancy {
  height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
}
.fancybox-close-small:hover {
  opacity: 0.5;
}
.fancybox-arrow--left::after,
.fancybox-arrow--right::after {
  background-color: #848484;
}
.zoomer {
  padding: 0;
}
.zoomer .zoomer-controls {
  background: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.zoomer .zoomer-controls span {
  background: rgba(255, 255, 255, 1);
  border: 1px solid #cccccc;
  margin: 0 15px;
}
.zoomer .zoomer-controls::before {
  display: none;
}

.zoomer .zoomer-controls-top,
.zoomer .zoomer-controls-bottom {
  margin-left: -60px;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.zoomer .zoomer-controls span.zoomer-zoom-out:hover,
.zoomer .zoomer-controls span.zoomer-zoom-in:hover {
  background: #333;
}

@media (min-width: 768px) {
  .showcase_box_cap {
    max-width: 330px;
  }
}