@charset "UTF-8";

/* ========BASIC======== */
html {
   overflow-y:scroll;
}

body {
   margin:20px 0;
   padding:0;
   line-height:1.6;
   letter-spacing:1px;
   font-family:"Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"ヒラギノ角ゴ Pro W3","メイリオ", Meiryo,"ＭＳ Ｐゴシック",verdana,sans-serif;
   font-size:14px;
   color:#000000;
   background:url(../images/6YABai.png) repeat;
}

br {
   letter-spacing:normal;
}

a {
   color:#000099;
   text-decoration:none;
}

a:hover {
   color:#D70053;
   text-decoration:none;
}

img {
   border:0;
}

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


/* ========TEMPLATE LAYOUT======== */
#top {
   width:880px;
   margin:0 auto;
   padding:0 20px;
   background:#ffff66;
   behavior: url(http://makinoharashi-kankoukyoukai.com/css/PIE.htc);/* for IE */
   border-top: 2px solid #999999;
   border-right: 2px solid #999999;
   border-bottom: 2px solid #999999;
   border-left: 2px solid #999999;
}

#header {
   position:relative;
   width:870px;
}

#gnavi {
   position:absolute;
   top:43px;
   right:0;
   font-size:12px;
}

/* 文字サイズ変更 */
#sizemenu {
   position:absolute;
   top:10px;
   right:0;
   font-size:12px;
}

/* メインメニュウ */
#menu {
   width:870px;
   border-top: 1px solid #ffffff;
   font-size:1em;
}

/* アイキャッチ */
#headImage {
   width:870px;
   position:absolute;
}


#contents {
   clear:both;
   width:868px;
   background: #ffffff;
   border-right: 1px solid #999999;
   border-left: 1px solid #999999;
}

#main {
   float:left;
   width:630px;
   padding:0 7px;
}

/* 右メニュウ */
#sub {
   float:right;
   width:220px;
   background:#ffffff;
   border-top: 1px solid #cccccc;
   border-right: none;
   border-bottom: 1px solid #999999;
   border-left: 1px solid #cccccc;
}

#footer {
   clear:both;
   width:870px;
}

/* 回り込み解除 */
#contents:after {
   content:"";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
}

/* ========HEADER CUSTOMIZE======== */
#header h1 {
   margin:0;
   padding:10px 0 0 0;
   font-size:30px;
   color:#ffffff;
   line-height:50px;
}

#header h1 a {
   color:#ffffff;
}

#header h1 a:hover {
   color:#d70053;
}

#header p {
   margin:0;
   padding:0 0 5px 0;
   color:#000099;
}

#navi li a {
   border-bottom:1px solid #cecfce;
}

/* アイキャッチ */
#headImage {
   width:870px;
   height:240px;
   overflow:hidden;
   position:relative;
   list-style:none;
}

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

#headImage li {
   position:absolute;
   background:#ffffff;
}


/* gnavi 右上サブメニュウ */
#gnavi ul {
   list-style:none;
}

#gnavi li {
   float:left;
   margin:0 0 0 5px;
   padding:0 0 0 20px;
}

#gnavi li:hover {
   text-decoration:underline;
}

#gnavi li.map {
}

#gnavi li.sitemap {
}

#gnavi li.contact {
   background:url(../images/icon_contact.gif) 0 50% no-repeat;
}

/* sizemenu */
#sizemenu ul {
   color:#D70053;
   list-style:none;
}

#sizemenu li {
   display:block;
   width:80px;
   text-align:center;
   outline:solid 1px #00ffff;
   float:left;
   margin:0 0 0 10px;
   padding:0 0 0 5px;
}

#sizemenu li:hover {
   display:block;
   width:80px;
   background:#ccffff;
}


/* ========MENU CUSTOMIZE======== */
/* メインメニュー */
#menu ul {
   display:block;
   list-style-type: none;
   margin:0;
   padding:0;
}


/* サブメニュー1段目 */
#menu ul ul {
   display:none;
   position:absolute;
   top:100%;
   left:0;
}

/* サブメニュー2段目以降 */
#menu ul ul ul {
   top:0;
   left:100%;
}

/* リスト */
#menu li {
   float:left;
}

#menu li li {
   clear:both;
}

#menu li:hover {
   background:#99ff99;
   position:relative;
}

#menu li:hover ul {
   display: block
}

/* デザイン */
#menu ul {
   float:left;
   margin:0;
   padding:0;
   list-style:none;
   background:#009933;
}

#menu li ul {
   border-bottom:1px solid #999999;
   border-bottom:none;
}

#menu li li {
   margin-left:0;
   background:#f5f5f5;
   border-bottom:1px solid #999999;
}

#menu li li a:hover {
   margin-left:0;
   background:#99ff99;
}

#menu li a {
   display:block;
   width:145px;
   padding:10px 0;
   color:#ffffff;
   font-weight:bold;
   text-align:center;
   outline:none;
}

#menu li a.active {
   display:block;
   width:145px;
   padding:10px 0;
   color:#ffffff;
   background-color:#6699ff;
}

#menu li a:hover {
   color:#ff3366;
   text-decoration:none;
}

#menu li li a {
   display:block;
   width:145px;
   padding:10px 2;
   color:#000000;
   line-height:20px;
   text-align:center;
   outline:none;
}


/* ========HEADLINE CONTENTS CUSTOMIZE======== */
#contents h1 {
   margin-bottom:8px;
   padding:8px;
   color:#ffffff;
   font-size:12px;
   font-weight:bold;
   background:#6699ff;
   line-height:22px;
}


/* ========MAINCONTENTS CUSTOMIZE======== */
#main a {
   color:#3366ff;
}

#main a:hover {
   color:#D2447B;
   background:#ffffcc;
   border:0;
   border-bottom:1px solid #D2447B;
}

#main h2 {
   margin-bottom:8px;
   padding:2px 2px 2px 0;
   color:#000099;
   font-size:15px;
   font-weight:bold;
   border-bottom:3px double #6666ff;
 }

#main h2 a {
   color:#336666;
}

#main h2 a:hover {
   color:#D2447B;
   border-bottom:1px solid #D2447B;
}

#main h3 {
   margin-bottom:3px;
   padding:2px 4px;
   font-size:13px;
   color:#000099;
   background:#ffcccc;
}

#main h3 a {
   color:#336666;
}

#main h3 a:hover {
   color:#D2447B;
   border-bottom:1px solid #D2447B;
}

#main h4 {
   margin-bottom:2px;
   font-size:13px;
   color:#006699;
   border-bottom:2px solid #006699;
}

#main h5 {
   margin-top:5px;
   margin-bottom:2px;
   padding-left:5px;
   font-size:13px;
   color:#000033;
   border-left:8px solid #000033;
}

#main h6 {
   margin-bottom:8px;
   padding:2px 2px 2px 0;
   color:#000099;
   font-size:12px;
   font-weight:bold;
   border-top:3px double #6666ff;
 }

#main p {
   color:#000099;
   margin:0 0 1em 0;
}

#main dt {
   margin-bottom:3px;
}

#main dd {
   padding:0;
   margin:0 0 0.5em 1em;
   padding:3px;
   background:#ebebeb;
}

/* リンク画像ロールオーバー */
a:hover img {
 opacity:0.8;
 filter:alpha(opacity=80);
 -ms-filter: “alpha( opacity=80 )”;
}

<!--スクロールバーテーブルここから-->

 p.sample2 {width:620px; height:200px; background-color:#ffffff; overflow:scroll;}
 p.sample4 {width:620px; height:180px; background-color:#f3f3f3; overflow:auto;}
 p.sample5 {width:620px; height:120px; background-color:#ffffe3; overflow:auto;}
 p.sample6 {width:620px; height:100px; background-color:#eeffee; overflow:auto;}
 
<!--ここまで-->

<!--テーブルここから-->
table {
   width:630px;
   margin:10px;
   border-collapse:collapse;
   border:1px solid #999;
   border-spacing:0;
   line-height:1.8;
}

table th {
   padding:5px;
   border:1px solid #999;
   border-width:0 0 1px 1px;
   background:#EFEBEF;
   font-weight:bold;
   text-align:left;
}

table td {
   padding:5px;
   border:1px solid #999;
   border-width:0 0 1px 1px;
   text-align:left;
}

table td ol {
   margin:0;
   padding:0 0 0 30px;
}

table td li {
   margin:0;
   padding:0;
}

<!--ここまで-->

/* ========SUBCONTENTS CUSTOMIZE======== */

#sub h2 {
   padding:5px;
   font-size:14px;
   font-weight:bold;
   color:#0066ff;
}

#sub h2 a {
   color:#0066ff;
}

#sub h2 a:hover {
   color:#009900;
   background:#ffcccc;
}

#sub h3 {
   padding:3px;
   font-size:14px;
   font-weight:bold;
   color:#009900;
}

#sub h3 a {
   color:#009900;
}

#sub h3 a:hover {
   color:#0066ff;
   background:#ffcccc;
}

#sub h4 {
   padding:3px;
   font-size:13px;
   font-weight:bold;
   color:#0033cc;
}

#sub h4 a {
   color:#0033cc;
}

#sub h4 a:hover {
   color:#990066;
   background:#ffcccc;
}

#sub ul {
   margin:0;
   padding:0px 0 1em 0px;
}

#sub li {
   margin:0;
   padding-left:0px;
   color:#0000cc;
   line-height:1.8;
   background:#ffffff;
   list-style:none;
}

#sub li a {
   display:block;
   width:210;
   color:#660000;
}

#sub li a:hover {
   color:#990066;
   background:#ccffff;
}

#sub li a.active {
   color:#0066ff;
   background:#ffcccc;
}

/* ========PAGETOP CUSTOMIZE========= */
#pageTop {
   margin:10px 0;
   text-align:right;
   font-size:13px;
}

#pageTop a {
   padding:0 0 0 12px;
   background:url(../images/bg_pagetop.gif) 0 50% no-repeat;
}

#pageTop a:hover{
   text-decoration:underline;
   color:#D70053;
   background:url(../images/bg_pagetop_r.gif) 0 50% no-repeat;
}

/* ========FOOTER CUSTOMIZE======== */

#footer ul {
   margin:20px 0;
   padding-top:20px;
   text-align:center;
   border-top:1px solid #d2d2d2;
}

#footer li {
   display:inline;
   margin:0 0 0 20px;
   list-style:none;
}

#footer li a:hover {
   color:#D70053;
   text-decoration:underline;
}

.copyright {
   padding:10px 0;
   font-style:normal;
   font-size:12px;
   color:#000000;
   text-align:center;
}