@charset "UTF-8";

/* === スライドショウ用 === */
/* 孔官堂 旧事務所楝 三宅龍太郎 2018 */

	h4 {
		margin-bottom: 0;
	}

	#SLIDESHOW h4:first-of-type,
	#SLIDESHOW h4:first-of-type + p {
		display: none;
	}
	/* ルビ付きページ */
	#SLIDESHOW rt {
		font-size: .5625em;
	}

@media (max-width: 480px) {

	h4:nth-of-type(2) {
		margin-top: 3em;
	}

}

@media (max-width: 640px) {

	p + ul {
		display: none;
	}

}

@media (min-width: 480px) {

	/* シンプル版リンク */
	p + ul:first-of-type {
		margin: -1.2em 0 0 1em;
		padding: 0;
		list-style: none;
		height: 41px;
		float: right;
	}
	p + ul:first-of-type li {
		margin: 0;
		padding: 0;
		line-height: 1.5;
	}
	p + ul:first-of-type::before {
		display: block;
		content: '';
		width: 66px;
		height: 40px;
		background: url('../../image/icon/cycle02.svg') no-repeat 50% -7px/58px;
		border-radius: 3px;
	}
	#SLIDESHOW p + ul:first-of-type::before {
		left: .6em;
	}
	/* 建物寫眞一覽の次のリンクと建物概要 */
	h4 + ul + dl,
	h4 + ul + dl > dt:nth-of-type(1),
	h4 + ul + dl > dt:nth-of-type(2) {
		margin-top: 0;
		clear: none;
	}
	/* サムネイル画像の大きさ */
	ul.flex:not(._left) img {
		width: 156px;
	}

	/* シンプル版プレビューリンク */
	a[target='PhotoFrame']::after {
		content: url('../../image/icon/wrightingpen.svg');
		top: .14rem;
		background: transparent;
	}

	aside.grid, .grid:last-of-type {
		gap: 0 1em;
	}
	aside .count {
		padding: 0;
		list-style: none;
	}
	footer {
		margin-top: .5em;
	}

}
