@charset "utf-8";

/***********************************

【hack覚書】
★Internet Explorer 6のみ適用
* html .hogehoge{}

★Internet Explorer 7のみ適用
*+html .hogehoge{}

★Internet Explorer 8のみ適用
html>/＊＊/body .hogehoge{
	プロパティ/＊\＊＊/ : 値\9;
}
（＊は小文字に直してから使用してください。）

top
***********************************/

@import "base.css?t";

body {
  background-image: url("../img/bg.png");
}

.img_r {
  float: right;
  margin: 0 0 10px 10px;
}

/* メインスライド部分
************************************/
#main_carousel {
  position: relative;
  width: 930px;
  margin-bottom: 20px;
  text-align: center;
}

#main_carousel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  top: 0px;
  z-index: 1;
}

#main_carousel li {
  margin: 0 5px 0 0;
  display: block;
  float: left;
}
#main_carousel .pagination {
  text-align: center;
  margin-top: -35px;
  margin-bottom: 15px;
  position: relative;
  z-index: 100;
}

#main_carousel a.prev {
  background: url(../img/btn_back.png) left top no-repeat transparent;
  left: 0px;
}

#main_carousel a.next {
  background: url(../img/btn_back.png) right top no-repeat transparent;
  left: 918px;
}
a.prev,
a.next {
  position: absolute;
  top: 120px;
  height: 20px;
  width: 12px;
  display: block;
  z-index: 90;
}
a.prev span,
a.next span {
  display: none;
}

.adviserList a {
  color: #00f;
}

.center {
  text-align: center;
}

.bigslide .pagination {
  text-align: center;
  margin-top: -40px;
  position: relative;
  padding: 5px 0;
  z-index: 100;
  background: url(../img/bg_gray.png) left top repeat-x;
}
.pagination a {
  background: url(../img/icon_pagination.png) 0 top no-repeat transparent;
  width: 20px;
  height: 20px;
  margin: 0 3px 0 0;
  display: inline-block;
}
.pagination a.selected {
  background-position: -26px top;
  cursor: default;
}
.pagination a span {
  display: none;
}
.clearfix {
  float: none;
  clear: both;
}

div.greeting {
  margin-bottom: 15px;
  width: 928px;
  height: 172px;
  background-image: url("../img/bnr_greeting.png");
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  outline: none;
}

div.greeting img {
  margin-top: 140px;
  margin-left: 15px;
}

ul.greeting {
  margin-right: -6px;
  margin-bottom: 10px;
  overflow: hidden;
}

ul.greeting li {
  margin-right: 5px;
  float: left;
}

ul.search_box {
  padding: 0;
  float: left;
  margin: 120px 0 0 -300px;
}

ul.search_box li {
  float: left;
}

ul.search_box li a {
  text-indent: -9999px;
  width: 140px;
  height: 30px;
  background-image: url("../img/bg_property-select.png");
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  outline: none;
}

ul.search_box li.search1 a {
  background-position: 0px 0px;
}

ul.search_box li.search2 a {
  background-position: -140px 0px;
}

ul.search_box li.search1 a:hover,
ul.search_box li.search1 a.on {
  background-position: left -30px;
}

ul.search_box li.search2 a:hover,
ul.search_box li.search2 a.on {
  background-position: -140px -30px;
}

div.support {
  padding: 60px 0 10px 200px;
  background-image: url("../img/img_support.png");
  background-repeat: no-repeat;
  overflow: hidden;
}

div.support img {
  margin-top: -5px;
}

div.bukken_search {
  margin-bottom: -50px;
  padding: 5px 0 15px 310px;
  background-image: url("../img/bg_bukken_search.png");
  background-repeat: no-repeat;
  overflow: hidden;
}

div.bukken_search dl {
  width: 309px;
  height: 70px;
}

div.bukken_search dt {
  margin-top: 5px;
}

div.bukken_search dd {
  float: left;
  width: 40px;
  padding-left: 10px;
}

div.zennet_search {
  margin: 10px 0 6px;
  padding: 5px 0 30px 310px;
  background-image: url("../img/bg_zennet_search.png");
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 20px;
}

div.zennet_search dl {
  width: 309px;
  height: 70px;
  background-color: #ffffff;
}

div.zennet_search dt {
  margin-top: 5px;
}

div.zennet_search dd {
  float: left;
  width: 40px;
  padding-left: 10px;
}

h2 {
  margin-bottom: 10px;
}

#slideshow {
  position: relative;
  height: 240px;
  margin-bottom: 20px;
}
#slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
}
#slideshow img.active {
  z-index: 10;
}
#slideshow img.last-active {
  z-index: 9;
}

div.search {
  background-image: url("../img/bg_search.png");
  background-repeat: no-repeat;
  background-position: left top;
  height: 190px;
  margin-bottom: 18px;
}

div.search ul {
  margin: 103px 0 0 0;
  width: 310px;
}

div.search ul li {
  float: left;
  margin: 0 10px 2px 0;
  margin-bottom: 2px;
}

div.search ul.buy {
  color: #ff6600;
  float: left;
  margin-left: 150px;
}

div.search ul.buy li {
  min-width: 90px;
}

div.search ul.buy a {
  color: #ff6600;
}

div.search ul.rent {
  color: #669900;
  float: right;
  margin-right: 15px;
}

div.search ul.rent li {
  min-width: 70px;
}

div.search ul.rent a {
  color: #669900;
}

/* #contents
*********************************************************************/
div.box1 {
  font-size: 100%;
  overflow: hidden;
  width: 930px;
  padding: 60px 10px 10px;
  margin: 15px;
  background-image: url("../img/bg_box1.png");
  background-repeat: no-repeat;
  background-position: left top;
}

#contents ul.advice li {
  float: left;
  height: 150px;
}

#contents ul.advice li.advice {
  width: 617px;
  background-image: url("../img/bg_advice.png");
  background-repeat: no-repeat;
}

#contents li.advice div.description {
  margin-top: 40px;
}

#contents li.advice span.date {
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 2px;
  padding: 2px;
  background-color: #ffff6c;
  display: inline-block;
}

#contents li.advice small {
  font-size: 85%;
}

#contents ul.advice li.qa {
  width: 617px;
  background-image: url("../img/bg_qa.png");
  background-repeat: no-repeat;
  background-position: left top;
}

#contents li.qa div.description {
  margin-top: 60px;
}

div.box1 li {
  float: left;
}

div.topics {
  clear: both;
  overflow: hidden;
  padding: 0 2px 20px 2px;
  margin-bottom: 15px;
  background-image: url("../img/bg_topics.png");
  background-repeat: no-repeat;
  background-position: left top;
}

#contents ul.topics_list {
  border-bottom: 3px solid #666666;
  margin: 10px 0;
  overflow: hidden;
  display: flex;
}

#contents ul.topics_list li {
  margin-left: 5px;
}

#contents ul.topics_list li a {
  height: 27px;
  display: block;
  outline: none;
  border: 1px solid gray;
  border-radius: 0.5em 0.5em 0 0;
  background-image: url(../img/news_bg_01.png);
  text-decoration: none;
  padding: 0.3em 1.1em 0;
  font-weight: bold;
  color: black;
}

#contents ul.topics_list li a:hover,
#contents ul.topics_list li a.on {
  background-image: url(../img/news_bg_02.png);
  color: white;
}

#contents ul.photo_list li {
  margin: 0 20px 10px 0;
  float: left;
  width: 240px;
}

#contents dl.topics_detail {
  clear: both;
  height: 310px;
  padding-left: 10px;
  margin-right: 5px;
  overflow-y: scroll;
}

#contents dl.topics_detail > dt {
  clear: both;
  margin-left: 1em;
  margin-bottom: 10px;
}

#contents dl.topics_detail > dd {
  margin-right: 10px;
}

#contents dl.topics_detail > dt span.new {
  color: #ff0000;
}

/*
#contents dl.topics_detail > dt.general{
	width: 130px;
	background-image: url('../img/icon_general.png');
	background-repeat: no-repeat;
	background-position: right top;
}
*/

#contents dl.news > dt.year {
  margin: 0;
}

#contents dl.news > dd {
  padding: 0 0 20px 65px;
  margin: -2.3em 10px 20px 0;
  border-bottom: 1px #666666 dotted;
}

#contents dl.topics_detail dt strong {
  font-size: 135%;
  margin: 0 5px;
}

#contents dl.topics_detail dd strong {
  display: block;
}

#contents dl.topics_detail .underline {
  text-decoration: underline;
}

#contents dl.detail dd {
  margin: -1.5em 0 5px 80px;
}

#contents dl.detail2 dd {
  margin: -1.5em 0 5px 50px;
}

#contents dl.detail3 dd {
  margin: -1.5em 0 5px 7em;
}

#contents ul.point li {
  margin-left: 0.5em;
  text-indent: -0.5em;
}

#contents dl.bnr_box {
  margin-right: -13px;
  margin-bottom: 10px;
  clear: both;
  overflow: hidden;
}

#contents dl.bnr_box dd {
  line-height: 130%;
  float: left;
  margin: 0 13px 10px 0;
}

#contents dl.bnr_box dd img {
  vertical-align: middle;
}

#contents ul.menu {
  font-size: 90%;
  margin-left: -14px;
}

#contents ul.menu > li {
  margin-left: 14px;
  padding: 20px 12px 0 12px;
  float: left;
  height: 287px;
  width: 198px;
  background-image: url("../img/bg_menu.png");
  background-repeat: no-repeat;
}

#contents ul.menu dt {
  /* margin-bottom: 10px; */
  margin-bottom: 5px;
}

#contents ul.menu strong {
  font-size: 135%;
  display: block;
  margin-bottom: 5px;
  border-bottom: 1px #333333 dotted;
  line-height: 1.4;
}

#contents table.data {
  margin-bottom: 20px;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  width: 100%;
}

#contents table.data th {
  background-color: #dddddd;
  padding: 5px;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  text-align: center;
}

#contents table.data td {
  padding: 5px;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  text-align: center;
}

#contents span.title {
  font-weight: bold;
}

#contents table.legal {
  width: 100%;
  border-top: 1px #999999 solid;
  border-left: 1px #999999 solid;
}

#contents table.legal th,
#contents table.legal td {
  padding: 5px;
  border-right: 1px #999999 solid;
  border-bottom: 1px #999999 solid;
}

#sidebar div.company_box {
  clear: both;
  background-image: url("../img/bg_company.png");
  background-repeat: no-repeat;
  padding: 8px 10px 30px;
}

#sidebar h3 {
  color: #ffffff;
  font-weight: bold;
  font-size: 110%;
  padding: 3px 10px;
  background-color: #595757;
}

#sidebar div.facebook_box {
  background-color: #e7e8e8;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

#sidebar div.facebook {
  margin-left: 10px;
  height: 162px;
  width: 253px;
  background-image: url("../img/bg_facebook.png");
  background-repeat: no-repeat;
}

#sidebar div.facebook .link {
  padding: 132px 0 0 20px;
}

#sidebar div.facebook_box p {
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: bold;
  padding: 3px 10px;
  background-color: #41ad26;
}

#sidebar ul.member {
  margin-bottom: 20px;
}

#sidebar ul.etc {
  margin-top: 10px;
}

#sidebar ul.etc li {
  margin-bottom: 2px;
}

/* #footer
*********************************************************************/
#footer ul li a {
  background-image: none;
  padding-left: 0px;
}

/* ブラウザ互換
*********************************************************************/
* + html #contents li.advice div.description {
  margin: 10px 0 2px;
}

/* レスポンシブ
*********************************************************************/

#contents #main p {
  margin: 0;
}

@media screen and (max-width: 949px) {
  #main_carousel {
    margin-bottom: 25px;
  }
  #main_carousel .pagination {
    margin-top: -2px;
  }
  #main_carousel li {
    margin: 0;
  }
  div.rabbynet_demo p {
    margin: 0 !important;
  }
  ul.greeting {
    margin-bottom: 5px;
  }
  div.search {
    height: auto;
    background-image: none;
    background-color: #fdfefa;
    border: 1px solid #ddd;
  }
  div.search h2 {
    color: #e75617;
    background-color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0;
    padding-top: 0.2rem;
    border: 2px solid #bfd975;
    box-shadow: 0em -0.2em 1em 0.1em rgb(0 0 0 / 5%) inset;
  }
  div.search h3 {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
    border-top: 5px solid #94b43a;
    box-shadow: 0em -0.2em 1em 0.1em rgb(0 0 0 / 15%) inset;
  }
  div.search .search_buy_wrapper h3 {
    background-color: #ee7700;
  }
  div.search .search_buy_wrapper h3 span {
    font-size: 1rem;
  }
  div.search .search_rent_wrapper h3 {
    background-color: #53980c;
  }
  div.search .search_rent_wrapper h3 span {
    font-size: 1rem;
  }
  div.search ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0.5rem !important;
    width: 95%;
    padding: 0;
  }
  div.search ul li {
    font-size: 0.7rem;
    width: 50%;
    min-width: max-content !important;
    margin: 0.5rem 0;
  }

  .greeting .greet h4 {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.5rem;
    box-shadow: 0em -0.2em 1em 0.1em rgb(0 0 0 / 2%) inset;
    border: 2px solid#beba8f;
  }
  .greeting .greet p {
    font-size: 0.8rem;
    background-color: #f7f7f7;
    padding: 0.5rem;
  }
  .greeting .greet img {
    width: 100%;
  }

  .greeting .greet .yamashita_name {
    display: inline-block;
    text-align: right;
    width: 100%;
  }

  .greeting .greet .yamashita_name span {
    font-size: 1.2em;
  }

  ul.greeting li {
    margin: 0;
  }

  #contents ul.menu {
    display: flex;
    font-size: 0.6rem;
    margin: 0;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
  }

  #contents ul.menu strong {
    font-size: 0.8rem;
  }

  #contents ul.menu > li {
    width: 45%;
    height: auto;
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.2rem 0.5rem 0.2rem;
    background-image: none;
    background-color: #fbfbfb;
    border: 2px solid #ddd;
    border-radius: 5px;
  }
  #contents ul.menu img {
    width: 100%;
  }

  div.topics {
    background-image: none;
    padding: 0;
    border: 2px solid #666;
  }
  #contents ul.topics_list {
    flex-wrap: wrap;
    margin: 0;
  }
  #contents ul.topics_list li {
    width: 100%;
    margin: 0;
  }
  #contents ul.topics_list li a {
    padding: 0.3em 1.1em;
    border-radius: 0;
  }
  #contents dl.topics_detail {
    padding: 0.2rem;
    margin: 0;
    font-size: 0.7rem;
    background-color: #FFF;
  }
  #contents dl.topics_detail > dt {
    display: inline;
  }
  #contents dl.topics_detail > dd {
    padding: 0;
    margin: 0;
  }
  #contents dl.topics_detail > dd img {
    width: 100%;
  }
  #contents dl.bnr_box * {
    width: 100%;
  }
  #contents dl.bnr_box.sp_flex {
    overflow: scroll;
    display: flex;
  }
  #contents dl.bnr_box.sp_flex dd img {
    width: 60vw;
    max-width: 300px;
  }
  #sidebar div.company_box {
    background-image: none;
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 0 0 0.3em 0.3em;
    box-shadow: 0px 0px 3px 0px;
  }
  #sidebar div.company_box img {
    width: 100%;
  }
  #sidebar .sp_bottom_bnr {
    width: 98%;
    margin: auto;
  }
  #sidebar .sp_bottom_bnr a {
    width: 100%;
  }
  #sidebar .sp_bottom_bnr img {
    width: 100%;
  }
  #sidebar ul.etc {
    width: fit-content;
    margin: auto;
  }
}
