@charset "utf-8";

/*
Theme Name: 若桜町役場
Description: 若桜町役場
Theme URI: http://www.town.wakasa.tottori.jp/
Author: 若桜町役場
Author URI: http://www.town.wakasa.tottori.jp/
Version: 2014.03.26
*/

/* ==========================================================================
   共通部分
   ========================================================================== */

body{
	/*min-width: 980px;*/
	margin: 0 auto;
	color:#333;
	font-size: 14px;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.container{
	width: 980px;
	margin:0 auto;
}

#content {
	margin-bottom: 30px;
}

a{
	text-decoration:none;
}

footer {
	clear: both;
}

header a ,
footer a{
	color:#333;
}

a:hover{
	text-decoration:underline;
}

a img:hover{
	opacity:0.7;
}

img{
	max-width: 100%;
	height: auto;
}

.red{
	color:#f00;
}

.gray{
	color:#999;
}

p.button{
	text-align:center;
}

input[type="submit"]{
	border: solid 1px #ccc;
	border-radius: 5px;
	padding: 20px 50px;
	font-size: 20px;
	background: #2E64FE;
	color: #fff;
}

input[disabled]{
	border: solid 1px #ccc;
	border-radius: 5px;
	padding: 20px 50px;
	background: #ccc;
	color: #333;
}

button.download{
	border: solid 1px #ccc;
	border-radius: 5px;
	padding: 5px;
	font-size: 13px;
}

#jd-calendar input.button{
	padding:3px;
	background: #ccc;
	color: #333;
}

#main ul li{
	list-style-type:disc;
	line-height: 20px;
}

.right-img{
	float:right;
}

p.more{
	text-align:right;
}

p.center{
	text-align:center;
}

textarea{
	width:100%;
}

#main .archive {
	text-indent: 15px;
	text-align: right;
	padding:10px;
}

#main .archive a {
	background:url(img/icon_arrow.png) no-repeat 2px;
	padding-left: 15px;
}

/* ==========================================================================
   header
   ========================================================================== */
header{
	margin-bottom:20px;
	padding-top:20px;
	width: 100%;
	/*min-width: 980px;*/
}

header .container:first-child {
	margin: 0 auto 20px;
}

header #logo{
	float:left;
}

header #logo a {
	display: block;
}

header #header-group{
	float:right;
}

header #header-group ul#guide{
	float: right;
	height: auto;
}

header #header-group ul#guide li{
	background: url(img/icon_arrow.png) no-repeat 2px;
	float: left;
	text-align: right;
	text-indent: 15px;
}

header #header-group ul#guide li:first-child a{
	margin-right:30px;
}

header #catchcopy{
	padding-top: 16px;
}

header .button-toggle{
	display:none;
}

header .menu{
	display: block;
}

header ul.nav {
	width: 100%;
	display: table;
	table-layout: fixed;
}

header nav#header ul.nav li{
	text-align:center;
	border-radius: 10px 10px 0 0;
	display: table-cell;
}

header nav#header ul.nav li a{
	/*width: 137px;*/
	padding: 8px 0;
	display: block;
	color: #fff;
	text-decoration: none;
	border-radius: 10px 10px 0 0;
	font-size: 114%;
}

header nav#header ul.nav li+li a {
	margin-left: 1px
}

header nav#header ul.nav li a:hover{
	background: #fff;
	text-decoration:none;
}

header nav#header ul.nav li.current ,
header nav#header ul.nav li.current a{
	background: #fff;
	border-radius: 10px 10px 0 0;
}

header nav#header ul.nav li.mini{
	display:none;
}

header #custom{
	/*width: 960px;*/
	height: 31px;
	padding: 10px;
}

header #custom table#customchange{
	float: left;
	border-collapse: separate;
	border-spacing: 2px 0;
}

header #custom table#customchange td{
	padding: 8px 2px;
	vertical-align: top;
}

header #custom table#customchange td span {
	padding: 5px;
	cursor: pointer;
}

header .gsc-control-searchbox-only {
	width: 270px;
	padding:0;
	float: right;
}

header form.gsc-search-box {
	font-size: 92%;
	margin: 0;
	margin-right: 0;
	/* margin-bottom: 4px; */
	margin-left: 0;
	width: 100%;
}
/* ==========================================================================
   main
   ========================================================================== */

#main{
	width: 770px;
	float:left;
	margin-right: 10px;
}

#main #banner-gikai{
	margin-bottom: 10px;
	width: 540px;
	height: 80px;
}

#main #new{
	min-width:260px;
	min-height: 160px;
	padding: 20px;
	margin-bottom: 10px;
	clear:both;
}

#main .news-list {
	height: 370px;
	/*border-top: none;*/
	overflow:auto;
	padding: 20px;
	margin-bottom: 10px;
	clear:both;
	display: none;
}

#main .news-list.on{
	display: block;
}

#main .news-list.on ul li{
	background:url(img/icon_arrow.png) no-repeat 2px;
	background-position:0 11px;
	line-height: 25px;
	padding-left:20px;
}

#main h2{
	padding: 10px;
	margin-bottom:10px;
	font-size: 118%;
}

/* ==========================================================================
   sidebar
   ========================================================================== */

#side-right{
	width:196px;
	float:right;
}

#side-left a , #side-right a{
	text-decoration:none;
}

#side-left nav#left .side-box , #side-right nav#right .side-box{
	margin-bottom: 10px;
}

#side-left nav#left .side-box ul, #side-right nav#right .side-box ul{
	text-align: center;
}

#side-right nav#right .side-box ul li.taiken a img{
	width: 192px;
	margin-bottom:0;
}

#side-left nav#left .side-box img ,
#side-right nav#right .side-box a img{
	margin: auto;
	margin-bottom: 10px;
	display:block;
}

#side-left nav#left .side-box h2,
#side-right nav#right .side-box h2{
	/*width: 172px;*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding: 10px;
	margin-bottom:10px;
	font-size: 118%;
}

#side-right nav#right .side-box #jinkou {
	font-size: 107%;
}

#side-right nav#right .side-box h2#jinkou > p{
	text-align: left;
}

#side-right nav#right .side-box h2#jinkou > p + p{
	text-align: right;
}

#side-right nav#right .side-box table{
	margin: 0 auto;
	margin-bottom: 10px;
}

#side-right nav#right .side-box table th ,
#side-right nav#right .side-box table td{
	padding: 0 5px 5px;
}

#side-right nav#right .side-box h2#jinkou + table + p{
	padding-bottom: 5px;
	line-height: 20px;
	font-size: 90%;
}

#side-right nav#right .side-box p{
	text-align: center;
}

#side-right nav#right .side-box ul#cont li {
	/*text-indent: 21px;*/
	background: #fff url(img/icon_list.png) no-repeat;
	background-position: 2px 18px;
	background-size: 16px;
	/*width: 176px;*/
	text-align:left;
	margin: 5px;
	/* box-shadow */
	box-shadow:rgba(204, 204, 204, 0.5) 7px 7px 2px -6px;
	-webkit-box-shadow:rgba(204, 204, 204, 0.5) 7px 7px 2px -6px;
	-moz-box-shadow:rgba(204, 204, 204, 0.5) 7px 7px 2px -6px;
}

#side-right nav#right .side-box ul#cont li:hover{
	/* box-shadow */
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}

#side-right nav#right .side-box ul#cont li:last-child{
	margin-bottom: 10px;
}

#side-right nav#right .side-box ul#cont li a{
	color: #333;
	/*width: 157px;*/
	padding: 15px 0 15px 22px;
	display: block;
}

#side-right nav#right .side-box ul li.taiken a{
	height:auto;
}


#side-right nav#right .side-box ul li.taiken a img.miniimage{
	display: none;
}
#side-right nav#right .side-box ul li.taiken a img.bigimage{
	display: block;
}

/* ==========================================================================
   sidebar　カレンダー
   ========================================================================== */

#left .side-calendar .mc-main {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 100% !important;
	overflow:auto;
	height: 248px;
}

#left .side-calendar .side-box h2#eventlist {
	/*width: 172px;*/
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding: 10px;
	margin: 0;
	color:#333;
}

#left .side-calendar .my-calendar-header ,
#left .side-calendar h2.my-calendar-month ,
#left .side-calendar .time-block ,
#left .side-calendar h2.event-title img{
	display:none !important;
}

#left .side-calendar .mc-main .mc-list li {
	padding: 5px 0;
}

#left .side-calendar .event-date{
	background-color:#fef3f6;
	width: 100%;
	display: block;
	padding:5px 0;
	text-align:left;
}

#left .side-calendar .event-date a{
	background: url(img/icon_list.png) no-repeat;
	background-position:5px 0;
	background-size: 16px;
	padding:3px 0;
	padding-left: 29px;
	color:#333;
}

#left .side-calendar .mc-main .current-day {
    background: #fff;
}

#left .side-calendar .mc-main .list-event .details {
	border: 1px solid #c3d3d3;
    background: #fff;
	text-align:left;
}

#left .side-calendar .mc-main .sub-details {
    margin-left: 0;
	text-align:left;
}

#left .side-calendar h2.event-title{
	font-size:100% !important;
	line-height: 20px;
    background: #fff !important;
    font-weight: normal;
    text-align: left;
}

#left .side-calendar .mc-main .mc-list .odd {
	background: none;
}

#left .side-calendar .my-calendar-nav{
	font-size: 11px;
}

#left .side-calendar .mc-main .my-calendar-nav li a {
    display: block;
    text-align: center;
	padding:0;
    min-width: 0px;
	text-indent:5px;
}

#left .side-calendar ul#upcoming-events,
#right .side-calendar ul#upcoming-events{
    margin: 0 !important;
    font-size: 100% !important;
	overflow:auto;
	height: 248px;
	background: #fff;
}

#left .side-calendar ul#upcoming-events li p:first-child,
#right .side-calendar ul#upcoming-events li p:first-child{
	background-image: url(img/icon_list.png);
	background-size: 16px;
	background-repeat:no-repeat;
	background-position:5px;
	padding:3px 0;
	padding-left: 29px;
	color:#333;
	display:block;
	text-align:left;
	font-weight:bold;
}

#left .side-calendar ul#upcoming-events li p,
#right .side-calendar ul#upcoming-events li p{
	text-indent:0;
	padding: 5px 10px;
	margin:0;
	text-align:left;
}

#left .side-calendar ul#upcoming-events ,
#left .side-calendar ul#todays-events{
	margin: 0;
	text-indent:10px;
	color:#333;
}

/* ==========================================================================
   breadcrumbs
   ========================================================================== */

#breadcrumbs{
	margin-left: 10px;
	margin-bottom: 10px;
	font-size: 80%;
	color: #999;
}

/* ==========================================================================
   footer
   ========================================================================== */
footer{
	width: 100%;
	/*min-width: 980px;*/
}

footer nav#footer{
	text-align: center;
}

footer nav#footer ul{
	height: 16px;
	text-align: center;
	margin: 0 auto;
	margin-bottom:20px;
	display: inline-block;
}

footer nav#footer ul li{
	float: left;
	border-right:solid 1px #333;
	padding: 0 10px;
}

footer nav#footer ul li:first-child{
	border-right:solid 1px #333;
	padding-left: 0;
}

footer nav#footer ul li:last-child{
	border-right:none;
	padding-right: 0;
}

footer #page_top {
	display: block;
	position: fixed;
	width: 100px;
	height: 101px;
	bottom: 0px;
	right: 20px;
	background-image: url(img/page_top.png);
}

footer address{
	width: auto;
	font-style:normal;
	overflow: hidden;
	margin: auto;
	padding: 20px 0;
	line-height:24px;
	text-align:center;
}

footer address p.yakuba{
	font-size:20px;
	font-weight: bold;
}

footer #copy{
	width: 100%;
	padding: 10px 0;
	overflow:hidden;
	text-align:center;
	font-size: 85%;
}

@media screen and (max-width: 768px) {
    .container{ 
    	width: 100%;
    }

	#main {
		width: 78%;
		margin-right: 2%;
	}

    #side-right {
    	width: 20%;
    }
}

.wp-pagenavi {
	text-align: center;
	margin-top: 15px;
}

