/*!
 * Start Bootstrap - Agency v5.2.1 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */

body {
  overflow-x: hidden;
}

p {
  line-height: 1.75;
}

a {
  color: #eb613b;
}

a:hover {
  color: #fec503;
}

.text-primary {
  color: #eb613b !important;
}

.btn-primary {
  background-color: #eb613b !important;
  border-color: #eb613b !important;
}

.text-warning { 
  color: #EFA124 !important;
}

.text-success{
  color:rgb(75, 201, 58) !important;
}

.bg-success{
  background-color:rgb(75, 201, 58) !important;
}

.border-success{
  border-color:rgb(75, 201, 58) !important;
}

.border-primary{
  border-color:#eb613b !important;
}

.bg-primary{
  background-color:#eb613b !important;
}

.bg-dark{
  background-color:rgb(150, 150, 150) !important;
}

.text-dark{
  color:rgb(150, 150, 150) !important;
}

.bg-section-color-1{
  background-color:#f5aa00;
}

.badge-primary{
  background-color: #eb613b !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.page-section {
  padding: 20px 0px;
}

.page-section h2.section-heading {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 75px;
  text-transform: none;
}

@media (min-width: 768px) {
  section {
    padding: 150px 10px;
  }
}

@media (min-width: 1170px) {
  .page-section {
    padding: 50px 100px;
  }
}

::-moz-selection {
  background: #eb613b;
  text-shadow: none;
}

::selection {
  background: #eb613b;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

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

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #fec810 !important;
  border-color: #fec810 !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

#mainNav {
  background-color: #ffffff;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #eb613b;
  
}

#mainNav .navbar-brand {
  color: #eb613b;
  
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #fec503;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 400;
  letter-spacing: 1px;
  color: #eb613b;
  
}

.nav-container{
  background:rgba(255,255,255,0.95);
}

@media (min-width: 992px) {
  #mainNav .navbar-nav .nav-item .nav-link {
    border-right:solid 1px #eb613b;
  }

  #mainNav .navbar-nav .nav-item .nav-link.first{
    border-left:solid 1px #eb613b;
  }
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  /* color: rgba(235, 97, 59, 0.5); */
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 15px;
    padding-bottom: 15px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    /* background-color: transparent; */
    background-color: #ffffff;
    /* height:184px; */
    height:259‬px;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-brand img{
    height:80px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav.navbar-shrink {
    /* padding-top: 0;
    padding-bottom: 0; */
    /* background-color:#A9CE45; */
  }
  #mainNav.navbar-shrink img{
    height:60px;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
}

header.masthead {
  text-align: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: right top;
  background-size: auto 100%;
}

header.masthead .intro-text .intro-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  
}

#first_view{
  margin-top:67px;
}

#first_view img{
  width:100%;
}

@media (min-width: 992px) {
  #first_view{
    margin-top:259px;
  }
}

.why-heading {
  margin: 15px 0;
  text-transform: none;
}

#customer_voice .customer_voice-item {
  right: 0;
  margin: 0 0 15px;
}

#customer_voice .customer_voice-item .customer_voice-link {
  position: relative;
  display: block;
  /* max-width: 400px; */
  margin: 0 auto;
  cursor: pointer;
}

#customer_voice .customer_voice-item .customer_voice-link .customer_voice-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background:rgba(255, 255, 255, 0.5);
}

#customer_voice .customer_voice-item .customer_voice-link .customer_voice-hover:hover {
  opacity: 1;
}

#customer_voice .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: #eb613b;
}

#customer_voice .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content i {
  margin-top: -12px;
}

#customer_voice .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content h3,
#customer_voice .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content h4 {
  margin: 0;
}

#customer_voice .customer_voice-item .customer_voice-caption {
  /* max-width: 400px; */
  margin: 0 auto;
  padding: 0px;
  text-align: center;
  background-color: #fff;
}

#customer_voice .customer_voice-item .customer_voice-caption h4 {
  margin: 0;
  text-transform: none;
}

#customer_voice .customer_voice-item .customer_voice-caption p {
  font-size: 16px;
  margin: 0;
  
}

#customer_voice * {
  z-index: 2;
}

#customer_voice2 .customer_voice-item {
  right: 0;
  margin: 0 0 15px;
}

#customer_voice2 .customer_voice-item .customer_voice-link {
  position: relative;
  display: block;
  /* max-width: 400px; */
  margin: 0 auto;
  cursor: pointer;
}

#customer_voice2 .customer_voice-item .customer_voice-link .customer_voice-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background:rgba(255, 255, 255, 0.5);
}

#customer_voice2 .customer_voice-item .customer_voice-link .customer_voice-hover:hover {
  opacity: 1;
}

#customer_voice2 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: #eb613b;
}

#customer_voice2 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content i {
  margin-top: -12px;
}

#customer_voice2 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content h3,
#customer_voice2 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content h4 {
  margin: 0;
}

#customer_voice2 .customer_voice-item .customer_voice-caption {
  /* max-width: 400px; */
  margin: 0 auto;
  padding: 0px;
  text-align: center;
  background-color: #fff;
}

#customer_voice2 .customer_voice-item .customer_voice-caption h4 {
  margin: 0;
  text-transform: none;
}

#customer_voice2 .customer_voice-item .customer_voice-caption p {
  font-size: 16px;
  margin: 0;
  
}

#customer_voice2 * {
  z-index: 2;
}

#customer_voice3 .customer_voice-item {
  right: 0;
  margin: 0 0 15px;
}

#customer_voice3 .customer_voice-item .customer_voice-link {
  position: relative;
  display: block;
  /* max-width: 400px; */
  margin: 0 auto;
  cursor: pointer;
}

#customer_voice3 .customer_voice-item .customer_voice-link .customer_voice-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

#customer_voice3 .customer_voice-item .customer_voice-link .customer_voice-hover:hover {
  opacity: 1;
}

#customer_voice3 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#customer_voice3 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content i {
  margin-top: -12px;
}

#customer_voice3 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content h3,
#customer_voice3 .customer_voice-item .customer_voice-link .customer_voice-hover .customer_voice-hover-content h4 {
  margin: 0;
}

#customer_voice3 .customer_voice-item .customer_voice-caption {
  /* max-width: 400px; */
  margin: 0 auto;
  padding: 0px;
  text-align: center;
  background-color: #fff;
}

#customer_voice3 .customer_voice-item .customer_voice-caption h4 {
  margin: 0;
  text-transform: none;
}

#customer_voice3 .customer_voice-item .customer_voice-caption p {
  font-size: 16px;
  margin: 0;
  
}

#customer_voice3 * {
  z-index: 2;
}

@media (min-width: 767px) {
  #customer_voice .customer_voice-item {
    margin: 0 0 30px;
  }

  #customer_voice2 .customer_voice-item {
    margin: 0 0 30px;
  }

  #customer_voice3 .customer_voice-item {
    margin: 0 0 30px;
  }
}

.customer_voice-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.customer_voice-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.customer_voice-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.customer_voice-modal .modal-content p {
  margin-bottom: 30px;
}

.customer_voice-modal .modal-content p.item-intro {
  font-size: 16px;
  margin: 20px 0 30px;
  
}

.customer_voice-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.customer_voice-modal .modal-content img {
  margin-bottom: 30px;
}

.customer_voice-modal .modal-content button {
  cursor: pointer;
}

.customer_voice-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.customer_voice-modal .close-modal:hover {
  opacity: 0.3;
}

.customer_voice-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.customer_voice-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #eb613b;
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

.team-member {
  margin-bottom: 50px;
  text-align: center;
}

.team-member img {
  width: 225px;
  height: 225px;
  border: 7px solid rgba(0, 0, 0, 0.1);
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.team-member p {
  margin-top: 0;
}

.bg-ok{
  background: url(../img/offer/ok.png) no-repeat;
  background-size: contain;
  background-position: center;
}

.bg-ng{
  background: url(../img/offer/ng.png) no-repeat;
  background-size: contain;
  background-position: center;
}

.footer {
  padding: 25px 0;
  text-align: center;
}

.footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  
}

.footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: #eb613b;
}

/* マーカー */
.marker {
    background: linear-gradient(transparent 50%, #EFEA3A 0%);
    line-height: 1.3em;
}

/* 電話番号アニメーション */
.pr{
  -webkit-animation: pr 0.8s linear 0s 1;
    animation: pr 0.8s linear 0s 1;
  }
  @-webkit-keyframes pr {
    0%   { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
    15%  { -webkit-transform: scale(0.9, 0.9) translate(0%, 5%); }
    30%  { -webkit-transform: scale(1.3, 0.8) translate(0%, 10%); }
    50%  { -webkit-transform: scale(0.8, 1.3) translate(0%, -10%); }
    70%  { -webkit-transform: scale(1.1, 0.9) translate(0%, 5%); }
    100% { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
  }
  @keyframes pr {
    0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
    15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
    30%  { transform: scale(1.3, 0.8) translate(0%, 10%); }
    50%  { transform: scale(0.8, 1.3) translate(0%, -10%); }
    70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
    100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
  }

  /* line */
#line{
  background:#39AE36;
  color:#ffffff;
}

#line .message-area{
  background:#1f7a1c;
  border-radius: 5px;
}

#line .line-btn{
  background: rgb(57,174,54); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(57,174,54,1) 0%, rgba(47,147,52,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(57,174,54,1) 0%,rgba(47,147,52,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(57,174,54,1) 0%,rgba(47,147,52,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39ae36', endColorstr='#2f9334',GradientType=0 ); /* IE6-9 */
  color:#ffffff;
  border:solid 2px #ffffff;
}


/* 問い合わせ下の隙間調整 */
@media (max-width: 576px) {
  #contact1{
    padding-bottom:0;
  }
  #contact2{
    padding-bottom:0;
  }
}

/* 当院の強み */
.strong_lead_pink{
  font-weight:bold;
  font-size:1.2em;
  border-bottom:solid 3px #E96B91;
}

.strong_lead_orange{
  font-weight:bold;
  font-size:1.2em;
  border-bottom:solid 3px #F29700;
}

.strong_lead_blue{
  font-weight:bold;
  font-size:1.2em;
  border-bottom:solid 3px #80BCE6;
}

.strong_lead_green{
  font-weight:bold;
  font-size:1.2em;
  border-bottom:solid 3px #8FB73D;
}

.bg-instagram{
	background:#9d18a1!important;
}

.bg-instagram:hover{
	background:#610f64!important;
}

.bg-blog{
	background:#eb613b!important;
}

.bg-blog:hover{
	background:#a8452a!important;
}

.bg-youtube{
	background:#dc3545!important
}

.bg-youtube:hover{
	background:#9b2531!important
}