﻿body,h1,h2,h3,h4,p {
 margin: 0;
 padding: 0;
}
.section {
	position: relative;
	display: flex;
	min-height: 100vh;
	background: #3397ff;
	line-height: 1.5em;
}
.header-bg {
  background-image: url("../images/IMG_0277.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}
.box11 { list-style: none; text-align: center;　margin: 0; padding: 0; }
.box11 li {
    width: 200px;
    display: inline-block;
    padding: 0.5em 0.5em;
    margin: 2em 0;
    color: #5d627b;
    border: 2px solid #666666;
    background: #ffffff;
}
.box11 a { text-decoration: none; color: #333333; }
.box11 .example img { width: 200px; height:100px; }
.box11 .example {
  position: relative;
  }
.box11 .example b {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  color: white;
  background: skyblue;
  font-size: 13px;
  line-height: 1;
  padding: 5px 10px;
  max-width: 150px;
  white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
  }
.box11 h4 { font-size: 14px; text-align: left; margin: 0; padding: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.box11 p { font-size: 13px; text-align: left; margin: 0; padding: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.breadcrumb {
  padding-left:0;
  margin-left:0;
}
.breadcrumb li{
  display:inline;
  list-style: none;
  font-weight: bold;
}
.breadcrumb li:after {
  content: '>';
  padding: 0 3px;
  color: #555;
}
.breadcrumb li:last-child:after {
  content: '';
}
.breadcrumb li a {
  text-decoration: none;
  color: #333333;
}
.breadcrumb li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 547px) {
	header {
		position: absolute;
		z-index: 10;
	 background: rgba(0,0,0,0.01);
	 color: #333333;
	 width: 100%; height: 36px;
	}

	#header_wrap {
		position: relative;
		top: 15px; left: 0; right: 0;
	width: 320px; height: 36px;
	margin: 0 auto;
	}

	#header_left {
		width: 284px; height: 36px;
		position: absolute;
		left: 0;
	}
	#header_left img { width: 200px; height: 36px; }

        #header_center { display: none; }

#header_right {
	width: 36px; height: 36px;
	position: absolute;
        top: 0;
	right: 0;
}
#header_right img {
  width: 36px;
  height: 36px;
}

	#header_right a { display: none; }

#section { background: rgba(0,0,0,0.1); width: 100%; }
#section_header { width: 100%; padding-top: 20px; padding-bottom: 20px; background: rgba(0,0,0,0.3); color: white; font-size: 25px; text-align: center; }
#section_content { width: 320px; margin: 0px auto; padding-top: 20px; padding-bottom: 20px; }
#section_footer { width: 100%; margin 0 auto; text-align: center; padding-top: 20px; padding-bottom: 40px; }
#section_footer a { padding: 20px; background: rgba(0,0,0,0.5); color: #ffffff; font-size: 20px; text-align: center; border-radius: 10px; text-decoration: none; }

	#sidenavi { display:none; }

	#contents {
	width: 320px;
	margin: 10px;
	}

	#section_footer { display: none; }

	article {
	 padding: 10px;
	 background-color: #ffffff;
	}

	footer {
	 background: rgba(0,0,0,0.1);
	 color: #333333;
	 width: 100%;
	}

	#footer_wrap {
	width: 320px;
	margin: 0 auto;
	}
	#footer_section1 { padding-top: 15px; color: #333333; }
	#footer_section1 img { width: 80px; height: 80px; border-radius: 50%; float: left; margin-right: 15px; margin-bottom: 15px; }
	#footer_section3 {
	clear:both;
	text-align: center;
	padding: 15px;
	}
main {
	position: absolute;
	top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	z-index: 5;
	background: rgba(255,255,255,0.4);
	color: #ffffff;
	text-align: center;
	width: 150px; height: 150px;
}
main img { width: 150px; height: 150px; }


}@media screen and (min-width: 548px) and (max-width: 969px) {
	header {
		position: absolute;
		z-index: 10;
	 background: rgba(0,0,0,0.01);
	 color: #333333;
	 width: 100%; height: 50px;
	}

	#header_wrap {
		position: relative;
		top: 15px; left: 0; right: 0;
	width: 540px; height: 36px;
	margin: 0 auto;
	}

	#header_left {
		width: 504px; height: 36px;
		position: absolute;
                top: 0;
		left: 0;
	}
	#header_left img { width: 200px; height: 36px; }

        #header_center { display: none; }

#header_right {
	width: 36px; height: 36px;
	position: absolute;
        top: 0;
	right: 0;
}
#header_right img { width: 36px; height: 36px; }
#header_right a { display: none; }

#section { background: rgba(0,0,0,0.1); width: 100%; }
#section_header { width: 100%; padding-top: 20px; padding-bottom: 20px; background: rgba(0,0,0,0.3); color: white; font-size: 25px; text-align: center; }
#section_content { width: 540px; margin: 0px auto; padding-top: 20px; padding-bottom: 20px; }
#section_footer { width: 100%; margin 0 auto; text-align: center; padding-top: 20px; padding-bottom: 40px; }
#section_footer a { padding: 20px; background: rgba(0,0,0,0.5); color: #ffffff; font-size: 20px; text-align: center; border-radius: 10px; text-decoration: none; }

	#sidenavi {
	margin:10px 0px 10px 0px;
	}

	#contents {
	margin:10px 10px 10px 0px;
	}

	#section_footer {
	clear:both;
	}

	article {
	 padding: 20px;
	 background-color: #ffffff;
	}

	footer {
	 background: rgba(0,0,0,0.1);
	 color: #333333;
	 width: 100%;
	}

	#footer_wrap {
	width:540px;
	margin:0px auto;
	}
	#footer_section1 { padding-top: 15px; color: #333333; }
	#footer_section1 img {  width: 80px; height: 80px; border-radius: 50%; float: left; margin-right: 15px; margin-bottom: 15px; }
	#footer_section3 {
	clear:both;
	text-align: center;
	padding: 15px;
	}
main {
	position: absolute;
	top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	z-index: 5;
	background: rgba(255,255,255,0.4);
	color: #ffffff;
	text-align: center;
	width: 200px; height: 200px;
}
main img { width: 200px; height: 200px; }

}@media screen and (min-width: 970px) {
header {
	position: absolute;
	z-index: 10;
 background: rgba(0,0,0,0.01);
 color: #333333;
 width: 100%;
}

#header_wrap {
	position: relative;
	top: 0; left: 0; right: 0;
width: 960px;
height: 75px;
margin: 0 auto;
padding: 0;
}

#header_left {
	width: 200px; height: 75px;
	position: absolute;
	left: 0; top: 19px; bottom: 19px;
}
#header_left img { width: 200px; height: 36px; }

#header_center { width: 620px; height: 75px;
	position: absolute;
	left: 210px;
}
ul.foo {
  width: 600px;
  padding:0;
  font-size:0px;
}

ul.foo li {
  width: 150px; height: 75px;
  display: inline-block;
  text-align: center;
  font-size:16px;
  color: #ffffff;
  line-height: 75px;
}

ul.foo li:first-child {
  height:50px;
}

ul.foo li a {
  display: block;
  text-decoration: none;
  color: #ffffff;
}

#header_right {
	width: 150px; height: 75px;
	position: absolute;
        top: 0;
	right: 0;
	background-color: #cc0099;
	color: #ffffff;
	text-align: center;
        line-height: 75px;
}
#header_right a {
  display: block;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  text-decoration: none;
  color: #ffffff;
}

#header_right img { display: none; }

main {
	position: absolute;
	top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	z-index: 5;
	background: rgba(255,255,255,0.4);
	color: #ffffff;
	text-align: center;
	width: 250px; height: 250px;
}
main img { width: 250px; height: 250px; }

#section { background: rgba(0,0,0,0.1); width: 100%; }
#section_header { width: 100%; padding-top: 20px; padding-bottom: 20px; background: rgba(0,0,0,0.3); color: white; font-size: 25px; text-align: center; }
#section_content { width: 960px; margin: 0px auto; padding-top: 20px; padding-bottom: 20px; }
#section_footer { width: 100%; margin 0 auto; text-align: center; padding-top: 20px; padding-bottom: 40px; }
#section_footer a { padding: 20px; background: rgba(0,0,0,0.5); color: #ffffff; font-size: 20px; text-align: center; border-radius: 10px; text-decoration: none; }

#sidenavi { float:left; width:198px; margin:10px 0px 10px 0px; }

#contents {
float:left;
width:748px;
margin:10px 10px 10px 0px;
}

#section_footer {
clear:both;
}

article {
 padding: 20px;
 background-color: #ffffff;
}

footer {	width: 100%; color: #333333; background: rgba(0,0,0,0.1); }
#footer_wrap {	width:540px;	margin: 0px auto; }
#footer_section1 { width: 500px; }
#footer_section1 img { width: 80px; height: 80px; border-radius: 50%; float: left; margin-right: 15px; margin-bottom: 15px; }
#footer_section3 { text-align: center; padding: 20px; }

}
