/* アクセントカラー #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: #227D51;
  text-decoration: none;
}

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

.wb-adjust {
  color: #fff;
  background-color: #000;
}

body.base-black .wb-adjust {
  color: #000;
  background-color: #fff;
}
.container {
  max-width: 1280px;
}

.red {
  color: red;
}

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

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

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

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

ul.news p:before,
ul.access p:before {
  content: "";
  border-color: transparent #489854;
  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;
}

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

ul.reception {
  padding-inline-start: 30px;
  margin-block-end: 8px;
}

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

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

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

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

.td-header {
  background-color: #eee;
}

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

.site-navi {
  /* background-color: rgba(0, 0, 0, .85); */
  /* border-top: solid 1px #227D51;
  border-bottom: solid 1px #227D51; */
}

.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 #489854 2px;
  /* margin-left: 5px; */
}

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

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

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  min-height: 400px;
  /* margin-top: -46px; */
  margin-top: -59px;
}

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

footer ul {
  padding: 0;
}

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

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

body footer a {
  color: #fff;
}

.section-paragraph .mt-8,
.mt-8 {
  margin-top: 8px;
}
.ml-8 {
  margin-left: 8px;
}

.lead {
  font-weight: 500;
}

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

.description {
  margin-left: 10px;
}

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 */
  .access-mobile {
    display: none;
  }

  .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 #489854;
    border-bottom: solid 1px #489854;
  }
}

@media (max-width: 768px) {
  /* mobile */
  .access-pc {
    display: none;
  }

  .accent-border {
    border-top: solid 10px #489854;
  }

  .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;
  }

}

.navbar-toggler {
  background-color: rgba(128, 128, 128, 0.8);
  position: fixed;
  top: 30px;
  right: 30px;
  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;
}

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

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%);
}
