@charset "utf-8";

body{
    background-color:#FFFAF5;
    font-size: 16px;
    color:#586D82;
    margin:0;
    font-family:"Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック体", sans-serif;
}
a{
    text-decoration: none;
    color:inherit;
}

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

header{
    position: fixed;
    width:100%;
    height:100px;
    padding:10px;
    box-sizing:border-box;
    top:0;
    left:0;
    display:flex;
    justify-content: space-between;
    background:linear-gradient(180deg,#FFFAF5,rgba(0,0,0,0));
    z-index: 100;            
}
article{
    margin-top:100px;
    position: relative;
    z-index:1;
}
.menu-btn{
    top:15px;
    right:0;
    display:flex;
    height:80px;
    width:80px;
    justify-content: center;
    align-items:center;
    z-index: 90;
    background-color: #FFFAF5;
    cursor: pointer;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after{
    content:'';
    display:block;
    height:5px;
    width:40px;
    border-radius: 0px;
    background-color:#E7DED6;
    position:absolute;
    transition: all.5s ease;
}
.menu-btn span:before{
    bottom:12px;
}
.menu-btn span:after{
    top:12px;
}
#menu-btn-check:checked ~ .menu-btn span{
    background-color: rgba(255,255,255,0);
}
#menu-btn-check:checked ~ .menu-btn span::before{
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after{
    top:0;
    transform:rotate(-45deg)
}

.menu-list{
    width:250px;
    height:280px;
    position:fixed;
    text-align: center;
    top:100px;
    z-index:80;
    background-color: #E7DED6;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    right:0;
}
@media screen and (max-width:599px){
    .menu-list{
        height:265px;
    }    
}
#menu-btn-check:checked ~ .menu-list{
    transform: translateX(0);
}

.menu-list ul{
    padding:0 10px 0;
}
.menu-list ul li{
    border-bottom:solid 1px #707070;
    list-style:none;
}
.menu-list ul li a{
    display:block;
    width:240px;
    font-size:18px;
    box-sizing:border-box;
    color:#586D82;
    text-decoration:none;
    padding:30px 30px;
    position:relative;
}

#menu-btn-check{
    display:none;
}

footer{
    width:100%;
    height:300px;
    position:relative;
    background-color:#E7DED6;
}
.footerlogo{
    width:220px;
    position:absolute;
    top:20px;
    left:50%;
    transform: translate(-50%,0);
}
.footer-link{
    position:absolute;
    top:100px;
    width:320px;
    left:50%;
    transform: translate(-50%,0);
    font-size: 12px;
    text-align: center;
}
.footer-link li{
    position:relative;
    margin-top: 5px;
    display: inline-block;
    list-style: none;
    padding-left: 12px;
}
.footer-link li::before{
    position: absolute;
    content:"";
    top:0.3em;
    left:0em;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #586D82;
}
.ocha,.exam,.faculty{
    margin-right:20px;
}

.footer-mail{
    width:225px;
    position:absolute;
    top:210px;
    left:50%;
    transform: translateX(-50%);
}
.SNS-link{
    position:absolute;
    bottom:15px;
    text-align: center;
    left:50%;
    transform: translateX(-50%);
}

footer p{
    width:100%;
    font-size: 13px;
    position:absolute;
    top: 165px;
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
}
.SNS-link *{
    height:30px;
    margin-left:10px;
}
.margin{
                margin:150px;
            }
@media screen and (max-width:599px){
    footer{
        height:340px;
    }
    
    footer p{
        width:80%;
        top:165px;
    }
    .footer-mail{
        top:240px;
    }
    .SNS-link{
        margin:0;
        margin-bottom:10px;
        transform: translate(-50%,0);
    }
}