@charset "utf-8";
/* CSS Document */
@import url("newmo_magazine_detail.css");
@import url("shop.css");

/*shop.cssのpanListの打ち消す*/
#panList {
  display: block!important;
}

#contents{
  padding-bottom: 0;
}

#main {
  max-width: 1200px;
  width: 100%;
  float: none;
  font-size: 1.4rem;
}

#sub {
  display: none;
}

body {
  font-size: 14px;
}

/*-----------  layout    --------------*/

.flexCont{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.flexCont .innerBox{
  width: 69%;
}

.magazineAside{
  width: 26%;
}


.list__wrapper{
  margin: 30px auto 40px;
  line-height: 1.5;
}

.list__wrapper h2,.innerContTitle {
  padding-bottom: 5px;
  font-size: 26px;
  position: relative;
  border-bottom: 3px solid #D8D8D8;
  margin-bottom: 30px;
}
.list__wrapper h2::before,
.innerContTitle::before {
  content: '';
  position: absolute;
  bottom: -3px;
  width: 10%;
  height: 3px;
  background: #FD5E96;
}

.card__wrapper a{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  position: relative;
  align-items: start;
  text-decoration: none;
  color: #000;
}

.card__wrapper ul li{
  margin-bottom: 30px;
  color: #F15397;
}

.card__wrapper a:hover{
  background: rgb(255, 235, 235, .5);
}

.card__thumbnail{
  width: 23%;
  margin-right: 2%;
  margin-bottom: 0;
}

.card__thumbnail img{
  max-width: 160px;
  width: 100%;
}

.card__textbox{
  width: 75%;
}

.card__title{
  font-size: 16px;
  font-weight: 600;
  line-height: 160%;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.card__title .new__icon {
  display: inline-block;
  font-size: 12px;
  padding: 0 14px;
  background-color: #FF3232;
  margin-left: 20px;
  color: #fff;
}

.card__text{
  margin-bottom: 16px;
}

.card__button{
  display: inline-block;
  text-align: right;
  margin: -30px 40px 0 auto;
}

.card__button a{
  text-decoration: none;
  color: #000;
  position: relative;
}

.card__button__arrow{
  width: 26px;
  height: 26px;
  border: 0.1em solid #000;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  position: absolute;
  bottom: 25px;
}

.card__button__arrow::before{
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-image: url("../img/newmo_magazine_detail/common/arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  left: 8px;
  top: 8px;
}

.introBox{
  margin-bottom: 60px;
}


.navCont{
  background: #fff;
  padding: 20px;
}

.iconTitle{
  display: flex;
  align-items: center;
}

.iconTitle img{
  max-width:20px!important;
  margin-right: 8px; 
}

.navContWrap{
  margin-bottom: 80px;
}

.navContInnerTitle{
  position: relative;
}

.navContInnerTitle::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 1px;
  border-top: 1px dotted #FE5E8E;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
}

.navContInner{
  margin-bottom: 20px;
}

.navContInnerTitle{
  margin-bottom: 20px;
}

.navForm{
  display: flex;
  justify-content: space-between;
}

.navForm input{
  border: 1px solid #E1E1C8;
  border-radius: 50px;
  background: #F4F4E9;
  width: 460px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
}

.navForm button{
  border-radius: 50px;
  width: 148px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #FE5E8E;
  color: #fff;
  border: none;
  cursor: pointer;  
}

.navContInnerList{
  display: flex;
  flex-wrap: wrap;
} 

.navContInnerList li{
  width: 32%;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-right: 2%;
  margin-bottom: 10px;
}

.navContInnerList li:nth-child(3n){
  margin-right: 0;
}  

.navContInnerList li a{
  display: block;
  background: #fff;
  color: #FD5E96;
  border-radius: 50px;
  border: 1px solid #FD5E96;
  text-decoration: none;
}

.navContInnerList li a:hover{
  background:#FD5E96;
  color: #fff; 
}


.postTagList{
  display: flex;
  flex-wrap: wrap;
}
.postTagList li{
  color:#FD5E96;
  margin-right: 10px;
  margin-bottom: 10px !important; 
}

/*------ aside ---------*/
.magazineAside img{
  max-width: 100%;
}

.asideContTitle{
  font-size: 16px;
  padding-bottom: 4px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FD5E96;
  font-weight: bold;
}

.asideCont{
  margin-bottom: 50px;
}

.asideTagList{
  display: flex;
  flex-wrap: wrap;
}

.asideTagList li a {
  padding: 4px 8px;
  color: #FD5E96;
  border-radius: 20px;
  border: 1px solid #FD5E96;
  text-decoration: none;
  margin: 0 10px 10px 0;
  display: block;
  background: #fff;
}

.asideTagList li a:hover{
  background:#FD5E96;
  color: #fff; 
}

.asideRankingList li a{
  color: #000;
  display: flex;
  border-bottom: 1px solid #CCC;
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-decoration: none;
}

.asideRankingList li a .rank{
  background: #FD5E96;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  color: #fff;
  display: block;
  margin-right: 10px;
}

.asideRankingList li a img{
  max-width: 100px;
  margin-right: 10px;
}

.asideRankingList li a p{
	display: flex;
  align-items: center;
  max-width: 110px;
  font-size: 12px;
  font-weight: bold;

}

.asideRankingList li a:hover p{
  color: #FD5E96;
}


.listPager ul {
  display: flex;
  justify-content: center;
}

.listPager li {
  border-radius: 100px;
  border: 1px solid #F15397;
  background: #fff;
  color: #000;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin: 0 10px;
  cursor: pointer;
}

.listPager li:hover,
.listPager li.active {
  color: #fff;
  background: #F15397;
}


.listPager li a {
  text-decoration: none;
}

.listPager li:hover a,
.listPager li.active a {
  color: #fff;
}


.shopCont {
  max-width: 720px;
}


/* Media Queries ================================================== */
/*896*/
@media screen and (max-width: 896px) {

  #panList {
    display: none!important;
  }

  .innerBox{
    width: 100% !important;
    margin: 0 auto;
  }

  .introBox{
    margin: 0 auto 30px;
    width: 92%;
  }

  .archive__inner{
    margin: 0 auto;
    width: 92%;
  }

  #postListWrap{
    width: 92%;
    margin: auto;
  }

  .navContWrap{
    margin: 0 auto 40px;
    width: 92%;
  }

  .list__wrapper h2, .innerContTitle{
    font-size: 18px;
  }

  .list__wrapper {
    margin-top: 40px;
  }

  .list__wrapper h2 {
    font-size: 18px;
  }

  .list__wrapper h2::before{
    width: 20%;
  }

  .card__wrapper a {
    position: relative;
    padding: 20px 10px;
  }

  .card__wrapper{
    display: block;
    margin: 0 auto 50px;
  }

  .card__wrapper ul li{
    font-size: 12px;
    margin-bottom: 20px;
  }

  .card__thumbnail{
    width: 30%;
    margin-right: 4%;
  }

  .card__thumbnail img{
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  .card__title{
    font-size: 14px;
    margin-bottom: 0.5em;
    flex-direction: column-reverse;
    align-items: unset;
  }

  .card__title .new__icon{
    padding: 0 14px 0 7px;
    width: 20px;
    text-align: center;
    margin-left: 0;
    margin-bottom: 0.5em;
  }

  .card__text{
    margin-bottom: 40px;
    display: none!important;
  }

  .card__textbox{
    width: 60%;
  }

  .card__button {
    position: absolute;
    right: -14%;
    bottom: -8%;
  }

  .postTagList li{
    margin-bottom: 6px!important;
  }


  .flexCont{
    display: block;
    /*padding: 0 20px;*/
  }


  .introBox{
    margin-bottom: 30px;
  }


  .navContWrap{
    margin-bottom: 40px;
  }

  .navContInner{
    margin-bottom: 30px;
  }

  .navContInnerTitle{
    position: relative;
  }

  .navContInnerTitle::after {
    width: 30%;
  }

  .navForm input{
    width: 64%;

  }

  .navForm button{
    width: 26%;
  }


  .navContInnerList li{
    width: 48%;
    margin-right: 2%;
  }

  .navContInnerList li:nth-child(2n),
  .navContInnerList li:nth-child(3n){
    margin-right: 0;
  }


  /*------ aside ---------*/

  .magazineAside {
    max-width: initial;
    width: 92%;
    margin: 0 auto;
  }

  .magazineAside img{
    max-width: 100%;
  }

  .asideContTitle{
    padding-bottom: 4px;
    margin-bottom: 14px;
    border-bottom: 2px solid #FD5E96;
  }

  .asideCont{
    margin-bottom: 50px;
  }

  .asideTagList{
    display: flex;
    flex-wrap: wrap;
  }

  .asideRankingList li a p {
    max-width: inherit;
  }

  .asideCont .navForm input {
    width: 64% !important;
  }

  .asideCont .navForm button {
    width: 26% !important;
  }
}

