/*
Theme Name: Tateyama Estate 2025
Template: twentytwentyfive
*/


a:hover {
  opacity: 0.8;
}

/* ---------------------- */
header :root :where(.is-layout-flex) {
     gap: inherit;
}
/* ---------------------- */


.wp-block-post-terms a {
  color: #fff;
  background: #73A836;
  margin-right: 3px;
  font-size: small;
}
.wp-block-post-terms .wp-block-post-terms__separator {
  display: none;
}

/* ---------------------- */

.is-layout-grid li {
  border: 1px solid #cfcfcf;
}
.is-layout-grid li.wp-block-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.is-layout-grid li.wp-block-post .wp-block-read-more {
  color: #fff;
  background: #6ba439;
  width: 90%;
  margin: auto auto 10px;
  text-align: center;
  padding: 4px;
  border-radius: 8px;
  border: 0px;
}

/* ---------------------- */

.estates_meta .is-layout-flex {
  gap: 0.5em;
}

/* ---------------------- */

.estate_meta dt {
  padding-top: 10px;
  border-top: 1px solid #cfcfcf;
}
.estate_meta dd {
  font-weight: 500;
}
.estate_meta .estate_price {
  font-weight: bold;
  font-size: 150%;
  color: #c01733;
}
.estate_meta .contactus-tel {
  font-weight: bold;
  font-size: 150%;
}
.estate_meta .contactus-btn a {
  color: #fff;
  background: #73A836;
}



.estate_content h3 {
  padding: 2px 0 0 10px;
  border-left: 3px solid #3D9973;
}
.estate_content .is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: inherit;
  align-items: inherit;
}
.estate_content .estate_item {
  width: 50%;
  display: flex;
}
.estate_content .estate_item_th,
.estate_content .estate_item_td {
  font-size: smaller;
  padding: 5px 10px;
}
.estate_content .estate_item_th {
  background: #E8E8E8;
  border: 1px solid #fff;
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 90px;
}
.estate_content .estate_item_td {
  flex-grow: 1;
  margin: auto;
  word-break: break-all;
  word-wrap: break-word;
  width: min-content;
}
.estate_content .estate_access,
.estate_content .house_appli,
.estate_content .house_parking,
.estate_content .house_location,
.estate_content .land_location,
.estate_content .chintai_parking,
.estate_content .chintai_appli,
.estate_content .estate_note,
.estate_content .estate_map {
  width: 100%;
}
.estate_content iframe {
  width: 100% !important;
}

@media (max-width: 780px) {
  .estate_content .estate_item {
    width: 100%;
    display: block;
  }
  .estate_content .estate_item_th,
  .estate_content .estate_item_td {
    width: auto;
  }
}


/* ---------------------- */
.wp-block-categories .cat-item-2,
.wp-block-categories .cat-item-1
{
  display: none;
}
.side-column .wp-block-categories .children
{
  padding-left: 20px;
}

/* ---------------------- */

.mw_wp_form span.mwform-require {
  margin-left: 10px;
  color: #fff;
  background-color: #c01733;
  vertical-align: middle;
  font-size: small;
  padding: 2px 5px;
}
.mw_wp_form input[type="submit"],
.mw_wp_form input[type="text"],
.mw_wp_form select,
.mw_wp_form textarea {
  padding: 10px;
  margin: 10px auto;
  font-size: inherit;
}
.mw_wp_form .mwform-btn {
  text-align: center;
}

/* ---------------------- */

.wp-block-gallery {
  position: relative;
  width: 100%;
}
.wp-block-gallery figure {
  margin: 0 4px !important;
}
.wp-block-gallery .slide-arrow {
  background: none;
  height: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  margin: auto !important;
  cursor: pointer;
  z-index: 2424;
}
.wp-block-gallery .prev-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 20px 0;
  border-color: transparent #cfcfcf transparent transparent;
  left: -3%;
}
.wp-block-gallery .next-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent #cfcfcf;
  right: -3%;
}
.wp-block-gallery button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
}
