@charset "utf-8";



/*
---------------------------------------------------------------------
	basic.css ver 1.0 [2008年7月2日] 
	*This document validates as CSS level 3
	*GNU General Public License v3
	*http://higash.net/20080702/reset_css2.html

	Modify YUI Base CSS
	*Copyright (c) 2008, Yahoo! Inc. All rights reserved.
	*http://developer.yahoo.com/yui/license.html
	
	Modify Formy CSS Form Framework 0.8(beta)
	*GNU General Public License v2
	*http://code.google.com/p/formy-css-framework/
---------------------------------------------------------------------
*/

	
/* --A-- */
a {
	cursor:pointer;
	color: #40478a;
	text-decoration:none;
}

a:link,
a:visited {
	text-decoration:underline;
}

a:visited {
	color:#542b7e;
}

a:hover {
	text-decoration: none;
	}


	
/* 外部リンク要素 
	----------------------------------------------------------- */
#main a[href^="http"] {
	height:12px;
	padding-left:18px;
	background:url(../images/icon_external.gif) no-repeat 0 0.3em;
}


* html #main a.external{
	height:12px;
	padding-left:18px;
	background:url(../images/icon_external.gif) no-repeat 0 0.3em;
}

#main a.nonexternal {
	height:12px;
	padding-left:0;
	background:none;
}


/*
a[href^="http://www1171gk.sakura.ne.jp/"],
a[href^="http://www.gsj.jp/"]  {  
     padding: inherit;  
     background: transparent;  
}
*/

	
/* pdf要素 
	----------------------------------------------------------- */
a[href$=".pdf"]{
	height: 15px;
	padding-left: 18px;
	background:url(../images/icon_pdf.gif) no-repeat 0 50%;
}

* html a.pdf{
	height: 15px;
	padding-left: 18px;
	background:url(../images/icon_pdf.gif) no-repeat 0 0.3em;
}




	
/* Excel要素 
	----------------------------------------------------------- */
a[href$=".xls"] {
	height: 15px;
	padding-left: 18px;
	background:url(../images/icon_xls.gif) no-repeat 0 50%;
}

* html a.xls {
	height: 15px;
	padding-left: 18px;
	background:url(../images/icon_xls.gif) no-repeat 0 0.3em;
}


	
/* Word要素 
	----------------------------------------------------------- */
a[href$=".doc"] {
	height: 15px;
	padding-left: 18px;
	background:url(../images/icon_doc.gif) no-repeat 0 50%;
}

* html a.doc {
	height: 15px;
	padding-left: 18px;
	background:url(../images/icon_doc.gif) no-repeat 0 0.3em;
}
/* IE-6要素 
	----------------------------------------------------------- */  
* html a{  
     behavior: expression(  
     this.className += this.getAttribute("href").match(/^http.*/) && (!this.getAttribute("href").match("http://www1171gk.sakura.ne.jp/") || !this.getAttribute("href").match("http://www.gsj.jp/")) ? " external" : "",  
     this.className += this.getAttribute("href").match(/\.pdf$/) ? " pdf" : "",  
     this.className += this.getAttribute("href").match(/\.doc$/) ? " doc" : "",  
     this.className += this.getAttribute("href").match(/\.xls$/) ? " xls" : "",  
     this.className += this.getAttribute("href").match(/\.zip$/) ? " zip" : "",  
     this.className += this.getAttribute("href").match(/^mailto.*/) ? " mailto" : "",  
     this.style.behavior = "none"  
     );  
 } 


	
/* --FORM-- */
fieldset {
	border:1px solid #ccc;
	margin-bottom:1em;
	padding:0 1em 1em;
}

legend {
	background:#fff;
	padding:.3em;
}

input,textarea {
	
	padding:0;
	vertical-align:middle;
}

input[type=checkbox],input[type=radio] {
	vertical-align:text-bottom;
}

input[type=submit] {
	padding:.1em;
}

select {
	padding:0;
}


	
/* for IE6 */
* html input {
	padding:.1em;
}

* html input.checkbox,* html input.radio {
	vertical-align:-.3em;
}

* html input.submit {
	line-height:1.2;
	padding-top:.2em;
}

* html select {
	vertical-align:-.2em;
}


	
/* for IE7 */
*+html input {
	padding:.1em;
}

*+html input.submit {
	line-height:1.2;
	padding-top:.2em;
}

*+html select {
	vertical-align:-.2em;
}


	
/* for Opera9.27 */
html:first-child input {
	padding:.1em;
}

html:first-child input[type=checkbox],html:first-child input[type=radio] {
	vertical-align:middle;
}

html:first-child input[type=submit] {
	padding:.3em;
}

html:first-child select {
	padding:.2em;
}


	
/* for Opera9.5 [Safari3] */
body:first-of-type input {
	padding:.1em;
}

body:first-of-type input[type=checkbox],body:first-of-type input[type=radio] {
	vertical-align:-.3em;
}

body:first-of-type input[type=submit] {
	padding:.1em .3em .2em;
}


	
/* for Safari3 */
html:not(:only-child:only-child) input {
	padding:0;
	vertical-align:baseline;
}

html:not(:only-child:only-child) input[type=checkbox],html:not(:only-child:only-child) input[type=radio] {
	vertical-align:baseline;
}

html:not(:only-child:only-child) select {
	vertical-align:.1em;
}


	
/* --OTHER TAGS-- */
abbr,acronym {
	border-bottom:1px dotted;
	cursor:help;
}

blockquote {
	margin:1em;
}

caption {
	margin-bottom:.5em;
	text-align:center;
}

em,strong {
	font-weight:bold;
}

p {
	margin-bottom:1em;
	text-align:justify;
	text-justify:inter-ideograph;
}


	
/* clearfix */
.clearfix:after {
	content:"";
	display:block;
	clear:both;
}


	
/* for IE6 */
* html .clearfix {
	display:inline-block;
}


	
/* for IE7 */
*+html .clearfix {
	display:inline-block;
}
