* {
  margin: 0;
  padding: 0;
}

body {
  margin: 10px auto 0;
  font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


#wrapper {
  padding: 10px;
  }

h1,h2,h3,h4,h5,pre {
  margin: 0 auto 10px;
  line-height: 1.3em;
  }

p {
padding: 5px;
}

#header {
	margin-left : auto ; margin-right : auto ;
	padding: 10px;
	max-width: 960px;
}

#maintext {
	background-color:#FFF;
	margin-left : auto ; margin-right : auto ;
	padding: 10px;
	font-size:1em;
  	max-width: 940px;
}

.topcopy {
	margin-left : auto ; margin-right : auto ;
	width:90%;
	font-size:1em;
}

.bodytext {
	margin-left : auto ; margin-right : auto ;
	font-size:0.9em;
	width:90%;
	padding:5px;
}

.stdtext {
	margin-left : auto ; margin-right : auto ;
	font-size:0.9em;
	width:90%;
	padding:5px;
}

.rightnote {
	font-size:0.9em;
	text-align:right;
}

.note {
	font-size:0.8em;
}

.bigttl {
	font-size:1.4em;
}

.tabletext {
	font-size:0.9em;
	padding:5px;
}

.img-r {
    float: right;
	max-width: 100%;
	height:auto;
	margin:5px;
    padding: 5px;
}

.img-c {
	max-width: 100%;
	height:auto;
	margin:0 auto;
    padding: 10px;
}

.img-l {
    float: left;
	max-width: 100%;
	height:auto;
	margin:5px;
    padding: 5px;
}

.autoimg {
	max-width: 100%;
	height:auto;
}



#footer {
	margin-left : auto ; margin-right : auto ;
	border-top:thin solid #CCC;
	max-width: 960px;
}

#footer .footlink {
	padding:5px;
	text-align:center;
	font-size:smaller;
}
#footer p {
	padding:10px;
	text-align:center;
	font-size:smaller;
}


.sampletext {
	font-size:12px;
	line-height:16px;
	}

.clear {
clear:both;
}
.clear hr {
display:none;
}

.centertext {
	text-align:center;
	font-size:large;
}

.notice {
	color:#FF0000;
}

.centerred {
	text-align:center;
	font-weight:bold;
	font-size:large;
	color:#FF0000;
}

hr {
	margin:20px;}


.imgbox {
	margin:0 auto;
	width:90%;
	padding:10px;
}

.whitebox {
	margin-left : auto ; margin-right : auto ;
	box-shadow:#CCC;
	color:#333333;
	width:70%;
	background-color:#E6F0F0;
	padding:10px;
	border:double #666;
}

.tpbox {
	margin-left : auto ; margin-right : auto ;
	color:#333333;
	width:90%;
	padding:10px;
	border:1px solid #333333;
	border-radius: 10px;        /* CSS3草案 */  
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */ 
}

.graybox {
	margin-left : auto ; margin-right : auto ;
	box-shadow:#CCC;
	width:95%;
	background-color:#F0F0F0;
	padding:10px;
	font-size:14px;
	border:double #666;
}

.rightbox {
	float:right;
	width:50%;
	padding:10px;
	margin:10px;
	border:thin #666;
}

li {margin-left:30px;}

h1 {
	font-size:1.8em;
	line-height: 1.2em;
	border-bottom:dotted #333;
	color:#333333;
}

h2 {
	font-size:1.3em;
	line-height: 1.2em;
	color:#333333;
}

h2#t1 {
  color:#D7DCFF;
  text-shadow:0 2px 0 #755d41,0 2px 1px rgba(0,0,0,0.8);
	padding:5px;
}
h2#t1:before {
  color:#369;
  -webkit-mask-image:-webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%, rgba(0,0,0,0));
}
h2#t1:after {
  color:#fff;
  -webkit-mask-image:-webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0) 20%, rgba(0,0,0,0.2) 36%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.2) 44%, rgba(0,0,0,0) 60%, rgba(0,0,0,0));
}
h2#t1,h2#t1:before,h2#t1:after {
  -webkit-box-reflect: below -11px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 50%,rgba(0,0,0,0.5));
}


h3 {
	font-size:1.3em;
	padding:5px;
    border-radius: 20px;        /* CSS3草案 */  
    -webkit-border-radius: 20px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 20px;   /* Firefox用 */ 
	background-color:#5D0134;
	color:#FFFFFF;
}

h4 {
	font-size:1.2em;
	line-height: 1.2em;
	border-bottom:dotted #333;
	color:#333333;
}

h5 {
	padding:20px;
	font-size:larger;
	font-weight:bolder;
	color:#F00;
	line-height: 2em;
}

.titlebox {
	background-color:#91002D;
	line-height: 2em;
	margin-left:50px;
	margin-right:50px;
	color:#FFFFFF;
	font-size:1.2em;
	font-weight:bold;
	border-radius: 10px;        /* CSS3草案 */  
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */ 
}

.prof {
	margin-left:40px;
}

td	{
	padding:5px;
}
th	{
	font-weight:bold;
	padding:5px;
}

dd	{
	margin-left:40px;
}

.whitetitle {
	color:#FFFFFF;
	font-weight:bold;
}

.headtext {
	font-size:1.2em;
	font-weight:bolder;
}
.gb1 {
	font-size:0.9em;
	vertical-align:middle;
	background-color:#E6F0F0;
	}

.gb2 {
	font-size:0.9em;
	vertical-align:middle;
	background-color:#E6E6E6;
}

.gb3 {
	font-size:0.9em;
	vertical-align:middle;
	background-color:#FFC;
}	

.notebox {
	font-size:0.7em;
	text-align:center;
	vertical-align:middle;
	background-color:#f4a460;
	color:#FFFFFF;
	border:solid 1px #F8F8F8;
}	

a.btn {
  display: inline-block;
  margin: 15px 15px 0;
  padding: .6em 1.1em;
  font-size: 1em;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #fe4365;
  border-radius: 3px;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #fe4365;
  box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #fe4365;
  border: none;
  -webkit-transition: -webkit-box-shadow .3s;
  transition: box-shadow .3s;
}
a.btn:hover, a.btn:focus {
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #ff0364;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #ff0364;
  -webkit-transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
  transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
  -webkit-animation: gelatine 0.5s 1;
  animation: gelatine 0.5s 1;
}

a.btn-secondary {
  background:#006699;
  -webkit-box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #c8c8a9;
  box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #c8c8a9;
}
a.btn-secondary:hover {
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #bebe99;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #bebe99;
}

a.btn-3rd {
  background:#005830;
  -webkit-box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #006680;
  box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #c8c8a9;
}
a.btn-3rd:hover {
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #0096CC;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #bebe99;
}

a.btn-sub {
  background: #C60;
  -webkit-box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #c8c8a9;
  box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #c8c8a9;
}
a.btn-sub:hover {
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #bebe99;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #bebe99;
} 
  
a.btn:active,
a.btn-sub:active,
a.btn-3rd:active,
a.btn-secondary:active {
  background: #4ecdc4;
  -webkit-transition-duration: 0;
  transition-duration: 0;
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #3ac7bd;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #3ac7bd;
}

a.smallbtn {
  display: inline-block;
  margin: 5px 5px 0;
  padding: .4em .8em;
  font-size:0.9em;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #06C;
  border-radius: 3px;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #fe4365;
  box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #fe4365;
  border: none;
  -webkit-transition: -webkit-box-shadow .3s;
  transition: box-shadow .3s;
}
a.smallbtn:hover, a.smallbtn:focus {
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #ff0364;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #ff0364;
  -webkit-transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
  transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
  -webkit-animation: gelatine 0.5s 1;
  animation: gelatine 0.5s 1;
}

a.smallbtn:active {
  background: #4ecdc4;
  -webkit-transition-duration: 0;
  transition-duration: 0;
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #3ac7bd;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #3ac7bd;
}

a.smallbtn2 {
  display: inline-block;
  margin: 5px 5px 0;
  padding: .4em .8em;
  font-size:0.9em;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #00BB3E;
  border-radius: 3px;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #fe4365;
  box-shadow: 0 0 0 -2px #cff09e, 0 0 0 -1px #fe4365;
  border: none;
  -webkit-transition: -webkit-box-shadow .3s;
  transition: box-shadow .3s;
}
a.smallbtn2:hover, a.smallbtn2:focus {
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #ff0364;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #ff0364;
  -webkit-transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
  transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
  -webkit-animation: gelatine 0.5s 1;
  animation: gelatine 0.5s 1;
}

a.smallbtn2:active {
  background: #4ecdc4;
  -webkit-transition-duration: 0;
  transition-duration: 0;
  -webkit-box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #3ac7bd;
  box-shadow: 0 0 0 2px #cff09e, 0 0 0 4px #3ac7bd;
}


input[type="radio"] , input[type="checkbox"]{
   -webkit-transform: scale(1.5);
   transform: scale(1.5);
   margin-right: 0.5em;
}
input#submit_button {
padding: 10px 20px;
font-size: 1.2em;
background-color: #248;
color:#FFFFFF;
}
input#submit_button:hover {
background-color: #24d;
}

@media only screen and (max-width: 480px){
body,p {
	font-size: 0.9em;
  }
html,h1,h2,h3,h4.h5,h6 {
	font-size: 0.8em;
}
#wrapper{
	font-size:0.8em;
  }
.maintext{
	font-size:0.8em;
  }
.bodytext{
	font-size:0.7em;
  }
.centertext{
	font-size:0.7em;
  }
td {
	font-size:0.6em;
 }

input[type="radio"] , input[type="checkbox"]{
   -webkit-transform: scale(1.2);
   transform: scale(1.2);
   margin-right: 0.5em;
}
}

