body { font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}
.badge-danger{
    background-color: #ffa500 !important;
}
.s{font-size:14px !important;
   font-weight:500 !important;
   color: #666666;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat';
}

h1 {
  font-size: 1rem;
}

header.masthead{padding-top:calc(3.5rem + 106px);padding-bottom:1rem;}
header.masthead p.big{font-size:1rem;text-align:center;padding-top:2rem;padding-bottom:1.5rem;}
@media (min-width:576px){header.masthead{padding-top:calc(4rem + 106px);padding-bottom:2rem;}
header.masthead p.big{font-size:1.5rem;text-align:center;margin-top:2.5rem;padding-bottom:1rem;}
}
@media (min-width:992px){header.masthead{padding-top:calc(3.5rem + 106px);padding-bottom:4rem;}
header.masthead p.big{font-size:1.8rem;text-align:center;margin-top:1rem;padding-bottom:2rem;}
}

header.masthead1{padding-top:2rem;padding-bottom:1rem;}
header.masthead1 p.big{font-size:1rem;text-align:center;padding-top:1rem;padding-bottom:1.5rem;}
@media (min-width:576px){header.masthead1{padding-top:3rem;padding-bottom:1rem;}
header.masthead1 p.big{font-size:1.5rem;text-align:center;margin-top:0rem;padding-bottom:1rem;}
}
@media (min-width:992px){header.masthead1{padding-top:0rem;padding-bottom:1rem;}
header.masthead1 p.big{font-size:1.8rem;text-align:center;margin-top:0rem;padding-bottom:1rem;}
}

header.masthead2{padding-top:2rem;padding-bottom:1rem;}
header.masthead2 p.big{font-size:1rem;text-align:center;padding-top:1.5rem;padding-bottom:1.5rem;}
header.masthead2 p.big2{font-size:1rem;padding-top:0rem;padding-bottom:0rem;}
@media (min-width:576px){
header.masthead2 p.big{font-size:1.5rem;text-align:center;margin-top:0rem;padding-bottom:1rem;}
header.masthead2 p.big2{font-size:1.2rem;margin-top:0rem;padding-bottom:0rem;}
}
@media (min-width:992px){header.masthead2{padding-top:3rem;padding-bottom:1rem;}
header.masthead2 p.big{font-size:1.8rem;text-align:center;margin-top:0rem;padding-bottom:1rem;}
header.masthead2 p.big2{font-size:1.3rem;margin-top:0rem;padding-bottom:0rem;}
}

header.masthead_sub {
  padding-top: calc(3rem + 106px);
  padding-bottom: 1rem;
}

header.masthead_sub h1 {
  font-size: 1.2rem;
  line-height: 2.5rem;
}

header.masthead_sub h2 {
  font-size: 1.2rem;
  line-height: 2.5rem;
}

@media (min-width: 576px) {
  header.masthead_sub {
    padding-top: calc(3rem + 106px);
  }
  header.masthead_sub h1 {
    font-size: 2.5rem;
    line-height: 6rem;
  }
  header.masthead_sub h2 {
    font-size: 2.5rem;
    line-height: 6rem;
  }
}

@media (min-width: 992px) {
  header.masthead_sub {
    padding-top: calc(3rem + 106px);
  }
  header.masthead_sub h1 {
    font-size: 3rem;
    line-height: 8rem;
  }
  header.masthead_sub h2 {
    font-size: 3rem;
    line-height: 8rem;
  }
}

section{padding:3rem 0;padding-bottom:1rem;}
section h2{font-size:1.8rem;line-height:2.5rem;padding-top:1rem;padding-bottom:2rem;}
section h3{font-size:1.1rem;}
@media (min-width:576px){section{padding:5rem 0;}
section h2{padding-top:2rem;font-size:2.5rem;line-height:3rem;}
section h3{font-size:1.5rem;}
}
@media (min-width:992px){section{padding:2rem 0;padding-bottom:4rem;}
section h2{padding-top:3rem;padding-bottom:3rem;}
section h3{font-size:1.8rem;}
}

section p.big{font-size:1rem;font-weight: 600;}
@media (min-width:576px){
section p.big{font-size:1.3rem;font-weight: 600;}
}
@media (min-width:992px){
section p.big{font-size:1.5rem;font-weight: 600;}
}

h3 {
    margin-top: 0.5rem;
}

.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
}

.btn-social {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  line-height: 2rem;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 700;
  font-family: 'Montserrat';
}

#mainNav .navbar-brand {
  color: #7A9E3D;
  font-size: 1.2rem;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
  letter-spacing: 0.0625rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #7A9E3D;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #7A9E3D;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #7A9E3D;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #7A9E3D;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand {
    font-size: 1.6em;
    -webkit-transition: font-size 0.3s;
    -moz-transition: font-size 0.3s;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #9DC162;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #9DC162;
  }
  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.3em;
  }
}

.portfolio {
  margin-bottom: -15px;
}

.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}

.portfolio .portfolio-item .portfolio-item-caption {
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(24, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

@media (min-width: 576px) {
  .portfolio {
    margin-bottom: -30px;
  }
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
}

.portfolio-modal .portfolio-modal-dialog {
  padding: 3rem 1rem;
  min-height: calc(100vh - 2rem);
  margin: 1rem calc(1rem - 8px);
  position: relative;
  z-index: 2;
  -moz-box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
}

.portfolio-modal .portfolio-modal-dialog .close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.portfolio-modal .portfolio-modal-dialog .close-button i {
  line-height: 38px;
}

@media (min-width: 768px) {
  .portfolio-modal .portfolio-modal-dialog {
    min-height: 100vh;
    padding: 5rem;
    margin: 3rem calc(3rem - 8px);
  }
}

.floating-label-form-group {
  position: relative;
  border-bottom: 1px solid #e9ecef;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  font-size: 1.5em;
  position: relative;
  z-index: 1;
  padding-right: 0;
  padding-left: 0;
  resize: none;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none !important;
}

.floating-label-form-group label {
  font-size: 0.85em;
  line-height: 1.764705882em;
  position: relative;
  z-index: 0;
  top: 2em;
  display: block;
  margin: 0;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  -moz-transition: top 0.3s ease, opacity 0.3s ease;
  -ms-transition: top 0.3s ease, opacity 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
}

.floating-label-form-group:not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #e9ecef;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #61ADDF;
}

form .row:first-child .floating-label-form-group {
  border-top: 1px solid #e9ecef;
}

.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.copyright {
  background-color: #7A9E3D;
}

a {
  color: #510000;
}

a:focus, a:hover, a:active {
  color: #510000;
}

.btn {
  border-width: 2px;
}

.bg-primarytop1 {
  background-image: url("../img2/bg-primary1.gif") !important;
}

.bg-primarytop {
  background-image: url("../img2/bg-primary.gif") !important;
}

.bg-primarytop2 {
  background-image: url("../img2/bg-primary.gif") !important;
}


.bg-secondarytop {
  background-image: url("../img2/bg-primary-top.gif") !important;
}

.bg-primary2 {
  background-color: #7A9E3D !important;
}

.bg-primary3 {
  background-color: #F5F2E7 !important;
}

.bg-primary4 {
  background-color: #9DC162 !important;
}

.text-primary2 {
  color: #7A9E3D !important;
}

.text-secondary {
  color: #7D321F !important;
}

.text-secondary2 {
  color: #AB7050 !important;
}

.text-secondary3 {
  color: #3ab483 !important;
}

.btn-primary {
  background-color: #61ADDF;
  border-color: #61ADDF;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #FE7330;
  border-color: #FE7330;
}

.btn-secondary {
  background-color: #F0F0F0;
  border-color: #F0F0F0;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #7A9E3D;
  border-color: #7A9E3D;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
  background-color: #7A9E3D;
  border-color: #7A9E3D;
}

.footermenu {
  background-color: #9DC162;
}


#nav ul li {
    line-height: 3.1rem;
    margin-right: 2em;
    list-style: none;
} 

#nav ul li a { 
    color: #fff;
}

@media (min-width: 992px) {
#nav ul li {
    display: inline;
    font-size: 0.8rem;
    line-height: 2rem;
    margin-right: 2em; 
    list-style: none;
}
#nav ul li a { 
    color: #fff;
}  
}  

.breadcrumb {
  background-color: #F7F3EA;
}


