/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/


.appear-pc {
	display: block;
}

.appear-sp {
	display: none !important;
}

article blockquote a,
article blockquote a:hover  {
	color: #bbb !important;
}

article .entry-content .graybox a,
article .entry-content .maruno a,
article .entry-content .st-mybox a,
article .entry-content p a {
	font-weight: bold;
	transition: .2s;
}

article .entry-content .graybox a:hover,
article .entry-content .maruno a:hover,
article .entry-content .st-mybox a:hover,
article .entry-content p a:hover {
	text-decoration: none;
}

.st-timeline-list {
	padding-bottom: 35px;
}
.st-timeline-list-text {
	margin-bottom: 15px;
}
.st-blackboard {
	padding: 15px 30px;
}

.post .twitter-tweet {
	width: 500px !important;
    max-width: 100% !important;
    margin: 20px auto 0 !important;
}

.post table tr th,
.post table tr td {
	font-size: 14px;
}

.post table th {
	color: #fff;
	font-weight: bold;
	background: #89a7c1;
}

.post table tr:nth-child(odd) td {
	background-color: #fcfcfc;
}

.st-cardbox .clearfix dd p {
	color: #6ea984;
	font-weight: bold;
}
.post p.cardbox-more {
	border-color: #6ea984;
}

.st-cardlink-card.has-bg.is-blurable::before {
	background: #000;
	opacity: .5;
}
.st-cardlink-card.has-bg.is-blurable:hover::before {
	opacity: 0;
}


.youtube-container {
	max-width: 560px;
	max-height: 285px;
	padding-bottom: 40%;
	box-sizing: border-box;
	text-align: center;
	margin: 0 auto;
}


.sidebar-ad {
	text-align: center;
	margin-bottom: 30px;
	background: #fff;
	padding: 20px 7px;
}

.sidebar-ad p {
	font-size: 14.5px;
}

#breadcrumb {
	margin-bottom: 5px;
}

#breadcrumb ol li {
	display: inline-block;
    margin: 0 6px 0 0;
}

#breadcrumb ol li a {
	color: #333 !important;
	display: inline-block;
    margin: 0 6px 0 0;
}

.post .st-catgroup a {
	display: inline-block;
}


/*CTA ranking table*/
.cta-ranking {
	margin-bottom: 80px;
}

.bgc-VPpurple {
	background: #f3eaf4;
}

.cta-ranking .ep-inbox {
	background: #fff;
	padding: 20px;
	margin-bottom: 20px;
}

.nowrap-table {
	white-space: nowrap;
}

.tableScroll table td, .content .tableScroll table th {
	min-width: 100px;
}

.ranking-table .btn-center {
	line-height: 1.2;
}

.ranking-table .btn-center p {
	margin: 0;
}

.ranking-table .btn__link {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: .15s;
}

.ranking-table .btn__link-secondary {
    padding: 5px 25px 5px 15px;
    border-radius: 5px;
    background: #a83f3f;
    border: none;
    border-bottom: solid 3px rgba(0,0,0,.25);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    line-height: normal;
}

.ranking-table .btn__link-secondary {
	font-size: 12px;
	box-sizing: inherit;
	background-color: #6fce7b;
/*	background-color: #2cc241;*/
	/*background: #f3a847;*/
	color: #fff;
	 text-decoration: none;
	min-width: 74px;
}

.ranking-table .btn__link-secondary:hover {
/*	background-color: #2cc241;*/
	text-decoration: none;
	color: #fff;
}
.ranking-table .btn__link::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 5px;
    height: 5px;
    margin: auto;
    border-top: 1px solid;
    border-right: 1px solid;
    transform: rotate(45deg);
}

.ranking-table .btn__link-normal {
 text-decoration: none;
 margin-top: 10px;
}


.tableScroll .ranking-table th,
.tableScroll .ranking-table td {
		min-width: 50px;
		vertical-align: middle;
}

.sticky-table th {
	position: sticky;
    left: 0px;
    min-width: 100px;
    z-index: 1;
}

.th-fixed {
	position: sticky;
    left: -1px;
    min-width: 100px;
    z-index: 1;
}

.apps-icon img {
	border: 1px solid #ddd;
	border-radius: 12px;
}


.afTagBox__btnAf.btn-shiny,
.btn__link-primary.btn-shiny {
    position: relative !important;
    overflow: hidden !important;
}

.afTagBox__btnAf.btn-shiny::before,
.btn__link-primary.btn-shiny::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    bottom: initial;
    right:  initial;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: btn-shiny 4s ease-in-out infinite;
}
.afTagBox__btnAf.btn-shiny:hover,
.btn__link-primary.btn-shiny:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.3);
}
@keyframes btn-shiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.rank-icon {
	background: #84b3d8;
    width: 30px;
    height: 30px;
    display: inline-block;
    line-height: 30px;
    border-radius: 50%;
    color: #fff;
}

.rank-no1,
.rank-no2,
.rank-no3 {
	font-size: 1.4rem;
	width: 36px;
    height: 36px;
    line-height: 36px;

}

table th.rank-no1 {
  background: url(https://doutei-support.com/ddtsilkroak/wp-content/themes/affinger-child/images/rank3-01.png) no-repeat center 55%;
  background-size: 70%;
	background-color: #d89d2c;
}

table th.rank-no2 {
  background: url(https://doutei-support.com/ddtsilkroak/wp-content/themes/affinger-child/images/rank3-02.png) no-repeat center 55%;
  background-size: 70%;
	background-color: #888888;
}

table th.rank-no3 {
  background: url(https://doutei-support.com/ddtsilkroak/wp-content/themes/affinger-child/images/rank3-03.png) no-repeat center 55%;
  background-size: 70%;
	background-color: #a17051;
}

.post .ranking-table tr:nth-child(even) td {
	background: #fcfcfc;
}

.scroll-hint-icon {
    background: rgba(192, 155, 195, .7) !important;
}


/*-- 目次 --*/
#st_toc_container.st_toc_contracted,
#st_toc_container.st_toc_hierarchical,
#toc_container.contracted,
#toc_container.st_toc_hierarchical {
/*    display: table;*/
    text-align: center;
	padding: 5px 20px;

}
#st_toc_container li {
     padding: 2px 0;
}
#st_toc_container.st_toc_style_default > ul > li > ul > li {
     padding: 7px 0;
}
main .post #st_toc_container.st_toc_style_default > ul > li > ul {
	padding: 5px 0 5px 17px;
}
#st_toc_container ul.st_toc_list > li > a {
	font-size: 16px;
}
div#st_toc_container ul li {
	font-size: 15px;
}

#st_toc_container li a:before {
	font-size: 13px;
    content: "▶︎\00a0\00a0";
    color: #333;
}

.popularity-posts {
  margin: 50px 0 30px;
}

.popularity-posts ul {
	padding: 0;
	margin: 0;
}

.post .popularity-posts li {
  list-style: none;
  margin-bottom: 10px;
  line-height: 1.8;
}

.popularity-posts li span {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  background: #cb96c1;
  display: inline-block;
  padding: 4px 12px;
  margin-right: 10px;
  border-radius: 3px;
}

.popularity-posts li a {
  color: #337ab7;
  font-weight: bold;
   font-size: 16px;
	text-decoration: none;
}

.popularity-posts li a:hover {
  color: #337ab7;
  text-decoration: underline;
}

.post .quote {
  color: #bbb;
  font-size: 12px !important;
}

.post .quote a {
  color: #bbb;
  font-weight: normal;
  text-decoration: none;
}

.post .quote a:hover {
  opacity: 1;
  color: #bbb;
  text-decoration: none;
}

:root .st-catid-ad {
	border: solid 1px #ccc;
}

/**** Rinker custom ****/
div.yyi-rinker-contents {
border: none;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.18);
}
div.yyi-rinker-image {
margin-right: 15px;
}
.yyi-rinker-img-m .yyi-rinker-image {
width: 140px;
min-width: 140px;
}
div.yyi-rinker-contents div.yyi-rinker-info {
width: calc(100% - 160px);
}
div.yyi-rinker-contents div.yyi-rinker-title p {
margin: 0;
}
div.yyi-rinker-contents div.yyi-rinker-title a {
font-weight: bold;
color: #0066c0;
font-size: .9em;
}
div.yyi-rinker-contents div.yyi-rinker-title a:hover {
color: #c45500;
opacity: 1;
text-decoration: underline;
}
div.yyi-rinker-contents div.yyi-rinker-detail {
padding: 0;
margin: 5px 0 0;
font-size: 10px;
color: #626262;
opacity: .7;
font-family: 'Avenir',sans-serif;
line-height: 2;
}
span.price {
font-size: 1.8em;
}
.price-box span:nth-child(n+2) {
display: none;
}
div.yyi-rinker-contents ul.yyi-rinker-links {
margin: 0;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
margin: 8px 8px 0 0;
box-shadow: none;
border-radius: 3px;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink, div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink, div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink,  div.yyi-rinker-contents ul.yyi-rinker-links li.amazonkindlelink {
background: none;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a {
font-weight: 500;
font-size: 13px;
height: 44px;
line-height: 44px;
padding: 0 15px;
border-radius: 3px;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink1 {
    background: none;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink1 a {
    background: #4072B3;
    order: 10;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a {
background: #FFB74D;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink a {
background: #FF5252;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink a {
background: #3AADF4;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonkindlelink a {
background: #666;
}
div.yyi-rinker-contents ul.yyi-rinker-links li:hover {
box-shadow: none;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a:hover {
opacity: 1;
-webkit-transform: translateY(3px);
transform: translateY(3px);
}
.yyi-rinker-box div {
	margin-top: 0;
}
/*yahooリンク非表示*/
.yahoolink {
	display: none;
}

@media screen and (max-width: 800px){
div.yyi-rinker-contents div.yyi-rinker-box {
display: block;
text-align: center;
}
div.yyi-rinker-contents div.yyi-rinker-image {
margin: auto;
}
div.yyi-rinker-contents div.yyi-rinker-info {
display: block;
margin-top: 5px;
width: 100%;
}
div.yyi-rinker-contents ul.yyi-rinker-links li {
margin: 5px 0;
box-shadow: none;
border-radius: 3px;
}}
@media (max-width: 420px) and (min-width: 321px){
body div.yyi-rinker-contents ul.yyi-rinker-links li a {
padding: 0;
}
.yyi-rinker-contents .yyi-rinker-info {
	padding-left: 0;
}
}
.yyi-rinker-links .amazonlink a:after {
	content: "で探す";
}
.yyi-rinker-links .rakutenlink a:after {
	content: "で探す";
}
.yyi-rinker-links .yahoolink a:after {
	content: "で探す";
}
.yyi-rinker-links .amazonkindlelink a:after {
	content: "で探す";
}




/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	.appear-pc {
	  display: none !important;;
	}

	.appear-sp {
	  display: block !important;;
	}

	.single #footer-wrapper {
		padding-bottom: 75px;
	}

	#page-top:not(.page-top-img) {
		right: 12px;
	}

	#page-top {
		bottom: 7px;
	}

	.youtube-container {
		padding-bottom: 50%;
	}

	#side .st-author-profile .st-author-description, .st-author-profile .st-author-description {
		font-size: 13px;
		line-height: 2;
	}

	.post .scroll-box table th {
		white-space: nowrap;
	}

	main .post ul {
		padding-left: 0;
/*		margin-left: 0.5em;*/
	}

	.post .twitter-tweet {
		width: auto !important;
	}

	.st-mybox .st-mybox-title {
		font-size: 16px
	}
	.st-minihukidashi .st-minihukidashi-flexbox {
		font-size: 16px
	}
	.st-mcbox-title {
		font-size: 16px;
	}
	.st-mybtn a {
		font-size: 17px;
		line-height: 1.6;
	}

	.st-blackboard {
		padding: 15px 10px;
	}

	.popularity-posts li a {
		display: block;
		font-size: 17px
	}
	.popularity-posts li span {
		font-size: 16px;
		margin-bottom: 5px;
		padding: 3px 20px;
	}


	/*CTA*/
	.st-wide-background.cta-wrap {
		padding: 25px 15px 35px;
	}

	.cta-title {
		font-size: 18px;
		margin-bottom: 25px;
	}

	.cta-content {
		display: block;
	  margin: 20px 0;
	}

	.cta-message,
	.cta-thumb {
		width: 100%;
		text-align: center;
	}

	.cta-thumb {
		margin-bottom: 20px;
	}
	.post .cta-message li {
		font-size: 15px;
	}
	.cta-content p {
		font-size: 15px;
	}

	.st-mybtn a {
		font-size: 16px;
	}

	#footer .footermenust a {
		font-size: 14px;
		line-height: 2.2;
	}

	#page-top:not(.page-top-img) a {
		background: #ad96bc !important;
	}

	.scroll-hint-icon {
		z-index: 10;
	}

	/*-- 目次 --*/
	#st_toc_container:not(.st_toc_contracted):not(.only-toc),
	#toc_container:not(.contracted) {
		padding: 4px 10px 4px !important;
	}
	
	/*-- ここまで --*/
}
