/**************************************************
* デフォルトスタイル
***************************************************/
html {

}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td
{
 font-style:normal;
 margin:0;
 padding:0;
 font-size:100%;
}
a {
 color: #0033cc;
}
a:hover {
 color: #06e;
}
a:link, a:visited, a:active {
	outline-color:-moz-use-text-color;
	outline-style:none;
	outline-width:medium;
}
#header table,.diarycommententry {
border-collapse:collapse;
border-spacing:0;
}
 
img {
	border:0;
	vertical-align: text-top;
}

address,caption,cite,code,dfn,em,th,var {
	font-style:normal;
	font-weight:normal;
}

caption,th {
     text-align:left;
}

h1,h2,h3,h4,h5,h6 {
    font-weight:normal;
}

div.clear{
 clear:both;
}
div#headerMain {
	line-height: 13px;
}
/**************************************************
* 全体レイアウト
***************************************************/
body{
	font-size:90%;
	background-image: url(https://lh3.googleusercontent.com/UrzbfxzjSzR2tBopyfQJ0CdKN8kVfJCr-SsMWiOInncx2UuUHukVBDbIUct6a2Onao_aXTzdLQ=w3840-h2160);
	background-repeat: no-repeat;
	background-position: center 290px;
	background-attachment: fixed;
}

div#wrapper{
 width:950px;
 padding-top:0px;
 margin-right:auto;
 margin-left:auto;
}

/**************************************************
* ヘッダー
***************************************************/

div#header
{
	width:950px;
	margin:0px auto 0px auto;
	height:200px;
	position: relative;
}

div#wrapper #header table td{
	background-position: 0px 0px;
}

div#header h1{
	padding:0px;
	margin: -30px 0px 0px;
}
#top_link a {
	position: absolute;
	height: 45px;
	width: 295px;
	top: 142px;
	left: 10px;
	text-indent: -9999px;
}
#top_link a:hover {
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=tbtmK/lkisV29sXiixhbhA==&angoFolderKey=MrsaB2uve2QO4M50cFb01A==);
	background-position: -4px -216px;
}
#ama_link a {
	position: absolute;
	height: 40px;
	width: 160px;
	left: 330px;
	top: 10px;
	text-indent: -9999px;
}
#ama_link a:hover {
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=tbtmK/lkisV29sXiixhbhA==&angoFolderKey=MrsaB2uve2QO4M50cFb01A==);
	background-position: 0px -268px;
}


/**************************************************
* コンテンツ全体
***************************************************/
div#content{
	width:950px;
	margin:0px auto 0px auto;
	padding:0px;
}

div#bgborder
{
 display:none; 
}	
/**************************************************
* メイン
***************************************************/
div#mainLeft{
 width:640px;
 float:left;
}
div#mainRight{
	width:650px;
	float:right;
}

div#main{
	width:635px;
	float:right;
	padding-top:0px;
	margin:0px;
	padding-bottom: 20px;
}
div#content div#main .contentbody {
	overflow: visible;
}
div#main .cname{
	margin:0 auto;
	padding-left: 20px;
}
div#main .cname h2{
	font-size:16px;
	top:0px;
	left:0px;
	height:23px;
	font-weight:bold;
	color:#009;
	width: 580px;
	border-bottom: 2px solid #ccc;
	padding: 0px 0px 0px 7px;
	margin: 0px;
	line-height: 23px;
}

div#main .cname h2 a{
	color:#000;
	text-decoration:none;
	top:0px;
	left:14px;
	padding-left:32px;
	background: url(http://amakusa-web.jp/MyHp/images/typege03-03.gif) no-repeat;
}
div#main h2 img{
	margin-top: 2px;
	vertical-align: text-top;
}
div#main .cwaku h3{
	line-height: 0px;
	display: none;
}
.cwaku .diaryT h4 {
	color:#999999;
	padding:5px 0 0 20px;
}
div#main .cwaku{
	width:600px;
	margin:0px 0px 0px 10px;
	top:0px;
	left:0px;
	padding: 0px;
}

div#main .cwaku a{
	background-position: 2% 40%;
	padding-left:15px;
}
div#main .cwaku a:hover{
	text-decoration: none;
	color: #06e;
}

div#main .cwaku ul{
	list-style-type :none;
	margin-left :12px;
	padding-top:2px;
	padding-bottom:2px;
	font-size:90%;
}

div#main .cwaku li
{
	line-height:160%;
	padding:2px 0;
	border-bottom:1px dashed #CCC;
}

div#main .cwakurad1
{
	height:0px;
	overflow: hidden;
}

div#main .cwakurad2
{
	margin:0px;
	padding:0 0 10;
	height:1px;
	width: 0px;
	overflow: hidden;
}
div#main .photothumbarea table td a img {
	padding: 3px 0px;
}
#main .cwaku .photothumbarea {
	padding-left: 5px;
}
div#wrapper #main .diaryprevnext {
	margin: 0px;
	padding: 0px;
	height: 0px;
	overflow: hidden;
}
div#main .topFreeArea
{
	overflow:hidden;
	margin:0px;
}

/**************************************************
* サイドバー
***************************************************/

div#sidebar{
	width:297px;
	margin:0px 0px 7px 0px;
	float:left;
}

div#sidebar .cwakurad1{
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=kf2a3THQxFEyNZt7YYYOaw%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	height: 10px;
	margin-left: 25px;
	width: 260px;
	margin-top: 10px;
	overflow: hidden;
}

div#sidebar .cname{
	width:260px;
	margin:0px 0px 0px 25px;
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=kf2a3THQxFEyNZt7YYYOaw%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-repeat: no-repeat;
	background-position: -260px 0px;
}

div#sidebar .cname h2
{
	width:260px;
	height:20px;
	margin:0px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
	text-align:center;
	color:#009;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	line-height: 16px;
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=kf2a3THQxFEyNZt7YYYOaw%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-repeat: no-repeat;
	background-position: -520px -8px;
	overflow: hidden;
}

div#sidebar .cname h2 a
{
 color:#0068B6;
 text-decoration:none;
}

div#sidebar .cwaku{
	width:260px;
	margin:0px 0px 0px 25px;
	padding-top:0px;
	padding-bottom:10px;
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=kf2a3THQxFEyNZt7YYYOaw%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-repeat: repeat-y;
	background-position: -260px 0px;
}
div#sidebar .cwaku a{
	font-weight: bold;
	color: #0A3995;
	padding-left:14px;
	background: url(http://amakusa-web.jp/MyHp/images/typege03-07.gif) no-repeat;
	text-decoration: none;
}
div#sidebar .cwaku a:hover{
	color: #06e;
	text-decoration: underline;
}
div#sidebar .cwaku ul{
	list-style-type :none;
	width:210px;
	font-size:14px;
	padding:0px 0 0px 0px;
	color:#FFF;
	margin: 0px auto 10px;
}

div#sidebar .cwaku li{
	line-height:120%;
	width:205px;
	border-bottom:1px dashed #CCC;
	padding:5px 0px;
}
div#sidebar .cwaku li a {
	display:block;
	border-left:5px solid #aaa;
	padding-left:8px;
	background: none;
	zoom:1;
}
div#sidebar .cwaku li a:hover {
	border-left:5px solid #06e;
}
div#sidebar .cwaku li a:active {
	border-left:5px solid #fc0;
}
.MyHpDefault div#sidebar .cwaku li#m1 a,
.DiaryDefault div#sidebar .cwaku li#m2 a,
.OshiraseDefault div#sidebar .cwaku li#m3 a,
.PhotoDefault div#sidebar .cwaku li#m4 a,
.CalendarDefault div#sidebar .cwaku li#m5 a,
.Free1 div#sidebar .cwaku li#m6 a,
.Free11 div#sidebar .cwaku li#m7 a {
	border-left:5px solid #f00;
}
.DiaryShosai div#sidebar .cwaku li#m2 a,
.OshiraseShosai div#sidebar .cwaku li#m3 a,
.CalendarShosai div#sidebar .cwaku li#m5 a {
	border-left:10px solid #f60;
}
div#sidebar .cwakurad2{
	width:260px;
	height:10px;
	margin:0px 0px 5px 25px;
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=kf2a3THQxFEyNZt7YYYOaw%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-repeat: no-repeat;
	background-position: 0px -20px;
	overflow: hidden;
}

div#sidebar .topFreeArea
{
	margin:0;
	padding:0;
}

/**************************************************
* フッター
***************************************************/

div#footer{
	clear:both;
	width:950px;
	/*height:12px;*/
	text-align:center;
	margin:0px auto 0px;
	padding:12px 0;
	background-repeat: no-repeat;
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=6xMN4uZB7e1JHhtc8M8trA%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-position: 0px 0px;
	height: 80px;
	text-decoration:none;
	font-size: 12px;
}
#top_decoration {
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d&angoFileKey=tbtmK%2flkisV29sXiixhbhA%3d%3d);
	background-repeat: no-repeat;
	background-position: -315px -200px;
	height: 282px;
	margin-bottom: 15px;
}
#amalink{
	background: #fff;
	border: 1px inset #999;
	font-size: 11px !important;
	margin: 30px auto 8px;
	padding: 4px 2px;
	text-align: center;
	width: 460px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	filter: alpha(opacity=65);
	opacity:0.65;
}


/** 隙間 バグ取り **/
.cwaku:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
/****/
.diaryhonbun, .shosaileft {zoom:1;}
.diaryhonbun:after, .shosaileft:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}


/**** 他のページ ****/
div#mainRight #main .contenttitle h2 {
	border-bottom:1px solid #888;
	border-right:none;
	border-top:1px solid #888;
	color:#0066CC;
	font-weight:bold;
	background-color: #EEEEEE;
	background-image: none;
	border-left-style: none;
	line-height: 115%;
	min-height: 20px;
	padding-top: 7px;
	padding-bottom: 6px;
	font-size: 18px;
}

/*** 活動日記 ***/
div#main .topicpath {
	padding-top: 10px;
}
div#content .diaryhonbun {
	line-height: 150%;
	font-size:100%;
	background-image: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=evXqnTWKts%2bwgQhsZtROSA%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d);
	background-position: right bottom;
	background-repeat: no-repeat;
	padding-bottom: 50px;
}
div#content .diaryhonbun p {
 font-size:105%;
 padding: 6px 0 ;
}
div#content .diaryhonbun tr {
 padding_bottom: 5px;
}
#mainRight #main .contentbody .diarythread .diaryhonbun img {
	max-width: 570px;
	padding: 5px;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
	-moz-box-shadow: 5px 5px 8px #aaa;
	-webkit-box-shadow: 5px 5px 8px #aaa;
	box-shadow: 5px 5px 8px #aaa;
}
* html #mainRight #main .contentbody .diarythread {
	width: 590px;
	overflow: hidden;
}
* html #mainRight #main .contentbody .diarythread .diaryhonbun img {
	width: expression(this.width > 570 ? 570: true);
}
div#content div.diarycomment .diaryhonbun {
	background-image: none;
}

/* 日記フォーム */
div#content div#main .displeft {
	color:#777;
	margin:0 auto 5px;
	padding: 1px 0;
	background-color:#eee;;
	border: 1px solid #ddd;
	width:580px;
	text-align: center;
}
div#content div#main .diarycommenttitle {
	background: url(https://amakusa-web.jp/Sozai/Mg/FileAccess.aspx?aplUseNo=4997&angoFileKey=kf2a3THQxFEyNZt7YYYOaw%3d%3d&angoFolderKey=MrsaB2uve2QO4M50cFb01A%3d%3d) no-repeat;
	background-position: -786px 0px;
	border-bottom: 1px solid #ddd;
	font-size:1em;
	font-weight: bold;
	margin: 0 5px 0 20px;
	padding: 7px 5px 7px 35px;
}
div#content div#main .diarycomment {
	padding: 5px 5px 10px 30px;
}
div#content div#main .diarycomment .diaryhonbun {
	padding: 7px 0 7px 7px;
	border-left: 5px solid #ddd;
}
div#content div#main table.inputform {
	border: none;
}
div#content div#main table.inputform td {
	border: none;
	margin: 2px;
	padding: 4px;
}
div#content div#main table.inputform th {
	font-size:0.9em;
	background: none;
	border: none;
	text-align: right;
}
div#content div#main .contentbody input,
div#content div#main .contentbody select,
div#content div#main .contentbody textarea {
	border: 4px solid #ddd;
}
div#content div#main .contentbody input:focus,
div#content div#main .contentbody select:focus,
div#content div#main .contentbody textarea:focus {
	border: 4px solid #cdf;
	box-shadow: 0 0 5px #adf;
}
.hissu{
	font-size:0.75em;
	color:#f66;
	vertical-align: middle;
}

/*** お知らせ ***/
div#mainRight #main .owaku ul {
	line-height:190%;
	font-size: 100%;
}
* html div#mainRight #main .owaku ul li {
	layout-grid-line: 190%;

}
div#content .shosaileft {
 line-height: 150%;
 font-size:100%;
}
div#content .shosaileft p {
 font-size:105%;
 padding: 6px 0 ;
}
#main .shosaileft img {
	max-width: 570px;
	padding: 5px;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
	-moz-box-shadow: 5px 5px 8px #aaa;
	-webkit-box-shadow: 5px 5px 8px #aaa;
	box-shadow: 5px 5px 8px #aaa;
}
* html div#main .shosaileft img{
	width: expression(this.width > 590 ? 590: true);
}

a.cboxElement img {
	transition: 0.5s;
}
#main a.cboxElement:hover img {
	filter: alpha(opacity=85);
	opacity:0.80;
}
div#main .diarycommententry table.inputform {
	border-spacing: 1px;
}
#droparea div#headerMain {
	background: none repeat scroll 0 0 #435E8B;
	line-height: 10px;
}

@media only screen and (max-width: 768px) {
	#top_decoration {
		display: none;
	}
}