@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-size:13px;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust:100%;
}
.header {
  position: sticky;
  top: 10px; /* 少し浮かせるのがトレンドです */
  margin: 0 10px; /* 左右に余白を作ると浮遊感が出ます */
  border-radius: 16px; /* 角を丸くして柔らかい印象に */
  z-index: 1000;
  
  /* 背景：透明度を下げてボカシを強くする */
  background-color: rgba(255, 255, 255, 0.4); 
  backdrop-filter: blur(12px) saturate(180%); /* 彩度を上げるとお酒の画像が綺麗に透けます */
  -webkit-backdrop-filter: blur(12px) saturate(180%);

  /* 境界線：これがあるだけで一気にプロっぽくなります */
  border: 1px solid rgba(255, 255, 255, 0.3);
  
  /* シャドウ：重くない、柔らかな影 */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* スクロールした時の変化をより強調 */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  top: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 5px; /* スマホ用に少し狭める */
  min-height: 64px;    /* 固定ではなく最小高さにする */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;     /* 折り返しを許可 */
}

/* --- 2. PC・スマホ共通：ヘッダーをガラス風に --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.7); /* 透け感 */
  backdrop-filter: blur(10px); /* 磨りガラス効果 */
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* --- 3. スマホの時だけ適用するオシャレ設定 --- */
@media (max-width: 768px) {
  .header {
    top: 10px; /* 少し浮かせる */
    margin: 0 10px;
    border-radius: 15px; /* 角を丸く */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 軽い影 */
  }

  /* ナビゲーションを横にスライドできるようにする */
  .nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    text-decoration: none; /* 下線を消す */
  }
  
  .nav a {
    margin-left: 15px;
    font-size: 12px;
    text-decoration: none; /* 下線を消す */
  }
  
  /* 画像の角も少し丸める */
  .header img {
    border-radius: 10px;
  }
}

.hero {
  height: 100vh;
  background-color: #e0f7fa;
  padding: 2rem;
}

.hero-subtext {
  text-align: right;
  font-weight: bold;
  margin-bottom: 1rem;
}

.content {
  padding: 2rem;
  background-color: #fafafa;
}


html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

.pagetop {
    box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}

@media (hover: hover) and (pointer: fine) {
    .pagetop:hover, .pagetop:hover .pagetop__arrow {
        border-color: #3293e7;
    }
}



.ResTableA{
	width:100%;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #d8d8d8;
}

.ResTableA th{
	-moz-box-sizing: border-box;     /* box-size[border・padding 込み] */
	box-sizing: border-box;     /* box-size[border・padding 込み] */
	border: 1px solid #d8d8d8;
	padding: 15px 10px 12px;
	width: 30%;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	vertical-align:middle;
	background-color: #f0f0ef;
}

.ResTableA td{
	padding: 15px 10px 12px;
	text-align: left;
	vertical-align: top;
	border-top: dotted 1px #d8d8d8;
}


}
.ResTableA th{
	padding: 5px 10px;
	width:100%;
	display:block;
	margin: 0 auto;
	border:none;
	text-align: left;
}
.ResTableA td{
	padding: 5px 10px;
	width:100%;
	display: list-item;     /* リストに変換 */
	list-style:none;     /* リストに変換によるドットを非表示 */
	border-top: none !important;
	border-bottom:1px solid #d8d8d8;
}
}




table {
  border-collapse: collapse;
}

p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 60px auto 40px;
}

input[type="text"],
select, /* ここに追加 */
textarea {
  background: #ffffff;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 80%;
  transition: 0.8s;
  border-radius: 0;
  border: 1px solid #ccc; /* 枠線がないと形が見えないため追加推奨 */
}

input[type="text"]:focus,
select:focus, /* ここに追加 */
textarea:focus {
  background: #fae9fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  outline: none;
}

textarea[name="content"] {
  display: inline-block;
  width:50%;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form-table {
  width:100% ;
}

.form-table th,
.form-table td {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 20px;
}

.form-table th {
  background: ;
  padding-left: 10px;
  position: relative;
  text-align: left;
  width: 25%;
}


.input_box2 {
  width:;
  height:30px;
  border:1px solid #FF1D00;
  padding:20px 0px;
   
}
.input_box2 input[type="text"] {
  width:100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

iframe {
    display: block;
}

iframe {
　position: absolute;
　top: 0;
　left: 0;
　width: 100%;
　height: 100%;
}




.box{
  display: grid;
  grid-template-columns: 100px min-content;
}

.text{
  border: 1px solid red;
}

.o-break_word{
  overflow-wrap: break-word;
}
.o-anywhere{
  overflow-wrap: anywhere;
}


.wrapper {
 display: flex;
 max-width: 1600px;
 min-width: 980px;
 margin: 0 auto;
 padding: 0 20px;
}
main {
 flex: 1;
 margin: 0 20px;
}
aside {
 width: 100%;
}
 
@media (max-width: 768px) {
  .header__inner {
    flex-direction: column; /* 上下並びに変更 */
    height: auto;
    padding: 10px;
  }
  .nav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .nav a {
    margin: 0 10px;
  }
}

 main {
  margin: 0;
 }
 aside {
  width: 100%;
 }
 .pc_only {
  display: none;
 }
}

.test-table {
  width: 100%;
  border-collapse: collapse;
}

.test-cell {
  border: 1px solid #ddd;
  padding: 50px;
  text-align: center; /* 水平中央寄せ */
  vertical-align: middle; /* 垂直中央寄せ */
}

.waku{
width:600px;
  float: left;
  margin: 0 auto;
}

.float-right {
    float: right;
    margin-left: 10px; /* Optional: adds space between image and text */
}


.float-left {
  float: left;
  margin-right: 15px; /* Adds some space between the image and the text */
}



.border-box {
	width: ;
	height:;
	background-color: #e0e0e0;
        background-clip: border-box;
	padding: 50px;
        border:;
}
.padding-box {
	width: ;
	height: ;
	background-color: #e0e0e0;
        background-clip: padding-box;
	padding: 30px;
        border:;
}
.content-box {
	width: 340px;
	height: ;
	background-color: #f5f5f5;
        background-clip: content-box;
	padding: 5px;
        border:;
}

.container {
  width: 90%;          /* 小さい画面での余白確保 */
  max-width: 1280px;   /* 最大幅（デスクトップサイズ） */
  margin: 0 auto;      /* 左右中央寄せ */
}

body{
    width: 100%;
    max-width: 1280px;
    margin: auto;
}


.moreLink {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 6px 16px;
    margin-top: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: 0.3s;
}

ul#newsList li:hover .moreLink {
    background: #ffcc00; /* ホバー時にナショジオイエローに */
    color: #000;
}

/* 追加：本文の微調整 */
.comment p {
    font-size: 11px;
    color: #555;
    line-height: 1.4;
    margin: 8px 0;
    letter-spacing: -0.01em;
}

span.comment {
    display: block;
    line-height: 1.05 !important;
    font-size: 10px !important;
    margin-top: 5px; /* タイトルとの隙間を調整 */
}

/* サイドバー内のリストを2列にする設定 */
#sidebar ul {
    display: flex;
    flex-wrap: wrap;   /* 横幅が足りない時に折り返す */
    list-style: none;  /* 黒丸を消す */
    padding: 0;
    margin: 0;
    gap: 10px;         /* バナー間のすき間（お好みで調整） */
}

#sidebar ul li {
    /* 2列にするための計算 (50%から隙間分を引く) */
    flex: 0 0 calc(50% - 5px); 
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* 画像やiframeを枠内に収める */
#sidebar ul li img,
#sidebar ul li iframe,
#sidebar ul li input {
    width: 100% !important;
    display: block;
}

/* 旧サイトの見出しなどは1列（100%）にしたい場合 */
#sidebar ul li:has(h3) {
    flex: 0 0 100%;
    text-align: center;
}

/* さらに画面が小さいスマホ（480px以下など）で1列に戻したい場合 */
@media screen and (max-width: 480px) {
    #sidebar ul li {
        flex: 0 0 100%;
    }
}

/* --- サイドバーの基本設定（PC表示：1列） --- */
#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block; /* PCでは通常の縦並び */
}

#sidebar ul li {
    width: 100%;
    margin-bottom: 15px;
}

#sidebar ul li img,
#sidebar ul li iframe {
    max-width: 100%;
    display: block;
}

/* --- タブレット・スマホ表示（画面幅1024px以下の時：2列） --- */
@media screen and (max-width: 1024px) {
    #sidebar ul {
        display: flex;      /* 横並びを有効化 */
        flex-wrap: wrap;    /* 折り返しを許可 */
        gap: 10px;          /* 項目間のすき間 */
    }

    #sidebar ul li {
        /* 2列にする（50%から隙間分を引く） */
        flex: 0 0 calc(50% - 5px); 
        margin-bottom: 5px;
    }

    /* 「旧サイト」の見出しやボタン、ニュース枠などは1列のままにする */
    #sidebar ul li:has(h3),
    #sidebar ul li:has(iframe[src*="news.php"]) {
        flex: 0 0 100%;
    }
}

/* --- 超小型スマホ（480px以下）で1列に戻したい場合（任意） --- */
@media screen and (max-width: 480px) {
    #sidebar ul li {
        flex: 0 0 100%;
    }
}

/* タブレット・スマホ表示（1024px以下）の設定 */
@media screen and (max-width: 1024px) {

    /* メインエリアの横並び設定を解除 */
    #main {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }

    /* 各記事（article）を強制的に1列（幅100%）にする */
    #main article.grid {
        display: block !important;
        width: 100% !important;
        float: none !important; /* 横並び解除 */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px; /* 記事間の上下余白 */
    }

    /* iframeがはみ出さないように調整 */
    #main article.grid iframe {
        width: 100% !important;
        max-width: 100%;
        display: block;
    }
}

/* --- 全デバイス共通：最初は閉じておく --- */
.fb-hover {
    height: 70px !important; 
    transition: height 0.3s ease;
    display: block;
    overflow: hidden;
}

/* --- PC（画面幅 1025px以上）の時だけ、マウスを乗せたら広げる --- */
@media screen and (min-width: 1025px) {
    .fb-hover:hover {
        height: 400px !important;
    }
}

/* --- スマホ・タブレット（1024px以下）の設定 --- */
@media screen and (max-width: 1024px) {
    .fb-hover {
        height: 70px !important; /* 常に閉じた状態を維持 */
    }
}

/* すべてのリンクの下線を消す */
nav a {
  text-decoration: none;
}

/* 現在のページ（activeクラス）にだけ下線を引く */
nav a.active {
  text-decoration: underline;
  font-weight: bold;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#6caefe;text-decoration:none;}
a:hover{color:#488fdd;}
a:active, a:focus {outline:0;}


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

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


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

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



/*************
/* ロゴ
*************/
.logo{
float:left;
}

.logo a{
color:#555;
}

.logo p{float:left;}

.logo span{display:block;}


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

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


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

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


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
clear:both;
margin:25px auto 40px;
padding:0;
position:relative;
text-align:center;
}
#mainBanner .inner{position:relative;}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
color:#fff;
font-weight:bold;
position:absolute;
max-width:100%;
height:auto;
bottom:42%;
left:40px;
padding:5px 10px;
line-height:1.4;
text-align:left;
}

.slogan h2{
padding-bottom:5px;
font-size:22px;
}


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

* html .gridWrapper{height:1%;}
	
.grid{
overflow:hidden;
}

.box{
padding:10px;
}

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

.box h3{
font-size:16px;
padding:10px 0 15px;
}

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

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

.box p.readmore a{
padding:3px 7px;
border-radius:3px;
}


/*************
メイン コンテンツ
*************/
section.content article{
padding:30px 0 20px 0;
margin-bottom:10px;
overflow:hidden;
}

section.toppage article,section.content .archive{border:0;}


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

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

h3.heading{
font-size:16px;
font-weight:normal;
padding:15px 0;
margin-bottom:5px;
border-top:2px solid #ebebeb;
border-bottom:2px solid #ebebeb;
}

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;
}


/*************
/* サイドバー
*************/
#sidebar article{
clear:both;
margin-bottom:20px;
}

#sidebar ul{padding:15px 0;}

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

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

#sidebar li a{
color:#555;
font-size:12px;
display:block;
}

#sidebar li a:hover{
color:#999;
font-size:12px;
display:block;
}


/*************
/* フッター
*************/
#footer{
clear:both;
}

#footer a{
color:#555;
}

#footer a:hover{
color:#999;
}

#footer .inner{
padding:40px 0;
overflow:hidden;
}

#footer .grid{
margin:0;
}

#footer #info{float:left;}

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

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

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

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

ul.footnav{
float:right;
width:620px;
padding:10px 0;
}
ul.footnav ul{display:none;}

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

#copyright{
clear:both;
padding:20px 0 10px 0;
text-align:center;
font-style:normal;
font-size:10px;
color:#555;
}


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

.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:10px;}

.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 #cf6a88;
}

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

.post h3{
margin:10px 0 25px 0;
padding:10px 0 10px 0;
font-size:120%;
font-weight:normal;
border-bottom:1px solid #ddd;
}

.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:5px auto 15px auto;
}

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

.post 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;
}


.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){
	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}
	
  #mainNav{
	clear:both;
	z-index:200;
	position:relative;
	}

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

	#mainNav li a{
	color:#555;
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:160px;
	height:30px;
	padding:15px 0;
	border-top:2px solid #ebebeb;
	border-bottom:2px solid #ebebeb;
	}

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

	#mainNav li a span{
	color:#bababa;
	font-size:10px;
	}
	
	#mainNav ul ul{width:160px;background:#fff;}
	#mainNav li ul{display:none;}

	#mainNav li:hover ul{
	display:block;
	position:absolute;
	top:64px;
	z-index:500;
	}
	
	#mainNav li li{
	margin:0;
	float:none;
	width:160px;
	border:0;
	}
  #mainNav li li:last-child{border:0;}
	
	#mainNav li li a{
	width:auto;
	height:auto;
	padding:10px;
	font-size:95%;
	text-align:left;
	border:0;
	}

	#mainNav li li span{padding:0 10px;}
	
	#mainNav li.current-menu-item a{
	border-color:#555;
	}

	#mainNav li.current-menu-item a,#mainNav li a:hover,#mainNav li.current-menu-item li a:hover{
	color:#999;
	}

	#header,#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{clear:both;padding:20px 0;}
	
	#main{
	float:left;
	width:680px;
	padding:15px 0 0 0;
	}
	
	#sidebar{
	float:right;
	width:260px;
	padding:15px 0;
	overflow:visible;
	}
	
	#sidebar article{
	margin-bottom:20px;
	overflow:visible;
	}
	
	.logo{width:500px;}
	
	/* グリッド全体 */
	.gridWrapper{
	display:table;
	border-collapse:separate;
	border-spacing:0px;
	}
	
	/* グリッド */
	.grid{
	width:320px;
	display:table-cell;
	}

}


@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;
	}
	
	#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
  border:1px solid #e4e4e4;
	border-left:0;
	border-right:0;
	}

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

	#mainNav a#menu span{
	padding-left:10px;
	}
	#mainNav a.menu span:before{content:"≡ ";}
	#mainNav a.menuOpen span:before{content:"× ";}

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

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

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

	#mainNav li a,#mainNav li.current-menu-item li a{
	color:#555;
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
 	#mainNav li a span{padding-left:10px;}
	
	
	#mainNav ul > li:last-child a{border:0;}
	#mainNav li li:last-child a{border-bottom:1px dashed #ccc;}
 
	#mainNav li.current-menu-item a,#mainNav li a:hover,#mainNav li.current-menu-item a,#mainNav li a:active, #mainNav li li.current-menu-item a, #mainNav li.current-menu-item li a:hover, #mainNav li.current-menu-item li a:active{
	color:#555;
	}

	#mainNav li li{
	float:left;
	border:0;
	}

	#mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a{
	padding-left:40px;
	background:url(images/sub1.png) no-repeat 20px 18px;
	}

	#mainNav li li.current-menu-item a,#mainNav li li a:hover, #mainNav li.current-menu-item li a:hover{background:url(images/sub1.png) no-repeat 20px -62px;}

	#mainNav li li:last-child a{background:url(images/subLast.png) no-repeat 20px 20px;}
	#mainNav li li:last-child.current-menu-item a,#mainNav li li:last-child a:hover,#mainNav li.current-menu-item li:last-child a:hover{background:url(images/subLast.png) no-repeat 20px -65px;}

	nav div.panel{float:none;}
	
	#header{padding-left:10px;}
	
	#main{padding-top:15px;}
	section.toppage{margin:0;}
	#sidebar{padding-bottom:15px;}
	#sidebar article{padding:7px 8px;}
	
	#footer .grid,#footer ul.footnav{float:none;width:100%;text-align:center;}
	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	float:left;
	width:32%;
	margin:10px 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;}
	#footer .logo p{float:none;display:block;	}
	#footer .logo img{float:none;padding:0;}
}


@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;}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

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

}


@media only screen and (max-width:480px){
	.grid{width:100%;margin:10px 0;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
}
