img{
    max-width: 100%;
    height: auto;
    width /***/:auto;　
}
#container{
    width:100%;
}

/* ---------- リンク指定 ---------- */

a:link    { color:#8c8c8c; text-decoration:none ; }
a:visited { color:#8c8c8c; text-decoration:none ; }
a:hover { background-color: #cfDED3 ; } 
a:active { color: #8c8c8c; } 


/* ---------- 背景色指定 ---------- */

.bc1	{
	background-color:#E4DFFD;
	}

.bc2	{
	background-color:#E4E0FE;
	}

a img {
	border: none;
}


h1 {
  position: relative;
  padding: .25em 0 .5em .75em;
  border-left: 6px solid #3498db;
  font-size: 121%;

}

h1::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  width: 100%;
  height: 0;
  border-bottom: 1px solid #ccc;
}

h2 {
	font-size: 100%;
	font-weight: normal;
	background-color: #4b6972;
	color: white;
	margin:0px 0px 0px 0px;
	padding: 5px;
}

h3 {
	font-size: 100%;
	font-weight: normal;
	background-color: #a5a5a5;
	color: white;
	margin:0px 0px 0px 0px;
	padding: 5px;
}

p	{
	margin-left: 5px;
	marigin-right: 5px;
	padding-left: 5px;
	}

nav {
    background-color: #fff; /*メニュー背景色*/
    box-sizing: border-box;
    height: 100%;
    padding: 10px 40px; /*メニュー内部上下左右余白*/
    position: fixed;
    right: -300px; /*メニュー横幅@と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
    width: 300px; /*メニュー横幅@*/
    z-index: 1000;
}

nav::before {
    background-color: #fff; /*ボタン部分背景色*/
    border-radius: 0 0 0 10px; /*左下角丸*/
    color: #333; /*アイコン（フォント）色*/
    content: "≡"; /*メニューアイコン*/
    display: block;
    font-size: 50px; /*アイコン（フォント）サイズ*/
    height: 50px;
    line-height: 50px; /*縦位置中央化*/
    position: absolute;
    right: 100%;
    text-align: center;
    top: 0;
    width: 50px;
}

#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;
}

/*hover 時の処理*/
nav:hover {
    transform: translate(-300px); /*メニュー横幅@と合わせる*/
}

nav:hover + #menu-background {
    opacity: 0.5; /*黒背景部分透過度*/
    z-index: 999;
}
