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

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
/*縦型動画の幅設定*/
	.spvideo {
    max-width: 60%;
}

	/*-- ここまで --*/
}
	
/*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) {

/*アイキャッチ画像サイズ調整*/
.st-eyecatch {
    text-align: center;
}
.st-eyecatch img {
    width: 70%;
}

	/*縦型動画の幅設定*/
	.spvideo {
    max-width: 40%;
}
	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
/*usefulblocks 評価グラフ幅広げる*/
.pb-rating-graph__axis {
    width: 90% !important;
}
.pb-rating-graph__basis {
    width: 1px !important;
}
	
	/*-- ここまで --*/
}
.post h5{
	font-size: 17px !important;
}

/*affinger box内占い方法一覧*/
a.taglink {
    background: #fff;
    padding: 6px 10px;
    border: 1px solid #ccc;
    margin: 3px 3px;
    border-radius: 10px;
    display: inline-block;
	    text-decoration: none;
    font-size: 80%;
    color: #434343;
    text-align: center;
    white-space: nowrap;
}

a.taglink:hover {
    background: #eee;
}


/*affinger box内占いサイトカテゴリ*/
p.catlink {
    background: #eee;
    padding: 3px 15px;
    margin: 5px 5px;
    display: inline-block;
}

p.catlink a {
    text-decoration: none;
    color: #434343;
    font-weight: bold;
    font-size: 95%;
}

p.btncat a{
	padding: 0.5em 0.7em !important;
}

.aftagcatbox{
	padding:0px 0px 3px 15px !important;
	margin-top: 5px;
}

/*affinger box内支払い方法一覧*/
.payment-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #3d3d3d;
}

.payment-list li{
	display: grid;
    color: inherit;
    margin: 0 6px 6px 0;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 3px;
    align-items: center;
    font-size: .8rem;
    line-height: 1.2;
    text-align: center;
}

.payment-list li img{
	width: 65px;
}

/*グレー枠ボックス*/
.shadowbox {
	display: inline-block;
    align-items: center;
    justify-content: center;
    color: #434343;
    background-color: #ffffff;
    margin: 0px 5px 10px 0px;
    padding: 4px 10px;
    border: 2px solid #e7e7e7;
    font-size: 90%;
}

/*緑アンダーライン*/
.mymarker-g{
	background: linear-gradient(transparent 70%, #bde9e4 0%);
}

/*ボーダーボックス*/
h3.border-box {
position: relative !important;
    margin: 1em 0 !important;
    padding: 10px 20px !important;
    min-width: 50% !important;
    max-width: 100% !important;
    background: #f0faf9 !important;
    background-image: repeating-linear-gradient(-45deg,#fff, #fff 7px,transparent 0, transparent 14px) !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 10px !important;
	font-size: 16px !important;
}


/*目立たせるボックス*/
.point-box {
position: relative;
    margin-bottom: 1em;
    padding: 10px 20px;
    min-width: 50%;
    max-width: 100%;
    color: #474747;
    background: #f7a199;
    border-radius: 10px;
	font-size: 110%;
  font-weight: bold;
	text-align:center;
}

.point-box img{
	vertical-align: text-bottom;
}

/*記事下URLコピーボタン*/
.st-copyurl-btn {
    margin: 30px 0 5px;
}

.st-copyurl-btn a {
    color: #4e4e4e;
    box-shadow: 0px 2px #cccccc;
    font-size: 85%;
    border-radius: 10px;

}

/*改行禁止させるクラス（高度な設定に入れる）*/
.nowrap{
	white-space: nowrap !important;
}

/*テーブル上下中央寄せ*/
table tr td, .wp-block-table table tr td {
    vertical-align: middle;
}
/*スマホ記事下バナー*/
.spbn{
	opacity: 0.8;
	max-width: 95%;
	margin: 0 auto;
}

/****PCサイドバー広告****/
.sidebox{
	padding: 20px 10px;
	font-size: 95%;
	margin-top: 35px;
}

.sidebox img{
	max-width: 180px;
}

.side-point-box {
	position: relative;
    margin-bottom: 1em;
	margin-top: 1em;
    padding: 8px 10px;
    min-width: 50%;
    max-width: 100%;
    color: #474747;
    background: #f7a199;
    border-radius: 5px;
	font-size: 90%;
  font-weight: bold;
	text-align:center;
	line-height: 1.5em;
}

.sideli{
 text-indent: 1.5em !important;
}

/*faqブロック設定*/
.st-faq__item {
    margin-bottom: 1.5em;
	border: 1px solid #f3f3f3;
}

.st-faq__question {
    font-size: 1em;
    color: #474747;
    font-weight: bold;
    border-bottom: 1px dotted #d0d0d0;
    background-color: #F9F9F9 !important;
    padding: 10px 2px;
}

.st-faq__answer {
    padding-top: 5px;
}

.st-faq__question-content{
	padding-left: 5px;
}

.st-faq__answer-content{
	    padding: 0 10px 15px 0;
}

/*外部リンクアイコン小さく*/
i.fa-solid.fa-arrow-up-right-from-square {
    font-size: 90%;
}

/*h3内インライン画像設定*/
h3 img{
	vertical-align: baseline !important;
}

/*目次ボタン*/
.st_toc_back.is-rounded {
	bottom: 140px !important;
    width: 50px !important;
    height: 50px !important;
}

.st_toc_back{
	right: 15px !important;
	left: auto !important;
}

.st_toc_back_icon::before{
	font-size: 12px !important;
	margin-bottom: 3px !important;
	font-weight: bold;
}

/*夢占いQ&A BOXアイコン変更*/
.is-style-st-heading-custom-question:not(.has-background)::before, .st-faq__question.dream::before {
	font: var(--fa-font-solid);
    content: "\f186";
    color: #ffc200 !important;
    padding: 0 .25em 0 .25em;
	font-size: 120%;
}
