/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* 一括で全ての要素の余白をゼロに指定 */
* {
 padding: 0;
 margin: 0;
}

body {
background: #ffffff;
width:100%;
text-align: center;
}
a {
  text-decoration: none;
}
a:link { color:#fff; text-decoration:none }
a:visited { color:#fff; text-decoration:none }
a:hover { color:#fff; text-decoration:none }
a:active { color:#fff; text-decoration:none }
#box{
width:960px;
background: #fffff4;
text-align: center;
}
/* ヘッダー */
a {
text-decoration: none;
}
#header{
  width: 960px;
  height: 90px;
  margin:0 auto;
  color: #1b5fc3;
  padding-top: 10px;
}
#header h1 {
  width: 280px;
  height: auto;
  float:left;
  margin-right: 270px;
  position: relative;
	padding: .25em 0 .5em .5em;
	border-left: 6px solid #ccc;
}
h1::before {
	position: absolute;
	left: -6px;
	bottom: 0;
	content: '';
	width: 6px;
	height: 50%;
	background-color: #3498db;
}
h1::after {
	position: absolute;
	left: 0;
	bottom: 0;
	content: '';
	width: 100%;
	height: 0;
	border-bottom: px solid #ccc;
}
#header-text{
  width: 150px;
  height: 30px;
  float:left;
  font-weight: bold;
  font-size: 20px;
  padding: 15px 10px;
  color: #fff;
  background-color: #1b5fc3;
  border-bottom: 4px solid #2E3191;
  border-radius: 15px;
}
#header-text p{
  color: #fff;
}
}
#header-text2{
  width: 200px;
  height: 100px;
  float:left;
}
#header-text2 p{
  text-align: left;
  padding-left: 10px;
  font-size: 20px;
  font-weight: bold;
}
#tel-time{
  font-size: 10px;
  text-align: left;
  padding-left: 10px;
  color: #696969;
}
#header-text2 p img {
 vertical-align: top;
 border: 0;
 margin-right: 5px;
}
/* ナビゲーションバ */
#nav{
  width: 960px;
  height: 70px;
}
.list-nav{
 width:960px;
 height: 70px;
 margin:0 auto;
 list-style: none;
}
.list-nav:after {//フロート解除用クリアフィックス
 content: "";
 clear: both;
 display: block;
}
.list-nav li{
 float:left;
 width:240px; //ナビの幅960px
}
.list-nav a{
 display:block;
 line-height:70px;
 height:70px;
 text-align:center;
 background:#fff;
 color:#000;
 border-right:1px solid #F7F7F7;
 text-decoration:none;
}
a:hover{
 background-color:#F7F7F7;
 border-bottom: 2px solid #2CA5DF;
}
.list-nav li:first-child a{
 border-left:1px solid #F7F7F7;
}


/* test-box */
#test-box{
  width: 960px;
  height: 450px;
  margin: 0 auto;
  background-color: #000;
}
/* 新着物件 */
#sb{
  width: 960px;
  text-align: center;
  margin:0 auto;
  padding-top: 80px;
}
h2{
  width: 960px;
  height: 50px;
  text-align: left;
	border-bottom: 3px solid #1B5FC3;
}
dl,dt,dd{
  line-height : 1;
}
#sample{
  width: 960px;
  margin: 0 auto;
  padding-top: 50px;
}
div{
  overflow : hidden;
}

/* --- お知らせ --- */
#news{
  width: 780px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}
div.update {
width: 780px; /* 新着情報エリアの幅 */
font-size: 80%;
border-bottom: 3px solid #2CA5DF;
}
/* --- 見出し --- */
h3{
  width: 780px;
  height: 50px;
  margin: 0 0 1px; /* 見出しのマージン（上、左右、下） */
  text-align: left;
	border-bottom: 3px solid #2CA5DF;
}
/* --- 新着リスト --- */
div.update dl {
width: 100%; /* 新着リストの幅 */
margin-top: 10px;
border-top: 1px #c0c0c0 dotted; /* 新着リストの上境界線 */
border-left: 0px;
border-bottom: 0px;
}
/* --- 日付エリア --- */
div.update dt {
width: 6.7em; /* 日付エリアの幅 */
float: left;
padding: 7px 0 6px 3px; /* 日付エリアのパディング（上右下左） */
line-height: 120%;
}
/* --- 本文エリア --- */
div.update dd {
margin: 0;
padding: 7px 3px 6px 6.6em; /* 本文エリアのパディング（上右下左） */
border-bottom: 1px #c0c0c0 dotted; /* 本文エリア下境界線 */
line-height: 120%;
}
/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}
/* --- リンク --- */
#link{
  width: 100%;
  height: auto;
  margin-top: 100px;
  margin-bottom: 50px;
  background-color: #c0c0c0;
  padding-top: 20px;
  text-align: center;
  display: -webkit-inline-box;
}
#link-box{
  width: 960px;
  margin: auto;
  display: -webkit-box;
}
#link-box0{
  text-align: center;
  width: 400px;
  height: 100px;
}
#link-box1{
  text-align: center;
}
#link-box2{
  height: 100px;
  margin: auto;
  display: flex;
}
#link-box2 a{
  background-color: #c0c0c0;
}
#link-box3{
  width: 450px;
  height: 80px;
  padding-top: 20px;
  padding-left: 40px;
  margin-bottom: 20px;
  margin-left: 40px;
  text-align: left;
  border-left: double 10px #808080;
}
/* --- フッダー --- */
#footer{
  width: 960px;
  height: 100px;
  margin:0 auto;
}
#footer h1 {
  width: 300px;
  height: 100px;
  float:left;
  color: #1b5fc3;
  margin: auto;
  text-align: left;
}
.footer-list{
  width: 1000px;
  margin: auto;
}
#footer-text{
  width: 330px;
  height: 100px;
  padding: 0 auto;
  float:left;
  text-align: left;
  font-size: 15px;
}
#footer-text2{
  width: 170px;
  height: 100px;
  padding: 0 auto;
  float:left;
  text-align: left;
  color: #1b5fc3;
  font-size: 17px;
}
#footer-text3{
  width: 130px;
  height: 100px;
  padding: 0 auto;
  float:left;
  text-align: left;
  font-size: 14px;
}
#footer3{
  height: 40px;
  padding-top: 15px;
  background-color: #6E6E6E;
  color: #fff;
}

/* ==========================================================================
   物件販売
   ========================================================================== */
.top-text{
  width: 100%;
  height: 130px;
  margin-top: 30px;
  border-bottom: 3px solid #2CA5DF;
  font-family: "Sawarabi Mincho";
}
.top-text-x{
  font-size: 50px;
}
.top-text-r{
  font-size: 20px;
  color: #1b5fc3;
}
.box-1{
  width: 960px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: left;
}
.box-1-1{
  float: left;
}
.box-1-2{
  width: 500px;
  height: 100px;
  padding-top: 20px;
  padding-left: 30px;
  font-size: 30px;
  font-family: "Hannari";
}
.box-1-3{
  width: 500;
  height: 170px;
  padding-left: 30px;
  font-family: "Hannari";
}
.box-2{
  width: 960px;
  height: 50px;
  margin: auto;
  font-size: 40px;text-align: left;
  border-bottom: 3px solid #2CA5DF;
}
.box-3{
  width: 900px;
  height: auto;
  margin: auto;
  text-align: left;
  line-height: 250%;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
}
.button {
	position: relative;
  padding: 5px;
	background-color: #1b5fc3;
	border-radius: 4px;
	color: #fff;
	line-height: 52px;
	-webkit-transition: none;
	transition: none;
	box-shadow: 0 3px 0 #0101DF;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
.button:hover {
	background-color: #2CA5DF;
	box-shadow: 0 3px 0 #5858FA;
}
.button:active {
	top: 3px;
	box-shadow: none;
}
/* おすすめ物件*/
#box-name{
  font-size: 20px;
  text-align: right;
}
.bukken-box-text{
  width: 300px;
  height: 50px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 50px;
  font-size: 40px;
  text-align: center;
  border-bottom: 2px solid #2CA5DF;
  font-family: "Sawarabi Mincho";
}
#bukken{
  width: 100%;
  height: 500px;
  margin-top: 20px;
  margin-bottom: 100px;
  background-image: url(../img/04-polish-wood.png);
  background-position: center center;
	background-size: 100%;
}
.bukken-box-x{
  width: 960px;
  margin: auto;
  display: flex;
}
.bukken-box{
 width: 475px;
 margin-top: 30px;
}
.bukken-box-1-2{
  width: 150px;
  height: 30px;
  margin: auto;
  color: #fff;
  background-color: #1b5fc3;
}
.bukken-box-1-2 a:link  {
  color : #fff;
}
/* 物件*/
#bukken2{
  width: 100%;
  margin-bottom: 100px;
}
.bukken-box-r{
  width: 980px;
  height: auto;
  margin: auto;
  margin-bottom: 10px;
}
.bukken-box-r-0{
  width: 440px;
  height: 300px;
  padding: 20px;
  border: 1px solid #6E6E6E;
  display: inline-flex;
}
.bukken-box-r-1{
  margin-left: 20px;
  text-align: left;
  width: 200px;
}
.bukken-box-1-1 p{
  padding: 5px;
}
.bukken-box-r-1-1 p{
  padding: 6px;
}
.bukken-box-r-1-2{
  color: #fff;
  background-color: #1b5fc3;
}
.bukken-box-r-1-2 a:link  {
  color : #fff;
}
.bukken-box-r-img{
  width: 280px;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
