@charset "utf-8";
#contents {
  padding-top: 190px;
}
@media only screen and (max-width: 767px) {
  #subNavi {
    display: none;
  }
  #contents {
    padding-top: 60px;
  }
}
/*---------------------- mainContents ----------------------*/
@media only screen and (max-width: 767px) {
  #mainContents {
    padding: 0;
  }
}
/*---------------------- mainTitle ----------------------*/
#mainContents .mainTitle {
  margin-bottom: 45px;
  text-align: center;
  background-color: #f2f2f2;
  padding: 0 0 45px;
}
#mainContents .mainTitle img {
  width: 100%;
  display: block;
}
#mainContents .mainTitle h1 {
  position: relative;
}
#mainContents .mainTitle h1 span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -50px;
  text-align: center;
  color: #FFFFFF;
  font-size: 5em;
  font-family: 'Lato', sans-serif;
  font-style: italic;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: 0.2em;
}
#mainContents .mainTitle h2 {
  font-size: 2.4em;
  letter-spacing: 0.2em;
  color: #f09600;
  padding-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}
#mainContents .mainTitle p {
  font-weight: 700;
  font-size: 1.2em;
  line-height: 2.0;
}
@media only screen and (min-width: 768px) {
  #mainContents .mainTitle .border {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  #mainContents .mainTitle {
    margin: 0;
    background-color: #FFF;
    padding: 0;
  }
  #mainContents .mainTitle h1 {
    margin: 0 0 35px;
  }
  #mainContents .mainTitle h1 span {
    display: none;
  }
  #mainContents .mainTitle h2 {
    display: none;
  }
  #mainContents .mainTitle p {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
    margin: 0 0 35px;
  }
  #mainContents .mainTitle .border img {
    display: block;
    width: 100%;
  }
}
/*---------------------- service ----------------------*/
#mainContents .service .fig img, #mainContents .service .photo img{
	max-width:100%;
	display: block;
	margin:auto;
}
@media only screen and (min-width: 768px) {
#mainContents .service{
	margin-bottom: 3em;
	text-align: center;
	padding:0 7%;
}
#mainContents .secTitle{
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1em;
    text-align: center;
	padding:0.5em 0;
}
#mainContents .secTitle h2{
	text-align: center;
	letter-spacing: 0.1em;
	font-size:1.6em;
	display: inline-block;
	padding: 0 0.5em;
    position: relative;
	color: #f09600;
	font-weight:700;
}
#mainContents .secTitle h2:before{
	right: 105%;
	border-top: 1px solid #f09600;
    content: "";
    position: absolute;
    top: 50%;
    width: 200em;
}
#mainContents .secTitle h2:after{
	left: 105%;
	border-top: 1px solid #f09600;
    content: "";
    position: absolute;
    top: 50%;
    width: 200em;
}
#mainContents p{
	line-height: 2.0;
}
#mainContents .service h3{
	font-size: 1.4em;
	letter-spacing: 0.1em;
	color: #f09600;
	font-weight: 700;
	margin:0 0 30px;
}
#mainContents .service .fig, #mainContents .service .photo{
	padding:35px 0 0;
}
#mainContents .service .fig .desc2{
margin:-20px 0 15px;
}
}
@media only screen and (max-width: 767px) {
#mainContents .service{
background-color: #F8F8F8;
padding:0 0 60px;
}
#mainContents .secTitle{
margin:0 0 15px;
}
#mainContents .secTitle h2{
	font-size:16px;
	font-weight:700;
	line-height: 44px;
	color:#FFF;
	background-color: #F39800;
	text-align: center;
}
#mainContents .service .desc{
line-height: 1.4;
margin:0 12% 25px;
}
#mainContents .service .fig{
margin:0 5%;
padding:30px 0 40px;
background-color: #FFF;
}
#mainContents .service .fig:has(h3){
  padding:20px 0;
}
#mainContents .service .fig h3{
font-size:14px;
font-weight:700;
text-align: center;
margin:0 0 5px;
}
#mainContents .service .fig h3.orange {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 5% 10px;
  font-size: 14px;
  font-weight: 700;
  color: #F39800;
}
#mainContents .service .fig h3.orange:before, #mainContents .service .fig h3.orange:after {
  border-top: 1px solid #F39800;
  content: "";
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
#mainContents .service .fig h3.orange:before {
  margin-right: 15px;
}
#mainContents .service .fig h3.orange:after {
  margin-left: 15px;
}
#mainContents .service .fig .desc2{
text-align: center;
line-height: 1.4;
margin:0 0 35px;
}
#mainContents .service .photo{
margin:0 6% 25px;
}
}