@charset "utf-8";

main {
	display: flex;
}


/* 都道府県地図 */
#prefectures h2 {
	color: #fff;
}

#prefImg{
	position: relative;
}
#prefImg img {
	max-width: 100%;
	/* 縦長・横長のサイズに合わせるため、消さないこと */
	max-height: 100%;
	/* 縦長・横長のサイズに合わせるため、消さないこと */
}
#prefImg svg{
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	max-height: 100%;
}

/* 地図マウスオーバー時 */
svg a{
	transition: all 0.1s;
}
svg a:hover{
	opacity: 0.6 !important;
}



/* メタバースリンク */
#metaLinkWrap a {
	display: block;
}

#metaLinkWrap a:first-child {
	margin-top: 0 !important;
}

#conAdd{
	width: fit-content;
	border-radius: 1000px;
	color: #fff;
	background: #2f94ca;
}





/* PCサイズ */
@media screen and (min-width: 1025px) {

	main {
		width: 95%;
		height: calc(100vh - (50px + 75.51px + 53px));
		margin-left: auto;
		margin-right: auto;
	}


	/* 都道府県地図 */
	#prefectures {
		width: 55%;
	}

	#prefectures h2 {
		width: 100%;
		padding: 10px 0 10px 20px;
		border-radius: 0 1000px 1000px 0;
		font-size: 1.5rem;
	}

	#prefectures div {
		/* 上マージンとh2の高さを減算 */
		/* height: calc(100% - 30px - 47.6px); */
		height: calc(100vh - (30px + 47.6px + 50px + 75.51px + 50px));
		margin: 30px auto 0 auto;
	}

	#prefImg {
		width: 100%;
	}


	/* コンテンツ */

	#metaLinkWrap {
		width: 45%;
		height: 100%;
		margin-left: 100px;
		padding: 0 25px;
		overflow-y: auto;
	}

	#metaLinkWrap a{
		margin-top: 70px;
	}
	#metaLinkWrap a:nth-child(2){
		margin-top: 0 !important;
	}



	.metatxtWrap{
		margin-top: 10px;
		padding: 5px 0 5px 10px;
	}
	.metatxtWrap, .linkRight{
		border-left: 5px solid #fff;
	}
	.metaLinkImg::after{
		font-size: 1.8rem;
	}

	.metaPlace {
		font-size: 1.6rem;
	}

	.goodIcon{
		margin-top: 7px;
	}
	.goodIcon button{
		padding: 5px 15px;
	}
	.goodIcon button i{
		margin-right: 3px;
	}
	.goodIcon button p{
		font-size: 1.1rem;
	}

	.metatxt{
		margin-top: 20px;
	}
	.tagsDisp{
		margin-top: 10px;
	}

	.tagsDisp{
		row-gap: 5px;
		column-gap: 5px;
	}
	.tagsDisp input, .linkRight p{
		padding: 5px 8px;
	}

	.linkRight{
		padding-left: 10px;
	}

	#conAdd{
		margin-top: 20px !important;
		padding: 12px 30px;
		font-size: 1.1rem;
		transition: all 0.2s;
	}
	#conAdd:hover{
		background: #163849;
	}
	#conAdd span{
		font-size: 0.8rem;
	}
	#conAdd span i{
		transform: translate(3px, -2px);
	}
}





/* スマホ・タブレットサイズ */
@media screen and (max-width: 1024px) {

	/* サイズ調整 */
	html{
		padding: 30px 30px 0 30px;
	}
	main{
		margin-bottom: 60px;
	}



	/* 都道府県地図 */
	#metaLinkWrap div.contentsLine{
		width: 100%;
		height: 1.5px;
		margin: 65px 0;
		background: #ddd;
	}
	#metaLinkWrap div.contentsLine:first-child{
		display: none;
	}
	#metaLinkWrap a{
		margin-top: 0 !important;
	}
	#prefectures h2 {
		width: 100%;
		padding: 10px 0;
		font-size: 2.2rem;
		text-align: center;
	}

	#prefectures div {
		width: 70%;
		margin: 30px auto 0 auto;
	}


	/* リンク */
	#metaLinkWrap {
		width: 85%;
		margin: 150px auto 0 auto;
		box-sizing: border-box;
	}

	.goodIcon{
		margin: 0 0 10px auto;
	}
	.goodIcon button{
		padding: 7px 15px;
	}
	.goodIcon button i{
		margin-right: 2px;
	}
	.goodIcon button p{
		font-size: 1.2rem;
	}

	#metaLinkWrap a{
		margin: 20px auto 0 auto !important;
	}
	#conAdd{
		padding: 12px 30px;
		font-size: 1.1rem;
	}
	#conAdd span{
		font-size: 0.8rem;
	}
	#conAdd span i{
		transform: translateY(-2px);
	}
	::-webkit-full-page-media, :future, :root #metatxtNoDisp{
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
	}
}





/* スマホ専用サイズ ※微調整用 */
@media screen and (max-width: 499px) {

	/* サイズ調整 */
	html {
		padding: 20px 15px 0 15px;
	}
	main{
		padding-bottom: unset;
	}



	#prefectures h2{
		font-size: 1.8rem;
	}

	/* リンク */
	#metaLinkWrap{
		width: 100%;
	}
	#metaLinkWrap div.contentsLine{
		margin: 40px 0 50px 0;
	}
	.linkRight{
		flex-direction: row;
		flex-wrap: wrap;
	}
	
	.goodIcon button p{
		font-size: 1rem;
	}
}