@charset "utf-8";
/*-------------------------------
>>> CONTENTS: 北山村
---------------------------------
※共通CSSは「common.css」に記載
# Typography
# Layout
# Header
# Navigation
# MainVisual
# Secondary
# Footer
# Module
# Home
-------------------------------*/
/*-------------------------------
# Typography
-------------------------------*/
/* == 見出し */
h1,h2{clear: both;}
h1,h2,h3,h4,h5,h6{line-height: 1.3; margin-top: 20px;}
h4,h5,h6{font-size:100%;margin-bottom:16px;}
#primary h1, article h1{
font-size:200%; /*30px*/
font-weight: normal;
padding:15px 20px;
background: #EFF2C2;
margin-top: 40px;
margin-bottom:40px;
}
#primary h1:first-child{margin-top: 0;}
h2{
color: #633F01;
font-size:166.666666666666%;/*25px*/
font-weight: normal;
padding-left:32px;
margin-top: 30px;
margin-bottom:20px;
	border-bottom: 1px solid #CCC;
	position: relative;
}
h2::before{
	content: "";
	position: absolute;
	top:8px;left:6px;
	width: 18px;height: 18px;
	border: 2px solid #A5B239;
}
h2::after{
	content: "";
	position: absolute;
	top:2px;left:0;
	width: 18px;height: 18px;
	border: 2px solid #A5B239;
}
h3{
font-size:146.666666666%;/*22px*/
font-weight: normal;
margin-top: 25px;
margin-bottom:15px;
	padding: 5px 8px;
color: #333;
	background: #F2F2F2;
}
h4{
font-size:133.333333333%;/*20px*/
font-weight: normal;
 color:#569244;
 margin-top: 22px;
 margin-bottom:15px;
 border-left: 8px solid #a1b426;
 padding-left:8px;
}
h5{
font-size:120%;/*18px*/
 color:#333;
 margin-top: 22px;
 margin-bottom:15px;
}
h6 {	color:#333; position: relative; padding-left: 14px;}
h6::before{
	content: '';
	width: 8px;height: 8px;
	position: absolute;
	left: 0; top: 4px;
	background: #666;
}

/*-------------------------------
# Layout
-------------------------------*/
#page{ overflow-x: hidden;}
#site-branding,
#content{
	margin: 0 auto 0;
	max-width: 1024px;
	width: 100%;
}
#content{margin-top: 20px; margin-bottom:40px;}
/*サイドメニューあり（<div class="row"></div>で囲って使います）*/
#primary{width:75.1953125%;}/*770px*/
#secondary{width:22.4609375%;/*230*/
	margin-bottom: 40px;
}
/* Layout box */
.Inner{
	margin: 0 auto 0;
	max-width: 1024px;
	width: 100%;
}
.col1{width:7.32421875%;}/*75*/
.col2{width:15.625%;}/*160*/
.col3{width:23.92578125%;}/*245*/
.col4{width:32.2265625%;}/*330*/
.col5{width:40.52734375%;}/*415*/
.col6{width:48.828125%}/*500*/
.col7{width:57.12890625%;}/*585*/
.col8{width:65.4296875%;}/*670*/
/*2段組み↓*/
.x4{width: 24.025974025%;}/*185*/
.x3{width: 32.467532467%;}/*250*/
.x2{width: 49.35064935%;}/*380*/
.w240{width:31.168831168%;}/*240*/
.w520{width:67.532467532%;}/*520*/

/*-------------------------------
# Header
-------------------------------*/
#site-header{margin:20px 0 20px 0;}
#site-branding{position: relative;	align-items: center;}
#site-title a{
	display: block;
	max-width:169px;
	width: 100%;
}
#discription{
	white-space: nowrap;
	color: #4B8B00;
	font-weight: bold;
	height: 56px;
	line-height: 56px;
	margin:0 auto 0 20px;
}

/* header-parts */
#headparts{
	width: 520px;
	min-width: 520px;
	padding: 8px 0;
	position: relative;
	font-size: 12px;
	font-weight: bold;
	background: #F2F2F2;
}
#headparts.row{justify-content: center;align-items: center;}
#headparts,.accessible-button{
	-webkit-border-radius:3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	border-radius: 3px;
}
#fontsize, #inverse {
	width:23.076923076%;
	margin-left: 10px;
	line-height: 1.8;
	float: left;
}
#fontsize, #inverse,#searchBox{ white-space: nowrap;}
.accessible-button {
	cursor: pointer;
	background-color: #fff;
	border: #C9C9C9 solid 1px;
	padding: 1px 4px;
}
/*背景色*/
#inverse::before{content: "背景色";}
#inverse-btn-blue {
	background-color: #22A8D6;
	color: #FFF;
}
#inverse-btn-black {
	background-color: #000;
	color: #FFF;
}
#header-parts .active {
	color: #FFF;
	background: #3A7FC7 !important;
}
.inverse-blue {
	background-color: #22A8D6 !important;
	color: #fff !important;
	border-color: #FFF !important;
}
.inverse-black {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #FFF !important;
}
/*文字サイズ*/
#fontsize::before{content: "文字サイズ";}
#fontsize {width:28.846153846%;}
#fontsize .active{color: #FFF; background:#F0375B;}

/*Google サイト内検索CSS*/
#searchBox{width:38.461538461%; height: 26px; margin-left: 10px; margin-right: 10px;}
#searchBox table{margin-bottom: 0;}
.gsc-control-cse{padding: 0 !important;}
form.gsc-search-box{margin-bottom: 0 !important;}
.gsc-input-box{	border-color: #C9C9C9 !important;}
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus{
-webkit-border-radius: 3px !important;
-moz-border-radius: 3px !important;
-ms-border-radius: 3px !important;
border-radius: 3px !important;
}
.gsc-control-cse{background: none !important;border: none !important;}
input.gsc-search-button-v2{	height:24px !important; width: auto !important;padding: 6px 4px !important; margin-top: 0 !important;}
table.gsc-search-box td{vertical-align:top !important;}
#___gcse_0 td,.gsib_b{padding: 0;}
#___gcse_0 td.gsib_a {padding:0 6px;}
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus {
    background-color: #22A8D6 !important;
}
.cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
}
/*-------------------------------
# Navigation
-------------------------------*/
#main-navigation{height: auto; background: #F2F2F2;}
#main-navigation #nav-container ul li:after,
#main-navigation #nav-container ul li:last-child:before{
  content: "";
  display: block;
  width: 1px;
  height:50px;
	border-right: 1px dashed #CBCBCB;
  position: absolute;
  top:0px;
}
#main-navigation #nav-container ul li:after{ left: 0;}
#main-navigation #nav-container ul li:last-child:before{ right: 0;}
#main-navigation ul li {
	width: 16.6666%;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	position: relative;
}
#main-navigation ul li:hover{background: #FFF; transition: .3s;}
#main-navigation ul li a {
	height:50px;
	line-height: 50px;
	display: block;
	margin: 0 auto;
	text-decoration: none;
	color: #000;
}
#main-navigation ul li a::before {
 content: '';
 display: inline-block;
 width:12px;
 height:12px;
 vertical-align: middle;
	background: url(../images/ico_nav@2x.png);
 background-size:12px 12px;
 margin-left: -12px;
	margin-right: 5px;
}
/*#topicpass*/
#topicpath {
	padding-top:6px;
	padding-bottom:6px;
	font-size:86.666666%;/*13px*/
	color: #FFF;
	background: #A5B239;
}
#topicpath a{color: #FFF;text-decoration: none;}

/*-------------------------------
# MainVisual
-------------------------------*/
#mainVisual{
	background: #A5B239;
	width: 100%;
	display: inline-block;
	margin-bottom: 50px;
}
.flexslider{margin-bottom: 0; border: none;max-width: 1024px;width: 100%; margin: 20px auto;}
.flex-viewport{overflow-x: hidden;}
.flex-direction-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.flex-control-nav{}
.flex-direction-nav a:before {font-size: 30px;}
.flex-control-paging li a {	background: #F2F2F2;}
.flex-control-paging li a:hover { background: #A5B239;}
.flex-control-paging li a.flex-active { background:  #A5B239;}
.flex-control-nav {bottom: -60px;width: 200px;left:80px; right: 80px; margin:  0 auto;}
.flex-pauseplay {
	position: absolute;
	width:40px;
	height:38px;
	margin: 0;
	font-size: 11px;
 line-height: 1.2;
	left: 10px;
	bottom:-65px;
}
.flex-pauseplay a {
	display: block;
	position: relative;
 color: #333333;
 text-align: center;
 text-decoration: none;
 width: 40px;
	height:38px;
	left: 0;
	bottom: 0;
 opacity: 1;
}
.flex-pauseplay a:before {
 font-size: 16px;
 display: block;
	color: #CCC;
 text-align: center;
}
.flex-pauseplay a:before {
 font-size: 16px;
 display: block;
 text-align: center;
}

/*-------------------------------
# Secondary
-------------------------------*/
#secondary h3{
	color: #633F01;
	border-bottom: 1px solid #A5B239;
	background: none;
	font-size:106.66666666%;/*16px*/
	margin:20px 15px 0 15px;
	padding:0 0 10px 0;
}
/*-------------------------------
# Footer
-------------------------------*/
/* PageTop */
.pagetop {
	text-align: center;
	width: 107px;
	height: 99px;
	margin: 0 auto 20px;
}
.pagetop a {
	padding-top: 50px;
	padding-right: 12px;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	color: #FFF;
	text-align: center;
	display: block;
	width: 107px;
	height: 99px;
	background: url(../images/ico_pagetop@2x.png) no-repeat 0 0;
	background-size: 107px 99px;
	position: relative;
}
.pagetop a::before{
	content: '';
	position: absolute;
	left: 50px;top:25px;
	width:2px;
	height:20px;
	background: #FFF;
 -moz-transform: rotate(-45deg);
 -webkit-transform: rotate(-45deg);
 -o-transform: rotate(-45deg);
 -ms-transform: rotate(-45deg);
 transform: rotate(-45deg);
}
.pagetop a::after{
	content: '';
	position: absolute;
	left: 36px; top:25px;
	width:2px;
	height:20px;
	background: #FFF;
 -moz-transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -o-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
}

/* Footer */
#site-footer{
	clear: both;
	font-size: 93.75%;
	background: #F2F2F2;
}
#footer-info{
	max-width: 1024px;
	width: 100%;
	margin: 0 auto 10px;
	padding-top: 30px;
	padding-bottom: 30px;
	position: relative;
	z-index: 2;
}
/*#footer-info.row{justify-content: flex-end;}*/

#footer-info::before{
	content: "";
	position: absolute;
	width: 518px;
	height: 31px;
	bottom:15px;
	left: 0;right:0;margin: auto;
	background: url(../images/bg_footer.png) no-repeat 0 0;
	background-size:518px 31px;
	z-index: -1;
}
#footer-info::after{
	content: "";
	position: absolute;
	width: 100%;
	height:5px;
	bottom:10px;
	right: 0;left:0;margin: auto;
	background:#84D9FF;
	z-index: -2;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
border-radius: 2px;
}
#fTitle{margin-right: auto;}
#fNav{
	max-width: 520px;
	width: 100%;
}
#fNav ul{
	-js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;
	display: flex;
	-webkit-justify-content:center;
	justify-content:center;
	flex-wrap: wrap;
	margin: 0;
}
#fNav li{
	font-size:12px;
	margin-right:2.678571428%;
	position: relative;
}
#fNav ul li:last-child{margin-right: 0;}
#fNav li a{
	color:#000000;
	text-decoration: none;
	white-space: nowrap;
	display: block;
	font-weight: bold;
	transition: .5s;
	position: relative;
	padding-top: 10px;
	padding-left: 18px;
	background: url(../images/ico_nav@2x.png) no-repeat 0 15px;
	background-size: 12px 12px;
}
#fNav ul li#linkMap a{padding-top: 0; padding-left: 0;background: none;}
#fNav li a:hover{
	color: #666;
	transition: .5s;
}
#fNav ul.menu2{margin-top: 10px;}
#fNav ul.menu2 li a{font-weight:normal;}

.site-info{
	font-size: 93.75%;
	padding-top: 20px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 20px;
}
.site-info p{margin-bottom: 10px;}
.site-info strong{font-size: 137.5%;}

#copy{
	color:#FFF;
	background: #638A1A;
	text-align: center;
	margin-bottom: 0 !important;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size:81.25% !important;
}

/*-------------------------------
# home
-------------------------------*/
/*新着情報*/
#newsblock {
	background: #FFFFEE;
	padding: 20px;
	border: 6px solid #A5B239;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	border-radius: 6px;
}
#newsblock h3{
	font-size: 120%;/*18px*/
	margin: 0;
	font-weight: bold;
	background: url(../images/ico_whatsnews@2x.png) no-repeat 0 0px;
	background-size: 29.5px 21px;
	padding: 0 0 0 38px;
}
#newsblock h3 .topicsLink{float: right;}
.dl_topics {
	clear: both;
	margin-top: 10px;
	max-height: 260px;
	overflow-y: auto;
	overflow-x: hidden;
}
.dl_topics dt {
	color: #CF3A5A;
	font-weight: normal;
	float: left;
	margin: 10px 0 5px 0px;
	clear: both;
}
.dl_topics dd {
	padding-left: 120px;
	margin: 10px 0px 5px 0;
	border-bottom: 1px dashed #403A38;
}
.dl_topics dd a{color: #333333;}
.dl_topics li{ width: 100%;
    -js-display: flex; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex;
    position: relative;
}
.dl_topics li span {width: 30%;}
.dl_topics li a {width: 62%;}
.dl_topics li img {vertical-align: middle; width: 29px; height: 14px;}

/*緊急情報ブロック（赤）*/
#emergencyblock {
	background: #ffF6F6;
	border: 6px solid #C93333;
	padding: 20px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	border-radius: 6px;
}
#emergencyblock h3 {
	font-size: 120%;/*18px*/
	margin: 0;
	font-weight: bold;
	background: url(../images/ico_emergency.png) no-repeat 0 0px;
	background-size: 30px 21px;
	color:#cc0000;
	padding: 0 0 0 38px;
}

/*日本で唯一！飛び地の村*/
#tobichinomura {
	background: #EFF2C2;
	border: 6px solid #A5B239;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	border-radius: 6px;
	padding:15px;
	display: inline-block;
}
#tobichinomura h3 {
	font-size:166.666666666666%;/*25px*/
	font-weight: bold;
	background: none;
	color: #54310D;
	margin: 0 0 10px 0;
}
#tobichinomura p {
	margin: 10px 10px 5px 10px;
	padding-left: 0px;
}

/*詳細リンクボタン*/
.topicsLink{
	display: block;
	text-align: center;
	background: url(../images/ico_link1@2x.png) no-repeat 8px 50% #638A1A;
	background-size: 8px 9.5px;
	width: 110px;
}
#emergencyblock .topicsLink {	float: right;	background-color: #cc3333;}
.topicsLink a {
	display: block;
	text-decoration: none;
	color: #FFF;
	font-size: 12px;
	padding: 5px 3px 5px 10px;
	font-weight: normal;
}
.topicsLink a:hover {color: #FFF !important;}

/*防災ブロック（黄色）*/
.bousai h2 {
	font-size: 1.8em;
	font-weight: bold;
	padding:8px 15px 4px;
	-webkit-border-radius: 6px 6px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	-ms-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
	line-height: 1;
	background: #FC0;
	color: #900;
	border-color: #FC0;
	margin-bottom: 0;
	clear: both;
}
.bousai h2::before,
.bousai h2::after{content: none;}
.bousai .bousai-box {
	border: 3px solid #FC0;
	-webkit-border-radius:0 0 6px 6px;
	-moz-border-radius:0 0 6px 6px;
	-ms-border-radius:0 0 6px 6px;
	border-radius:0 0 6px 6px;
	padding: 5px 15px;
	font-size: 120%;
	margin-bottom: 20px;
}
.bousai .bousai-box h3 {
	padding-left: 0px;
	font-weight: bold;
	color: #990000;
	background: none;
	border-bottom: 4px solid #c00 !important;
}
.bousai .bousai-box h4 {
	padding-left: 10px;
	font-weight: bold;
	color: #990000;
	border-left: 3px solid#933 !important;
}
.bousai .bousai-box ul li {	list-style-type: square;	margin-left: 20px !important;}
.bousai .bousai-box ul li a {	color: #CC0000;}

.topcomment-area{
	display: inline-block;
	width: 100%;
	padding: 5px 15px;
	margin-bottom:30px;
	border: 2px #6699cc solid;
}


/*-------------------------------
# Module
-------------------------------*/
/*テキストボックス
-------------------------------*/
/*共通設定*/
.boxGr,.boxYe,.boxOr{
	font-size: 96%;
	display: inline-block;
	width: 100%;
	padding: 15px;
	margin-bottom:16px;
}
.boxGr p:last-child,.boxYe p:last-child,.boxOr p:last-child{margin-bottom: 0 !important;}
/*グリーン*/
.boxGr{
	background:#EFF2C2;
	border: 3px solid #A5B239;
}
/*ライトイエロー*/
.boxYe{
 border: 1px #9FC5BE solid;
 background: #FFFBE3;
}
.boxYe h3{margin: 20px 0;font-size:130%;}
/* ライトオレンジ */
.boxOr{	background: #FFF2E3;}
