@charset "utf-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
	text-shadow: 0px 0px;
	color: #F1EEEE;
}

/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}

/*
	Dreamweaver Fluid Grid Properties
	----------------------------------
	dw-num-cols-mobile:		4;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	10;
	dw-gutter-percentage:	25;
	
	Inspiration from "Responsive Web Design" by Ethan Marcotte 
	http://www.alistapart.com/articles/responsive-web-design
	
	and Golden Grid System by Joni Korpi
	http://goldengridsystem.com/
*/
#menu {
   position: absolute;
   width: 40px;   
   top: 5px;
   right: 5%;
}
#menu li {	
   width: 40px;  
   height: 25px; 
   float: left;
   list-style-type: none;
   position: relative;  
}
#menu ul.sub {
   background-color: #DCDCDC; /* サブメニュー全体の背景色 */
   border-width: 1px 1px 0px 1px; /* サブメニュー全体の枠線の太さ */
   border-style: solid; /* サブメニュー全体の枠線の線種 */
   border-color: #006400; /* サブメニュー全体の枠線の色 */   
   margin: 0px;
   padding: 0px;
   display: none;
   position: absolute;
   text-align: center;
   font-weight:bold;
   right: 3px;
   z-index: 1;
 }
#menu ul.sub li {
position: relative;
   width: 100px; /* サブメニュー1項目の横幅 */
   height: 25px; /* サブメニュー1項目の高さ */
   border-width: 0px 0px 1px 0px; /* サブメニュー1項目の枠線の太さ */
   border-style: solid; /* サブメニュー1項目の枠線の線種 */
   border-color: #006400; /* サブメニュー1項目の枠線の色 */
 }
#menu ul.sub li a {
   line-height: 25px; /* サブメニュー1項目の行の高さ(「サブメニュー1項目の高さ」と合わせる) */
   text-align: center;  /* サブメニュー1項目の項目名の配置(左寄せ) */
   text-indent: 5px;  /* サブメニュー1項目の項目名前方の余白 */
   color:#800000
}
#menu ul.sub li a:hover {
   background-color: #32CD32; /* サブメニュー項目にマウスが載ったときの背景色 */
   color: #FFFFE0; /* サブメニュー項目にマウスが載ったときの文字色 */
   font-weight:bold;
}
.fluid {
	clear: both;
	margin-left: 0;
	width: 100%;
	float: left;
	display: block;
}
.fluidList {
    list-style:none;
    list-style-image:none;
    margin:0;
    padding:0;        
}

.gridContainer {
	width: 94%;
	max-width: 980px;
	margin: 0px;
	padding:0;
	border-width:1px;
	border-left-style: solid;
	border-right-style: solid; 
	margin: auto;
	clear: none;
	float: none;
	background-image: url(../image/backi2.jpg);
}
.fixed-header {
	position: fixed;
	width: 94%;
	max-width: 980px;
	margin: 0px;
	padding: 0px;
	clear: none;
	float: none;*/
    color: #fff; 
    background-image: url(../image/toptop.jpg);
    z-index: 1000; 
}
.header1_back {
	height: 85px;
	width: 100%;
}
.header_1 {
	width: 98%;
	margin: 0px;
	top: 0px;
	text-align: right;
	position: relative;
	font-weight:bold;
	display: none;
	color:#781517;
}
.header_2 {
	width: 95%;
	text-align: right;
	display: block;
}
.header_dummy{
	height: 85px;
	left: 0; 
	text-align: center;
}
#header2 {
	width: 100%;
}
#header3 {
	width: 100%;	
/*	position: static; */
	text-align: right;
}
#header4 {
	width: 100%;	
/*	position: static; */
	margin-top: 20px;
	text-align: right;
}
.header3_back{
	height: 35px;
	background-image: url(../image/under2.jpg);
}
.header4_back{
	height: 35px;
	background-image: url(../image/under3.jpg);
}
.header_moji1 {
	width: 98%;
	top: 10px;
	font-weight:bold; 
	text-align:center; 
	position: relative;
	color: #FFFFFF;
}

/*
.image img{
   border-bottom-left-radius: 10px; 
   border-bottom-right-radius: 10px; 
   -webkit-border-bottom-left-radius: 10px; 
   -webkit-border-bottom-right-radius: 10px;
   -moz-border-radius-bottomleft: 10px;
   -moz-border-radius-bottomright: 10px;
}
.fluid_h {
	clear: both;
	margin-left: 0;
	width: 100%;
	float: left;
	display: block;
}
*/

#gridbox {
	width: 100%;
	border-radius: 10px;
	margin-top: 1%;
}
/*
.gridbox {
	width: 100%;
	margin-left: 0;
	clear: both;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: #85D8A0;
}
*/
.msbox {
	width: 100%;
	margin-left: 0;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	background-color: #1DAB36;
	text-align: center;
	font-weight:bold;
    color: #FFFFFF;	
}
.memo {
	width: 96%;
	margin-left: 0;
	clear: both;
	padding-top:5px;
	padding-left:2%;
	padding-right:2%;
	padding-bottom:10px;
	line-height:1.2em;	
	color:#000000;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: #E5E5E5;
	border: 1px solid #1DAB36;
}
.ytbox {
	background-color: #0066FF;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	font-weight:bold; 
	color: #FFFFFF;
}
/* Mobile Layout: 480px and below. */
#gridbox1 {
    width: 47.3684%;
    clear: both;
    margin-left: 0;
    margin-top: 1%;
}
#gridbox2 {
    width: 47.3684%;
    clear: none;
    margin-left: 5.2631%;
    margin-top: 1%;
}
#gridbox3 {
    width: 47.3684%;
    clear: both;
    margin-left: 0;
    margin-top: 1%;
	display:none;
}
#gridbox4 {
    width: 47.3684%;
    clear: none;
    margin-left:0%;
    margin-top: 1%;

}
#gridbox5 {
    width: 47.3684%;
    clear: both;
    margin-left: 0;
	margin-top: 1%;
	display:none;
}
#gridbox6 {
    width: 47.3684%;
    clear: none;
    margin-left:5.2631%;
    margin-top: 1%;
}
#gridbox7 {
    width: 47.3684%;
    clear: both;
    margin-left: 0;
	margin-top: 1%;
	display:none;
}
#gridbox8 {
    width: 47.3684%;
    clear: none;
    margin-left: 5.2631%;
    margin-top: 1%;
	display:none;
}
#ytbox1 {
    width: 90%;
	margin-top: 10px;
    margin-left: 4%;
	aspect-ratio: 8/5;
    clear: both;
}
#ytbox2 {
    width: 90%;
	margin-top: 5px;
    margin-left: 4%;
	aspect-ratio: 8/5;
     clear: both;
}
#ytbox3 {
    width: 90%;
	margin-top: 5px;
    margin-left: 4%;
	aspect-ratio: 8/5;
    clear: both;
}
#ytbox4 {
    width: 90%;
	margin-top: 5px;
    margin-left: 4%;
	aspect-ratio: 8/5;
     clear: both;
}
#ytbox5 {
    width: 90%;
	margin-top: 5px;
    margin-left: 4%;
	aspect-ratio: 8/5;
    clear: both;
}
#ytbox6 {
    width: 90%;
	margin-top: 5px;
    margin-left: 4%;
	aspect-ratio: 8/5;
     clear: both;
}

#footer {
	background-color: #9a733f;
	text-align: right;
	margin-top: 1%;
}
.footer_msg {
	color: #FFFFFF;
	width: 95%;
	padding-top: 4px;
	margin-bottom: 5px;
}
.zeroMargin_mobile {
margin-left: 0;
}
.hide_mobile {
display: none;
}

/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) {
.header_1 {
	display: block;
}
.header_2 {
	display: none;
}	
.msbox {
	width: 100%;
	margin-left: 0;
	background-color: #1DAB36;
	text-align: center;
	font-weight:bold;
    color: #FFFFFF;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.memo {
	width: 96%;
	margin-left: 0;
	clear: both;
	padding-top:5px;
	padding-left:2%;
	padding-right:2%;
	padding-bottom:10px;
	line-height:1.2em;	
	color:#000000;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: #E5E5E5;
}
#gridbox {
	width: 98%;
	margin-left: 1%;
}
#gridbox1 {
	width: 23.0769%;
	clear: both;
	margin-left: 1%;
}
#gridbox2 {
	width: 23.0769%;
	clear: none;
	margin-left: 1.9%;
}
#gridbox3 {
	width: 23.0769%;
	clear: none;
	margin-left: 1.9%;
	display:none;
}
#gridbox4 {
	width: 23.0769%;
	clear: none;
	margin-left: 1.9%;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;

}
#gridbox5 {
    width: 23.0769%;
    clear: both;
    margin-left: 1.9;
    margin-top: 1%;
	display:none;
}
#gridbox6 {
    width: 23.0769%;
    clear: none;
    margin-left: 1.9%;
    margin-top: 1%;
}
#gridbox7 {
    width: 23.0769%;
    clear: none;
    margin-left: 1.9%;
	margin-top: 1%;
	display:none;
}
#gridbox8 {
    width: 23.0769%;
    clear: none;
    margin-left: 1.9%;
	margin-top: 1%;
	display:none;
}
#ytbox1 {
    width: 45%;
	margin-top: 10px;
    margin-left: 3%;
	aspect-ratio: 8/5;
    clear: both;
}
#ytbox2 {
    width: 45%;
	margin-top: 10px;
    margin-left: 3%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox3 {
    width: 45%;
	margin-top: 10px;
    margin-left: 3%;
	aspect-ratio: 8/5;
    clear: both;
}
#ytbox4 {
    width: 45%;
	margin-top: 10px;
    margin-left: 3%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox5 {
    width: 45%;
	margin-top: 10px;
    margin-left: 3%;
	aspect-ratio: 8/5;
    clear: both;
}
#ytbox6 {
    width: 45%;
	margin-top: 10px;
    margin-left: 3%;
	aspect-ratio: 8/5;
    clear: none;
}

.hide_tablet {
    display: none;
}
.zeroMargin_tablet {
    margin-left: 0;
}
}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {

.header_1 {
	display: block;
}
.header_2 {
	display: none;
}	
#gridbox {
	width: 18.3673%;
	margin-left: 1.2%;
	margin-top: 1%;
	margin-right: 0px;
	margin-bottom: 0px;
	height: 100%;
}
/*
.gridbox {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	width: 100%;
	margin-left: 0;
	max-height: 100%;
	clear: both;
}

.msbox {
	background-color: #1DAB36;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	font-weight:bold; 
	color: #FFFFFF;
	border: 1px solid #1DAB36;
}
.memo {
	width: 94%;
	padding-top:5px;
	padding-left:5px;
	padding-right:5px;
	clear: both;
	line-height:1.2em;
	color:#000000;	
	height:100%;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: #E5E5E5;
	border: 1px solid #1DAB36;
}*/
#gridbox1 {
	width: 18.3673%;
	margin-top: 1%;
	clear: none;
    margin-left: 1.4%;
}
#gridbox2 {
	width: 18.3673%;
	margin-top: 1%;
	clear: none;
    margin-left: 1.4%;
}
#gridbox3 {
	width: 18.3673%;
	margin-top:1%;
	clear: none;
	margin-left: 1.4%;
	display:none;
}
#gridbox4 {
	width: 18.3673%;
	margin-top: 1%;
	clear: none;
    margin-left: 1.4%;

}
#gridbox5 {
	width: 18.3673%;
	margin-left: 1.4%;
	clear: none;
	margin-top: 1%;
	display:none;
}
#gridbox6 {
	width: 18.3673%;
	margin-left: 1.4%;
	clear: none;
	margin-top: 1%;
}
#gridbox7 {
	width: 18.3673%;
	margin-left: 1.4%;
	clear: none;
	margin-top: 1%;
	display:none;
}
#gridbox8 {
	width: 18.3673%;
	margin-left: 1.4%;
	clear: none;
	margin-top: 1%;
	display:none;
}
#ytbox1 {
    width: 31.5%;
	margin-top: 10px;
    margin-left: 1.35%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox2 {
    width: 31.5%;
	margin-top: 10px;
    margin-left: 1.35%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox3 {
    width: 31.5%;
	margin-top: 10px;
    margin-left: 1.35%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox4 {
    width: 31.5%;
	margin-top: 10px;
    margin-left: 1.35%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox5 {
    width: 31.5%;
	margin-top: 10px;
    margin-left: 1.35%;
	aspect-ratio: 8/5;
    clear: none;
}
#ytbox6 {
    width: 31.5%;
	margin-top: 10px;
    margin-left: 1.35%;
	aspect-ratio: 8/5;
    clear: none;
}

.zeroMargin_desktop {
    margin-left: 0;
}
.hide_desktop {
   display: none;
}
}
