/**
* Template Name: Groovin - v4.7.0
* Template URL: https://bootstrapmade.com/groovin-free-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  background-color: #FCFCFC;
  font-size: 14px;
}

a {
  color: #5c9f24;
  text-decoration: none;
}

a:hover {
  color: #74c92d;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", sans-serif;
}

h4 {
  font-size: 15px;
  font-weight: normal;
  color: #5E5E5E;
  margin-top: 1em;
  padding: 0;
  line-height: 1.2;
}

h5 {
  font-size: 14px;
  font-weight: normal;
  color: #5E5E5E;
  margin-top: 0.5em;
  padding: 0;
  line-height: 1;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #5c9f24;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6fc02c;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #FCFCFC;
  transition: all 0.5s;
  z-index: 997;
  height: 80px;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  width: 100%;
  max-width: 150px;
  ;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.8);
  overflow: hidden;
  padding: 0;
}

.bg_title {
  width: 100%;
  height: 300px;
  background: url("../img/title1.svg") bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
}

#hero .carousel-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: 0.3;
}

#hero .carousel-item::before {
  content: "";
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .carousel-content {
  text-align: center;
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

#hero h2 span {
  color: #5c9f24;
}

#hero p {
  width: 80%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover, #hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #5c9f24;
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px 12px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  text-transform: uppercase;
  border: 2px solid #5c9f24;
  background: #5c9f24;
}

#hero .btn-get-started:hover {
  background: #6ab82a;
  border-color: #6ab82a;
  color: #fff;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .carousel-control-prev, #hero .carousel-control-next {
    width: 5%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
.section-bg {
  background-color: #f1f1f1;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #5c9f24;
}

.section-title p {
  margin-bottom: 0;
}



/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
select.is-empty {
  color: #a49b89;
}

select.is-empty2 {
  color: #a49b89;
}

select.is-empty3 {
  color: #a49b89;
}

select.is-empty4 {
  color: #a49b89;
}

#contact input, #contact textarea {
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  background: #fff;
  border-color: #B4B4B4;
  color: #495057;
}

#contact select {
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  border-color: #B4B4B4;
}

#contact input::-webkit-input-placeholder, #contact textarea::-webkit-input-placeholder {
  color: #a49b89;
}

#contact input::-moz-placeholder, #contact textarea::-moz-placeholder {
  color: #a49b89;
}

#contact input:-ms-input-placeholder, #contact textarea:-ms-input-placeholder {
  color: #a49b89;
}

#contact input::-ms-input-placeholder, #contact textarea::-ms-input-placeholder {
  color: #a49b89;
}

#contact input::placeholder, #contact textarea::placeholder {
  color: #a49b89;
}

#contact input:focus, #contact textarea:focus {
  border-color: #296484;
}

#contact input {
  height: 44px;
}

#contact .contact2 input {
  height: 1.5em;
}

#contact select {
  height: 44px;
}

#contact textarea {
  padding: 10px 12px;
}

#contact select {
  padding: 10px 12px;
}

#contact button[type="submit"] {
  background: #4555d2;
  border: 0;
  padding: 12px 105px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
  outline: none;
  margin-bottom: 30px;
}

#contact button[type="submit"]:hover {
  background: #3685B0;
}

#contact input[type="radio"], input[type="checkbox"] {
  vertical-align: middle;
}

input[type=checkbox], input[type=radio] {
  -ms-transform: scale(1.2, 1.2);
  -webkit-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);

}

form-group {
  padding-bottom: 8px;
}

/** Custom Select **/
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  user-select: none;
}

.custom-select-wrapper select {
  display: none;
}

.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select-trigger {
  position: relative;
  display: block;
  width: 130px;
  padding: 0 84px 0 22px;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  line-height: 60px;
  background: #5c9cd8;
  border-radius: 4px;
  cursor: pointer;
}

.custom-select-trigger:after {
  position: absolute;
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  top: 50%;
  right: 25px;
  margin-top: -3px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  transition: all .4s ease-in-out;
  transform-origin: 50% 0;
}

.custom-select.opened .custom-select-trigger:after {
  margin-top: 3px;
  transform: rotate(-135deg) translateY(-50%);
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 100%;
  margin: 15px 0;
  border: 1px solid #b5b5b5;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 2px 1px rgba(0, 0, 0, .07);
  background: #fff;
  transition: all .4s ease-in-out;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-15px);
}

.custom-select.opened .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-options:before {
  position: absolute;
  display: block;
  content: '';
  bottom: 100%;
  right: 25px;
  width: 7px;
  height: 7px;
  margin-bottom: -4px;
  border-top: 1px solid #b5b5b5;
  border-left: 1px solid #b5b5b5;
  background: #fff;
  transform: rotate(45deg);
  transition: all .4s ease-in-out;
}

.option-hover:before {
  background: #f9f9f9;
}

.custom-option {
  position: relative;
  display: block;
  padding: 0 22px;
  border-bottom: 1px solid #b5b5b5;
  font-size: 18px;
  font-weight: 600;
  color: #b5b5b5;
  line-height: 47px;
  cursor: pointer;
  transition: all .4s ease-in-out;
}

.custom-option:first-of-type {
  border-radius: 4px 4px 0 0;
}

.custom-option:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
}

.custom-option:hover,
.custom-option.selection {
  background: #f9f9f9;
}


@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #111111;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #1d1d1d;
  border-bottom: 1px solid #2f2f2f;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2a2a2a;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #5c9f24;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #8ed851;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #81d33d;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #5c9f24;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #6ab82a;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

/*--------------------------------------------------------------
# Error Message
--------------------------------------------------------------*/
.errMsg {
  margin-left: 1em;
  padding-bottom: 1px;
  display: block;
  line-height: 1.4;
  text-indent: -.9em;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
}

.formError {
  padding-bottom: 13px;
  display: block;
}

.fixed {
  padding-bottom: 0;
}

.formError .formErrorClose {
  border: solid #252525 2px;
  border-radius: 9px 9px 9px 9px;
  -moz-border-radius: 9px 9px 9px 9px;
  -webkit-border-radius: 9px 9px 9px 9px;
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: -4px;
  right: -4px;
  color: #efefef;
  background: #333;
  font-weight: bold;
  text-align: center;
  line-height: middle;
  cursor: pointer;
  box-shadow: 1px -1px 3px #888;
  -moz-box-shadow: 1px -1px 3px #888;
  -webkit-box-shadow: 1px -1px 3px #888;
}

.formError .formErrorClose:hover {
  background: #666;
}

.fixed .formErrorClose {
  display: none;
}

.formError .formErrorContent {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  width: 98%;
  color: #f60;
  font-weight: normal;
  margin-bottom: 8px;
  padding: 1%;
}

.fixed .formErrorContent {
  margin-top: .5em;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.fadeOut {
  opacity: .2;
  filter: alpha(opacity=20);
}

.formError .formErrorArrow {
  width: 15px;
  height: 15px;
  position: absolute;
  bottom: 0;
  left: 20px;
  z-index: 5001;
}

.fixed .formErrorArrow {
  display: none;
}

.formError .formErrorArrowBottom {
  margin: -6px;
  top: 0;
}

.fixed .formErrorArrowBottom {
  display: none;
}

.formError .formErrorArrow div {
  margin: 0 auto;
  display: block;
  height: 1px;
  background: #252525;
  line-height: 0px;
  font-size: 0px;
  box-shadow: 0px 2px 3px #888;
  -moz-box-shadow: 0px 2px 3px #888;
  -webkit-box-shadow: 0px 2px 3px #888;
}

.formError .formErrorArrowBottom div {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.formError .formErrorArrow .line10 {
  width: 19px;
}

.formError .formErrorArrow .line9 {
  width: 17px;
}

.formError .formErrorArrow .line8 {
  width: 15px;
}

.formError .formErrorArrow .line7 {
  width: 13px;
}

.formError .formErrorArrow .line6 {
  width: 11px;
}

.formError .formErrorArrow .line5 {
  width: 9px;
}

.formError .formErrorArrow .line4 {
  width: 7px;
}

.formError .formErrorArrow .line3 {
  width: 5px;
}

.formError .formErrorArrow .line2 {
  width: 3px;
}

.formError .formErrorArrow .line1 {
  width: 1px;
}

div#alert {
  width: 100%;
  font-size: 14px;
  line-height: 1.5em;
  color: #F06602;
  margin-top: 10px;
  margin-right: auto;
  margin-bottom: 0em;
  margin-left: auto;
}

.box1 {
  position: relative;
  margin: 2em 0;
  padding: 1em 1em;
  border: solid 3px #329AFA;
  border-radius: 8px;
}

.box1 .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 12px;
  line-height: 1;
  font-size: 16px;
  background: #FFF;
  color: #329AFA;
  font-weight: bold;
}

.box1 p {
  margin: 0;
  padding: 0;
}

#jiyuu input {
  margin: 0px;
  padding: 0px;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

/* トップ画像 */
p.top-img {
  margin-bottom: 10px;
}

/* タイトル */
div h1 {
  margin-top: 16px;
  border-bottom: 1px solid #e9e9e9;
  text-align: center;
  color: #666;
  font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 26px;
  font-weight: 450;
}

/* 任意 */
div.badge-optional {
  color: #fff;
  background-color: #B4B4B4;
  margin-bottom: 6px;
}

/* サンクスページ */
div.thank-title {
  width: 75% !important;
  margin: 30px auto 0px;
}

div.thank-text {
  width: 75%;
  margin: 15px auto 0px;
  text-align: center;
}

div.thank-text p {
  margin-bottom: 15px;
  color: #5e5d66;
  font-size: 16px;
  line-height: 1.65;
}

div.contact-address {
  margin-top: 0px;
  margin-bottom: 30px;
  padding: 10px 0px;
  width: 75%;
  color: #777;
  border-top: 2px dashed #e9e9e9;
  border-bottom: 2px dashed #e9e9e9;
}

a {
  color: #4555d2;
}

a:hover {
  color: #4555d2;
  opacity: .7;
  text-decoration: underline;
}

/* Thank Footer */
footer.thank-footer,
footer#footer {
  text-align: center;
  padding: 35px 0px;
  background: #222222;
  font-weight: 500;
  color: #bbbbbb;
  background-color: #222222;
}

@media screen and (max-width: 768px) {
  div.thank-title {
    width: 100% !important;
    margin: 20px auto 0px;
  }

  div.thank-title img {
    width: 122px !important;
    height: 37px !important;
  }

  div.thank-text {
    width: 100%;
    margin: 15px auto 0px;
    text-align: center;
  }

  div.contact-address {
    width: 100%;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

@media screen and (max-width: 576px) {
  div h1 {
    font-size: 24px;
  }

  div.thank-title {
    width: 90% !important;
  }

  div.thank-text {
    width: 90%;
    margin: 15px auto 0px;
    text-align: center;
  }

  div.contact-address {
    width: 90%;
  }
}

@media screen and (max-width: 510px) {
  div h1 {
    margin-top: 20px;
  }
}

@media screen and (max-width: 425px) {
  div h1 {
    font-size: 24px;
  }

  div.thank-title img {
    width: 112px !important;
    height: 33px !important;
  }

  div.copyright,
  footer p {
    font-size: 13px;
  }
}