/* --------------------------------------------------------------------------------------------------------------------------------- */
/* サイト全体の規定 */

html {
  overflow-x: hidden; 
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f6f6f6;
  background-repeat: repeat;
  background-image: url("/assets/img/common-background.png");
  overflow-x: hidden; 
}

main {
  overflow: hidden !important;
} 

img {
  zoom: 0.5;
}

a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* スティッキーフッター */

@media (max-width: 480px) { /* SP */
  html {
    position: relative;
    min-height: 100%;
  }
  body {
    margin-bottom: 280px;
  }
  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #32b16c;
    color: white;
    height: 280px;
  }
}
@media (min-width: 481px) { /* SP以外 */
  html {
    position: relative;
    min-height: 100%;
  }
  body {
    margin-bottom: 336px;
  }
  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #32b16c;
    color: white;
    height: 336px;
  }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* 共通ユーティリティクラス */

@media (max-width: 480px) { /* SP */
  .br-pc {
    display: none;
  }
}
@media (max-width: 481px) { /* SP以外 */
  .br-sp {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ナビゲーションバー関連 */

.navbar-inverse
{
  background-color: #32b16c;
  border-color: #32b16c;
}

.nav-links
{
  margin-top: 8px;
}

@media (max-width: 480px) { /* SP */
  .navbar
  {
    height: 75px;
  }
  
  .navbar-brand
  {
    padding: 11px;
  }
  #header-logo-pc {
    display: none;
  }
  .navbar-inverse .navbar-header button {
    border: 0;
    padding: 0;
    margin: 18px;
    background-color: transparent !important;
    border-radius: 0;
  }
  #navbar-menu-manual {
    display: none;
    background-color: white;
    color: black;
    font-weight: bold;
    font-size: 16px;
    width: 100vw;
    margin: 0 -15px;
  }
  #navbar-menu-manual div {
    border-bottom: 1px solid #32b16c;
    position: relative;
    padding-left: 17px;
    line-height: 50px;
  }
  #navbar-menu-manual a {
    color: black;
  }
  #navbar-menu-manual div::before {
    display: block;
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    right: 17px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    background: black;
  }
  #navbar-menu-manual div::after {
    display: block;
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    background: white;
  }
  
}
@media (min-width: 481px) { /* SP以外 */
  #header-logo-sp {
    display: none;
  }
  #header-logo-pc {
    margin-top: 2px;
  }
  .social-networks a {
    padding: 12px 0 12px 12px !important;
    width: 47px !important;
    overflow: hidden;
  }
  
  #navbar-menu-manual {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ボタン関連 */

.btn-green {
  background-color: #32b16c;
  border: 0px;
  font-weight: bold;
  padding: 10px 40px;
  margin-top: 20px;
  color: white;
  position: relative;
}
.btn-green:hover, .btn-green:focus, .btn-green:active, .btn-green.active, .open>.dropdown-toggle.btn-green {
    background-color: #32b16c;
    border-color: #32b16c;
  color: white;
}
.btn-green::before {
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: white;
}
.btn-green::after {
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #32b16c;
}

.btn-back {
  background-color: #a0a0a0;
  border: 0px;
  font-weight: bold;
  padding: 10px 40px;
  margin-top: 20px;
  color: white;
  position: relative;
}
.btn-back:hover, .btn-back:focus, .btn-back:active, .btn-back.active, .open>.dropdown-toggle.btn-back {
  background-color: #a0a0a0;
  border-color: #a0a0a0;
  color: white;
}
.btn-back::before {
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  left: 17px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: white;
}
.btn-back::after {
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  left: 20px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #a0a0a0;
}

.btn-orange {
  background-color: #f39800;
  border: 0px;
  font-weight: bold;
  padding: 10px 40px;
  margin-top: 20px;
  color: white;
  position: relative;
}
.btn-orange::before {
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: white;
}
.btn-orange::after {
  display: block;
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #f39800;
}

.btn-orange:hover, .btn-orange:focus, .btn-orange:active, .btn-orange.active, .open>.dropdown-toggle.btn-orange {
  background-color: #f39800;
  border-color: #f39800;
  color: white;
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* Facebook読み出しウィジェット関連 */

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
    width: 100% !important;
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* お問合わせのパンくずリスト */

.form-breadcrumb {
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-radius: 0;
}
.form-breadcrumb li {
    float: left;
    font-weight: bold;
}
.form-breadcrumb li a {
    color: #32b16c;
    text-decoration: none;
    background: #bee4cf;
    position: relative;
    display: block;
    float: left;
    width: 100%;
}
.form-breadcrumb li a:hover {
  opacity: 1.0;
}
.form-breadcrumb li a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 100%;
    z-index: 2;
}
.form-breadcrumb li a:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 100%;
    z-index: 1;
}
.form-breadcrumb li:last-child a:after {
    display: none;
}
.form-breadcrumb li:last-child a:before {
    display: none;
}
.form-breadcrumb li a.active {
  color: white;
  background-color: #32b16c;
}
.form-breadcrumb li a.active:after {
  color: white;
    border-left-color: #32b16c;
}

@media (max-width: 480px) { /* SP */
  .form-breadcrumb {
    height: 16vw;
  }
  .form-breadcrumb li {
      width: 33.3333%;
  }
  .form-breadcrumb li a {
      padding-top: 3.3vw;
      padding-bottom: 3.3vw;
  }
  .form-breadcrumb li a:after {
      border-top: 6.13vw solid transparent;
      border-bottom: 6.13vw solid transparent;
      border-left: 2.67vw solid #bee4cf;
      margin-top: -6.13vw;
  }
  .form-breadcrumb li a:before {
      border-top: 6.13vw solid transparent;
      border-bottom: 6.13vw solid transparent;
      border-left: 2.67vw solid #32b16c;
      margin-top: -6.13vw;
  }
}
@media (min-width: 481px) { /* SP以外 */
  .form-breadcrumb {
      height: 46px;
  }
  .form-breadcrumb li {
      width: 320px;
  }
  .form-breadcrumb li a {
      padding-top: 13px;
      padding-bottom: 13px;
  }
  .form-breadcrumb li a:after {
      border-top: 23px solid transparent;
      border-bottom: 23px solid transparent;
      border-left: 10px solid #bee4cf;
      margin-top: -23px;
      margin-left: -1px;
  }
  .form-breadcrumb li a:before {
      border-top: 23px solid transparent;
      border-bottom: 23px solid transparent;
      border-left: 10px solid #32b16c;
      margin-top: -23px;
  }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* お問合わせのフォーム共通部品関連 */

@media (max-width: 480px) { /* SP */
  .form-info {
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
  }
  
  form label {
    font-weight: bold;
    text-align: left;
  }
  form strong {
    font-weight: normal;
    color: red;
  }
  form label div {
    display: inline;
  }
  form .form-text {
    margin-top: 1.07vw;
  } 
  form button {
    width: 63.6vw;
    font-size: 18px !important;
  }

}
@media (min-width: 481px) { /* SP以外 */
  .form-info {
    margin-top: 2em;
    margin-bottom: 2em;
  }
  
  form label {
    height: 34px;
  }
  form label div {
    font-size: 10px;
  }
  form .form-caution label {
    height: 16px;
  }
  form .form-text {
    margin-top: 4px;
  }
  
  form button {
    width: 300px;
    font-size: 20px !important;
  }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* フッター関連 */

#footer-credit {
  text-align: center;
}

@media (max-width: 480px) { /* SP */
  #scroll-to-top {
    display: none;
  }
  #footer-logo-sp {
    margin-top: 18px;
    margin-bottom: 14px;
  }
  #footer-logo-pc {
    display: none;
  }
  #footer-social-networks {
    margin-bottom: 15px;
  }
  #footer-banner {
    margin-bottom: 15px;
  }
  #footer-banner img {
    margin-bottom: 12px;
    width: 336px;
    height: 90px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  #footer-banner:last-child {
    margin-bottom: 0;
  }
  #footer-social-networks a {
    padding-right: 1.5vw !important;
  }
  #footer-social-networks:last-child {
    padding-right: 0 !important;
  }
  #footer-credit {
    font-size: 3.733vw;
  }
}
@media (min-width: 481px) { /* SP以外 */
  #scroll-to-top {
    margin-top: 18px;
  }
  #footer-logo-sp {
    display: none;
  }
  #footer-logo-pc {
    margin-top: 30px;
    margin-bottom: 20px;
  }
  #footer-social-networks {
    display: none;
  }
  #footer-banner {
    margin-bottom: 36px;
  }
  #footer-banner img {
    margin-left: 8px;
    margin-right: 8px;
  }
}
