@charset "utf-8";
/* CSS Document */

/*全体の設定----------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	height: 100%;
	font-size: 14px;	/*ベースフォント　画面幅900px以上再設定*/
}

body {
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #333;		/*全体の文字色*/
	line-height: 2;		/*行間*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {
	margin: 0px 0px 10px 0px; /* メニューの下 10px開ける */
	padding: 0;
}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*section全般の設定*/
section + section {
	padding-top: 30px;	/*sectionの間に空けるスペース*/
}





/*リンクテキスト全般の設定-----------------------------------------------------*/
a {
	color: #54adf1;	/*文字色*/
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: #54adf1;	/*マウスオン時の文字色*/
}


/*container---------------------------------------------------------------*/
#container {
	max-width: 1500px;				/*幅*/
	margin: 0 auto;
	height: 100%;
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}


/*header------------------------------------------------------------------*/
/*ヘッダーエリア*/
header {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。上下中央に配置されるように。*/
	flex: 0 0 auto;
	height: 120px;					/*ヘッダーの高さ*/
	padding: 20px;					/*ヘッダー内の余白*/
	background-image: url("../images/title_bg.png");
	box-sizing: border-box; /* 1 */
    background-repeat: no-repeat; /* 2 */
}

/*ロゴ画像*/
header #logo {
	line-height: 0;
	/*margin: 0;*/
	width: 600px;		/*ロゴ画像の幅*/
	margin-right: 80px;	/*右側スペース。ハンバーガーに重ならないよう*/
}

header span {
	width: 240px;		/*ロゴ画像の幅*/
}


/*ハンバーガーメニュー-------------------------------------------------------*/
/*３本バーエリア*/
#menubar_hdr {
	display: block;
	position: fixed;z-index: 100;
	top: 25px;		/*上*/
	right: 20px;	/*右*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	cursor: pointer;
	background: rgba(0,0,255,0.6) url(../images/ham.png) no-repeat center top/50px;/*背景色、ハンバーガメニュー画像の読み込み、50pxは幅の指定*/
}
/*×印が出ている状態の設定。*/
#menubar_hdr.ham {
	background: #1b18a2 url(../images/ham.png) no-repeat center bottom/50px;
}


/*メニュー設定　all------------------------------------------------------------*/
#menubar ul {
	list-style: none;margin: 0;padding: 0;
	background: #1b18a2;	/*背景色。諸事情あって、下のbackgroundのグラデーションのどちらかの色を抜いて下さい。*/
}

/*メニュー1個あたりの設定*/
#menubar ul a {
	display: block;text-decoration: none;
	background: linear-gradient(#81b4f9, #1b18a2);/*背景グラデーション*/
	color: #fff;		/*文字色*/
	padding: 15px 20px;	/*上下、左右へのメニュー内の余白*/
}

/*マウスオン時のメニュー色*/
#menubar > ul > li > a:hover {
	filter: brightness(1.2);	/*少しだけ明るくする*/
}

/*ドロップダウンメニューのリンクタグ*/
#menubar .ddmenu {
	cursor: default;	/*リンク要素のカーソルを矢印に変更しておく*/
}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f078";	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	font-weight: bold;	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 1em;	/*アイコンとテキストとの間に空けるスペース*/
}


/*メニューの設定-------------------------------------------------------------*/
#menubar {height: 0px;overflow: hidden;}

/*2023/07/26追加*/
#menubar {
	animation: opa1 0.5s 0.3s both;	/*0.3秒の間だけ非表示にし、その後0.5秒かけてフェードイン表示*/
	position: relative;z-index: 1;	/*スライドショーの下に隠れないようにするため*/
}

/*小さな端末用のメニューエリア*/
#menubar.db {
position: fixed;overflow: auto;z-index: 99;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 90px 20px;				/*上下、左右へのメニューエリア内の余白*/
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒の事で0.8は色が80%出た状態。*/
}


/*ドロップダウンメニュー------------------------------------------------------*/
#menubar .ddmenu_parent ul {display: none;}

/*ドロップダウンメニュー1個あたりの設定*/
#menubar .ddmenu_parent ul a {
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}

/*マウスオン時*/
#menubar .ddmenu_parent ul a:hover {
	background: #fafafa;	/*背景色*/
	color: #54adf1;			/*文字色*/
}


/*contents-----------------------------------------------------------*/
#contents {
	min-height: 0%;		/*IE対策*/
	flex: 1 0 auto;
}


/*main設定-----------------------------------------------------------*/

main {
	display: block;			/*IE対策*/
	margin: 50px 3% 0px;	/*上、左右、下スペース*/
}

/*h2タイトル*/
main h2 {
    position: relative;
    background: #eff4ff;
    padding: 2px 5px 2px 20px;
    font-size: 20px;
    color: #474747;
    border-radius: 0 10px 10px 0;
	margin-left: 1em;
}

main h2:before {

	font-family: "Font Awesome 6 Free";
    font-weight: 400;
	font: var(--fa-font-brands); /*Font Awesome のver6では設定するらしい*/
    color: white;
    font-size: 19px;

    content: "\f1cb";
	
	
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;
    background: #81a1e4;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.35em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.29);
    border-bottom: solid 2px #4967b4;
}

/*mainエリア内のh3タグ*/
main h3 {
	border-bottom: 4px solid #81a1e4;	/*下線の幅、線種、色*/
	padding: 20px 20px 0px;			/*上、左右、下への余白*/
}

/*mainエリアのpタグ*/
main p {
	margin: 0 20px 30px;	/*上、左右、下へ空けるスペース*/
}


/*フッターメニュー設定--------------------------------------------------------*/
#footermenu {
	background: #77a7e8;	/*背景色*/
	color: #fff;		/*文字色*/
	font-size: 0.7rem;	/*文字サイズ。*/
	padding: 20px;		/*ボックス内の余白*/
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
	text-align: center;		/*内容をセンタリング*/
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: #fff;	/*文字色*/
}

/*リンクテキストのマウスオン時*/
#footermenu a:hover {
	color: #0000ff;	/*文字色*/
}

/*ulタグ（メニューの列単位）*/
#footermenu ul {
	margin: 0;
	padding: 0 2px;
	flex: 1;
	list-style: none;
}

/*title*/
#footermenu .title {
	font-weight: bold;		/*太字にする*/
	color: #ccc;			/*文字色*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}


/*フッターSNSアイコン設定--------------------------------------------------------*/
#footersns {
	background: #275CA4;	/*背景色*/
	color: #fff;		/*文字色*/
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 3px 0 1px;
}
#footersns ul {
	margin: 0;
	padding: 0 2px;
	flex: 1;
	list-style: none;
}
#footersns li {
	display: inline-block;
	margin: 0 1em;
}

#footersns .instagram::before, #footersns .tiktok::before, #footersns .youtube::before, #footersns .x_icon::before { 
	font-family: "Font Awesome 6 Free";
    font-weight: 400;
	font: var(--fa-font-brands); /*Font Awesome のver6では設定するらしい*/
    color: white;
    font-size: 19px;
    position: relative;
    z-index: 1;
}

#footersns .instagram::before {
    content: '\f16d';	
}
#footersns .tiktok::before {
    content: '\e07b';	
}
#footersns .youtube::before {
    content: '\f167';	
}
#footersns .x_icon::before {
    content: '\e61b';	
}


/*フッター設定---------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.6rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	background: #1b18a2;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: #fff;text-decoration: none;}

/*リンクテキストのマウスオン時*/
footer a:hover {color: #fff;}

/*著作部分*/
footer .pr {display: block;}


/*PAGE TOP----------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(8, 75, 37,0.3);	/*背景色。0,0,0は黒の事で0.3は色が30%出た状態。*/
	width: 2em;			/*幅*/
	line-height: 2em;	/*高さ*/
}

/*マウスオン時*/
.pagetop a:hover {
	background: rgba(8, 75, 37,0.8);	/*背景色。0,0,0は黒の事で0.8は色が80%出た状態。*/
}


/*その他--------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #54adf1 !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;border: 1px solid #ccc;padding: 5px 20px;background: rgba(0,0,0,0.03);border-radius: 5px;margin: 5px 0;}
.ofx {overflow-x: hidden;}


/*-------------------------------------------------------------------------*/
/*テーブル*/
/*-------------------------------------------------------------------------*/

.tbsty{
	width: 90%;
	border: 2px solid #1b18a2;
	overflow: hidden;
	word-break: break-all;
	word-wrap: break-word;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 40px;
	font-size: 90%;
}
.tbsty caption {
	font-weight: bold;			/*太字に*/
	padding: 10px 5px;			/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #4170af;
	color: #fff;				/*文字色*/
}
.tbsty th{
    padding: 15px;
    border-top: solid 1px #1b18a2;
    width: 30%;
    overflow: hidden;
    color: #FFFFFF;
    font-style: normal;
    font-weight: bold;
    font-size: 100%;
    text-align: left;
    word-break: break-all;
    word-wrap: break-word;
    vertical-align: top;
    background-color: #88abda;
}
 
.tbsty td{
    padding: 15px;
    text-align: left;
    vertical-align: top;
    color: #595960;
    background-color: #ffffff;
    border-top: dotted 1px #88abda;
    overflow: hidden;
    word-break: break-all;
    word-wrap: break-word;
}

/*-------------------------------------------------------------------------*/
/*コンテナ　ブロック表示*/
/*-------------------------------------------------------------------------*/
.list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #999;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}

/*ボックス内のh4タグ*/
.list h4 {
	margin: 0;
	color: #666;	/*文字色*/
}
.list h4 a {
	color: #666;	/*リンクテキストの文字色*/
}

/*ボックス内のpタグ*/
.list p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
}

/*list内のNEWマーク*/
.list .new, .pdown, .rent, .sokuno, .old {
	font-size: 0.65em;		/*文字サイズ*/
	color: #fff;			/*文字色*/
	padding: 0.2em 0.6em;			/*ボックス内の余白*/
	text-align: center;		/*テキストをセンタリング*/
}

.list .new {
	background: #E870B7;
}
.list .pdown {
	background: #FF5D38;
}
.list .rent {
	background: #00D374;
}
.list .sokuno {
	background: #9E71F1;
}
.list .old {
	background: #AF801C;
}

.list ul{
    display: flex;
	position: absolute;
	left: -30px;			/*listブロックに対して左からの配置場所の指定*/
	top: -20px;				/*listブロックに対して上からの配置場所の指定*/
}
.list li{
  list-style: none;
}

.list  li:nth-child(n+2) {
  margin-left: 10px;
}



/*list内でのbtn*/
.list .btn {
	margin-top: 1em;	/*ボタンの上に１文字分のスペースを空ける*/
}
.list .btn a {
	display: block;
}

/*コンテナボックス　全体をリンク*/
.linkbox {
    position: relative;
}
.linkbox a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}
.linkbox a:hover{/* マウスオーバー時に色変更*/
    opacity: 0.1;
    background-color: #0E37BB;
}


/*スライドショーslick コンテナ個別ページ
---------------------------------------------------------------------------*/
.containerimg {
	position: relative;
}

/*丸いページナビボタン全体を囲むエリア*/
ul.slick-dots {
	margin:0;padding: 0;
	line-height: 1;
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 10px;	/*下からの配置場所指定*/
}

/*丸いページナビボタン１個あたりの設定*/
ul.slick-dots li {
	display: inline-block;
	margin: 0 10px;
	cursor: pointer;
}

/*buttonタグ*/
ul.slick-dots li button {
	border: none;padding: 0;
	display: block;
	text-indent: -9999px;	/*デフォルトで文字が出るので画面の外に追い出す指定*/
	width: 12px;			/*ボタンの幅*/
	height: 12px;			/*ボタンの高さ*/
	border-radius: 50%;		/*丸くする指定*/
	cursor: pointer;		/*クリックで画像へジャンプするので、わかりやすいようhover時にpointerになるように。*/
	background: #fff;		/*背景色。白。*/	
}

/*buttonのアクティブ時（現在表示されている画像を示すボタン）*/
ul.slick-dots li.slick-active button {
	background: #54adf1;	/*色*/
}


/*-------------------------------------------------------------------------*/
	.slider-container{
		width:90%;
		margin:0 auto;
	}
	.slick-slide{
		padding:2px;
	}
	#thumbs .slick-current img{
		border:3px solid #000;
	}
	#slider img {
        width: 100%;
        height: 500px;
        object-fit: cover;
	}
	#thumbs img {
		width:100%;
		height: 10%;
	}
	
	.slick-prev,.slick-next{z-index:2;}
	.slick-prev{left:0!important;}
	.slick-next{right:0!important;}

/*-------------------------------------------------------------------------*/
/*画面幅480px以下*/
/*-------------------------------------------------------------------------*/
@media screen and (max-width:480px) {

    /*header-------------------------------------------------------------------*/
    header {
        /*flex-direction: column;	ロゴと電話番号を縦並びにする*/
    }

}


/*-------------------------------------------------------------------------*/
/*画面幅680px以上*/
/*-------------------------------------------------------------------------*/
@media screen and (min-width:680px) {


    /*listブロック
    ---------------------------------------------------------------------------*/
    .list {
        display: flex;					/*flexボックスを使う指定*/
        justify-content: space-between;	/*並びかたの種類の指定*/
    }

    /*ボックス内のfigure画像*/
    .list figure {
        width: 30%;
        margin-right: 5%;
    }

    /*ボックス内のtextブロック*/
    .list .text {
        flex: 1;
        margin-right: 5%;
    }


}


/*-------------------------------------------------------------------------*/
/*画面幅900px以下*/
/*-------------------------------------------------------------------------*/
@media screen and (max-width:900px) {

    header {
		height: 100px; /*ヘッダーの高さ*/
		background-image: url("../images/title_bg_mini.png");
	} 
}
/*---------------------------------------------------------------------------
画面幅900px以下
---------------------------------------------------------------------------*/
@media screen and (max-width:900px) {

    header span {display: none;} /*ヘッダー左の北勢ロゴ消す*/
	
	
    /*table-------------------------------------------------------------------*/
	.tbsty{
        width: 100%;
    }
    .tbsty th{
        width:100%;
        display:block;
        margin: 0 auto;
        border:none;
        border-radius: 3px;
    }
    .tbsty td{
        display: list-item;
        width: 100%;
        border-top: none !important;
    }
	
}
	
/*-------------------------------------------------------------------------*/
/*画面幅900px以上*/
/*-------------------------------------------------------------------------*/
@media screen and (min-width:900px) {


	
    /*全体の設定-----------------------------------------------------------------*/
    html, body {
        font-size: 18px;	/*基準となるフォントサイズの上書き*/
    }

    .fixmenu{
        position: fixed !important;z-index: 100;
        left:0px;top:0px;
        width: 100%;
    }



    /*menubar------------------------------------------------------------------*/
    /*ハンバーガー非表示*/
    #menubar_hdr {display: none;}

    /*メニューのボックス*/
    #menubar {height: auto;overflow: visible;}
    #menubar.db {position: static;overflow: visible;height: auto;padding: 0;}

    /*ドロップダウン*/
    #menubar > ul {
        display: flex;					/*flexボックスを使う指定*/
        justify-content: space-between;	/*並びかたの種類の指定*/
        max-width: 1500px;				/*最大幅。これ以上広がらないように。前半の小さな端末用の「#container」と数字を揃える。*/
        margin: 0 auto;
    }

    #menubar li {
        text-align: center;	/*テキストをセンタリング*/
        flex: 1;			/*個々のメニューを均等にし、幅いっぱいまで使う設定*/
        position: relative;	/*ddmenu ulの幅となる基準を作っておく*/
    }


    /*ドロップダウンメニュー------------------------------------------------------*/

    #menubar ul ul {
        position: absolute;z-index: 100;
        width: 100%;
    }

    #menubar .ddmenu_parent ul li a {
        border: 1px solid #ccc;	/*枠線の幅、線種、色*/
        border-top: none;		/*上の線だけ消す*/
    }

    /*1つ目のドロップダウンに線*/
    #menubar .ddmenu_parent ul li:first-of-type a {
        border-top: 1px solid #ccc;
    }


    /*フッターメニュー設定-------------------------------------------------------*/
    
    #footermenu {
        font-size: 0.8rem;	/*文字サイズ*/
        padding: 20px 50px;	/*上下、左右ボックス余白*/
    }



    /*その他--------------------------------------------------------------------*/
    .ws {width: 48%;display: inline;}

	

    /*コンテナ　ボックス表示-------------------------------------------------------*/

    .list-container {
        display: flex;		/*flexボックスを使う指定*/
        flex-wrap: wrap;	/*折り返す指定*/
        justify-content: start;	/*並びかたの種類の指定*/
    }

    /*１個あたりのボックス設定*/
    .list {
        flex-direction: column;			/*子要素を縦並びにする*/
        width: 27%;		/*幅。３列になります。*/
		margin-left: 2%;
    }

    /*ボックス内のfigure画像*/
    .list figure {
        width: 100%;
        margin-right: 0;
    }

    /*ボックス内のtextブロック*/
    .list .text {
        margin-right: 0;
    }

    /*ボックス内のh4タグ*/
    .list h4 {
        margin: 10px 0;	/*上下、左右への余白*/
    }
	
}
