@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
:focus{outline:0;}

ol, ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption, th, td{font-weight:normal;text-align:left;}
blockquote:before, blockquote:after,q:before, q:after{content:"";}
blockquote, q{quotes:"" "";}
a img{border:0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
color:#555;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#fff;
-webkit-text-size-adjust:100%;
}

/* リンク設定
------------------------------------------------------------*/
a{color:#358de0;text-decoration:none;}
a:hover{color:#429bef;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0px auto 0;
padding:0 1%;
width:100%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
	z-index: 100;
	margin:0 0 4px 0;
}

#header:after{
content:"";
display: block;   
clear:both; 
visibility:hidden;
}

#header h1{
font-size:14px;
color:#444;
}

/* ヘッダーの文書をスマホやタブレットでは小さくする
------------------------------------------------------------*/
@media (max-width: 940px) {
  #header h1 {
    font-size:10px;
    color:#444;
    /*display: none;非表示にする場合はこの行を有効にする */
  }
}

/*************
/* ロゴ
*************/
#header .logo{
padding:0;
text-align:center;
}


/**************************
/* メイン画像（トップページ）
**************************/
#mainBanner{
  top: 0;
  left: 0;
  right: 0;   /* ★右端まで広げる */
  bottom: 0;  /* ★下端まで広げる */
  z-index: -1;    /* ★重要: 他のコンテンツの下に画像を配置 */
  overflow: hidden; /* コンテナからはみ出す画像を隠す */
}

#mainBanner img{
  width: 100%;       /* 親コンテナの幅いっぱいに */
  height: 100%;      /* 親コンテナの高さっぱいに */
  object-fit: cover; /* ★最も重要: アスペクト比を保ちつつ、要素全体を覆うように画像を拡大縮小 */
  object-position: center center; /* 画像のどの部分を中心に表示するか */
}

/*pcとスマホで画像を切り替えるためのクラス*/
.pc { display: block !important; }
.sp { display: none !important; }

.slogan {
  margin: 0 20px 0px 20px;
  padding: 0 16px 5px 16px; /* 上下左右に余白を増やし背景が見えやすく */
  background-image: url('images/slogan_bg.jpg'); /* 画像パスは適宜変更 */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto; /* 画像全体が収まるように自動調整 */
  box-sizing: border-box;
  max-width: 1366px;
  margin-left: auto;
  margin-right: auto;
}

.slogan-text {
  padding: 18px 30px; /* 上下に余白、左右は0 */
}

.slogan h2{
   text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff; /* 白フチ */
  color: dimgray;
  font-size: 12px;
}

.slogan h3{
font-size:14px;
color:#666;
}

@media (max-width: 600px) {
  .slogan-text {
    padding: 10px 4px; /* スマホ時は余白を小さく */
  }
  .slogan {
    padding: 0 4px 5px 4px; /* slogan本体の左右余白も調整したい場合 */
    font-size: 11px;        /* 文字サイズも調整可能 */
  }
  .slogan h2 {
    font-size: 11px;        /* 文字サイズも調整可能 */
  }
  .slogan h3 {
    font-size: 11px;        /* 文字サイズも調整可能 */
  }
}

/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
clear:both;
overflow:hidden;
}
.grid{
border:2px solid #ccc;
padding:2px;
}
.grid h3{
color:#3333cc;
font-size:13px;
padding:13px 0;
margin-bottom:5px;
font-weight:bold;
border-bottom:1px solid #ccc;
text-align:center;
}

.grid p{padding:5px 0;}

.grid p.img{
float:left;
margin:3px 0 0 0;
}

.img a:hover{
	opacity:0.5;
	transition:0.3s;
}

.readmore{clear:both;}

.readmore a{
padding:3px 5px;
border-radius:3px;
color:#fff;
background:#999;
}

.readmore a:hover{background:#ccc;}


/* フッター内のグリッド(3カラム) */
#footer .grid{
border:0;
background:transparent;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
padding:10px 0;
margin-bottom:10px;
border-radius:4px;
overflow:hidden;
font-size:12px;
color:#009999;
}

section.content p{margin-bottom:5px;}


/* アーカイブページ */
section.content .archive{
padding:20px 0 0;
border-bottom:1px dotted #ccc;
}

section.content p{margin-bottom:5px;}

h3.heading{
padding:3px 0 13px;
margin: 0 20px 0px 20px;
font-size:13px;
color:#CC3333;
border-bottom:1px solid #ccc;
}

h3.rireki{
padding:5px 0 5px;
margin:10px 0 5px;
font-size:12px;
text-align: center;
background-color: #ccffcc;
border:1px dotted #ccc;
}

section.content img{
max-width:90%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

.border,ul.list img{border:4px solid #ebebeb;}



/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
}

.tel span{
font-size:14px;
}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer .copyright{font-size:11px;}


/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{
color:#555;
display:block;
}

#sub li a:hover{
color:#a5a5a5;
}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

#sub ul.list li img{
float:left;
margin-right:10px;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}

#sub .grid h3{border-radius:0;}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width:100%;
height:30px;
margin:5px 0 20px;
}

.pagenav a{
color:#555;
}

.pagenav a:hover{
color:#a5a5a5;
}

.prev{float:left}
.next{float:right;}

#pageLinks{
clear:both;
text-align:center;
}


/* タイポグラフィ
*****************************************************/
.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p{padding-bottom:15px;}

.post ul{margin:0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.post ol{margin:0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color:#000;
border-bottom:3px solid #f0f0f0;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color:#333;
border-bottom:2px solid #f0f0f0;
}

.post h3{
margin:10px 0 30px;
padding-bottom:10px;
font-size:110%;
font-weight:normal;
color:#777;
border-bottom:2px solid #f0f0f0;
}

.post blockquote{
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border-collapse:collapse;
margin:10px 0;
}

.post table th,.post table td{
padding:12px;
border:1px solid #ccc;
}

.post table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
background:#eee;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter{
display:block;
margin:5px auto;
}

img.alignright, img.alignleft{
padding:4px;
margin:0 0 2px 7px;
display:inline;
}

img.alignleft{margin:0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float:left;}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px){
#wrapper,.inner{
width:940px;
padding:0;
}

#wrapper{padding-bottom:20px;}

/* グリッド全体 */
.gridWrapper{
display:table;
border-collapse:separate;
border-spacing:20px;
margin-left:-20px;
width:980px;
}

/* グリッド共通 ベース:トップページ4カラム */
.grid{
width:220px;
display:table-cell;
background-color:white;
}

#sub.gridWrapper{width:980px;}

/* サブコンテンツ + フッター グリッド(3カラム) */
#sub .grid, #footer .grid{width:300px;}


}/*PC用の閉め*/

/*---------------------------------------
　画面サイズ960未満
-----------------------------------------*/
@media only screen and (max-width:959px){
*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


#header h1{text-align:center;}

#header .logo,#footer .logo{
float:none;
text-align:center;
padding:0;
}

/* グリッド */
.grid{
float:left;
width:48%;
margin:10px 2% 0 0;
background-color:white;
}

.grid img{
float:left;
margin-right:5px;
}

#sub .grid{
width:32%;
margin:10px 1%;
}

#sub .grid:first-child{
margin-left:0;
}

#sub .grid:last-child{
margin-right:0;
}

#footer .grid, #footer .grid p{
float:none;
width:100%;
text-align:center;
border:0;
}

#footer .grid:last-child{padding-top:20px;}

}/*960未満の閉め*/

/* ---------------------------------------------------- */
/* 画面サイズ768未満 */
/* ---------------------------------------------------- */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}
#header h1{text-align:center;}

#header .logo{
float:none;
text-align:center;
padding:0;
}

}/*768未満の閉め*/

/* ---------------------------------------------------- */
/* 画面サイズ640未満 */
/* ---------------------------------------------------- */
@media only screen and (max-width:640px){
/* スマホ用のトップバナーへ切替 */
    .pc { display: none !important; }
    .sp { display: block !important; }
#mainBanner h2,#mainBanner h3{font-size:80%;}

#footer .grid p{text-align:center;}

.grid img{float:none;margin:20px auto 10px;max-width:100%;height:auto;}

.grid p,#sub .grid li{text-align:left;}

  .alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}
}


@media only screen and (max-width:480px){

#sub .grid{
float:none;
width:98%;
}

#sub .grid h3{padding:10px 5px;}

}/*640未満の閉め*/

/*************
/* Googleマップ
*************/
#map{
	position: relative;
	padding-bottom: 50%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

/*************
/* フォント
*************/
.red{
color:#ff0000;
}
.winered{
color:#cc3333;
}
.blue{
color:#3333cc;
}
.16px{
font-size:16px;
}
.orange {
color: #ff6633;
}


/* ホーム専用メニューボタン
------------------------------------------------------------*/
.HomeMenu-Container {
  display: flex;        /* Flexboxを有効にする */
  flex-wrap: wrap;      /* コンテナ幅に合わせて子要素を折り返す */
  justify-content: center; /* メニュー項目を中央揃えにする（オプション） */
  gap: 20px;            /* メニュー項目間のスペース */
  max-width: 100%;      /* 親要素の幅に合わせて最大幅を設定 */
  margin: 0 auto;       /* 中央寄せ */
  padding: 0 30px 10px 30px;        /* コンテナの内側に余白を追加（任意） */
}

.Menu-Item {
  flex: 0 0 calc(20% - 16px); /* 5つ横並びの場合の各要素の幅 (gap 20pxを考慮) */
  box-sizing: border-box;     /* paddingやborderを幅に含める */
  text-align: center;         /* 画像とキャプションを中央揃え */
  background-color: #f9f9f9;  /* 背景色（任意） */
  border-radius: 8px;         /* 角丸（任意） */
  padding: 15px;              /* 内側の余白（任意） */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 影（任意） */
  transition: transform 0.3s ease; /* ホバー時のアニメーション（任意） */
  font-weight: bold;
}

.Menu-Item:hover {
  transform: translateY(-5px); /* ホバーで少し持ち上がる（任意） */
}

.Menu-Item img {
  max-width: 100%; /* 画像が親要素からはみ出さないようにする */
  height: auto;    /* アスペクト比を維持 */
  display: block;  /* imgの下にできる余白を削除 */
  margin: 0 auto 10px auto; /* 画像を中央寄せ、下部に余白 */
  border-radius: 4px; /* 画像の角丸（任意） */
}

.Menu-Item p {
  font-size: 1em;      /* キャプションのフォントサイズ */
  color: #333;         /* キャプションの色 */
  margin-top: 0;       /* 上部のマージンをリセット */
  font-weight: bold;   /* キャプションを太字に（任意） */
}

/* ---------------------------------------------------- */
/* レスポンシブ対応 (Media Queries) */
/* ---------------------------------------------------- */

@media (max-width: 940px) {
  .Menu-Item {
    /* 2列表示の場合の幅 */
    flex: 0 0 calc(50% - 10px); /* 2列にするので50%。gap 20pxを考慮。 */
  }
}

/* さらに小さい画面（例: スマートフォン）向け */
@media (max-width: 600px) {
  .Menu-Item {
    /* 1列表示の場合の幅 */
    flex: 0 0 100%; /* 1列にするので100% */
  }
}


/* バックグラウンド
------------------------------------------------------------*/
.BG-section {
  background-image: url('images/BG_Big.jpg'); /* 背景画像のパスを指定 */
  background-size: cover;    /* 要素全体を覆うように画像を拡大・縮小 */
  background-repeat: repeat; /* 画像を繰り返して表示 */
  background-position: center center; /* 画像を中央に配置 */
  background-attachment: scroll; /* スクロールに合わせて画像をスクロール（固定したい場合はfixed） */

  /* ★ここが重要: divの高さを指定する */
  min-height: 800px; /* 例: 高さを固定値で設定 */
  /* または、ビューポートの高さの割合で設定 (例: 画面の半分) */
  /* height: 50vh; */
  /* または、コンテンツの量に合わせて自動で広がるようにするが、その場合min-heightを使用 */
  /* min-height: 400px; */
}

/* ---------------------------------------------------- */
/* スマホでは背景画像を表示しない
/* ---------------------------------------------------- */
@media (max-width: 600px) {
	.BG-section {
	　background-image: none;
	}
}

/* おすすめ物件
------------------------------------------------------------*/
.container-for-right-image {
  text-align: right; /* このコンテナ内のインライン要素を右寄せにする */
}

.right-aligned-image {
  /* img要素はデフォルトでインライン要素なので、特別な指定は不要なことが多いですが、
     もしdisplay: block; などが適用されている場合は、display: inline-block; に戻す必要があるかもしれません */
  display: inline-block; /* imgをインラインブロックとして扱う */
  max-width: 100%; /* 親要素からはみ出さないように */
  height: auto; /* アスペクト比を維持 */
}

/* 新フッター2カラムレイアウト
------------------------------------------------------------*/
.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-flex {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.footer-info-col {
  flex: 0 1 22%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0;
}
.footer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin-bottom: 8px;
  position: relative; /* 追加 */
}
.footer-logo-img {
  width: 231px;
  height: auto;
  display: block;
}
.footer-logo-text {
  position: absolute;      /* 追加 */
  top: 6px;               /* 上からの距離（調整可） */
  right: 8px;             /* 右からの距離（調整可） */
  margin-top: 0;           /* 既存のmargin-topは不要 */
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  text-align: right;
  background: rgba(255,255,255,0.7); /* 背景を薄くする場合（任意） */
  padding: 2px 8px;                  /* 任意 */
  border-radius: 4px;                /* 任意 */
  pointer-events: none;
}
.footer-sns-label {
  margin: 6px 0 4px 0;
  font-size: 0.95em;
  color: #333;
  font-weight: bold;
}
.footer-sns-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-sns-icons img {
  width: 28px;
  height: 28px;
}
.footer-info-list {
  list-style: disc inside;
  padding-left: 0;
  margin: 0;
  color: #333;
  font-size: 1em;
}
.footer-info-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.footer-map-col {
  flex: 0 1 78%;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.footer-map-col iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    gap: 12px;
    align-items: center; /* 中央寄せ */
  }
  .footer-info-col {
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 8px 0;
  }
  .footer-map-col {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .footer-map-col iframe {
    width: 100vw !important;   /* ビューポート幅いっぱい */
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 300px;
    margin: 0 -16px; /* 左右の余白を消す場合 */
    border-radius: 0;
    display: block;
  }
}

/* 最下部の文面
------------------------------------------------------------*/
.footer-note {
  text-align: center;
  font-size: 0.9em;
  color: #888;
  margin: 6px 0 8px 0;
  letter-spacing: 0.05em;
}

/* ニュースティッカー用のスタイル */
		#mainBanner {
			position: relative;
		}
		
		.news-ticker {
			width: 50%;
			height: 30px;
			background-color: rgba(0, 0, 0, 0.7);
			position: absolute;
			overflow: hidden;
			bottom: 20px;
			left: 20px;
			border-radius: 4px;
			z-index: 100;
		}

		.news-content {
      font-size: 16px;
			position: absolute;
			white-space: nowrap;
			color: #fff;
			line-height: 30px;
			padding-left: 100%;
			animation: slide-left 28s linear infinite;
		}

		@keyframes slide-left {
			0% {
				transform: translateX(0);
				opacity: 1;
			}
			94% {
				transform: translateX(-100%);
				opacity: 1;
			}
			94.1% {
				transform: translateX(-100%);
				opacity: 0;
			}
			99.9% {
				transform: translateX(0);
				opacity: 0;
			}
			100% {
				transform: translateX(0);
				opacity: 1;
			}
		}

		@media screen and (max-width: 768px) {
			.news-ticker {
				width: 50%;
				height: 25px;
				bottom: 10px;
				left: 10px;
			}
			
			.news-content {
				font-size: 12px;
				line-height: 25px;
			}
		}