/* CMSの初期削除 */
#contents {
  max-width: 1080px;
  padding: 50px 20px;
  background: #FFF;
  border-radius: 50px;
  margin-bottom: 80px;
}
.lib-breadcrumb__inside{
  max-width: 1080px;
}
.lib-breadcrumb__list{
  overflow: hidden !important;
  flex-wrap: wrap !important;
}
.lib-separator + * {
  margin-top: 4rem !important;
}
.lib-breadcrumb__list li a[aria-current="location"] {
  pointer-events: auto !important;
}
:where([class*="lib"]) :where(input[type="checkbox"])::after, :where([class*="lib"]) :where(input[type="checkbox"])::before {
  background-color: #333;
}
:where([class*="lib"]) :where(input[type="radio"])::before {
  background-color: #333;
}
html body .lib-hero__outer {
  margin-bottom: -140px;
  margin-top: 50px;
}
@media print, screen and (min-width: 992px) {
  html body .lib-hero__outer {
    margin-bottom: -120px;
    margin-top: -50px;
  }
}



a {
  text-decoration: underline !important;
}
.txt:hover,
a:hover,
header a,
footer a {
  text-decoration: none !important;
}


/* .media削除 */
.media .lib-hero__outer,
.media .lib-media__time,
.media .lib-column__side,
.media .media-post__sns,
.media .media-post__pagenation,
.media .media-post__chip,
.media .media-sort__outer,
.media .media-post__thumb {
  display: none;
}
.media .lib-column__main {
  width: 100%;
}
.media h1 {
  background:
    url(/dcms_media/image/kiji-bg-h1_2.png) right 40px bottom 0px no-repeat,
    url(/dcms_media/image/kiji-bg-h1.png) left top no-repeat;
  padding: 19px 0 19px 25px;
  min-height: 80px;
  font-size: 2rem;
  border-radius: 10px;
  margin-bottom: 40px;
  background-size: 270px auto , auto auto;
}
.media .lib-column__main li{
  display: block;
}
.media .lib-column__main li a{
  width: 100%;
  max-width: 900px;
  margin: 0 auto 20px auto;
  display: block;
  background: url(/dcms_media/image/dai-bg-link.png) right 35px center no-repeat #FFF;
  padding: 15px 40px 15px 30px;
  border-radius: 999px;
  border: solid 1px #E2B66E;
  transition: none;
}
.media .lib-column__main li a:hover{
  opacity: 1;
  box-shadow: 0 0 0 1px #E2B66E;
}



table {
  width: 100% !important;
}
table td,
table th{
  border: solid 1px #ccc !important;
}
table th{
  font-weight: normal;
  background: #F5E7A1;
}

.lib-sld-003 div.lib-sld-003__col:nth-of-type(2) {
  order: -1;
}

.lib-sld-003 .lib-sld-003__main.swiper-initialized {
  display: none;
}
.lib-sld-003 [id^="swiper-wrapper-"] {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.lib-sld-003 [id^="swiper-wrapper-"] .swiper-slide {
  height: auto !important;
  width: calc(50% - 10px) !important;
  margin-right: 0 !important;
  margin-bottom: 5px;
}
.lib-sld-003 [id^="swiper-wrapper-"] .swiper-slide:nth-of-type(1) {
  margin-left: -26px;
}
.lib-sld-003 .lib-sld-003__thumb .lib-gallery__btn {
  height: auto !important;
}
.lib-sld-003 .lib-gallery__btn::before {
  box-shadow: 0 0 0 0 !important;
}
.lib-sld-003 .lib-gallery__item.swiper-slide-thumb-active .lib-gallery__btn {
  pointer-events: auto !important;
}

/* 空き家 */
.akiya table th{
  width: 25% !important;
}
.akiya table td{
  width: 75% !important;
}
.container {
  max-width: 100% !important;
}
#contents {
  width: calc( 100% - 30px) !important;
}



@media (max-width: 990px) {
  .row-cols-md-2 > * {
    width: 100% !important;
  }
  .lib-sld-003 div.lib-sld-003__col:nth-of-type(2) {
    order: 0;
  }
  #wrapper {
    padding-top: 0 !important;
  }

  /* 統計データ */
  .data #dcms_layoutPageBlockPasteArea table {
    display: block;
    overflow-x: auto;
  }
  .data #dcms_layoutPageBlockPasteArea table caption {
    width: 800px;
  }
  /* アクセス */
  .access #dcms_layoutPageBlockPasteArea table th {
    width: 30%;
  }
  .access #dcms_layoutPageBlockPasteArea table td {
    width: 70%;
  }

}
