/* ========================================
 * common.css overrides for skodate page
 * skodateページはmodernなHTML構造を使用しているため、
 * 古いスタイルを上書きする必要がある
 * 
 * NOTE: 他のmarketページ（chumon/ckodate/cmansion/reform_renovation）が
 * modernな実装に移行したら、このファイルを削除し、
 * home_market_common.cssに統合すること
 * ======================================== */

/* .cv-fixed should be visible on skodate page */
.cv-fixed {
	display: flex !important;
}

/* SP版: 横並びを明示的に指定（flex-flow: inheritは予測不可能なため） */
@media screen and (max-width: 768px) {
	.cv-fixed {
		flex-direction: row !important;
	}
}

/* site-pagetop: Modern implementation with <div><img> structure */
@media screen and (min-width: 769px) {
	.site-pagetop {
		width: 50px;
		height: 50px;
	}
}

@media screen and (min-width: 769px) {
	.site-pagetop a {
		width: 50px;
		height: 50px;
		display: block;
	}
	.site-pagetop a::after {
		width: 100%;
	}
}

.site-pagetop a {
	height: 80px;
	text-indent: -5000px;
}

@media screen and (max-width: 768px) {
	.site-pagetop a {
		height: 60px;
	}
}

@media (min-width: 768px) {
	.site-pagetop a:hover > div img {
		-webkit-filter: brightness(0) invert(1);
		filter: brightness(0) invert(1);
	}
	.site-pagetop a:hover > div {
		background-color: #a54402;
		border-color: #a54402;
	}
}

.site-pagetop a > div {
	width: 50px;
	height: 50px;
	box-sizing: border-box;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 25px;
	border: 3px solid #ed6103;
	padding: 10px;
	background: #fff;
	-webkit-transition: background-color .3s ease, border-color .3s ease, color .3s ease;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

/* Remove ::after pseudo-element (old implementation) */
.site-pagetop a::after {
	display: none !important;
}
