/* CSS Document */

.detailUpfile{
	cursor: pointer;
}


#imageModal {
    display: none; /* ← 最初は非表示 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
	overflow: scroll;
}


#closeModal {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #000;
    height: 50px;
    padding-bottom: 3px;
}

#closeModal:hover {
	border:1px solid #fff;
}

#modalImage {
    width: 70vw;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 60px auto; /* 上に余白 */
}


.detailUpfile:hover{
	opacity: 0.75;
}



/* 画面幅800px以下のとき */

@media (max-width: 800px) {
    #modalImage {
        width: calc(100% - 40px);
        max-width: 100%;
    }

	
	#closeModal {
    	top: 0px;
		right: 0px;
	}
}