@charset "utf-8";


/*全体の設定
---------------------------------------------------------------------------*/
html {
  min-height: 100%;
  position: relative;
}


body {
	color: #eee;	/*全体の文字色*/
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";	/*文字サイズ/行間、フォント*/
	background: #FFF url(../img/hakaco.jpg) no-repeat fixed;/*背景色、背景画像読み込み、リピートしない、中央上部に配置、固定表示させる*/
    background-size: cover;
    
    
    /* スクロールバー */
scrollbar-base-color:#111111;/* 基本色 */
scrollbar-track-color:#111111;/* レール部分 */
scrollbar-face-color:#444444;/* ボタン部分 */
scrollbar-shadow-color:#111111;/* 内側の影 */
scrollbar-darkshadow-color:#111111;/* 外側の影 */
scrollbar-highlight-color:#111111;/* 内側のハイライト */
scrollbar-3dlight-color:#111111;/* 外側のハイライト */
scrollbar-arrow-color:#ff0088;/* 矢印の色 */

  margin-bottom: 5em;
    
}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #aaa;	/*リンクテキストの色*/
}
a:hover {
	color: #ff0088;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

.tdftad a {
  color: #722781;
}
.tdftad a:hover {
	color: #ff0088;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: 980px;	/*ボックス幅*/
	margin: 0 auto 0;
    
    height: 100%;
    min-height: 100%;
    height: auto !important;
}

/*ヘッダー（h1タグが入ったブロック）
---------------------------------------------------------------------------*/
header {
	width: 100%;	/*ヘッダーブロックの幅*/
	margin-bottom: 80px;
    
}
/*h1タグ*/
header h1 {
	font-size: 10px;		/*文字サイズ*/
	font-weight: normal;	/*太字を標準にする設定*/
	text-align: right;		/*テキストを右側に*/
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	width: 700px;	/*メインコンテンツ幅*/
	float: right;	/*右側に回り込み*/
	padding: 80px 0px 150px;	/*上、左右、下への余白*/
}
/*mainコンテンツのh2タグの設定*/
#main h2 {
	background-color: #000;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	font-size: 100%;
	padding: 6px 15px;	/*上下、左右への余白*/
	clear: both;
	border-radius: 6px;	/*角丸のサイズ*/
	color: #ff0088;		/*文字色*/
}
/*mainコンテンツのh3タグの設定*/
#main h3 {
	background-color: #222;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	font-size: 100%;
	padding: 6px 15px;	/*上下、左右への余白*/
	clear: both;
	border-radius: 6px;	/*角丸のサイズ*/
	color: #ff0088;		/*文字色*/
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0.5em 15px 1em;	/*左から、上、左右、下への余白*/
	/*text-shadow: #FFF 1px 1px 1px;	テキストの影 */
	background-color: rgba(10,10,10,0.85);
    border-radius: 3px;	/*角丸のサイズ*/
}

/*gallery.html内のブロック
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main section.list {
	height: 370px;	/*ボックスの高さ*/
	width: 280px;	/*ボックスの幅*/
	border-radius: 10px;	/*角丸のサイズ*/
	-webkit-box-shadow: 1px 1px 5px #ececec;	/*影の設定。それぞれ右へ、下へ、ぼかし幅、色の設定。*/
	box-shadow: 1px 1px 5px #ececec;			/*同上*/
	border: 1px solid #d6d6d6;	/*枠線の幅、線種、色*/
	background-color: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#f6f6f6));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#FFF, #f6f6f6);	/*同上*/
	background-image: linear-gradient(#FFF, #f6f6f6);			/*同上*/
	padding: 20px;	/*ボックス内の余白*/
	float: left;
	margin: 0px 16px 15px;
	overflow: hidden;
}
/*ボックス内の段落タグ設定*/
#main section.list p {
	padding: 0px;
	color: #666;		/*文字色*/
	font-size: 12px;	/*文字サイズ*/
	line-height: 1.4;	/*行間*/
}
/*ボックス内のh4タグ設定*/
#main section.list h4 {
	font-size: 100%;
	color: #86a47d;	/*文字色*/
	border-bottom: 2px dotted #86a47d;	/*下線の幅、線種、色*/
	margin-bottom: 5px;
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	width: 220px;	/*サブコンテンツ幅*/
	float: left;	/*左側に回り込み*/
	background-color: rgba(10,10,10,0.7);	/*背景色。左３つの数字でRGB値での色を指定し、最後の小数点の数字で透明度を指定。*/
	border-radius: 8px;	/*角丸のサイズ*/
	padding: 8px;		/*余白*/
	text-align: center;	/*ボックス内をセンタリング*/
	border: 1px solid #000;	/*枠線の幅、線種、色*/
}
/*ロゴ*/
#sub #logo {
	padding: 20px 0px;	/*上下、左右へとる余白*/
}
/*subコンテンツのh2タグの設定*/
#sub h2 {
	background-color: #000;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	font-size: 100%;
	padding: 5px 0;	/*上下、左右への余白*/
	clear: both;
	font-weight: normal;
	color: #FFF;	/*文字色*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
nav#menubar ul {
	margin-bottom: 15px;
    background: #111;	/*背景色*/
}
/*メニュー１個ごとの設定*/
nav#menubar ul li a {
	letter-spacing: 0.3em;		/*文字間隔を少し広めにとる設定。*/
	-webkit-transition: 0.1s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.4s;			/*同上*/
	display: block;
	text-decoration: none;
	padding: 12px 0px;	/*上下、左右への余白*/
    color: #ddd;	/*文字色*/
}
/*マウスオン時の設定*/
nav#menubar ul li a:hover {
    color: #FFF;	/*文字色*/
	background: #ff0088;	/*背景色*/
}

/*フッター設定
---------------------------------------------------------------------------*/

footer {
	clear: both;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 10px;
	letter-spacing: 0.2em;
	background-color: rgba(10,10,10,0.7);
    
    bottom: 0;
    position: absolute;
    width: 100%;
}
footer .pr {
	display: block;
	font-size: 70%;
    
}
footer a {
	text-decoration: none;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl{
	background-color: rgba(10,10,10,0.7);
	overflow: auto;	/*高さ指定を超えるとiframe風にスクロールが出る設定。全部表示させたいならこの行と下のheightの行を削除。*/
	height: 100px;	/*ブロックの高さ*/
    border: 20px rgba(10,10,10,0.52) solid; /* ボックスの境界線 */
    border-radius: 3px;	/*角丸のサイズ*/

    
}
/*日付設定*/
#new dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 10em;
    font-size: 80%;
}
/*記事設定*/
#new dd {
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding-left: 8em;
    font-size: 80%;
}
#new dd img {
	vertical-align: middle;
}

/*テーブル１
---------------------------------------------------------------------------*/
.ta1 {
    width: 100%;
	margin: 0px auto;
	background-color: rgba(10,10,10,0.1);
    font-size: 85%;
}
.ta1, .ta1 td, .ta1 th{
	border: 1px solid #CCC;	/*テーブルの枠線の幅、線種、色*/
	line-height: 2;
}
/*テーブル内の右側*/
.ta1 td{
	padding: 10px;
	background-color: rgba(10,10,10,0.7);
}
/*テーブル内の左側*/
.ta1 th{
	width: 180px;
	padding: 10px;
	text-align: center;
	background-color: rgba(100,100,100,0.8);	/*背景色。左３つの数字でRGB値での色を指定し、最後の小数点の数字で透明度を指定。*/
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi{
	width: auto;
	text-align: left;
	color: #FFF;	/*文字色*/
}

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
    
    position: fixed;
    bottom: 70px;
    right: 30px;
    
}
#pagetop a {
	font-size: 10px;	/*文字サイズ*/
	background-color: #FFF;	/*背景色*/
	text-decoration: none;
	text-align: center;
	border-radius: 20px;	/*角丸のサイズ*/
	border: 1px solid #f8cee0;	/*線の幅、線種、色*/
	width: 12em;	/*ボックス幅*/
	display: block;
	float: right;
	letter-spacing: 0.1em;    
    
    
    
}
/*マウスオン時*/
#pagetop a:hover {
	background-color: #ff0088;	/*背景色*/
	color: #FFF;			/*文字色*/
}

/*その他
---------------------------------------------------------------------------*/
.look {
	background: #dcdcdc;
}
.mb15,
.mb1em {
	margin-bottom: 15px;
}
.clear {
	clear: both;
}
ul.disc {
	padding: 0em 25px 1em;
	list-style: disc;
}
.color1 {
	color: #86a47d;
}
.color2 {
	color: #FF0033;
}
.pr {
	font-size: 10px;
}
.btn {
	font-size: 13px;
}
.wl {
	width: 96%;
}
.ws {
	width: 50%;
}
.c {
	text-align: center;
}
figcaption {
	font-size: 11px;
}
img {
	max-width: 100%;
	height: auto;
}
#menubar_hdr {
	display: none;
}




/*ここからスマートフォン用（480px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
    background: #FFF url(../img/hakaco_sp.jpg) no-repeat fixed;
    background-size:auto 100%;/*この場合は幅が自動設定*/
    
}

/*ヘッダー（h1タグが入ったブロック）
---------------------------------------------------------------------------*/
/*h1タグ*/
header h1 {
	display: none;
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin: 5px;
}

/*サブコンテンツ内のheadブロック
---------------------------------------------------------------------------*/
#sub #head {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	background-color: rgba(10,10,10,0.85);
	padding: 0px;
}
#sub #logo {
	padding: 5px 0px;	/*上下、左右へとる余白*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個ごとの設定*/
nav#menubar ul li {
	float: left;
	width: 50%;

}
nav#menubar ul li:nth-child(odd) {
	border-right: 1px solid #ececec;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	width: auto;
    margin-bottom: 100px;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
}
#main {
	overflow: hidden;
	padding-top: 120px;
}
#top #main {
	overflow: hidden;
	padding-top: 300px;
}

/*gallery.html内のブロック
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main section.list {
	width: 96%;
	height: auto;
	float: none;
	margin: 0px auto 15px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#main section.list img {
	width: 100%;
	height: auto;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
section#new h2.open {
	background: url(../images/btn_minus.png) no-repeat right center, -webkit-gradient(linear, left top, left bottom, from(#111), to(#111));
	background: url(../images/btn_minus.png) no-repeat right center, -webkit-linear-gradient(#111);
	background: url(../images/btn_minus.png) no-repeat right center, linear-gradient(#111);
}
section#new h2.close {
	background: url(../images/btn_plus.png) no-repeat right center, -webkit-gradient(linear, left top, left bottom, from(#111), to(#111));
	background: url(../images/btn_plus.png) no-repeat right center, -webkit-linear-gradient(#111);
	background: url(../images/btn_plus.png) no-repeat right center, linear-gradient(#111);
}
/*ブロック全体の設定*/
#new dl {
	height: 100px;
	padding-left: 0;
}
/*日付設定*/
#new dt {
	float: none;
	width: auto;
}
/*記事設定*/
#new dd {
	padding-left: 0;
}

/*テーブル１
---------------------------------------------------------------------------*/
.ta1 {
	width: 100%;
}
/*テーブル内の右側*/
.ta1 td{
	width: auto;
	padding: 2px;
}
/*テーブル内の左側の見出し部分*/
.ta1 th{
	width: 100px;
	padding: 2px;
}

/*その他
---------------------------------------------------------------------------*/
#menubar {
	display: block;
}
/*メニュー折りたたみ設定*/
#top #menubar_hdr {
	display: none;
}
#menubar_hdr {
	display: inline;
	position: absolute;
	top: 0px;
	right: 10px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#e5e5e5));
	background-image: -webkit-linear-gradient(#fbfbfb, #e5e5e5);
	background-image: linear-gradient(#fbfbfb, #e5e5e5);
	padding: 10px;
	border: 1px solid #cfcfcf;
	border-radius: 0px 0px 6px 6px;
	z-index: 10;
}
    
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1;
    
}
    
}
