/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/



/*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) {
body .myLinkModule_info_btn_link {
    max-width: 100% !important;
	}
	/*-- ここまで --*/
}

/* バリューコマースボタン */
.myLinkModule {
	border: none !important;
	padding: 0 !important;
}
.myLinkModule_info_btn_link {
	max-width: 324px !important;
}
.btnwrapp a[href*="rakuten.co.jp"],
.btnwrapp a[href*="af.moshimo.com"],
.btnwrapp a[href*="a8.net"],
.btnwrapp a[href*="valuecommerce.com"],
.btnwrapp a[href*="trylplus.com"]{
	clear:both;
	display:block;
	text-decoration:none !important;
	font-size: 12px;
}
.st-mybtn a[href*="af.moshimo.com"],
.st-mybtn a[href*="a8.net"],
.st-mybtn a[href*="valuecommerce.com"],
.st-mybtn a[href*="trylplus.com"]{
	font-size: 20px ;
}
.btnwrapp a[href*="rakuten.co.jp"]:after,
.btnwrapp a[href*="af.moshimo.com"]:after,
.btnwrapp a[href*="a8.net"]:after,
.btnwrapp a[href*="valuecommerce.com"]:after,
.btnwrapp a[href*="trylplus.com"]:after,
.btnwrapp a.btn:after{
    content: "詳細はこちら";
	display: block;
    padding: 0.8em 1em;
    text-decoration: none;
    color: #F57C00;
	background: #FFF3E0;
	border: solid 1px #F57C00;
	border-bottom: 4px solid #F57C00;
    border-radius: 3px;
	text-align:center;
	width: 100%;
	margin-bottom: 8px;
box-sizing: border-box !important;
font-size: 16px;
}
a[href*="rakuten.co.jp"]:hover,
a[href*="af.moshimo.com"]:hover,
a[href*="a8.net"]:hover,
a[href*="valuecommerce.com"]:hover{
	opacity: 0.7;
}
#side a[href*="valuecommerce.com"]:after {
	content: none;
}
#secondary a[href*="valuecommerce.com"]{
	display: block;
	margin-bottom: 10px;
	border: solid 2px #CCC;
}
#secondary a[href*="valuecommerce.com"]:hover{
	opacity: 0.7;
}
a[href*="valuecommerce.com"]:after:hover {
	opacity: 0.7;
}
a[href*="valuecommerce.com"]:after:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}


.btnwrapp a[href*="travel.rakuten.co.jp"]:after{
    content: "楽天トラベルで予約";
}

.btnwrapp a[href*="jalan.net"]:after{
    content: "じゃらんで予約";
}

.btnwrapp a[href*="ikyu.com"]:after{
	content: "一休.comで予約";
}

.btnwrapp a[href*="jtb.co.jp"]:after{
    content: "JTBで予約";
}

.btnwrapp a[href*="expedia.co.jp"]:after{
    content: "Expediaで予約";
}

.btnwrapp a[href*="ozmall"]:after{
    content: "OZmallで予約";
}

.btnwrapp a[href*=".his"]:after{
    content: "HISで予約";
}

.btnwrapp a[href*="tabelog.com"]:after{
    content: "食べログで予約";
}

.btnwrapp a[href*="gnavi.co.jp"]:after{
    content: "ぐるなびで予約";
}
.btnwrapp a[href*=".nta.co.jp"]:after{
    content: "日本旅行で予約 (新幹線＋宿がお得)";
}
.btnwrapp a[href*="e-myholiday.com"]:after{
    content: "お得なツアーパックで予約";
}
.btnwrapp a[href*="rurubu.travel"]:after{
	content: "るるぶで注文";
}
.btnwrapp a[href*="item.rakuten.co.jp"]:after{
    content: "楽天で注文";
}

.btnwrapp a[href*="amazon.co.jp"]:after{
	content: "Amazonで予約";
}



.btnwrapp a[href*="trylplus.com"]:after{
	content: "ご注文はこちら";
}
.btnwrapp a[href*="store.shopping.yahoo"]:after{
	content: "Yahooショッピングで注文";
}
/* バリューコマースボタンここまで */


img + br {
	display: none;
}

.free-inbox:after {
	content: " ";
	clear:both;
	display: block;
}

.bannerWrapp {
	text-align: center;
}
.bannerWrapp a[href*="valuecommerce.com"]:after {
	content: none;
}

.ntabtn,
a.ntabtn[href*=".nta.co.jp"]:after {
	display: none !important;
}

.wpp-list-with-thumbnails li {
	margin-bottom: 10px !important;
}
.wpp-list-with-thumbnails li .wpp-thumbnail {
	margin-right: 15px !important;
}
.st-widgets-title {
background: #febe31;
color: #ffffff;
position: relative;
border: none;
margin-bottom: 30px;
padding-top: 10px !important;
padding-bottom: 10px !important;
	font-size: 20px !important;
	font-weight: bold;
	text-align: center;
}
.st-widgets-box .st-widgets-title:after {
border-top: 10px solid #febe31;
content: "";
position: absolute;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
bottom: -10px;
left: 30px;
border-radius: 2px;
left: calc(50% - 10px);
}
.wpp-list-with-thumbnails li {
	border-bottom: solid 1px #CCC;
	padding-bottom: 10px !important;
}

.btnwrapp {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
	align-items: stretch;
	margin-bottom: 40px;
}
.btnwrapp a {
	flex: auto;
	width: 40%;
	margin-left: 8px;
	margin-right: 8px;
}
@media screen and (max-width: 480px) {
	.entry-content img {
		width: 100%;
	}
	.entry-content a img {
		width: auto;
	}
.btnwrapp {
	flex-direction: column; 
}
.btnwrapp a {
	width: 100%;
	margin:0;
	margin-bottom: 8px;
	}

.st-mybtn a[href*="valuecommerce.com"],
.st-mcbtn a[href*="trylplus.com"]{
	font-size: 16px;
}

}

div.easyLink-info p.easyLink-info-btn a {
	width: 100% !important;
}

.mb0 {
	margin-bottom: 0 !important;
}

.easyLink-box {
	margin-top: -40px !important;
}

img.alignleft {
	width: 300px;
	max-width: 300px;
	height: auto;
}

.free-inbox img.alignleft {
		width: initial;
}
.rankh4:before {
counter-increment:rankh4;
content:counter(rankh4) ". ";
}
.rankid1,
.rank-guide {counter-reset:rankh4;}

.rankst-l {
	width: 46% !important;
	box-sizing: border-box;
}
.rankst-r {
	width: 54% !important;
	box-sizing: border-box;
	padding-left: 20px;
}
.rankst-cont {
    margin: 0 !important;
}

.rankstlink-a a:after {
	content: "≫";
}
@media screen and (max-width: 768px) {
.rankst-l {
	width: 100% !important;
	box-sizing: border-box;
	float: none;
}
.rankst-r {
	width: 100% !important;
	box-sizing: border-box;
	float: none;
	padding-left: 0;
}	
	
}

.rankst p {
    overflow: initial !important;
}

.freebox > * {
    color: #333 !important;
}

#headbox img.sitename-only-img {
    max-width: 160px;
    height: auto;
}

#s-navi dl.acordion {
	position: absolute;
	top: 5px;
}

#s-navi::after {
    display: inline;
}

.post-template-default h3 {
	clear: both;
}

div.yyi-rinker-contents {
	margin: 0;
	border: 0;
	/* background: #ffffe0; */
	box-shadow: none;
}
div.yyi-rinker-contents ul.yyi-rinker-links {
	display:flex;
	flex-direction:column;
	text-align: center;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink {
	order:1;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink {
	order:0;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink {
	background: #FF924B !important;
	order:2;
}
.product_detail {
	font-weight: bold;
	margin-bottom: -1em;
	margin-top: -1em;
}

@media only screen and (max-width: 767px) {
div.yyi-rinker-contents div.yyi-rinker-box {
	flex-flow: column;
}
	div.yyi-rinker-contents div.yyi-rinker-image {
		width: 100%;
	}
	div.yyi-rinker-contents div.yyi-rinker-image img {
		width: 70%;
		margin: 10px auto;
	}

div.yyi-rinker-contents ul.yyi-rinker-links li {
		width: 100% !important;
	padding: 10px;
		text-align: center;
		margin-bottom: 10px;
	box-sizing: border-box;
	}
	
div.yyi-rinker-contents ul.yyi-rinker-links {
	flex-flow: column !important;
	justify-content: center;
	}
div.yyi-rinker-contents div.yyi-rinker-info {
		width: 100% !important;
	padding: 10px;
	box-sizing: border-box;
	}
	.post ul:not(.toc_list):not(.st_toc_list):not(.children):not(.slick-dots):not(.st-pvm-nav-list) {
		padding-left: 0;
	}
}

div.yyi-rinker-contents ul.yyi-rinker-links li a:after {
	content: "で探す ▸";
}


/* 関連記事一覧
 * .yarpp-thumbnail img {
	width: 120px;
	height: 120px;
object-fit: cover;
}
.yarpp-thumbnail-title {
	width: auto !important;
	padding: 10px 0;
	font-size: 0.9em !important;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
	max-height: initial !important;
}

.yarpp-thumbnail {
	display: flex !important;
	flex-flow: nowrap;
	width: 100% !important;
	height: auto !important;
	padding: 10px !important;
	box-sizing: border-box;
	border: solid 4px #EEE !important;
	text-decoration: none !important;
	background: #FFF;
}

.snsbtn {
	padding-bottom: 40px;
}
*/