body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
    margin: auto;
    width: 100%;
    text-align: center;
    }

/* メニューボタン */
#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#ECF2EC;
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:3;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding-left: 0;
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li {
	list-style: none;
    text-align: center;
    white-space: nowrap;
}

#g-nav li a {
    color: #000;
    font-size: 32px;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	font-weight: bold;
    background-color: #fff;
    padding: 0.8em 8em;
    margin-bottom: 4px;
}

#g-nav li a:hover {
    background-color: #80B18F;
    color: #fff;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
	cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    height: 110px;
    width: 120px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 0 0 0 20px;
    font-size: 24px;
    z-index: 4;
    padding-top: 0.5em;
    padding-bottom: -0.5em;
}

.open-txt {
    display: block;
}

.close-txt {
    display: none;
}
	
/*クリック後*/	
.openbtn.panelactive {
    background-color: #80B18F;
    color: #fff;
}

 .close-txt.panelactive  {
    display: block;
}

.open-txt.panelactive {
    display: none;
}

#menu-btn-check {
    display: none;
}

/* フッター */
footer {
    margin-top: 160px;
    background-color: #fff;
    display: flex;
    padding-top: 66px;
    padding-bottom: 66px;
    justify-content: center;
}

.f-logo {
    height: 61px;
    width: 314px;
    margin-right: 80px;
    margin-left: 20px;
}

.f-unit {
    text-align: left;
    margin-right: 20px;
}

.footer-txt {
    font-size: 22px;
    margin-top: 12px;

}

.f-pra  a{
    font-size: 22px;
    color: #00539A;
    text-decoration-line:none;
}

input::placeholder {
    color: #C0C0C0;
}

/* カラー */
.color-red {
    color: #FF0000;
}

*,
*::before,
*::after {
  box-sizing: content-box;
}


/* 959px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 959px) {
    /* メニュー */
    #g-nav li  a{
        padding: 0.8em 5.5em;
    }

    /* フッター */
    footer {
        margin-top: 140px;
    }

    .footer-txt {
        font-size: 16px;
    }

    .f-pra a {
        font-size: 16px;
    }

    .f-logo {
        height: 48px;
        width: auto;
    }


}


/* 540px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 540px) {
    /* メニュー */
    .openbtn {
        font-size: 12px;
        height: 54px;
        width: 60px;
        padding-top: 0.5em;
        border-radius: 0 0 0 15px
    }

    #g-nav li a {
        font-size: 20px;
        padding: 0.8em 5em;
    }

    /* フッター */
    footer {
        margin-top: 80px;
        display: block;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .footer-txt {
        font-size: 9px;
    }

    .f-logo {
        height: 32px;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .f-unit {
        text-align: center;
        margin-top: 40px;
        margin-right: auto;
        margin-left: auto;
    }

    .f-pra  a{
        font-size: 12px;
    }

    .footer-txt {
        margin-top: 20px;
    }
}