/*
Theme Name: emachi-portal
Description: なばり地域づくりポータルwpテーマ
Version: 1.0.0
Update URI: false
*/


 /* =グローバル要素
-------------------------------------------------------------- */


html {
}

body {
	background-color:#f1f1f1;
	background-image:url(img/bg.jpg);
	background-repeat:repeat-x;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 16px;
	font-style: normal;
	line-height: 1.8;
	letter-spacing:0.1em;
	color: #333;
	margin: 0px;
	padding: 0px;
	text-align:left;
}

img {
	vertical-align:bottom;
}

.container {
	text-align: left;
	max-width: 960px;
}

.max910px {
	max-width: 910px;
}

/* =Header
-------------------------------------------------------------- */

.header .container {
	padding:0;
}

#site-title {
	width:480px;
	margin:55px auto 35px auto;
	overflow:hidden;
}

#site-title a {
	float:left;
	width:330px;
	text-indent:-9999px;
	outline:none;
	background-image:url("img/tit.png");
	background-repeat:no-repeat;
	background-position:0% 0%;
	background-size:100%;
	border-bottom:none;
	height:85px;
	margin-right:40px;
}

.nacky {
	float:right;
}

/* =Navbar
-------------------------------------------------------------- */

.navbar {
	color: #000;
	background-color: #fff;
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin: 0 0 0 0;
	border:0 solid;
	overflow:hidden;
/*	z-index:999999;
	position:fixed;
	width:100%;
	top:0;*/
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

.icon-bar {
	background-color: #000;
}

.navbar ul {
	margin-left:-30px !important;
	margin-right:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	text-align:center;
}

.navbar li {
	color: #000;
	background-color: #fff;
	width:192px;
	margin-left:0 !important;
	margin-right:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	text-align:center;
}
.navbar li a {
	width:191px;
	margin:0 !important;
	padding:0 !important;
	line-height:60px;
	border-right:1px solid #ccc;
}
.navbar li.menu-5 a {
	border-right:0px solid #ccc;
}

.navbar li a {
	color: #000;
}

.navbar li a:hover {
	color: #993333;
	background:none;
}


/* =Content
-------------------------------------------------------------- */

.content {
	padding: 20px 0 40px 0;
}
 
.content h1 {
	font-size: 260%;
	font-weight: bold;
	color: #000;
	padding: 5px;
	margin-top: 30px;
	margin-bottom: 15px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

.content h2 {
	font-size: 143%;
	font-weight: normal;
	color: #000;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 40px;
	margin-left: 0px;
}

.content h2 a:link {
	color: rgba(121,121,121,1);
}
.content h2 a:visited {
	color: rgba(121,121,121,1);
}

.content h3 {
	font-size: 100%;
	font-weight: bold;
	color: #000;
	background-color: #FFF;
	padding: 5px;
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #CCC;
}

.content h4 {
	font-size: 100%;
	font-weight: bold;
	color: #000;
}


/*=====基本設定=====*/
p {
	margin-top: 10px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom:2em;
}
img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
/*=====テキスト=====*/
em {
	font-weight: bold;
	font-style: normal;
}
strong {
	font-weight: bold;
}
/*=====リスト=====*/
ol {
	margin: 10px;
	margin-left:1em;
	padding-left: 2em;
}
ul {
	margin: 10px;
	margin-left:1em;
	padding-left: 2em;
}


/*=====基本クラス=====*/
.catch {
	font-size: 115%;
	color:#000000;
	margin:20px 0;
}
.honbun {
	text-indent:1em;
	font-size:100%;
	line-height: 1.8;
}
.kaisetu {
	text-indent:1em;
	font-size: 86%;
}
.jisage {
	padding-left: 2em;
}
.kakomi {
	font-size: 100%;
	padding: 15px;
	border: 1px solid #CCC;
}
.cyuusyaku {
	font-size:86%;
	text-indent:-1em;
	margin-left :2em;
}
/*=====文字サイズ=====*/
.text_ll {
	font-size: 129%;
}
.text_l {
	font-size: 115%;
}
.text_m {
	font-size: 100%;
}
.text_s {
	font-size: 86%;
}
.text_ss {
	font-size: 72%;
}
/*==========文字色==========*/
.shiro {
	color: #ffffff;
}
.aka {
	color: #ff0000;
}


/* Link */
.content a:link {
	color: #00F;
	text-decoration: underline;
}
.content a:visited {
	color: #36F;
	text-decoration: underline;
}
.content a:hover {
	color: #993333;
	text-decoration: underline;
}
.content a:active {
	color: #F90;
	text-decoration: underline;
}

a {
	-webkit-transition: 0.3s ease-in-out;
	   -moz-transition: 0.3s ease-in-out;
		 -o-transition: 0.3s ease-in-out;
			transition: 0.3s ease-in-out;
}

a:hover img {
	filter: alpha(opacity=80);
	opacity: 0.8;
	-webkit-transition: 0.3s ease-in-out;
	   -moz-transition: 0.3s ease-in-out;
		 -o-transition: 0.3s ease-in-out;
			transition: 0.3s ease-in-out;
}


/*=====表=====*/
table.hyou {
	width: 600px;
	border-collapse:collapse;
	border: 1px solid #f00;
	border-spacing:0;
	empty-cells:show;
}
table.hyou th {
	border-collapse:collapse;
	font-weight: bold;
	background-color: #f1f1f1;
	padding: 5px;
	font-size: 100%;
	border-top-width: 1px;
	border-right-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-top-color: #f0f;
	border-right-color: #06C;
}
table.hyou td {
	border-collapse:collapse;
	background-color: #fff;
	padding: 5px;
	font-size: 100%;
	border-top-width: 1px;
	border-right-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-top-color: #f0f;
	border-right-color: #06C;
	text-align: left;
}


/* =Footer
-------------------------------------------------------------- */

.footer {
	color: #fff;
	padding: 20px 0 20px 0;
	background-color: #993333;
	text-align: center;
}
.footer a {
	color: #fff;
}

.footer .text-center {
	margin-top: 20px;
}

.pagetop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
}
.pagetop a {
	display: block;
	width: 35px;
	height: 35px;
	text-decoration: none;
	line-height: 50px;
	text-indent:-9999px;
	background-size:100%;
	background-image:url(img/pagetop.png);
	background-repeat:no-repeat;
}


/* =Images（Wordpress用）
-------------------------------------------------------------- */

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}


/*==========  最大幅  ==========*/
img {
    max-width: 100%;
    height: auto;
}


/*==========  nav中央寄せ  ==========*/

@media (min-width: 768px){

.navbar {
    overflow:hidden;
}
.navbar > div {
    position:relative;
    left:50%;
    float:left;
}
.navbar ul {
    position:relative;
    left:-50%;
    float:left;
}
.navbar li {
    float:left;
}
.navbar li + li {
    margin-left:20px;
}
}
/*==========  clear  ==========*/

.clear {
    clear: both;
}


/* = 新着情報
-------------------------------------------------------------- */

.news-area .table {
	border-bottom:1px solid #ccc;
	margin-bottom:60px;
}
.news-area .table td {
	padding:10px;
	border-color: #ccc;
	text-align: left;
}
.news-area .table td.date {
	color:#339900;
	width:20%;
}


/* = 内部コンテンツ用
-------------------------------------------------------------- */

.panel-primary {
	border-color:#422e00;
}
.panel-primary .panel-heading {
	background:#422e00;
	border-color:#422e00;
}
.panel-primary .panel-heading a {
	color:#fff;
	text-decoration:none;
}
.panel-primary ul {
	margin:0;
}
.panel-primary ul li.list-group-item a {
	text-decoration:none ;
}
.panel-primary ul span {
	color:#66cc33;
}
.panel-primary .panel-heading a:hover {
	color:#ccc;
}

.btn-group .btn a {
	text-decoration:none;
}

span.glyphicon {
	width: 1.1em;
}

/* PDFファイルのアイコン */
a[href $='.pdf'] {   
	background: transparent url(img/pdficon_small.png) no-repeat right top;
	padding-right: 20px;
	padding-bottom:3px;
}

/* Pagination */

ul.pagination li.active a {
	color: #fff;
}

/* 回り込み禁止 */

.my-entry-content {
	overflow: hidden;
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/
 

 
/*==========  Mobile First Method  ==========*/
 
	/* Custom, iPhone Retina */
	@media only screen and (min-width : 320px){

	}
 
	/* Extra Small Devices, Phones */
	@media only screen and (min-width : 480px){

	}
 
	/* Small Devices, Tablets */
	@media only screen and (min-width : 768px){

	}
 
	/* Medium Devices, Desktops */
	@media only screen and (min-width : 1024px){

	}
 
	/* Large Devices, Wide Screens */
	@media only screen and (min-width : 1366px){

	}
 
 
/*==========  Non-Mobile First Method  ==========*/
 
	/* Large Devices, Wide Screens */
	@media only screen and (max-width : 1366px){

	}
 
	/* Medium Devices, Desktops */
	@media only screen and (max-width : 1024px){

	}
	@media only screen and (max-width : 991px){
.navbar li {
	color: #000;
	background-color: #fff;
	width:auto;
	margin-left:0 !important;
	margin-right:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	text-align:center;
}
.navbar li a {
	width:auto;
	margin:0 !important;
	padding:0 20px !important;
	line-height:60px;
	border-right:0px solid #ccc;
}

	}
 
	/* Small Devices, Tablets */
	@media only screen and (max-width : 767px){


#site-title {
	width:auto;
	margin:20px 10px 0 20px;
}

#site-title a {
	float:left;
	width:240px;
	text-indent:-9999px;
	outline:none;
	background-image:url("img/tit.png");
	background-repeat:no-repeat;
	background-position:0% 0%;
	background-size:100%;
	border-bottom:none;
	height:85px;
	margin-right:0px;
}

.nacky {
	float:right;
	width:80px;
}

.navbar ul {
	margin-left:0 !important;
	margin-right:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	text-align:center;
}

.navbar li {
	color: #000;
	background-color: #fff;
	width:auto;
	margin-left:0 !important;
	margin-right:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	text-align:center;
}
.navbar li a {
	width:auto;
	margin:0 !important;
	padding:0 !important;
	line-height:50px;
	border-right:0px solid #ccc;
	border-bottom:0px solid #ccc;
}
.navbar li.menu-5 a {
	border:0px solid #ccc;
}

.navbar li a {
	color: #000;
}

.navbar li a:hover {
	color: #993333;
	background:none;
}

.content h1 {
	font-size: 180%;
	font-weight: bold;
	color: #000;
	padding: 5px;
	margin-top: 0px;
	margin-bottom: 15px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}
	}
 
	/* Extra Small Devices, Phones */
	@media only screen and (max-width : 480px){

	}
 
	/* Custom, iPhone Retina */
	@media only screen and (max-width : 320px){

#site-title a {
	float:left;
	width:180px;
	text-indent:-9999px;
	outline:none;
	background-image:url("img/tit.png");
	background-repeat:no-repeat;
	background-position:0% 0%;
	background-size:100%;
	border-bottom:none;
	height:65px;
	margin-right:0px;
}
.nacky {
	float:right;
	width:60px;
}

	}
