@charset "shift_JIS";
/* CSS Document */

.wf-roundedmplus1c { font-family: "M PLUS Rounded 1c"; }

* { 
margin: 0;
 padding: 0;
  border: 0;
   }

ul,ol {
    margin-left: 1em;
    list-style-position: outside;
}
table {
	border-collapse: collapse;
}
table th {
    padding: 5px;
    border: 1px solid #BBBBBB;
}
table td {
    padding: 5px;
    border: 1px solid #BBBBBB;
}

p {
	padding-top: 2px;
	padding-bottom: 4px;
	margin: 0px;
}

a {
	color: #0090EC;
	text-decoration: none;
} 
a:visited {
	color: #F46A00;
	text-decoration: none;
} 
a:hover {
	color: #E1001C;
} 
a:active {
　　color: #CC0066; 
} 



.photo {
	border: 10px solid #FFF;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	box-shadow:1px 1px 4px #ccc;
	-moz-box-shadow:1px 1px 4px #ccc;
	-webkit-box-shadow:1px 1px 4px #ccc;
}

/*---------------------------------------------------------
  						clearfix
---------------------------------------------------------*/
.clearfix:after {
    content: "."; 
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
.clea{
	clear:both;	
	}
* html .clearfix {
    height: 1px;
    /*?*//*/
    height: auto;
    overflow: hidden;
    /**/
}



h1 {
    width: 340px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 60px;
}
h1 img {
	width: 100%;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
    color: #249CD7;
}
h2 span {
    border-bottom: 3px dashed #64BBEC;
    padding-bottom: 10px;
    letter-spacing: 0.5em;
}


h3 {
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    text-align: left;
    color: #67210D;
    font-size: 24px;
    -moz-background-size: 100% auto;
    font-weight: normal;
    padding-bottom: 20px;
    padding-left: 60px;
    margin-top: 20px;
    padding-top: 20px;
    background-image: url(images/bg_h3.png);
    background-position: left bottom;
    background-repeat: no-repeat;
}


h4 {
	text-align: left;
	font-size: 20px;
	font-weight: normal;
	color: #F84C67;
	margin-top: 10px;
	margin-bottom: 10px;
}

img {
	vertical-align: bottom;
	border: 0px;

}



main a:hover img {
	opacity: 0.7;
	-moz-opacity:0.7; 
	filter: alpha(opacity=70);
	zoom: 1;
}




/*ページ構成*/
html,body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 15px;
    color: #564235;
    background-position: center top;
    background-image: url(images/bg_header.png),url(images/bg_body.png);
    background-color: #F5E5CE;
    background-repeat: no-repeat,repeat;
	line-height: 1.7em;
}


#system_main {
    width: 100%;
    text-align: center;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    background-image: url(images/bg_left.png),url(images/bg_right.png);
    background-repeat: no-repeat;
    background-position: left top,right top;
}


header {
    width: 100%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 20px;
    padding-top: 10px;
}
#bg_slogan {
    background-image: url(images/bg_slogan.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-top: 150px;
    padding-bottom: 80px;
    margin-bottom: 60px;
}
#slogan {
    padding-bottom: 80px;
}



.flex {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    flex-wrap : wrap;
}
	
#mainnav {
    width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 100px;
}
#mainnav ul {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    flex-wrap : wrap;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
}
#mainnav ul li{
    width: calc(100% / 3 - 55px);
    list-style-type: none;
    padding-top: 40px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 40px;
}
#mainnav ul li a{
    color: #581D0C;
}
#mainnav ul li:nth-child(1){
    background-color: #FFDBE5;
    background-image: url(images/bg_w.png);
    position: relative;
    border: 5px solid #FFFFFF;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 3px #8E8078;
    box-shadow: 1px 1px 3px #8E8078;
}
#mainnav ul li:nth-child(2){

    background-color: #D4F0FF;
    background-image: url(images/bg_w.png);
    position: relative;
    border: 5px solid #FFFFFF;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 3px #8E8078;
    box-shadow: 1px 1px 3px #8E8078;
}
#mainnav ul li:nth-child(3){
    background-color: #FFED96;
    background-image: url(images/bg_w.png);
    position: relative;
    border: 5px solid #FFFFFF;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 3px #8E8078;
    box-shadow: 1px 1px 3px #8E8078;
}
#mainnav ul li:nth-child(1):before {
  content: url("images/img1.png");
  position: absolute;
	top:-20px;
	left:-40px;
	z-index: 10;
  }
#mainnav ul li:nth-child(2):before {
  content: url("images/img2.png");
  position: absolute;
	top:-20px;
	left:-40px;
	z-index: 11;
  }
#mainnav ul li:nth-child(3):before {
  content: url("images/img3.png");
  position: absolute;
	top:-20px;
	left:-40px;
	z-index: 12;
  }




#mainnav ul li img{
    width: 90%;
    border-radius: 15px;
    border: 5px solid #FFFFFF;
	height: 240px;
	object-fit: cover;
}

#mainnav dl {
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}
#mainnav dt {
    text-align: center;
    border-bottom: 2px solid #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.4em;
    font-weight: bold;
}
#mainnav dd {
    text-align: center;
    border-bottom: 2px dashed #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

main {
	display: block;
	clear: both;
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 2em;
	background-color: #FFFFFF;
}





footer {
    width: 100%;
    text-align: center;
    padding-bottom: 100px;
    background-image: url(images/bg_footer.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    padding-top: 20px;
}
footer .copy {
	text-align: center;
	font-size: 12px;
	color: #5A3D1C;
	margin-right: auto;
	margin-left: auto;
}
footer .copy img {
	height: 30px;
	}

/* pagetop */
.pagetop{
    position: fixed;
    bottom: 30px;
    right: 30px;
	z-index: 9999;
	width: 50px;
}
 
.pagetop a{
    display: block;
    text-decoration: none;
 }
.pagetop img{
	width: 100%;
}


.mainbox {
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
	border-radius: 30px;
}


a:hover img {
	opacity: 0.8;
}

#kihon {
    margin-bottom: 60px;
}
#kihon table {
	width: 60%;
	margin-right: auto;
	margin-left: auto;
	border-spacing: 4px;
    border-collapse: separate;
}
#kihon th {
    padding: 10px;
    background-color: #BCD395;
    background-image: url(images/bg_w.png);
    border-width: 0px;
}
#kihon td {
    padding: 10px;
    background-color: #FFFFFF;
    text-align: left;
    border-width: 0px;
}

#info {
	margin-bottom: 100px;
}
#info ul {
    list-style: none;
    margin-left: auto;
    margin-right: auto;
}
#info a {
    display: block;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
    background-color: #43A607;
    color: #FFFFFF;
    border-radius: 30px;
    margin-bottom: 10px;
    background-image: url(images/bg41w.png);
}
#info a:hover {
    background-color: #FFFFFF;
    color: #005A34;
}

#kujou {}
#kujou div {
    background-color: #FFFFFF;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}
#kujou dl {
    border: 3px solid #FFBE54;
    margin-bottom: 40px;
}
#kujou dt {
    font-size: 1.1em;
    padding-bottom: 10px;
    border-bottom: 3px solid #FFBE54;
    padding: 10px;
    background-color: #FFE485;
}
#kujou dd {
    padding-top: 20px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 20px;
    background-color: #FFFFFF;
    text-align: left;
}
#kujou dd:last-child {
    padding-right: 50px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-top: 0px;
    text-align: center;
}

#kujou a {
    display: block;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
    background-color: #BD6E1F;
    color: #FFFFFF;
    border-radius: 30px;
    margin-bottom: 10px;
    background-image: url(images/bg41w.png);
}
#kujou a:hover {
    background-color: #FDE9D0;
    color: #5A2900;
}

@media screen and (max-width:768px){


html,body {
    background-image: url(images/bg_header.png),url(images/bg_body.png);
    background-color: #F5E5CE;
    background-repeat: no-repeat,repeat;
    background-size: 200% auto,auto auto;
}
#system_main {
    background-size: 30% auto,30% auto;
}



h1 {
	width: 35%;
    padding-bottom: 10px;
}

	h2 img {
		width: 90%;
	}
main {
	margin-top: auto;
	margin-bottom: auto;
	padding-bottom: 150px;
	width:94%;
}

	
#mainnav  {
	width: 100%;
	margin-right: auto;
	margin-left: auto;

	}
#mainnav ul {
	width: auto;
	}
#mainnav ul li{
    width: calc(100% - 65px);
    list-style-type: none;
    padding-top: 40px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}
#mainnav ul li img{
    width: 90%;
    border-radius: 15px;
    border: 5px solid #FFFFFF;
	height: auto;
	object-fit: cover;
}	


footer .copy img {
	width: 80%;
	height:auto;
	}
footer .address img {
	width: 80%;
	}
	

.mainbox {
	width: auto;
	padding-top: 1em;
	padding-right: 1em;
	padding-bottom: 1em;
	padding-left: 1em;
	border-radius: 0px;
}
	
/* pagetop */
.pagetop{
    position: fixed;
    bottom: 10px;
    right: 10px;
	width: 45px;
}	
	#kihon table {
		width: 100%;
	}
#bg_slogan {
    background-image: url(images/bg_slogan.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    background-size: 100% auto;
}
#slogan {
    padding-bottom: 40px;
}
#slogan img {
   width: 70%;
}	
	
}

@media screen and (max-width:480px){
html,body {
    background-image: url(images/bg_header.png),url(images/bg_body.png);
    background-color: #F5E5CE;
    background-repeat: no-repeat,repeat;
    background-size: 250% auto,auto auto;
}
h1 {
	width: 38%;
	margin-right: auto;
	margin-left: auto;
}

h2 img {
	width: 90%;
}
	

h3 {
	font-size: 20px;
}
footer {
    padding-bottom: 50px;
    background-size: 150% auto;
}

footer .copy img {
	width:100%
}


html,body {
	height: auto;
	width: 100%;
}
	
#mainnav ul li:nth-child(1):before {
  content: url("images/img1.png");
  position: absolute;
	top:-20px;
	left:-20px;
	z-index: 10;
  }
#mainnav ul li:nth-child(2):before {
  content: url("images/img2.png");
  position: absolute;
	top:-20px;
	left:-15px;
	z-index: 11;
  }
#mainnav ul li:nth-child(3):before {
  content: url("images/img3.png");
  position: absolute;
	top:-20px;
	left:-20px;
	z-index: 12;
  }

rt {

    margin-bottom: 0em;
}
	}
	
