/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
  font-family: 'Noto Sans Japanese', 'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック',
    'MS PGothic', sans-serif;
  font-weight: 200;
  height: 100%;
  font-size: 1em;
}

img#logo {
  max-width: 100%;
  float: left;
}

nav.navbar-default {
  background-color: #fff;
  border: none;
}
div.navbar-header {
  float: right;
}

div.navbar-collapse {
  margin-top: 30px;
  width: 100%;
}

a.btn_toiawase {
  background: #ffb900;
  border: 1px solid #fff;
  -moz-box-shadow: 0px 0px 2px rgba(255, 128, 000, 0.8);
  -webkit-box-shadow: 0px 0px 2px rgba(255, 128, 000, 0.8);
  width: 100%;
  padding: 10px 0;
}

a.btn_toiawase:hover {
  background: #ffdc80;
}

div.bg-beige {
  background-color: #f2eee5;
  /*    background:linear-gradient(#f2eee5, #fff);*/
}
div.bk_town {
  padding-top: 1em;
  background: url(../img/bk_town.png) fixed center bottom no-repeat;
}

.glyphicon {
  margin-right: 0.5em;
}

.img-portfolio {
  margin-bottom: 30px;
}

.img-hover:hover {
  opacity: 0.8;
}

/* Home Page Carousel */

div.carousel {
  height: 50%;
}

div.carousel .item,
div.carousel .item.active,
div.carousel .carousel-inner {
  height: 100%;
}

div.carousel .fill {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/* 404 Page Styles */

.error-404 {
  font-size: 100px;
}

/* Pricing Page Styles */

.price {
  display: block;
  font-size: 50px;
  line-height: 50px;
}

.price sup {
  top: -20px;
  left: 2px;
  font-size: 20px;
}

.period {
  display: block;
  font-style: italic;
}

/* Footer Styles */

footer {
  margin: 50px 0 10px 0;
  background-color: rgba(255, 255, 255, 0.8);
}

footer span {
  color: #f39700;
}

/*各保険ページ*/

.breadcrumb {
  background-color: #f4fbfe;
}
.jumbotron h1,
.jumbotron p {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.6);
}
.h1_car {
  background: url(../hoken/img/h1-bk-car.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_motor {
  background: url(../hoken/img/h1-bk-motorcycle.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}
.h1_motor h1 small {
  padding: 0;
  font-size: 0.5em;
}

.h1_bicycle {
  background: url(../hoken/img/h1-bk-bicycle.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_fire {
  background: url(../hoken/img/h1-bk-fire.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_golf {
  background: url(../hoken/img/h1-bk-golf.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_travel {
  background: url(../hoken/img/h1-bk-travel.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_life {
  background: url(../hoken/img/h1-bk-life.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_health {
  background: url(../hoken/img/h1-bk-health.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_cancer {
  background: url(../hoken/img/h1-bk-cancer.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_company {
  background: url(../company/img/h1-bk-company-210405.jpg) bottom right
    no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_policy {
  background: url(../policy/img/h1-bk-policy.jpg) bottom right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
}

.h1_policy h1 {
  background-color: transparent;
  font-size: 3em;
}

h2.life {
  border-bottom: #f99 3px double;
  padding-bottom: 3px;
  font-size: 1.8em;
}
h2.life span {
  color: #f99;
  text-shadow: 3px 3px 1px rgba(153, 102, 51, 0.5);
}

.bk_hoken {
  background-color: #fff;
  margin-top: 0px;
  padding: 20px;
  border-left: #ddd 1px solid;
  border-right: #ddd 1px solid;
  border-bottom: #ddd 1px solid;
  border-radius: 10px;
}

.bk_hoken2 {
  background-color: #fff;
  margin-top: 0px;
  padding: 20px;
  border-radius: 10px;
}

.bk_hoken p,
.bk_hoken ul,
.bk_hoken2 p,
.bk_hoken2 ul {
  color: #000;
}

div.comment {
  margin-bottom: 1.5em;
  padding: 1em;
  border-radius: 10px;
}

#car_campaign {
  padding: 20px;
  margin-top: 20px;
  background-color: #e6e4fe;
}

#car_campaign h2 {
  padding: 0 20px;
  display: inline-block;
  color: #009;
  border-bottom: solid #ff0 3px;
}

.bk_gr {
  background-color: #e1efde;
}
.bk_pk {
  background-color: #ffe6e6;
}
.bk_bl {
  background-color: #e6f0ff;
}

#company h3 {
  margin-top: 2em;
}
#company li {
  margin-bottom: 0.5em;
}
#company ol li {
  margin-bottom: 1em;
}

.alert a {
  display: inline-block;
}
.alert li a {
  display: inline;
}
.alert a:hover img {
  opacity: 0.75;
  filter: alpha(opacity=75);
  -ms-filter: 'alpha( opacity=75 )';
  background-color: #fff;
}

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #f8b62a;
}

h2.category {
  font-size: 2.2em;
  border-bottom: #030 2px dashed;
  padding-bottom: 0.2em;
  color: #030;
}
h2.category span {
  color: #030;
}

.shohin {
  display: table;
  vertical-align: middle;
  font-size: 1.8em;
}
.shohin img {
  margin-right: 0.5em;
}

.outlink {
  background-color: #fc0;
  color: #630;
}
.outlink:hover,
.outlink:focus {
  background-color: #f93;
  color: #630;
}
.outlink span {
  color: #630;
}

.mt20 {
  margin-top: 20px;
}

iframe {
  border: 0;
  width: 100%;
  height: 500px;
}

/*スタッフ紹介*/
.staff_message {
  font-size: 1.2em;
  line-height: 1.7em;
}

.staff_message strong {
  font-size: 1.35em;
  color: #009;
  /*	background:url(../img/naname.png) repeat-x bottom;
	padding-bottom:-10px;
	border-bottom:#FF0 double 3px;*/
}
.staff-info {
  margin: 0;
  padding: 0;
  position: relative;
  top: -50px;
  z-index: 10;
  max-width: 30%;
}

.staff-infoS {
  margin: 0;
  padding: 0;
  position: relative;
  top: -50px;
  z-index: 10;
  max-width: 20%;
}

.staff-infoL {
  margin: 0;
  padding: 0;
  position: relative;
  top: -50px;
  z-index: 10;
  max-width: 40%;
}
.staff-infoR {
  margin: 0;
  padding: 0;
  position: relative;
  top: -70px;
  text-align: right;
  z-index: 10;
  max-width: 30%;
}

.staff-commentbox {
  padding-left: 0;
}

.staff-commentboxL {
  padding-right: 0;
  margin-right: 0;
}

div.staff_comment {
  margin-bottom: 1.5em;
  padding: 1em;
  border-radius: 10px;
}

/* ページトップへ戻る */
.pageTop {
  display: none;
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 0;
  margin: 0 auto;
}
.pageTop a {
  position: fixed;
  bottom: 0px;
  left: auto;
  display: block;
  width: 66px;
  hegiht: 66px;
  margin-left: 920px;
  padding: 1em 0 1em 2px;
  background: #ef8901;
  text-align: center;
  outline: none;
  text-decoration: none;
  z-index: 9999;
  border-radius: 3px 3px 0 0;
}
.pageTop a:before,
.pageTop a:after {
  position: absolute;
  left: 50%;
  content: '';
  width: 0px;
  height: 0px;
  margin-left: -10px;
  border: 10px solid transparent;
}
.pageTop a:before {
  top: 50%;
  margin-top: -13px;
  border-bottom: 10px solid #ef8901;
}
.pageTop a:after {
  top: 50%;
  margin-top: -15px;
  z-index: -1;
  border-bottom: 10px solid #fff; /* 矢印の色 */
}

/* =====================
	タブレット向け
======================= */
@media screen and (min-width: 480px) and (max-width: 959px) {
  .pageTop {
    width: 100%;
  }
  .pageTop a {
    left: -68px;
    margin-left: 100%;
  }

  /* タブレット向けここまで */
}

/* =====================
	スマホ向け
======================= */
@media screen and (max-width: 479px) {
  .pageTop {
    width: 100%;
  }
  .pageTop a {
    left: -68px;
    margin-left: 100%;
  }

  /* スマホ向けここまで */
}

/* Responsive Styles */

@media (max-width: 991px) {
  .customer-img,
  .img-related {
    margin-bottom: 30px;
  }
  img#logo {
    width: 40%;
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  iframe {
    height: 100%;
  }
  .img-portfolio {
    margin-bottom: 15px;
  }

  header.carousel .carousel {
    height: 70%;
  }

  img#logo {
    width: 60%;
    min-width: 200px;
  }
  a.btn_toiawase {
    margin: 3px 10px 3px 3px;
    width: 95%;
  }
  .nav-sp li a img {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
  }

  .nav-sp li a {
    border-top: #ccc 1px solid;
    padding: 0;
  }

  .nav-sp li a:hover {
    opacity: 0.6;
  }

  /*各保険ページ*/
  .nav > li {
    font-size: 0.8em;
  }
  .h1_car {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }
  .h1_motor {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }
  .h1_bicycle {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }

  .h1_fire {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }

  .h1_golf {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }

  .h1_travel {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }

  .h1_life {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }

  .h1_health {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }

  .h1_cancer {
    background-size: auto 50%;
    background-color: #fff;
    padding: 5px 15px 50px 15px;
  }
  .h1_company {
    background-size: auto 100%;
    background-color: #fff;
    padding: 20px 15px;
  }
  .h1_company h1 {
    font-size: 1.8em;
  }
  .h1_company h1#staff {
    font-size: 1.5em;
  }

  .h1_policy {
    background-size: auto 100%;
    background-color: #fff;
    padding: 20px 15px;
  }
  .h1_policy h1 {
    font-size: 1.5em;
  }

  h2.category {
    font-size: 2em;
  }
  .jumbotron p {
    font-size: 1.1em;
  }

  .shohin,
  .life {
    font-size: 1.5em;
  }
  .shohin img {
    height: 40px;
  }

  /*スタッフ紹介*/
  .staff_message {
    font-size: 0.9em;
    line-height: 1.3em;
  }

  .staff_message strong {
    font-size: 1.2em;
    color: #009;
    /*	background:url(../img/naname.png) repeat-x bottom;
	padding-bottom:-10px;*/
    border-bottom: none;
  }

  .staff-info {
    max-width: 100%;
    top: -40px;
  }

  .staff-infoS {
    max-width: 70%;
    top: -30px;
  }

  .staff-infoL,
  .staff-infoR {
    max-width: 100%;
    top: -30px;
  }

  .staff-commentbox {
    margin-bottom: 0;
    padding: 0 auto;
  }

  .staff-image {
    margin-top: 0;
    padding: 0 auto;
  }

  div.staff_comment {
    margin-bottom: 0px;
    padding: 1em;
    border-radius: 10px;
  }
}
