/* アクセントカラー #489854 */

body {
  color: #666;
  background-color: #fff;
}

body.base-black {
  color: #fff;
  background-color: #333;
}

body a {
  color: #666;
}

body.base-black a {
  color: #fff;
}

body a:hover {
  color: #6566FB;
  text-decoration: none;
}

body.base-black .modal-content {
  background-color: #333;
}

h3 {
  font-size: 1.5rem;
}

.card {
  background-color: initial;
  border-radius: .5rem;
}

.card-header {
  padding: .5rem 1.25rem;
}

body.base-black .card { 
  border: 1px solid #fff;
}

body.base-black .card-header { 
  border-bottom: 1px solid #fff;
}

.wb-adjust {
  color: #fff;
  background-color: #444;
  border-radius: 5px;

}

body.base-black .wb-adjust {
  color: #000;
  background-color: #fff;
  border-radius: 5px;
}

.container {
  max-width: 1000px;
}

.red {
  color: red;
}

.logo-image {
  width: 50px;
  height: 50px;
}

.no-wordbreak {
  word-break: keep-all;
}

span.hojin,
span.kai {
  font-size: 0.95rem;
}
span.kai {
  margin-left: 4px;
}
span.hojin.sm,
span.kai.sm {
  font-size: 0.8rem;
}

.site-title {
  margin-bottom: -2px;
  font-size: 2.25rem;
  letter-spacing: 0.2rem;
  margin-right: -0.2rem;
}

.site-header .font-weight-light {
  letter-spacing: 0.03rem;
}
.site-header .media {
  justify-content: center;
}
.site-header .media .logo-image {
  margin-right: 5px;
}

.header-phone .font-weight-normal {
  letter-spacing: 0.05rem;
}

.news.container {
  padding: 2.2rem 2.2rem 0 2.2rem!important;
}

.news .card-header {
  font-size: 1.5rem;
  font-weight: 500;
}

.news .card-body {
  padding-bottom: 0.2rem;
}

.news ul,
ul.access {
  list-style-type: none;
  padding-left: 0px;
}

.news ul p,
ul.access p {
  padding-left: 0.75rem;
  /* margin-bottom: 0px !important; */
  margin-top: -1rem !important;
  margin-bottom: 0;
}

.news ul date {
  margin-right: 0.5rem;
}
.news ul p:before,
ul.access p:before {
  content: "";
  border-color: transparent #6566FB;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  display: block;
  height: 0;
  width: 0;
  left: -0.75rem;
  top: 1.2rem;
  position: relative;
}

.news ul li,
ul.access li {
  margin-bottom: 5px;
  line-height: 1.8rem;
}

div.section-title {
  padding-bottom: 0px !important;
}

div.section-title h3 {
  border-bottom: solid 2px #6566FB;
}

.base-table {
  width: 100%;
  margin-bottom: 0;
}

.base-table th,
.base-table td {
  text-align: center;
  vertical-align: middle;
}

.table-caption {
  text-align: right;
}


.site-navi {
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
  background: rgb(221,221,221);
  background: linear-gradient(0deg, rgba(221,221,221,1) 0%, rgba(221,221,221,1) 33%, rgba(255,255,255,1) 100%);
}

body.base-black .site-navi {
  background: #7d7e7d; /* Old browsers */
  background: -moz-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #7d7e7d 0%,#0e0e0e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
}

.navbar-toggler[aria-expanded="false"] .shadow {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .shadow {
  display:block;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.6);
}

.site-navi a {
  /* color: #666;
  text-shadow: #666; */
  transition: ease-in-out color .15s;
  display: block;

}

.site-navi ul li {
  display: inline-block;
}

i.fas, i.far {
  margin-right: 5px;
}

.section-paragraph {
  border-left: solid #6566FB 2px;
  margin-left: 5px;
}

.section-paragraph p {
  margin: 0px 5px;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 75%;
  /* padding-bottom: 56.25%; */
  position: relative;
  height: 0;
  margin-bottom: 10px;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

body footer {
  max-width: 100%;
  background-color: #6566FB;
}

footer ul {
  padding: 0;
}

footer li {
  display: inline;
  padding: 0 10px;
}

footer li+li {
  border-left: 1px solid #fff;
}

body footer a {
  color: #fff;
}

body footer a:hover {
  color: #2000a0;
}

.lead {
  font-weight: 500;
}

.lead-red {
  font-weight: 500;
  color: #cc6666;
}

body.base-black th {
  background-color: #333;
}

.career,
.tanto {
  margin-top: 10px;
  /* font-size: 0.96rem; */
}
.career .lead {
  font-size: 1.15rem;
  margin-bottom: 15px;
}
.career > div:first-of-type {
  margin-top: 8px;
}
.career div time {
  margin-right: 10px;
}

/* ul.news li p::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8.7px;
  border-color: transparent transparent transparent #007bff;
} */

@media (min-width: 769px) {
  /* pc */
  .navbar-toggler {
    display: none;
  }

  /* .accent-border {
    border-top: none;
  } */

  .site-navi .collapse {
    display: block;
  }

  .site-navi {
    display: block;
  }

  .site-navi {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    /* border-top: solid 1px #6566FB;
    border-bottom: solid 1px #6566FB; */
    border-top: solid 1px #aaa;
    /* border-bottom: solid 1px #aaa; */
  }
}

@media (max-width: 768px) {
  /* mobile */
  .accent-border {
    border-top: solid 10px #6566FB;
  }

  .site-header .text-right {
    text-align:center !important;
  }

  .site-header .header-phone {
    margin-top: 0px !important;
  }

  .site-header .header-phone h4 {
    /* margin-left: -1.5rem; */
  }

  .site-navi {
    position: fixed;
    top: 60px;
    width: 100%;
    z-index: 100;
  }

  .site-navi .container {
    padding: 0px;
    margin: 0px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.4);;
  }

  .site-navi ul {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0px;
  }

  .site-navi ul li {
    display: inline-block;
    list-style: none;
    text-align: center;
    border-bottom: solid 1px #aaa;
    background: rgba(255, 255, 255, 0.9);
  }

  body.base-black .site-navi ul li {
    border-bottom: solid 1px #aaa;
    background: rgba(80, 80, 80, 0.9);
  }

  .site-navi ul li:last-child,
  body.base-black .site-navi ul li:last-child {
    border-bottom: none;
  }

  .site-navi ul li a {
    color: #666;
    display: block;
    padding: 5px;
  }

  body.base-black .site-navi ul li a {
    color: #fff;
  }

  .site-navi ul li a:hover {
    background: #ccc;
    text-decoration: none;
  }

  body.base-black .site-navi ul li a:hover {
    background: #333;
  }

  .main-image {
    height: 250px;
  }

  .news.container {
    padding: 1rem 1rem 0 1rem!important;
  }

}

.navbar-toggler {
  background-color: rgba(128, 128, 128, 0.8);
  position: fixed;
  top: 30px;
  right: 0px;
  z-index: 100;
  box-shadow: 0px 3px 5px rgba(0,0,0,0.4);
  padding: .50rem .50rem;
}


.flex-equal > * {
  -ms-flex: 1;
  -webkit-box-flex: 1;
  flex: 1;
}

@media (min-width: 768px) {
  .flex-md-equal > * {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
  }
}

.overflow-hidden { overflow: hidden; }


/* サブページ */
.page-title {
  border-bottom: solid 1px #666;
}
.page-sub-title {
  border-left: solid 15px #666;
  padding-left: 5px;
}

img {
  width:100%;
  max-width: 100%;
  height: auto;
}

.staff-label {
  margin-bottom: 10px;
}

.thumbnail img {
  width: 100px;
  height: 100px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.check-point {
  color: #fff;
  background-color: #666;
  margin-right: 10px;
  padding: 3px 10px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  word-break: keep-all;
  line-height: 2rem;
}
.check-red {
  background-color: #cc6666;
}

.bg-gray {
  background-color: #ccc;
}

body.base-black .bg-gray {
  background-color: #222;
}

#inverse-btn {
  cursor: pointer;
}

.map-modal-lg ol {
  counter-reset:number;
  list-style-type: none!important;
  padding:0.5em;
}
.map-modal-lg ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}

.map-modal-lg ol li:before {
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display:inline-block;
  background: #5c9ee7;
  color: white;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align:center;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
