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

/*=================================================================
---▼▼---全体---▼▼---
=================================================================*/

img {
    border-style: none;
}

/*=================================================================
---▼▼---　header,#main,footerなど大まかなまとまり　---▼▼---
=================================================================*/
header {
    border-bottom: 3px solid #58b331;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#main {
    width: 980px;
    margin: 0 auto;
}

footer {
    background-color: #e6e6e6;
    height: 130px;
    width: 100%;
    clear: both;
}

/*=================================================================
---▼▼---　フロート、フロート解除　---▼▼---
=================================================================*/
.clearfix:after {
	content: "";
	clear: both; /*　floatの解除*/
	display: block;
}


/*=================================================================
---▼▼---　header内　配置　---▼▼---
=================================================================*/
.header_in {
    width: 980px;
    margin: 0 auto;
    padding-bottom: 0px;
}

#head_left {
    float: left; /*　floatの左*/
}

.chara {
    float: right; /*　floatの右画像*/
	margin-top: 10px;
}

header h1 {
    color: #fa0a0b;
    font-size: 28px;
    text-align: center;
}

header p {
    color: #4d4d4d;
	font-size: 22px;
	text-align: center;
}

#hd_text {
    color: #4d4d4d;
    font-size: 18px;
	text-align: center;
}

#head_left p,h1 {
	margin-bottom: 10px;
}

.bldg {
    margin-top: 25px;
    vertical-align:bottom;
}

/*=================================================================
---▼▼---　メイン内　配置　---▼▼---
=================================================================*/
#main h2 {
    color: #fff;
    font-size: 20px;
    background-color: #58b331;
    padding: 10px;
    padding-left: 20px;
    margin-top: 10px;
}

/*====================================================
---▼▼---　メイン　「Niigata Best shot」から選ぶ　---▼▼---
=======================================================*/
.bestshot {
	margin-top: 20px;
	font-size: 15px;
}

/*　floatの解除は、上記にて完了済み*/

.bestshot {
	overflow: scroll;
	overflow-x: hidden;
	height: 617px;
}

.bestshot div{
	margin-left: 0;
}

.fl_l div {
	display: inline-block;
	vertical-align: top;
	width: 171px;
	height: 171px;
	text-align: center;
	margin-bottom: 30px;
}

.fl_l div img {
	max-width: 161px;
	max-height: 161px;
	vertical-align: bottom;/*imgの下の隙間をなくす*/
	
}

.fl_l div a {
	display: block;
	color: #000;
	text-align: center;
}

.fl_l a:hover {
	opacity: 0.5;
}

.fl_l p {
	margin-top: 5px;
	text-align: center;
}

.chara_rela {
		position: relative;
}

.chara_rela h2 > span {
   	font-size: .9em;
}

.chara_2 {
	position: absolute;
	top: 1520px;
	left: 500px;
}

/*=================================================================
---▼▼---　メイン　「地図から選ぶ／写真から選ぶ」　---▼▼---
=================================================================*/
/*　★　↓　震災発生時の画像サイズによって変更　★　*/
#shinsai_img {
    margin-top:  20px;
    margin-left: 190px;
    margin-bottom: 10px;
    display: none; /* 災害時のみ表示するため、非表示設定*/
}


#category {
	height: 685px;
}

.search_map {
    clear: left;
    background-color: #f2f2f2;
    margin-top: 20px;
}

#map {
    position: relative;
	padding: 20px 10px;
}

#area_image {
	position: absolute;
	bottom: 235px;
	right: 17px;
	display:table-cell;
	text-align: center;
	vertical-align: middle;
    line-height:185px;
	background-color: #fff;
	border-radius: 10px;
	width: 185px;
	height: 185px;
	padding-top: 30px;
}

#area_image img {
	max-width: 160px;
	max-height: 160px;
	vertical-align:middle;
}

#niigata_shinai{
	position: absolute;
	top: 430px;
	left: 460px;
}

#tooltipNiigata {
    opacity:0.9;
	display:none;
	color: white;
	background: #FF9900;
	border: 2px solid white;
	padding: 10px;
	font-size: small;
    position: absolute;
	top: 285px;
	left: 200px;
}


/*=================================================================
---▼▼---　メイン　「新潟の特色から選ぶ」---▼▼---
=================================================================*/
#category,#category_banner {
    overflow:hidden;
}

/*
#category_banner ul {
    margin-left: 0;
    margin-top: 7px;
}

#category_banner li {
	float: left;
	list-style: none;
    margin: 12px;
}
*/

#category_banner {
	margin-top: 20px;
}

#category_banner p {
	float: left;
	width: 234px;
	height: 140px;
	margin-left: 11px;
	margin-bottom: 12px;
}

#category_banner p img {
	width: 100%;
	height: 100%;
}

#category_banner p:nth-child(1),
#category_banner p:nth-child(4),
#category_banner p:nth-child(7) {
	margin-left: 0;
}

#category_banner p a:hover {
	opacity: 0.8;
}


/*=================================================================
---▼▼---　メイン　「新潟移住MAP」---▼▼---
=================================================================*/
.akiya_bank {
	text-align: center;
}

.akiya_bank a:hover {
	opacity: 0.8;
}

.akiya_bank img {
	width: 800px;
	margin: 20px auto 40px;
}

/*=================================================================
---▼▼--- ページトップへ　---▼▼---
=================================================================*/
.pagetop {
    float: right;
    margin-top: 0px;
    margin-bottom: 10px;
    text-decoration: underline;
    font-size: 15px;
}

.clear {
    clear: both;
}

/*=================================================================
---▼▼---footerのコンテンツ---▼▼---
=================================================================*/
#footer_in {
    width: 980px;
    margin: 0 auto;
}

 footer p {
    color: #4d4d4d;
    padding-top: 15px;
	font-size: 16px;
}

footer img {
    float: right;
	vertical-align: bottom;
}


/*=================================================================
---▼▼--- サブページのスタイル　---▼▼---
=================================================================*/

.main_img {
	height:300px;
	margin-top: 15px;
}

#sub_h h2 {
    color: #4d4d4d;
    background-color: #fff;
    font-size: 28px;
    font-weight: 500;
    border-left: 10px solid #58B331;
    border-bottom: 1px solid #e6e6e6;
    margin-top: 10px;
}

#sub_h h3 {
    color: #4d4d4d;
    font-size: 23px;
    margin-top: 25px;
    margin-left: 20px;
	margin-bottom: 10px;
}

#sub_h h3{
position: relative;
display: inline-block;
padding: 0 55px;
}

#sub_h h3:before, #sub_h h3:after{
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 45px;
height: 2px;
border-top: solid 1px black;
border-bottom: solid 1px black;
}

#sub_h h3:before {left:0;}
#sub_h h3:after {right: 0;}

#sub_list li::after {
	display: block;
	content: '';
	position: absolute;
	top: .4em;
	left: -1em;
	width: 6px;
	height: 6px;
	border-right: 3px solid #FB0206;
	border-bottom: 3px solid #FB0206;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#sub_list ul,
#sub_list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sub_list ul {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

#sub_list li {
	color: #39B54A;
	font-size: 17px;
	display: flex;
	width: 30%;
	position: relative;
	word-break: break-all;
	margin-bottom: 15px;
	margin-left: 32px;
}

#sub_list li a {
  width: 100%;
  text-decoration: none;
  z-index: 0;
}

#sub_list li a:hover {
	opacity: 0.7;
	text-decoration: underline;
}

/*================================================================
---▼▼--- サブページのナビゲーション　---▼▼---
=================================================================*/
.sub_nav ul	{
    margin: 0;
	padding: 0;
	list-style: none;
	margin-top: 15px;
    }

.sub_nav ul:after	{
    content: "";
	display: block;
	clear: both;
    }

.sub_nav li	{
    float: left;
	width: auto;
	box-sizing: border-box;
    }

.sub_nav li a {
    display: block;
	color: #088433;
	font-size: 15px;
	vertical-align: middle;
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 7px 10px;
	background-color: #B1E39C;
	border: solid 1px #B1E39C;
    }

.sub_nav li a:hover	{
	box-sizing: border-box;
	color: #088433;
	background-color: #fff;
	text-decoration: none;
	border: solid 1px #088433;
    }

.sub_nav img {
	vertical-align: middle;
	padding-right: 5px;
}


/*=================================================================
---▼▼---パンくずリスト　---▼▼---
=================================================================*/
.pankuzulist li {
    display: inline-block;
}

.pankuzulist ul {
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

