@charset "utf-8";

main.map {
	overflow: visible;
}

#japan_map {
	width: 27vw;
	margin: 0 auto;
	padding-bottom: 5%;
	position: relative;
	top: -30px;
}

@media screen and (min-height: 780px) {
	#japan_map {
		top: 1vh;
		width: 70vw;
	}
}

#japan_map p {
	width: 100%;
}

#hokkaido {
	width: 15%;
	position: absolute;
	top: 5%;
	left: 75%;
}

#touhoku {
	width: 15%;
	position: absolute;
	top: 30%;
	left: 65%;
}

#kantou {
	width: 15%;
	position: absolute;
	top: 55%;
	left: 65%;
}

#chubu {
	width: 15%;
	position: absolute;
	top: 45%;
	left: 45%;
}

#kinki {
	width: 15%;
	position: absolute;
	top: 70%;
	left: 45%;
}

#chugoku {
	width: 15%;
	position: absolute;
	top: 55%;
	left: 15%;
}

#shikoku {
	width: 15%;
	position: absolute;
	top: 80%;
	left: 20%;
}

#kyushu {
	width: 15%;
	position: absolute;
	top: 75%;
	left: -5%;
}

.youkai_chihou {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: "Yuji Syuku";
}

.chihou {
	width: fit-content;
}

.youkai_icon {
	width: 100%;
	filter: brightness(0.9);
	transition: all 0.2s ease;
}

.youkai_icon:hover {
	width: 150%;
	filter: brightness(1.3)
}

@media screen and (max-width: 1024px) {
	.youkai_icon:hover {
		width:100%;
		filter: brightness(0.6);
	}
}

.youkai_icon img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	background: #1f1f1f;
	border: solid 1px white;
	object-position: 0 15%;
}

.chihou {
	font-size: 1.1rem;
	text-wrap: nowrap;
}

/* スマートフォン対応　max-width: 450px*/

@media screen and (max-width: 450px) {
	 #midashi_wrapper {
        width: 90%;
        margin: 0 auto; 
        text-align: center; 
    }

    #midashi_wrapper h1 img {
        width: 100%; 
        max-width: 350px; 
        height: auto; 
        display: block; 
        margin: 0 auto; 
    }

    #japan_map {
        width: 95vw; 
        margin: 0 auto; 
        padding-bottom: 10%; 
        top: 0; 
    }

    #japan_map p img {
        max-width: 100%; 
        height: auto;    
        display: block;  
        margin: 0 auto;  
    }
    .chihou {
        font-size: 0.9rem; 
        margin-top: 3px; 
    }
    .youkai_icon {
        width: 60px; 
        filter: brightness(1); 
    }

    .youkai_icon:hover {
        width: 60px; 
        filter: brightness(1); 
    }

    .youkai_icon img {
        width: 100%; 
    }

    #hokkaido {
        width: 15%; 
        top: 5%;    
        left: 70%;  
    }

    #touhoku {
        width: 15%;
        top: 28%;
        left: 65%;
    }

    #kantou {
        width: 15%;
        top: 56%;
        left: 68%;
    }

    #chubu {
        width: 15%;
        top: 44%;
        left: 40%;
    }

    #kinki {
        width: 15%;
        top: 65%;
        left: 46%;
    }

    #chugoku {
        width: 15%;
        top: 60%;
        left: 10%;
    }

    #shikoku {
        width: 15%;
        top: 77%;
        left: 25%;
    }

    #kyushu {
        width: 15%;
        top: 80%;
        left: 2%;
    }
    footer p {
        font-size: 0.8rem;
    }
}

/* スマートフォン対応　max-width: 320px*/

@media screen and (max-width: 320px) {
	 #midashi_wrapper {
        width: 85%;
        margin: 0 auto; 
        text-align: center; 
    }

    #midashi_wrapper h1 img {
        width: 100%; 
        max-width: 350px; 
        height: auto; 
        display: block; 
        margin: 0 auto; 
    }

    #japan_map {
        width: 80vw; 
        margin: 0 auto; 
        padding-bottom: 10%; 
        top: 0; 
    }

    .youkai_icon {
        width: 40px; 
        filter: brightness(1); 
    }

    .youkai_icon:hover {
        width: 40px; 
        filter: brightness(1); 
    }

    .youkai_icon img {
        width: 100%; 
    }
	
}