﻿body,h1,h2,h3,h4,p {
 margin: 0;
 padding: 0;
}
#page {
 position: absolute;
 width: 100%;
 height: 100%;
}
.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;
}

#contents { padding: 5px; }
#contents h1 {
  background: #dc143c;
  padding: 0.5em;
  color: white;
  border-radius: 0.5em;
}
#contents h2 {
  position: relative;
  padding: 0.25em 0;
  margin-top: 10px;
}
#contents h2:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
  background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
}
#contents p { padding: 10px; }

.box11 { list-style: none; text-align: center;　margin: 0; padding: 0;　}
.box11 li {
    width: 200px;
    display: inline-block;
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box11 a { text-decoration: none; color: #333333; }
.box11 img { width: 150px; }
.box11 h4 { text-align: left; margin: 0; padding: 0; }
.box11 p { text-align: left; margin: 0; padding: 0; }

.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;
}
.example {
  position: relative;
  }
.example b {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  color: white;
  background: skyblue;
  font-size: 15px;
  line-height: 1;
  padding: 5px 10px;
  }
.example img {
  width: 100%;
  }
.example2 {
  position: relative;
  }
.example2 a {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  font-size: 20px;
  border: solid white 2px;
  padding: 7px;
  color: white;
  text-decoration: none;
  }
.example2 a:hover{
  background: rgba(255, 255, 255, 0.3);
  }
.example2 img {
  width: 100%;
  }

@media screen and (max-width: 547px) {
header {
  width: 100%; height: 75px;
  color: #333333;
  background: rgba(0,0,0,0.1);
}
	#header_wrap {
	 width: 320px; height: 36px;
		position: relative;
	 top: 20px; bottom: 19px;
  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;
 right: 0;
}
#header_right img { width: 36px; height: 36px; }
#header_right a { display: none; }
section { position: relative; width: 100%; }
#section_wrap { width: 320px; margin: 0px auto; }
#section_header { padding-top: 5px; padding-bottom: 10px; }
#section_footer { padding-bottom :10px; }
footer {
 position: relative;
 color: #333333;
 width: 100%;
 background: rgba(0,0,0,0.1);
}
#footer_wrap {
width: 320px;
margin: 0px auto;
}
#footer_section1 { padding-top: 20px; 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: 20px;
}

}@media screen and (min-width: 548px) and (max-width: 969px) {
header {
 position: relative;
 color: #333333;
 width: 100%; height: 75px;
 background: rgba(0,0,0,0.1);
}
#header_wrap {
	position: relative;
	top: 20px; 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 { position: relative; width: 100%; }
#section_wrap { width: 540px; margin: 0px auto; }
#section_header { padding-top: 5px; padding-bottom: 10px; }
#section_footer { padding-bottom: 10px; }
footer {
 position: relative;
 color: #333333;
 width: 100%;
 background: rgba(0,0,0,0.1);
}
#footer_wrap {
width: 540px;
margin: 0px auto;
}
#footer_section1 { padding-top: 20px; color: #333333; }
#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; }

}@media screen and (min-width: 970px) {
header {
 position: relative;
 color: #333333;
 width: 100%; height: 75px;
 background: rgba(0,0,0,0.1);
}

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

#header_left {
	width: 200px; height: 50px;
	padding-top: 20px;
	position: absolute;
	left: 0;
}
#header_left img { width: 200px; height: auto; }

#header_center { width: 610px; height: 50px;
	position: absolute;
        top: 25px;
	left: 200px;
}
ul.foo {
  width: 600px;
  padding:0;
  font-size:0px;
}

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

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

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

#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; }
section { position: relative; width: 100%; }
#section_wrap { width: 960px; margin: 0px auto; }
#section_header { padding-top: 5px; padding-bottom: 10px; }
#section_footer { padding-bottom: 10px; }

footer {	width: 100%; color: #333333; background: rgba(0,0,0,0.1); }
#footer_wrap {	width:540px;	margin: 0px auto; }
#footer_section1 { padding-top: 20px; color: #333333; }
#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; }

}
