@charset "UTF-8";
/* === Twitter フォトギャラリー === */
/* 三宅龍太郎 c2017 */

	/* ウィジェット */
	[name='TwitterWidget'] {
		width: 640px;
		height: 480px;
	}

@media (min-width: 480px) {

	h4:first-of-type::before {
		content: '';
		margin: 0 .2em 0 0;
		width: 1.75rem;
		aspect-ratio: 1/1;
		background: url('../../../image/icon/pen.svg') no-repeat 50%/contain;
		top: .3em;
	}
	/* 畫廊インデックス */
	ol:first-of-type {
		margin: 0 0 0 3%;
		padding: 0 .4em 0 .8em;
		border: thick double #bbb;
		border-radius: .4rem;
		gap: 0 1.5em;
		list-style: inside url('../../../image/icon/ball_nais.png');
	}
	/* コピーライト */
	#COPYRIGHT dd:nth-of-type(n+2) {
		text-align: right;
	}
	/* トピックス */
	/* 最初の H5 見出しに續く DL */
	h5:first-of-type {
		padding: 0 0 0 3rem;
		color: #333;
		background: url('../../../image/wall/ribbon01.png') no-repeat 0 50%/12.5rem;
		letter-spacing: .1em;
	}
	h5:first-of-type + dl {
		margin: 0;
		padding: 0;
	}
	h5:first-of-type + dl dt {
		list-style: none;
	}
	h5:first-of-type + dl > dt::before {
		content: '';
		display: inline-block;
		top: .2em;
		width: 1.2em;
		height: 1.2em;
		background: url('../../../image/icon/twitter01.svg') 0/contain;
	}
	h5:first-of-type + dl > dd {
		margin: 0 0 0 2%;
		padding: .4em .8em .4em 1em;
		border: .0625em solid #bbb;
		border-radius: .4em;
	}
	h5:first-of-type + dl > dt:first-of-type {
		margin-top: 0;
	}
	h5:first-of-type + dl > dd ul {
		margin: 0;
		padding: 0 0 0 1.5em;
		list-style: outside url('../../../image/icon/ball_nais.png');
	}
	h5:first-of-type + dl > dd ul.flex {
		gap: 0 2.5em;
	}

	h5:first-of-type + dl > dd a[href*='twitter.com/']::before {
		content: '';
		display: none;
	}

	/* ２番目の H4 見出し */
	h4:nth-of-type(2)::before {
		content: '';
		margin: 0 .2em 0 0;
		width: 2rem;
		aspect-ratio: 1/1;
		background: url('../../../image/twitter/dog01.png') no-repeat 50%/contain;
		top: .5em;
	}
	/* Twitter 關聯――２番目の H4 見出しに續く DL */
	h4:nth-of-type(2) + dl dt {
		display: block;
		margin: 0;
		padding: 0;
	}
	h4:nth-of-type(2) + dl dt::before {
		content: url('../../../image/icon/shortcut.svg');
		margin: 0 .2em 0 1.0em;
		padding: 0;
		vertical-align: -5%;
	}

	/* ウィジェット */
	h4:nth-of-type(2) + dl > dd:nth-of-type(8) {
		display: inline-block;
		margin: 0 0 0 5%;
		padding: 0;
	}

/*=========== 各ページ適用 ===========*/

	:target {
		display: list-item;
		padding: 0 1.0em;
		color: inherit;
		background-color: #ffe;
		border: .0625em solid #ccc;
		border-radius: .4em;
	}
	:target::before {
		content: '';
		display: none;
		margin: 0;
		padding: 0;
		vertical-align: baseline;
		position: static;
		left: 0;
	}

}