/*
Theme Name: Iwaizumi
Theme URI: http://www.town.iwaizumi.iwate.jp/
Author: Iwaizumi admin
Author URI:  http://www.town.iwaizumi.iwate.jp/
Description:このテーマは岩泉町専用です。
Version: 1.0

Happy 10th Anniversary to WordPress.



/*Reset Css*/
* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body { line-height: 1; }
ol,
ul { list-style: none; }
blockquote,
q { quotes: none; }
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 { clear: both; }
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus { outline: none; }
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section { display: block; }
hgroup {
	display: inline-block;
	margin: 17px 0;
	padding: 14px 0;
	float: none;
}
hgroup a {
	font-size: 34px;
	font-weight: normal;
	text-decoration: none;
	padding-left: 15px;
	color: #444444;
	text-shadow: 0.1px 1px 2px #888888;
}
hgroup a:hover {
	color: #111111;
	text-decoration: none;
}
hgroup .site-description:hover {
	color: #111111;
	text-decoration: none;
}
hgroup .site-description {
	font-weight: normal;
	padding-left: 18px;
	line-height: 2;
	font-size: 12px;
	text-shadow: 0.1px 1px 2px #CCCCCC;
}
audio,
canvas,
video { display: inline-block; }
audio:not([controls]) { display: none; }
del { color: #333; }
ins {
	background: none;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }
small { font-size: smaller; }
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}
/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after,
.site-content:after,
.post:after { clear: both; }
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after,
.site-content:before,
.site-content:after,
.post:before,
.post:after {
	display: table;
	content: "";
}
/*Alignments */

.alignleft {
	float: left;
	margin: 0.375em 1.75em 1.75em 0;
}
.alignright {
	float: right;
	margin: 0.375em 0 1.75em 1.75em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.75em;
}
@media screen and (max-width: 420px) {
.alignleft,.alignright {
	float: none;
	clear: both;
	text-align:center;
	display: block;
	margin: 0 auto 1.75em;
}
}
/*common*/
.wrapper,
.site-content {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
}
body { font-family: "メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; background-color:#FFF;}
/*header*/
.site-header {
	background-image: url(img/bg_header.png);
	background-repeat: no-repeat;
	background-position: center top;
}
.site-header-main {
	color: #FFF;
	float: left;
	text-align: center;
	width: 520px;
}
.site-header-main .site-title {
	font-size: 37px;
	line-height: 37px;
	padding-top: 29px;
}
.site-header-main .site-title a {
	color: #FFF;
	text-decoration: none;
}
.site-header-main .site-description {
	padding-top: 15px;
	font-size: 15px;
}
#site-search {
	float: right;
	width: 250px;
	position: relative;
}
.s{
	border: 1px solid #AAA;
  margin: 0;
  height: 25px;
  width: 180px;
  position: absolute;
  left: 0;
  top: 10px;
	padding:0 5px;
}
.searchsubmit{
    font-size: 0.9em;
    color: #FFFFFF;
    background: #999;
		text-align:center;
    width: 50px;
    height: 25px;
    margin: 0;
    border: none;
		position: absolute;
		left: 180px; 
		top: 10px;
}


@media screen and (max-width: 1024px) {
.site-header {
	background-image: url(img/bg_header.png);
	background-repeat: no-repeat;
	background-position: -160px top;
}
}
@media screen and (max-width: 768px) {
.wrapper,
.site-content {
	width: auto;
	padding:0 24px;
}
.site-header-main {
	margin-left:-24px;
}
#site-search {
	float:none;
	width:80%;
	margin:auto;
	clear:both;
	position: static;
	padding:10px;
}
.s{
    width: 75%;
	position: static;
	vertical-align:middle;
}
.searchsubmit{
	margin-left:-9px;
	width: 25%;
	position: static;
	vertical-align:middle;
}
}
@media screen and (min-width: 521px) {
.site-header {min-height: 215px;}
}
@media screen and (max-width: 520px) {
.site-header {
	background-image: none;
	background-color: #015B8D;
	height: auto;
	margin-bottom:20px;
}
.site-header-main {
	float: none;
	width: 100%;
	margin-left:0;
	text-align:left;
}
.site-header-main .site-title {
	font-size: 25px;
	line-height: 25px;
	padding-top: 15px;
}
#site-search {
	float:none;
	width:100%;
	margin:auto auto auto 0;
}
.s{
  width:200px;
}
.searchsubmit{
	margin-left:0;
  width:50px;
	text-align:center;
}
}


/*search*/
.page-header.search {
	padding: 8px 5px;
	background-color: #D0E8FF;
	border: #9CF 3px solid;
	border-radius: 5px;
}
.page-header.search h1 {
	font-size: 1.2em;
	line-height: 1em;
	font-weight: normal;
	text-align: center;
}
/*primary*/
.site-main {
	float: left;
	padding: 0px 2%;
	width: 68%;
}
/*post*/
.post {
	padding: 20px 10px;
	font-size: 0.95em;
	border-bottom: 1px #CCCCCC solid;
}
.post .entry-header { }
.post .entry-header .entry-title {
	font-size: 1.5em;
	line-height: 1em;
	color: #0244AC;
	font-weight: normal;
	line-height: 1.5em;
}
.post .entry-header .entry-title.border-bottom {
	background-image: url(img/bg_line.gif);
	background-repeat: repeat-x;
	background-position: left bottom;
	padding: 0 0 10px 0;
	margin-bottom: 10px;
}
.post .entry-header a {
	color: #0244AC;
	text-decoration: none;
	display: block;
}
.post .entry-header a:hover { color: #C60; }
.post .entry-header .below-title-meta {
	text-align: right;
	padding: 5px;
	background-color: #F0F0F0;
}
.post .entry-header .below-title-meta a {
	display: inline;
	padding-left: 5px;
}
.post .entry-header .below-title-meta a:hover { text-decoration: underline; }
.post .entry-summary p {
	margin: 0 0 1em;
	line-height: 1.75em;
}
.post .entry-summary .alignleft {
	padding: 5px;
	background-color: #FFF;
	margin: 0.375em 1.75em 0.375em 0;
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
	box-shadow: 1px 1px 2px rgba(0,0,0,0.4);
	-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=1,OffY=1,Color=#66000000,Positive=true)";
 filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=1, Color=#66000000, Positive=true);
}
.post .entry-summary .read-more { }
.post .entry-summary .read-more a {
	font-size: 12px;
	line-height: 12px;
	color: #FFF;
	text-decoration: none;
	background-color: #0244AC;
	display: inline-block;
	padding: 10px 30px;
	border-radius: 5px;
}
.post .entry-summary .read-more a:hover { background-color: #0364F5; }
.entry-meta a {
	text-decoration: none;
	color: #0244AC;
}
.entry-content {
	line-height: 1.75em;
	padding: 10px 0;
}
.entry-content p { padding-bottom: 1em; }

/*blog-lanking*/
.blog-lanking{ background-color:#F0F0F0; padding:10px; border:1px solid #CCC;}
.blog-lanking img{ padding-top:5px;}


/*nav：previous・next*/
.nav-single { padding: 10px; }
.nav-single a {
	text-decoration: none;
	color: #0244AC;
	display: block;
}






@media screen and (max-width: 420px) {
.nav-single .alignleft {float: left; }
.nav-single .alignright {float: right;}
}


/*archive*/
.archive-header {
	padding: 8px 5px;
	background-color: #D0E8FF;
	border: #9CF 3px solid;
	border-radius: 5px;
}
.archive-header h1 {
	font-size: 1.2em;
	line-height: 1em;
	font-weight: normal;
	text-align: center;
}





/*sidebar*/
#secondary {
	float: right;
	margin: 30px 0;
	padding: 0;
	width: 27%;
}
#secondary .widget {
	border-bottom: 1px #CCCCCC dotted;
	padding: 15px 10px;
	font-size: 0.9em;
	line-height: 1.75em;
}
#secondary .widget:last-child { border-bottom: none; }
#secondary .widget h3 {
	padding-bottom: 10px;
	font-size: 1.2em;
}
#secondary .widget ul {
	padding-left: 20px;
	list-style-type: disc;
}
#secondary .widget ul a {
	text-decoration: none;
	color: #0244AC;
}



@media screen and (max-width: 768px) {
.site-main,#secondary {
	float: none;
	width: 100%;
}
.entry-content img {
	 max-width: 100%;
	 height:auto;
}
#secondary .widget h3 {
	background-color:#F0F0F0;
	line-height:1em;
	padding:5px;
	font-weight:normal;
	margin-bottom:10px;
}
}

@media screen and (max-width: 768px) {
.post .entry-summary .alignleft {
	margin: 0 auto 1em;
	text-align:center;
}
.post .entry-summary .read-more a {
	width:100%;
	text-align:center;
}
.post .entry-header .below-title-meta {
	font-size:0.8em;
	text-align: left;
}
}

/*footer*/
.pagetop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
}
.pagetop a {
	display: block;
	text-align: center;
	text-decoration: none;
	background-image: url(img/bt_pagetop.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 97px;
	width: 97px;
	text-indent: -9999px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.pagetop a:hover { opacity: 0.7; }
footer[role="contentinfo"] {
	color: #FFF;
	font-size: 15px;
	line-height: 15px;
	background-image: url(img/bg_footer.png);
	background-position: center top;
	background-repeat: no-repeat;
	text-align: center;
	height: 100px;
	clear: both;
	display: list-item;
	padding-top: 30px;
	margin-top: 25px;
}
/*アーカイブ調整*/
.widget_archive a.year{
  cursor: pointer;
  text-decoration: underline;
}
 
.widget_archive .years ul {
  -webkit-transition: .3s ease;
  transition: .3s ease;
  margin: 0;
  margin-bottom: 1em;
}
 
#sidebar .widget_archive ul.years li{
  margin-bottom: 0;
}
 
.widget_archive ul.years .hide {
  margin: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}
@media screen and (max-width: 1040px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 420px) {}
