/* モバイル・タブレット用 */
.touch #main,
.touch #overLayer {
  width: 1024px;
  -webkit-transition: margin-top 0.4s liner;
}
.touch #main section,
.touch #main section img.bg,
.touch #main section .slide article {
  height: 768px;
  width: 1024px;
}
.touch #main.scroll section {
  height: auto !important;
}
.touch #sidebar {
  height: 300%;
  position: absolute;
}
.touch #overLayer {
  left: 0;
  margin: 0;
  top: 0;
}
.touch #news #main section {
  height: 800px;
}
.touch #btn_scroll {
    position: absolute;
}

/* 共通 */
#sub_page {
  min-height: 768px;
  min-width: 1024px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* 上下スクロールボタン */
#btn_scroll {
    bottom: 0;
    left: 54%;
    position: fixed;
    text-indent: -9999px;
    width: 121px;
    z-index: 2;
}
#btn_scroll .up,
#btn_scroll .down {
    float: left;
}
#btn_scroll .up a,
#btn_scroll .down a {
    background: url("../img/btn_scroll.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 60px;
    width: 60px;
}
#btn_scroll .up {
    margin: 0 0 0 1px;
}
#btn_scroll .up a {
    background-position: -60px 0;
}

/* ポップアップ */
#glayLayer {
  background: none repeat scroll 0 0 #EAEAEA;
  height: 134%;
  left: 0;
  opacity: 0.85;
  position: fixed;
  top: 0;
  width: 134%;
  z-index: 1;
}
#overLayer {
  height: 768px;
  left: 50%;
  margin-left: -512px;
  margin-top: -384px;
  position: fixed;
  top: 50%;
  width: 1024px;
  z-index: 1;
}
#overLayer div.close {
  background: url("../img/btn_close.png") no-repeat scroll 0 0 transparent;
  cursor: pointer;
  height: 60px;
  position: absolute;
  right: 0;
  text-indent: -9999px;
  width: 60px;
  z-index: 1;
}
#overLayer section .content {
  padding: 40px 0 0 240px!important;
  overflow: visible!important;
}
#overLayer section .content article {
  width: 330px;
  padding: 0;
}
#overLayer section .content article div img {
  display: block;
}
#overLayer section .content article .contact_us{
  display:block;
  background: url("../img/btn_contact_us.gif") scroll 0 0 transparent;
  width: 162px;
  height: 38px;
  margin: 0 0 0 74px;
  text-indent: -9999px;
}
#overLayer section .content article p {
  font-size: 26px;
  margin: 0 0 20px 0;
  color: #000000;
}
#overLayer section .content > img {
  position: absolute;
  right: 0;
  top: 0;
}
#overLayer section .content table {
  width: 312px;
  margin: 0 0 20px 0;
}
#overLayer section .content table tr td {
  border-bottom:1px dotted #000000;
  font-size: 12px;
  padding: 10px 0;
  line-height: 1.8;
}
#overLayer section .content ul {
  overflow: hidden;
}
#overLayer section .content ul li {
  float: left;
}
#overLayer section .content #tab > ul li a {
  display: block;
  width: 156px;
  height: 30px;
  background-image: url("../img/tab.png") ;
  background-position: 0 -30px;
  text-indent: -9999px;
}
#overLayer section .content #tab > ul li:nth-of-type(2) a {
  background-position: -156px 0;
}
#overLayer section .content #tab > ul li.active a {
  background-position: 0 0;
}
#overLayer section .content #tab > ul li:nth-of-type(2).active a {
  background-position: -156px -30px;
}
#overLayer section .content #tab > div:nth-of-type(2) {
  display: none;
}
#overLayer section .content #tab > div #gallery ul li {
  padding: 10px 10px 20px 0;
}

/* 別荘建築 */
#villa #main section header {
  background-image: none!important;
  text-align: center;
}
#villa #main section header h2 {
  background: url("../villa/img/section_header_h2.png") no-repeat scroll 0 0 transparent;
  display: inline-block;
  height: 99px;
  margin: 0 0 0 200px;
  width: 623px;
}
#villa #main section#p3 header h2 {
  background-position: 0 -100px;
}
#villa #main section#p4 header h2 {
  background-position: 0 -200px;
}
#villa #main section#p5 header h2 {
  background-position: 0 -300px;
}
#villa #main section header h2:before {
  background: url("../villa/img/section_header_icon.png") no-repeat scroll 0 0 transparent;
  content: " ";
  height: 99px;
  left: 200px;
  position: absolute;
  width: 100px;
}
#villa #main section header nav {
  background: url("../villa/img/section_header_nav.png") no-repeat scroll 0 0 transparent;
  height: 99px;
  left: auto;
}
#villa #main section#p3 header h2:before,
#villa #main section#p3 header nav {
  background-position: -100px 0;
}
#villa #main section#p4 header h2:before,
#villa #main section#p4 header nav {
  background-position: -200px 0;
}
#villa #main section#p5 header h2:before,
#villa #main section#p5 header nav {
  background-position: -300px 0;
}

/* 新津組の家づくり */
#build #main section#p1 article {
  width: 35%;
}
#build #main section#p2 table tr.top td:nth-child(1) a {
  background: url("../build/img/sec2_01.jpg") no-repeat scroll 0 0 transparent;
}
#build #main section#p2 table tr.top td:nth-child(2) a {
  background: url("../build/img/sec2_02.jpg") no-repeat scroll 0 0 transparent;
  margin: 0 0 0 9px;
}
#build #main section#p2 table tr.top td:nth-child(3) a {
  background: url("../build/img/sec2_03.jpg") no-repeat scroll 0 0 transparent;
}
#build #main section#p2 table tr.bottom td:nth-child(1) a {
  background: url("../build/img/sec2_04.jpg") no-repeat scroll 0 0 transparent;
  margin: 0 10px 0 0;
}
#build #main section#p2 table tr.bottom td:nth-child(2) a {
  background: url("../build/img/sec2_05.jpg") no-repeat scroll 0 0 transparent;
  margin: 0 0 0 10px;
}

/* 会社情報 */
#company #main section#p3 article #tab > ul {
  margin: 0 15px 0 0;
  width: 150px;
}
#company #main section#p3 article #tab > ul li a {
  background: none repeat scroll 0 0 transparent;
  font-size: 12px;
  padding: 0;
}
#company #main section#p3 article #tab > ul li.active a {
  background: url("../img/arrow.gif") no-repeat scroll 100% 50% transparent;
}
#company #main section#p3 article #tab div {
  float: left;
  overflow: hidden;
  width: 545px;
}
#company #main section#p3 article #tab div:not(:nth-of-type(1)) {
  display: none;
}

/* 個人情報保護方針 */
#privacy #main section p {
  color: #000000;
}

/* 実績一覧 */
.lt-ie9 #achieve .popup li a {
  border: 5px solid #CCCCCC;
  display: block;
  overflow: hidden;
}
.lt-ie9 #achieve .popup li a img {
  margin: -5px;
}
html:not(.lt-ie9) #achieve .popup li {
  position: relative;
}
html:not(.lt-ie9) #achieve .popup li a:after {
  border: 5px solid #FFFFFF;
  content: " ";
  display: block;
  height: 102px;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 102px;
}
