/* /////////////// */
/*  PC  */
/* /////////////// */
.menu_area_pc {
    display: block;
}
.l-sideutil {
    position: fixed;
    z-index: 100;
    right: -250px;
    top: calc(150px + 5rem);
    width: calc(250px + 7.6rem);
    color: #eadccf;
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 2rem 0 0 2rem;
    overflow: hidden;
    transition: ease right 0.8s;
}
.l-sideutil a:hover {
    color: #fafafa;
}
.l-sideutil.is-active {
    right: 0;
}
.l-sideutil__buttons {
    width: 7.6rem;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
}
.sideutil__buttons__item {
    position: relative;
    color: #fff;
    font-weight: 600;
    padding: 22px 14px 20px;
    font-feature-settings: normal;
    text-align: center;
}
.sideutil__buttons__item i {
    font-size: 4.4rem;
    display: block;
    text-align: center;
}
.sideutil__buttons__item span {
    font-size: 1.2rem;
    text-align: center;
}
.l-sideutil__yoyaku {
    padding: 10px 15px;
    width: 250px;
    background-color: #1a1a1a;
}
.pcnavi li {
    font-size: 1.8rem;
    line-height: 1.6;
}
.pcnavi li a {
    color: #fafafa;
}
.pcnavi li a:hover {
    color: #fafafa;
}

@media screen and (min-width: 768px) and (max-width: 959px) {
    .l-sideutil__buttons {
        width: 7.2rem;
    }
    .sideutil__buttons__item {
        font-size: 1.4rem;
        padding: 22px 5px 20px;
        text-align: center;
    }
    .l-sideutil__yoyaku {
        width: 220px;
    }
    .l-sideutil {
        width: calc(220px + 7.2rem);
        right: -220px;
    }
    .pcnavi li {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:767px){
    .l-sideutil {
        top: 100px;
        right: -180px;
        width: calc(180px + 5.2rem);
    }
    .l-sideutil__buttons {
        width: 5.2rem;
    }

    .sideutil__buttons__item {
        padding: 20px 0px;
    }
    .sideutil__buttons__item i {
        font-size: 2.8rem;
    }
    .sideutil__buttons__item span {
        font-size: 1.0rem;
    }
    .l-sideutil__yoyaku {
        width: 180px;
    }
    .pcnavi li {
        font-size: 1.2rem;
    }
}



/* /////////////// */
/*  SP  */
/* /////////////// */
.menu_area_sp {
    display: none; /* PCでは非表示 */
    width: 75px;
    height: 75px;
    background-color: #1a1a1a;
    position: fixed;
    right: 0;
    z-index: 101;
    top: 17rem;
    /* 左だけ角丸をつける */
    border-top-left-radius: 2rem;
	-webkit-border-top-left-radius: 2rem;
	-moz-border-radius-topleft: 2rem;
	border-bottom-left-radius: 2rem;
	-webkit-border-bottom-left-radius: 2rem;
	-moz-border-radius-bottomleft: 2rem;
}

.openbtn1 {
    position: fixed;
    top: 17rem;
    right: 0px;
    z-index: 9999;
    cursor: pointer;
    width: 75px;
    height: 75px;
}
/*×に変化*/
.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 20px;
    height: 3px;
    border-radius: 2px;
    background-color: #eadccf;
    width: 50%;
}
.openbtn1 span:nth-of-type(1) {
    top: 18px;
}
.openbtn1 span:nth-of-type(2) {
    top: 29px;
}
.openbtn1 span:nth-of-type(3) {
    top: 40px;
}
.openbtn1 span:nth-of-type(3)::after {
    content: "メニュー";
    position: absolute;
    top: 5px;
    left: -10px;
    color: #eadccf;
    font-size: 1.4rem;
    width: 75px;
    text-transform: uppercase;
}
.openbtn1.active span {
    background-color: #1a1a1a;
}
.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}
.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}
.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}
.openbtn1.active span:nth-of-type(3)::after {
    content: "とじる";
    transform: translateY(0) rotate(-45deg);
    top: -3px;
    left: 6px;
    color: #1a1a1a;
}

/*ハンバーガーメニュー設定*/
#g-nav.panelactive {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.circle-bg {
    position: fixed;
    z-index: 3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #eadccf;
    transform: scale(0);
    left: -50px;
    top: calc(50% - 50px);
    transition: all .6s;
}

.circle-bg.circleactive {
    transform: scale(50);
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
    display: block;
}

/*ナビゲーション*/
#g-nav ul {
    opacity: 0;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    width: 100%;
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes gnaviAnime {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*リストのレイアウト設定*/
#g-nav li {
    text-align: center;
    list-style: none;
    margin-bottom: 20px;
}
#g-nav li a {
    color: #1a1a1a;
    text-decoration: none;
    padding: 20px 60px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}
.gnavi{
    margin:0 0 50px 0;
    list-style: none;
}    
.gnavi li a{
    display: block;
    text-decoration: none;
    color: #1a1a1a;
}    
.gnavi li{
    margin-bottom:20px;
}
    
/*==================================
 テキストが入れ替わる
===================================*/
.gnavi li a{
    position: relative;
    overflow: hidden;
    padding:10px 60px;
}    
.gnavi li span{
    position: absolute;
    left: 50%;
    top:0;
    transition: all .5s;
    transform: translate(-50%, 0);
    display: block;
    opacity:1;
    white-space: nowrap;
    font-size: 2.0rem;
}


@media screen and (max-width:767px){
    .wrapper {
        top: 60px;
    }
    .menu_area_sp {
        background: #eadccf;
        width: 100%;
        height: 60px;
        top: 0;
        left: 0;
        position: fixed;
        z-index: 110;
        border-bottom: solid 3px;
        display: block;
        border-top-left-radius: 0;
        -webkit-border-top-left-radius: 0;
        -moz-border-radius-topleft: 0;
        border-bottom-left-radius: 0;
        -webkit-border-bottom-left-radius: 0;
        -moz-border-radius-bottomleft: 0;

        display: block;
    }
    .openbtn1 {
        position: fixed;
        top: 0px;
        right: 0px;
        z-index: 9999;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    .openbtn1 span {
        left: 14px;
        height: 3px;
        background-color: #1a1a1a;
        width: 45%;
    }
    .openbtn1 span:nth-of-type(1) {
        top: 15px;
    }
    .openbtn1 span:nth-of-type(2) {
        top: 23px;
    }
    .openbtn1 span:nth-of-type(3) {
        top: 31px;
    }
    .openbtn1 span:nth-of-type(3)::after {
        color: #1a1a1a;
        left: -9px;
        font-size: 1.0rem;
        width: 50px;
    }
    .openbtn1.active span:nth-of-type(1) {
        width: 40%;
    }
    .openbtn1.active span:nth-of-type(3) {
        width: 40%;
    }
    .openbtn1.active span:nth-of-type(3)::after {
        left: 3px;
        top: -2px;
    }

    #g-nav li a {
        padding: 10px 60px;
    }
    .gnavi li span{
        font-size: 1.5rem;
    }
}