﻿
 
/*PC・タブレット・スマホ共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*全体の設定
---------------------------------------------------------------------------*/
@charset "utf-8";
 
 
 
 
 
body {
	margin: 0px;
	padding: 0px;
	color: #333; /*全体の文字色*/
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; /*フォント種類*/
	font-size: 14px; /*文字サイズ*/
	line-height: 1.5; /*行間*/
	background: #000 url(../images/back1.jpg) repeat center top fixed;; /*背景*/
	-webkit-text-size-adjust: none;
 }
 
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
 }
 
ul {list-style-type: none;
	padding-left: 40px;
	padding-bottom: 15px;
}
 
ol {
	padding-left: 40px;
	padding-bottom: 15px;
 }
 
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
 }

a:hover img {opacity: 0.6}
 
table {
	border-collapse: collapse;
	font-size: 100%;
	border-spacing: 0;
 }
 
iframe {width: 100%;}

dt {
	font-weight: bold; /*太字にする設定。標準がいいならこの行削除。*/
	width: 8em;
 }

dd {
margin-left: 1em;
}
 
/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333; /*リンクテキストの色*/
	-webkit-transition: 0.5s; /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s; /*同上*/
 }
 
	a:hover {color: #e3150c; /*マウスオン時の文字色*/}
 
/*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/
#container {
	width: 80%; /*ブロックの幅を画面の80%にする設定。*/
	max-width: 1000px; /*上のwidth指定の追加設定。幅1000pxを最大幅に設定し、それ以上広げない。*/
	margin: 0 auto; /*HP画面の左右中央に表示させる設定*/
 }
 
/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*headerブロック*/
header {
	text-align: center; /*headerの中身をセンタリングさせる設定*/
	padding: 5% 0px; /*「5%」はheaderの上下に、「0px」はheaderの左右にあける余白設定。*/
 }
 
/*ロゴ画像設定*/
#logo  img {
	width: 80%; /*画像幅を上で設定している「container」の80%にする設定。*/
	max-width: 500px; /*最大幅を500pxにする指定。これ以上大きくならない。*/
 }
 
/*メニュー
---------------------------------------------------------------------------*/
/*メニュー全体を囲むブロック*/
#menubar {
	text-align: center; /*文字をセンタリング*/
	margin-bottom: 1%; /*メニューの下に空けるスペース*/
 }
 
	/*メニュー１個あたりの設定*/
#menubar li {display: inline; /*横並びにする設定*/}
 
#menubar li a {
		text-decoration: none;
		border: 2px solid transparent; /*枠線の幅(2px)、線種(solidは直線)、色(transparent)。「transparent」は「透明」の事で、下のマウスオン時の時に色が出るようにしています。「transparent」の代わりにカラーコードを入れてもOK。*/
	padding: 10px 20px; /*10pxは上下に、20pxは左右へ空ける余白指定。*/
	color: #fff; /*文字色*/
	font-size: 20px; /*文字サイズを少し大きくする設定。お好みで変更して下さい。*/
	letter-spacing: 0.2em; /*文字間隔を少し広くする設定。広くしないでいいなら、この１行を削除。*/
 }
 
/*マウスオン時の設定*/
#menubar li a:hover {
	border: 2px solid #fff; /*枠線の幅、線種、色。*/
	border-radius: 10px; /*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
 }
 
/*コンテンツ（囲み枠のついたブロック）
---------------------------------------------------------------------------*/
#contents {
	border: 5px solid #000; /*枠線の幅、線種、色*/
	background: #fff; /*背景色*/
	border-radius: 20px; /*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
	padding: 4%; /*ブロック内の余白*/
	padding-bottom: 20%; /*ブロック内の余白*/
	overflow: hidden;
	margin-bottom: 40%; /*コンテンツの下に空けるスペース*/
 }
 
	/*コンテンツのh2タグの設定*/
#contents h2 {
		clear: both;
		margin-bottom: 10px;
		color: #fff; /*文字色*/
		padding: 5px 20px; /*上下、左右への余白*/
		background: #000; /*背景色*/
		border-radius: 4px; /*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
	 }
 
	/*コンテンツのh3タグの設定*/
#contents h3 {
		clear: both;
		margin-bottom: 10px;
		padding: 3px 20px; /*上下、左右への余白*/
		border-radius: 4px; /*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
		border: 2px solid #000; /*枠線の幅、線種、色*/
	 }
 
	/*コンテンツの段落タグ設定*/
#contents p {padding: 7px 20px 10px; /*上、左右、下への余白*/}
 
#contents p + p {padding-top: 0px;}
 
#contents h2 + p,
#contents h3 + p {
		padding-top: 0px;
		margin-top: -5px;
	 }

#contents figure{
		padding: 7px 20px 0px; /*上、左右、下への余白*/
}


/*Workページ
---------------------------------------------------------------------------*/
#work img {
	height: 200px;		/*高さ*/
	width: auto;	/*幅*/
	margin-left: 2%;	/*左間にあけるスペース*/
	margin-bottom: 1em;
}

#work dt {
	font-weight: bold; /*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 6em;
 }

#work dd {padding-left: 6em;}

/*Douzinページ
---------------------------------------------------------------------------*/
/*画像*/
#douzin figure img {
	height: 200px;
	width: auto;
	margin-bottom: 20px;	/*下にあけるスペース*/
}

#goudousi a{target: _top;}

/*Galleryページ
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
#gallery .list {
	width: 18%;		/*幅*/
	float: left;	/*左に回り込み*/
	text-align: center;	/*ボックス内をセンタリング*/
	margin-left: 2%;	/*ボックスの左右間にあけるスペース*/
	margin-bottom: 10px;	/*ボックスの上下間にあけるスペース*/
	padding: 0px;
}
/*ボックス内の画像*/
#gallery figure {
	padding: 0px;
	margin="0px"
}

#gallery .list figure img {
	border-radius: 200px;	/*角丸のサイズ。適当に大きめに設定しておけばOK。*/
	padding="0px"
	margin="0px"
	width="100%"
	height="100%"
}
/*ボックス内のh3タグ*/
#gallery .list h3 {
	font-weight: normal;	/*hタグのデフォルトの太字を標準に*/
	font-size: 10px;		/*文字サイズ*/
	padding: 0px 0px;		/*上下・左右への余白*/
	border: 1px solid #333; 	/*枠線の幅、線種、色*/
	margin: 5px 5px;

}
 
/*フッター(ページ最下部のcopyrightのパーツ)設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	width: 100%;
	padding: 5px 0px;
	text-align: center;
	position: fixed;	/*ページ下部に固定させる設定*/
	left: 0px;
	bottom: 0px;
	background: #000;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.8);	/*背景色の設定。左３つが色指定(この場合は黒)で最後の小数点が透明度。*/
	color: #fff;	/*文字色*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定*/
 }
 
	footer a {
		text-decoration: none;
		border: none;
		color: #fff; /*文字色*/
	 }
 
	footer .pr {display: block;}
 
/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding-left: 20px;
	margin-bottom: 15px;
 }
 
/*日付設定*/
#new dt {
	font-weight: bold; /*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 8em;
 }
 
/*記事設定*/
#new dd {padding-left: 8em;}

/*リンク*/
#link dl {
	padding-left: 20px;
	margin-bottom: 15px;
 }

#link dt {
	font-weight: bold; /*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 8em;
 }
 
/*テーブル
---------------------------------------------------------------------------*/
/*tテーブルブロック設定*/
.ta1 {
	width: 100%;
	margin-bottom: 15px;
 }
 
.ta1, .ta1 td, .ta1 th {
	border: 2px solid #000; /*テーブルの枠線の幅、線種、色*/
	padding: 10px; /*テーブル内の余白*/
	word-break: break-all;
 }
 
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi {
	width: auto;
	text-align: left; /*左よせ*/
	background: #eee; /*背景色*/
 }
 
/*テーブルの左側ボックス*/
.ta1 th {
	width: 30%; /*幅*/
	text-align: center; /*センタリング*/
 }

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
	padding-top: 0px;
	padding-bottom: 0px;
}
#pagetop a {
	color: #fff;		/*文字色*/
	font-size: 10px;	/*文字サイズ*/
	width: 100px;
	line-height: 40px;	/*高さ*/
	text-align: center;
	border-radius: 100px;
	background: #555;	/*背景色（古いブラウザ用）*/
	background: rgba(50,50,50,0.8);	/*背景色。「0,0,0」は黒、0.8は透明度。*/
	text-decoration: none;
	display: block;
	float: right;
	margin-right: 1%;
}
/*マウスオン時*/
#pagetop a:hover {
	background: #000;	/*背景色*/
}

/*その他
---------------------------------------------------------------------------*/
.look {
	background: #e5e5e5;
	padding: 5px 10px;
	border-radius: 4px;
 }
 
.mb15,.mb1em {margin-bottom: 15px;}
 
.color1 {color: #e3150c;}
 
.pr {font-size: 10px;}
 
/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:600px){

/*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/
#container {
	width: 90%;		/*ブロックの幅を画面の90%にする設定。*/
}

}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*メニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li {
	display: block;	/*メニューを「横並び」から「縦並び」に変更する設定*/
	margin-bottom: 5px;
}

/*Galleryページ
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
#gallery .list {
	width: 45%;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
#new h2.open {
	background: #000 url(../images/btn_minus.png) no-repeat right center/34px 34px;
}
#new h2.close {
	background: #000 url(../images/btn_plus.png) no-repeat right center/34px 34px;
}

	/*テーブル
---------------------------------------------------------------------------*/
/*tテーブルブロック設定*/
.ta1, .ta1 td, .ta1 th {
	padding: 5px;			/*テーブル内の余白*/
}

}