@charset "utf-8";
/* CSS Document ハンバーガーメニュー https://eclair.blog/hamburger-menu-css-animations/ **/
.menu-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 1000;
    background: #F475A1;
    border-radius: 6px;
    padding: 5px;
	position: absolute;
	top: 12px;
	right: 12px;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.close-button {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}
.modal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
}
.modal{
    transform: translateX(100vw);
    transition: all .3s linear;
}
.modal.open{
    transform: translateX(0);
}
.modal ul{
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: .5em 1em;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    list-style: none;
}
.modal ul li a{
    display: block;
    width:240px;
    text-align: center;
    white-space: nowrap;
    color: #444444;
    text-decoration: none;
    border-radius: 6px;
    line-height: 2.4;
    background: #F6EFE4;
    margin:1.5em 0;
	font-family: 'Noto Serif JP', serif;
	border: 1px solid #C39155;
	font-weight: bold;
}
.modal ul li a span{
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 0.8em;
	caption-side: #C39155;
	margin-left: 4px;
	font-weight: normal;
}
@media screen and (min-width: 768px){
    .menu-toggle {
    display: none;
    }
    .modal{ display:none;}
}
