@charset "utf-8";
/* CSS Document */
html{
    height: 100%;
    font-size: 62.5%;}
    body {
        background: #fafafa;
        font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS P Gothic', sans-serif;
        font-size: 1.4rem;
        color: #333;
        letter-spacing: 0.05em;
        line-height: 1.8;
        margin: 0;
      }
body *{
box-sizing: border-box;
padding: 0;
margin: 0;
}
      a{
        text-decoration:none;
        color: #333;
      }
      a:hover{
       color: #1d469c;
      }

ul li{
    list-style-type: none!important;
}
h1, h2, h3, h4{
    margin: 0;
    font-size: 100%;
    font-weight: normal;
  }
  
  p{
    margin: 0;
  }
  
  /* head-nav */

  header{
    background-color: rgba(255,255,255,0.9); 
    position: fixed;
    top: 0;
left: 0;
margin: auto;
right: 0;
z-index: 1000;
  }
#head-nav {
    height: 65px;
width:960px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
#head-nav ul{
    padding-left: 50px;
}
#head-nav ul li{
    display: inline;
}
#head-nav ul li a{
    font-weight: bold;
    margin-right: 10px;
}

.contact a{
    background-color: #1d469c;
display: block;
color: #fff;
font-weight: bold;
width: 140px;
text-align: center;
padding: 10px 5px;
border-radius: 20px;
line-height: 1;
}

.contact a span{
    vertical-align: middle;
    margin-right: 7px; 
    padding-bottom: 5px;
}
/* slider */

.bxslider li {
    display: none; /*読み込み時は非表示*/
  }
  .bx-viewport .bxslider li {
    display: block !important; /*JSが読み込まれたら表示*/
  }

.top-slide{
    margin-top: 65px;
    width: 100vw;
    height: auto;
}
.top-slide .bxslider{
margin: 0;
overflow: hidden;
width: 100%;
height: 40vw;
}
.top-slide .bx-wrapper{
    box-shadow: none;
border: none;
background: none;
}

.top-slide .bx-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.top-slide .bx-wrapper .bx-pager.bx-default-pager a.active{
    background: #007fc8;
}
.top-slide .bx-wrapper .bx-pager.bx-default-pager a{
    background: #dcdcdc;
    width: 15px;
height:15px;
border-radius: 15px;
}
.section {
    width:960px;
    margin: 0 auto ;
    padding-bottom: 80px;
}
.bg-blue .section{
    padding: 0;
    margin-bottom: 60px;
}
.top-slide ul.bxslider li{
    width: 100%;
height: auto;
}

/* main-nav */
.main-nav {
    width: 960px;
    margin: 0 auto 40px;
}
.main-nav ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.main-nav ul li a{
    line-height: 1.4;
    display: block;
    width: 200px;
background-color: #def2fd;
font-weight: bold;
padding: 20px;
border-radius: 15px;
text-align: center;
font-size: 1.8rem;
height: 160px;
}
.main-nav ul li a span{
    display: block;

}
.main-nav ul li:first-of-type a span{
    margin-top: 10px;

}

.main-nav ul li:last-of-type a span{
    margin-top: 15px;
}
.main-nav ul li:last-of-type a {
    padding-top: 50px;
}

.main-nav ul li a:hover{
opacity: 0.8;
}

.ttl-box {
    position: relative;
    margin-bottom: 110px;
}

.ttl{
    position: absolute;
    text-align: center;
    right: 0;
left: 0;
bottom: -90px;
}

.ttl h2{
    font-size: 3.4rem;
    position: relative;
}

.ttl h2::after{
    content: "";
    width: 30px;
    height: 3px;
    background-color: #2b97d3;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
p.text{
    font-size: 1.6rem;
}
#sharehouse,#apartment01,#apartment02,#company{
    margin-top: -65px;
    padding-top: 65px;
}

#main .bn-area{
    text-align: center;
    padding: 30px 0 50px;
}

#main .bg-blue{
background-color: #def2fd;
}
#main .bg-gray{
    background-color: #f5f5f5;
    }

footer p{
    background-color: #1d469c;
text-align: center;
color: #fff;
}

/* 会社概要 */

.section-company h2{
    text-align: center;
font-size: 3.4rem;
font-weight: bold;
margin: 0 0 20px;
}
.section-company{
    width: 840px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.section-company table{
    width: 100%;
font-size: 1.6rem;
border-collapse: collapse;
}
.section-company table tr{
    border-bottom: 1px dotted #626262;
}
.section-company table th,
.section-company table td{
    padding: 10px;
}
.section-company table th{
    font-size: 1.5rem;
    padding: 10px 10px 10px 20px;
    width: 180px;
text-align: left;
vertical-align: top;
}
.pagetop{
    position:fixed;
    right:20px;
    bottom:20px;
    cursor:pointer;
    text-align: center;
    line-height: 1.2;
}
.pagetop a {
    display: block;
    border-radius:45px;
	background:rgba(153,204,233,0.8);
	padding:20px 5px 5px;
    width: 70px;
    height: 70px;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
text-align: center;
}
@media (min-width: 640px) {
.pc_none{
    display: none;
}
}
@media (max-width: 639px) {
    .sp_none {
        display: none !important;
      }
      .top-slide {
        margin-top: 50px;}
      header{
        height: 50px;
        display: block;
        background-color: rgb(255, 255, 255);
      }
      body img{
          max-width: 100%;
          height: auto;
          box-sizing: border-box;
      }
#head-nav-sp{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}
#head-nav-sp .sp-header-right{
    display: flex;
}

#head-nav-sp .logo h1 img{
    width: 130px;
height: auto;
}
#nav{
    width: 100%;
    background-color: #fff;    
    text-align: center;
}

#nav ul.nav li a{
    color: #1d469c;
    display: block;
font-size: 16px;
font-weight: bold;
padding: 10px;
border-bottom: #1d469c 1px dotted;
}
.sp-menu-close{
    display: block;
    padding: 10px;
width: 150px;
margin: 0 auto;
font-size: 16px;
}

.sp-menu-close img{
    vertical-align: middle;
    margin-right: 5px;
}

.contact a{
    padding: 9px 10px 7px;
    background-color: #1d469c;
    border-radius: 8px;
    width: auto;
    margin-right: 15px;
}

.contact a span {
    margin-right: 0;

}
.contact a span img{
    width: 20px;
    height: 14px;
}

.sp-header-right .sp-menu{
    margin-top: 2px;
}

.sp-header-right .sp-menu img{
    vertical-align: middle;
}
.top-slide .bx-wrapper .bx-pager{
    padding-top: 10px;
}
.top-slide .bx-wrapper .bx-pager, .top-slide .bx-wrapper .bx-controls-auto{
    bottom: -22px;  
}

.top-slide .bx-wrapper .bx-pager.bx-default-pager a{
    width: 13px;
height: 13px;
}
.main-nav {
    width: auto;
    margin: 10px;
}

.main-nav ul{
    flex-wrap: wrap;
margin: 0 auto;
}
	.main-nav ul li{
		width: 45%;
	}
.main-nav ul li a{
width: 100%;
height: 27vw;
padding: 10px;
border-radius: 8px;
font-size: 4vw;
margin-bottom: 15px;
}

.main-nav ul li a img{
    width: 45px;
}
.main-nav ul li:last-of-type a{
    padding-top: 30px;
}
.main-nav ul li:last-of-type a img{
    width: 100px;
}
.section{
    width: auto;
    margin: 10px;
    padding-bottom: 70px;
}
.ttl h2{
    font-size: 5vw;
}
p.text {
    font-size: 4vw;
}
.ttl img{
    width: 40px;
}
.ttl{
    bottom: -13vw;
}
#apartment02 .ttl{
    bottom: -19vw;/* 高齢者向けアパートの調整 */
    line-height: 1.5;
}
#apartment02 .ttl-box {
    margin-bottom: 26vw;
}
.ttl h2::after{
    bottom: -5px;
}

.ttl-box{
    margin-bottom: 20vw;
}

.bn-area p img{
    width: 220px;
}
.bg-blue .section {
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.section-company{
    width: auto;   
    padding: 10px;
}
.section-company h2{
    font-size: 5vw;
}
.section-company table th, .section-company table td{
    padding: 5px;
}
.section-company table th{
    font-size: 4vw;

    width: 100px;  
}
.section-company table{
    font-size: 4vw;
    table-layout: fixed;
    word-wrap: break-word;
}
.section-company iframe{
    width: 100%;
height: auto;
}
#main .bn-area{
    padding: 15px 0 0;
}
#sharehouse, #apartment01, #apartment02, #company{
    margin-top: -50px;
padding-top: 50px;
}
footer p{
    font-size: 14px;
}
.pagetop{
    right: 10px;
}
.pagetop a {
    width: 60px;
    height: 60px;
    font-size: 13px;
	padding: 16px 5px 5px;
}
}