@charset "utf-8";
/* ---------------------------------------------------------------------------------
Copyright © STELLA for hair. Allright Reserved

HTML CSS Selectors blog

$Revision: 1.0 $
--------------------------------------------------------------------------------- */
.mv {
  height: 400px;
  margin-bottom: 124px;
  transition-delay:400ms;
}
@media only screen and (max-width: 768px) {
  .mv {
    height: 210px;
    margin-bottom: 55px;
  }
}

/*---------------------------------------------------------------------------------
一覧
--------------------------------------------------------------------------------- */
.list-wrap {
  width: 1044px;
  margin: 0 auto 130px;
}
.list-category-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  margin: 78px 0 44px;
}
.list-category-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 30px;
  padding: 0 20px;
  background-color: #eef1f7;
  border-radius: 15px;
  margin: 0 15px 22px;
  font-size: 16px;
  line-height: 1;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 70px;
}
.blog-list li {
  width: 300px;
  margin: 0 24px 52px;
}
.blog-list li:nth-of-type(3n+2) {
  transition-delay: 400ms;
}
.blog-list li:nth-of-type(3n) {
  transition-delay: 500ms;
}
.blog-list a {
  display: block;
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow:hidden;
}
.blog-list__img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.blog-list__ttl {
  width: 100%;
  padding: 20px 15px 45px;
  background-color:rgba(238,241,247,0.90);
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.blog-list__ttl span {
  display: block;
  overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.blog-list__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  background-color: rgba(137,155,189,0.90);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 144px auto;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 3;
  transition: 0.2s ease-in-out;
}
.stella {background-image: url("../content/images/logo/logo_stella-white.svg");}   
.albert {background-image: url("../content/images/logo/logo_albert-white.svg")}   
.puff {background-image: url("../content/images/logo/logo_puff-white.svg")}   
.elisa {background-image: url("../content/images/logo/logo_elisa-white.svg")}
.terrace {background-image: url("../content/images/logo/logo_terrace-white.svg")}

.blog-list a:hover {
  opacity: 1;
}
.blog-list a:hover .blog-list__logo {
  top: 0;
}

.wp-pagenavi .pages,
.wp-pagenavi .first,
.wp-pagenavi .last,
.wp-pagenavi .extend{
  display: none;
}
@media only screen and (max-width: 768px) {
  .list-wrap {
    width: 100%;
    margin: 0 auto 52px;
  }
  .list-category-nav {
    margin: 40px 0 35px;
  }
  .list-category-nav a {
    height: 20px;
    padding: 0 12px;
    border-radius: 10px;
    margin: 0 10px 14px;
    font-size: 11px;
    line-height: 1;
  }
  
  .blog-list {
    justify-content: space-between;
    padding: 37px 0 30px;
  }
  .blog-list li {
    width: calc(50% - 4px);
    margin: 0 0 8px;
  }
  .blog-list li:nth-of-type(3n+2),
  .blog-list li:nth-of-type(3n) {
    transition-delay: 300ms;
  }
  .blog-list li:nth-of-type(2n) {
    transition-delay: 400ms;
  }
  .blog-list li:nth-of-type(9) {
    display: none;
  }

  .blog-list a {
    display: block;
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow:hidden;
  }
  .blog-list__ttl {
    padding: 13px 14px 15px;
    line-height: 1.41;
  }
  .blog-list__ttl span {
    overflow: hidden;
    white-space: pre-wrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .blog-list__logo {
    display: none;
  }

}

/*---------------------------------------------------------------------------------
詳細
--------------------------------------------------------------------------------- */
.detail-wrap {
  background-color: #eef1f7;
  padding-bottom: 32px;
}
.blog-post {
  padding: 88px 0 170px;
  background-color: #fff;
  margin-bottom: 84px;
}
.post-category {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: fit-content;
  height: 30px;
  padding: 0 20px;
  background-color: #eef1f7;
  border-radius: 15px;
  margin: 0 auto 23px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.1em;
}
.post-date {
  padding-bottom: 40px;
  margin-bottom: 54px;
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
  text-align: center;
  position: relative;
}
.post-date::after {
  width: 45px;
  height: 1px;
  background-color: #000;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  content:"";
}
.post-ttl {
  width: 870px;
  margin: 0 auto 70px;
  font-size: 28px;
  line-height: 1.86;
  letter-spacing: 0.075em;
  text-align: center;
}
.post {
  width: 870px;
  margin: 0 auto;
}
.post div {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 88px;
  margin-bottom: 88px;
}
.post p {
  width: 720px;
  margin: 0 auto 1.5em;
  font-size: 15px;
  line-height: 1.86;
}

.post-nav {
  width: 457px;
  height: 38px;
  margin: 0 auto 155px;
  position: relative;
}
.post-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  width: 200px;
  height: 38px;
  background-color: #fff;
  border-radius: 19px;
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1;
  font-weight: 100;
  letter-spacing: 0.1em;
  position: absolute;
  top: 0;
}
.post-nav a span {
  display: inline-block;
  color: #899bbd;
}
.post-nav a.prev {
  padding-right: 30px;
  left: 0;
}
.post-nav a.prev span {
  margin-right: 40px;
}
.post-nav a.next {
  padding-left: 30px;
  right: 0;
}
.post-nav a.next span {
  margin-left: 40px;
}

.other-post {
  width: 1044px;
  margin: 0 auto;
}
.other-post .sec-ttl {
  margin-bottom: 42px;
  font-size: 40px;
}
.other-post li:nth-of-type(4) {
  display: none;
}

@media only screen and (max-width: 768px) {
  .detail-wrap {
    padding-bottom: 32px;
  }
  .blog-post {
    padding: 50px 0 62px;
    margin-bottom: 52px;
  }
  .post-category {
    height: 20px;
    padding: 0 15px;
    border-radius: 10px;
    margin: 0 auto 21px;
    font-size: 11px;
  }
  .post-date {
    padding-bottom: 22px;
    margin-bottom: 38px;
    font-size: 12px;
  }
  .post-date::after {
    width: 22px;
  }
  .post-ttl {
    width: 78%;
    margin: 0 auto 32px;
    font-size: 17px;
  }
  .post {
    width: 92%;
    margin: 0 auto;
  }
  .post div {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
  }
  .post p {
    width: 100%;
    margin: 0 auto 1.5em;
    font-size: 12px;
    line-height: 1.5;
  }

  .post-nav {
    width: 288px;
    height: 30px;
    margin: 0 auto 55px;
  }
  .post-nav a {
    width: 133px;
    height: 30px;
    border-radius: 15px;
    font-size: 13px;
  }
  .post-nav a.prev {
    padding-right: 25px;
    left: 0;
  }
  .post-nav a.prev span {
    margin-right: 30px;
  }
  .post-nav a.next {
    padding-left: 25px;
    right: 0;
  }
  .post-nav a.next span {
    margin-left: 30px;
  }

  .other-post {
    width: 100%;
    margin: 0 auto;
  }
  .other-post .sec-ttl {
    margin-bottom: 32px;
    font-size: 30px;
  }
  .other-post li:nth-of-type(4) {
    display: block;
  }
}