@charset "utf-8";

/* =====================================================================

	page common
	
======================================================================== */

/* background =============================================================== */


	@media print, screen and (min-width: 768px) {
		.l-pageBase {
			background: url(../img/common/bg_pageBase.jpg) repeat-x top center;
			}
		.l-page {
			background: url(../img/common/bg_page.png) no-repeat center -50px;
			}
		.l-pageContents {
			padding-bottom: 165px;
			margin-bottom: 75px;
			position: relative;
			z-index: 2;
			}
	}
	@media (max-width: 767px) {
		.l-pageBase {
			background: url(../img/common/bg_pageBase-sp.jpg) no-repeat top center;
			background-size: 100% auto;
			}
	}



/* breadcrumbs =============================================================== */

	.breadcrumbs {
		font-size: 1.2rem;
		line-height: 1.6;
		}
	@media print, screen and (min-width: 768px) {
		.breadcrumbs {
			padding: 10px 0 40px 0;
			}
	}
	@media (max-width: 767px) {
		.breadcrumbs {
			padding: 10px 0 15px 0;
			}
	}




/* =====================================================================

	町民のみなさま（choumin）
	
======================================================================== */

	.p-chouminList {
		list-style: none;
		margin: 0;
		padding: 0;
		}
	.p-chouminList li {
		display: inline-block;
		margin-bottom: 10px !important;
		}
	.p-chouminList li a {
		display: inline-block;
		width: 100%;
		background-color: #fff;
		color: #333;
		text-decoration: none;
		box-sizing: border-box;
		font-size: 1.5rem;
		padding: 10px 5px 10px 40px;
		-webkit-border-radius: 6px;
			 -moz-border-radius: 6px;
						border-radius: 6px;
				-ms-border-radius: 6px;
		}
		.p-chouminList li a {
			border: #f8c2cc solid 1px;
			}
		.p-chouminList li a:hover {
			text-decoration: underline;
			}


	/* icon */	
	.p-life01 a {
		background: #fff url(../img/side/icon_life01.gif) no-repeat 10px 10px;
		}
	.p-life02 a {
		background: #fff url(../img/side/icon_life02.gif) no-repeat 10px 10px;
		}
	.p-life03 a {
		background: #fff url(../img/side/icon_life03.gif) no-repeat 10px 10px;
		}
	.p-life04 a {
		background: #fff url(../img/side/icon_life04.gif) no-repeat 10px 10px;
		}
	.p-life05 a {
		background: #fff url(../img/side/icon_life05.gif) no-repeat 10px 10px;
		}
	.p-life06 a {
		background: #fff url(../img/side/icon_life06.gif) no-repeat 10px 10px;
		}
	.p-life07 a {
		background: #fff url(../img/side/icon_life07.gif) no-repeat 10px 10px;
		}
	.p-life08 a {
		background: #fff url(../img/side/icon_life08.gif) no-repeat 10px 10px;
		}
	.p-life09 a {
		background: #fff url(../img/side/icon_life09.gif) no-repeat 10px 10px;
		}
	.p-life10 a {
		background: #fff url(../img/side/icon_life10.gif) no-repeat 10px 10px;
		}
	.p-life11 a {
		background: #fff url(../img/side/icon_life11.gif) no-repeat 10px 8px;
		}
	.p-life12 a {
		background: #fff url(../img/side/icon_life12.gif) no-repeat 10px 8px;
		}

	.p-purpose01 a {
		background: #fff url(../img/side/icon_purpose01.gif) no-repeat 10px 10px;
		}
	.p-purpose02 a {
		background: #fff url(../img/side/icon_purpose02.gif) no-repeat 10px 10px;
		}
	.p-purpose03 a {
		background: #fff url(../img/side/icon_purpose03.gif) no-repeat 10px 10px;
		}
	.p-purpose04 a {
		background: #fff url(../img/side/icon_purpose04.gif) no-repeat 10px 10px;
		}
	.p-purpose05 a {
		background: #fff url(../img/side/icon_purpose05.gif) no-repeat 10px 10px;
		}
	.p-purpose06 a {
		background: #fff url(../img/side/icon_purpose06.gif) no-repeat 10px 10px;
		}




/* =====================================================================

	行政情報（gyousei）
	
======================================================================== */

/* 広報かわづ（kouhou） =============================================================== */

	@media print, screen and (min-width: 768px) {
		.p-kouhouFirst > figure {
			max-width: 230px;
			text-align: center;
			}
		.p-kouhouFirst > div {
			width: 400px;
			}
		.p-kouhouFirst img {
			width:100%; /*IE11*/
		}
	}
	@media (max-width: 767px) {
		.p-kouhouFirst > figure {
			max-width: 230px;
			width: 60%
			}
		.p-kouhouFirst > div {
			width: 100%;
			}
	}



/* 河津町議会（gikai） =============================================================== */

	/* tab */
	.p-gikai .tabs {
		display: block;
		overflow: hidden;
		clear: both;
		list-style: none;
		}
	.p-gikai .tabs li {
		float: left;
		text-align: center;
		width: 190px;
		height: 50px;
		line-height: 50px;
		margin-left: 3px;
		margin-right: 3px;
		}
	.p-gikai .tabs li a {
		display: inline-block;
		text-decoration: none;
		width: 100%;
		height: 100%;
		font-size: 1.8rem;
		font-weight: bold;
		box-sizing:  border-box;
		}
		@media (max-width: 767px) {
			.p-gikai .tabs li {
				height: 36px;
				line-height: 36px;
				margin-left: 1%;
				margin-right: 1%;
				}
			.p-gikai .tabs li a {
				font-size: 1.6rem;
				}
			.p-gikai .tabs li {
				width: 48%;
				}	
		}



	/* tab color */
	.p-gikai .tabs li a,
	.p-gikai .tabs li.active a,
	.p-gikai .tabs a:hover {
		-webkit-border-radius: 6px 6px 0 0;
			 -moz-border-radius: 6px 6px 0 0;
						border-radius: 6px 6px 0 0;
				-ms-border-radius: 6px 6px 0 0;
		}
		.p-gikai .p-tab a {
			color: #666;
			background: #F2F2F2;
			border-top: #f2f2f2 solid 2px;
			border-left: #f2f2f2 solid 2px;
			border-right: #f2f2f2 solid 2px;
			}
			.p-gikai .p-tab a:hover {
				border-top: #b473b3 solid 2px;
				border-left: #b473b3 solid 2px;
				border-right: #b473b3 solid 2px;
				}
			.p-tab.active a {
				background: #b473b3;
				color: #fff;
				border-top: #b473b3 solid 2px;
				border-left: #b473b3 solid 2px;
				border-right: #b473b3 solid 2px;
				}


	/* tab_content */

	.tab_content{
		border-top: #b473b3 solid 3px;
		padding: 20px 0 0 0;
		}

	





/* =====================================================================

	ニュース（投稿）
	
======================================================================== */
		/*記事1件分*/
		.p-post {
			padding-bottom: 3.2rem;
			}

		.p-post-meta {
			padding: 0 0 10px 0;
			margin-top: 10px;
			text-align: right;
			}
			.p-post-meta span {
				display: inline-block;
				margin-right: .4rem;
				}
			
		.p-post-body {
			padding-top: 1.6rem;
			}
		.p-post-body p+p {
			margin-top: 10px;
			}
		


		/*	アーカイブ一覧ページ／カテゴリ一覧ページ
		===================================================== */		
		.p-entry-body {
			line-height: 1.8;
			padding-left: 10px;
			padding-right: 10px;
			}
		.p-entry-body p+p {
			margin-top: 10px;
			}
			.p-entry-body a {
				text-decoration: underline;
				}
				
		@media print, screen and (min-width: 768px) {
			/*TB,PC*/		
			
			.p-widget .c-section-tit {
				font-size: 100%;
				}
	
			/*	アーカイブ一覧ページ／カテゴリ一覧ページ
			===================================================== */
			.p-entries {
				margin-bottom: 50px;
				}
			.c-entries {
				padding-bottom: 30px;
				margin-bottom: 3.2rem;
				border-bottom: dotted 1px #CCCCCC;
				}
		}
		
		@media screen and (max-width: 767px) {
			/*SP*/
			
			/*	アーカイブ一覧ページ／カテゴリ一覧ページ
			===================================================== */
			.p-entries {
				padding-bottom: 1.2rem;
				}
			.c-entries {
				padding-bottom: 4.2rem;
				margin-bottom: 3.2rem;
				border-bottom: solid 1px #E4E4E4;
				}
		}
	
		/*	次の記事へ／前の記事へ
		===================================================== */		
			.c-pager-items a {
				display: block;
				padding: 1rem 1.8rem 1rem;
				border: solid 1px #cc3366;
				box-sizing: border-box;
				text-align: center;
				color: #cc3366;
				text-decoration: none;
				}
			.c-pager-items a:hover {
				background-color: rgba(204, 51, 102, 0.1);
				}
			.c-pager-items.previous a:before,
			.c-pager-items.next a:after {
				font-family: 'Font Awesome 5 Free';
				position: relative;
				font-weight: bold;
				top: 1px;
				color: #cc3366;
				}
			.c-pager-items.previous a:before {
				content: " \f104\f104\f104";
				margin-right: 1.0rem;
				}
			.c-pager-items.next a:after {
				content: " \f105\f105\f105";
				margin-left: 0.8rem;
				}
				
		@media print, screen and (min-width: 768px) {
			/*TB,PC*/
			.p-pager {
				padding-top: 5.0rem;
				text-align: center;
				}	
			.c-pager-items {
				display: inline-block;
				width: 200px;
				}
			.c-pager-items.previous {
				margin-left: 15%;
				}
			.c-pager-items.next {
				margin-right: 15%;
				}
				
			body.single-post .c-pager-items {
				width: 170px;
				}
			
		}

		@media screen and (max-width: 767px) {
			/*SP*/
			html.tb .c-pager-items {
				display: inline-block;
				width: 38%;
				}
			html.tb .c-pager-items.previous {
				margin-left: 10%;
				}
			html.tb .c-pager-items.next {
				margin-right: 10%;
				}			
		}

		@media screen and (max-width: 320px) {
			/*SP*/	
			.c-pager-items a {
				padding: 0.4rem 1.2rem 0.8rem;
				font-size: 1.4rem;
				}
			.c-pager-items.previous a:before {
				margin-right: 0.6rem;
				}
			.c-pager-items.next a:after {
				margin-left: 0rem;
				}
		}


	
		/*	ページ送り　※「PageNavi」プラグイン使用
		===================================================== */
		.wp-pagenavi {
			text-align: center;
			}
		.wp-pagenavi a,
		.wp-pagenavi span {
			padding: 1rem 1.5rem 1rem !important;
			background-color: #FFFFFF;
			border: solid 1px #cc3366 !important;
			color: #cc3366 !important;
			box-sizing: border-box;
			text-decoration: none !important;
			-webkit-transition: all .3s;
			transition: all .3s;
			margin: 0 0.3rem;
			}
		.wp-pagenavi a:hover {
			background-color: rgba(204, 51, 102, 0.1);
			}
		.wp-pagenavi span.current {
			background-color: #cc3366;
			border-color: #cc3366;
			color: #FFF !important;
			font-weight: bold;
			}
		.wp-pagenavi span.extend {
			border: none !important;
			padding-left: 0;
			padding-right: 0;
			}
		
		
		.page-numbers {
			padding: 1rem 1.8rem 1rem;
			background-color: #FFFFFF;
			border: solid 1px #cc3366;
			color: #cc3366 !important;
			box-sizing: border-box;
			text-decoration: none !important;
			-webkit-transition: all .3s;
			transition: all .3s;
			}
		.page-numbers:hover {
			background-color: rgba(204, 51, 102, 0.1);
			}
		.page-numbers.current {
			background-color: #cc3366;
			border-color: #cc3366;
			color: #FFF !important;
			font-weight: bold;
			opacity: 1;
			}

		@media screen and (max-width: 767px) {
			/*SP*/
			.wp-pagenavi a,
			.wp-pagenavi span {
				padding: 2px 4px!important;
				}
			.wp-pagenavi span.extend {
				padding-left: 0!important;
				padding-right: 0!important;
				}
		}
		@media screen and (max-width: 420px) {
			/*SP*/
			.wp-pagenavi {
				font-size: 13px;
				}
			.wp-pagenavi a,
			.wp-pagenavi span {
				margin: 0 0.2rem;
				}
		}
			





		/*	「記事の続きを読む」
		===================================================== */			
		.p-more {
			text-align: right;
			margin-top: 1.6rem;
			}
		.p-more a {
			color: #cc3366;
			border: solid 1px #cc3366;
			text-decoration: none;
			box-sizing: border-box;
			padding: 1rem 1.8rem 1rem;
			}
		.p-more a:hover {
			border-color: #993399;
			}
		.p-more a:after {
			content: " \f105\f105\f105";
			font-family: 'Font Awesome 5 Free';
			font-weight: bold;
			-webkit-transition: 0.5s;
			-moz-transition: 0.5s;
			-o-transition: 0.5s;
			transition: 0.5s;
			}
		.p-more a:hover:after {
			-webkit-transform: translate(4px, 0px);
			-moz-transform: translate(4px, 0px);
			-o-transform: translate(4px, 0px);
			transform: translate(4px, 0px);
			}
		@media print, screen and (min-width: 768px) {
			/*TB,PC*/
			.p-more a {
				display: inline-block;
				}
		}
		@media screen and (max-width: 767px) {
			/*SP*/
			.p-more a {
				display: block;
				text-align: center;
				}
		}





/* =====================================================================

	わたしの声（watashinopkoe）／お問合せ（contact）
	
======================================================================== */

 /* Form
=========================================================================================== */

	.p-entryForm {
		width: 100%;
		}
	span.form-controls input[type="file"],
	span.form-controls input[type="text"],
	span.form-controls textarea,
	span.form-controls select {
	  display: block;
	  width: 90%;
	  padding: 6px 12px;
	  font-size: 1.5rem;
	  line-height: 1.42857;
	  background-color: #fff;
	  background-image: none;
	  border: 1px solid #eae6d8;
	  border-radius: 2px;
	  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
			  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
		   -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
			  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
		  }

	span.form-day input[type="text"],
	span.form-year input[type="text"],
	span.form-zip input[type="text"],
	span.form-controls-half input[type="text"] {
	  display: inline-block;
	  width: 20%;
	  padding: 6px 12px;
	  font-size: 1.5rem;
	  line-height: 1.42857;
	  background-color: #fff;
	  background-image: none;
	  border: 1px solid #eae6d8;
	  border-radius: 2px;
	  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
			  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
		   -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
			  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
		  }

	span.form-day input[type="text"] {
		width: 40px;
		}
	span.form-controls textarea {
		height: auto;
		}
		 
	span.form-controls input[type="file"]{
		border: none;
		height: auto;
		  }

	span.form-radio > span {
		display:inline-block;
		}
		
	.mw_wp_form .error {
		display: inline-block !important;
		}

	.p-submitBtn input {
		display: inline !important;
		background-color: #b473b3;
		vertical-align: middle;
		border: 2px solid #b473b3;
		box-sizing: border-box;
		color: #fff;
		padding: 10px 15px;
		text-align: center;
	-webkit-border-radius: 4px;
		 -moz-border-radius: 4px;
				border-radius: 4px;
			-ms-border-radius: 4px;
		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		-ms-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
		}
	.p-submitBtn input:hover {
		background-color: #fff;
		color: #b473b3;
		}

	@media (max-width: 767px) {
		.l-page p iframe {
			width: 100% !important;
			height:315px;
			}
	}






