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

.result-slider {
    /*max-height: 268px;*/
  }
  .btn.small-contact {
    border: 0 none;
    border-radius: 35px;
    padding: 5px 25px;
    margin-left: 10px;
    outline: 0 none;
    text-align: center;
    background: #cc8b86;
    color: #fff;
  }
  .btn.small-contact:hover, .btn.small-contact:focus {
    background: #d6716a;
  }
  .check-all, .contact-all {
    display: inline-block;
    padding: 0 15px;
  }
  .favorite-contact {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
  }
  .swiper-slide img {
    width: 100%;
  }
  
  
  /* The Modal (background) */
  .modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 150; /* Sit on top */
      padding-top: 100px; /* Location of the box */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
      position: relative;
      background-color: #fefefe;
      margin: auto;
      padding: 0;
      border: 1px solid #888;
      max-width: 700px;
      width:100%;
      overflow: auto;
      max-height: 600px;
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
      -webkit-animation-name: animatetop;
      -webkit-animation-duration: 0.4s;
      animation-name: animatetop;
      animation-duration: 0.4s
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
      from {top:-300px; opacity:0}
      to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
      from {top:-300px; opacity:0}
      to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .modal-close {
      color: #005780;
      float: right;
      font-size: 28px;
      font-weight: bold;
  }
  
  .modal-close:hover,
  .modal-close:focus {
      color: #000;
      text-decoration: none;
      cursor: pointer;
  }
  
  .modal-header
  {
      padding: 2px 16px;
      color: #005780;
  }
  
  .modal-body {padding: 2px 16px;}
  
  .modal-footer {
      padding: 10px 0 20px 0;
  }

  .area_population .pc-pl{
    padding-left:0.5em;
  }
  
  .area-guide__wrapper {
      margin-top: 60px;
  }
  
  .area-guide h1 {
      font-weight: 500;
      font-size: 20px;
      line-height: 1.3;
      text-align: center;
  }
  
  .area-guide h2 {
    font-size: 20px;
    font-weight: 400;
    border-left: 4px solid #0b7bad;
    margin-bottom: 20px;
    padding: 0 0 0 10px;
    line-height: 1.3;
    text-transform: none;
  }
  
  .area-guide h3 {
    position: relative;
    line-height: 1.4;
    padding:0.3em 1.1em;
    display: inline-block;
  }
  
  .area-guide h3:before, .area-guide h3:after { 
    content:'';
    width: 15px;
    height: 25px;
    position: absolute;
    display: inline-block;
  }
  
  .area-guide h3:before {
    border-left: solid 1px #0b7bad;
    border-top: solid 1px #0b7bad;
    top:0;
    left: 0;
  }
  
  .area-guide h3:after {
    border-right: solid 1px #0b7bad;
    border-bottom: solid 1px #0b7bad;
    bottom:0;
    right: 0;
  }

  .area-guide h4{
    font-weight:bold;
    font-size:1.3em;
  }
  .area-guide h4 b, .area-guide p b{
    margin-right:10px;
    font-size:20px;
  }  

  .area-guide.social-area-guide p,.area-guide.social-area-guide h4{
    padding-left:30px;
  }
  .area-guide.social-area-guide p b,.area-guide.social-area-guide h4 b{
    margin-left:-30px;
  }
  .area-guide section {
    margin: 30px 0 60px;
    max-width: 847px;
  }

  .area-guide p.review{
    white-space:pre-wrap;
  }

  .area-guide ul.review {
    list-style-type:none;
    display: flex;
    position:relative;
  }
  .area-guide ul.review li{
    padding: 10px;
    background: rgba(215,215,215,0.5);
    display: inline-grid;
    margin: 10px;
    border-radius: 3px;
    align-items:center;
    max-width:25%;
    width:100%;
    text-align:center;
  }
  
  .area-guide .photo {
    max-width: 100%;
    display: block;
    margin: 20px 0 20px;
    height: auto;
  }
    .area_crime, .area_population{
      border-collapse:  collapse; 
        border: #ddd solid 1px;              /* 枠線指定 */
        width:100%;
      border:none;
    }
    .area_crime th,.area_crime td ,
    .area_population th, .area_population td
    {     /* 枠線指定 */
        padding:10px;
        text-align:center;
        border-top:#ddd 1px solid;
        border-bottom:#ddd 1px solid;
        position:relative;
    }
    .area_population th, .area_population td{
        padding:10px 3px;
    }
    .area_crime .double-bar td
    {
      border-bottom: double 4px #ddd;
    }
    .area_population .double-bar td
    {
      border-top: double 4px #ddd;
    }
    .area_crime tr.odd td,
    .area_population tr.odd td
    {
      background-color:#f9f9f9;
    }
    .area_crime tr.odd.area_pickup td,
    .area_population tr.odd.area_pickup td
    {
      background-color:#515151;
    }
    .area_crime td::after,
    .area_population td::after
    {
      position: absolute;
      right: 0;
      top: 10px;
      bottom: 10px;
      border-right: 1px solid #ddd;
      content: "";      
    }    
    .area_crime td:nth-child(1){
      text-align:left;
    }
    .area_crime td:nth-child(2){
      text-align:right;
    }
    .area_crime td:nth-child(3){
      text-align:right;
    }
    .area_crime td:nth-child(4){
      text-align:right;
    }
    .area_crime td:last-child::after,
    .area_population td:last-child::after
    {
      border-right:none;
    }
    .area_population td.border:last-child::after
    {
      border-right: 1px solid #ddd;
    }

    .area_crime_col1{ width:20%;}
    .area_crime_col2{ width:30%;}
    .area_crime_col3{ width:25%;}
    .area_crime_col4{ width:25%;}
    .area_crime th,
    .area_population th
    {
      font-weight:normal;
      background-color:#f9f9f9;
      border-top:#ddd 1px solid;
    }
    .area_crime .area_pickup td,
    .area_population .area_pickup td
    {
      color:white;
      background-color:#515151;
    }
    .area_crime br,
    .area_population br{
      display:none;
    }
    .area_population td span{
      font-size:80%;
      margin-left:0.5em;
    }
    .area_population .text-left{
      text-align:left;
    }

    .area_rent_mt-3{
      margin-top:30px;
    }
    .area_rent_mt-3 th{
      width:25%;
    }
  /* 吹き出し本体 */
  .balloon{
    position: relative;
    padding: 20px;
    border-color:#fefefe;
    background-color:#f8f8f4;
    border-radius: 10px;         /* 角丸を指定 */
    margin:15px;
    margin-top:0;
    margin-bottom:30px;
  }
  .balloon .report-item{
      background-color:#ffffff;
      padding-left:0;
      padding-right:0;
  }
  .balloon .report-inner{
      border:none;
      margin:0;
  }
  .balloon .report-item.featured-report .report-info .report-title{
      width:100%;
  }
  .result-item .bukken-title{
      color:#00a0e9;
      font-weight:bold;
      font-size: 16px;
      display:block;
      margin-bottom:17px;
  }
  
  /* beforeで三角を表現 */
  .balloon::before{
    content: '';
    position: absolute;
    left: 20px;
    top: -15px;
    display: block;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #f8f8f4;
    border-left: 15px solid transparent;
  }
  .balloon::before::before{
    content: '';
    position: absolute;
    left: 20px;
    top: -16px;
    display: block;
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #aaaaaa;
    border-left: 15px solid transparent;
  }


  #specialhouses .result-info{
    padding-right:0;
  }

  .result-item .bukken-title{
      margin-bottom:10px;
  }

  .result-info .box_label{
    padding-left:30px;
    display:inline-block;
  }
  .slider-over-campain{
    position:absolute;
    background-color:rgba(255,0,0,0.5);
    width:100%;
    line-height:18px;
    bottom:0px;
    color:white;
    padding:20px 10px;
    z-index:99999999;
    overflow:hidden;
  }
  .slider-over-campain p{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin:0;
    font-size:12px;
    text-align:left;
  }
@media(max-width:1900px) and (min-width:1200px){
  #specialhouses .result-item{
    margin-bottom:0;
  }
  #specialhouses .result-info{
    padding:1.5% 2% 1% 2%;
  }
  #specialhouses .result-info .result-title{
    margin-bottom: 2%;
    font-size:100%;
  }
  #specialhouses .result-info .result-title h2{
    padding:1% 0;
    font-size:90%;
  }
  #specialhouses .result-info .result-title h2 b{
    margin-bottom:3%;
    font-size:110%;
  }
  #specialhouses .result-info .result-content{
    font-size:80%;
  }
  #specialhouses .result-info .result-content span{
    font-size:140%;
  }
  #specialhouses .result-info .result-control{
    margin-bottom:3%;
    margin-top:1%;
    font-size:90%;
  }
  #specialhouses .result-info .result-control p{
    font-size:90%;
  }
  #specialhouses .result-info .result-control .result-btn{
    padding:1%;
    font-size:100%;
    height:auto;
    max-height:40px;
    min-height:30px;
    line-height:100%;
  }
  #specialhouses .result-info .result-control .btn-favorite{
    max-height:40px;
    min-height:30px;
    height:auto;
    max-width:40px;
    min-width:30px;
    width:auto;
    padding:0;
  }
  #specialhouses .result-info .check-control{
    font-size:80%;
  }
  #specialhouses .result-info .check-control .house-check label{
    font-size:20px;
    line-height:100%;
  }
  
}

@media(min-width:1200px){

  #specialhouses .result-info{
    padding:0.5% 2% 0% 2%;
  }

  #specialhouses .result-info .result-title{
    margin-bottom: 0%;
    font-size:100%;
  }
}

@media(min-width:1300px){

  #specialhouses .result-info{
    padding:1.5% 2% 1% 2%;
  }

  #specialhouses .result-info .result-title{
    margin-bottom: 2%;
    font-size:100%;
  }
}

@media(min-width:1400px){

  #specialhouses .result-info .result-title h2 b{
    margin-bottom:3%;
    font-size:150%;
  }

  #specialhouses .result-info .result-content span{
    font-size:180%;
  }

}

@media(min-width:1500px){

  #specialhouses .result-info{
    padding: 15px 0px 0 20px;
  }
  #specialhouses .result-info .result-control{
    margin-bottom:10px;
    margin-top:10px;
  }

}

@media(min-width:1600px){
  
  #specialhouses .result-info .result-title h2{
    padding:15px 0;
    font-size:100%;
  }
}

@media(max-width:540px) {
  #specialhouses{
    margin-top:1em;
    padding-left:15px;
    padding-right:15px;
    min-height:auto;
    overflow:hidden;
  }
  .sp-swiper .slider-over-campain{
    /* zoom:80%; */
    padding-top:5px;
    padding-bottom:5px;
  }
  .sp-swiper {
    zoom:80%;
  }
}
@media(max-width:640px) {

  .area-guide ul.review {
    display:flex;
    flex-wrap: wrap;
    margin-bottom:1em;
  }

  .area-guide ul.review li{
    max-width:30%;
    margin:3px;
    font-size:11.5px;
    padding:3px;
    min-height:40px;
  }
  .result-item a{
    line-height:1.75em;
  }
  .result-info .box_label{
    padding-left:30px;
    display:inline-block;
    width: calc(100% - 30px)
  }
    .area_crime br,
    .area_population br
    {
      display:inline;
    }
    .area_population th, .area_population td {
      padding:2px;
      font-size:80%;
    }
   .area_population .pc-pl{
      padding-left:0;
    }
}