@charset 'utf-8';

/* ----- HTML再定義 ------------------------------------ */

*{
	margin:0;
	padding:0;
}
body{
	text-align:center;
	margin:0 auto;
	padding:0;
	font-size:14px;
	line-height:150%;
	font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	color:#333;
	letter-spacing:0.06em;
}
.sp{
	clear:both;
}

object,img {  
	vertical-align:bottom;
	border:0;
	padding:0;
	margin:0;
}
a{
	color:#663333;	
}
a:hover{
	color:#990000;
}
a:hover img{
    opacity: 0.8;
    filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)"; /* IE 8 */
	-khtml-opacity: .80; /* Safari 1.x */
}
.clearfix { display: inline-block; }
/* exlude MacIE5 \*/
* html .clearfix { height: 1% }
.clearfix {display:block;}
/* end MacIE5 */
.clearfix:after {
   content: ".";
   display: block;
   clear: both;
   height: 0;
   visibility: hidden;
}
p {
	margin-bottom: 15px;
}
ul {
	margin: 0px 0px 20px 20px;
}
ul li ol li {
	margin: 0px 20px 0px 25px;
}
ul li ol {
	margin-bottom: 10px;
}
em {
	font-weight: bold;
}
#container img {
	margin-right: 10px;
	margin-bottom: 5px;
	border: 0px;
}
object {
	margin-left: 10px;
}

pre {
	width: 430px;

	margin: 10px;
	padding: 5px;
	border: 1px solid #EEEEEE;
	overflow: auto;
}
code, var, kbd {
	color: #FFFFFF;
	font-family: 'ＭＳ ゴシック', monospace;
	line-height: 1.2;
}
blockquote {
	margin: 10px;
	border-left: 2px solid #7777AA;
}
blockquote p {
	color: #999999;
}

form fieldset {
	border: 0px solid #000000;
}
form legend {
	display: none;
}
form input, form select {
	margin-right: 1px;
	padding: 1px;

	font-size: 90%;
}
@media screen {
	form input, form select {
		font-family: Verdana, Arial, sans-serif;
	}
}
form select {
	margin-top: 1px;
}
form p input {
	text-align: center;
}
form textarea {
	padding: 1px;

	font-family: 'ＭＳ ゴシック', Osaka, monospace;
	line-height: 1.2;
}

table {
	border: 1px solid #666680;
	border-collapse: collapse;
	margin: 0px 0px 10px;
}
table tr th {
	padding: 5px;
	border: 1px solid #AAAAAA;
	text-align: center;
}
table tr td {
	padding: 5px;
	border: 1px solid #AAAAAA;
}
table tr td input {
	margin: -2px;
}

/* ----- 基本構造 -------------------------------------- */

#header,#container,#footer,#t-navigation {
	margin: 0 auto;
	padding: 0;
	clear: both;
}
#container {
	max-width: 1080px;
	padding: 15px 0px;
	text-align: left;
}
#container div#logs {
	font-size: 16px;
}
#container div#diary .text p {
	line-height: 160%;	
}
/* header */
#header {
	max-width: 1080px;
}
#header .logo {
	float: left;
	height:74px;
}
#header .h-nav {
	float: right;
	padding-top: 24px;
}
#header .h-nav ul li {
	float: left;
	margin: 0;
	padding-left: 14px;
	list-style-type: none;
}
#container img,#header img{
	display: inline;
	max-width: 100%;
	height: auto;
	width /***/:auto;
}
#container {
	max-width: 1080px;
	padding: 15px 0px;
}

/* navigation */
ul#nav {
	max-width: 1080px;
	*max-width: 1090px;
	margin: 0 auto;
	padding: 0;
	letter-spacing: -0.4em;
}
#main-nav {
	width: 100%;
	background-color: #204A2D;
	min-height: 60px;
}
#nav{
	list-style-type: none;
	max-width: 1080px;
	height: 60px;
	height: auto\9;
	margin: 0;
	padding: 0;
	background-color: #204A2D;
}
#nav li{
	position: relative;
	display: block;
	width: 220px;
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: center;
	box-sizing: border-box;
	border-left: 1px solid #FFF;
	letter-spacing: normal;
	box-sizing: content-box;
}
#nav li.first {
	border-left: none;
}
#nav li.last {
}
#nav li a{
	display: block;
	margin: 0;
	color: #fff;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}
#nav li ul{
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
	border-radius: 0 0 3px 3px;
	width: 150px;
}
/*#nav li:last-child ul{
	left: -100%;
	width: 100%
}*/
#nav li ul li{
	overflow: hidden;
	width: 100%;
	height: 0;
	color: #fff;
	-moz-transition: .2s;
	-webkit-transition: .2s;
	-o-transition: .2s;
	-ms-transition: .2s;
	transition: .2s;
	z-index: 300;
	border-left: none;
}
#nav li ul li a{
	padding: 13px 0px 13px 15px;
	background-color: #486C4D;
	text-align: left;
	font-size: 12px;
	font-weight: normal;
	color: #FFF;
	width: 165px;
}
#nav li ul li a:hover {
	color: #FFF;
	background-color: #204A2D;
}
#nav li:hover > a{
	background: #204A2D;
	color: #FFF;
}
#nav > li:hover > a{
	border-radius: 3px 3px 0 0;
}
#nav li:hover ul li{
	overflow: visible;
	height: 38px;
	border-bottom: 1px solid #999;
}
#nav li:hover ul li:first-child{
	border-top: 0;
}
#nav li:hover ul li:last-child{
	border-bottom: 0;
}
#nav li:hover ul li:last-child a{
	border-radius: 0 0 3px 3px;
}
#container img,#header img{
	display: inline;
	max-width: 100%;
	height: auto;
	width /***/:auto;
}

div#menu {
	float: none;
	clear: both;
	margin-bottom: 10px;
	text-align: right;
	max-width: 1080px;
	display: block;
}

div#navigation {
	max-width: 240px;
	float: right;
	padding-top: 30px;
}
div#logs {
	float: left;
	padding-top: 30px;
	color: #666666;
}
div#diary, div#comment, div#trackback {
	margin: 0px 10px;
	color: #666666;
}

div#page, div#navi, div#contents, div#work, div#form, div#canvas, div#env, div#status {
	float: none;
	clear: both;
	padding: 0px 0px 0px 30px;
	color: #666666;
	width: 620px;
}
/* ----- ヘッダー -------------------------------------- */

div#header h1 {
	padding: 0px;
	margin: 0px;
}
@media screen {
	div#header h1 a {
		font-family: Verdana, Arial, sans-serif;
	}
}

div#header p {
	margin: 0px 15px;

	font-size: 12px;
}

/* ----- メニュー -------------------------------------- */

div#menu h2 {
	display: none;
}

div#menu ul {
	padding: 5px 0px;
}
div#menu ul li {
	display: inline;
	margin-right: 10px;
}


/* ----- ナビゲーション -------------------------------- */
#toggle {
	display: none;
}

div#navigation h2 {
	margin: 0px 0px 5px;
	color: #009966;
	text-align: left;
	font-size: 12px;
	font-weight: normal;
	border-bottom: 1px solid #61542D;
	padding: 4px 0px 5px 8px;
}

div#navigation ul {
	margin: 0px 10px 0px 12px;
}
div#navigation ul li {
	margin: 0px 0px 0px 0px;
	list-style-type: none;
	text-align: left;
}
div#navigation ul li ul {
	margin: 0px 0px 0px 12px;
	font-size: 13px;
}

div#navigation dl {
	margin: 0px 10px 0px 12px;
}
div#navigation dl dt {
	text-align: left;
}
div#navigation dl dd {
	text-align: left;
}

div#navigation form dl {
}
div#navigation form dl dt {
	display: none;
}
div#navigation form dl dd {
}
div#navigation form p {
	margin-left: 12px;
	margin-bottom: 0px;
}

div#navigation table {
	width: 180px;

	margin: -2px 0px 7px 7px;
}
@media screen {
	div#navigation table {
	margin: -2px auto 7px auto;
	border: 0px;
	color: #666666;
        }
}
div#navigation table tr th {
	padding: 5px;
	border: 0px solid #AAAAAA;
	text-align: left;
	color: #666666;
}
div#navigation table tr td {
	padding: 3px 5px;
	border: 0px solid #AAAAAA;
	text-align: center;
	color: #666666;
}
@media screen {
	div#navigation table tr td {
	padding: 5px 7px;
	border: 0px none;
        }
}

div#navigation .day {
	color: #003366;
}
div#navigation .satday {
	color: #4444CC;
}
div#navigation .sunday {
	color: #CC4444;
}
div#navigation .today {
	background-color: #DBE9B8;
	color: #006600;
}

div#navigation .calender {
	margin: 2px 10px;
}
div#navigation .calender li {
	display: inline;

	margin-right: 10px;
}

div#navigation .block {
	margin-bottom: 10px;
	padding-bottom: 20px;

	text-align: center;
}

/* ----- 記事一覧 -------------------------------------- */

div#logs {
	width: 778px;
}
html>body div#logs {
	width: 780px;
}

div#diary .diary {
	margin-bottom: 10px;
	padding: 2px;
	border: none;
	color: #666666;
}

div#diary h2 {
	display: none;
	color: #006600;
}
div#diary h3 {
	margin: 5px 5px 20px;
	padding: 2px 2px 2px 5px;
	color: #006600;
	border-bottom: 1px solid #61542D;
	border-left: 5px solid #B7AE5E;
}
div#diary h4 {
	margin: 10px;
}

div#diary .text * {
	color: #666666;
}
html>body div#diary .text * {
	color: #666666;
}
div#diary .text p {
	margin: 15px 10px;
	color: #666666;
}
div#diary .text ul {
	margin: 15px 30px;
	color: #666666;
}
div#diary .text ol {
	margin: 15px 40px;
	color: #666666;
}

div#diary .info {
	margin: 5px 10px;

	text-align: right;
}
div#diary .info * {
	font-size: 10px;
}
div#diary .info li {
	display: inline;

	margin-left: 5px;
}

div#diary .list {
	border: 1px solid #AAAAAA;
	margin: 0px 0px 10px 20px;
	padding: 5px 10px;
	color: #666666;
}
div#diary .list h4 {
	border-bottom: 1px solid #CCCCCC;
	margin: 0px 0px 15px 0px;
	padding: 3px 5px;

	color: #666666;
	background-color: #FFFFFF;
}
div#diary .list ul {
	margin: 0px 0px 10px 20px;
	color: #666666;
}
div#diary .list dl dt {
	margin: 0px 5px;
	font-weight: bold;
	color: #666666;
}
div#diary .list dl dd {
	margin: 10px 10px 0px 15px;
	color: #666666;
}

div#trackback h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
	color: #666666;
}
div#trackback dl {
	margin-bottom: 10px;
	padding: 2px 2px 10px 2px;
	border: 1px solid #AAAAAA;
	color: #666666;
}
div#trackback dl dt {
	margin-top: 10px;
	margin-left: 10px;
	color: #666666;
}
div#trackback dl dd {
	margin-left: 30px;
	color: #666666;
}

div#comment .comment {
	margin-bottom: 10px;
	padding: 2px 2px 10px 2px;
	border: 1px solid #AAAAAA;
	color: #666666;
}

div#comment h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
}
div#comment h3 {
	margin: 5px 5px 10px 5px;
	padding: 5px;
}

div#comment .text * {
	font-size: x-small;
	color: #666666;
}
html>body div#comment .text * {
	font-size: small;
	color: #666666;
}
div#comment .text p {
	margin: 10px;
}

/* ----- ページ移動 ------------------------------------ */

div#page h2 {
	display: none;
	color: #666666;}

div#page ul {
	margin: 0px;
	color: #666666;}
div#page ul li {
	display: inline;
	color: #666666;
	margin-right: 10px;
}

/* ----- ナビゲーション -------------------------------- */

div#navi h2 {
	display: none;
	color: #666666;
}

div#navi ul {
	margin: 5px 0px;

	text-align: right;
	color: #666666;
}
div#navi ul li {
	display: inline;
	color: #666666;
	margin-left: 5px;
	text-align: left;
}

div#navi form dl {
	color: #666666;
}
div#navi form dl dt {
	display: none;
	color: #666666;
	text-align: left;
}
div#navi form dl dd {
	float: left;
	color: #666666;
	text-align: left;
}
div#navi form input {
	padding: 0px;
	color: #666666;
}

/* ----- コンテンツ ------------------------------------ */

div#contents h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
}
div#contents h3 {
	margin-bottom: 15px;
	padding: 3px 0px;
	border-bottom: 1px double #999999;
}
div#contents h4 {
	margin-bottom: 10px;
}

div#contents dl {
	margin-bottom: 20px;
}
div#contents dl dt {
	margin-top: 10px;
}
div#contents dl dd {
	margin-left: 30px;
}

/* ----- 処理選択 -------------------------------------- */

div#work h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
}

div#work form {
	margin: 10px 0px;
}
div#work form dl dt {
	display: none;
}
div#work form dl dd {
	float: left;
}
div#work form input {
	padding: 0px;
}

/* ----- フォーム -------------------------------------- */

div#form h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
}

div#form form {
	margin-bottom: 10px;
}
div#form form dl {
	margin-bottom: 20px;
}
div#form form dl dt {
	float: left;
	clear: left;
	width: 5em;
}
div#form form dl dd {
}
div#form form dl dd textarea {
	margin-top: 2px;
}
div#form form ul {
	margin: 0px 0px 20px 0px;
}
div#form form ul li {
	list-style-type: none;
}

/* ----- 環境設定 -------------------------------------- */

div#env h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #FFFFFF;
	border-bottom: 3px double #FFFFFF;
}
div#env h3 {
	margin-bottom: 15px;
	padding: 5px;
	border: 1px solid #999900;
}

div#env dl {
	margin-bottom: 20px;
}
div#env dl dd {
	margin-bottom: 10px;
}

div#env form {
	margin-bottom: 20px;
}
div#env form p {
	margin-bottom: 20px;
}

/* ----- キャンバス ------------------------------------ */

div#canvas h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
}
div#canvas applet {
	margin-bottom: 15px;
}

/* ----- ステータス ------------------------------------ */

div#status h2 {
	margin-bottom: 15px;
	padding: 5px;
	border-top: 3px double #999999;
	border-bottom: 3px double #999999;
}
div#status h3 {
	margin-bottom: 15px;
	padding: 3px 0px;
	border-bottom: 1px double #999999;
}
div#status h4 {
	margin-bottom: 10px;
}

div#status dl {
	margin-bottom: 20px;
}
div#status dl dt {
	float: left;
	clear: left;
	width: 10em;
}
div#status dl dd {
}

/* ----- フッター -------------------------------------- */
#footer {
	padding: 40px 0px 8px 0px;
	margin: 0 auto;
	text-align: center;
	font-size: 11px;
	color: #333;
}
#footer a {
	color: #333;
}


div#footer address {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	text-align: center;
	border-top: 1px solid #C7A671;
	margin-top: 10px;
	padding: 10px 0px;
	color: #FFFFCC;
}

/* ----- 個別指定 -------------------------------------- */

.new {
	color: #FF0000;
}

/* ----- 基本 -------------------------------------- */

#head {
	clear: both;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	font-size: 10px;
	padding: 0px;
}
#head .title {
	height: 100px;
	width: 220px;
	display: block;
	float: left;
}
#head table {
	margin: 0px;
	padding: 0px;
	border: 0px none;
	background: right;
	font-size: 10px;
	color: #FFFFFF;
}
#head table tr th {
	margin: 0px;
	padding: 0px;
	border: 0px none;
	text-align: right;
	font-size: 10px;
}
#head table tr td {
	margin: 0px;
	padding: 0px;
	border: 0px none;
	text-align: right;
	font-size: 10px;
}
#head table tr td input {
	margin: 0px;
	padding: 0px;
	border: 0px none;
}
#head ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
#head li {
	margin: 0px;
	padding: 0px;
	float: left;
	line-height:0;
}
#head li a {
	line-height:normal;
}
#head img {
	border: 0px;
	margin: 0px;
	padding: 0px;
}
.headimage {
	margin: 0px;
	padding: 0px;
	clear: both;
	height: 53px;
	width: 900px;
}
.ac_box {
	text-align: right;
	padding: 0px;
	background-color: #112818;
	width: 900px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: 22px;
}
.ac_box ul {
	text-align: right;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	width: 170px;
	float: right;
}
.ac_box li {
	float: right;
	margin: 0px;
	padding: 0px;
	width: 84px;
	text-align: center;
	color: #FFF;
}
.ac_box li a {
	color:#FFF !important;
	text-decoration: none;
	text-align: center;
	width: 84px;
	background-image: url(http://www.grandir.tv/image/ac_back_off.gif);
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	font-weight: bold;
	float: right;
	margin: 0px;
	padding-top: 3px;
	padding-right: 2px;
	padding-bottom: 3px;
	padding-left: 2px;
}
.ac_box li a:hover {
	color:#FFF;
	padding:2px;
	text-decoration: none;
	text-align: center;
	width: 84px;
	background-image: url(http://www.grandir.tv/image/ac_back_on.gif);
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	font-weight: bold;
	float: right;
	margin: 0px;
}

@media screen and (max-width:1079px){
/*	#nav li {
	width: 33%;
	}
	#nav li:nth-child(4) {
		border-left: none;
	}
	#nav li:first-child,#nav li:nth-child(2),#nav li:nth-child(3) {
		border-bottom: 1px solid #FFF;
	}
	#nav li ul {
		width: 100%;
	}
	#nav li ul li a {
		width: 100%;
		width: auto;
	}
	#nav li a:before {
	content: attr(data-text);
	}
	#nav {
		height: auto;
	}*/
	img{
		display: inline;
		max-width: 100%;
		height: auto;
		width /***/:auto;
	}
	#nav {
		display: none;
	}
	#nav li {
		width: auto;
		border-bottom: 1px solid #FFF;
		border-left: none !important;
		z-index: 9999;
		display: block;
		box-sizing: content-box;
	}
	#nav li a {
		background-color: #204a2d;
	}
	#nav li ul {
		position: inherit;
		width: auto;
		letter-spacing: -0.4em;
		border-radius: 0;
		max-height: 54px;
	}
	#nav li:last-child {
		border-bottom: none;
	}
	#nav li ul li {
		height: auto;
		text-align: center;
		border-bottom: none;
	}
	#nav li ul li a:hover {
		color: #444;
		background-color: #E7F1C7;
		border-radius: 0 !important;
		border-bottom: none;
	}
	#nav li ul li {
		width: 50%;
		letter-spacing: normal;
		display: inline-block;
	}
	#nav li ul li a {
		text-align: center;	
		display: block;
		padding: 16px 0;
		width: auto;
		border-radius: 0 !important;
	}
	#toggle {
		display: block;
		position: relative;
		width: 100%;
		background: #204a2d;
	}
	#toggle a{
		display: block;
		position: relative;
		padding: 20px 0 20px;
		border-bottom: 1px solid #FFF;
		color:#FFF;
		text-align: center;
		text-decoration: none;
	}
	#toggle:before {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 30px;
		margin-top: -15px;
		background: #FFF;
	}
	#toggle a:before, #toggle a:after {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 6px;
		background: #204a2d;
	}
	#toggle a:before {
		margin-top:-9px;
	}
	#toggle a:after {
		margin-top: 3px;
	}
}
@media screen and (max-width:1019px){
	div#logs {
		width: 638px;
	}
	html>body div#logs {
		width: 640px;
	}
}
@media screen and (max-width:920px){
	#header .logo {
		width: 100%;
		float: none;
		height: auto;
	}
	#header .h-nav {
		width: 100%;
		float: none;
		margin: 0px auto 12px auto;
		padding: 0;
	}
	#header .h-nav ul {
		font-size: 0;
	}
	#header .h-nav ul li {
		padding: 0;
		margin: 0 0.5%;
		text-align:center;
		float: none;
		display: inline-block;
		font-size: 12px;
		width: 23%;
	}
}
@media screen and (max-width:900px){
	div#logs {
		width: 498px;
	}
	html>body div#logs {
		width: 500px;
	}
}
@media screen and (max-width:780px){
	div#logs {
		width: 100%;
	}
	html>body div#logs {
		width: 100%;
	}
	div#logs,div#navigation {
		float: none;
		width: 100%;
		max-width: none;
	}
	.side-cal {
		display: none;
	}
	div#page, div#navi, div#contents, div#work, div#form, div#canvas, div#env, div#status {
		width: 100%;
		padding: 0;
	}
}
@media screen and (max-width:640px){
	#header .h-nav {
		width: 100%;
	}
}
@media screen and (max-width:480px){
	#header img {
		display: inline;
		max-width: 100%;
		height: auto;
		width /***/:auto;
	}
}
