@charset "utf-8";
/* CSS Document */


/*
Template: elephant3
Theme Name:elephant3-child
Theme URI:https://blog-marketing-school.com/elephant3/
Description:WordPressテーマ『ELEPHANT3』の子テーマです
Author:JUNICHI
Version:1.0.0
*/ 

/*コードを追加する場合はこの下からお願いします↓*/

/*お花の見出し↓*/
h4.menu_underh2{
 background-color: #f6d6db !important; /* 背景色 */
 border-radius: 5px;
 color: #f0868d !important; /* 文字色 */
 padding: 0px 0px 0px 60px; /* 上・右・下・左の余白 */
 position: relative;
 text-shadow: 0px 0px 10px #fff, 0px 0px 6px #fff, 0px 0px 4px #fff, 0 0 0.5px #fff; /* 文字の影 */
}
h4.menu_underh2:before{
 content: '*＊'; /*花に見せかけるためのアスタリスク*/
 color: #fff; /* アスタリスクの色 */
 display: inline;
 font-size: 30px; /* アスタリスクの大きさ */
 font-weight: bold;
 margin-right: 10px;
 position: absolute;
 top: 0px;
 right: 0px;
 transform: rotate(20deg);
 -moz-transform: rotate(20deg);
 -webkit-transform: rotate(20deg);
 -o-transform: rotate(20deg);
 text-shadow: 0px 0px 3px #fff, 0px 0px 2px #fff, 0 0 0.5px #fff; /* アスタリスク周りの影 */
}
h4.menu_underh2:after{
 border-bottom: 2px dotted #fff; /* 下線 */
 content: '';
 position: absolute;
 bottom: 3px;
 left: 3px;
 right: 3px;
}

/*吹き出し*/
.bubble04 {
     position: relative;
     display: inline-block;
     width: 80%; 
     text-align: left;
     color:#333;
     padding: 25px;
     background-color: #ddffdd;
     border-radius: 15px;
	 margin-bottom: 30px;
}
.bubble04:before {
     content: '';
     position: absolute;
     display: block;
     z-index: 1;
     border-style: solid;
     border-color: transparent #ddffdd;
     border-width: 10px 10px 10px 0;
     top: 50%;
     left: -10px;
     margin-top: -10px;
}

/* ランキング */
.rankingBox {
    clear:both;
    overflow: hidden;
    padding: 15px;
    border: 2px solid #e2c687;
    background: #fffdf4;
}

.rankingBox + .rankingBox {
    margin-top: 30px;
}

.post .box01.rankingBox .ttl {
    position: relative;
    /* margin: 0 0 20px !important; */
    margin: -15px -15px 20px !important;
    padding: 18px 10px 17px 65px !important;
    line-height: 1.2 !important;
    font-size: 18px !important;
    background: #ed5a5a !important;
    color: #fff !important;
    /* border-radius: 4px !important; */
    border-radius: 0 !important;
    /* border-bottom: 3px solid #b41e51 !important; */
    border: 0 !important;
}

.post .box01.rankingBox .ttl .sub {
    font-size: 15px;
}

.post .box01.rankingBox .ttl .rank {
    display: block;
    position: absolute;
    left: 10px;
    top: 50%;
    margin: -25px 0 0 !important;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    background: url(https://rililabo.com/wp-content/themes/elephant3-child/images/ico_ranking.png) no-repeat center center;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(0,0,0,.3);
}

.post .box01.rankingBox .ttl .rank:first-letter {
    font-size: 28px;
}

.rankingBox .img {
	border: 1px solid #ddd;
}

.rankingBox .col2.img,
.rankingBox >.colwrap .col2:first-child {
      text-align: center;
}

.rankingBox .col2.img img,
.rankingBox >.colwrap .col2:first-child img {
     display: block;
     margin: 0 auto;
}

.rankingBox .col2.txt,
.rankingBox >.colwrap .col2:last-child {
	line-height: inherit;
}

.rankingBox table th,
.rankingBox table td {
	line-height: inherit;
}

.rankingBox table th {
    padding: 10px;
    background: #eee;
    width: 20%;
    font-size: 14px;
}

@media only screen and (max-width: 767px) {
	.rankingBox table th,
	.rankingBox table td {
		display: block;
		width: auto;
		border-bottom: 0;
	}

	.rankingBox table tr:last-child td {
		border-bottom: 1px solid #c0c0c0;
	}

	.rankingBox table th {
		width: auto;
	}

	.rankingBox table th br {
		display: none;
	}
}

.rankingBox .infoFrame,
.rankingBox .pointFrame {
	margin: 20px auto 0;
}

.post .rankingBox .infoFrame h4,
.post .rankingBox .pointFrame h4 {
	margin: 30px auto 15px !important;
	padding: 10px !important;
	background: #ffdacf;
	border: 1px solid #f39b9b !important;
	border-radius: 4px;
	color: #714e2a !important;
	text-align: center;
}

.post .rankingBox .infoFrame h4:before,
.post .rankingBox .pointFrame h4:before {
	display: none;
}

.rankingFrame .info dl {
	display: flex;
	flex-wrap: wrap;
        margin: 0 0 10px;
	font-size: 0;
}

.rankingFrame .info dl dt,
.rankingFrame .info dl dd {
    box-sizing: border-box;
    padding: 8px 8px;
    font-size: 14px !important;
    vertical-align: middle;
}

.rankingFrame .info dl dt {
    background: #c0d0df;
    width: 35%;
    font-size: 13px !important;
    font-weight: bold;
}

.rankingFrame .info dl dd {
    width: 65%;
}

.rankingFrame .pointBox {
    margin: 20px auto 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 4px;
}

.rankingFrame .pointBox .ttl_s {
    margin: 0 0 20px !important;
}

.rankingFrame .pointBox p {
    font-size: 0.9em;
}

.rankingFrame .btnFrame {
	margin: 15px auto;
	overflow: hidden;
	padding-bottom: 10px;
}

.rankingFrame .btnFrame > br {
	display: none;
}

.rankingFrame .btn,
.btnWrap .btn {
	display: block;
	position: relative;
	margin: 10px auto 15px;
	padding: 16px 10px;
	max-width: 280px;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,.05);
	background: #aaa;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 3px rgba(0,0,0,.2);
}

.rankingFrame .btn:before,
.btnWrap .btn:before {
	content: "";
	display:block;
	position: absolute;
	top: 50%;
	right: 15px;
	margin: -3px 0 0;
	width: 6px;
	height: 6px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(45deg);
	opacity: .6;
}

.rankingFrame .btn:hover,
.btnWrap .btn:hover {
	opacity: 0.7;
}

.rankingFrame .btn_link,
.btnWrap .btn_link {
	background: #ff9900;
	background: -moz-linear-gradient(top, #ff9900 0%, #ff6a00 100%);
	background: -webkit-linear-gradient(top, #ff9900 0%,#ff6a00 100%);
	background: linear-gradient(to bottom, #ff9900 0%,#ff6a00 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9900', endColorstr='#ff6a00',GradientType=0 );
}

.rankingFrame .btn_detail {
	background: #216396; /* Old browsers */
	background: -moz-linear-gradient(top, #30a1b1 0%, #057b84 100%);
	background: -webkit-linear-gradient(top, #30a1b1 0%,#057b84 100%);
	background: linear-gradient(to bottom, #30a1b1 0%,#057b84 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#30a1b1', endColorstr='#057b84',GradientType=0 );
}

.btnWrap {
	margin: 15px auto 40px;
}

/** 人気記事のアイキャッチ内に順位番号を表示 */
body{
  counter-reset: rank_number;  
}
.wpp_thumb_wrapper{
  position: relative;
}
.wpp_thumb_wrapper:after{
  counter-increment: rank_number;
  content: counter(rank_number);
  display: block;
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 165, 0);
  color: white;
  font-size: 14px;
  text-align: center;
  border-radius: 2px;
}

/* 妊娠線を消すコンシェルジュ移行対応用ここから */

.txt_01 {
	background: rgb(255, 239, 96);
	/*    background: #baff71; */
	font-weight: bold;
}

.txt_02 {
	font-weight: bold;
	color: #ee0000;
}


.box01{

line-height: 150%;
padding: 0.5em 1em;
border: solid 1px #dddddd;
margin: 1em 0;
background: -webkit-repeating-linear-gradient(-45deg, #fef4ff, #fef4ff 3px, #fef9ff 3px, #fef9ff 7px);
background: repeating-linear-gradient(-45deg, #fef4ff, #fef4ff 3px, #fef9ff 3px, #fef9ff 7px);
border-radius: 5px;
}



.box_rank{
	clear:both;

margin:2em 0;
position: relative;
padding: 0.25em 1em;
border: solid 2px #f59b9b;
border-radius: 3px 0 3px 0;
}
.box_rank:before,.box_rank:after
{
content: '';
position: absolute;
width:10px;
height: 10px;
border: solid 2px #f59b9b;
border-radius: 50%;
}
.box_rank:after {
top:-12px;
left:-12px;
}
.box_rank:before {
bottom:-12px;
right:-12px;
}
.box_rank p {
margin: 0;
padding: 0;
} 

.rankline{
    border-bottom: double 5px #b26800;
    font-size: 120%;
    font-weight: bold;
    padding-bottom: 11px;
    color: #f76262;
    margin: 20px;
}

.mb20 {
	margin-bottom:20px;
}

/* ランキング */
#side aside h4.ttl_ranking {
	padding-left: 40px;
	background-image: url(https://rililabo.com/wp-content/themes/elephant3-child/images/ico_rank.png);
	background-repeat: no-repeat;
	background-position: 12px center;
}

#side aside #mybox ul.wpp-list {
	color: #1a1a1a;
	background: #fff;
	padding: 0 5px 10px;
	border-radius: 3px;
	list-style: none;
	overflow: hidden;
	padding: 13px;
	display: block;
	margin: -13px 5px 35px;
	border-top: 3px solid #df6b89;
	border-radius: 0;
}

#side aside .wpp-list li {
/*	padding: 5px 3px;*/
	padding: 3px 0;
	position: relative;
	clear: both;
	transition: .3s ease;
	background: rgba(255, 255, 255, 1);
	margin: 0 0 15px;
	border-radius: 1px;
	box-shadow: 0 0 0 3px #fff;
	border: 1px dashed #df6b89;
}

#side aside .wpp-list li:last-child {
	margin-bottom: 0;
}

#side aside .wpp-list li a {
	display: block;
	border: 0;
	margin: 0;
	font-size: 14px;
	padding: 7px 20px 7px 15px;
	min-height: 38px;
	height: auto;
}

#side aside .wpp-list li.nothumbnail a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	float: none;
	width: auto;
}

#side aside .wpp-list li:hover {
	background: #fff;
}

#side aside #mybox ul.wpp-list li a:before {
	content: "";
	display: inline-block;
	left: auto;
	right: 12px;
	border-color: #dd6a86;
}

#side aside #mybox ul.wpp-list li a:after{
	display: none;
}




  

.button:hover {
	opacity: 0.6;
}
/* 妊娠線を消すコンシェルジュ移行対応用ここまで */