@charset "UTF-8";
/*header*/
/*ボタン外側*/
.openbtn{
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: lightpink;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}
/*ボタン内側*/
.openbtn span{
    display: inline-block;
    /*アニメーション*/
    transition: all .4s;
    position: absolute;
}
.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
    background: white;
    width: 62%;
    left: 10px;
}
.openbtn span:nth-of-type(1){
    top: 13px;
}
.openbtn span:nth-of-type(2){
    top: 19px;
    left: 11px;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: black;
}
.openbtn span:nth-of-type(3) {
    top: 36px;
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
.mainblur{
    filter: blur(5px);
}
/*ナビゲーション*/
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overfow-scrolling: touch;
}
#g-nav ul{
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
nav ul{
    list-style: none;
    text-align: center;
}
nav ul li a{
    display: inline-block;
    text-decoration: none;
    color: black;
    padding: 10px;
}
#g-nav{
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: lightpink;
    transition: all 0.6s;
}
#g-nav.panelactive{
    right: 0;
    opacity: 1;
    z-index: 999;
}
.gnavi li{
    color: rgba(255,255,255,0);
}
.gnavi li a{
    position: relative;
}
.gnavi li.current a,
.gnavi li a:hover{
    color: lightskyblue;
}
.gnavi li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: yellow;
    transition: all .3s;
    transform: scale(0,1);
    transform-origin: center top;
}
.gnavi li.current a::after,
.gnavi li a:hover::after{
    transform: scale(1,1);
}

/*header*/
body{
}
h1{
    margin: 0;
    padding: 10px;
}
header{
    width: 100%;
    height: 90px;
    background-color: blanchedalmond;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    border-bottom: chocolate 5px solid;
}
header img{
    width: 15%;
    height: auto;
}
@media(max-width: 750px){
    header img{
        width: 38%;
        height: auto;
    }    
}
/*menseki*/
.menseki{
    padding-top: 30px;
    padding-left: 50px;
    padding-bottom: 80px;
}
.menseki h1{
    font-family: serif;
}
.menseki p{
    font-family: serif;
}

/*footer*/
footer{
    clear: left; 
    background-color: chocolate;
    padding: 40px;
}
footer ul{
    list-style-type: none;
    margin: 0 0 5px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

footer ul li{
    margin: 0 0 0 0px;
}
footer ul li a,
footer ul li a:link,
footer ul li a visited{
    text-decoration: none;
    font-size: 13px;
    font-family: serif;
    color: black;
    background: chocolate;
}
@media (max-width: 480px){
    footer{
        clear: left; 
        background-color: chocolate;
        padding: 20px;
    }
    footer ul{
        list-style-type: none;
        margin: 0 0 5px;
        padding: 0;
        display: flex;
        justify-content: flex-end;
    }
    
    footer ul li{
        margin: 0 0 0 10px;
    }
    footer ul li a,
    footer ul li a:link,
    footer ul li a visited{
        text-decoration: none;
        font-size: 3px;
        font-family: serif;
        color: black;
        background: chocolate;
    }
    
    footer ul li a:hover{
        color: white;
        border-bottom: 1px solid white;
    }
    footer p,a{
        color: black;
        font-family: serif;
        list-style: none;
    }
    footer a:hover{
        color: burlywood;
    }
}
footer ul li a:hover{
    color: white;
    border-bottom: 1px solid white;
}
footer p,a{
    color: black;
    font-family: serif;
    list-style: none;
    text-align: right;
}