/*
Theme Name: akiyabankwp
Description: 伊賀流空き家バンク WP テーマ
*/

:root {
  --link_color: #630;
  --link_hover_color: #891f02;
  --base_color: #e9dfc9;

  --btn_color: #920f03;
  --btn_hover_color: #a91507;
}

/* 基本設定 */

body {
  margin: 0;
  color: #333;
  font-family: arial, sans-serif;
  line-height: 2;
  background-color: #fff;
  font-feature-settings: "palt";
  letter-spacing: 1px;
}


/* 全体にかかる設定 */

p {
  margin-bottom: 2rem;
}

img {
	max-width: 100%;
	height: auto;
}

/* ヘッダーとメインコンテンツの背景 */

header, main {
  background-color: #fff;
}

main {
  min-height: 65vh;
}


/* ロゴ */

.logo {
  width: 160px;
  padding: 1.2rem 0;
}

/* ガイドメニュー */

.guide_menu {
  font-size: 1.1rem;
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400;
	width: 720px;
	float: right;
}

.guide_menu ul {
  padding: 0;
  margin: 0;
	list-style: none;
}

.guide_menu li {
	float: left;
  padding-left: 2.25rem;
	line-height: 1.5;
}
.guide_menu li .small {
	color: #663300;
	letter-spacing: 0.05em;
}

/* ログインボタン */

.login_btn {
  padding: 0.4rem 0.6rem;
  border: 1px solid #333;
}
.login_btn:hover {
	background-color: #333;
  border: 1px solid #333;
	color: #fff;
	-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;
}

/* ヘッダーのレイアウト */
header:not(.entry-header) {
  padding: 15px 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: flex;
  margin-bottom: 15px;
}

.site_name {
  position: relative;

}

.site_name h1,
.site_name a {
  padding: 0;
  display: flex;
  align-items: center;
}

/* サイト名 */
.site_name h1 img:first-child,
.site_name a img:first-child {
  width: min(20vw, 90px);
}

.site_name h1 img:last-child,
.site_name a img:last-child {
  width: 50vw;
  margin-left: 3vw;
}

/* サブメニュー */

.sub_menu ul {
  margin: 0;
  list-style: none;
  text-align: right;
  font-size: 0;
  line-height: 0;
  display: none;

}

.sub_menu li {
  display: block;
  text-align: center;
  margin: 0;
}

.sub_menu a {
  display: block;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1;
  color: #333;
  letter-spacing: 0.05rem;
  border-bottom: 1px solid #ddd;
  background-color: #f9f6f2;
}

.sub_menu li:first-child a {
  border-top: 1px solid #ddd;
}

/* メインメニュー */

.main_menu {
  font-size: min(2vw, 1.1rem);
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 600;
  text-align: center;
  padding: 1.3rem 0;
  background-color: #f1f1f1;
  letter-spacing: 0;
}

.main_menu ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_menu li {
  display: inline-block;
  margin: 0 1rem;
  line-height: 1.4;
}

.main_menu li:last-child::after {
  display: none;
}
/* === ハンバーガーボタン =========== */
#ham_btn {
  margin: 0 -15px 0 0;
}

#ham_btn img {
  padding: 10px 0 10px 15px;
  display: block;
  width: min(13vw, 70px);
  margin-left: auto;
}

/* ハンバーガーパネル */
.sub_menu#ham_pnl ul {
  display: none;
  padding-left: 0;
  overflow: hidden;
  margin-top: 15px;
}

.sub_menu#ham_pnl ul.clicked {
  display: block;
}


.nav_area h2 {
  margin-top: 50px;
}


/* メインコンテンツ */

main {
  padding: 1rem 0;
}

/* エリア */

.blog_area {
  padding: 0;
  background-image: url(images/shiro_shikaku.gif);
  background-repeat: repeat-x;
  background-color: #f1f1f1;
}

.news_area {
  padding: 0;
  background-color: #f1f1f1;
}

.sonota_area {
  padding: 4rem 0 2rem 0;
  text-align: center;
}

.banner_area a {
  padding: 2rem 0 1rem 0;
  display: block;
  text-align: center;
}

/* 見出し */

/* 上部（ナビエリア）背景 */
.nav_area {
  background-color: #caebf9;
  padding-bottom: 100px;
}

h1 {
  text-align: center;
  font-size: 3rem;
  letter-spacing: 0.2rem;
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400;
  padding: 2rem 0 5rem 0;
}

h2 {
  margin: 2rem 0;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Shippori Mincho B1', serif;
  background-color: #300;
  border-radius: 10px;
  line-height: 1.2;
}

.top_h2 {
  margin: auto;
  padding: 5rem 0 5rem 0;
  color: #333;
  text-align: center;
  font-size: 2rem;
  font-family: 'Shippori Mincho B1', serif;
  background-color: unset;
  font-weight: 400;
	background-color: #fff;
	border-radius: 0;
}

.naka_tit {
  margin-top: 0;

}

h3 {
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 0.8rem;
  font-size: 1.4rem;
  color: #c30;
  border-left: 10px solid #c30;
}

h4 {
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  color: #060;
  font-size: 1.2rem;
  border-bottom: 1px solid #6c6;
}

.kakomi {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f8f4e6;
  border-radius: 10px;
}

/* パン屑リスト */

.breadcrumbs ol {
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline-block;
}

.breadcrumbs li::after {
  content: '>';
  padding: 0 1rem;
}

.breadcrumbs li:last-child::after {
  display: none;
}

/* テーブル */

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.3rem 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #333;
}

th {
  background-color: #f1f1f1;
  white-space: nowrap;
}

/* フッターメニュー */

.footer_menu {
  padding: 20px 0;
  text-align: center;
  background-color: #f1f1f1;
  font-size: 0.9rem;
}

.footer_menu ul {
  padding: 0;
  margin: 0;
}

.footer_menu li {
  display: inline-block;
  padding-right: 1.5rem;
}

/* フッター */

footer {
  padding: 1rem 0;
  color: #fff !important;
  font-size: 0.9rem;
  background-image: url(images/ft_bg.gif);
  background-repeat: no-repeat;
	width: 100%;
  background-color: #333;
}

footer a:link,
footer a:visited {
  color: #fff;
  text-decoration: none;
}

footer a:hover,
footer a:active {
  text-decoration: none;
}

address p {
  margin-bottom: 0rem;
}

.admin_name {
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
}

/* 検索フォーム */

/* 検索ボタン */
.btn-primary {
  background-color: var(--btn_color);
  border: var(--btn_color)1px solid;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: var(--btn_hover_color);
  border: var(--btn_hover_color) 1px solid;
}
.form_box {

  background: #306439;
  border-radius: 20px;
  padding: 10px 25px;
}

.form_group {
  width: 100%;
  display: block;
}

.form_box .form_container div:has(button[type="submit"]) {
  margin: 15px 0 10px;
  text-align: center;
}

/*=== 物件 ==========*/

.bukken_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
/* 物件画像 */
.bukken_group a.blog img {
  max-height: 30vw;
  aspect-ratio: 3 / 2;
  object-position: center;}


/* hover画像拡大 */

@media (min-width:991px) {
figure {
	overflow: hidden;
	margin: 0;
}
figure img {
	transition: .3s;
}
a:hover figure img {
	transform: scale(1.05);
}
}


/* 最大幅の制限 */

@media (min-width:750px) {

  /*=== ヘッダー ==========*/
  /* ヘッダーのレイアウト */
  header:not(.entry-header) {
    flex-direction: row;
    padding: 15px 5px 15px 15px;
    margin-bottom: 0;
  }

  /* サイト名 */
  .site_name h1 img:first-child,
  .site_name a img:first-child {
    width: 6vw;
  }

  .site_name h1 img:last-child,
  .site_name a img:last-child {
    width: 27vw;
    margin-left: 1vw;
  }

  .sp_catch {
    display: none;
  }


  /* サブメニュー */

  .sub_menu ul {
    margin: 0;
    list-style: none;
    text-align: right;
    font-size: 0;
    line-height: 0;
    display: flex;
  }


  .sub_menu li {
    display: inline-block;
    text-align: left;
    white-space: nowrap;
  }

  .sub_menu li:not(:last-child)::after {
    content: '|';
    color: rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
  }

  .sub_menu a {
    display: inline-block;
    padding: 0.5rem;
    letter-spacing: 0;
    border: none;
    background-color: transparent;
  }

  .sub_menu li:first-child a {
    border: none;
  }

   /* メインメニュー */
   .main_menu {
    display: block;
  }

  /* === ハンバーガーボタン =========== */
  #ham_btn,
  #ham_btn img,
  .sub_menu#ham_pnl ul {
    display: none;
  }

  /* 検索フォーム */
  .form_box {
    height: 100px;
    background: linear-gradient(#306439 0% 50%, #346f43 50% 100%);
  }

  .form_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr 60px;
    gap: 20px;
  }

  .form_box .form_container div:has(button[type="submit"]) {
    margin: 20px 0 0;
    text-align: center;
  }

  /*=== 物件 ==========*/
  .bukken_container {
    grid-template-columns: repeat(4, 1fr);
  }

}

@media (min-width:1025px) {
  header:not(.entry-header) {
    padding: 15px;
  }

  /* サイト名 */
  .site_name h1 img:first-child,
  .site_name a img:first-child {
    width: min(10vw, 90px);
  }

  .site_name h1 img:last-child,
  .site_name a img:last-child {
    width: min(30vw, 400px);
    margin-left: min(1.5vw, 20px);
  }

  /* 検索フォーム */
  .form_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 60px;
    gap: 25px;
  }

   /*=== 物件 ==========*/
   .bukken_container {
   gap: 20px;
  }

}

@media (min-width:991px) {
  .bukken {
    width: 960px;
    margin: 0 auto;
  }
}



@media (min-width:1500px) {
  .container-fluid {
    width: 1500px;
    margin: 0 auto;
  }
}

/* -- トップページ ----------------------------------- */


.main_img_btn figure {
  position: relative;
	margin-bottom: 1.25rem;
}

.main_img_btn p {
  position: absolute;
  margin: 0;
  padding: 0.5rem 1rem;
  background-color: #fff;
  bottom: 35px;
  right: 30px;
}

.main_img_btn p::after {
  content: '>';
  padding: 0 0 0 1rem;
  color: #630;
}

/* もっと見る */

.more_btn {
  text-align: right;
}

.more_btn a {
  color: #fff;
  display: inline-block;
  background-color: #f33;
  border-radius: 26px;
  padding: 5px 2rem;
  margin: 2rem auto;
}

/* 戻る */

.nairan_btn {
  text-align: center;
}

.nairan_btn a {
  color: #fff;
  display: inline-block;
  width: 100%;
  background-color: #c00;
  border-radius: 4px;
  padding: 0.8rem 2rem;
  margin: 2rem auto;
}

.back_btn {
  text-align: center;
}

.back_btn a {
  display: inline-block;
  border-radius: 4px;
  padding: 0.8rem 2rem;
  margin: 2rem auto;
}

/* ブログ部分 */

.blog a {
	color: #333 !important;
}

.blog .card-body {}

.blog .card-title {
	color: #630;
}
.blog:hover .card-title {
	color: #000;
}

.blog .card-subtitle {
  color: #390;
  margin-bottom: 20px;
}

.blog .card-text {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 0;
}

.bukken_kibo, .bukken_kakaku, .bukken_ctg, .bukken_comment {
  display: inline-block;
}

.bukken_ctg {
  margin: 0 0.5rem 0 0;
  padding: 0.1rem 0.5rem;
  color: #fff;
  border-radius: 4px;
}

.ctg01 {
  background-color: #396;
}

.ctg02 {
  background-color: #c60;
}

.bukken_kakaku::before {
  content: '／';
}

.news {
  border-bottom: 1px solid #fff;
  margin: 0;
  padding: 0.3rem 0;
}

.news_date {
  color: #666;
}

.form_box {
  padding: 0.5rem;
  border-radius: 10px;
  background-color: #333;
}
.form_box .col-md {
  padding: 0 0.5rem 0.5rem 0.5rem;
}

.form-group label {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 0.9rem;
}

.bukken p {

}

/* about の メニュー */

ul.bank_menu {
  padding: 0;
}

.bank_menu li {
  margin: 0.5rem 0;
  padding: 1rem;
  list-style: none;
  background-color: #fff;
  border:1px solid #ccc;
  border-radius: 5px;
}

.bank_menu li::before {
  content: '>';
  padding: 0 1rem 0 0;
  color: #999;
}




/* リンク色 */

a:hover {
	text-decoration: none;
	-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:link,
a:visited {
  color: var(--link_color);
  text-decoration: none;
}

a:hover,
a:active {
  color: var(--link_hover_color);
}

/* パン屑リスト */
.breadcrumbs a:link, .toppage a:link {
  color: var(--link_color);
  text-decoration: none;
}

.breadcrumbs a:visited, .toppage a:visited {
  color: var(--link_color);
}

.breadcrumbs a:hover, .toppage a:hover {
  color: var(--link_hover_color);
}

.breadcrumbs a:active, .toppage a:active {
  color: var(--link_hover_color);
}

/* 黒いリンク色 */

.black_link a:link {
  color: #333;
  text-decoration: none;
}

.black_link a:visited {
  color: #333;
}

.black_link a:hover {
  color: var(--link_hover_color);
}

.black_link a:active {
  color: var(--link_hover_color);
}

/* more リンク色 */

.more_btn a {
  color: #fff;
  display: inline-block;
  background-color: var(--btn_color);
  border-radius: 26px;
  padding: 5px 2rem;
  margin: 2rem auto;
}

.more_btn a:link,
.more_btn a:visited {
  color: #fff;
}

.more_btn a:hover,
.more_btn a:active {
  background-color: var(--btn_hover_color);
}

/* 戻るボタン リンク色 */

.back_btn div,
.back_btn a:link  {
  width: fit-content;
  cursor: pointer;
  border-radius: 4px;
  padding: 0.8rem 2rem;
  margin: 70px auto;
  color: #333;
  background-color: #fff;
  display: block;
  border: 1px solid #333;
}

.back_btn a:link {
  color: #333;
  text-decoration: none;
}

.back_btn a:visited {
  color: #333;
}

.back_btn a:hover {
  color: #a91507;
  border: 1px solid #a91507;
}

.more_btn a:active {
  color: #a91507;
}

.back_btn div:hover {
  opacity: 0.85;
}

/* 第1次伊賀市空家等対策計画期間の取組実績 */

.sukima img {
  margin:10px 0;
}
.sukima p {
  margin: 30px 0 -5px 0;
}

.back_btn02 {
  text-align: right;
}
.back_btn02 a {
  display: inline-block;
  border-radius: 4px;
  padding: 0.3rem 2rem;
  margin:1rem auto;
}
.back_btn02 a:link {
  color: #fff;
  background-color: #666;
  text-decoration: none;
}

.back_btn02 a:visited {
  color: #fff;
}

.back_btn02 a:hover {
  color: #fff;
  background-color: #06f;
}

.card-img {
    overflow: hidden;
    display: block;
    position: relative;
}

.card-img p {
	margin: 0;
}

.card-img span {
    width: 140px;
    padding: 0 12px;
    text-align: center;
    display: inline-block;
    position: absolute;
    top: 10px;
    left: -37px;
    text-transform: uppercase;
    transform: rotate(315deg);
	font-weight: bold;
	line-height: 1.6;
}

@media (max-width:991px) {
	
.main_img_btn .top_bukken_btn p {
  bottom: 20px;
}
.top_bukken_btn img {
		margin-bottom: -15px;
	}
.guide_menu ul {
	position: absolute;
	right: 0;
	top: -20px;
	width: 100%;
}
.guide_menu li {
  display: inline-block;
  padding-left: 0.8rem;
	font-size: 90%;
}
	
}

@media (max-width:768px) {

	.navbar-toggler {
		position: absolute;
		right: 15px;
		top: 35px;
		z-index: 9999;
	}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1 )' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}	
	
.guide_menu {
	width: 100%;
	float: none;
}

.guide_menu li {
  display: inline-block;
  padding-top: 2rem;
}
	
}

@media (max-width:575px) {

.top_h2 {
  padding: 3rem 0;
}
	
.main_menu {
  padding: 0.6rem 0 0.2rem 0;
  margin: 0;
}

.main_menu ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 0;
  padding: 10px 0;
}

.main_menu li {
  display: inline-block;
	width: 100%;
	padding: 0 !important;
	line-height: 1.5;
	font-size: 1rem;
  margin: 0;
}
	
.main_menu li a {
	display: block;
}


.main_menu li::after {
  content: '';
  padding: 0 0;
}

	h1 {
		font-size: 2rem;
		margin: 0;
		padding: 2.2rem 0;
	}
	h2 {
		font-size: 1.4rem;
	}
	h3 {
		font-size: 1.2rem;
	}
	h4 {
		font-size: 1rem;
	}
	
	.card {
		font-size: 0.9rem !important;
	}
	
	.card .card-title {
		font-size: 1.1rem !important;
		margin-top: -15px;
	}
	
	.footer_menu {
		text-align: center;
	}

	.footer_menu li {
		margin: 0;
		padding: 0;
		display: block !important;
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}
	
.breadcrumbs ol {
	font-size: 0.8rem;
}
.card-img span {
    width: 130px;
    padding: 0 8px;
}

}

@media (min-width: 576px) {

.w-md-25 {
	width: 100%;
}

}

@media (min-width: 768px) {

.w-md-25 {
	width: 25%;
}

}

@media (min-width: 1200px) {

.w-md-25 {
	width: 25%;
}

}

/* Pagination */
.page-item.active .page-link {
  background-color: #ccc !important;
  border-color: #ccc !important;
}

.page-link:hover {
  color: var(--link_hover_color) !important;
}

/* Alignments */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1rem;
}

@media only screen and (min-width: 768px) {
  .alignleft {
    /*rtl:ignore*/
    margin-right: calc(2 * 1rem);
  }
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1rem;
}

@media only screen and (min-width: 768px) {
  .alignright {
    /*rtl:ignore*/
    margin-left: calc(2 * 1rem);
  }
}

@media (min-width: 992px) {

  .main_menu li {
    margin: 0 2rem;
  }
  }

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* POST META */

.post-meta-single-top .post-meta {
	justify-content: center;
}

.post-meta-wrapper {
	margin-top: 2rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 58rem;
	width: 100%;
}

.post-meta {
	color: #6d6d6d;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.5rem;
	font-weight: 500;
	list-style: none;
	margin: -1rem 0 0 -2rem;
}

.post-meta li {
	flex-shrink: 0;
	letter-spacing: -0.016875em;
	margin: 1rem 0 0 2rem;
	max-width: calc(100% - 2rem);
}

.post-meta a {
	color: inherit;
	text-decoration: none;
}

.post-meta a:focus,
.post-meta a:hover {
	text-decoration: underline;
}

.post-meta .meta-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
}

.post-meta .meta-icon {
	flex-shrink: 0;
	margin-right: 1rem;
}

.sticky .post-sticky {
	color: inherit;
}

.post-meta .post-author .meta-icon svg {
	width: 1.6rem;
	height: 1.8rem;
}

.post-meta .post-categories .meta-icon svg {
	width: 1.8rem;
	height: 1.7rem;
}

.post-meta .post-comment-link .meta-icon svg {
	width: 1.8rem;
	height: 1.8rem;
}

.post-meta .post-date .meta-icon svg {
	width: 1.7rem;
	height: 1.8rem;
}

.post-meta .post-edit .meta-icon svg {
	width: 1.8rem;
	height: 1.8rem;
}

.post-meta .post-sticky .meta-icon svg {
	width: 1.5rem;
	height: 1.8rem;
}

.post-meta .post-tags .meta-icon svg {
	width: 1.8rem;
	height: 1.8rem;
}

.post-meta svg * {
	fill: currentColor;
}

/* コンテンツ
------------------------- */
main:has(.qa_area),
main:has(.answer_area) {
  background:linear-gradient(#f4e8de, #eddacc );
}

main:has(.qa_area) h1 {
  font-size: min(5vw, 1.4rem);
  margin: 2rem 0 1rem 0;
  padding: 1rem 0;
  letter-spacing: 0.5px;
}

/* 囲み */
.qa_area {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 0 auto;
  padding: 30px 20px;
  border-radius: 1rem;
  background-color: #fff;
  max-width: 1025px;
  display: flex;
  flex-direction: column;
}

/* 質問がある囲み */
.qa_area.ques_area {
  padding: 7px 7px 2rem;
}

.qa_area h2:first-child {
  margin-top: 0;
}

.qa_area>p:last-child,
.qa_area>span.wp_span:last-child {
  margin-bottom: 0;
}

/* 選択ボタンの上にあるp */
.qa_area>p:has(+.ques_area),
.qa_area>span.wp_span:has(+.ques_area) {
  margin-bottom: 0.5rem;
}

/* 質問 エリア */

.qa_area .il_ques, /* イレギュラーな質問 */
.qa_area>div:nth-child(1) {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  background: linear-gradient(#27b2ed, #bceafe);
  border-radius: 10px 10px 0 0;
  padding: 1rem 15px 0;
  position: relative;
  min-height: max(20vw,150px);
}



/* スタッフ イラスト */
.qa_area .il_ques img,
.qa_area div:nth-child(1) img {
  width: 40vw;
  max-width: 170px;
}

/* 質問内容 */
.qa_area .il_ques div,
.qa_area div:nth-child(1) p,
.qa_area div:nth-child(1) span.wp_span,
.qa_area div:nth-child(1) div {
  display: block;
  width: 100%;
  background-color: #fff;
  margin: 0 0 0 auto;
  padding: 15px 20px;
  border-radius: 16px;
  position: relative;
  font-size: min(4vw, 1.1rem);
  line-height: 1.8;
}

.qa_area .il_ques+.ques_area {
  background-color: #eee;
  padding-bottom: 2rem;
  border-radius: 0 0 10px 10px;
}


/* 吹き出しの部分 */
.qa_area .il_ques div::after,
.qa_area div:nth-child(1) p::after,
.qa_area div:nth-child(1) span.wp_span::after,
.qa_area div:nth-child(1) div::after {
  position: absolute;
  right: 50px;
  bottom: -5px;
  transform: translateY(50%);
  display: block;
  content: "";
  width: 14px;
  height: 20px;
  border-bottom: 10px solid transparent;
  border-right: 7px solid transparent;
  border-left: 7px solid #fff;
  border-top: 10px solid #fff;
}

/* 質問が長い時 */
.qa_area>div.long {
  flex-direction: column-reverse;
  padding-bottom: 45vw;
}

.qa_area>div.long div {
  width: 100%;
}

.qa_area>div.long div::after {
  transform: translateY(50%) rotate(-45deg);
  left: 35vw;
  bottom: 0;
}

.qa_area>div.long img {
  position: absolute;
  bottom: 0;
  width: 30vw;
  max-width: 170px;
  left: 10vw;
}

/* リスト */
.qa_area ul {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.qa_area ul li:not(:last-child) {
  margin-bottom: 1rem;
}
.qa_area ul li strong {
  font-size: 1.1rem;
}

/* 吹き出しの中のリスト */
.qa_area ol.ques_kakomi {
  padding-inline-start: 30px;
}
.qa_area .ques_kakomi li {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1rem;
  list-style: none;
  counter-reset: unset;
  counter-increment: count;
  text-indent: -1.8rem;
}

.qa_area .ques_kakomi li a {
  text-indent: initial;
}

.qa_area .ques_kakomi li::before {
  content: counter(count);
  font-weight: 400;
  font-size: 1.1em;
  color: #fff;
  background-color: #a91507;
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 15px;
}

.qa_area h2:first-child:has(+.ques_kakomi) {
  font-size: min(6vw, 1.4rem);
  background-color: transparent;
  padding-left: 0;
  color: #a91507;
  font-family: sans-serif;
  border-radius: 0;
  margin-bottom: 1.5rem;
}

.qa_area h3 {
  margin: 0 0 0.5rem;
  padding: 0;
  border: none;
}

.qa_area div:nth-child(1) .ques_kakomi+p,
.qa_area div:nth-child(1) .ques_kakomi+span.wp_span {
  margin: 2rem 0 0;
  padding: 1rem 0 0;
  width: 100%;
  font-size: 1.2rem;
  border-top: dotted 3.5px #3bc4ff;
  border-radius: 0;
}

.qa_area div:nth-child(1) .ques_kakomi+p::after,
.qa_area div:nth-child(1) .ques_kakomi+span.wp_span::after {
  display: none;
}

/*=== 外部リンクにアイコンをつける ================*/
.qa_area a[href^="https:"][target="_blank"]::after,
.qa_area a[href^="http:"][target="_blank"]::after  {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  background: url(images/gaibulink.svg) no-repeat center;
  margin: 0 0 0 10px;
}

/* 下のボタン */
.qa_area .answer_btn a[href^="https:"][target="_blank"]::after,
.qa_area .answer_btn a[href^="http:"][target="_blank"]::after  {
  background: url(images/gaibulink02.svg) no-repeat center;
}

/* pdf */
.qa_area a[href$=".pdf"]::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url(images/pdf01.svg) no-repeat center;
  margin: 0 0 0 10px;
}

/* pdf */
.qa_area .answer_btn  a[href$=".pdf"]::after {
  background: url(images/pdf02.svg) no-repeat center;
}




/* 選択ボタン エリア */

.qa_area .answer_btn {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
}


/* イレギュラーな質問 */
.qa_area div.il_ques>div {
  display: block;
  padding-top: 1.5rem;
}

.ques_okomari {
  gap: 20px!important;
}

/* 選択ボタン */
.qa_area .answer_btn a {
  display: block;
  background-color: #a91507;
  color: #fff;
  padding: 10px 15px;
  border-radius: 100vh;
  text-align: center;
  width: 100%;
  line-height: 1.6;
  margin-top: 2rem;
  white-space: nowrap;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* その他のボタン */
.qa_area .other_btn {
  display: block;
  font-size: 0.9em;
  background-color: #fff;
  color: var(--link_color);
  padding: 10px 15px;
  border-radius: 100vh;
  text-align: center;
  width: fit-content;
  margin-top: 0.5rem;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.qa_area .ques_kakomi li a {
  margin-top: 0;
  font-size: 0.8rem;
}
/* === supportのTOPページ ======== */
.qa_area .support_top {
  background: linear-gradient(#27b2ed 20%, #bceafe 70%);
  padding: 0 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* こちらをクリック */
.qa_area .support_top::after {
  content: "こちらをクリック";
  color: #fff;
  display: block;
  width: 100%;
  background-color: var(--btn_color);
  border-radius: 0 0 10px 10px;
  padding-top: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  font-size: 0.75em;
}

.qa_area .support_top:not(:last-child) {
  margin-bottom: 2rem;
}

.qa_area .support_top img {
  flex: 0 1 27%;
  width: 25%;
  margin-bottom: 1rem;
  align-self: end;
}

.qa_area .support_top p,
.qa_area .support_top span.wp_span {
  flex: 0 1 70%;
  color: #000;
  margin: 1.5rem 0 3rem;
  background-color: #fff;
  text-align: center;
  line-height: 1.4;
  padding: 16px 0 15px;
  border-radius: 50vh;
  border: 3px solid #891f02;
  font-weight: 600;
  font-size: min(4vw, 1.1rem);
  position: relative;
}

.qa_area .support_top p small,
.qa_area .support_top span.wp_span small {
  font-size: 0.9em;
}

/* 吹き出しの部分 */
.qa_area .support_top p::after,
.qa_area .support_top p::before,
.qa_area .support_top span.wp_span::after,
.qa_area .support_top span.wp_span::before {
  position: absolute;
  left: -9px;
  bottom: 20%;
  transform: translateY(50%);
  display: block;
  content: "";
  width: 26px;
  height: 24px;
  border-bottom: 12px solid #891f02;
  border-right: 13px solid transparent;
  border-left: 13px solid transparent;
  border-top: 12px solid transparent;
}

.qa_area .support_top p::after,
.qa_area .support_top span.wp_span::after {
  z-index: 1;
  border-bottom: 12px solid #fff;
  left: -3px;
  bottom: calc(20% + 3px);
}

.qa_area .ques_kakomi a {
  font-size: 1rem;
}


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


.qa_area .ques_kakomi a,
.qa_area .ques_kakomi li a {
  display: inline-block!important;
  text-align: center;
  padding: 5px 20px;
  width: fit-content;
    color: var(--link_color);
    text-decoration: none;
    background-color: transparent;
  }
  

.qa_area .more_btn {
  margin: auto auto 0 auto!important;
}

.qa_area .more_btn a {
  display: inline-block!important;
  width: auto!important;
  margin: 0 auto!important;
  padding: 10px 30px!important;
}

/* 答え */

.answer_area h1 {
  font-size: 1.8rem;
  padding: 2.5rem 0 2rem;
}

.answer_area h2:nth-child(1) {
  margin-top: 0;
}

.answer_area {
  background-color: #fff;
  max-width: 960px;
  margin: 1rem auto;
  padding: 0 20px 15px 20px;
  border-radius: 10px;
}

.answer_area>*:last-child {
  margin-bottom: 0!important;
}

/* === 市役所空き家対策室への連絡先 ========= */
.contact_empha {
  line-height: 1;
}

.contact_empha:not(:last-child) {
  margin-bottom: 2rem;
}
.contact_empha span:first-child {
  font-size: 1.15rem;
  color: #a91507;
  font-weight: 600;
  line-height: 1.5;
}

.contact_empha span:not(:first-child) {
  line-height: 1.4;
}

/* 電話番号 */
.contact_empha span:not(:first-child) a {
  color: #333;
  font-size: 1.9rem;
  letter-spacing: 0.07em;
}

/* FAX */
.contact_empha span:not(:first-child).fax {
  font-size: 1.4rem;
  line-height: 2.2;
}

/* 電話とかFAX */
.contact_empha span:not(:first-child) small {
  display: inline-block;
  border: #a91507 1px solid;
  color: #a91507;
  border-radius: 5px;
  padding: 4px 3px 1px;
  margin-right: 10px;
  transform: translateY(-5px);
  font-size: 0.8rem;
  line-height: 1.4;
}

.contact_empha .time {
  display: block;
  text-indent: 3rem;
}

/* === その他の場所への連絡先 ========= */

.other_empha span:first-child {
  font-size: 1.1rem;
  color: #333;
  line-height: 2.2;
  font-weight: 700;
}

/* 伊賀支部 */
.other_empha em {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 2.2;
  color: #a91507;
}

.other_empha em::before {
  display: inline-block;
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #a91507;
  margin-right: 10px;
  margin-bottom: 2px;
}

/* 住所・電話 */

.other_empha small {
  color: #a91507;
  border-radius: 3px;
  border: 1px solid #a91507;
  padding: 0 3px;
  margin-right: 10px;
  width: 40px;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
}

.other_empha a.tel {
  color: #333;
  font-size: 1.5rem;
}

.other_empha small:has(+a.tel) {
  position: relative;
  top: -3px;
}

/* === カーソルが当たった時 ========= */
.qa_area .ques_kakomi a:hover,
.qa_area .ques_kakomi li a:hover {
  color: var(--link_hover_color);
}

.qa_area .other_btn:hover,
.qa_area .answer_btn a:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.qa_area>div:last-child a:hover {
  background-color: #d22f20;
}

.qa_area .other_btn:hover {
  color: var(--link_hover_color);
}

.qa_area .support_top:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.qa_area .support_top:hover::after {
  background-color: #a91507;
}


@media (min-width:750px) {
  .disp_sp {
    display: none;
  }

  /*=== 空き家管理 質問 =============*/


  /* 囲み */
  .qa_area {
    padding: 40px 35px;
  }

  main:has(.qa_area) h1 {
    margin: 0;
    padding: 4rem 0 2rem;
    font-size: 2rem;
  }

    /* 質問 エリア */
.qa_area .il_ques, /* イレギュラーな質問 */
.qa_area>div:nth-child(1) {
  min-height: 260px;
}

 /* スタッフ イラスト */

 .qa_area .il_ques img, /* イレギュラーな質問 */
 .qa_area div:nth-child(1) img {
  width: 30vw;
  max-width: 190px;
}


  /* 吹き出しの部分 */
  .qa_area .il_ques div::after, /* イレギュラーな質問 */
.qa_area div:nth-child(1) p::after,
.qa_area div:nth-child(1) span.wp_span::after,
.qa_area div:nth-child(1) div::after {
  right: 40%;
  width: 20px;
  height: 30px;
  border-bottom: 15px solid transparent;
  border-right: 10px solid transparent;
  border-left: 10px solid #fff;
  border-top: 15px solid #fff;

}

 
/* 質問内容 */
.qa_area .il_ques div, /* イレギュラーな質問 */
.qa_area div:nth-child(1) p,
.qa_area div:nth-child(1) span.wp_span,
.qa_area div:nth-child(1) div {
  margin: 1rem 0.8rem 1rem auto;
  padding: 25px 30px;
  letter-spacing: 0.5px;
}

/* 質問 エリア */
.qa_area .il_ques, /* イレギュラーな質問 */
.qa_area div:nth-child(1) {
  justify-content: space-around;

}

/* 質問が長い時 */
.qa_area>div.long {
  flex-direction: row;
  padding-bottom: 1rem;
}


.qa_area>div.long div {
  width: 73%;
}

.qa_area>div.long div::after {
  transform: translateY(50%);
  left: -25px;
  bottom: 25%;
}

.qa_area>div.long img {
  width: 18vw;
  max-width: 190px;
  left: 30px;
}

/* 選択エリア */

.qa_area .answer_btn {
  flex-direction: row;
  gap: 30px;
}

/* 選択ボタン */
.qa_area .answer_btn a {
  flex: 0 1 30%;
}

.qa_area .answer_btn a:first-child {
  margin-top: 2rem;
}

.qa_area .answer_btn .ques_kakomi li a:first-child {
  margin-top: 0;
}

/* === supportのTOPページ ====== */
.qa_area:has(.support_top) {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

/* 並び */
.qa_area .support_top {
  flex-direction: column-reverse;
  padding: 0 15px;
}

/* こちらをクリック */
.qa_area .support_top::after {
  font-size: 0.85rem;
  padding: 7px 0 5px;
}
/* 吹き出し */
.qa_area .support_top p,
.qa_area .support_top span.wp_span {
  font-size: min(2vw, 1.1rem);
  padding: 18px 0 15px;
  margin-bottom: 1rem;
}

/* 3つ目の吹き出しの文字を真ん中に */
.qa_area .support_top.s3 p,
.qa_area .support_top.s3 span.wp_span {
  padding-top: 22px;
}

.qa_area .support_top:not(:last-child) {
  margin-bottom: 0;
}

/* イラスト */
.qa_area .support_top img {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 1rem;
  align-self: end;
}

/* 吹き出し */
.qa_area .support_top p::after,
.qa_area .support_top p::before,
.qa_area .support_top span.wp_span::after,
.qa_area .support_top span.wp_span::before {
  left: 60%;
  bottom: 0;
  transform: translateY(50%) rotate(-40deg);
}

.qa_area .support_top p::after,
.qa_area .support_top span.wp_span::after {
  bottom: 6px;
  left: calc(60% + 3px);
}

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

.qa_area .answer_btn a.support_top,
.qa_area .answer_btn a.support_top:first-child {
  margin-left: 0;
  width: 100%;
  margin-top: min(32%, 230px);
}

.qa_area .answer_btn a.support_top::before {
  content: "";
  display: block;
  width: 80%;
  height: 300%;
  background: url(images/staff02.svg) no-repeat center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
}

.qa_area .answer_btn a.support_top.s2::before {
  background: url(images/staff04.svg) no-repeat center;
}

.qa_area .answer_btn a.support_top.s3::before {
  background: url(images/staff06.svg) no-repeat center;
}


.ques_tukaikata {
  flex-wrap: wrap;
  justify-content: center;
}
.ques_tukaikata a {
  flex: 0 1 30%;
  gap: 10px!important;
}

/* 答え */

.answer_area {
  padding: 10px 35px 25px 35px;
}

.answer_area h1 {
  font-size: 2rem;
}

/* === 市役所空き家対策室への連絡先 ========= */

.contact_empha span:first-child {
  line-height: 2;
}

/* 電話番号 */
.contact_empha span:not(:first-child) a {
  pointer-events: none;
}

/* === その他の場所への連絡先 ========= */
.other_empha a.tel {
  pointer-events: none;
}


}

@media (min-width:1025px) {
  /* === supportのTOPページ ====== */

/* 並び */
.qa_area .support_top {

  padding: 0 20px;
}

 /* スタッフ イラスト */

 .qa_area .il_ques img, /* イレギュラーな質問 */
 .qa_area div:nth-child(1) img {
  position: absolute;
  bottom: 0;
  width: 30vw;
  left: 30px;
  max-width: 190px;
}

/* 質問内容 */
.qa_area .il_ques div,
.qa_area div:nth-child(1) p,
.qa_area div:nth-child(1) span.wp_span,
.qa_area div:nth-child(1) div {
  display: block;
  width: 70%;
  margin: 0 0 20px auto;
}

 /* 吹き出しの部分 */
 .qa_area .il_ques div::after, /* イレギュラーな質問 */
 .qa_area div:nth-child(1) p::after,
 .qa_area div:nth-child(1) span.wp_span::after,
 .qa_area div:nth-child(1) div::after {
   left: -25px;
   bottom: 25%;
   width: 30px;
   height: 20px;
   border-bottom: 10px solid #fff;
   border-right: 15px solid #fff;
   border-left: 15px solid transparent;
   border-top: 10px solid transparent;
 }

}
