@charset "utf-8";

/* ------------------------------
 リセット
------------------------------ */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

fieldset, img {
	border: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
address, caption, cite, code, dfn, em, th, var {
	font-style: normal;
	font-weight: normal;
}

ul {
	list-style: none;
}
#main_cate ul {
	list-style-type: disc !important;
	margin-left: 1em;
}
#main_cate ol {
	list-style-type: decimal !important;
	margin-left: 2em;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before, q:after {
	content: '';
}

abbr, acronym {
	border: 0;
}

.hidden{
	display: none;
}
/* ------------------------------
 フォント指定
------------------------------ */
body, textarea { font-family:  "メイリオ",sans-serif,"ＭＳ Ｐゴシック" ; }
/* ------------------------------
 ページ全体
------------------------------ */
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 !important;
	text-align: center;
	color: #000;
	background: #1654a8;
}
.cf {
	width:100%;
}
.cf:after {
	content: "";
	display: block;
	clear: both;
}
.clear {
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
	clear: both;
}

.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.boxleft {
	float: left;
}
.arrowc {
	padding-left: 19px;
	background: url(../img/arrow_circle.gif) no-repeat 0 center;
}

.b1 { /* 下1行分 */
	margin-bottom: 1.5em;
}
.b2 { /* 下2行分 */
	margin-bottom: 3.0em;
}
.red {
	color: #eb0000;
	font-weight: normal;
}
.bold {
	font-weight: bold;
}
.sp {
	display: none !important;
}
@media screen and (max-width: 767px) {
	html, 
	body {
		min-width: 100%;
		max-width: 100%;
	}
	.fl,
	.fr {
		float: none;
	}
	.site {
		min-width: 320px;
	}
	.pc {
		display: none;
	}
	.sp {
		display: block !important;
	}
	.pc_br br {
		display: none;
	}
		
}
/* ------------------------------
 リンク
------------------------------ */
a:link, a:visited {
	color: #2673BF;
	text-decoration: underline;
}
a:active, a:hover {
	color: #2673BF;
	text-decoration: underline;
}

a.sub:link, a.sub:visited {
	color: #2673BF;
	text-decoration: underline;
}
a.sub:active, a.sub:hover {
	color: #2673BF;
	text-decoration: underline;
}
a:hover img{
	filter: alpha(opacity=70);
	 -moz-opacity:0.70;
	opacity:0.70;

}
#logo a:hover img, .changefont a:hover img,
#pagetop a:hover img{
	filter: alpha(opacity=100);
	 -moz-opacity:1;
	opacity:1;

}

/* ------------------------------
 コンテナ
------------------------------ */
#container {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #FAFAFA url(../img/bg.gif) repeat-x;
}
@media screen and (max-width: 767px) {
	#container {
		background: #FAFAFA;
	}
}
/* ------------------------------
 ヘッダ
------------------------------ */
#header {
	width: 966px;
	height: 125px;
	padding: 0;
	margin: 0 auto;
}

#logo { /* ロゴ */
	width: 600px;
	margin: 0;
	padding: 20px 0 0 1px;
	float: left;
}
#logo img, #logo p{ 
	float: left;
	text-align: left;
	font-size: 12px;
}
#logo img{ 
	margin-right: 23px;
}
#logo p{ 
	padding-top: 5px;
}
#rightblock { 
	width: 362px;
	float: right;
	height: 85px;
}
#rightblock_in { 
	margin-top: 30px;
}
.changefont {
	float: right;
	line-height: 0px !important;
}
.search{
	width: 215px;
	float: right;
}

#sw input {
	width:160px;
	height:18px;
	line-height:18px;
	border:solid 1px #E6E6E6 !important;
	float:left;
	margin-left: 17px;
	height: 20px !important;
	width: 168px !important;
}
#sb input	{ width:24px; height:24px; float:left !important; }

.gsc-search-button {
    width:  0px !important;
    height: 0px !important;
    margin: 0px !important;
    min-width: 0px !important;
	border: none;
    padding:  20px 0px;
    margin-top: 8px;

    background: url("../img/search.gif") no-repeat ;
}
@media screen and (max-width: 767px) {
	#header {
		width: 100%;
		height: 60px;
		background: #fff;
	}
	#header .headerblock {
		background: #fff;
		z-index: 90;
		position: relative;
		height: 60px;
	}
	#logo { /* ロゴ */
		width: 200px;
		padding: 14px 0 0 5px;
	}
	#logo img{ 
		margin-bottom: 12px;
	}
	#rightblock {
		display: none;
	}
	#logo p{ 
		display: none;
	}
}
/* ------------------------------
 コンテンツ
------------------------------ */
#contents {
	width: 1080px;
	margin: 0;
	padding: 0;
	margin: 0 auto;
	background: url(../img/body_bg.gif) no-repeat 763px 0;
}
#contents_home {
	width: 1080px;
	margin: 0;
	padding: 0;
	margin: 0 auto;
}
#globalnavi {
	width: 962px;
	margin: 0 auto;
	display: table;
}
#globalnavi ul {
	width: auto;
	height: 45px;
}
#globalnavi li {
	float: left;
}
.js-scrollable {
    overflow: inherit !important;
}
@media screen and (max-width: 767px) {
	#contents {
		width: 100%;
		background: url(../img/body_bg.gif) no-repeat top right;
		background-size: 180px;
	}
	#contents_home {
		width: 100%;
	}

	.menu-layer {
		width: 100%;
		height: 100%;
		position: absolute;
		background-color: rgba(0,0,0,.2);
		top: 0;
		left: 0;
		z-index: 5;
		display: none;
	}
	.page-open-slidemenu .menu-layer {
		display: block;
	}

	#globalnavi {
		width: 100%;
	}
	#globalnavi ul {
		height: auto;
	}
	#globalnavi ul {
		-webkit-transform: translateY(-100%);
		transform: translateY(-100%);
		-webkit-transition: -webkit-transform .3s ease-in-out;
		transition: -webkit-transform .3s ease-in-out;
		transition: transform .3s ease-in-out;
		transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
		position: absolute;
		width: 100%;

		padding: 0 5% 50px;
		background: #f2f2f2;
		box-sizing: border-box;
		z-index: 15;
	}
	.page-open-slidemenu #globalnavi ul {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		max-height: 100vh;
		max-height: -webkit-calc(100vh - 60px);
		max-height: calc(100vh - 60px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	#globalnavi li {
		float: none;
	}
	
	.slidemenu-btn {
		display: block;
		width: 60px;
		height: 60px;
		position: absolute;
		right: 0;
		top: 0;
		background: #1755a9 linear-gradient(to top, #1755a9, #2673bf) repeat scroll 0 0;
		z-index: 99;
	}
	.menu-icon,
	.menu-icon:before,
	.menu-icon:after {
		display: block;
		position: absolute;
		width: 30px;
		height: 2px;
		background-color: #fff;
	}
	.menu-icon:before,
	.menu-icon:after {
		-webkit-transition: color .25s ease;
		transition: color .25s ease;
	}
	.page-open-slidemenu {
		overflow: hidden;
	}
	.page-open-slidemenu .menu-icon:before,
	.page-open-slidemenu .menu-icon:after {
		background: #fff;
	}
	.menu-icon:before,
	.menu-icon:after {
		content: '';
		-webkit-transform-origin: 50% 50%;
		-o-transform-origin: 50% 50%;
		-ms-transform-origin: 50% 50%;
		-moz-transform-origin: 50% 50%;
		transform-origin: 50% 50%;
	}
	.menu-icon {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		-webkit-transition: all .25s ease-out;
		transition: all .25s ease-out;
	}
	.menu-icon:before {
		top: -10px;
		-webkit-transition: -webkit-transform .1s ease-out;
		transition: -webkit-transform .1s ease-out;
		transition: transform .1s ease-out;
		transition: transform .1s ease-out, -webkit-transform .1s ease-out;
	}
	.menu-icon:after {
		bottom: -10px;
		-webkit-transition: -webkit-transform .1s ease-out;
		transition: -webkit-transform .1s ease-out;
		transition: transform .1s ease-out;
		transition: transform .1s ease-out, -webkit-transform .1s ease-out;
	}
	.page-open-slidemenu .menu-icon {
	  background-color: transparent;
	}
	.page-open-slidemenu .menu-icon:before {
		-webkit-transform: translateY(10px) rotate(45deg);
		transform: translateY(10px) rotate(45deg);
		-webkit-transition: -webkit-transform .1s ease-out .25s;
		transition: -webkit-transform .1s ease-out .25s;
		transition: transform .1s ease-out .25s;
		transition: transform .1s ease-out .25s, -webkit-transform .1s ease-out .25s;
	}
	.page-open-slidemenu .menu-icon:after {
		-webkit-transform: translateY(-10px) rotate(-45deg);
		transform: translateY(-10px) rotate(-45deg);
		-webkit-transition: -webkit-transform .1s ease-out .25s;
		transition: -webkit-transform .1s ease-out .25s;
		transition: transform .1s ease-out .25s;
		transition: transform .1s ease-out .25s, -webkit-transform .1s ease-out .25s;
	}

	.js-scrollable{
		white-space: nowrap;  /* 文字の折り返しはなくす */
		overflow-x: auto !important;
	}
}
/* ------------------------------
 globalnavi
------------------------------ */
.menu-globalnavi-container ul {
	width: auto;
	height: 40px;
}
.menu-globalnavi-container li {
	display: inline;
}
.menu-globalnavi-container li a {
	display: block;
	float: left;
	height: 0 !important;
	height /**/: 40px;
	padding: 40px 0 0;
	background: url(/wp-content/themes/hamamatsumachi/shared/img/gnavi.jpg) no-repeat;
	overflow: hidden;
}
li#menu-item-27 a {
	width: 120px;
	background-position: 0 0;
}
li#menu-item-27 a:hover, li#menu-item-27.current_page_item a {
	width: 120px;
	background-position: 0 -40px;
}
li#menu-item-28 a {
	width: 120px;
	background-position: -120px 0;
}
li#menu-item-28 a:hover, li#menu-item-28.current_page_item a, li#menu-item-28.current-page-ancestor a {
	width: 120px;
	background-position: -120px -40px;
}
li#menu-item-29 a {
	width: 120px;
	background-position: -240px 0;
}
li#menu-item-29 a:hover, li#menu-item-29.current_page_item a, li#menu-item-29.current-page-ancestor a {
	width: 120px;
	background-position: -240px -40px;
}
li#menu-item-30 a {
	width: 120px;
	background-position: -360px 0;
}
li#menu-item-30 a:hover, li#menu-item-30.current_page_item a, li#menu-item-30.current-page-ancestor a {
	width: 120px;
	background-position: -360px -40px;
}
li#menu-item-31 a {
	width: 120px;
	background-position: -480px 0;
}
li#menu-item-31 a:hover, li#menu-item-31.current_page_item a, li#menu-item-31.current-page-ancestor a {
	width: 120px;
	background-position: -480px -40px;
}
li#menu-item-32 a {
	width: 120px;
	background-position: -600px 0;
}
li#menu-item-32 a:hover, li#menu-item-32.current_page_item a, li#menu-item-32.current-page-ancestor a {
	width: 120px;
	background-position: -600px -40px;
}
li#menu-item-3631 a {
	width: 120px;
	background-position: -720px 0;
}
li#menu-item-3631 a:hover, li#menu-item-3245.current_page_item a, li#menu-item-3245.current-page-ancestor a {
	width: 120px;
	background-position: -720px -40px;
}
li#menu-item-34 a {
	width: 122px;
	background-position: -840px 0;
}
li#menu-item-34 a:hover, li#menu-item-34.current_page_item a, li#menu-item-34.current-page-ancestor a {
	width: 120px;
	background-position: -840px -40px;
}
@media screen and (max-width: 767px) {
	
	.menu-globalnavi-container li a {
		float: none;
		background: none;
		height: auto !important;
		width: auto !important;
		text-align: left;
		padding: 10px;
	}
	.menu-globalnavi-container li {
		position: relative;
		text-align: left;
		z-index: 3;
	}
	.menu-globalnavi-container li a {
		font-weight: bold;
		display: block;
		width: 100%;
		position: relative;
		line-height: 1;
		text-decoration: none;
		padding: 18px 0;
		border-bottom: 1px solid #cccccc;
		font-size: 15px;
	}
}
.w960{
	width: 960px;
	margin: 0 auto;
	text-align: left;
}
/* ▼ぱんくず------------------- */
#crumb { 
	width: 960px;
	padding: 17px 0 35px 0; 
	text-align: left;
	margin: 0 auto;
	font-size: 92.3%;
}
#crumb ul li{ 
	float: left;
}
/* レイアウト------------------- */
#main { 
	width: 695px;
	float: right;
}
#main_cate{ 
	width: 695px;
	float: right;
}
.hidden{
	display: none;
}
@media screen and (max-width: 767px) {
	.w960{
		width: 100%;
	}
	#crumb { 
		width: 90%;
		padding: 15px 0 30px 0;
		font-size: 12px;
	}
	#crumb::after {
		content: ".";
		display: block;
		clear: both;
		height: 0;
		visibility: hidden;
	}
	#main { 
		width: 90%;
		float: none;
		margin: auto;
	}
	#main_cate{ 
		width: 90%;
		float: none;
		margin: auto;
	}
}
/* ------------------------------
 ローカルナビ
------------------------------ */
#head { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-01.gif) ;
	padding-left: 55px;
	line-height: 73px;
	font-weight: bold;
	font-size: 138.4%;
}
#head_404 { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-01.gif) ;
	height: 73px;
	font-weight: bold;
	font-size: 138.4%;
	line-height: 1.2em;
}
#head_404 p{ 
	padding: 0.7em 0 0 55px;
}
.town { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-02.gif) !important;
}
.development { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-03.gif) !important;
}
.institution { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-04.gif) !important;
}
.parking { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-05.gif) !important;
}
.okazubako { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-08.gif) !important;
}
.vacant_house { 
	background: url(/wp-content/themes/hamamatsumachi/img/headline-07.gif) !important;
}
#localnavi { 
	width: 225px;
	float: left;
	text-align: left;
	background: #fff;
}
#localnavi ul{ 
	margin: 0px !important;
	padding: 0;
	height: 100%;
}
#localnavi ul.menu{
	margin: 0px;
	border-left: solid 1px #E6E6E6;
	border-right: solid 1px #E6E6E6;
}
#localnavi ul.menu li{
	border-bottom: solid 1px #E6E6E6;
}
#localnavi ul li a{
	padding: 15px 15px 15px 26px;
	display: block;
}
#localnavi ul li.lower a{
	border-bottom: dotted 1px #E6E6E6;
}
/* 第2階層--------------------------------- */
#localnavi ul.sub02{
	padding: 4px 0 !important;
}
#localnavi ul.sub02,
#localnavi ul.sub02 ul,
#localnavi ul.sub02 li {
	border: none !important;
}
#localnavi ul.sub02 .widget-container ul.menu li a{
	padding: 5px 5px 5px 26px;
	background: url(../img/icon06.gif) no-repeat 12px 0.8em;
	display: block;
	border: none;
}
#localnavi ul li a:link, #localnavi ul li a:visited{
	background: url(../img/icon01.gif) no-repeat 12px 1.6em;
	text-decoration: none;
}
#localnavi ul li a:active, #localnavi ul li a:hover{
	background: url(../img/icon01.gif) no-repeat 12px 1.6em;
	text-decoration: underline;
}
#localnavi .current_page_item a{
	font-weight: bold;
	color: #000;
}
#localnavi .menu .current-page-ancestor a{
	font-weight: bold;
	color: #000;
}
@media screen and (max-width: 767px) {
	#head { 
		padding: 50px 5% 20px;
		font-size: 18px;
		text-align: center;
		line-height: 1.3;
		border-bottom: 3px solid #62b3d9;
		width: 90%;
		box-sizing: border-box;
		margin: auto;
		background: none;
	}
	#head::before { 
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_about.png) ;
		display: inline-block;
		width: 50px;
		height: 36px;
		content: "";
		background-size: cover !important;
		vertical-align: -10px;
		margin-right: 8px;
		margin-left: -35px;
	}
	.town,
	.development,
	.institution,
	.parking,
	.okazubako,
	.vacant_house { 
		background: none !important;
	}
	.town::before {
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_town.png) !important;
	}
	.development::before {
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_development.png) !important;
	}
	.institution::before {
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_institution.png) !important;
	}
	.parking::before {
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_parking.png) !important;
	}
	.okazubako::before {
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_prevention_light.png) !important;
	}
	.vacant_house::before {
		background: url(/wp-content/themes/hamamatsumachi/shared/img/image_vacant_house.png) !important;
	}
	#localnavi { 
		width: 100%;
		float: none;
		border-top: 10px solid #62b3d9;
		padding-bottom: 40px;
	}
	#localnavi > ul{ 
		margin: auto !important;
	}
	#localnavi ul.menu {
		border-left: none;
		border-right: none;
		margin: auto !important;
		width: 90%;
	}
	#localnavi img {
		display: none;
	}
	#localnavi ul.sub02 .widget-container ul.menu li a{
		padding: 5px 5px 5px 40px;
		background: url(../img/icon06.gif) no-repeat 25px 0.8em;
	}
	#localnavi ul li.lower a{
		padding-bottom: 0;
		border-bottom: none;
	}
}
/* ------------------------------
 見出し
------------------------------ */
.heading {
	padding: 25px 0 23px 31px;
	background: url(../img/heading.png) no-repeat 0 center;
	font-weight: bold;
	font-size: 200%;
	margin-bottom: 15px;
	text-align: left;
}


/* ------------------------------
 アイコン
------------------------------ */
.icon01 {
	padding: 0 0 0 17px;
	background: url(../img/icon01.gif) no-repeat 0 center;
}
.icon02 {
	padding: 0 0 0 17px;
	background: url(../img/icon05.gif) no-repeat 0 center;
}
a.pdf,
p.pdf {
	padding: 5px 0 5px 20px;
	background: url(../img/pdf.gif) no-repeat 0 center;
	white-space: nowrap;
}
table td.pdf a{
	padding: 5px 0 5px 20px;
	background: url(../img/pdf.gif) no-repeat 0 center;
	white-space: nowrap !important;
}
table td.excel a{
	padding: 5px 0 5px 20px;
	background: url(../img/excel.gif) no-repeat 0 center;
	white-space: nowrap;
}
@media screen and (max-width: 767px) {
	a.pdf,
	p.pdf {
		white-space: normal;
	}
}
/* ------------------------------
 フッター
------------------------------ */
#footer {
	font-size: 91%;
}
.widget-area ul li ul li{
	padding-left: 17px;
	background: url(../img/icon01.gif) no-repeat 0 0.4em;
}
#footer {
	margin: 0 auto;
	margin-top: 40px;
	background: #fff url(../img/footer_bg_w.gif) repeat-x ;
}
#footerIn {
	width: 960px;
	margin: 0 auto;
	text-align: left;
	padding: 30px 0 25px 0;
	color: #6c6c6c;
}
.footBox{
	width: 192px;
	float: left;
}
.footBox ul{
	margin-right: 10px;
}
@media screen and (max-width: 767px) {
	#footer {
		margin-top: 0;
	}
	#footerIn {
		display: none;
	}
}
/* ------------------------------
 最下部
------------------------------ */
#bottom{
	background: url(../img/footer_bg.gif) repeat-x ;
	line-height: 40px;
}
#bottomIn{
	width: 960px;
	margin: 0 auto;
	text-align: left;
}
.bottomL {
	width: 620px;
	float: left;
	color: #fff;
	font-size: 12px;
}
.bottomL span {
	margin-right: 14px;
}
.copyright {
	float: right;
	text-align: right;
	font-size: 10px;
	color: #90b2d8;
}
@media screen and (max-width: 767px) {
	#bottom{
		background: linear-gradient(#2673bf, #1755a9);
	}
	#bottomIn{
		width: 100%;
		line-height: 1.5;
	}
	.bottomLink {
		padding: 25px 0 0;
		font-size: 13px;
	}
	.bottomLink ul {
		display: flex;
		justify-content:center;
	}
	.bottomLink ul li {
		border-right: 1px solid #5094d9;
	}
	.bottomLink ul li:last-child {
		border-right: none;
	}
	.bottomLink a {
		color: #fff;
		text-decoration: none;
		padding: 0 12px;
	}
	.bottomL {
		width: 90%;
		float: none;
		text-align: center;
		margin: auto;
		padding-top: 30px;
		padding-bottom: 20px;
		font-size: 10px;
	}
	.bottomL span {
		margin-right: 0;
		display: block;
		font-weight: bold;
		font-size: 14px;
		margin-bottom: 5px;
	}
	.copyright {
		width: 90%;
		text-align: center;
		margin: 0 auto ;
		padding-bottom: 50px;
		float: none;
	}
}
/* ------------------------------
 ページトップ
------------------------------ */

#pagetop	{ 
	position:fixed; 
	right:15px; 
	bottom:20px;
	z-index: 70;
}
/* ------------------------------
 ノースクリプト
------------------------------ */
#nojs { /* ノースクリプト位置 */
	width: 100%;
	margin: 0 auto;
	text-align: center;
	position: absolute;
	left: 0;
	top: 0;
}

#nojs p { /* ノースクリプト */
	width: 100%;
	margin: 0 auto;
	padding: 3px 0;
	color: #fff;
	line-height: 1.0;
	text-align: center;
	background: #ffd601;
	border-bottom: 1px solid #dcdcdc;
}
/* ------------------------------
 スペース
------------------------------ */
.mb5 {
	margin-bottom: 5px;
}
.mb7 {
	margin-bottom: 7px;
}
.mb10 {
	margin-bottom: 10px;
}
.mb15 {
	margin-bottom: 15px;
}
.mb20 {
	margin-bottom: 20px;
}
.mb25 {
	margin-bottom: 25px;
}
.mb30 {
	margin-bottom: 30px;
}
.mb45 {
	margin-bottom: 45px;
}
.mr20 {
	margin-right: 20px;
}
/* ------------------------------
 Clear fix
------------------------------ */
/* Clear fix For modern browsers */
.cf:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.cf {
  min-height: 1px;
}

* html .cf {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}
/* Clear fix For IE 6/7 (trigger hasLayout) */
.cf {
	zoom:1;
}

