@charset "utf-8";

/*PC・タブレット・スマホ共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family: "Hiragino Maru Gothic Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";	/*フォント種類*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	-webkit-text-size-adjust: none;
	background-color : #000;
	background-position: center;
	background-repeat: repeat;
}
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;}
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%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;	/*リンクテキストの色*/
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*同上*/
}
a:hover {
	color: #fe0000;	/*マウスオン時の文字色*/
}

/*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/
#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 a{
	font-size: 50px;
	color: #fff;
	line-height: 1.2;
	margin-bottom: 0;
	letter-spacing: 0.2em;			/*文字感覚を少し広くする設定。広くしないでいいなら、この１行を削除。*/
	white-space: nowrap;
	font-family: "Comic Sans MS", "Tahoma", "Hiragino Maru Gothic Pro", "sans-serif";
}
@media only screen and (max-width:480px){
	#logo a{
		letter-spacing: 0em;
		--font-size: 8vw;
		font-size: 12vw;
	}
}
header p{
	clear: both;
	text-align: center;	/*文字をセンタリング*/
	padding: 10px 0px;	/*左から、上下、左右への余白*/
	color: #fff;		/*文字色*/
}

/*コンテンツ（囲み枠のついたブロック）
---------------------------------------------------------------------------*/
#contents {
	border: 5px solid #000;	/*枠線の幅、線種、色*/
	background: #fff;		/*背景色*/
	border-radius: 50px;	/*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
	padding: 4%;			/*ブロック内の余白*/
	overflow: hidden;
}
/*コンテンツのh2タグの設定*/
#contents h2 {
	clear: both;
	margin-bottom: 15px;
	color: #fff;		/*文字色*/
	padding: 5px 20px;	/*上下、左右への余白*/
	background: #000;	/*背景色*/
	border-radius: 4px;	/*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
}
/*コンテンツのh3タグの設定*/
#contents h3 {
	clear: both;
	margin-bottom: 15px;
	padding: 3px 20px;	/*上下、左右への余白*/
	border-radius: 4px;	/*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
	border: 2px solid #000;	/*枠線の幅、線種、色*/
}
/*コンテンツのh4タグの設定*/
#contents h4 {
	clear: both;
	margin-bottom: 15px;
	color: #fff;		/*文字色*/
	padding: 3px 20px;	/*上下、左右への余白*/
	border-radius: 12px;	/*角丸のサイズ。大きくすれば角の丸みが大きくなる。角丸が不要ならこの１行削除。*/
	border: 2px dotted #000;	/*枠線の幅、線種、色*/
	--font-style: italic;
}
/*コンテンツの段落タグ設定*/
#contents p {
	padding: 7px 20px 14px;	/*上、左右、下への余白*/
}
#contents p + p {
	padding-top: 0px;
}
#contents h2 + p,
#contents h3 + p {
	padding-top: 0px;
	margin-top: -5px;
}

/*フッター(ページ最下部のcopyrightのパーツ)設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;	/*文字をセンタリング*/
	padding: 10px 0px;	/*左から、上下、左右への余白*/
	color: #fff;		/*文字色*/
}
footer a {
	text-decoration: none;
	border: none;
	color: #fff;	/*文字色*/
}
footer .pr {
	display: block;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブルブロック設定*/
.displaytbl {
	width: 95%;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}
.displaytbl img:hover{
  transform:scale(1.1,1.1);
}
@media only screen and (max-width:480px){
	.displaytbl td {
		padding: 5px;
		margin-left: auto;
		margin-right: auto;
		width: 35vw;
		display: inline-block;
	}
	.displaytbl-res {
		display: table-row;
	}
}

.sitetbl {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
}
.sitetbl td {
	width: 50%;
	padding: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sitetbl img:hover{
  transform:scale(1.1,1.1);
}
@media only screen and (max-width:480px){
	.sitetbl {
		margin-left: 0.2em;
	}
	.sitetbl td {
		padding: 0.5em;
		width: 100%;
		display: block;
	}
}

/* 画像 */
.imglist {
	width: 80px;
	height: 120px;
}
.imgdisplay {
	width: 200px;
	height: 283px;
}
@media screen and (max-width:480px){
	.imglist {
		width: 60px;
		height: 90px;
	}
	.imgdisplay {
		width: 150px;
		height: 213px;
	}
}

/*その他

---------------------------------------------------------------------------*/
/* 広告 */
.ad {
	text-align: -webkit-center;
	text-align: -moz-center;
	display: flex;
	justify-content: center;
	margin:0 auto;
	margin-bottom: 10px;
	width: 100%;
	max-width: 500px;
}
@media screen and (max-width:480px){
	.ad {
		max-width: 480px;
	}
}

.adbox {
	text-align: -webkit-center;
	text-align: -moz-center;
	min-height: 250px;
	margin:0 auto;
	content-visibility: auto;
	contain-intrinsic-size: 250px;
}

---------------------------------------------------------------------------*/
/* 検索フォーム */
#search-form {
    padding: 12px;
    margin: 0 auto;
    font-family: メイリオ;
}
#search-form form {
    width: 100%;
    display: table;
    table-layout: fixed;
    font-size: 14px;
}
#search-form input[type=text] {
    display: table-cell;
    width: 100%;
    height: 38px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 15px;
    -webkit-appearance: none;
    font-size: 16px;
    border: 1px solid #111;
}
#search-form .search-button {
    display: table-cell;
    vertical-align: top;
    width: 20%;
}
#search-form .search-button input[type="submit"] {
    width: 100%;
    height: 38px;
    font-weight: bold;
    color: #444;
    border: none;
    background: #ddd;
    padding: 0;
    border-radius: 15px;
    -webkit-appearance: none;
    font-size: 16px;
    background: #111;
    color: #fff;
    margin-left: 2px;
}

/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:600px){
	/*コンテナー（ホームページを囲む一番外側のブロック）
	---------------------------------------------------------------------------*/
	#container {
		width: 90%;		/*ブロックの幅を画面の90%にする設定。*/
	}
}
