@charset "utf-8";
*{
	margin: 0px;
	padding: 0px;
}
html {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 62.5%;
  color: #333333;
  background-color: #FFFFFF;
}
body{
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 1.4em;
  overflow-y: scroll;
}
img {
	max-width: 100%;
	height: auto;
}
#contents_box{
	max-width: 100%;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	position:relative;
}
#header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 30px 5px 0;
}
#logo {
}
#hojyoken_gnavi {
	display: flex;
	align-items: end;
}
#hojyoken_gnavi a{
	position: relative;
	display: inline-block;
	font-size: 1.4em;
	font-weight: 600;
	padding-top: 2px;
	padding-left: 22px;
	margin-left: 50px;
	color: #666;
	line-height: 1;
}
#hojyoken_gnavi li:first-child a{
	margin-left: 0;
}
#hojyoken_gnavi a::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/common/navi_arrow.png) no-repeat 0% 50%;
  background-size: contain;
  left: 0;
  top: 0;
}
#hojyoken_gnavi a:hover{
	opacity: 0.8;
}
#top_back{
	margin-bottom: 30px;
	margin-top: 30px;
}

@media (max-width: 640px) { /* スマホ用のCSS */
	#contents_box img{
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	#header {
		display: flex;
		flex-direction: column;
		margin-bottom: 10px;
		padding-top: 20px;
	}
	#logo{
		height: auto;
/*		margin: 0 auto;*/
		padding: 0 10px;
    text-align: left;/*追記*/
    width: 45%;/*追記*/
	}
	#hojyoken_gnavi {
		margin: 20px auto 10px;
	}
	#hojyoken_gnavi a{
	font-size: 0.9em;
	padding-top: 0;
	padding-left: 18px;
	margin-left: 30px;
	}
	#top_back{
		width: 60%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
	}
	footer{
		text-align: center;
	}
}

/* ページトップ */
#page_top{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 6px;
  bottom: 30px;
  opacity: 0.6;
  z-index: 10;
}
#page_top a{
  width: 60px;
  height: 60px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0aa';
  font-size: 60px;
  color: #9BD239;
}