@charset "UTF-8";
/* === 野田藤（のだふじ）の名所 ===
           三宅龍太郎 2019          */

@counter-style parenthesized-ideograph {
	system: fixed;
	symbols: '\3220' '\3221' '\3222' '\3223' '\3224' '\3225' '\3226' '\3227' '\3228' '\3229';
	suffix: ' ';
}

@media (min-width: 480px) {

	:target::before {
		content: url('../../image/icon/sakura.svg');
		margin: 0 .1em 0 0;
		padding: 0;
		top: .15em;
	}

	/* 吉野の桜 野田の藤 高尾の紅葉 */
	h3 + dl > dt {
		display: none;
	}
	h3 + dl > dd {
		margin: 0;
	}
	h3 + dl > dd ul.flex {
		margin: 0;
		padding: 0;
		justify-content: center;
		background: url('../../image/wall/tree01.gif') no-repeat 50% 100%/30rem;
	}
	h3 + dl > dd li {
		margin: 0;
		padding: 0;
		color: #fff;
		font-size: 1.3em;
		font-weight: 400;
		text-shadow: 1px 1px 1px #333, -1px -1px 1px #333,
			-1px 1px 1px #333, 1px -1px 1px #333;
	}
	h3 + dl > dd li strong {
		color: #ffc0cb;
	}
	h4 {
		font-feature-settings: 'trad' 1;
	}
	/* 「區の花」のだふじ */
	h4:nth-of-type(2) + ul {
		margin: 0 0 0 3%;
	}
	/* 「區の花」のだふじ */
	h4:nth-of-type(3) ~ p {
		margin: 0;
	}
	/* のだふじマップリンク */
	ul:nth-of-type(4) {
		margin: 0;
		list-style: inside;
	}
	ul:nth-of-type(5) {
		margin: 0;
	}
	/* 野田藤スポット */
	h5:first-of-type {
		margin: .5em 0 0;
	}
	/* Mapionバナー */
	h5:first-of-type + ul > li {
		padding-right: .6em;
	}
	h5 + ul + dl {
		margin: 0;
		padding: .4em 1.0em .8em .8em;
		border: 2px solid #ccc;
		border-radius: 6px;
	}
	h5 + ul + dl > dd {
		margin: 0;
		padding: 0 0 0 5%;
	}
	h5 + ul + dl > dd > ul {
		margin: 0;
		padding: 0 0 0 3%;
		list-style: none;
	}
	/*
		・半角スペース: \0020
		・半角スペース改行禁止: \00A0
	*/
	h5 + ul + dl > dd > ul > li::before {
		counter-increment: list_counter;
		content: counter(list_counter, decimal) '.\00A0';	/* 頭に0補足: decimal-leading-zero */
	}

	/* 野田藤スポット内写真 */
	h5 + ul + dl > dd:nth-of-type(3) > ul > li:nth-of-type(1) > ul,
	h5 + ul + dl > dd:nth-of-type(4) > ul > li:nth-of-type(5) > ul,
	h5 + ul + dl > dd:nth-of-type(7) > ul > li:nth-of-type(4) > ul {
		margin: 0 0 .2em;
		padding: 0 0 0 4%;
	}
	.grid:first-of-type dl:first-of-type > dd:nth-of-type(3) > ul {
		margin: 1em 0 0;
	}
	
	.grid:first-of-type dl:nth-of-type(2) > dd > ul {
		margin: .2em 0 0;
		padding: 0;
		writing-mode: vertical-rl;
		list-style: parenthesized-ideograph inside;
	}
	.grid:first-of-type dl:nth-of-type(2) > dd > ul * {
		font-family: 'UD デジタル 教科書体 NK-R', 'BIZ UDP明朝', sans-serif;
	}
	.grid:first-of-type dl:nth-of-type(2) > dd > ul li {
		margin: 0 1.0em 0 0;
		font-size: 1.1em;
	}
	.grid:first-of-type dl:nth-of-type(2) > dd span:nth-of-type(2) {
		margin: 2.0em 0 .5em 0;
	}
	h5:nth-of-type(2) + div + dl, h5:nth-of-type(2) + div + dl > dt {
		margin-top: 0;
	}
	/* シェアサイクル */
	.grid:first-of-type + dl > dd:nth-of-type(2) > ul {
		padding-left: 85px;
		background: transparent url('../../image/icon/cycle03.svg') no-repeat 5px 50%;
	}

}

@media (min-width: 600px) {

	/* 野田藤スポット藤の花 */
	h5:first-of-type ~ dl:nth-of-type(2) {
		background: url('../../image/sakura/nodafuji/fiji01.webp') no-repeat calc(100% - .6em) 32px;
	}

}

@media (min-width: 600px) and (prefers-color-scheme: dark) {

	/* 野田藤スポット藤の花 */
	h5:first-of-type ~ dl:nth-of-type(2) {
		background: none;
	}

}
