@charset "utf-8";
/*画面横幅が1500px以下の場合*/
@media only screen and (max-width: 1500px) {
  .h1bgbulding,
  .h1bgrealestate,
  .h1bgowner,
  .h1bgcompanyprofile,
  .h1bghouse,
  .h1bgform {
    height: auto;
    width: 100%;
    margin: 0 auto;
  }
  .h1bgbulding .inner,
  .h1bgrealestate .inner,
  .h1bgowner .inner,
  .h1bgcompanyprofile .inner,
  .h1bghouse .inner,
  .h1bgform .inner {
    position: relative;
    top: 0;
    left: 50%;
    width: 80%;
    height: auto;
    padding: 33.33333% 0 0;
    margin: 0 0 0 -40%;
    -webkit-transform: translate3d(0, 0, 0);
    z-index: 9;
  }

  .h1bghouse {
    background: url(../img/house/h1.jpg) no-repeat top center;
    background-size: contain;
  }

  .h1bgcompanyprofile {
    background: url(../img/companyprofile/h1.jpg) no-repeat top center;
    background-size: contain;
  }

  .h1bgrealestate {
    background: url(../img/realestate/h1.jpg) no-repeat top center;
    background-size: contain;
  }

  .h1bgowner {
    background: url(../img/owner/h1.jpg) no-repeat top center;
    background-size: contain;
  }

  .h1bgbulding {
    background: url(../img/building/h1.jpg) no-repeat top center;
    background-size: contain;
  }

  .h1bgform {
    background: url(../img/form/h1.jpg) no-repeat top center;
    background-size: contain;
  }

  .top-contents {
    margin: 52.53333% 0 0;
  }

  .contents-wrap {
    margin: 33.33333% 0 0;
  }

  h1 {
    position: absolute;
    top: 44%;
    left: 0;
    width: auto;
    height: auto;
    padding: 0;
  }

  #pclayout .googlemap {
    width: 100%;
    position: relative;
    padding-bottom: 30%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
  }
  #pclayout .googlemap iframe,
  #pclayout .googlemap object,
  #pclayout .googlemap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
/*画面横幅が1000px以下の場合*/
@media only screen and (max-width: 1000px) {
  #pclayout #nakahead-r {
    width: auto;
  }

  #pclayout .nakahead-navibox {
    font-size: 12px;
  }

  #pclayout #nakahead-l {
    width: 23.23126%;
  }

  #main-slide .lead {
    bottom: 7.61421%;
  }

  #pclayout .cp1,
  #pclayout .cp2,
  #pclayout .cp3 {
    line-height: 1.4;
    margin: 0 0 5px;
  }

  #pclayout .cp1,
  #pclayout .cp3 {
    clear: both;
  }
}
/*画面横幅が960px以下の場合*/
@media only screen and (max-width: 960px) {
  .topworktitle br {
    display: none;
  }
}
/*画面横幅が950px以下の場合*/
@media only screen and (max-width: 950px) {
  #pclayout .thumb50 {
    float: none;
    width: 100%;
    padding: 0;
  }
  #pclayout .thumb50 h4 {
    margin-top: 3.15789%;
  }

  #pclayout .cp1,
  #pclayout .cp3 {
    width: 25%;
  }

  #pclayout .cp2 {
    width: 75%;
  }
}
/*画面横幅が870px以下の場合*/
@media only screen and (max-width: 870px) {
  .pc-hide {
    display: block;
  }

  .sp-topmenu {
    display: block;
    float: right;
    margin: 5px 5px 5px 0;
    cursor: pointer;
  }

  .h1bgcompanyprofile,
  .h1bghouse,
  .h1bgowner,
  .h1bgbulding,
  .contents-wrap,
  .h1bgrealestate,
  .h1bgform {
    top: 40px;
  }

  #topnavibox .active {
    height: 29px;
    width: 29px;
    background: url(../img/navitop/spmenu_on.png) no-repeat;
  }
  #topnavibox .active img {
    opacity: 0;
  }

  .thumb-topnavit-r a:hover img,
  #nakahead-r a:hover img {
    opacity: 100;
    -moz-opacity: 1;
    opacity: 1;
  }

  #nakahead-r .active {
    height: 29px;
    width: 29px;
    background: url(../img/navinaka/spmenu_on.png) no-repeat;
  }
  #nakahead-r .active img {
    opacity: 0;
  }

  #pclayout #topnavi {
    height: auto;
  }

  #pclayout #nakahead {
    height: auto;
  }

  #pclayout #nakaheadlayout,
  #pclayout #topnavibox {
    position: relative;
    height: 40px;
    z-index: 99999;
    text-align: center;
  }
  #pclayout #nakaheadlayout .inner,
  #pclayout #topnavibox .inner {
    width: 96.15385%;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
  }

  #pclayout .nakahead-navibox,
  #pclayout .thumb-topnavit-l {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    float: none;
    width: 100%;
    padding-top: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
  }

  #pclayout #nakaheadlayout a,
  #pclayout #topnavi a {
    color: #333;
  }
  #pclayout #nakaheadlayout a:visited,
  #pclayout #topnavi a:visited {
    color: #333;
  }

  #pclayout .nakahead-navibox div,
  #pclayout .thumb-topnavit-l div {
    float: none;
    width: 100%;
    margin: 0;
    text-align: left;
    border-bottom: 1px solid #ccc;
  }
  #pclayout .nakahead-navibox div a,
  #pclayout .thumb-topnavit-l div a {
    display: block;
    position: relative;
    height: auto;
    line-height: 50px;
    background: #fff;
    padding: 0 0 0 20px;
    font-size: 14px;
  }
  #pclayout .nakahead-navibox div a:after,
  #pclayout .thumb-topnavit-l div a:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    margin: -4px 0 0;
    background: url(../img/sparrow.png) no-repeat;
  }

  #pclayout #nakahead-r {
    padding: 5px 0;
  }

  #pclayout #nakahead-l {
    width: 109px;
  }

  .sp-nakamenu {
    display: inline-block;
    height: 29px;
    width: 29px;
    margin: 0 8px 0 0;
    cursor: pointer;
  }
  .sp-nakamenu img {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
  }

  .mr20 {
    display: none;
  }

  #main-slide .lead {
    position: absolute;
    left: -30px;
  }
}
/*画面横幅が840px以下の場合*/
@media only screen and (max-width: 840px) {
  .h1bgowner h1,
  .h1bgbulding h1,
  .h1bgform h1 {
    top: 40%;
  }
  .h1bgowner h1 span,
  .h1bgbulding h1 span,
  .h1bgform h1 span {
    display: block;
    padding: 0;
  }
}
/*画面横幅が800px以下の場合*/
@media only screen and (max-width: 800px) {
  .topworktitle {
    font-size: 1em;
  }

  .worktext {
    font-size: 0.9em;
  }

  .lead {
    padding: 0 2.5% 0;
    line-height: 1.4;
  }

  .copyright {
    padding: 3.75% 0;
  }

  .top-catch .lead {
    width: 100%;
    padding: 0;
  }
  .top-catch .lead img {
    width: 82.125%;
  }

  #pclayout .googlemap {
    padding-bottom: 43.75%;
  }
}
/*画面横幅が680px以下の場合*/
@media only screen and (max-width: 680px) {
  #pclayout .thumbfooter-l {
    line-height: 140%;
    float: none;
    width: 100%;
    font-size: 0.9em;
    padding: 0;
  }
  #pclayout .thumbfooter-l img {
    margin: 0 0 5px;
  }

  #pclayout .thumbfooter-r {
    float: none;
    width: 100%;
    text-align: left;
    padding: 0;
    margin: 0 0 5.88235%;
  }
}
/*画面横幅が640px以下の場合*/
@media only screen and (max-width: 640px) {
  .top-catch .lead {
    width: auto;
    padding: 0;
  }
  .top-catch .lead img {
    width: inherit;
  }
  .top-catch .lead .pc-main {
    display: none;
  }
  .top-catch .lead .sp-main {
    display: block;
  }

  .h1bgowner h1,
  .h1bgbulding h1,
  .h1bgform h1 {
    top: 40%;
    font-size: 2em;
  }
  .h1bgowner h1 span,
  .h1bgbulding h1 span,
  .h1bgform h1 span {
    display: block;
    padding: 0;
  }

  #pclayout .cp1,
  #pclayout .cp3 {
    width: 30%;
  }

  #pclayout .cp2 {
    width: 70%;
  }

  #pclayout .textarea-1 {
    display: block;
    width: 100%;
  }

  .form {
    font-size: 0.9em;
  }
  .form textarea,
  .form input[type="text"] {
    padding: 7px 5px;
    margin: 10px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .formerror textarea,
  .formerror input[type="text"] {
    margin: 0;
  }

  .list-box {
    width: 100%;
    margin: 0;
  }

  #pclayout .thumb4 {
    width: 40.625%;
    padding: 0;
    margin: 0 0 6.25% 6.25%;
  }
}
/*画面横幅が500px以下の場合*/
@media only screen and (max-width: 500px) {
  #pclayout .cp1,
  #pclayout .cp3 {
    width: 35%;
    font-size: 0.9em;
  }

  #pclayout .cp2 {
    width: 65%;
    font-size: 0.9em;
  }
}
/*画面横幅が480px以下の場合*/
@media only screen and (max-width: 480px) {
  #pclayout .tel a {
    color: #06C;
  }

  #main-slide .lead {
    position: absolute;
    top: 50%;
    left: 0;
    margin: -4.6875% 0 0;
    width: 57.8125%;
  }

  .h1bgowner h1,
  .h1bgbulding h1,
  .h1bgform h1 {
    top: 40%;
    font-size: 1.5em;
  }

  .h1bgrealestate h1,
  .h1bgcompanyprofile h1,
  .h1bghouse h1 {
    top: 40%;
    font-size: 2em;
  }

  .ttl-text {
    margin: 0 0 5.35714%;
    font-size: 1.4em;
    line-height: 1.4;
  }

  .lead-text {
    margin: 0;
    line-height: 1.7;
  }
  .lead-text br {
    display: none;
  }

  .topimgarrow {
    bottom: 1.52284%;
    height: 12px;
    width: 20px;
    margin: 0 0 0 -60px;
    padding: 50px 50px 0;
  }

  .nakaimgarrow {
    height: 12px;
    width: 20px;
    margin: 0 0 0 -60px;
    padding: 50px 50px 1.52284%;
  }

  #pclayout .contents .inner {
    width: 87.5%;
    margin-left: auto;
    margin-right: auto;
  }
  #pclayout .contents .inner2 {
    width: 93.75%;
    margin-left: auto;
    margin-right: auto;
  }
  #pclayout .contents .inner2 .copyright {
    font-size: 0.8em;
    width: 106.66667%;
    margin: 0 0 0 -3.33333%;
    padding: 16.66667% 0 10%;
  }

  .list-box,
  .inner-box {
    width: 100%;
  }

  #pclayout .thumb1-l {
    float: none;
    width: 100%;
    margin: 0 0 7.14286%;
    padding: 0;
  }

  #pclayout .thumb1-r {
    overflow: hidden;
    float: none;
    width: 100%;
    padding: 0;
  }

  #pclayout .thumb2-l {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #pclayout .thumb2-r {
    float: left;
    width: 100%;
    padding: 0;
  }
  #pclayout .thumb2-r h4 {
    line-height: 1.4;
  }
  #pclayout .thumb2-r h5 {
    margin-bottom: 9px;
    font-size: 0.9em;
    line-height: 1.4;
  }
  #pclayout .thumb2-r p {
    line-height: 1.6;
  }

  #pclayout #showcase {
    display: none;
  }

  #slide {
    background-color: #8E9DC3;
    height: auto;
    padding: 6.25% 0;
    margin: 6.25% 0 0;
  }
  #slide div {
    padding: 0;
  }
  #slide div p {
    margin: 0 20px;
  }
  #slide div img {
    max-width: 100%;
    margin: 0 auto;
  }

  .slideFrame {
    display: none;
  }

  .formgo {
    padding: 14.28571% 0;
  }

  .list-box {
    width: 114.28571%;
    margin: 0 0 0 -7.14286%;
  }

  #pclayout .thumb75 {
    float: none;
    width: 100%;
    padding: 0;
  }
  #pclayout .thumb75 h3 {
    line-height: 1.4;
  }
  #pclayout .thumb75 p {
    line-height: 1.5;
  }

  #pclayout .thumb25 {
    float: none;
    width: 100%;
    padding: 0;
    margin: 7.14286% 0 0;
  }

  #pclayout .thumb4 {
    width: 40.625%;
    padding: 0;
    margin: 0 0 6.25% 6.25%;
  }

  #pclayout .thumbfooter-r {
    margin: 0 0 10.71429%;
  }

  .copyright {
    font-size: 0.8em;
    width: 114.28571%;
    margin: 0 0 0 -7.14286%;
    padding: 16.66667% 0 10%;
  }

  .mt50,
  .mt80 {
    margin-top: 8.92857%;
  }

  .pt50 {
    padding-top: 8.92857%;
  }

  #pclayout .googlemap {
    padding-bottom: 78.125%;
  }

  .form-lead {
    margin: 0 0 3.57143%;
    line-height: 1.4;
  }

  .tyuui {
    line-height: 1.4;
  }

  h3 {
    line-height: 1.4;
    font-size: 1.5em;
  }

  .textarea-1-text {
    margin: 5px 0 0;
    line-height: 1.4;
  }

  #pclayout .textarea-1 {
    margin: 0 0 5px;
  }

  .form h3 {
    font-size: 1.8em;
  }
  .form .tel {
    width: 55.55556%;
  }

  label {
    font-size: 0.85em;
  }
}
