@charset "UTF-8";
/* CSS Document */

@media screen and (max-width: 800px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
#nav-main {
     display: none;
}
/* ---------------------------------------------
ハンバーガーメニュー
---------------------------------------------*/
#ham-menu {
    background-color: #80254e; /*メニュー背景色*/
    opacity: 0.9;
	box-sizing: border-box;
    height: 100%;
    padding: 10px 0px; /*メニュー内左右上下余白*/
    position: fixed;
    right: -250px; /*メニュー横幅 width と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 250px; /*メニュー横幅*/
    z-index: 1000;
	overflow: auto;
 -webkit-overflow-scrolling: touch;
}
#ham-menu ul{
	margin: 0px;
	padding: 0px 1em;
}
#ham-menu ul li {
	font-size: medium;
	line-height: 160%;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #A0A0A0;	
	display: block;
	color: #238e44;
	padding: 2% 0% 2% 0%;
}
#ham-menu ul li a:link {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 2% 0% 2% 0%;
}
#ham-menu ul li a:hover {
	color: #fff2e6;
	display: block;
	text-decoration: none;
	opacity: 0.6;
	padding: 2% 0% 2% 0%;
}
#menu-background {
    background-color: #333;
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
}
#menu-icon {
    background-color: #80254e; /*アイコン部分背景色*/
    opacity: 0.9;
	border-radius: 0 0 0 10px; /*左下角丸*/
    color: #fff; /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 50px; /*アイコン（フォント）サイズ*/
    height: 50px; /*アイコン縦高さ*/
    line-height: 50px; /*縦位置中央化*/
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px; /*アイコン横幅*/
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    z-index: 1000;
}
#menu-cb {
    display: none;
}
#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    transform: translate(-250px); /*メニュー本体横幅 width と合わせる*/
}
#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}

/* ---------------------------------------------
ヘッダー
---------------------------------------------*/
#nav-main {
	display: none;
}
}
	
	
@media (min-width: 960px) {

#ham-menu,#menu-cb,#menu-icon {
     display: none;
}
}
