@charset "utf-8";
body{
    background-image: url(../img/area_top2.jpg);
    background-size: cover;
}
/*==================================================
スライダーのためのcss
===================================*/
.wrapper{
  position: relative;
  padding-bottom: 3rem;
}


/*ヘッダーを固定*/
#head{
  height: 70px;/*高さ指定*/
  width:100%;/*横幅指定*/
  /*以下はレイアウトのためのCSS*/
  display: flex;
  justify-content:space-around;
  align-items: center;
  background:#333;
  color:#fff;
  text-align: center;
  padding: 20px;
  position: fixed;/*fixedを設定して固定*/
    z-index: 999;/*最前面へ*/
   bottom:0;/*位置指定*/
    left:0;/*位置指定*/
}


/*========= レイアウトのためのCSS ===============*/



.minititle{
    font-size: 3vw;
    margin-top: 0;
}



.catch{

    margin: 5%;
    
}
.midashi{
    font-size: 20px;
    margin-bottom: 5%;
    text-align: center;
}
.sub{
    margin: 0 5% 0 5%;
}
.sub img{
    width: 100%;
}


@media screen and (min-width:768px) {
    .catchin{
        display: flex;
        width: 80%;
        justify-content: center;
    }
    .sub{
        width: 50%;
    }
    .sub2{
        width: 50%;
    }
    .midashi{
    font-size: 5rem;
}
}

/*========= レイアウトのためのCSS ===============*/


small{
  background:#333;
  color:#fff;
  display: block;
  text-align: center;
  padding:20px;
}
nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
}
nav ul li a{
  display: block;
  text-decoration: none;
  color: #fff;
  padding:10px;
  transition:all 0.3s;
}
nav ul li.current a,
nav ul li a:hover{
  color:#fff; 
}

/* 下から */

.fadeIn{
animation-name:fadeInAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



/*========= コンテナ５のためのCSS ===============*/
/*========= ================== ===============*/




/* footer */

#footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
    flex-direction: row-reverse;
    margin-bottom: 70px;
}

#footer .footer-r{
    width:70%;
    padding: 40px 40px 0 40px;
    background:#000;
    color: #fff;
}

#footer .footer-r .map-address{
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .footer-r .map-address address{
     font-style: normal;   
    margin: 0 0 30px 0;
}

#footer .footer-r .map-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;

}

#footer .footer-r .map-area h2{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    font-size: 1.3rem;
    width:10%;
    height: 10em;
    letter-spacing: 0.3em;
    text-align: center;
}

#footer .footer-r .map-address{
    width:30%;
}

#footer .footer-r .map-block{
    width:50%;
}

#footer .footer-r .iframe-area {
  position: relative;
  padding-bottom: 51.65%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

#footer .footer-r .iframe-area iframe,
#footer .footer-r .iframe-area object,
#footer .footer-r .iframe-area embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#footer .footer-link{
    font-size: 0.9rem;
    padding: 0 0 0 50px;
}

#footer .footer-link li{
     display: inline-block;
}

#footer .footer-link a{
    color: #fff;
}

#footer .footer-link a::after{
    content:'/';
    padding: 0 10px;
}

#footer .footer-link li:last-child a::after{
    content:'';
    padding: 0;
}

#footer{

    background:#333333;
}

#footer .footer-l .footer-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #cccccc;
    height: 40vh;
}

#footer .footer-l .footer-contact-area h2{
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

#footer .footer-l .footer-contact-area a{
    font-size: 1.5rem;
    padding: 0 0 20px 0;
    display: inline-block;
}

#footer #copyright{
    background:#333333;
    color: #ccc;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}

#footer #page-top{
    position: absolute;
    bottom:0;
    right: 0;
    width:80px;
    height:80px;
    background:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#footer #page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top:2px solid #182578;
  border-left: 2px solid #182578;
  transform: rotate(45deg);
}

@media screen and (max-width:1045px) {
 
#footer .footer-r,
#footer .footer-l{
    width:100%;
}
    
#footer .footer-l .footer-contact,
#footer #copyright{
    height: inherit;
    padding: 40px 0;
}
    
#footer .footer-r .map-area h2{
    width:5%;
}
   
#footer .footer-link{
    text-align: center;
}
    
}

@media screen and (max-width:768px) {
    #footer .footer-r{
        padding:0;
    }
    
    #footer .footer-r .map-area{
        margin: 0;
        font-size: 13px;
    }
    #footer .footer-link{
        display: none;
    }
    
#footer .footer-r .map-area h2{
    width:100%;
    height: inherit;
    margin: 0;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}

#footer .footer-r .map-address{
        width:48%;
}
    
#footer #page-top{
        width:60px;
        height: 60px;
}
#footer #copyright{
    padding: 0;
}
section{
  padding:8px;
}
}
/*フッター終了*/




















