/*
Theme Name: AFFINGER4 Child
Template: affinger4
Version: 20170501
*/

/*カテゴリID別に色を指定できます
例）IDが7の場合
.catname.st-catid7 {
	background:#ff0000;
	color:#fff;
}
*/

.st-kaiwa-box {
  box-sizing: border-box;
  margin-bottom: 0;
  background-color: #fff;
  padding: 2%;
}

.st-kaiwa-hukidashi {
  background-color: #dcdcdc;
}

.st-kaiwa-hukidashi:after {
  border-color: transparent #dcdcdc transparent transparent;
}

.st-kaiwa-hukidashi2 {
  text-align: left;
  background-color: #9be061;
}
.st-kaiwa-hukidashi2:after {
  border-color: transparent transparent transparent #9be061;
}


/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {
  /*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
  /*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {
  /*-- ここまで --*/
}

/* --------Ayalogの関連記事風css ---------*/
/* 一覧タイトル下 */
.kanren00 .blog_info p {
  margin: 0 0 5px;
}

#side .kanren00 .blog_info p {
  margin: 0 0 3px;
}

.kanren00 h3 {
  margin: 0 0 3px;
}

.kanren00 h3 a,
.post .kanren h3 a {
  color: #1a1a1a;
}

.post .kanren00 h5 {
  margin-bottom: 10px;
}

.blog_info p a {
  color: #666;
  text-decoration: none;
}

#topnews .clearfix dd .blog_info p {
  font-size: 12px;
}

/*--------------------------------
関連記事表示部分
---------------------------------*/

.kanren00 {
  padding-top: 20px;
  margin-top: 20px;
}

aside .kanren00 {
  padding-top: 20px;
  margin-top: 0px;
}

.kadomaru img {
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
}

/* タイトル名 */
.kanren00.pop-box h5,
#side .kanren00.pop-box h5 {
  font-size: 18px;
  font-weight: bold;
  padding: 0px;
  margin-bottom: 10px;
}

.kanren00.pop-box dd h5,
#side .kanren00.pop-box dd h5 {
  font-size: 17px;
  font-weight: bold;
  line-height: 25px;
  padding: 0px;
  margin-bottom: 5px;
}

.kanren00 dt {
  float: left;
  width: 100px;
}

.kanren00 dt img {
  width: 100px;
}

.kanren00 dd {
  padding-left: 115px;
}

.kanren00 dl {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #ccc;
}

.kanren00 dl p {
  margin-bottom: 0px;
}

.kanren00 dl:last-child {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-style: none;
}

/* 抜粋文字 */
.kanren00:not(.st-cardbox) .clearfix dd p {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 18px;
}

/*関連記事*/
.kanren00 .clearfix dd h5 a {
  font-size: 18px;
  line-height: 26px;
  color: #000;
  text-decoration: none;
  padding: 0;
}

.kanren00 .clearfix dd h5 a:hover {
  color: #b22222;
}

/*SPとPCで出し分け*/

@media only screen and (min-width: 641px) {
  .sp-contents {
    display: none;
  }
}
@media only screen and (max-width: 640px) {
  .pc-contents {
    display: none;
  }
}

/*游明朝*/
.yu-mincho {
  font-family: "Yu Mincho", "YuMincho";
}

/*記事LPのbackground*/
#hakusinote {
  background-image: url(https://cosme-ranking.site/wp-content/uploads/2018/06/linen.png);
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: scroll;
}

main {
  background-image: url(https://cosme-ranking.site/wp-content/uploads/2018/06/linen.png);
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: scroll;
}

/*記事LP*/
#prima-header-pink {
  display: inline;
  display: inline-block;
  background-color: #fee8f7;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  line-height: 1.5;
  text-align: center;
}

#prima-header-green {
  display: inline;
  display: inline-block;
  background-color: #ebfee8;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  line-height: 1.5;
  text-align: center;
}
.nu-pink-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: 20px auto;
  box-sizing: border-box;
  max-width: 500px;
  padding: 10px;
  padding-bottom: 0;
  padding-left: 50px;
  border: 10px solid #e21152;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(
    to bottom,
    #f1a9ad 0%,
    #f1a9ad 42%,
    #f1a9ad 42%,
    #e63860 70%,
    #e63860 100%
  );
  text-decoration: none;
  font-weight: 900;
  box-shadow: 7px 7px 7px 0px rgba(130, 130, 130, 1);
  font-family: "Yu Gothic";
  line-height: 1.5;
  cursor: pointer;
  transition: 0.3s;
}
.nu-pink-btn:hover {
  color: #fff;
  box-shadow: 2px 2px 2px 0px rgba(130, 130, 130, 1);
}
.nu-pink-btn:before {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  padding-top: 5px;
  padding-left: 10px;
  box-sizing: border-box;
  content: "▶";
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #fff;
  color: #ee0047;
  width: 60px;
  height: 60px;
  font-size: 40px;
  font-family: "Yu Gothic";
}
.nu-pink-btn .above {
  font-size: 25px;
  text-shadow: 1px 1px 3px #c3002e, 3px 3px 5px #c3002e;
  font-family: "Yu Gothic";
}
.nu-pink-btn .bottom {
  font-size: 34px;
  text-shadow: 0px 0px 5px #d33a5e;
  font-family: "Yu Gothic";
}
.nu-pink-btn .blue {
  color: #88ceff;
  font-style: normal;
  font-family: "Yu Gothic";
}
@media (max-width: 555px) {
  .nu-pink-btn {
    padding: 5px;
    border-width: 5px;
    padding-left: 12vw;
    padding-bottom: 0;
    box-shadow: 4px 4px 4px 0px rgba(130, 130, 130, 1);
  }
  .nu-pink-btn::before {
    left: 2vw;
    width: 12vw;
    height: 12vw;
    padding-top: 2px;
    padding-left: 1vw;
    font-size: 7vw;
  }
  .nu-pink-btn .above {
    font-size: 5vw;
  }
  .nu-pink-btn .bottom {
    font-size: 6vw;
  }
}
.nu-pink-btn.shiny:after {
  display: block;
  position: absolute;
  z-index: 4;
  left: -30%;
  top: -50%;
  content: "";
  width: 50px;
  height: 300%;
  transform: rotate(40deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 10%,
    rgba(255, 255, 255, 0.7) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shiny 2s infinite ease-in;
}
.nu-pink-btn.ripple:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  top: 50%;
  left: 50%;
  animation: ripple 2s infinite;
  opacity: 0;
}
.nu-pink-btn.bounce {
  animation: bounce 3s ease infinite;
}
.nu-pink-btn.sway {
  animation: sway 3s ease infinite;
}
@keyframes shiny {
  0% {
    left: -30%;
  }
  20% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
@keyframes ripple {
  from {
    opacity: 1;
    transform: scale(0);
  }
  50% {
    opacity: 0;
    transform: scale(10);
  }
  to {
    opacity: 0;
    transform: scale(10);
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  5% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-15px);
  }
  25% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-15px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes sway {
  0% {
    transform: translateX(0);
  }
  5% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-15px);
  }
  25% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-15px);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}
