@charset "utf-8";
/*================================
PC & SP
================================*/
html,body{
  height: 100%;
  color: #000;
  text-align: center;
  line-height: 1.6;
}
img{
  border:none;
  vertical-align:bottom;
}
a{
  text-decoration: none;
  color: #000;
}
a:hover{
  text-decoration: underline;
  opacity: 0.9;
}
ul{
  list-style: none;
}
.over{
  transition: -webkit-opacity .5s ease;
  transition: opacity .5s ease;
}
.over:hover{
  opacity: 0.4;
}

.clearfix:after{
  content: ".";
  display: block;
  height: 0;
  font-size:0;
  clear: both;
  visibility:hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE Mac \*/
* html .clearfix {height: 1%;}
.clearfix {display:block;}
/* End Hack */

.fixed {
  position: fixed;
  top: 0;
  padding: 50px 0 0 0px;
  z-index:100;
}

/* body */
html,body{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}
@media screen and (min-width: 480px) {
  html,body{
    font-size: 22px;
  }
}
@media screen and (min-width: 640px) {
  html,body{
    font-size: 28px;
  }
}


.wrapper{
  width: 100%;
  max-width:768px;
  margin: 0 auto;
  padding: 0 0 140px;
}
@media screen and (min-width: 480px) {
  .wrapper{
    padding: 0 0 160px;
  }
}
@media screen and (min-width: 640px) {
  .wrapper{
    padding: 0 0 180px;
  }
}

.contents_top,header,footer{
  width: 100%;
}

/* header */
header{
  position: absolute;
  top:0;
  left: 0;
  height: 20%;
}
header h1{
  float: left;
  margin: 4px 0 0 4px;
  height: 100%;
}
header h1 img,header p img{
  height: 100%;
}
header p{
  float: right;
  margin: 20px 20px 0 0;
  height: 40%;
}


/* contents */
.contents_top{
  position: relative;
}
.contents_top h2 img{
  width: 100%;
}
.contents{
  width: 90%;
  margin: 0 auto;
  margin-top: 60px;
}
.contents h3{
  font-size: 1.2rem;
  background: url(../images/hr.png) center bottom no-repeat;
  background-size: 50%;
  padding: 0 0 30px;
  margin: 0 0 40px;
}
.contents .separator{
  width: 50%;
  margin: 0 auto;
  margin-top:5px;
  margin-bottom:40px;
}
.contents .separator img{
  width: 100%
}
.contents_p{
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
}

.contents h4{
  font-size: 1rem;
  color: #fff;
  margin: 30px 0 20px 0;
}
.contents h4 span.span_black{
  background: #000;
  padding: 4px 20px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.9;
}

.contents_access h5 span.span_icon{
  display: block;
  width: 50px;
  margin: 0 auto;
  margin-bottom: 10px;
}
.contents_access h5 span.span_icon img{
  width: 100%;
}
.contents_access h5{
  font-size: 1.2rem;
}
.contents_access ul{
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  margin: 20px 0 40px;
}

/*ボックス設定*/

.box5 {
    padding: 0.5em 1em;
    margin: 2em 0;
    border: double 5px #4ec4d3;
}
.box5 p {
    margin: 0;
    padding: 0;
}

.border_box{
  border: 3px solid #000;
  padding: 20px 10px;
}
@media screen and (min-width: 480px) {
  .border_box{
    padding: 20px 20px;
  }
}
@media screen and (min-width: 640px) {
  .border_box{
    padding: 20px 30px;
  }
}

.border_box p {
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
}
.border_box ul{
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 1.4;
  list-style: disc;
  text-align: left;
  margin-left: 20px;
}
.border_box ul li{
  margin: 0 0 10px;
}

/* swiper */
.swiper-container {
  width: 100%;
}
.swiper-slide {
  padding: 0 10px;
  box-sizing: border-box;
}
.swiper-slide img{
  width: 100%;
}
.swiper-button-next{
  right: 26px;
  top:55px;
  background:none;
  position: absolute;
}
.swiper-button-prev{
  left: 0;
  top:55px;
  background:none;
  position: absolute;
}
.swiper-button-next img,
.swiper-button-prev img{
  width: 53px;
  height: 95px;
}

@media screen and (min-width: 480px) {
  .swiper-button-next,
  .swiper-button-prev{
    top:100px;
  }
}
@media screen and (min-width: 640px) {
  .swiper-button-next,
  .swiper-button-prev{
    top:150px;
  }
}



/* footer */
footer{
  background: #000;
  width: 90%;
  max-width:690px;
  margin: 20px auto 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
footer h3{
  padding-top: 20px;
  font-size: 1rem;
  color: #fff;
}
footer ul {
  padding: 10px;
  width: 80%;
  margin: 0 auto;
}
footer li {
    background: #fff;
    border-radius: 12px;
    width: 49%;
    text-align: center;
}
footer li a{
    display:block;
    width:100%;
    padding:5px 0;
    font-weight: bold;
}
footer li a:hover{
  opacity: 0.8;
}
.footer_link_tel{
  float: left;
}
.footer_link_mail{
  float: right;
}
