/* CSS Document */
html,
body {
	line-height: 1.6;
	font-size: 14px;
	position: relative;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	line-height: 1.6;
}

a {
	color: #111;
	text-decoration: none;
}
a:hover {
	color: #111;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.btn-green {
	background-color: #009245;
	color: #FFF;
	font-weight: bold;
}
.rwd-wrapper {
	padding-bottom:3rem;
}

.home-link-title {
	font-size: 1.5rem;
	color: #009245;
}

#home-link a {
	color: #111;
}
#home-link img {
	border-radius: 100% 100%;
	margin-bottom: 1.5rem;
}
#home-link > .row > div {
	margin-bottom: 2rem;
}
.page-footer {
	background-color: #EDF8DD;
	padding: 3rem 0;
}
.page-footer p {
	padding: 0;
	margin-bottom: 0.5rem;
}


.list-footer{
	width: 49%;
	display: inline-block;
	vertical-align: top;
}
.page-header {
	margin: 0;
	padding: 2rem 0 0;

}


.nav-header a {
	padding: 1em;
	display: block;
	transition: 0.3s ease-in-out color;
	-webkit-transition: 0.3s ease-in-out color;
}

.nav-header li:hover > a {
	padding: 1em;
	display: block;
	color:#009245;
}

#home-topics {
	border: 1px solid #CCC;
	min-height: 290px;
}

#home-topics h3 {
	font-size: 1.5rem;
	color: #009245;
	border-bottom: 3px solid #009245;
	padding: 10px 0px 0px;
}

#home-topics p strong {
	margin-right: 0.5em;
}
#home-topics p strong a {
	display: block;
	width: 100%;
	height: 100%;
}
.home-copy {
	font-size: 1.5rem;
}

#topics-inner {
	padding: 10px;
}

#home-topics .btn {
	margin-bottom: 1rem;
}
#menu-background {
	display: none;
}
.copyright {
	margin-top: 1rem;
}

@media(max-width:991px) {
	#home-topics {
		margin-bottom: 3rem;
		min-height: inherit;
	}
}
@media(max-width:768px) {
	body {
		font-size: 12px;
	}
	
	.logo-header-mobile {
		max-width: 260px;
		margin: 0 auto;
	}
	
	.home-copy {
		font-size: 1.3rem;
	}
	
	
	.list-footer{
		width: 100%;
		display: none;
		vertical-align: top;
		
	}
	
	.list-footer a {
		display: block;
		padding: 1em;
	}
	
/*メニュー部分*/
#ham-menu {
    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 は変化するのにかかる時間*/
    -webkit-transition: transform 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
    width: 300px; /*メニュー横幅①*/
    z-index: 1000;
}

/*メニューアイコン部分は疑似要素で*/
#btn-ham-menu {
    background-color: #fff; /*ボタン部分背景色*/
    border-radius: 0 0 0 10px; /*左下角丸*/
    color: #009245; /*アイコン（フォント）色*/
    display: block;
    font-size: 50px; /*アイコン（フォント）サイズ*/
    height: 50px;
    line-height: 50px; /*縦位置中央化*/
    position: absolute;
    right: 100%;
    text-align: center;
    top: 0;
    width: 50px;
	cursor: pointer;
}

/*透過背景部分*/
#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 は変化するのにかかる時間*/
    -webkit-transition: all 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
    width: 100%;
    z-index: -1;
}

/*hover 時の処理*/
#ham-menu.on {
    transform: translate(-300px); /*メニュー横幅①と合わせる*/
    -webkit-transform: translate(-300px); /*メニュー横幅①と合わせる*/
}

#ham-menu.on + #menu-background {
    opacity: 0.5; /*黒背景部分透過度*/
    z-index: 999;
}
	
	#ham-menu li > a {
		padding: 1em;
		display: block;
	}
	
	#ham-menu li:hover > a {
		font-weight: bold;
		color: #009245;
	}

	#ham-menu li {
		border-bottom: 1px dotted #CCC;
	}
	
	.page-footer {
		text-align: center;
	}
	.logo-header-mobile {
		margin-bottom: 2rem;
	}
	
	
	#home-link img {
	    width: 270px;
	}
}

