@charset "utf-8";

/* 当社取り扱いの物件情報 */
/* タブメニューの設定 */
.tabs {
  overflow: hidden;
}

.list-tab {
  border-bottom: 1px solid;
  display: flex;
  justify-content: center;
  margin: 0 -2px;
}

.list-tab>li {
  background-color: rgb(156, 155, 155);
  border-left: solid 1px;
  border-radius: 9px 9px 0 0;
  border-right: solid 1px;
  border-top: solid 1px;
  cursor: pointer;
  display: block;
  padding: 0.5em 1em;
  width: 22%;
}

.list-tab .is-active {
  background: white;
  border-bottom: none;
  margin-bottom: -0.1rem;
}

.tabs__body {
  /* 選択タブ以外を非表示 */
  display: none;
  margin-top: 1.5rem;
}

.tabs__body.is-active {
  /* 選択タブを表示 */
  display: block;
}

.wrap-tabs__body {
  font-size: 1.1rem;
}

/* コンテンツの背景色_奇数 */
#bknList1>div:nth-child(odd),
#bknList2>div:nth-child(odd),
#bknList3>div:nth-child(odd),
#bknList4>div:nth-child(odd) {
  background-color: #eeeeee;
}

/* コンテンツの背景色_偶数 */
#bknList1>div:nth-child(even),
#bknList2>div:nth-child(even),
#bknList3>div:nth-child(even),
#bknList4>div:nth-child(even) {
  background-color: white;
}

/* 賃貸住居用・貸店舗・貸事務所 */
/* コンテンツの設定 */
.tabs__contain .content {
  align-items: stretch;
  display: flex;
  justify-content: space-between;
}

.tabs__contain.content .info .text td {
  padding-right: 0.5rem;
}

.text_detail {
  margin: 3%;
}

.text_detail tr th ,
.info tr th{
  width: 9rem;
}

.tabs__contain .content .img {
  width: 40%;
}

.tabs__contain .info .f_red {
  font-weight: bold;
}

.tabs__contain .content .info,
.tabs__contain .content .info_img {
  padding: 0 0.1rem;
  width: 45%;
}

.tabs__contain .content .info_img,
.tabs__contain .content_sale .info_img {
  align-items: center;
  display: flex;
  width:30%;
}

/* PDF */
.pdf_s,
.pdf_m:after {
  background: url(../img/pdf_24.png) no-repeat;
  content: " ";
  display: inline-block;
  height: 24px;
  width: 24px;
}

/* 売買情報 */
.tabs__contain .content_sale {
  display: flex;
}

.content_sale .col-4 {
  width: 35%;
}

.content_sale .col-8 {
  width: 65%;
}

th,
td {
  padding-right: 1rem;
  vertical-align: top;
}

/* ==========================================================================
  レスポンシブ対応用メディアクエリー
   ========================================================================== */
/* 画面サイズによって文字サイズを変更 */
/* PC */
@media only screen and (min-width: 1200px) {
  /* 文字サイズ変更 */
  .tabs{
    font-size: 1.2rem;
  }
}
/* タブレット横, PC */
@media only screen and (max-width: 792px) {
  /* 文字サイズ変更 */
  .tabs{
    font-size: 1.0rem;
  }
}
   /* タブレット横, PC */
@media only screen and (max-width: 792px) {

  table{
    border-collapse: separate;
  }
  th {
    background-color: #eeeeee;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
  }

  th,
  td {
  padding-right: 0;
}

  /* 当社取り扱いの物件情報 */
  /* タブメニューの設定 */
  .wrap-tab {
    margin: auto;
    width: 95%;
  }

  /* コンテンツの背景色_奇数 */
  #bknList1>div:nth-child(odd),
  #bknList2>div:nth-child(odd),
  #bknList3>div:nth-child(odd),
  #bknList4>div:nth-child(odd) {
    background-color: white;
  }

  /* コンテンツの設定 */
  #bknList1,
  #bknList2,
  #bknList3,
  #bknList4 {
    background-color: #eeeeee;
    font-size: 1.2rem;
    padding: 4rem 0;
  }

  .tabs__body .content,
  .tabs__body .content_sale {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5);
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    margin-bottom: 3rem;
    padding: 1rem;
    width: 80%;
  }

  .tabs__body .content .info_img,
  .content_sale .info_img,
  .content_sale .col-4,
  .content_sale .col-8 {
    width: 100%;
  }

  .tabs__body .content .info_img,
  .content_sale .info_img {
    margin-bottom: 1rem;
    justify-content: center;
  }

  .tabs__body .content .info {
    padding: 0 0.3rem;
    width: 50%;
  }

  .text_detail {
    margin: 0;
  }

  th {
    padding-left: 4px;
    width: 9rem;
  }

  .content_sale th {
    width: 11rem;
  }

  /* 賃貸住居用・貸店舗・貸事務所 */
/* コンテンツの設定 */
.tabs__contain .content .info_img,
.tabs__contain .content_sale .info_img {
  width: 100%;
  display: flex;
  justify-content: center;
}
.tabs__contain .content .info_img a,
.tabs__contain .content_sale .info_img a{
  width:50%
}
}

/* スマートフォン横、タブレット縦j */
@media only screen and (max-width: 550px) {
  .tabs__body .content .info {
    padding: 0 0.3rem;
    width: 100%;
  }

  /* コンテンツの設定 */
  .tabs__body .content .img,
  .tabs__body .content .info,
  .tabs__body .content_sale .info,
  .content_sale .col-4,
  .content_sale .col-8 {
    width: 100%;
  }

  .tabs__body .content,
  .tabs__body .content_sale {
    width: 85%;
  }
}