@charset "utf-8";

/* --------------------------------------------------------------
   基本リセット
-------------------------------------------------------------- */
body {
    color: #000;
    margin: 0;
    padding: 0;
    font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
    background: url(../images/bg.png);
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dt, dd,
form, figure {
    margin: 0;
    padding: 0;
}

ul { list-style: none; }

img {
    border: none;
    max-width: 100%;
    height: auto;
}

table {
    border-collapse: collapse;
    font-size: 100%;
}

/* --------------------------------------------------------------
   リンク
-------------------------------------------------------------- */
a { color: #000; }
a:hover { color: #000; text-decoration: none; }

/* --------------------------------------------------------------
   h1
-------------------------------------------------------------- */
h1 {
    font-size: 10px;
    color: #FFF;
    background: #4d443a;
    text-align: right;
}
h1 a { color: #FFF; text-decoration: none; }

/* --------------------------------------------------------------
   レイアウト
-------------------------------------------------------------- */
#container {
    width: 985px;
    margin: 0 auto;
}

header {
    height: 110px;
    width: 100%;
    position: relative;
}

header p.headerbox {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 11px;
    background: linear-gradient(#FFF, #fff4cc);
    border: 5px solid #FFF;
    padding: 5px 15px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 5px #bebebe;
}

header p.headerbox .dai { font-size: 20px; color: #124c0b; }
header p.headerbox .hosoku { font-size: 12px; color: #ff3333; }

header p.mobile {
    position: absolute;
    right: 20px;
    top: 60px;
    font-size: 14px;
}

.blank { height: 10px; }

/* --------------------------------------------------------------
   メインメニュー
-------------------------------------------------------------- */
nav#menubar ul li {
    float: left;
    width: 157px;
    margin: 0 7px 20px 0;
    line-height: 1.6;
}
nav#menubar ul li.last { margin-right: 0; }

nav#menubar ul li a {
    display: block;
    padding: 10px 0;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(#317c22, #124c0b);
    box-shadow: 0 2px 5px #bebebe;
    transition: .5s;
}
nav#menubar ul li a:hover {
    background: #FFF;
    color: plum;
}
nav#menubar ul li.current a {
    background: #ccffff;
    color: #000;
}

/* --------------------------------------------------------------
   コンテンツ
-------------------------------------------------------------- */
#contents {
    clear: left;
    width: 965px;
    background: #FFF;
    padding: 10px 10px 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px #bebebe;
}

/* --------------------------------------------------------------
   スライドショー
-------------------------------------------------------------- */
#mainimg {
    position: relative;
    width: 965px;
    height: 200px;
    margin-bottom: 20px;
}
#mainimg img { box-shadow: 0 2px 5px #bebebe; }
#mainimg .slide_file { display: none; }

#slide_image,
#slide_image2 {
    position: absolute;
    left: 0;
    top: 0;
}
#slide_image { z-index: 2; }

/* --------------------------------------------------------------
   メイン / サブ
-------------------------------------------------------------- */
#main { float: left; width: 700px; }
#mainb { width: 960px; padding: 0 20px; }
#mainc { width: 965px; margin: 0 auto; }

#sub {
    float: right;
    width: 240px;
    padding-bottom: 30px;
}

/* --------------------------------------------------------------
   共通スタイル
-------------------------------------------------------------- */
.main-content { padding-bottom: 30px; }

.main-content h2 {
    background: linear-gradient(#317c22, #124c0b);
    color: #FFF;
    padding: 7px 10px 3px 15px;
    border-radius: 6px 6px 0 0;
    border-bottom: 4px solid #f6a200;
    box-shadow: 0 2px 5px #bebebe;
    font-size:100%;
}

.main-content h5 {
    background: linear-gradient(#ffffff, #f6fc8a);
    color: #124c0b;
    padding: 7px 10px 3px 15px;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid #99cc66;
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: .1em;
    box-shadow: 0 2px 5px #124c0b;
}

.main-content p {
    padding: .5em 10px 1em;
    background: #FFF;
}

/* --------------------------------------------------------------
   浮動バナー
-------------------------------------------------------------- */
.floating-banner {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 999;
}

input[type="button"] {
    display: inline-block;
    width: 155px;
    margin: 20px;
    padding: 10px;
    border: 0;
    border-radius: 25%;
    background: #e87917;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}
input[type="button"]:hover {
    background: #fdf7fa;
    color: #1d51f4;
}

/* --------------------------------------------------------------
   サブコンテンツ
-------------------------------------------------------------- */
#sub h2 {
    text-align: center;
    padding: 5px 0;
    background: linear-gradient(#c32a2a, #a20f0f);
    color: #FFF;
    border-radius: 6px 6px 0 0;
    letter-spacing: .3em;
    box-shadow: 0 2px 5px #bebebe;
}

#topicsmenu h3{
  margin-top:2em;
	letter-spacing:0.3em;
  background-color:#d2691e;
	border-radius: /* 6px 6px 0 0;	角丸のサイズ。それぞれ左上、右上、右下、左下への設定*/
	font-size: 100%;
	text-align: center;	/*文字をセンタリング*/
	padding: 5px 0px;	/*左から、上下、左右への余白*/
  color: #FFF;	 /*文字色*/
}

#sub ul { margin-bottom: 1em; }

#sub ul li a {
    display: block;
    padding-left: 10px;
    background: #FFF;
    border: 1px solid #999;
    border-top: none;
    text-decoration: none;
    transition: .5s;
}
#sub ul li a:hover { background: #ffea99; }

/* --------------------------------------------------------------
   サブナビ
-------------------------------------------------------------- */
#snav ul { margin-bottom: 1em; }

#snav ul li a {
    display: block;
    padding: 3px 10px;
    background: url('../images/btn_subm1.gif') no-repeat;
    border: 1px solid #999;
    text-indent: 50px;
    transition: .5s;
}
#snav ul li a:hover { background-color: #ffff99; }
#snav .current a { background-color: #ccffff; }

/* --------------------------------------------------------------
   フッター
-------------------------------------------------------------- */
footer {
    clear: both;
    text-align: center;
    padding: 15px 0;
}
footer .pr { 
  font-size: 80%;
  display: block;
 }

/* --------------------------------------------------------------
   What's New
-------------------------------------------------------------- */
#new dl {
    overflow: auto;
    height: 120px;
    padding-left: 10px;
}
#new dt {
    float: left;
    width: 8em;
    font-weight: bold;
}
#new dd {
    padding-left: 8em;
    border-bottom: 1px solid #d2d2d2;
}

/* --------------------------------------------------------------
   テーブル
-------------------------------------------------------------- */
.ta1, .ta1 td, .ta1 th {
    border: 1px solid #999;
    line-height: 2;
}
.ta1 td { padding: 5px; }
.ta1 th {
    width: 100px;
    background: #e2e2e2;
    text-align: center;
}

.ta8 { border: 1px solid #000; }

.ta8 th {
  width: 470px; 
  border:1px solid;     
}

.ta8 td {
   padding-left: 13px;
   padding-right: 13px;
   border:1px solid;
  }

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
	text-align: right;
}
#pagetop a {
	color: #FFF;	/*文字色*/
	background-color: #927e67;	/*背景色*/
	text-decoration: none;
	text-align: center;
	width: 14em;
	font-size: 10px;
	letter-spacing: 0.1em;
	display: inline-block;
}
#pagetop a:hover {
	background-color: #766653;
	color: #FFF;
}


/* --------------------------------------------------------------
   その他（indent / color / photo）
-------------------------------------------------------------- */
.indent1 { padding-left: 2em; }
.indent2 { padding-left: 7em; }
.indent3 { margin-left: 10px; }
.indent4 { padding-left: 1em; width: 75%; float: right; }
.indent5 { padding-left: 1em; }
.indent6 { padding-left: 10em; }

.color1 { color: #e85c0a; }
.color2 { color: #006400; }
.color3 { color: #2f4f4f; font-weight: bold; }
.color4 { color: #800000; font-weight: bold; }
.color5 { color: #800000; font-weight: bold; font-size: 120%; line-height: 2; }
.color6 { color: #ff0000; font-weight: bold; font-size: 110%; }

.photo-right1, .photo-right2, .photo-right3, .photo-right4,
.photo-right5, .photo-right6, .photo-right7,
.photo-left1, .photo-left2, .photo-left3, .photo-left4,
.photo-left5, .photo-left6, .photo-left7, .photo-left8,
.photo-left9, .photo-left10, .photo-left11 {
    float: left;
    margin: 10px;
}

.photo-center2{
  display: block;
	margin-left: auto;
	margin-right: auto;   
}    
/*ぱそぼらの活動ページの各項目のサムネイル
---------------------------------------------------*/
.photo-left3{ 
  	float: left;
	margin-right: 20px;
	margin-left:10px;
	margin-bottom: 10px;  
	margin-top:5px;
	width:100px;
}

/* 広報ページ
ーーーーーーーーーーーーーーーーーーーーーーーー */

.basho ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none; 
  padding: 0;
}

.basho li{
  width:50%;
  box-sizing: border-box; /* 幅の計算にpadding, borderを含める */
  padding: 10px; /* 項目間の余白 */
} 

/* --------------------------------------------------------------
   メディアクエリ（タブレット）
-------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 800px) {

    h1 { display: none; }

    #container { width: auto; margin: 0 6px; }

    header { height: auto; position: static; text-align: center; }
    header p.headerbox { position: static; margin-bottom: 15px; }
    header p.mobile { position: static; }

    nav#menubar ul li {
        width: 49%;
        margin: 0 0 5px;
    }
    nav#menubar ul li:nth-child(odd) { margin-right: 1%; }

    #contents { width: auto; }
    #main, #sub { float: none; width: auto; }

    #mainimg, #slide_image, #slide_image2 {
        width: 100%;
        height: auto;
    }

    #sub section.box2 { width: 100%; font-size: 12px; }
    #sub section.box2 img { width: 49%; }

    #snav ul li {
        width: 49%;
        display: inline-block;
        margin-bottom: 5px;
    }
}

/* --------------------------------------------------------------
   メディアクエリ（スマホ）
-------------------------------------------------------------- */
@media (max-width: 480px) {

    h1 { display: none; }

    #container { width: auto; margin: 0 6px; }

    header { height: auto; position: static; text-align: center; }
    header p.headerbox { position: static; margin-bottom: 15px; }
    header p.mobile { position: static; }

    nav#menubar ul li {
        float: none;
        width: 100%;
        margin: 0;
    }

    nav#menubar ul li a { border-radius: 0; }
    nav#menubar ul li:first-child a { border-radius: 10px 10px 0 0; }
    nav#menubar ul li:last-child a { border-radius: 0 0 10px 10px; margin-bottom: 10px; }

    #contents { width: auto; }
    #main, #sub { float: none; width: auto; }

    #mainimg, #slide_image, #slide_image2 {
        width: 100%;
        height: auto;
    }

    #sub section.box2 img { width: 100%; }

    #snav ul li { width: 100%; }

    #new dl { height: auto; padding-left: 0; }
    #new dt, #new dd { float: none; width: auto; padding-left: 0; }

    .ta1 td, .ta1 th { padding: 2px; width: auto; }

    #menubar_hdr {
        display: inline;
        position: absolute;
        top: 0;
        right: 10px;
        padding: 10px;
        background: linear-gradient(#fbfbfb, #e5e5e5);
        border: 1px solid #cfcfcf;
        border-radius: 0 0 6px 6px;
    }
}