/*
Theme Name: toyooka-baikyaku
Theme URI: 
Author: 
Author URI: 
Description: 
Version: 1.0.0
License: 
License URI: 
Tags: 
Text Domain: 
*/

.sp {
  display: none;
}

.under .record-search .listbtn {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap
}

.under .listbtn li {
  width: calc(20% - 20px);
  height: 60px;
  margin: 10px;
}

.under .listbtn:last-child {
  margin-bottom: 0
}

.under .listbtn.center {
  justify-content: center
}

.under .listbtn label {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  background: #eee;
  color: #999;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  line-height: 1.7;
  transition: 0.3s all;
}

.under .listbtn .active label {
  background: #f39700;
  color: #fff;
}

.under .record-area,
.under .record-property-type {
  margin-bottom: 30px;
}

.btn_search {
  position: relative;
  height: 60px;
  width: 90%;
  max-width: 300px;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  position: relative;
  background: #f39700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  line-height: 1.7;
}

.btn_search::after {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  right: 26px;
  top: 0;
  bottom: 0;
  margin: auto 0
}

.btn_search:hover {
  color: #fff;
  background: #ff9d00;

}


.record_postList {
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
  justify-content: flex-start;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.record_pagination .pagination {
  text-align: center;
}

.record_pagination .pagination>span,
.record_pagination .pagination>a {
  text-decoration: none;
  border: 1px solid #BFBFBF;
  padding: 3px 6px;
  margin: 2px;
  font-size: 14px;
}

.record_postList .record-item {
  width: calc(100%/3 - 28px);
  position: relative;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #111;
  margin: 40px 0 0;

}

.record-item>a {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.record-item:hover {
  opacity: 0.8;
}

.record-thumbnail {
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.record-thumbnail>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-content {
  padding: 10px;
}

.record-item-type {
  margin-bottom: 5px;
}

.record-item-type .type {
  display: inline-block;
  border: 1px solid #111;
  padding: 0.25em 1em;
  background: #fff;
  margin-right: 0.5em;
  font-size: 14px;
  position: relative;
  max-width: 10em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.record-item-date,
.record-item-ttl {
  margin-bottom: 10px;
  line-height: 1.2em;
}

.record-item-ttl {
  font-weight: bold;
}

.record-area {
  margin-bottom: 5px;
}

.record_postList .nopost {
  width: 100%;
  margin: 40px 0 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}



/* SINGLE RECORD */

.under.record-post .list01 li:before {
  top: 10px;
}

.record-item-pagination {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.record-item-pagination li.hidden {
  display: none;
}

.record-post .record-image {
  text-align: center;
}

.record-item-pagination li a {
  width: 180px;
  height: 50px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1.5px;
  color: #fff;
  background: #f39700;
}

.record-item-pagination li a:hover {
  background: #ff9d00;

}

.record-item-pagination {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.record-item-pagination li {
  position: relative;
}

.record-item-pagination li.hidden {
  display: none;
}

.record-post .record-image {
  text-align: center;
}

.record-item-pagination li.prev:after {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 2px 2px 0 0;
  transform: rotate(225deg);
  left: 26px;
  top: -2px;
  bottom: 0;
  margin: auto 0;
}

.record-item-pagination li.next:after {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  right: 26px;
  top: -2px;
  bottom: 0;
  margin: auto 0;
}

.record_cont ul,
.record_cont ol {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #f39700;
  background: rgba(243, 151, 0, 0.05);
}

.record_cont ul li,
.record_cont ol li {
  position: relative;
  text-decoration: none;
  display: block;
  padding-left: 20px;
  margin-bottom: 18px;
}

.record_cont ul li::before,
.record_cont ol li::before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 12px;
  left: 0;
  background-color: #f39700;
  border-radius: 10px;
}

.record-post h4 {
  font-size: 26px;
  width: fit-content;
  margin: 0 0 30px !important;
  position: relative;
  padding-bottom: 7px;
  background-image: repeating-linear-gradient(0deg, transparent 0%, transparent 7%, #f8e352 7%, #f8e352 45%, transparent 45%, transparent 100%);
}