
/*extra-header*/
/* ヘッダー */
#rent_extra_header {
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
}

.page_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page_title strong {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin-top: 5px;
  color: #666;
}

.rent_status_area {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-top: 15px;
  font-size: 14px;
}

.rent_status_area h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.spec_list,
.access_list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.spec_list li,
.access_list li {
  margin-bottom: 5px;
}

.spec_list li span,
.access_list li span {
  font-weight: bold;
  display: inline-block;
  width: 100px;
}
/*extra-header*/

/*nav*/
.rent_extra_nav{
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.rent_extra_nav .in_page_link {
    text-align: right;
}

.rent_extra_nav .in_page_link li {
    display: inline;
    padding-left: 17px;
    margin-right: 15px;
    background: url(/image/icon_arrow_down.svg) no-repeat scroll left 50% transparent;
    background-size: 11px 11px;
    font-size: 12px;
}
/*nav*/

.rent_name {
    font-size: 11px;
    color: #989393;
    display: block;
    padding-bottom: 2px;
}

#article h1.bdr_title {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 0.3em;
    padding-top: 0.3em;
    font-size: 22px;
    border-bottom: solid 1px #cccccc;
}

#article h1.bdr_title:after {
    position: absolute;
    bottom: -2px;
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ff0000;
    border-right: solid 1px #ffffff;
}

.item_table-rent {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.item_table-rent th,
.item_table-rent td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

.item_table-rent th {
  background-color: #f9f9f9;
  font-weight: bold;
}

/* ===== Residents index spacing & layout ===== */
.property-section {
  padding: 12px 0 28px;
}

.property-section h2 {
  margin: 0 0 14px;
}

.property-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.property-card {
  flex: 1 1 280px;
  max-width: 360px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.property-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-card picture,
.property-card img {
  display: block;
  width: 100%;
}

.property-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card h3 {
  font-size: 16px;
  margin: 12px 14px 8px;
}

.property-card p {
  font-size: 13px;
  color: #555;
  margin: 0 14px 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .property-card { flex-basis: 100%; max-width: 100%; }
}

/* ===== Detail pages spacing ===== */
#article .bdr_title + picture,
#article .bdr_title + img {
  display: block;
  margin: 10px 0 16px;
}

.equipment-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 4px;
}

.equipment-gallery img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ========== Residents index cards ========== */
.property-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.property-card {
  flex: 1 1 280px;
  max-width: 360px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.property-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-card picture,
.property-card img {
  display: block;
  width: 100%;
}

.property-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card h3 {
  font-size: 16px;
  margin: 10px 12px 6px;
}

.property-card p {
  font-size: 13px;
  color: #555;
  margin: 0 12px 12px;
}

@media (max-width: 768px) {
  .property-card { flex-basis: 100%; max-width: 100%; }
}

/* ========== Equipment gallery (detail pages) ========== */
.equipment-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.equipment-gallery img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}
