@charset "UTF-8";

/*==========================================
 全デバイス共通［common］
===========================================*/
/*footerを下部に固定*/
body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
footer {
	margin-top: auto;
}
#footer{
	margin:0;
}
/*==========================================
 PC［1001px~］
===========================================*/
/*------------
 breadcrumb
------------*/
.breadcrumb {
	width: min(95%,1000px);
	margin: 20px auto;
	display: flex;
	overflow-x: auto;
	white-space: nowrap;
}
.breadcrumb li {
  margin: 0;
  padding: 0;
}
.breadcrumb li:after {
  content: '＞';
  padding: 0 7px;
  font-size:1.1rem;
	color: #767676;
	font-weight: bold;
}
.breadcrumb li:last-child:after {
  content: none;
}
.breadcrumb li:before {
  content: none;
}
.breadcrumb li,
.breadcrumb a {
  font-size: 1.1rem;
}
.breadcrumb li a{
	color: #767676;
}
.breadcrumb li a:hover{
	opacity: .7;
}
.breadcrumb li:first-child a:before{
	content: url("../images/icon-breadcrumb.svg");
	display: inline-block;
	width: 25px;
	height: 25px;
	padding:0 5px;
}
.breadcrumb li:last-child a {
	pointer-events: none;
	color: var(--text-color);
}
#breadcrumb-sp{
	display: none;
}
/*------------
 h1見出しタイトルエリア
------------*/
#ttl_area{
	margin: 50px auto 0;
	width: min(80%,800px);
}
#ttl_area h1{
	font-size: 2.8rem;
}
/*投稿コンテンツ*/
#ttl_area.type-post{
	margin: 0 auto ;
	width: min(80%,1000px);
}
#ttl_area.type-post h1{
	margin: 0;
	padding: 9px 1em;
	font-size: 4rem;
	line-height: 1.25;
	border-radius: 40px;
	text-align: center;
	color: #fff;
	background: var(--main-color);
	font-feature-settings: "palt";
	letter-spacing: .05em;
}
/*------------
 本文見出し
------------*/
#contentArea h2{
	margin: 50px auto 40px; 
	padding: 5px 20px;
	font-size: 2.8rem;
	line-height: 1.25;
	font-feature-settings: "palt";
	color: inherit;
	background: var(--bg-color);
	border-radius: 0;
	text-align: left;
}
#contentArea h2:first-child{
	margin-top: 0;
}
#contentArea h3{
	margin: 30px auto 18px;
	font-size: 2.2rem;
	line-height: 1.5;
	font-feature-settings: "palt";
}
#contentArea h4{
	margin: 20px auto;
	padding: 10px 0 ;
	font-size: 1.8rem;
	line-height: 1.5;
	position: relative;
  font-feature-settings: "palt";
}
#contentArea h4:before {
	content: '';
	width: 20px;
	height: 2px;
	background: var(--main-color);
	position: absolute;
	bottom: -2px;
	left: 0;
}
#contentArea h5{
	margin: 15px auto;
	background: var(--bg-color);
	padding: 5px;
	font-size: 1.6rem;
	line-height: 1.5;
  font-feature-settings: "palt";
}
/*------------
 コンテンツエリア
------------*/
#contentArea {
	margin: 35px auto 80px;
	width: min(90%,1000px);
}
#contentArea.type-page {
	width: min(80%,800px);
}
main p{
	margin-bottom: 20px;
    text-align: justify;
	font-size: 1.6rem;
	line-height: 1.8;
}
/*コンテンツ内アンカー*/
.anchorArea{
	margin-bottom: 5%;
	justify-content: space-between;
	position: relative;
}
.anchorArea:before,
.anchorArea:after{
    content: "";
    display: block;
	width: calc(25% - 20px);
    height: 0;
}
.anchorArea:before{
    order: 1;  /* 疑似要素beforeの順番を必ず指定する*/
}
.anchorArea a{
	margin: 10px 0;
	padding: 10px 30px 10px 10px;
	width: calc(25% - 20px);
	display: flex;
	align-items: center;
	background: var(--sub-color);
	color: var(--text-color)!important;
    text-align: initial;
	font-size: 1.4rem;
	text-decoration: none!important;
	position: relative;
}
.anchorArea a:before {
	content: '';
	width: 10px;
    height: 10px;
    border-top: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    transform: rotate(135deg);
	border-color:var(--main-color);
	position: absolute;
	right: 15px;
}
.anchorArea a:hover {
	animation:none;
	opacity: .7;
}
p.has-background {
  padding: 10px;
}
/*------------
 リンク
------------*/
#contentArea a:not([href*="tel:"]){
	text-decoration: underline;
}
#contentArea .wp-block-button a.wp-block-button__link,
#contentArea .wp-block-file a.wp-block-file__button{
	text-decoration: none;
}
#contentArea a.btm{
	text-decoration: none;
	color: var(--text-color)!important;
}
#contentArea a{
	color: var(--main-color);
}
#contentArea a[href*="tel:"]{
  color: var(--text-color);
}
#contentArea a:visited {
  color: #74325c;
}
#contentArea a.btm:hover,
#contentArea a.wp-block-file__button{
	color: #fff!important;
}
/*------------
 リンクのアイコン
------------*/
#contentArea a:not(.btm)[href$=".pptx"]:after,
#contentArea a:not(.btm)[href$=".ppt"]:after,
#contentArea a:not(.btm)[href$=".pdf"]:after,
#contentArea a:not(.btm)[href$=".doc"]:after,
#contentArea a:not(.btm)[href$=".docx"]:after,
#contentArea a:not(.btm)[href$=".xls"]:after,
#contentArea a:not(.btm)[href$=".xlsm"]:after,
#contentArea a:not(.btm)[href$=".xlsx"]:after,
#contentArea a:not(.btm)[href^="https://"][target="_blank"]:after,
#contentArea a:not(.btm)[href^="http://"][target="_blank"]:after{
display: inline-block;
width: 25px;
height: 25px;
padding:0 5px;
}
#contentArea a:not(.btm)[href$=".pdf"]:after{
content: url("../images/icon-pdf.svg");
}
#contentArea a:not(.btm)[href$=".doc"]:after,
#contentArea a:not(.btm)[href$=".docx"]:after{
content: url("../images/icon-word.svg");
}
#contentArea a:not(.btm)[href$=".xls"]:after,
#contentArea a:not(.btm)[href$=".xlsm"]:after,
#contentArea a:not(.btm)[href$=".xlsx"]:after{
content: url("../images/icon-excel.svg");
}
#contentArea a:not(.btm)[href$=".pptx"]:after,
#contentArea a:not(.btm)[href$=".ppt"]:after{
content: url("../images/icon-ppt.svg");
}
#contentArea a:not(.btm)[href^="https://"][target="_blank"]:after,
#contentArea a:not(.btm)[href^="http://"][target="_blank"]:after{
content: url("../images/icon-blank.svg");
width: 25px;
height: 25px;
}
#contentArea .wp-block-image a[href^="https://"][target="_blank"]:after,
#contentArea .wp-block-image a[href^="http://"][target="_blank"]:after{
	content: none!important;
}
#contentArea .news a[href$=".pptx"]:after,
#contentArea .news a[href$=".ppt"]:after,
#contentArea .news a[href$=".pdf"]:after,
#contentArea .news a[href$=".doc"]:after,
#contentArea .news a[href$=".docx"]:after,
#contentArea .news a[href$=".xls"]:after,
#contentArea .news a[href$=".xlsm"]:after,
#contentArea .news a[href$=".xlsx"]:after,
#contentArea .news a[target="_blank"]:after,
#contentArea .news a[target="_blank"]:after{
position: absolute!important;
right: 0!important;
bottom: 20px!important;
}
/*------------
 dlのスタイル
------------*/
#contentArea dl {
	margin: 0 auto 30px;
  font-size: 1.6rem;
  line-height: 1.5;
	display: flex;
	flex-wrap: wrap;
}
#contentArea dl dt {
	padding: 10px 10px 10px 0;
	width: 65px;
	font-weight: bold;
  border-bottom: solid 1px #ddd;
}
#contentArea dl dd {
	padding: 10px 0 10px 20px;
	width: calc(100% - 85px);
	border-bottom: solid 1px #ddd;
	word-break: break-all;
}
/*------------
 ulのスタイル
------------*/
#contentArea ul{
  font-size: 1.6rem;
  line-height: 1.75;
}
#contentArea ul li{
	padding: 0 0 5px 20px;
	position: relative;
}
#contentArea ul li:before {
  content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--main-color);
	position: absolute;
	top:12px;
	left: 0;
}
/*リストの丸の削除*/
#contentArea .serachList li:before,
#contentArea .prefecture li:before,
#contentArea .single-navigation li:before,
#contentArea ul.page-numbers li:before,
#contentArea .news li:before,
#news_contents ul li.blocks-gallery-item:before{
	content: none;
} 
/*------------
 olのスタイル
------------*/
ol {
	margin: 10px 0 20px;
  counter-reset: count 0;
  font-size: 1.6rem;
  line-height: 1.6;
}
ol li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}
ol li:last-child {
  margin-bottom: 0;
}
ol > li:before {
  content: counter(count) ". ";
  counter-increment: count 1;
  font-weight: bold;
  color: var(--main-color);
  position: absolute;
  left: 5px;
}
/*------------
 imgのスタイル
------------*/
.blocks-gallery-grid, .wp-block-gallery{
	justify-content: center;
}
/*------------
 テーブルのスタイル
------------*/
table {
  margin: 10px 0;
  width: 100%;
  font-size: 1.6rem;
  line-height: 1.8;
	border-top: solid 1px #aaa;
}
th {
	width: 30%;
	padding: 15px 15px 15px 0;
	border-bottom: solid 1px #aaa;
	font-size: 1.6rem;
	font-weight: normal;
	text-align: left;
}
td {
	padding: 15px;
	border-bottom: solid 1px #aaa;
	vertical-align: middle;
}
/*tr:last-child th
tr:last-child td {
	border-bottom: none;
}*/
table p:last-child{
	margin-bottom: 0;
}
/*--------
　テキストのスタイル関連
---------*/
.indent {
	padding-left: 1.5rem;
	text-indent: -1.5rem;
}
/*地色*/
.bg_color {
  margin: 20px 0;
  padding: 3% 5%;
  background: var(--sub-color);
}
.bg_color.color-wh {
  background: #fff;
}
.bg_color p:last-child,.ul:last-child{
	margin-bottom: 0;
}
#contentArea .bg_color h2:nth-of-type(1),
#contentArea .bg_color h3:nth-of-type(1),
#contentArea .bg_color h4:nth-of-type(1),
#contentArea .bg_color h5:nth-of-type(1){
  margin-top: 0;
}
.wp-block-file .wp-block-file__button{
	background: var(--main-color);
}
.wp-block-group {
    padding: 1em;
}
/*------------
 お知らせ一覧
------------*/
/*お知らせのリスト*/
.news,.event,.single-hbn{
	padding: 35px 100px 50px;
	text-align: left;
	border-radius: 30px;
	border: 3px solid var(--main-color);
}
#contentArea .news li{
	padding: 20px 30px;
	border-bottom: solid 1px var(--text-color);
}
#contentArea .event li:first-child,
#contentArea .news li:first-child{
	padding-top: 0;
}
#contentArea .news a{
	color: var(--text-color);
	text-decoration: none;
}
#contentArea .news a:hover p{
	text-decoration: underline;
	color: var(--main-color);
}
#contentArea .single-hbn .category,
#contentArea .news .category{
	padding: 5px 10px;
	height: 32px;
	width: 110px;
	display: block;
	text-align: center;
	background-color: var(--main-color);
	color: #fff;
	font-size: 1.6rem;
	line-height: 1.35;
	font-weight: bolder;
}
#contentArea .single-hbn .category.liaison,
#contentArea .news .category.liaison{
	color: var(--main-color);
	background: var(--sub-color);
}
#contentArea .single-hbn .category.secretariat,
#contentArea .news .category.secretariat{
	color: var(--main-color);
	background: #fff;
	border: solid 1px var(--main-color);
}
#contentArea .news .days{
	margin: 10px 15px 10px 0;
	display: inline-block;
}
#contentArea .new {
padding: 1px 5px;
line-height: 1.5;
font-size: 1.2rem;
background: var(--main-color);
color: #fff;
display: inline-block;
height: 20px;
margin-right: 5px;
position: relative;
top: -2px;
}
#contentArea .news .data{
	margin: 0;
	font-size: 2rem;
	line-height: 1.5;
}
/*------------
event
------------*/
#contentArea .event > ul > li{
	padding: 20px 30px;
	border-bottom: solid 1px var(--text-color);
	font-size: 2rem;
}
#contentArea .event a{
	color: var(--text-color);
	text-decoration: none;

}
#contentArea .event a:hover p{
	text-decoration: underline;
	color: var(--main-color);
}
.prefecture{
	margin-bottom: 10px;
	font-size: 1.6rem;
	justify-content: flex-start;
}
#contentArea .prefecture li{
	width: 80px;
	margin:0 20px 10px 0;
	padding: 0!important;
	background: var(--main-color);
	color: #fff;
	text-align: center;
	border-radius: 15px;
	border: none!important;
}
#contentArea .prefecture li.aomori{
	background: var(--aomori-color);
}
#contentArea .prefecture li.iwate{
	background: var(--iwate-color);
}
#contentArea .prefecture li.akita{
	background: var(--akita-color);
}
#contentArea .prefecture li.miyagi{
	background: var(--miyagi-color);
}
#contentArea .prefecture li.yamagata{
	background: var(--yamagata-color);
}
#contentArea .prefecture li.fukushima{
	background: var(--fukushima-color);
}
.event .days{
	margin: 10px 15px 10px 0;
	display: inline-block;
}
.event .data{
	line-height: 1.25;
}
/*--ページャー--*/
.bottom-links,
.pagination {
	margin: 40px 0 0;
	text-align: center;
}
.nav-links{
position: relative;
width: 100%;
display: flex;
justify-content: center;
}
.page-numbers {
  display: flex;
  justify-content: center;
	margin: 0 5px;
	position: relative;
}
#contentArea .pagination li{
	padding: 0!important;
	border-bottom: none!important;
}
#contentArea .pagination a,
.pagination span {
  height: 35px;
  width: 35px;
  font-size: 9pt;
  line-height: 35px;
  text-align: center;
  letter-spacing: 0;
  display: inline-block;
	border: solid 1px var(--text-color);
  transition: .3s;
  text-decoration: none;
 color: var(--text-color);
}
#contentArea .pagination a:hover {
	background: var(--sub-color)!important;
}
#contentArea .pagination .current {
	background: var(--main-color);
	color: #fff;
}
#contentArea .pagination .current:hover{
	color: var(--text-color)!important;
	background: var(--sub-color)!important;
}
.page-numbers img{
	margin: 0 auto;
	width: 15px;
	height: 15px;
	position: absolute;
	top: 10px;
	right: 0;
	left: 0;
	display: block;
}
.prev.page-numbers{
	transform: rotate(-180deg);
}
.prev.page-numbers img{
	top: 8px;
}
/*------------
 お知らせ詳細
------------*/
.note{
	justify-content: flex-start;
}
#news_contents .category{
	margin-right: 20px;
  padding: 0 10px;
  position: relative;
	display: inline;	
}
.news-days{
	display: block;
}
.single-event .news-days{
	margin: 30px 0 0;
}
.news-days span{
margin: 0 10px 0 0;
background: var(--main-color);
font-size: 1.2rem;
color: #fff;
padding: 5px;
}
#contentArea h2.content-ttl-h2{
	margin: 30px 0 25px;
	padding: 0;
	text-align: left;
	font-size: 2.8rem;
	color: var(--text-color);
	background-color: inherit;
}

#news_contents p:last-child{
		clear: both;
}
/*次のページへ*/
.single-navigation{
	margin: 40px auto;
	width: 140px;
	position: relative;
}
.single-navigation::after{
	margin: 0 auto;
	content: '';
	width: 1px;
	height: 100%;
	background: var(--text-color);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}
.single-navigation li{
	width: 40px;
	height: 40px;
}
.single-navigation a{
	padding: 10px;
	display: flex;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	border: solid 1px #111;
}
.single-navigation .prev a{
	transform: rotate(-180deg);
}
.single-navigation a:hover{
	opacity: .3;
}
.single-hbn .btm{
	margin: 0 auto;
	padding: 3px 5px 3px 30px;
	width: min(90%,260px);
	border-radius: 0;
	position: relative;
}
.single-hbn .btm:before{
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	width: 20px;
	height: 20px;
	background-image: url("../images/icon-nav-arrow.svg");
	background-repeat: no-repeat;
	transform: rotate(-180deg);
}
#contentArea .single-hbn .btm:hover{
	color: var(--text-color)!important;
	background: var(--sub-color);
}
/*リード*/
main .hbn-read{
	margin-bottom: 40px;
	font-size: 1.8rem;
}
/*------------
 道の駅を探す
------------*/
#contentArea .serachList li{
	padding: 35px 0 65px;
	border-bottom: solid 1px #111;
}
#contentArea .serachList li:first-child{
	padding-top: 0;
}
#contentArea .serachList h2{
	margin: 0 0 35px;
	padding: 0;
	background-color: inherit;
}
#contentArea .serachList .text_red{
	width: calc(100% - 325px);
	display: inline-block;
	margin-left: auto;
	font-weight: bold;
}

#contentArea .serachList img{
	width: min(100%,300px);
	height: 200px;
	object-fit: cover;
}
.serachList .flex > div{
	width: calc(100% - 335px);
}
.serachList dd.flex{
	flex-direction: column;	
}
#contentArea .serachList .map{
	margin: 10px 20px 0 ;
	padding: 0 10px;
	width: 65px;
	font-size: 1.6rem;
	color: #fff;
	background: #DD4336;
	text-decoration: none;
	border-radius: 5px;
	text-align: center;
	align-self: end;
}
#contentArea .serachList .map:after{
	content: none!important;
}

#contentArea .serachList dt span{
	padding: 0 5px;
	width: 65px;
	display: inline-block;
	text-align: center;
	background: #FFD495;
	font-weight: normal;
}
/*------------
 サイト内検索
------------*/
.search #contentArea .searchArea h2{
	background: inherit;
	margin: 0 0 1em;
	padding: 0;
}
.searchArea .search_container input[type="text"]{
	width: 100%;
}
.search #contentArea .news a{
	display: block;
}
/*==========================================
 tb［481px-1000px以下］
===========================================*/
@media screen and (max-width: 1000px) {
	/*------------
	 breadcrumb
	------------*/
	.breadcrumb {
		width: 90%;
		margin: 20px;
		white-space: revert;
		display: inline-block;
	}
	.breadcrumb li{
		display: inline;
	}
	/*------------
	 h1見出しタイトルエリア
	------------*/
	#ttl_area.type-post{
		margin: 0 auto;
	}
	/*------------
	 コンテンツエリア
	------------*/
	#contentArea {
		margin: 50px auto;
	}
	/*コンテンツ内アンカー*/
	.anchorArea{
		justify-content: space-between;
	}
	.anchorArea:before,
	.anchorArea:after{
		width: 48%;
	}
	.anchorArea a {
    	width: 48%;
	}
	/*------------
	 お知らせリスト
	------------*/
	.news,.event,.single-hbn{
	padding: 35px 5% 40px;
	}
	#contentArea .news li,#contentArea .event > ul > li {
	padding: 20px 10px;
	}
	/*------------
	 道の駅を探す
	------------*/
	.serachList li .flex:first-child{
		flex-direction: column;
	}
	#contentArea .serachList .text_red{
	width: auto;
	}
	#contentArea .serachList h2{
		font-size: 2.6rem;
	}
	#contentArea .serachList h2,#contentArea .serachList .text_red{
		margin: 0 0 10px;
	}
	#contentArea .serachList img{
		width: 30%;
		height: auto;
		object-fit: contain;
		object-position: top;
	}
	.serachList .flex > div{
		width: 65%;
	}
}

/*==========================================
 sp［480px以下］
===========================================*/
@media screen and (max-width: 480px) {
	#contentArea a[href*="tel:"]{
		color: var(--main-color);
		text-decoration: underline;
	}
	/*------------
	 breadcrumb
	------------*/
	#breadcrumb{
		display: none;
	}
	
	#breadcrumb-sp{
		text-align: center;
		display: block;
	}
	.breadcrumb {
		margin: 20px auto;
	}
	.breadcrumb li:after {
		padding: 0 5px;
	  }
	.breadcrumb a,
	.breadcrumb li{
		font-size: 1.3rem;
	}
	/*------------
	 h1見出しタイトルエリア
	------------*/
	#ttl_area{
		height:auto;
		position: relative
	}
	#ttl_area.type-post{
	  margin: 30px auto 10px;
	}
	#ttl_area.type-post h1{
		padding: 5px 10px;
		font-size: 2rem;
	}
	#ttl_area.type-page {
	  margin: 10px auto ;
	}
	#ttl_area.type-page h1{
		font-size: 2rem;
	}
	/*------------
	 本文見出し
	------------*/
	#contentArea h2{
		margin: 30px auto 20px;
		padding: 5px 10px;
		font-size: 2rem;
	}
	#contentArea h3{
		margin: 30px auto 20px;
		font-size: 1.6rem;
	}
	/*------------
	 コンテンツエリア
	------------*/
	#contentArea{
		margin: 20px auto 80px;
		width: 80%;
	}
	main p{
		font-size: 1.6rem;
	}
	/*コンテンツ内アンカー*/
	.anchorArea {
		margin-bottom: 15%;
	}
	/*------------
	 dlのスタイル
	------------*/
	#contentArea dl dt {
		padding: 10px 0;
		width: 100%;
		border: none;
	}
	#contentArea dl dd {
		padding: 0 0 10px;
		width: 100%;
	}
	/*------------
	 テーブルのスタイル
	------------*/
	th,td{
		padding: 10px 0;
		width: 100%;
		display: block;
	    word-break: break-all;
	}
	th{
		padding-bottom: 0;
		border: none;
	}
	td{
		padding-top: 5px;
	}
	/*------------
	 お知らせ一覧　
	------------*/
	.news, .event,.single-hbn{
		padding: 0;
		border: none;
	}
	#contentArea .news li,#contentArea .event >ul > li{
	padding: 20px 0;
	}
	#contentArea .news li:first-child{
		padding-top: 0;
	}
	#contentArea .single-hbn .category,
	#contentArea .news .category{
		margin-right: 1em;
		padding: 5px;
		height: 25px;
		width: 60px;
		font-size: 1.4rem;
		line-height: 1;
		display: inline-block;
	}
	#contentArea .news .data{
		font-size: 1.6rem;
	}
	/*------------
	event
	------------*/
	.prefecture{
	margin-bottom: 0;
	}
	#contentArea .prefecture li{
	width: 60px;
	margin:0 10px 10px 0;
		font-size: 1.4rem;
	font-weight: bold;

	}
	.event .days{
	margin: 10px 15px 10px 0;
	display: inline-block;
	}
	.news-days,
	.event .data,
	.event .days{
	font-size: 1.6rem;
	line-height: 1.5;
	}
	.event .days{
	margin-bottom: 0;
	text-indent: -5em;
	padding-left: 5em;
	}
	/*------------
	 お知らせ詳細
	------------*/
	#contentArea h2.content-ttl-h2{
		margin: 10px auto;
		font-size: 2.2rem;
	}
	.single-hbn .btm{
		width: 205px;
	}
	.single-hbn .btm::before {
		top: 5px;
	}
	/*イベント詳細*/
	main .hbn-read{
		margin-bottom: 20px;
		padding-bottom: 10px;
		font-size: 1.4rem;
		border-bottom: solid 1px #111;
	}
	/*------------
	 道の駅を探す
	------------*/
	#contentArea .serachList .text_red {
	  margin: 0 0 15px;
	}
	#contentArea .serachList img,.serachList .flex > div{
		width: 100%;
	}
	#contentArea .serachList li{
		padding: 30px 0;
	}
	#contentArea .serachList dt {
		width: 65px;
		border-bottom: solid 1px #ddd;
	}
	#contentArea .serachList dd {
	    padding: 10px 0 10px 15px;
   		 width: calc(100% - 65px);
	}
	#contentArea .serachList .map{
		margin: 10px 0 0 ;
	}
	#contentArea .btm-blank.color-wh{
		margin-bottom: 0;	
	}
}