@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

body{font-family: 'Noto Sans Japanese', sans-serif; color: #3b3b3b;}

a{
  color: #5f5853;
}

a:hover{
  color: #8e7c6f;
}


/* header 
************************/
header{
    background: #e7f8fa url(/images/bg_mv.jpg) no-repeat 50% 0;
    background-size: 100% auto;
    margin-bottom: 50px;
    color: #5f5853;
    position: relative;
}

header .container{
max-width: 100%;
padding: 15px 0 0;
}

header .container .navbar-brand{
    float: left;
    margin-top: 15px;
}

header .container .navbar-brand img{
    width: 260px;
}

header .container a:hover{
  text-decoration: none;
}

header .container .tel{
  width: 210px;
  margin-top: -15px;
  text-align: center;
  font-size: 1.4rem;
  list-style: none;
}

header .container .tel a{
  color: #fff;
}

header .container .tel a:hover{
  color: #f2f2f2;
}

header .container .contact{
  list-style: none;
  border:2px solid #fff;
  padding: 2px;
}

header .container .contact a{
  display: block;
  width: 202px;
  line-height: 36px;
  font-size: 1.1rem;
  text-align: center;
  background:#fff;
}

header .container .contact a:hover{
filter:alpha(opacity=90);
-moz-opacity:0.90;
opacity:0.90;
}


header .container .contact a img{
  margin-right: 8px;
  vertical-align: baseline;
}

@media (max-width:575px){
  header h1 img{width: 200px !important;}
  header .container{
    padding-top: 5px;
    padding-left: 10px;
    padding-right:10px;
    background-size: 410px;
  }
}


/* nav
************************/
.navbar{
position: relative;
padding: 0;
}

.navbar .inner{
  width: 100%;
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}
.navbar-toggler-icon{
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.navbar-toggler{
  float: right;
  padding: .3rem .4rem;
  color: #fff !important;
  background: #84bac3;
  border: 2px solid #fff;
  border-color: rgba(255,255,255,1) !important;
  filter:alpha(opacity=85);
  -moz-opacity:0.85;
  opacity:0.85;
}

.navbar-toggler small{
  display: block;
  font-size: 0.5rem;
}


/* collapseのタイミングによってmax-widthを変える */
@media (min-width:768px){
  .navbar .navbar-bg{
    position: absolute;
    top: 89px;
    left: 0;
    height: 50px;
    width: 100%;
    background: #fff;
    filter:alpha(opacity=70);
    -moz-opacity:0.70;
    opacity:0.70;
    z-index: 100;
  }
  .navbar .main-nav{
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin:0 auto;
  }
  .navbar .main-nav li{
    margin: 12px 0;
  }
  .navbar .main-nav li:first-child{
    border-left: 1px dashed #009944;
  }
  .navbar .main-nav li a{
    padding: 0;
    border-right: 1px dashed #009944;
    line-height: 26px;
  }
  .navbar .main-nav li a:hover{
    color: #289c43;
  }

  .navbar #wr.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 51px;
    border-bottom: 1px solid #eee;
    background: #fff;
    z-index: 99;
    filter:alpha(opacity=90);
    -moz-opacity:0.9;
    opacity:0.9;
}

  .navbar #mnv.sticky {
    position: fixed;
    top: 0;
    left: 50%;
    padding: 0 15px;
    transform: translate(-50%, 0);
    max-width: 1230px;
  }

}

@media (max-width:767px){
  header{margin-bottom: 0;}
  #main-nav{
    position: absolute;
    top: 70px;
    left: 0;
    width:100%;
    margin-top: 9px;
    z-index: 50;
  }
  #main-nav a{
    line-height: 40px;
    color: #fff !important;
  }
  #main-nav a:hover{
    background: #84bac3 !important;
  }
  .header-nav{display: none;}
  .navbar .navbar-bg{
    position: relative;
    height: auto;
    width: 100%;
    background: #609ba5;
    filter:alpha(opacity=95);
    -moz-opacity:0.95;
    opacity:0.95;
    z-index: 100;
  }
}


/* main visual
************************/
#copy{
  position: relative;
  max-width: 1224px;
  margin: 50px auto 0;
  padding: 10% 12px 0;
  color: #fff;
  overflow: hidden;
}

#copy p{
  padding-bottom: 20%;
}

#copy p img{
  width: 59%;
}

.wave {
  position: relative;
}
.wave:before {
  z-index: 10;
  position: absolute;
  top: -125px;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 78px;
  background: url(/images/bg_wave.png) repeat-x center;
}

@media (max-width: 991px) {
  #copy p{
    padding-bottom: 17%;
  }
  #copy p img{
    width: 59%;
  }
}

@media (max-width: 767px) {
  #copy{
    margin: 30px auto 0;
  }
  #copy p img{
    width: 75%;
  }
 .wave:before {
    background: none;
  }
}

@media (max-width:575px){
  #copy p img{
    width: 80%;
  }
}


/* サービス
************************/
#service{
  position: relative;
  padding-top: 100px;
  padding-bottom: 90px;
}
#service h2{
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  text-align: center;
}

#service h2:before {
  content: '';
  width: 1px;
  height: 70px;
  background: #3b3b3b;
  display: block;
  left: 50%;
  top: 0px;
  position: absolute;
}

#service h3{
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #9b9b9b;
  text-align: center;
}

#service p.lead{
  margin-top: 30px;
  margin-bottom: -20px;
  text-align: center;
  font-size: 1.1rem;
}

#service .retina{
  margin-top: 70px;
}

#service .row h4{
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: bold;
}

#service .row p{
  margin-top: 20px;
  font-size: .9rem
}

@media (max-width:767px){
  #service h2:before {
    content: '';
    width: 1px;
    height: 60px;
    background: #3b3b3b;
    display: block;
    left: 50%;
    top: 25px;
    position: absolute;
  }
  #service p.lead{
    margin-bottom: 0;
  }

  #service .retina{
    margin-top: 40px;
  }
  #service .row h4{
    margin-top: 25px;
  }
  #service .row p{
    margin-top: 15px;
  }
}

@media (max-width:575px){
  #service .retina{
    margin-top: 30px;
  }
  #service .row h4{
    margin-top: 15px;
  }
  #service .row p{
    margin-top: 10px;
  }
}


/* 代表紹介
************************/
#representative{
  padding-top: 110px;
  padding-bottom: 100px;
  background: #e6f2f8;
}

#representative h2{
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  margin-left: -19px;
  padding-left: 15px;
  border-left: 4px solid #3b3b3b;
}

#representative h3{
  padding-top: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #9b9b9b;
  margin-left: -19px;
  padding-left: 17px;
  border-left: 4px solid #3b3b3b;
}

#representative .greetings{
  padding-bottom: 40px;
}

#representative .greetings dl{
  margin-top: 35px;
  margin-bottom: 30px;
  max-width: 15em;
}
#representative .greetings dt{
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  border-bottom: 1px solid #3b3b3b;
}

#representative .greetings dd{
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.1em;
}

#representative .profile{
  text-align: center;
}

#representative .profile ul{
  padding-left: 0;
}

#representative .profile li{
  margin-bottom: 3px;
  list-style: none;
  font-size: .8rem;
  font-weight: bold;
}

#representative .profile li dl{
  margin: 1.3em auto 0;
  padding-bottom: 5px;
  max-width: 300px;
  border: 1px solid #cbcccc;
}

#representative .profile li dt{
  width: 70%;
  margin: -1em auto .3em;
  background: #e6f2f8;
}


#representative .profile li dd{
  font-weight: normal;
  margin-bottom: 3px;
}

#representative #career .table{
  margin-top: 60px;
}

#representative #career .table th,
#representative #career .table td{
  padding: .75rem 2rem;
  font-size: .9rem;
  font-weight: normal;
  border-top: 1px solid #e6f2f8;
}

#representative #career .table th{
  width: 1%;
  padding-left: 6rem;
}

#representative #hobby h4{
  margin: 100px 0 45px;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  text-align: center;
}

#representative #hobby h5{
  margin: 30px 0 25px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

#representative #hobby .img-fluid{
  margin-top: 15px; 
}

@media (max-width:991px){
  #representative .greetings p{
    font-size: .9rem;
  }
  #representative #career .table th{
    padding-left: 2rem;
  }
}

@media (max-width: 767px) {
  #representative h2{
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  text-align: center;
  }
  #representative h3{
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  text-align: center;
  }
  #representative .greetings dl{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  #representative #career .table th,
  #representative #career .table td{
    padding: .75rem;
  }
}


/* 事務所案内
************************/
#office .container-fluid{
  padding: 90px 0 120px;
  background: #f9fafa url("/images/ph_plant.png") no-repeat 50% 100%;
}

#office h2{
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  text-align: center;
}

#office h3{
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #9b9b9b;
  text-align: center;
}

#office h4{
  margin: 0 0 25px 1.8rem;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: -0.03em;
}


#office .container{
  padding-top: 80px;
  padding-bottom:100px;
}

#office .table th,
#office .table td{
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: normal;
  border-top: 1px solid #e6f2f8;
}

#office .table th{
  width: 1%;
  padding-left: 2rem;
}

#office #mainImage{
  text-align: center;
}

#office #imageList {
  margin-top: 10px;
  padding: 0;
}

#office #imageList img {
  width: 78px;
  height: 70px;
}


/* アクセス
************************/
#access{
  color: #fff;
}

#access a{
  color: #fff;
  text-decoration: underline;
}

#access a:hover{
  text-decoration: none;
}

#access .info{
  padding-bottom: 15px;
  background: #478691;
}

#access .info .inner{
  max-width: 570px;
  margin-top:35px;
  text-align: center;
}

#access .info h2{
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

#access .info h3{
  padding-top: 20px;
  font-size: 1.1rem;
  font-weight: bold;
}

#access .info ul{
  width: 90%;
  margin: 20px auto 0;
  padding: 0 10px 15px;
  border: 3px solid #fff;
}

#access .info ul li{
  list-style: none;
  margin-top: 5px;
}

#access .info ul li:first-child{
  margin-top: 15px;
}


#access .info ul li address{
  margin: 0;
}

#access .info dl{
  padding: 30px 0 0;
}

#access .info dl.car{
}
#access .info dl.bus{
}

#access .info dl dt{
  margin-bottom: 15px;
  font-size: .9rem;
}

#access .info dl dt img{
  margin-bottom: 10px;
}

#access .info dl dd{
  font-size: .8rem;
}


#access .ggmap {
  position: relative;
  overflow: hidden;
}
 
#access .ggmap iframe,
#access .ggmap object,
#access .ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width:991px){
  #access .info .d-flex{
    display: block !important;
  }

  #access .ggmap {
    padding-bottom: 30%;
  }
}

@media (max-width:767px){
  #access .info .inner{
    max-width: none;
  }
  #access .ggmap {
    padding-bottom: 50%;
  }
}

@media (max-width:575px){
  #access .ggmap {
    padding-bottom: 100%;
  }
}


/* お問合わせ
************************/
.form-control, .btn{border-radius:0;}
.form-group{margin-bottom: 1.7rem;}

#contact{
  position: relative;
  padding-top: 100px;
  padding-bottom: 70px;
}
#contact h2{
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  text-align: center;
}

#contact h3{
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #9b9b9b;
  text-align: center;
}

#contact p.lead{
  margin-top: 30px;
  margin-bottom: 70px;
  text-align: center;
  font-size: 1.1rem;
}

#contact h4{
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: bold;
}

#contact h4 .required{
  display: inline-block;
  margin-right:10px;
  padding: 5px;
  float: right;
  font-weight: normal;
  font-size: .8rem;
  color: #fff;
  background: #ff8d79;
}

#contact ul{
  padding: 30px 60px;
  background: #f2f2f2;
}

#contact ul li{
  margin-bottom: .3em;
  font-size: .8rem;
  list-style: none;
}

#contact .btn{
  font-size: 1.4rem;
  margin-top: 30px;
  padding: 20px 80px;
  color: #fff;
  background: #324a5e;
}

#spin{
display: none;
background: #fff;
}

select.err,
input.err,
textarea.err{
    background:#f9eeee !important;
}

span.err{
    display:none;
    margin-top: 3px;
    padding:0 0 5px 20px;
    font-size:86%;
    color:#f20000  !important;
    background:url(/images/ic_error.png) no-repeat 0 50%;
}

@media (max-width:991px){
  #contact .w-75{
    width: 100% !important;
  }
  
  #contact .w-25{
    width: 35% !important;
  }
}

@media (max-width:767px){
  #contact h4{
    margin-bottom: .4em;
  }

  #contact h4 .required{
    float:none;
    margin-left:10px;
    font-size: .9rem;
  }
  
  #contact ul li{
    margin-bottom: .7em;
  }
}


/* footer
************************/
footer{
  position: relative;
  border-top: 6px solid #61A9B5;
  padding: 30px 0;
  color: #fff;
  background: #478691;
}

footer:after{
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #fff;
  top: 0px;
  left: 0;
}

footer h3{
  margin: 0 0 10px;
  font-size: 1.1rem;
}

footer address, footer p{
  margin-bottom: 3px;
  font-size: .9rem;
}

footer p a{
  color: #fff;
}

footer p a:hover{
  color: #fff;
}

footer ul{
  float: right;
}

footer ul li{
  list-style: none;
  display: inline;
  border-right: 1px solid #fff;
  margin-right: 18px;
  padding-right: 18px;
}

footer ul li:last-child{
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

footer ul li a{
color: #fff;
white-space: nowrap;
}

footer ul li a:hover{
  color: #fff;
}

footer .copy{
  float: right;
}

@media (max-width:1199px){
  footer{text-align: center;}
  
  footer ul{
    float: none;
    margin-top: 10px;
    padding-left: 0;
  }
  
  footer .copy{
    float: none;
  }

}

@media (max-width:767px){
  footer ul li{
    font-size: .9rem;
    margin-right: 14px;
    padding-right: 14px;
  }
}

@media (max-width:575px){
  footer ul li{
    font-size: .7rem;
    margin-right: 7px;
    padding-right: 7px;
  }
  
  footer .copy{
    margin-bottom: 20px;
  }
}

/* back to top
************************/
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: #fff;
    width: 80px;
    height: 80px;
    z-index: 200;
    display: none;
    transition: all 0.2s ease-in-out;
}
.back-to-top:hover {
	color: #fff;
}

.back-to-top:before {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    border-radius: 40px;
    position: absolute;
    left: 0;
    top: 0;
    background: #609ba5;
}
.back-to-top:hover:before {
	background: #84bac3;
}

.back-to-top:after {
    content: "Top";
    display: block;
    text-align: center;
    width: 80px;
    height: 80px;
    line-height: 80px;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width:1340px){
  .back-to-top.stay-at-bottom {
      bottom: 110px;
  }
}

@media (max-width:575px){
  .back-to-top.stay-at-bottom {
      bottom: 200px;
  }
}
