@charset "utf-8";


	

.container {
  display: flex;         /* Flexboxレイアウトを有効にする */
  max-width: 1280px;     /* コンテナの最大幅を設定 */
  margin: 0 auto;        /* 左右中央揃えに設定 */
  width: 100%;           /* 幅を100%にし、max-width以下に収める */
}

.main-content {
  flex: 3;               /* メインコンテンツにスペースを多く割り当てる (例: 3対1の比率) */
  background-color: #f0f0f0;
}

.sidebar {
  flex: 1;               /* サイドバーにスペースを少なく割り当てる */
  background-color: #e0e0e0;
}



/* =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.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.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:#333;
font-size:small;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#83c61a;text-decoration:none;}
a:hover{color:#3b580d;}
a:active, a:focus {outline:0;}


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

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


/*************
/* ヘッダー
*************/
#header{
height:110px;
}

#header h1{
padding:5px 0 10px 10px;
font-size:12px;
font-weight:normal;
}

/*************
/* ロゴ
*************/
.logo{
float:left;
margin-left:17px;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
float:right;
padding-right:20px;
text-align:right;
}

.info .open{font-size:11px;}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
margin-top:6px;
color:#83c61a;
font-size:20px;
font-weight:bold;
}

.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:17px auto;
padding:0;
width:100%;
position:relative;
line-height:0;
}

#mainBanner img{
max-width:100%;
height:auto;
border:4px solid #ebebeb;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
color:#fff;
background-color: rgba(0,0,0,0.4);
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
color:#fff;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.box{
margin:0 5px;
padding:10px;
border:1px solid #ebebeb;
}

.box img{
max-width:100%;
height:auto;
border:4px solid #ebebeb;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left;}

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}



/*************
メイン コンテンツ
*************/
section.content article{
padding:20px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}

* html section.content article{height:1%;}

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

h3.heading{
font-weight:normal;
padding:0 10px;
line-height:36px;
color:#333;
background:#f1f1f1;
}

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

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

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

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



/*************
テーブル
*************/
table.table{
border-collapse:collapse;
margin:5px auto 15px auto;
}

table.table td{
border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
background-color:#F5F5F5;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


/*************
/* サイドバー
*************/
#sidebar ul{padding:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #FFFF99;
}

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

#sidebar li a{
color:#333;
display:block;
}

#sidebar li a:hover{color:#888;}

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

ul.list li{height:1%;}

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

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


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

* html #footer{height:1%;}

#footer .grid{
padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}


#footer #info .info{
clear:both;
padding:10px 0 0 15px;
text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{
font-size:12px;
color:#333;
}

ul.footnav{
float:right;
width:650px;
padding:10px 0;
}

ul.footnav li{
float:left;
margin-bottom:10px;
padding:0 7px 0 8px;
font-size:10px;	
border-right:1px solid #b6b6b6;
}

#footer a{color:#333;}
#footer a:hover{color:#888;}

address{
clear:both;
padding:5px;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
background:#dbdbdb;
}

body {
	  width: 1100px;
    margin: auto;
	
}




/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:1100px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	background:#f1f1f1;
	}
	
	nav#mainNav .inner{
	width:932px;
	padding:0 14px;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li.last{border-right:1px solid #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:154px;
	height:45px;
	padding-top:15px;
	color:#333;
	background:#f1f1f1;
	border-left:1px solid #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#3b580d;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#909090;
  background:#eee;
	padding-top:15px;
	}
	
	#mainBanner{margin-left:15px;}
	#subpage #mainBanner{margin:15px auto;}
	
	#main{
	float:right;
	width:667px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:245px;
	padding:15px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
}


@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;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#3b580d;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer.logo,#footer .info{
	width:100%;
	float:none;
	}

}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:20px;
	}
	
	#header h1,.logo,.info{text-align:center;}
	
	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	margin:0;
	}
	
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

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


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
}

body {
text-align : center; /* バグを利用してブロックレベル要素をセンタリング */
}
div#container {
width : 500px; /* コンテンツ幅を740pxに設定 */
margin-left : auto; /* 左側のマージンを自動算出 */
margin-right : auto; /* 右側のマージンを自動算出 */
text-align : left; /* body要素で指定したセンタリングを戻す */
}
div#primary-column {
float : left; /* プライマリーカラム（記事など）を左側に回り込ませる */
width : 500px; /* 幅を500pxに設定 */
}
div#secondary-column {
float : right; /* セカンダリーカラム（メニューなど）を右側に回り込ませる */
width : 200px; /* 幅を200pxに設定 */
}
div#siteinfo-legal {
clear : both; /* すべての回り込みの解除 */
}



test {
float: none;
}
img {
width: 100% ;
}



   
   

/* ヘッダー設定*/
header　h1 {
  background-image: uil("../img/sui-bun-tai.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 260px;
  min-width: 1000px;
   
}   

.contents {
   height: auot;
   border: 1px solid;
   display: flex;
  
}

.contents asaide{
   border: 1px solid;
   width: 200px;
   
   }
   
.contents main{
   border: 1px solid;
   flex: 1;
   }   

footer {
  background-color: #fffff0;
  height:100px;
  }
  
footer ul {
  list-style: none;
  display: flex;
  width: auto;
  }
footer li {
 color: #FFFFFF;
  font-size: 18px; /* 例: 18ピクセルに設定 */
  width: 160px;
  text-align: center;
  border-right: solid 1px #663366;
  padding: 5px; /* 内側の余白を追加 */
    display: inline-block; /* 横並びにする場合 */
  
  }  
 footer li:last-child {
    border-right: none; /* 最後の項目のボーダーを削除 */
}
  
  
/* コンテナの設定 */
.container {
  display: flex; /* 横並びにする */
  gap: 20px; /* メインとサイドバーの間隔 */
}

/* メインエリアの設定 */
.main-content {
  flex: 3; /* メインエリアを広めに */
  background-color: #f0f0f0;
  padding: 20px;
}

/* サイドバーの設定 */
.sidebar {
  flex: 1; /* サイドバーを狭めに */
  background-color: #fffff0;
  padding: 15px;
}  

.ul{
  list-style: none;
  padding:0;
  margin:0;
}

.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}

/* サイドバー全体の文字に適用する場合 */
.sidebar {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif; /* フォントの種類 */
  font-size: 20px; /* フォントサイズ */
  color: #333; /* 文字色 */
}

/* サイドバーのタイトルに適用する場合 */
.sidebar h2 {
  font-size: 30px; /* フォントサイズ */
  font-weight: bold; /* 太字 */
  color: #0066cc; /* タイトル色 */
  border-bottom: 1px solid #ccc; /* 下線 */
  padding-bottom: 5px;
}

/* サイドバーのメニュー項目（リンク）に適用する場合 */
.sidebar ul li a {
  color: #555; /* リンクの文字色 */
  text-decoration: underline none; /* 下線をなくす */
}

/* マウスホバー時のメニュー項目のスタイル */
.sidebar ul li a:hover {
  color: #0066cc; /* ホバー時の文字色 */
  text-decoration: underline; /* ホバー時に下線を表示 */
}

/* サイドバーの本文テキストに適用する場合 */
.sidebar p {
  line-height: 4; /* 行の高さ */
  margin-top: 10px;
}

ul.example li {
margin-bottom: 20px;
}

ul {
  text-align: left;
}

hr.style3 {
  border-top: 1px dashed #8c8b8b;
  }
  
  
 /* サイドバー全体のフォントサイズを変更 */
.sidebar {
  font-size: 16px; /* フォントサイズを指定 */
  font-family: Arial, sans-serif; /* フォントファミリーを指定 */
}

/*サンプル　サンプル*/ 
.navbar {
  background-color: #FFF8DC;
  padding: 0;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 30px 50px;
  color: grey;
  text-decoration: none;
}

.menu > li > a:hover {
  background-color: #555;
}

/* ドロップダウンメニュー */
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  display: none;
  min-width: 150px;
}

.submenu > li > a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}

.submenu > li > a:hover {
  background-color: #C0C0C0;
}

/* ホバー時の表示 */
.dropdown:hover .submenu {
  display: block;
}




