body{
    width: 100%;
    height: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-feature-settings: "palt";
    font-family:Bodoni MT,Didot,Didot LT STD,Hoefler Text,Garamond,Times New Roman,serif; 
}
li,a{
    text-decoration: none;
    list-style: none;
    color: black;
}
/* header */
.header{
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 20vw;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(0,0,0,0)), url("../common_meterials/headerphto.PNG");
    background-size: cover;
    background-repeat: no-repeat;
}
.title{
    margin: 0;
    padding: 0;
    position: absolute;
    top: 3%;
    right: 50%;
    transform: translate(-60%,3%);
}
.title img{
    height: 10vw;
}
.hamburger{
    position: absolute;
    top:20%;
    right: 35vw;
    transform: translate(50%,-10%);
}
.hamburger ul{
    padding: 0;
    display: flex;
    gap: clamp(10px,3vw,200px);
    font-size: clamp(17px,2vw,25px);
    line-height: 1.5;
}
/* main */
.main_title{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3vw;
}
/* ホバーで４つの場所に写真を映し出す */
.medicine{
    height: 100dvh;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    
    --photo1: url("Untitled46_20250119172258.PNG");
    --photo2: url("Untitled47.jpg");
    --photo3: url("Untitled48_20250119174939.jpg");
    --photo4: url("Untitled49_20250119175638.jpg");

    &:has(.Neuroscience:hover){
        --photo1: url("Untitled46_20250119172258.PNG");
        --photo2: url("Untitled46_20250119172258.PNG");
        --photo3: url("Untitled46_20250119172258.PNG");
        --photo4: url("Untitled46_20250119172258.PNG");
    }
    &:has(.Anatomy:hover){
        --photo1: url("Untitled47.jpg");
        --photo2: url("Untitled47.jpg");
        --photo3: url("Untitled47.jpg");
        --photo4: url("Untitled47.jpg");
    }
    &:has(.Kinesiology:hover){
        --photo1: url("Untitled48_20250119174939.jpg");
        --photo2: url("Untitled48_20250119174939.jpg");
        --photo3: url("Untitled48_20250119174939.jpg");
        --photo4: url("Untitled48_20250119174939.jpg");
    }
    &:has(.Clinical:hover){
        --photo1: url("Untitled49_20250119175638.jpg");
        --photo2: url("Untitled49_20250119175638.jpg");
        --photo3: url("Untitled49_20250119175638.jpg");
        --photo4: url("Untitled49_20250119175638.jpg");
    }

    > div{
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        transition: backgraund-image .5s case-in-out;

        &.Neuroscience{
            background-image: var(--photo1);
        }
        &.Anatomy{
            background-image: var(--photo2);
        }
        &.Kinesiology{
            background-image: var(--photo3);
        }
        &.Clinical{
            background-image: var(--photo4);
        }
    }
}
.content{
    font-weight: 500;
    font-size: clamp(15px,2vw,20px);
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
    scroll-behavior: smooth;
    >.subtitle{
        line-height: clamp(30px,5vw,35px);
    }
}
.content h2{
    display: flex;
    justify-content: center;
    align-items: center;
}
.content::-webkit-scrollbar {
    display: none; /* Chrome, Safari用 */
}


/* footer */
footer{
    margin-top: 15vw;
    padding-top: 5vw;
    width: 100%;
    height: clamp(580px,70vw,700px);

    background: 
    url("../common_meterials/clean-gray-paper.png"),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.5)),
    #9cafb2;
    background-size: cover;
    filter: brightness(0.9) contrast(1.1);
}
.footer_content{
    font-size: clamp(13px,2vw,20px);
}
.footer_img img{
    width: 100px;
    height: auto;
    margin-right: 5vw;
}
.footer_sns img{
    width: auto;
    height: 30px;
}
.footer_sns{
    display: flex;
    align-items: center;
    gap: 10vw;
    margin-top: 3vw;
}
.footer_footer{
    display: flex;
    justify-content: center;
    align-items: center;
}
.table_content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 100px);
    gap: 70px;
    margin-top: 30px;
    text-align: center;
}
.table_content h3,ul{
    padding: 0;
    margin: 0;
}
@media screen and (max-width:400px) { 
    .content{
        font-size: 12px;
    }
}