@charset "UTF-8";

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

title : 名古屋刀剣博物館 日本刀の豆知識詳細ページ
scope : 名古屋刀剣博物館 日本刀の豆知識詳細ページ

memo：

last modify : 2023/01/30 tanaka／WEB2TCI-32950 タイトル画像高さに合わせて伸びてしまうのを変更

2020/06/21 TCI五十嵐／WEB2TCI-21961
2020/06/02 TCI五十嵐／WEB2TCI-21586
2020/05/19 TCI五十嵐／WEB2TCI-21491
2020/05/19 TCI五十嵐／WEB2TCI-20695

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

/*==================================
  共通
===================================*/
.wrap_all{
  background: none;
}
.h2_icon_pattern__wrapper{
  padding-bottom: 0;
}
/* ▼ h1 */
.banner_h1 .txth1 {
  background-color: transparent;
  background: url("/app/themes/wp-templ/qa/image/img-touken-qa-main-detail.jpg") center / cover no-repeat;
  color: #000;
  position: relative;
}
.txth1_inner > span > .txth1_inner_small {
  border: 1px solid #000;
  display: inline-block;
  padding: 4px 2px;
}
.cmn_h1_sitetop_name{
  display: inline;
}
@media (min-width: 768px) {
  .banner_h1{
    margin-bottom: 40px;
  }
  .banner_h1 .txth1 {
    font-size: 28px;
  }
  .txth1_inner > span > .txth1_inner_small {
    font-size: 18px;
    margin: 32px auto 0;
    width: 190px;
  }
  .txth1_inner > .txth1_inner_title {
    line-height: 1.4;
    padding: 0.4em 2em 1.2em;
  }
  .cmn_h1_sitetop_name{
    font-size: 60.7144%;
    letter-spacing: .12em;
  }
}
@media (max-width: 767px) {
  .txth1_inner > span > .txth1_inner_small {
    font-size: 14px;
    margin: 10px auto 0;
    width: 130px;
  }
  .txth1_inner > .txth1_inner_title {
    font-size: 24px;
    line-height: 1;
    padding: 0.15em 0.5em 0.4837em;
  }
  .cmn_h1_sitetop_name{
    font-size: 50%;
  }
}
/*==================================
  メイン記事
===================================*/
.article_wrap{
  background: url('../image/bg-article.png') repeat;
  padding: 33px 47px 33px 74px;
  margin: 0 68px 40px 68px;
  position: relative;
  z-index: 1;
}
.article_wrap h2{
  font-size: 22px;
  position: relative;
  padding: 20px;
}
.article_wrap h2::before{
  background: url('../image/bg-list-number.png') no-repeat center;
  content: '';
  color: #fff;
  display: inline-block;
  height: 40px;
  transform: rotate(45deg) translateY(-50%);
  width: 40px;
  position: absolute;
  top: 42%;
  left: -50px;
}
.article_wrap h2::after{
  content: 'Q';
  color: #fff;
  display: inline-block;
  font-size: 21px;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
}
.article_wrap::before{
  background: url('../image/bg-qa-detail.png') no-repeat right top;
  content: '';
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.article{
  width: 100%;
  padding: 20px;
  position: relative;
}

.article p + p {
  margin-top: 15px;
}

.article::before{
  background: url('../image/bg-detail-answer.png') no-repeat center;
  content: '';
  display: inline-block;
  height: 40px;
  transform: rotate(45deg) translateY(-50%);
  width: 40px;
  position: absolute;
  top: 30px;
  left: -50px;
}
.article::after{
  content: 'A';
  color: #665a41;
  display: inline-block;
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","游明朝体","游明朝","Yu Mincho",YuMincho,"ＭＳ Ｐ明朝","HG明朝E","ryo-display-plusn",serif;
  font-size: 21px;
  font-weight: 600;
  position: absolute;
  top: 35px;
  left: -25px;
  transform: translateY(-50%);
}
.article p{
  font-size: 16px;
  line-height: 1.7;
}
.article_wrap figure{
  float: right;
  max-width: 280px;
  margin: 25px 0 12px 36px;
}
.btn{
  clear: both;
  max-width: 234px;
  margin: 0 auto;
}

.article_wrap > p{
  width: 45%;
}
.article_wrap > p img{
  width: 100%;
  height: 100%;
}
/*==================================
  QAリスト
===================================*/
.qa_list{
  display: block;
}
.qa_list ul{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.qa_list ul li{
  padding-left: 20px;
  padding-right: 10px;
  position: relative;
  width: 50%;
  margin-bottom: 15px;
}
.qa_list li a{
  color: #000;
  text-decoration: underline;
  font-size: 15px;
}
.qa_list h2{
  color: #fff;
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  min-width: 197px;
  overflow: hidden;
  padding: .4em 3.6em .248em .8em;
  position: relative;
  vertical-align: bottom;
}
.qa_list h2::before{
  background: #fff;
  content: "";
  display: block;
  height: 50px;
  position: absolute;
  right: -102px;
  top: -2px;
  transform: rotate(50deg);
  width: 200px;
}
.qa_list ul li::before{
  background: url('../image/list-icon.png') no-repeat center;
  background-size: contain;
  content: '';
  display: inline-block;
  height: 13px;
  position: absolute;
  top: 5px;
  left: 0px;
  width: 15px;
}
.qa_list.wcm{
  padding: 25px 0 0 0;
}
.qa_list1,
.qa_list2,
.qa_list3,
.qa_list4,
.qa_list5{
  padding: 0 50px;
}
.qa_list1 li:nth-last-child(2),
.qa_list1 li:last-child,
.qa_list2 li:nth-last-child(2),
.qa_list2 li:last-child,
.qa_list3 li:nth-last-child(2),
.qa_list3 li:last-child,
.qa_list4 li:nth-last-child(2),
.qa_list4 li:last-child,
.qa_list5 li:nth-last-child(2),
.qa_list5 li:last-child
{
  margin-bottom: 10px!important;
}
/* ============= タブ画像 ============= */
.qa_list1 h2{
  background: url('../../image-cmn/tips/bg-category-list01.png') repeat 0 0;
  background-size: 184px auto;
  
}
.qa_list2 h2{
  background: url('../../image-cmn/tips/bg-category-list02.png') repeat 0 0;
  background-size: 184px auto;
}
.qa_list3 h2{
  background: url('../../image-cmn/tips/bg-category-list03.png') repeat 0 0;
  background-size: 184px auto;
}
.qa_list4 h2{
  background: url('../../image-cmn/tips/bg-category-list04.png') repeat 0 0;
  background-size: 184px auto;
}
.qa_list5 h2{
  background: url('../../image-cmn/tips/bg-category-list05.png') repeat 0 0;
  background-size: 184px auto;
}
.qa_list_detail{
  background-color: #f6efe0;
  padding: 20px;
}

/*==================================
  レスポンシブ対応
===================================*/
@media screen and (max-width:767px) {
    .article_wrap{
      margin-right: 10px;
      margin-left: 10px;
      padding-top: 13px;
    }
    .article_wrap h2{
      font-size: 18px;
      padding: 20px 5px;
    }
    .article_wrap figure{
      float: none!important;
      margin: 0 auto;
    }
    .article_wrap h2::before,
    .article_wrap h2::after,
    .article::before,
    .article::after{
      width: 30px;
      height: 30px;
    }
    .article{
      padding: 20px 5px;
    }
    .article_wrap h2::after{
      top: 59%;
      left: -36px;
    }
    .article::after{
      top: 30px;
      left: -33px;
    }
    .qa_list ul{
      display: block;
    }
    .qa_list ul li{
      width: 100%;
    }
    .qa_list_detail{
      padding: .8em;
    }
    .qa_list1,
    .qa_list2,
    .qa_list3,
    .qa_list4,
    .qa_list5{
      padding: 0 10px;
    }
}
@media screen and (max-width:425px){
  .article_wrap{
    padding-left: 50px;
    padding-right: 20px;
  }
  .btn{
    width: 190px;
  }
  .article_wrap h2::after {
    top: 57%;
  }
  .article::after {
    top: 31px;
  }
} 