/* -- #画像関係指定 -- */

.autoimg {
	max-width: 100%;
	height:auto;
	margin:5px;
}

.img-r {
    float: right;
	max-width: 100%;
	height:auto;
	margin:5px;
	padding-left:10px;
}

.img-l {
    float: left;
	max-width: 100%;
	height:auto;
	margin:5px;
	padding-right:10px;
}

/* -- テキスト装飾 -- */

.mainbody {
	text-align:left;
	padding-left:20px;
	padding-right:10px;
	font-size:1em;
	line-height:1.5em;
}


.topcopy {
	padding:20px;
	font-size:1.2em;
	line-height:1.5em;
	font-weight:bold;
	text-align:center;
}

.subcopy {
	margin:0 auto;
	padding:10px;
	font-size:1em;
	line-height:1.2em;
	font-weight:bold;
	text-align:center;
	width:60%;
}
	
.stdtext {
	padding-left:30px;
	padding-right:10px;
	font-size:0.9em;
	line-height:1.5em;
}
	
.whitetitle {
	color:#FFFFFF;
	font-weight:bold;
	}

.snote {
	font-size:0.7em;
}

.warn {
	font-size:0.7em;
	font-weight:bold;
	color:red;
}

.stext {
	font-size:12px;
	font-weight:bold;
}

.news {
	font-size:14px;
	font-weight:bold;
	color:#333333;
}

.newred {
	color:#F00;
	font-weight:bold;
}

.kw {
	color:#003366;
}
.jireitext {
	margin-left:40px;
	margin-right:20px;
	font-size:14px;
}

.featuretext {
	margin-left:40px;
	margin-right:20px;
	font-size:16px;
}

.sdate {
font-size:8px;
}

.gb1 {
	background-color:#E6F0F0;
	}

.gb2 {
	background-color:#E6E6E6;
}

.gb3 {
	background-color:#FFC;
}	

.detail {
text-align:right;
font-size: 0.8em;
font-weight:bold;
color: #006699;
margin-right:10px;
}  

/* -- テキストボックス内の指定 -- */

.clearfix {
display: inline-table;
}

.clearfix:after {
content:".";
display:block;
clear:both;
height:0;
visibility:hidden;
}

.clear {
clear:both;
}

.clear hr {
display:none;
}


.pankuzu {
text-align:right;
font-size: 0.8em;
color: #010101;
margin-right:10px;

}


/* -- #sidebar内の指定 -- */

td .leftmenu {
	width:160px;
}

td .mainarea {
}

td .rightmenu {
	width:10%;
}

/* -- カテゴリタイトル -- */
.sidetitle {
  padding: 0.5em 0;
  font-size:1em;
  border-bottom: 1px solid #666666;
}

/* -- リスト -- */
.submenu {
	text-align:left;
	line-height:1em;
}

.localnavi {
  list-style-type: none;
  margin-bottom: 1em;
}

.localnavi li {
	 display: inline;
	 font-size:0.9em;
	 color:#006699;
	 margin-left:10px;
}

.sidehome {
	font-size:1.5em;
	 font-weight:bold;
	 margin-left:-40px;
}

.localnavi a {
  text-decoration: none;
  display: block;
  width: 170px;
  color: #006699;
  border-bottom: 1px solid #cccccc;
}

.localnavi a:hover {
  text-decoration: none;
  color: #003366;
  background-color: #eeeeee;
  border-bottom: 1px solid #ff0000;
}

.rightbtn {
	text-align:right;
	margin-right:20px;
	margin-bottom:5px;
}

.backtopbtn {
	text-align:right;
	margin-top:15px;
	font-size: 0.9em;
}

.num{
	margin-left:3em;
	font-size:0.8em;
}

.list{
	margin-left:3em;
	text-indent:-3em;
}

.booktable {
	font-size:.9em;
}

.title {	font-size: 0.9em;	line-height:1.2em;	font-weight: bold;	padding-left: 4px;	padding-right: 4px;	color:#FFFFFF; }
.syoshi {	font-size: 0.8em;	line-height:1.1em;	padding-left: 4px;	padding-right: 4px;	}
.naiyo {	font-size: 0.8em;	line-height:1.2em; }
.text-go {	font-size: 0.9em;	line-height: 1.2em;}
.text-go2 {	font-size: 0.8em;	line-height: 1em;	color: #FFFFFF; }
.text-min {	font-size: 0.8em;	line-height: 0.9em;}
.capt {	font-size: 0.8em;	line-height: 0.9em;}
.boldttl  {	font-size: 0.9em;	line-height: 1em;	font-weight: bold }
.gth1 {	font-size: 0.9em;	line-height: 1.2em;}
.gth2 {	font-size: 0.8em;	line-height: 1em;}
.gth3 {	font-size: 0.7em;	line-height: 0.9em;}
.gth5 {	font-size: 0.7em;	line-height: 1em;}
.min {	font-size: 0.9em;	line-height: 1em;}

.mainarea {
	max-width: 1000px;
	margin:0 auto;
}

.footarea {
	max-width: 1280px;
	margin:0 auto;
}

.subbox {
	display: inline-block;
	max-width: 240px;
	vertical-align:top;
	padding:10px;
}

.leftbox {
	float:left;
	max-width:460px;
	margin-left:10px;
	margin-right:10px;
}

.rightbox {
	float:right;
	min-width:380px;
	max-width:460px;
	margin-left:10px;
	margin-right:10px;
}

.newsbox {
	display: inline-block;
	text-align:left;
	vertical-align:top;
	max-width: 460px;
	font-size:0.8em;
	background-color:#EFF6FF;
	margin: 10px;
	padding:10px;
	border-radius: 10px;        /* CSS3草案 */  
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */  
}

.topicarea {
	text-align:center;
	display: inline-block;
	vertical-align:top;
	max-width: 460px;
	background-color:#EFEFEF;
	margin:10px;
}

.topicarea {
	background-color:#FFFAFA;
}

.listbox {
	display: inline-block;
	width: 95%;
	margin:5px auto;
}

.centerbox {
	margin-left: auto;
	margin-right: auto;
	vertical-align:top;
	max-width: 800px;
	background-color:#FFE1FF;
	border: double;
	padding:10px;
	border-radius: 10px;        /* CSS3草案 */  
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */  
}

.refbox {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	vertical-align:top;
	width: 90%;
	background-color:#EFEFEF;
	border: 1px;
	padding:10px;
}

.bluebox {
	display: inline-block;
	vertical-align:top;
	max-width: 90%;
	background-color:#CCDDFF;
	background-image: url("../images/card01.png");
	background-repeat: no-repeat;
	background-size:contain;
	margin: 10px;
	padding:15px;
	border-radius: 10px;        /* CSS3草案 */  
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */  
	border:outset 3px;
}
.greenbox {
	display: inline-block;
	text-align:left;
	vertical-align:top;
	max-width: 90%;
	background-color:#D0F0C0;
	background-image: url("../images/card03.png");
	background-repeat: no-repeat;
	background-size:contain;
	padding:15px;
	margin: 10px;
	border-top: solid 5px #66FF99;
	border:outset 3px;
}

.orangebox {
	display: inline-block;
	text-align:left;
	vertical-align:top;
	max-width: 90%;
	background-color:#FFCC99;
	background-image: url("../images/card02.png");
	background-repeat: no-repeat;
	background-size:contain;
	padding:15px;
	margin: 10px;
	border:ridge 4px;
}


.yellowbox {
	display: inline-block;
	text-align:left;
	vertical-align:top;
	max-width: 90%;
	background-color:#FFFFCC;
	background-image: url("../images/card04.png");
	background-repeat: no-repeat;
	background-size:contain;
	padding:15px;
	margin: 10px;
	border-radius: 10px;        /* CSS3草案 */  
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */  
	border:outset 3px;
}

.tanuletter {
	font-size:1em;
	line-height:1.5em;
	text-align:left;
	padding:10px;
}


.clearbox {
	margin:0 auto;
	padding-left:20px;
	padding-right:20px;
	width:80%;
}

.leftinbox {
	text-align:left;
	vertical-align:top;
	padding:20px;
	font-size:1em;
	line-height:1.5em;
	}

.centerinbox {
	text-align:left;
	padding:20px;
	width:90%;
	}

ul.ref {
	padding-left: 30px;
	margin-right: 10px;
	list-style-type: circle;
}

.searchbox {
	float:left;
	text-align:center;
	max-width:300px;
	margin-left:10px;
	margin-right:10px;
}

.footlink {
	float:right;
	text-align:center;
	max-width:460px;
	margin-left:10px;
	margin-right:10px;
}

.copyright {
	display: inline-block;
	width: 100%;
	margin: 0 auto;
	text-align:center;
	vertical-align:bottom;
}

.headbox {
	max-width: 960px;
	margin: 0 auto;
}

.telbox {
	float:right;
	overflow: hidden;
	max-width:460px;
	margin-left:10px;
	margin-right:10px;
	margin-top:10px;
	font-weight:bolder;
}


.leftp {
	margin: 0 auto;
}


.rightp {
	background-color:#F2F2F2;
	text-align:center;
}


.subgrid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-rows: auto auto;
}

.gridbox {
	padding: 5px;
	text-align:center;
}


.menugrid {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-template-rows: auto auto;
}

.gridicon {
	background-color:#cce5ff;
	border-radius: 10px;
	text-align:center;
	font-weight:bold;
	padding:10px;
}

.gridicon a {
	display: block;
	text-decoration: none;
}

.gridicon:hover {
	background-color:#AFEEEE;
	border-radius: 10px;
}

.gridicon a:hover {
	background-color:#AFEEEE;
	border-radius: 10px;
}

a.btn {
  display: inline-block;
  margin: 10px 10px 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;
}

@media only screen and (max-width: 600px) {

.mainbody {
	font-size:0.7em;
 }
.leftinbox {
	font-size:0.7em;
 }

.toplogo {
	width: 100px;
}

.autoimg {
	width: 50%;
	height:50%;
}

.img-r {
    float: right;
	width: 50%;
	height:50%;
}

.img-l {
    float: left;
	width: 50%;
	height:50%;
}

}
