@charset "utf-8";
/* CSS Document */

#menu{
    max-width: 1300px;
    width: 100%;
    margin-top: 3rem;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 2rem;
    padding: 0;
    height: auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-radius: 0px;
    flex-wrap: wrap;
}
@media screen and (max-width: 750px) {
	#menu{
		flex-direction: column;
	}	
}
#menu div{
    width: calc((100% - 1rem)/2);
    border: 1px solid #DBDBDB;
    border-radius: 8px;
    padding: 2rem;
    background: #fff;
    box-sizing: border-box;
    /* 追加 */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
    
}
@media screen and (max-width: 850px) {
	#menu div{
		width: calc((94% - 0.5rem)/2);
		margin-right: auto;
    margin-left: auto;
	}
}
@media screen and (max-width: 750px) {
	#menu div{
	width:94%;
	    margin-right: auto;
    margin-left: auto;
	}
}



#menu div a{
	text-decoration: none;	
}
#menu div img{
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    display: block;
}

#menu div:hover{
    border-color: #1976CC;
    box-shadow: 0 12px 28px rgba(25, 118, 204, 0.18);
    transform: translateY(-6px);
}

#menu div h2{
    text-align: center;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-size: 1.8rem;
    color: #1976CC;
    margin-bottom: 1px;
    padding: 0;
    margin-top: 5px;
}
#menu div p{
    color: #666666;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 1rem;
}
h1{
    margin-left: auto;
    margin-right: auto;
    max-width: 1300px;
    text-align: center;
    margin-top: 5rem;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-size: 1.8rem;
    color: #1976CC;
    width: 100%;
}
#oshirase{
    padding: 2rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    background-color: #E9F4F3;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 5rem;
    width: 100%;
}
@media (max-width:556px) {
	h1,
	#oshirase{
		width: 94%;
	}
}




