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

title : 刀剣ワールド 戦国武将カード
scope : 刀剣ワールド 戦国武将カード 戦国時代の姫・女武将カード

memo：

last modify : 2023/03/16 tanaka アンカーリンクデザイン変更

2021/05/24 tanaka／WEB2TCI-21345_card-princess-femalewarlordのスタイルを追加
2021/05/06 tanaka／WEB2TCI-20942_列切り替え追加
2020/01/28 TCI福岡／WEB2TCI-18634_余白微調整
2020/12/22 TCI福岡／WEB2TCI-16630

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

/* ------------------------------------ */
/* ▼ MV */
/* ------------------------------------ */
.banner_h1 .txth1 {
  font-size: 0;
  min-width: auto;
}

/* ------------------------------------ */
/* ▼ read */
/* ------------------------------------ */
.desc {
  margin-right: auto;
  margin-left: auto;
  max-width: 800px;
  width: 100%;
}

@media (min-width: 768px) {
  .desc {
    margin-top: 13px;
    padding: 0 10px;
  }
}

@media only screen and (max-width: 767px) {
  .desc {
    margin-top: 10px;
    padding: 0 20px;
  }
}

/* ------------------------------------ */
/* ▼ anchor */
/* ------------------------------------ */
.cmn_anchor>ul>li>a>span {
  line-height: 20px;
}

@media (min-width: 768px) {
  .cmn_anchor {
    margin: 24px auto 31px;
  }
  .cmn_anchor ul {
    max-width: 568px;
    margin: 0 auto;
  }
  .cmn_anchor.type03>ul>li>span,
  .cmn_anchor.type03>ul>li>a {
    font-size: 20px;
    letter-spacing: .05em;
    padding: 14px 0 14px 15px;
  }
}

@media only screen and (max-width: 767px) {
  .cmn_anchor {
    margin: 30px auto 30px;
  }
  .cmn_anchor.type03>ul>li>span,
  .cmn_anchor.type03>ul>li>a {
    font-size: 18px;
  }
}
/* アンカーがないとき調整 */
.desc + .section.h2_icon_pattern {
  margin-top: 30px;
}

/* ------------------------------------ */
/* ▼ section */
/* ------------------------------------ */
.section {
  padding-right: 10px;
  padding-left: 10px;
}

@media (min-width: 768px) {
  .section + .section {
    margin-top: 55px;
  }
}

@media only screen and (max-width: 767px) {
  .section + .section {
    margin-top: 45px;
  }
}

/* ------------------------------------ */
/* ▼ card layout */
/* ------------------------------------ */
.card_contents_wrap {
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
  width: 100%;
}

.card_list_wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 767px) {
  .card_list_wrap {
    background: url(../image/img-blank-01.png) no-repeat bottom 70px right 13%;
    background-size: 30% auto;
  }
  #princess-femalewarlord .card_list_wrap {
    background: url(../image/img-blank-02.png) no-repeat bottom 0 right 0;
    background-size: 48% auto;
  }
}

@media (min-width: 768px) {
  .card_list_wrap {
    background: url(../image/img-blank-01.png) right 0 bottom 0 / 23.4% no-repeat,url(../image/img-blank-02.png) right 33.4% bottom 0 / 23.4% no-repeat;
  }
}
.card_list {
  background-color: #fff;
  box-shadow: 4px 4px 8px -1px rgba(112, 112, 112, .8);
  position: relative;
  width: 23.4058%;
}

@media (min-width: 768px) {
  .card_list_wrap .card_list:nth-of-type(4n+2)::after {
    background: #fff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    left: calc(100% + 16px);
    top: 0;
    width: 100%;
  }
}

.card_list.is_coming_soon {
  box-shadow: none;
}

.coming_soon_text {
  color: #614c23;
  font-weight: 600;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

#princess-femalewarlord .coming_soon_text {
  color:#c92b28;
}

.card_list img {
  vertical-align: bottom;
}

.card_list>a,
.card_list>.no_link {
  display: block;
  width: 100%;
}

.card_list>a {
  transition: opacity .3s;
}

.card_list>a:hover {
  opacity: .6;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .card_list>a:hover {
    opacity: 1;
  }
}

@media (min-width:768px) {
  .card_contents_wrap {
    margin-top: 20px;
    padding-right: 10px;
    padding-left: 10px;
  }
  #princess-femalewarlord .card_contents_wrap {
    margin-top: 30px;
  }
  .card_list:not(:nth-of-type(4n+1)) {
    margin-left: 2.1256%;
  }

  .card_list:nth-of-type(n+5) {
    margin-top: 20px;
  }
}

@media only screen and (max-width:767px) {
  .card_contents_wrap {
    margin-top: 20px;
  }

  .card_list_wrap {
    background-size: 48% auto;
    background-position: right bottom;
    margin-right: auto;
    margin-left: auto;
    max-width: 450px;
  }

  .card_list {
    width: calc(50% - 5px);
  }

  .card_list:nth-of-type(even) {
    margin-left: 10px;
  }

  .card_list:nth-of-type(n+3) {
    margin-top: 10px;
  }

  .card_list>a:hover {
    opacity: 1;
  }
}

@media screen and (max-width:450px) {
  .coming_soon_text {
    font-size: 4vw;
  }
}

/* ------------------------------------ */
/* ▼ related bnr */
/* ------------------------------------ */
@media (min-width: 768px) {
  .related_bnr_section {
    margin-top: 45px;
  }
}

@media only screen and (max-width: 767px) {
  .related_bnr_section {
    margin-top: 40px;
  }
}

/* ------------------------------------ */
/* ▼ row change btn */
/* ------------------------------------ */
button.row_change_btn {
  border: none;
  outline: none;
  padding: 0;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
}

@media (min-width: 768px) {
  .row_change_btn_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 650px;
    margin: 0 auto 20px;
  }

  .row_change_btn {
    background-color: #e49090;
    color: #fff;
    cursor: pointer;
    display: block;
    font-weight: 600;
    text-align: center;
    max-width: 204px;
    width: 100%;
  }

  .row_change_btn_inner {
    display: block;
    padding: 7px 30px 6px 25px;
    position: relative;
  }

  .row_change_btn.is_active {
    background-color: #c92121;
    cursor: default;
    pointer-events: none;
  }

  .row_change_btn:not(.is_active):hover {
    opacity: .8;
  }

  .row_change_btn.is_active .row_change_btn_inner {
    padding-right: 25px;
  }

  .row_change_btn:not(.is_active) .row_change_btn_inner::after {
    border-color: #fff transparent transparent transparent;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    content: '';
    height: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
  }
}

@media (max-width: 767px) {
  .row_change_btn_wrap {
    display: none;
  }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  .row_change_btn_inner {
    padding: 9px 30px 4px 25px;
  }
}

/* ------------------------------------ */
/* ▼ row change  */
/* ------------------------------------ */
@media (min-width: 768px) {
  .card_list_wrap.is_three_col {
    background: url(../image/img-blank-01.png) right 0 bottom 0 / 30% no-repeat;
  }
  .card_list_wrap.is_two_col {
    background: url(../image/img-blank-01.png) no-repeat bottom 0 right 0;
    background-size: calc(50% - 2.1256%) auto;
    margin-right: auto;
    margin-left: auto;
  }
  .card_list_wrap.is_three_col .card_list {
    margin: 0 2% 2% 0;
    width: 32%;
  }
  .card_list_wrap.is_three_col .card_list:nth-of-type(3n) {
    margin-right: 0;
  }
  .card_list_wrap.is_two_col .card_list {
    width: calc(50% - 2.1256%/2);
  }
  .card_list_wrap.is_two_col .card_list:nth-of-type(odd) {
    margin-left: 0;
  }
  .card_list_wrap.is_two_col .card_list:nth-of-type(n+3) {
    margin-top: 20px;
  }
  .card_list_wrap.is_two_col .card_list:nth-of-type(odd)::after {
    background: rgba(255, 255, 255, .4);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    left: calc(100% + 4.4400%);
    top: 0;
    width: 100%;
  }
  .card_list_wrap.is_two_col .card_list:nth-of-type(4n+2)::after {
    content: none;
  }
  .card_list_wrap .card_list:nth-of-type(4n+2)::after {
    background: #fff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    left: calc(100% + 9.0768%);
    top: 0;
    width: 100%;
  }
  .card_list_wrap.is_three_col .card_list:nth-of-type(4n+2)::after {
    content: none;
  }
  .card_list_wrap.is_two_col img,
  .card_list_wrap.is_three_col img {
    width: 100%;
  } 
}