/*
Theme Name:gravity-child
Theme URI:
Description:「gravity」の子テーマ
Template:gravity_tcd111
Author:
Author URI:
Version:2508_1
*/
/*https://tcd-theme.com/2018/06/how-to-make-child-theme.html*/
body {
  border-top: solid 5px #006400;
}
.main_banner {
  text-align: center;
  margin: 1.5em auto 1.5em;
}
.p-archive-property {
  padding-block: 30px !important;
}
.home .l-contents, .category .l-contents {
  inline-size: min(calc(100% - 40px), 1200px) !important;
}
.home .p-cb {
  width: 860px;
  margin-top: 60px;
}
.category .p-post-cards {
  max-width: 860px;
}
.home .l-main {
  display: flex;
}
.home .p-widget,.archive .p-widget,.category .p-widget,.search .p-widget {
  margin-bottom: 2.5em;
}
.home .l-sidebar {
  margin-top: 60px;
}
.p-post-cards-item__link {
  padding: 10px 10px 20px;
}
.p-header-nav__list > li {
  border-right: solid 1px #fff;
}
.p-header-nav__list > li:first-child {
  border-left: solid 1px #fff;
}
.p-header-nav__list > li > a {
  grid-template-rows: 42px;
  padding-top: 2px;
}
.widget_search .search-form {
  grid-template-rows: 45px !important;
  border: 2px solid #006400 !important;
}
.l-sidebar .p-widget-headline {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  ;
  border-top: none;
  background-color: #ddd;
  border-left: solid 5px #00913a;
  padding: 15px 10px 15px 17px !important;
  margin-bottom: 12px;
  line-height: 1;
}
.l-sidebar ul {
  list-style: none;
}
.l-sidebar ul li {
  text-align: left;
  line-height: 1.5;
}
.l-sidebar ul li a {
  display: block;
  padding: 20px 0 20px 10px;
  border: none;
}
.l-sidebar ul li a::before {
  content: "▶";
  color: #00913a;
  margin-right: 6px;
  font-size: 13px;
}
.tax-property-type .l-sidebar2{
 display: none;
}
.p-post-cards-item__title {
  font-size: 18px;
  line-height: 1.6;
}
.p-post-cards-item__excerpt {
  --tcd-line-clamp: 3;
  font-size: 15px;
  line-height: 1.8;
}
.c-line-clamp {
  height: auto !important;
  max-height: calc(1lh * var(--tcd-line-clamp));
}
.p-single-header {
  padding: 0px !important;
  border: none;
  margin-top: 10px;
}
.tcdce-body h1, h1.p-single-header__title {
  font-size: 22px !important;
  background-color: #006400 !important;
  color: #fff !important;
  text-align: left !important;
  padding: 13px 0 13px 50px !important;
  background-image: url(https://shogai-home.com/wp-content/uploads/2023/07/2307h1_back.png) !important;
  background-position: 13px center !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
}
.tcdce-body h2,h2.p-cb-header-title {
  border-top: solid 3px #00913a !important;
  border-bottom: solid 3px #00913a !important;
  text-align: left !important;
  padding: 10px !important;
  font-size: 22px !important;
 line-height: 1.4;
}
.top_end{
 margin-top: -4em;
}
.c-main-title {
  font-size: 22px;
  border: none;
  background-color: #006400;
  color: #fff;
  text-align: left;
  padding: 13px 0 13px 50px;
  background-image: url(https://shogai-home.com/wp-content/uploads/2023/07/2307h1_back.png);
  background-position: 13px center;
  background-repeat: no-repeat;
  background-size: auto;
}
.tcdce-body h3 {
  background-color: #00913a !important;
  color: #fff !important;
  padding: 12px 0 11px 17px !important;
  font-size: 18px !important;
}
.tcdce-body h4 {
  font-size: 16px !important;
  border-bottom: double 3px #000 !important;
  padding: 0 0 5px 10px !important;
}
.tcdce-body p {
  line-height: 1.8 !important;
  padding-left: 10px;
  padding-right: 10px;
}
.l-container {
  padding-bottom: 0 !important;
}
.item_search1{

 margin-bottom: 1em;
 margin-top: 3em;
}
.p-realty-result-title span {
	font-size: 1em !important;
	margin-inline: 0.1em !important;
}
@media (max-width: 767px) {
  .l-contents {
    inline-size: min(calc(100% - 30px), 1200px) !important;
  }
  .home .l-main .l-inner {
    inline-size: var(--tcd-layout-inner-size, min(calc(100% - 0px), 1200px));
  }
  .home .l-sidebar {
    margin-top: 0px;
  }
  .main_banner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .l-sidebar ul li a {
    padding: 10px 0 10px 10px;
  }
 
  .home .p-cb {
    margin-top: 10px;
  }
  .tcdce-body h1, h1.p-single-header__title {
    font-size: 20px !important;
    padding: 11px 0 10px 36px !important;
    background-position: 10px center !important;
    background-size: 5% !important;
    line-height: 1.4 !important;
  }
  .tcdce-body h2,h2.p-cb-header-title {
    padding: 8px !important;
    font-size: 19px !important;
  }
 .top_end{
 margin-top: -1.5em;
}
  .c-main-title {
    font-size: 20px;
    padding: 11px 0 10px 37px;
    background-size: 5%;
  }
  .tcdce-body h3 {
    padding: 10px 0 9px 15px !important;
    font-size: 16px !important;
  }
  .tcdce-body .wc-shortcodes-item p {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px !important;
  }
  .tcdce-body p {
    padding-left: 5px;
    padding-right: 5px;
  }
}