/* IMPORT CSS */
@import "drawer.css";


/*	STYLES */

/*------------------------------------------------------ Reset ------------------------------------------------------*/

html{
	font-size: 62.5%;
}

body{
	font-size: 1.4rem;
	line-height: 2.4rem;
	background: white;
}

h1,h2,h3,h4,h5{
	margin: 0;
	padding: 0;
}

ul{
	padding: 0;
	margin: 0;
}

li{
	list-style: none;
}

p{
	margin: 0;
	padding: 0;
}

a:hover{
	text-decoration: none;
}

/*イメージの下部の空白をなくす（箇所によってミドルに戻すこと）*/
img{
	vertical-align: bottom;
}


/*------------------------------------------------------ 追加 ------------------------------------------------------*/
/* add shirai 20161226 */
.senpai-box figure {
	height:230px;
}

.no-gutter [class*=col-] {
	padding-right: 0;
	padding-left: 0;
}

/*溝幅 10pxの場合*/
.gutter-10{
	margin-left:-5px;
	margin-right:-5px;
}
.gutter-10 > [class*='col-'] {
	padding-left:5px;
	padding-right:5px;
}

.MB5{
	margin-bottom: 5px;
}

.MB10{
	margin-bottom: 10px;
}

.MB20{
	margin-bottom: 20px;
}

.MB30{
	margin-bottom: 30px;
}

.MB40{
	margin-bottom: 40px;
}

.MB50{
	margin-bottom: 50px;
}


/*------------------------------------------------------ 共通 ------------------------------------------------------*/

#wrapper{
	width: 100%;
	padding: 140px 0 60px;
}

#wrapper .common-h1{
	margin-bottom: 60px;
}

.common-h1{
	xfont-size: 2.2rem;
	xfont-weight: bold;
	xcolor:#000c40;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 40px;
}

.common-h1:after{
	xcontent: '';
	xdisplay: block;
	xheight: 6px;
	xbackground: url(../images/common/pattern.png) repeat;
	xtext-align: center;
	xmargin-top: 10px;
}

.common-h2 {
	font-size: 1.8rem;
	font-weight: bold;
	color: #000c40;
	position: relative;
	padding: 25px 20px 25px 27px;
	background: #fbffff;
	background-image: -webkit-gradient(linear, 0 0, 100% 100%,color-stop(.25, #f0f8f8), color-stop(.25, transparent),color-stop(.5, transparent), color-stop(.5, #f0f8f8),color-stop(.75, #f0f8f8), color-stop(.75, transparent),to(transparent));
	-webkit-background-size: 7px 7px;
	margin-bottom: 30px;
}
.common-h2:after {
	position: absolute;
	top: 15px;
	left: 0;
	content: '';
	width:7px;
	height: -webkit-calc(100% - 30px);
	height: calc(100% - 30px);
	background-color: #a3bebe;
}

.common-h3 {
	font-size: 1.8rem;
	color: #000c40;
	position: relative;
	padding-bottom: 14px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 25px;
}
.common-h3:after {
	position: absolute;
	bottom: -2px;
	left: 0;
	z-index: 2;
	content: '';
	width: 24%;
	height: 3px;
	background-color: #a3bebe;
}

.common-btn{
	clear: both;
	display: block;
	width: 240px;
	margin: 0 auto;
	background: white;
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	color:#000c40;
	border: 1px solid #ddd;
	border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    line-height: 50px;
    margin-top: 30px;
}

.common-btn span.detail-btn{
    background: url(../images/common/detail.png) no-repeat  left center;
	background-size: 16px 18px;
	padding-left: 24px;
}

.common-btn span.list-btn{
    background: url(../images/common/list.png) no-repeat  left center;
	background-size: 18px 18px;
	padding-left: 25px;
}

.common-contents{
	overflow: hidden;
}

.common-article{
	overflow: hidden;
}

.common-img img{
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.common-list{
	padding: 0 10px;
}

.common-list li{
	font-size: 13px;
	background:url(../images/common/list-icon.png) no-repeat left top 7px;
	background-size:5px 8px;
	padding-left: 10px;
}

.common-list li:not(:first-child){
	margin-top: 10px;
}

.common-list li a{
	background: url(../images/common/blank.png) no-repeat right center;
	background-size:12px 10px;
	padding-right: 18px;
}

li.no-blank a{
	background: none;
}

#osusume-bukken{
	border-top: 1px solid #e7f1f1;
	border-bottom: 1px solid #e7f1f1;
	background-color: white;
	background-image: -webkit-gradient(linear, 0 0, 100% 100%,color-stop(.25, #F9F9F9), color-stop(.25, transparent),color-stop(.5, transparent), color-stop(.5, #F9F9F9),color-stop(.75, #F9F9F9), color-stop(.75, transparent),to(transparent));
	-webkit-background-size: 10px 10px;
}

#osusume-bukken header{
	background: white;
	border-bottom: 1px solid #e7f1f1;
}

#osusume-bukken header h1{
	font-size: 1.3rem;
	color: #555;
	background: url(../images/common/flag-icon.png) no-repeat left center;
	background-size: 14px 21px;
	padding: 10px 0 10px 23px;
	margin-left: 20px;
}

#osusume-bukken-list{
	display: flex;
	flex-wrap:wrap;
	justify-content: space-around;
	padding: 10px 0;
}

#osusume-bukken li:not(:first-child){
	xpadding-left: 15px;
}

#osusume-bukken a{
	display: block;
	margin: 5px 0;
}

#osusume-bukken a img{
	width: 100%;
}

/* ページャー */
.pager{
    margin-top: 30px;
    text-align:center;
    clear: both;
}

span.page-numbers a,
a.page-numbers,
.pager .current{
    border: solid 1px #ddd;
    padding:5px 9px;
    margin:0 2px;
    text-decoration: none;
    background:none;
}

.pager .current{
   background: #a3bebe;
    border: solid 1px #ddd;
     color: white;
}

.pager a:hover{
    color: white;
    border: solid 1px #ddd;
    background: #a3bebe;
}


#fade {
	width: 100%;
	height: 100%;
	display: none;
	position: absolute;
	background: #ffffff;
	top: 0px;
	left: 0px;
	z-index: 10000;
}

#preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; z-index: 99999; }
/*.spinner { text-align: center; width: 400px; height: 303px; background: url(images/loading.gif) no-repeat center center; position: absolute; left: 50%; top: 50%; margin: -190px 0 0 -201px; }*/
.spinner{
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -15px 0 0 -15px;
	width: 30px; /*ローディングアイコンの横サイズ*/
	height: 30px; /*ローディングアイコンの縦サイズ*/
	border-radius: 30px;  /*CSS3で円を書く*/
	border: 8px solid #a3bebe;  /*円に枠をつける*/
	border-right-color: transparent; /*円の右にC状の空きをつける*/

	-webkit-animation: spin 1s infinite linear; /*回転のアニメーションをつける*/
	-moz-animation: spin 1s infinite linear;
}
 /*キーフレームのアニメーションをつける*/
@-webkit-keyframes spin
{
	0% { -webkit-transform: rotate(0deg); opacity: 0.4; }
	50%  { -webkit-transform: rotate(180deg); opacity: 1; }
	100%   { -webkit-transform: rotate(360deg); opacity: 0.4; }
}

@-moz-keyframes spin
{
	0% { -moz-transform: rotate(0deg); opacity: 0.4; }
	50%  { -moz-transform: rotate(180deg); opacity: 1; }
	100%   { -moz-transform: rotate(360deg); opacity: 0.4; }
}


/*------------------------------------------------------ ヘッダー ------------------------------------------------------*/

#global-header{
	width: 100%;
	height: 80px;
	background: #f0f8f8;
	border-top: 1px solid #e7f1f1;
	border-bottom: 1px solid #e7f1f1;
}

#global-header header{
	width: 100%;
	xoverflow: hidden;
}

#global-header header h1{
	padding: 10px;
	float: left;
}

#global-header header h1 img{
	height: 60px;
}

.drawer-hamburger{
	display: block;
	top: 10px;
	z-index: 2100;
}

.drawer-nav{
	z-index: 2000;
	xoverflow: scroll;
}

.drawer-nav aside{
	height: 100%;
	overflow: auto;
	background: #fbffff;
	background-image: -webkit-gradient(linear, 0 0, 100% 100%,color-stop(.25, #f0f8f8), color-stop(.25, transparent),color-stop(.5, transparent), color-stop(.5, #f0f8f8),color-stop(.75, #f0f8f8), color-stop(.75, transparent),to(transparent));
	-webkit-background-size: 7px 7px;
	padding: 30px 20px 20px;
}

.drawer-nav h2{
	font-size: 1.6rem;
	font-weight: bold;
	padding-bottom: 20px;
}

.drawer-menu li a{
	font-weight: bold;
	display: block;
	background: #d3eaea;
	border-bottom: 1px solid #e7f1f1;
	padding: 13px 0 13px 10px;
}

.drawer-menu li ul li a{
	font-weight: normal;
	display: block;
	background: #f0f8f8;
	padding: 8px 0 8px 15px;
}

.drawer-overlay{
	z-index: 900;
}

/*========== ドロップダウンメニュー ==========*/

.dropmenu{
	display: none;
	*zoom: 1;
	list-style-type: none;
	width: 700px;
	float: right;
	padding: 0;
}

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

.dropmenu:after{
	clear: both;
}

.dropmenu li{
	position: relative;
	width: 25%;
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
}

.dropmenu li a{
	display: block;
	margin: 0;
	line-height: 108px;
	font-size: 1.6rem;
	font-weight: bold;
	color:#000c40;
	text-decoration: none;
}

.dropmenu li ul{
	list-style: none;
	position: absolute;
	z-index: 9999;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
}

.dropmenu li ul li{
	width: 100%;
}

.dropmenu li ul li a{
	line-height: 50px;
	font-size: 1.3rem;
	font-weight: normal;
	border-top: 1px solid #e7f1f1;
	background: #f6fcfc;
	text-align: left;
	padding-left: 10px;
}

.dropmenu li:hover > a{
	background: #d3eaea;
}

.dropmenu li a:hover{
	xbackground: #616d0b;
}

.dropmenu li .stay{
	background: #d3eaea;
}

#normal li ul{
	display: none;
}
#normal li:hover ul{
	display: block;
}

.second-gh{
	position: fixed;
	z-index: 1000;
}

#top-img{
	width: 100%;
	height: 260px;
	position: relative;
	background: #f1f1f1;
	top:80px;
}

#top-img span{
	display: block;
	position: absolute;
	z-index: 100;
	width: 100%;
	height: 260px;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.7, transparent), color-stop(.7, rgba(0,0,0,0.2)), to(rgba(0,0,0,0.2))),
-webkit-gradient(linear, 0 0, 100% 0, color-stop(.7, transparent), color-stop(.7, rgba(0,0,0,0.2)), to(rgba(0,0,0,0.2)));
	-webkit-background-size: 2px 2px;
}

.second-h1{
	font-size: 2.2rem;
	font-weight: bold;
	letter-spacing: 0.2rem;
	color:white;
	text-align: center;
	padding-top: 120px;
}

/*------------------------------------------------------ フッター ------------------------------------------------------*/

#footer-contents{
}

.footer-half-box{
	padding: 50px 50px ;
}

#footer-news{
	background: #f5f5f5;
}

#footer-news h3{
	background: url(../images/common/news-icon.png) no-repeat left center;
	background-size: 17px 16px;
	font-size: 1.7rem;
	padding: 0 0 0 25px;
}

#footer-news ul:before{
	content: '';
	display: block;
	height: 6px;
	background: url(../images/common/pattern.png) repeat;
	text-align: center;
	margin: 15px 0 10px;
}

#footer-news li{
	width: 100%;
	display: table;
	background: url(../images/common/dot.png) repeat-x bottom;
	padding: 13px 0;
}

#footer-news li span.time{
	display: table-cell;
	width: 110px;
	letter-spacing: 0.1em;
}

#footer-news li span.title{
	display: table-cell;
}

#footer-news ul a:hover{
	xbackground: #f4f7fa;
}

#footer-info{
	background: #eee;
}

#footer-info ul{
	display: flex;
	flex-wrap:wrap;
}

#footer-info li{
	padding: 0 5px 10px 5px
}

#footer-info h4{
	font-size: 1.6rem;
	padding:30px 0 10px 10px;
}

#footer-info p{
	padding-left: 10px;
}

#copy{
	font-size: 1.2rem;
	text-align: center;
	padding: 23px 0;
}


/*------------------------------------------------------ 空き家バンク ------------------------------------------------------*/

.bukken-type-box{
	position: absolute;
	right: 25px;
	top: 15px;
	z-index: 100;
}

.bukke-img-box figure{

}

.bukke-img-box figure img{
	width: 100%;
	xborder: 1px solid white;
	border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
     box-shadow:0px 0px 12px -4px #aaa;
	 -moz-box-shadow:0px 0px 12px -4px #aaa;
	 -webkit-box-shadow:0px 0px 12px -4px #aaa;
	 margin-top: 5px;
}

.bukken-kousyoutyu{
	font-size: 1.8rem;
	font-weight: bold;
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	background: rgba(255,255,255,0.7);
	z-index: 200;
	text-align: center;
	vertical-align: middle;
	padding-top:30%;
	margin: 0 10px;
}

.bukken-type-btn{
	display: block;
	font-size: 1.2rem;
	color: white;
	line-height: 28px;
	padding: 0 13px;
	border-radius: 3px;
    -webkit-border-radius:3px;
    -moz-border-radius: 3px;
    margin-bottom: 2px;
}

.type-tintai{
	background: rgba(9,23,83,0.8);
}

.type-baibai{
	background: rgba(151,5,91,0.8);
}

.type-takuchi{
	background: rgba(8,120,18,0.8);
}

.akiya-list article h3{
	font-size: 1.4rem;
	padding: 15px 0 10px;
}

.akiya-list article ul{
	padding-top: 0px;
}

.akiya-list article ul li{
	display: inline-block;
	font-size: 1.1rem;
	background: url(../images/common/tag.png) no-repeat left center;
	background-size: 14px 14px;
	padding-left: 17px;
}

.akiya-list article ul li:not(:first-child){
	margin-left: 5px;
}

.akiya-list article ul li a{
	color: #888888;
}

/*------------------------------------------------------ 移住情報 ------------------------------------------------------*/

.senpai-list .senpai-box{
	border: 5px solid #e7f1f1;
	background: rgba(255,255,255,1.0);
	border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

.senpai-list .senpai-box figure img{
	/*width: 100%;*/
	border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
	height: 100%;
	margin: 0 auto;
	display: block;
}

.senpai-list .senpai-box h3{
	font-size: 1.4rem;
	line-height: 1.8rem;
	padding: 15px 0 0;
	margin-bottom: 10px;
	xoverflow: hidden;
}

.senpai-list .senpai-box a{
	color: #000;
}


/*========== 768px〜991pxまで(lg) ==========*/

@media ( min-width : 768px ) and ( max-width : 991px ) {

.akiya-list .common-article article{
	margin-bottom: 20px;
	overflow: hidden;
}

#index-akiya .common-btn{
	margin-top: 0;
}

}


/*--------------------------- PC STYLES ---------------------------*/


/*========== 992px〜1190pxまで(lg) ==========*/

@media ( min-width : 992px ) {

#global-header header{
	width: 980px;
	margin: 0 auto;
}

#global-header{
	xposition: static;
	height: 110px;
}

#global-header header h1{
	padding-top: 17px;
	float: left;
}

#global-header header h1 img{
	height: 78px;
}

.drawer-hamburger{
	display: none;
}

#wrapper{
	padding: 180px 0 80px;
}

.dropmenu{
	 display: block;
	 width: 620px;
}

/*====================================
フェードイン
=====================================*/
ul.dropmenu li ul{
  visibility: hidden;
  opacity: 0;
  transition: 0s;
}
ul.dropmenu li:hover ul{
  visibility: visible;
  opacity: 1;
}
ul.dropmenu li ul li a{
  visibility: hidden;
  opacity: 0;
  transition: .5s;
}
ul.dropmenu li:hover ul li a{
  visibility: visible;
  opacity: 1;
}

/*
#global-header nav{
	display: block;
	float: right;
	overflow: hidden;
}

#global-header nav ul{
	float: right;
	font-size: 0;
}

#global-header nav ul li{
	display: inline-block;
	font-size: 1.5rem;
	font-weight: bold;
	xmargin-left: 20px;
}

#global-header nav ul li a{
	color:#000c40;
	display: block;
	line-height: 105px;
	padding: 0 20px;
}

#global-header nav ul li a:hover{
	border-bottom: 5px solid #a3bebe;
}

#global-header nav ul li.stay a{
	display: block;
	border-bottom: 5px solid #a3bebe;
}
*/

#top-img{
	top:110px;
}

#osusume-bukken header h1{
	width: 840px;
	margin: 0 auto;
}

#osusume-bukken article{
	width: 800px;
	margin: 0 auto;
}

#osusume-bukken-list{
	width: 840px;
	margin: 0 auto;
}

#footer-contents{
	display: flex;
}

.footer-half-box{
	flex: 1 1 50%;
}

.footer-half-box{
	padding: 50px 30px ;
}

#footer-info ul{
	padding-top: 30px;
}

}

/*========== 1200px以上(xl) ==========*/

@media ( min-width : 1200px ) {

#global-header header{
	width: 1100px;
}

.dropmenu{
	 width: 700px;
}

#osusume-bukken header h1{
	width: 960px;
}

#osusume-bukken article{
	width: 850px;
}

.footer-half-box{
	padding: 50px 60px ;
}

}


/*========== 991px以下 ==========*/

@media ( max-width : 991px ) {

#global-header{
	position: fixed;
	top:0;
	z-index: 1500;
}

}

/*--------------------------- SMARTPHONE STYLES ---------------------------*/


/*========== 768px以下(sm) ==========*/

@media ( max-width : 767px ) {

#wrapper{
	padding: 120px 0 50px;
}

.common-h1{
	margin-bottom: 30px;
}

.common-h2 {
	font-size: 1.6rem;
	padding: 20px 15px 20px 27px;
	margin-bottom: 20px;
}

.common-h3 {
	font-size: 1.5rem;
}

#osusume-bukken header h1{
	margin-left: 15px;
}

#osusume-bukken-list{
	width: 260px;
	display:block;
	margin: 0 auto;
}

#osusume-bukken li:not(:first-child){
	padding-left: 0;
}

.akiya-list .common-article article{
	margin-bottom: 10px;
	overflow: hidden;
}

#index-akiya .common-btn{
	margin-top: 0;
}

}


/*========== 650px以下(xs) ==========*/

@media ( max-width : 650px ) {

.footer-half-box{
	padding: 30px 20px ;
}

#osusume-bukken article{
	width: 300px;
	margin: 0 auto;
}

.akiya-list article h3{
	xfont-size: 1.4rem;
	padding: 10px 0 5px;
}

.akiya-list article ul{
}

}
