@charset "utf-8";

form span.required:before {
    content: " ※ ";
    color:#f00;
}
form .msg {
    color:#ff0;
}

p {
    color: #fff;
}

.kiyaku {
    background-color:#ffffff;
    width:80%;
    padding:1em;
    margin-left:auto;
    margin-right:auto;
    max-height:12em;
    overflow-x:auto;
    overflow-y:scroll;
}

.kiyaku p {
    color:#000;
}

.single_testimonial_content_text p {
    color: #000;
}

.policy {
    color:#ffffff;
}

.kiyaku p, .policy p {
    text-indent:1em;
}

.kiyaku ul, .policy ul {
    list-style-type:none;
    margin-bottom:1em;
}

.kiyaku li, .policy li {
    text-indent:-1.5em;
    padding-left:2em;
}

.policy dl {
  margin-left: 2em;
}

.policy dt {
  float: left;
}

.policy dd {
  margin-left: 8em;
}

.anchor {
    display: block;
    padding-top: 109px!important;
    margin-top: -83px;
}

.bg-dark form h4, .bg-dark2 form h4 {
    font-size: 20px!important;
}

.text_white {
    color:#ffffff!important;
}

.main_contact_area .form_box select {
    width: 100%;
    height: 50px;
    padding-left: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    color: #495057;
	background-color: #fff;
	transition:.5s;
}

.clickable {
    cursor:pointer;
}

.single_testimonial_thumb img {
    border-radius: 5%;
}

.text_left {
    text-align:left;
}

.speech_bubble_right:before {
    content: '';
    bottom: 0;
    top: auto;
    border-color: #fff transparent transparent #fff;
    display: block;
    position: absolute;
    left: -30px;
    margin-left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px;
    transform: rotate(180deg);
}

.speech_bubble_left:before {
    content: '';
    bottom: 0;
    top: auto;
    border-color: #fff transparent transparent #fff;
    display: block;
    position: absolute;
    left: auto;
    margin-left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px;
    transform: rotate(270deg);
    right:-30px;
}

.top_video {
    display:block;
    object-fit: cover;
    height:900px;
}

.quote_btn input[type=submit] {
    background: #fff;
    border: 0;
    display: inline-block;
    text-align: center;
    padding: 14px 39px;
    border-radius: 7px;
    transition: .3s;
}

.quote_btn input[type=submit]:hover {
    background: #00247e;
    color:#fff;
}

.btn_white {
    color:#000!important;
    background-color:#fff!important;
}

.btn_white:hover {
    background: #999!important;
    color: #fff!important;
}

.top_message {
    text-align:center;
}

@media (max-width: 767px) {
    .top_message {
        text-align:left;
        margin: 0 auto;
        width:80%;
    }
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}
@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
}

body, h1, h2, h3, h4, h5 {
    font-family: serif, 'ヒラギノ明朝', 'ＭＳ Ｐ明朝';
}
